:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-strong: #f0eee8;
  --ink: #17211f;
  --muted: #5d6965;
  --line: #d8d6ce;
  --accent: #0f766e;
  --accent-dark: #0b534e;
  --gold: #c8892d;
  --code: #26322f;
  --shadow: 0 18px 55px rgba(36, 43, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

code {
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 5px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-dark);
  font-size: 0.92em;
  padding: 0.08rem 0.32rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
  min-height: 72px;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(216, 214, 206, 0.84);
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(16px);
}

.brand,
.site-nav,
.language-switch a,
.button {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 2.15rem;
  height: 2.15rem;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #fffdf8;
  font-weight: 800;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.7rem, 2vw, 1.4rem);
  color: var(--muted);
  font-size: 0.94rem;
}

.site-nav a,
.language-switch a {
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.language-switch a:hover {
  border-color: currentColor;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--accent);
  font-weight: 700;
}

.portal-hero {
  padding-bottom: 2rem;
}

.portal-hero h1 {
  max-width: 16ch;
  margin: 0.5rem 0 1.5rem;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.portal-hero .lead {
  max-width: 45rem;
}

.portal-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  padding-top: 1.5rem;
  padding-bottom: 2rem;
}

.portal-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.3rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.portal-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.portal-card h2 {
  margin: 0.5rem 0;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.portal-card p { color: var(--muted); }
.portal-card .text-link { margin-top: auto; }
.portal-about { padding-top: 2rem; }
.portal-about > p { max-width: 50rem; }
.portal-about details { margin-top: 2rem; }
.portal-about summary { cursor: pointer; }
.featured-game { display: grid; grid-template-columns: 1.2fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.featured-game-art { display: flex; align-items: stretch; background: #edeee3; }
.featured-game-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.featured-game-copy { padding: clamp(1.5rem, 4vw, 3rem); }
.featured-game-copy h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -0.04em; margin: 0.6rem 0; }
.game-card-meta { color: var(--muted); font-size: 0.75rem; }
@media (max-width: 760px) { .featured-game { grid-template-columns: 1fr; } }
.docs-paths { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.source-document {
  max-width: 960px;
  overflow-wrap: anywhere;
}

.source-document h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.35; }
.source-document h2 { margin-top: 2.5rem; }
.source-document h3 { margin-top: 2rem; }
.source-document [id] { scroll-margin-top: 100px; }
.source-notice { margin: 1.5rem 0 3rem; }
.source-notice p { margin: 0.6rem 0; }
.source-reference { color: var(--muted); }
.source-document .matrix-wrap { margin: 1.5rem 0; }
.source-document .command-block { max-width: 100%; overflow-x: auto; }

a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

@media (max-width: 760px) {
  .portal-paths, .docs-paths { grid-template-columns: 1fr; }
}

.language-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 0.65rem;
  font-size: 0.88rem;
}

.language-switch a {
  color: var(--accent-dark);
  font-weight: 700;
}

.language-switch a[aria-current="page"] {
  color: var(--ink);
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: calc(100vh - 72px);
  padding-top: clamp(2.4rem, 6vw, 4.8rem);
  padding-bottom: clamp(2rem, 6vw, 4rem);
}

.eyebrow,
.card-kicker,
.visual-label {
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.35rem;
  font-size: clamp(3rem, 7vw, 5.9rem);
  line-height: 0.98;
}

h2 {
  max-width: 20ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 3.55rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  line-height: 1.25;
}

.lead {
  max-width: 44rem;
  color: #31413d;
  font-size: clamp(1.12rem, 2vw, 1.38rem);
}

.hero-actions,
.language-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 2.8rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  padding: 0.7rem 1rem;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.site-nav a[aria-current="page"] {
  border-color: var(--accent);
  color: var(--ink);
  font-weight: 800;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--accent-dark);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25rem;
}

.section-actions {
  display: flex;
  margin-top: 1.25rem;
}

