/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .contents {
    display: contents;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
}
:root {
  --ink: #101814;
  --muted: #667169;
  --paper: #f3f1e9;
  --panel: #fbfaf5;
  --line: #d9d9cf;
  --acid: #c8f135;
  --forest: #193e30;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
}
a {
  color: inherit;
  text-decoration: none;
}
.shell {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  @supports (color: color-mix(in lab, red, red)) {
    border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  }
  background: var(--paper);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--paper) 88%, transparent);
  }
  backdrop-filter: blur(14px);
}
.nav-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 20px;
  font-weight: 700;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--acid);
  background: var(--ink);
  font-family: "DM Mono", monospace;
  font-size: 15px;
}
.site-nav {
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover {
  color: var(--ink);
}
.hero {
  padding: 94px 0 104px;
  border-bottom: 1px solid var(--line);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 80px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 18px;
  color: #587000;
  font: 500 12px/1.4 "DM Mono", monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, p {
  margin-top: 0;
}
.hero h1 {
  max-width: 700px;
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 86px);
  line-height: .98;
  letter-spacing: -.065em;
}
.lede {
  max-width: 700px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.85;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  padding: 13px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}
.button.primary {
  background: var(--ink);
  color: white;
}
.button.primary:hover {
  background: var(--forest);
}
.button.secondary:hover {
  background: var(--panel);
}
.code-window {
  overflow: hidden;
  border: 1px solid #2a352f;
  border-radius: 18px;
  color: #e9eee9;
  background: var(--ink);
  box-shadow: 0 30px 70px #1d2a221f;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 15px 18px;
  border-bottom: 1px solid #324039;
}
.window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5e6b64;
}
.window-bar span:first-child {
  background: var(--acid);
}
.window-bar small {
  margin-left: auto;
  color: #829087;
  font: 11px "DM Mono", monospace;
}
pre {
  overflow-x: auto;
  margin: 22px 0;
  padding: 24px;
  border-radius: 12px;
  color: #eaf0eb;
  background: var(--ink);
  font: 14px/1.8 "DM Mono", monospace;
}
.code-window pre {
  min-height: 260px;
  margin: 0;
  padding: 32px;
  border-radius: 0;
}
.output {
  display: flex;
  justify-content: space-between;
  padding: 16px 22px;
  border-top: 1px solid #324039;
  color: #aab5ae;
  font: 12px "DM Mono", monospace;
}
.output span {
  color: var(--acid);
}
.principles {
  padding: 100px 0;
  background: var(--panel);
}
.principles h2, .spec-callout h2 {
  max-width: 680px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.feature-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.card-number {
  color: #708000;
  font: 12px "DM Mono", monospace;
}
.feature-card h3 {
  margin: 82px 0 13px;
  font-size: 20px;
}
.feature-card p {
  color: var(--muted);
  line-height: 1.75;
}
.spec-callout {
  padding: 100px 0;
  color: white;
  background: var(--forest);
}
.spec-callout .eyebrow {
  color: var(--acid);
}
.callout-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.spec-mini-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #ffffff30;
}
.spec-mini-list a {
  display: flex;
  gap: 24px;
  padding: 21px 4px;
  border-bottom: 1px solid #ffffff30;
}
.spec-mini-list span {
  color: var(--acid);
  font: 12px "DM Mono", monospace;
}
.spec-mini-list a:hover {
  padding-left: 12px;
}
.spec-mini-list a {
  transition: padding .18s ease;
}
.site-footer {
  padding: 42px 0;
  color: #b7c0ba;
  background: var(--ink);
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.site-footer strong {
  color: white;
  font-size: 20px;
}
.site-footer p {
  margin: 8px 0 0;
  font: 12px "DM Mono", monospace;
}
.docs-shell {
  display: grid;
  grid-template-columns: 210px minmax(0, 760px);
  gap: 80px;
  padding: 72px 0 120px;
}
.docs-nav {
  position: sticky;
  top: 112px;
  align-self: start;
}
.docs-nav > p {
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  letter-spacing: .1em;
}
.docs-nav nav {
  display: grid;
  border-top: 1px solid var(--line);
}
.docs-nav a {
  display: flex;
  gap: 14px;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.docs-nav span {
  color: #7c8b18;
  font: 11px "DM Mono", monospace;
}
.docs-content h1 {
  margin-bottom: 24px;
  font-size: clamp(48px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -.055em;
}
.docs-content h2 {
  margin: 58px 0 16px;
  font-size: 28px;
  letter-spacing: -.025em;
}
.docs-content > p:not(.eyebrow):not(.lede) {
  color: var(--muted);
  line-height: 1.8;
}
.docs-card-list {
  display: grid;
  margin-top: 50px;
  border-top: 1px solid var(--line);
}
.docs-card {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 26px 4px;
  border-bottom: 1px solid var(--line);
}
.docs-card > span {
  color: #788900;
  font: 12px "DM Mono", monospace;
}
.docs-card h2 {
  margin: 0 0 5px;
  font-size: 23px;
}
.docs-card p {
  margin: 0;
  color: var(--muted);
}
.docs-card:hover h2 {
  color: #5b7100;
}
.definition-list {
  border-top: 1px solid var(--line);
}
.definition-list > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.definition-list dt {
  font: 500 14px "DM Mono", monospace;
}
.definition-list dd {
  margin: 0;
  color: var(--muted);
}
table {
  width: 100%;
  border-collapse: collapse;
}
th, td {
  padding: 15px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
th {
  color: var(--muted);
  font: 11px "DM Mono", monospace;
  text-transform: uppercase;
}
code {
  font-family: "DM Mono", monospace;
}
.source-link {
  margin-top: 48px;
}
.source-link a {
  color: #526600;
  font-weight: 700;
}
.playground-page {
  min-height: calc(100vh - 72px);
  padding: 54px 0 80px;
}
.playground-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}
.playground-heading h1 {
  margin: 0;
  font-size: clamp(44px, 6vw, 70px);
  line-height: 1;
  letter-spacing: -.055em;
}
.playground-heading > p {
  max-width: 480px;
  margin: 0 0 5px;
  color: var(--muted);
  line-height: 1.7;
}
.playground-workspace {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 1fr);
  width: min(1440px, calc(100% - 40px));
  min-height: 650px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #26332c;
  border-radius: 16px;
  background: var(--ink);
  box-shadow: 0 26px 70px #15251b1f;
}
.editor-panel, .result-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.editor-panel {
  border-right: 1px solid #34423a;
}
.panel-header, .result-tabs {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-bottom: 1px solid #34423a;
  color: #d7ded9;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 11px "DM Mono", monospace;
  letter-spacing: .1em;
}
.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--acid);
  box-shadow: 0 0 0 4px #c8f13516;
}
.editor-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  color: #87948c;
  font: 11px "DM Mono", monospace;
}
.editor-tools select {
  border: 1px solid #435149;
  border-radius: 6px;
  padding: 5px 8px;
  color: #d7ded9;
  background: #1a251f;
  font: inherit;
}
.example-bar {
  display: flex;
  gap: 7px;
  padding: 12px 18px;
  border-bottom: 1px solid #2d3a33;
}
.example-button, .result-tab, .copy-button {
  border: 0;
  color: #98a39d;
  background: transparent;
  cursor: pointer;
  font: 11px "DM Mono", monospace;
}
.example-button {
  padding: 6px 10px;
  border: 1px solid #3b4941;
  border-radius: 999px;
}
.example-button:hover {
  border-color: var(--acid);
  color: var(--acid);
}
#matra-source {
  width: 100%;
  min-height: 500px;
  flex: 1;
  resize: none;
  outline: 0;
  border: 0;
  padding: 28px;
  color: #ebf0ec;
  caret-color: var(--acid);
  background: #101814;
  font: 14px/1.8 "DM Mono", monospace;
  tab-size: 2;
}
.editor-footer {
  display: flex;
  justify-content: space-between;
  padding: 11px 18px;
  border-top: 1px solid #34423a;
  color: #7f8c84;
  font: 10px "DM Mono", monospace;
}
#playground-status {
  color: var(--acid);
}
#playground-status.is-error {
  color: #ff8f7d;
}
.result-tabs {
  background: #151f1a;
}
.result-tab {
  align-self: stretch;
  padding: 0 12px;
  border-bottom: 2px solid transparent;
}
.result-tab.active {
  color: white;
  border-color: var(--acid);
}
.copy-button {
  margin-left: auto;
  padding: 7px 11px;
  border: 1px solid #435149;
  border-radius: 6px;
}
.copy-button:hover {
  color: white;
}
.result-body {
  position: relative;
  min-height: 0;
  flex: 1;
  background: #f8f7f1;
}
.result-view {
  display: none;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
}
.result-view.active {
  display: block;
}
#preview-frame {
  width: 100%;
  height: 100%;
  min-height: 592px;
  border: 0;
  background: #fbfaf5;
}
pre.result-view {
  min-height: 592px;
  padding: 28px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.error-card {
  position: absolute;
  inset: auto 20px 20px;
  z-index: 2;
  padding: 18px;
  border: 1px solid #e97562;
  border-radius: 10px;
  color: #5d1d14;
  background: #fff0ed;
  box-shadow: 0 12px 30px #4e130f18;
}
.error-card[hidden] {
  display: none;
}
.error-card pre {
  max-height: 150px;
  margin: 10px 0 0;
  padding: 0;
  color: #7a2c20;
  background: transparent;
  white-space: pre-wrap;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
@media (max-width: 800px) {
  .hero-grid, .callout-inner, .docs-shell {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .hero {
    padding-top: 64px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 220px;
  }
  .feature-card h3 {
    margin-top: 48px;
  }
  .docs-nav {
    position: static;
  }
  .playground-heading {
    display: block;
  }
  .playground-heading > p {
    margin-top: 20px;
  }
  .playground-workspace {
    grid-template-columns: 1fr;
  }
  .editor-panel {
    border-right: 0;
    border-bottom: 1px solid #34423a;
  }
  #matra-source {
    min-height: 390px;
  }
  #preview-frame, pre.result-view {
    min-height: 460px;
  }
}
@media (max-width: 520px) {
  .shell {
    width: min(100% - 28px, 1160px);
  }
  .site-nav {
    gap: 14px;
  }
  .site-nav a:first-child {
    display: none;
  }
  .hero h1 {
    font-size: 52px;
  }
  .footer-grid {
    display: block;
  }
  .footer-grid > p {
    margin-top: 28px;
  }
}