.section-actions.full-row {
  grid-column: 1 / -1;
  margin-top: 0;
}

.workflow-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 34px 1fr;
  gap: 1rem;
  align-items: center;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(23, 33, 31, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(23, 33, 31, 0.055) 1px, transparent 1px),
    #fffdf8;
  background-size: 34px 34px;
  box-shadow: var(--shadow);
  padding: clamp(1rem, 3vw, 1.4rem);
}

.workflow-column,
.workflow-stack > div {
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 1rem;
}

.workflow-column {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: center;
}

.workflow-column strong,
.workflow-stack strong {
  display: block;
  margin-top: 0.25rem;
  line-height: 1.22;
}

.workflow-column small {
  margin-top: 0.5rem;
  color: var(--muted);
}

.workflow-stack {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.75rem;
}

.workflow-stack > div {
  border-left: 5px solid var(--gold);
}

.workflow-arrow {
  height: 2px;
  background: var(--accent);
}

.workflow-arrow::after {
  display: block;
  width: 0;
  height: 0;
  margin-top: -5px;
  margin-left: auto;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid var(--accent);
  content: "";
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p {
  color: var(--muted);
}

.section-heading.compact {
  max-width: 600px;
  margin-bottom: 0;
}

.feature-grid,
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.feature-card,
.proof-card,
.use-case-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.2rem;
}

.feature-card p,
.proof-card p,
.use-case-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.proof-card a,
.sample-card a {
  color: var(--accent-dark);
  font-weight: 800;
}

.video-section {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fffdf8;
  padding-right: max(1rem, calc((100vw - 1120px) / 2));
  padding-left: max(1rem, calc((100vw - 1120px) / 2));
}

.video-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.video-link-grid a {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08), transparent 46%),
    var(--surface);
  color: inherit;
  padding: 1.1rem;
  text-decoration: none;
}

.video-link-grid a:hover {
  border-color: rgba(15, 118, 110, 0.45);
}

.video-link-grid span,
.video-link-grid small {
  color: var(--muted);
}

.video-link-grid span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.video-link-grid strong {
  display: block;
  margin: auto 0 0.6rem;
  line-height: 1.25;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}

.evidence-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--code);
  color: #f8fbf6;
  box-shadow: var(--shadow);
  padding: 0.7rem;
}

.panel-row {
  display: grid;
  grid-template-columns: minmax(120px, 0.7fr) minmax(0, 1.3fr);
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem;
}

.panel-row:last-child {
  border-bottom: 0;
}

.panel-row span {
  color: #b8c7c2;
  font-size: 0.86rem;
}

.panel-row strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.use-case-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.scope-section {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-strong);
  padding-right: max(1rem, calc((100vw - 1120px) / 2));
  padding-left: max(1rem, calc((100vw - 1120px) / 2));
}

.scope-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.scope-table [role="row"] {
  display: grid;
  grid-template-columns: minmax(180px, 0.38fr) minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.scope-table [role="row"]:last-child {
  border-bottom: 0;
}

.scope-table strong,
.scope-table span {
  padding: 1rem;
}

.scope-table strong {
  background: rgba(15, 118, 110, 0.08);
}

.scope-table span {
  color: var(--muted);
}

.quickstart-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.command-block {
  overflow-x: auto;
  margin: 0;
  border-radius: 8px;
  background: var(--code);
  color: #e9f5ee;
  padding: 1.2rem;
  box-shadow: var(--shadow);
}

.command-block code {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 2rem clamp(1rem, 4vw, 3rem);
  color: var(--muted);
}

.site-footer p {
  margin-bottom: 0;
}

.sample-hero h1 {
  max-width: 14ch;
}

.sample-status {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.sample-status p {
  margin-bottom: 0;
  color: var(--muted);
}

.sample-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.sample-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1.2rem;
}

.sample-label {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sample-card p,
.sample-card dd,
.boundary-list p {
  color: var(--muted);
}

.scope-note,
.positioning-caution {
  margin-top: 1.25rem;
  border-left: 5px solid var(--gold);
  background: var(--surface);
  padding: 1rem 1.1rem;
}

.scope-note p,
.positioning-caution {
  color: var(--muted);
}

.scope-note p {
  margin: 0.3rem 0 0;
}

.sample-card dl {
  display: grid;
  gap: 0.6rem;
  margin: 1.1rem 0 0;
}

.sample-card dl div {
  border-top: 1px solid var(--line);
  padding-top: 0.6rem;
}

.sample-card dt {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.sample-card dd {
  margin: 0.15rem 0 0;
}

.sample-boundary-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.boundary-list {
  display: grid;
  gap: 0.75rem;
}

.boundary-list p {
  margin: 0;
  border-left: 4px solid var(--gold);
  background: var(--surface);
  padding: 0.85rem 1rem;
}

.entrance-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.language-entrance {
  width: min(760px, calc(100% - 2rem));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 5vw, 3rem);
}

.language-entrance h1 {
  max-width: none;
  margin-bottom: 1rem;
}

.detail-hero {
  max-width: 960px;
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.detail-hero h1 {
  max-width: 15ch;
}

.breadcrumb {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 3rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: var(--accent-dark);
}

.detail-flow-section,
.detail-surface {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-right: max(1rem, calc((100vw - 1120px) / 2));
  padding-left: max(1rem, calc((100vw - 1120px) / 2));
}

.detail-flow-section {
  background: var(--ink);
  color: #f7f5ef;
}

.detail-flow-section .section-heading p,
.detail-flow-section .process-list p {
  color: #b9c5c1;
}

.detail-flow-section .eyebrow {
  color: #77c8bd;
}

.detail-surface {
  background: #fffdf8;
}

.process-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.5rem 0;
}

.process-list > li > span {
  color: #77c8bd;
  font-size: 0.8rem;
  font-weight: 800;
}

.process-list h3,
.process-list p {
  margin-bottom: 0.35rem;
}

.detail-card-grid,
.boundary-grid,
.positioning-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.detail-card-grid article,
.boundary-card,
.positioning-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(1.2rem, 3vw, 1.7rem);
}

.detail-card-grid p,
.boundary-card p,
.positioning-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.positioning-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.positioning-grid {
  grid-template-columns: 1fr;
}

.positioning-caution {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.artifact-proof-grid,
.sample-lane-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.artifact-proof-grid article,
.sample-lane-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1rem;
}

.artifact-proof-grid p,
.sample-lane-grid p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.sample-lane-grid span {
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.proof-lanes {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.proof-lanes article {
  display: grid;
  grid-template-columns: 6rem minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 1.15rem;
}

.proof-lanes article:last-child {
  border-bottom: 0;
}

.proof-lanes > article > span {
  color: var(--accent-dark);
  font-weight: 800;
}

.proof-lanes h3,
.proof-lanes p {
  margin-bottom: 0.25rem;
}

.proof-lanes p {
  color: var(--muted);
}

.no-code-proof-section,
.proof-boundary-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.no-code-proof-section {
  width: 100%;
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: #f7f5ef;
  padding-right: max(1rem, calc((100vw - 1120px) / 2));
  padding-left: max(1rem, calc((100vw - 1120px) / 2));
}

.no-code-proof-section .section-heading p,
.test-layer-list span {
  color: #b9c5c1;
}

.no-code-proof-section .eyebrow {
  color: #77c8bd;
}

.test-layer-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.test-layer-list li {
  display: grid;
  gap: 0.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1rem 0;
}

.decision-section,
.stop-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.decision-section h2,
.stop-section h2 {
  margin-bottom: 0;
}

.decision-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.matrix-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.support-matrix {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
  text-align: left;
}

.support-matrix th,
.support-matrix td {
  vertical-align: top;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1rem;
}

.support-matrix tr:last-child th,
.support-matrix tr:last-child td {
  border-bottom: 0;
}

.support-matrix th:last-child,
.support-matrix td:last-child {
  border-right: 0;
}

.support-matrix thead th,
.support-matrix tbody th {
  background: var(--surface-strong);
}

.support-matrix p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.status,
.boundary-card > span {
  display: inline-flex;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  padding: 0.38rem 0.5rem;
  text-transform: uppercase;
}

.status.current,
.status.verified,
.boundary-card.supported > span {
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent-dark);
}

.status.optin {
  background: rgba(200, 137, 45, 0.15);
  color: #81500b;
}

.status.boundary,
.status.future,
.boundary-card.excluded > span {
  background: rgba(93, 105, 101, 0.12);
  color: #48534f;
}

.boundary-card {
  border-top-width: 5px;
}

.boundary-card.supported {
  border-top-color: var(--accent);
}

.boundary-card.excluded {
  border-top-color: var(--gold);
}

.notice {
  max-width: 760px;
  margin-top: 2rem;
  border-left: 5px solid var(--gold);
  background: var(--surface);
  padding: 1rem 1.1rem;
}

.notice p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.quickstart-steps {
  display: grid;
  gap: 0;
}

.quickstart-step {
  display: grid;
  grid-template-columns: 4rem minmax(0, 0.8fr) minmax(340px, 1.2fr);
  gap: clamp(1rem, 4vw, 3rem);
  align-items: start;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.quickstart-step:last-child {
  border-bottom: 1px solid var(--line);
}

.step-index {
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.step-copy h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.step-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.next-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.next-proof-grid article {
  display: grid;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 1rem;
}

.next-proof-grid span {
  font-weight: 800;
}

.setup-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.setup-choice-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: clamp(1.2rem, 3vw, 1.7rem);
}

.setup-choice-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.lite-lane-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.next-proof-grid code {
  overflow-wrap: anywhere;
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .hero,
  .split-section,
  .quickstart-section,
  .sample-status,
  .sample-boundary-section,
  .decision-section,
  .stop-section,
  .quickstart-step,
  .positioning-section,
  .no-code-proof-section,
  .proof-boundary-section {
    grid-template-columns: 1fr;
  }

  .lite-lane-section {
    grid-template-columns: 1fr;
  }

  .quickstart-step {
    gap: 1rem;
  }

  .decision-actions {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .workflow-visual {
    min-height: auto;
  }

  .feature-grid,
  .proof-grid,
  .use-case-list,
  .video-link-grid,
  .sample-grid,
  .next-proof-grid,
  .artifact-proof-grid,
  .sample-lane-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 64px;
    gap: 0.8rem;
  }

  .section {
    width: min(100% - 1rem, 1120px);
    padding: 3rem 0;
  }

  h1 {
    max-width: none;
    font-size: 3rem;
  }

  h2 {
    max-width: none;
    font-size: 2rem;
  }

  .workflow-visual {
    grid-template-columns: 1fr;
  }

  .workflow-arrow {
    width: 12px;
    height: 28px;
    margin: 0 auto;
    background: linear-gradient(to right, transparent 5px, var(--accent) 5px, var(--accent) 7px, transparent 7px);
  }

  .workflow-arrow::after {
    margin-top: 22px;
    margin-left: 0;
    border-top: 8px solid var(--accent);
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
    border-bottom: 0;
  }

  .feature-grid,
  .proof-grid,
  .use-case-list,
  .video-link-grid,
  .sample-grid,
  .detail-card-grid,
  .boundary-grid,
  .next-proof-grid,
  .positioning-grid,
  .artifact-proof-grid,
  .sample-lane-grid {
    grid-template-columns: 1fr;
  }

  .setup-choice-grid {
    grid-template-columns: 1fr;
  }

  .panel-row,
  .scope-table [role="row"] {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .scope-table strong {
    padding-bottom: 0.35rem;
  }

  .scope-table span {
    padding-top: 0.35rem;
  }

  .site-footer {
    flex-direction: column;
  }

  .proof-lanes article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}
