/* Zynthari site styles. Uses tokens.css only. Plan: 7 Oct 2026. */

/* ------------------------------------------------------------- fonts -- */
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2-variations"),
       url("/fonts/source-serif-4-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2-variations"),
       url("/fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-opsz-normal.woff2") format("woff2-variations"),
       url("/fonts/inter-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* -------------------------------------------------------------- base -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--mast-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }
::selection { background: var(--ink); color: var(--paper); }

.shell { width: 100%; max-width: calc(var(--shell) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.skip:hover, .skip:focus { color: #fff; }
.mono { font-family: var(--font-mono); }

.display, .h1, .h2 { font-family: var(--font-display); font-weight: 500; line-height: var(--lh-heading); letter-spacing: -0.02em; text-wrap: balance; }
.display { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: -0.03em; }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-family: var(--font-sans); font-size: var(--fs-h3); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: var(--fs-lede); line-height: 1.5; max-width: 40ch; text-wrap: pretty; }
.muted { color: var(--muted); }
.note { font-size: var(--fs-small); color: var(--muted); max-width: var(--measure); }

/* ------------------------------------------------------------ buttons -- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: 600 16px/1 var(--font-sans);
  border-radius: var(--r-md); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-deep); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.link-arrow { font-weight: 600; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* --------------------------------------------------------- masthead -- */
.mast {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 242, 0.94);
  -webkit-backdrop-filter: saturate(1.4) blur(8px); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.mast__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--mast-h); }
.mast__brand { display: inline-flex; flex: none; padding: 6px 0; }
.mast__brand img { width: 172px; height: auto; }
.mast__list { list-style: none; display: flex; align-items: center; gap: 28px; }
.mast__list a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 15.5px; padding: 6px 0; }
.mast__list a:not(.btn):hover, .mast__list a[aria-current="page"] { color: var(--accent); }
.mast__list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.mast__list .btn { min-height: 42px; padding: 0 18px; font-size: 15px; }
.mast__menu {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 14px; margin-right: -8px;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  font: 600 15px/1 var(--font-sans); color: var(--ink); cursor: pointer;
}
.mast__menu-icon, .mast__menu-icon::before, .mast__menu-icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; position: relative; transition: transform var(--dur) var(--ease); }
.mast__menu-icon::before, .mast__menu-icon::after { content: ""; position: absolute; left: 0; }
.mast__menu-icon::before { top: -6px; }
.mast__menu-icon::after { top: 6px; }
.mast__nav.is-open .mast__menu-icon { background: transparent; }
.mast__nav.is-open .mast__menu-icon::before { transform: translateY(6px) rotate(45deg); }
.mast__nav.is-open .mast__menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1023px) {
  .mast__brand img { width: 150px; }
  .js .mast__menu { display: inline-flex; }
  .js .mast__list {
    position: absolute; left: 0; right: 0; top: var(--mast-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -18px rgba(20, 20, 43, 0.25);
    display: none;
  }
  .js .mast__nav.is-open .mast__list { display: flex; }
  .js .mast__list li { border-bottom: 1px solid var(--line); }
  .js .mast__list li:last-child { border-bottom: 0; padding-top: 16px; }
  .js .mast__list a:not(.btn) { display: block; padding: 14px 0; font-size: 18px; }
  .js .mast__list .btn { width: 100%; min-height: 48px; }
  .no-js .mast__row { height: auto; flex-wrap: wrap; padding: 10px 0; }
  .no-js .mast__list { flex-wrap: wrap; gap: 8px 18px; }
}

/* --------------------------------------------------------- sections -- */
.band { padding: var(--s-10) 0; }
.band--tight { padding: var(--s-9) 0; }
.band--surface { background: var(--surface); }
.band + .band:not(.band--surface) { border-top: 1px solid var(--line); }
.band--surface + .band { border-top: 0; }
@media (max-width: 599px) { .band { padding: 72px 0; } .band--tight { padding: 64px 0; } }

.section-head { display: grid; gap: 16px; margin-bottom: var(--s-7); max-width: 720px; }
.section-head p { font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); max-width: 48ch; }

/* -------------------------------------------------------------- hero -- */
.hero { padding: clamp(44px, 7vh, 80px) 0 clamp(64px, 9vh, 104px); }
.hero + .band { border-top: 1px solid var(--line); }
.hero__top { display: grid; gap: 28px; align-items: end; }
.hero__kicker { margin-bottom: 16px; font-size: clamp(16px, 1.3vw, 18px); font-weight: 500; letter-spacing: -0.005em; color: var(--muted); }
.hero h1 { font-size: clamp(46px, 6.6vw, 100px); max-width: 15ch; }
.hero__sub { max-width: 34ch; font-size: var(--fs-lede); line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }
.hero .actions { margin-top: 28px; }
@media (min-width: 1024px) {
  .hero__top { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 48px; }
  .hero__aside { padding-bottom: 10px; }
}
@media (max-width: 599px) {
  .hero .actions .btn { width: 100%; }
}

/* The Studio Alpha film: wider than the text column, so the interface stays legible. */
.film { width: min(100% - 2 * var(--gutter), 1360px); margin: clamp(40px, 6vh, 64px) auto 0; }
.film__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: #EEEEF7;
  box-shadow: 0 40px 80px -50px rgba(20, 20, 43, 0.45);
}
.film__video { width: 100%; height: 100%; object-fit: cover; }
.film .loop-pause { position: absolute; right: 14px; bottom: 14px; }
.film__bar { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 40px; margin-top: 12px; }
.film__steps { list-style: none; display: flex; flex-wrap: wrap; gap: 0 4px; margin-left: -12px; }
.film__steps button {
  position: relative; display: inline-flex; align-items: baseline; gap: 8px;
  min-height: 44px; padding: 10px 12px 14px;
  background: none; border: 0; border-radius: var(--r-sm);
  font: 500 15px/1.3 var(--font-sans); color: var(--muted); text-align: left; cursor: pointer;
  transition: color var(--dur) var(--ease);
}
.no-js .film__steps button { cursor: default; }
.film__steps button::after,
.film__fill { content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px; height: 2px; border-radius: 1px; }
.film__steps button::after { background: var(--line); }
.film__fill { z-index: 1; background: var(--ink); transform: scaleX(0); transform-origin: left center; }
.film__steps [aria-current] { color: var(--ink); }
.film__steps [aria-current] .film__fill { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .film__steps button:hover { color: var(--ink); } }
.film__n { font: 500 12.5px/1 var(--font-mono); }
.film__note { max-width: 46ch; padding-top: 12px; font: 500 12.5px/1.5 var(--font-mono); color: var(--muted); }
@media (max-width: 599px) {
  .film { width: 100%; padding: 0 var(--gutter); }
  .film__frame { border-radius: var(--r-md); }
  .film .loop-pause { right: 8px; bottom: 8px; }
  .film__steps { display: grid; grid-template-columns: 1fr 1fr; width: calc(100% + 12px); }
  .film__steps button { width: 100%; }
}

.loop-pause {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(20, 20, 43, 0.55); color: #fff; cursor: pointer;
}
.loop-pause:hover { background: rgba(20, 20, 43, 0.85); }
.loop-pause svg { width: 14px; height: 14px; }
.loop-pause .i-play { display: none; }
.loop-pause[aria-pressed="true"] .i-play { display: block; }
.loop-pause[aria-pressed="true"] .i-pause { display: none; }
.loop-pause[hidden] { display: none; }

/* --------------------------------------------------- the big line ---- */
.bigline { font-family: var(--font-display); font-weight: 400; font-size: var(--fs-big); line-height: 1.22; letter-spacing: -0.015em; max-width: 26ch; text-wrap: balance; }
.bigline strong { font-weight: 600; }

/* -------------------------------------------------------- rule rows -- */
.rows { list-style: none; border-top: 1px solid var(--ink); }
.rows li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line-strong);
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -0.01em;
}
.rows li span { font: 400 var(--fs-small)/1.4 var(--font-sans); color: var(--muted); text-align: right; max-width: 30ch; }
@media (max-width: 699px) { .rows li { grid-template-columns: 1fr; gap: 6px; } .rows li span { text-align: left; } }

/* ----------------------------------------------- you / zynthari strip -- */
.split { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.split__col { padding: 40px 0 44px; }
.split__col + .split__col { border-left: 1px solid var(--ink); padding-left: clamp(24px, 5vw, 72px); }
.split__who { font: 600 15px/1 var(--font-sans); margin-bottom: 20px; }
.split ul { list-style: none; display: grid; gap: 6px; }
.split li { font-family: var(--font-display); font-size: clamp(26px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.015em; }
@media (max-width: 699px) {
  .split { grid-template-columns: 1fr; }
  .split__col + .split__col { border-left: 0; border-top: 1px solid var(--ink); padding-left: 0; }
}

/* ------------------------------------------------- the data check ---- */
.check { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 20px; align-items: start; }
@media (max-width: 959px) { .check { grid-template-columns: 1fr; } }

.sheet {
  background: var(--raised); border: 1px solid var(--line-strong); border-radius: var(--r-md);
  overflow: hidden;
}
.sheet__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px; border-bottom: 1px solid var(--line);
  font: 500 13px/1.3 var(--font-mono); color: var(--muted); background: var(--paper);
}
.sheet__bar strong { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.sheet__scroll { overflow-x: auto; }
.sheet table { width: 100%; border-collapse: collapse; font: 400 13px/1.35 var(--font-mono); white-space: nowrap; }
.sheet th, .sheet td { padding: 9px 12px; text-align: left; border-bottom: 1px solid var(--line); }
.sheet th { font-weight: 500; color: var(--muted); background: var(--raised); }
.sheet td.num { text-align: right; }
.sheet tr:last-child td { border-bottom: 0; }
.sheet__foot { padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

.mark { position: relative; }
.mark__n {
  display: none; margin-left: 6px; vertical-align: 1px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--flag); color: #fff; font: 600 11px/18px var(--font-sans); text-align: center;
}
.is-checked .mark, .no-js .mark { background: var(--flag-tint); box-shadow: inset 2px 0 0 var(--flag); }
.is-checked .mark .mark__n, .no-js .mark .mark__n { display: inline-block; }

.found { background: var(--raised); border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; }
.found__prompt { display: grid; gap: 16px; justify-items: start; padding: 28px 24px 30px; }
.found__prompt p { max-width: 36ch; font-size: 17px; }
.js .found__result { display: none; }
.js .is-checked .found__result { display: block; }
.js .is-checked .found__prompt { display: none; }
.no-js .found__prompt { display: none; }

.found__tabs { display: flex; border-bottom: 1px solid var(--line); background: var(--paper); }
.found__tabs button {
  flex: 1; min-height: 46px; padding: 0 14px; border: 0; background: none; cursor: pointer;
  font: 600 14.5px/1.2 var(--font-sans); color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.found__tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); background: var(--raised); }
.found__panel { padding: 8px 0 0; }
.found__panel[hidden] { display: none; }
.no-js .found__tabs { display: none; }
.no-js .found__panel[hidden] { display: block; }

.flags { list-style: none; }
.flags li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 4px 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.flags li:last-child { border-bottom: 0; }
.flags__n { grid-row: span 3; width: 22px; height: 22px; border-radius: 50%; background: var(--flag); color: #fff; font: 600 12px/22px var(--font-sans); text-align: center; margin-top: 2px; }
.flags__what { font-weight: 600; line-height: 1.4; }
.flags__src { font: 500 13px/1.4 var(--font-mono); color: var(--flag); }
.flags__do { font-size: 15px; color: var(--muted); line-height: 1.45; }
.found .sheet { border: 0; border-radius: 0; }
.fixed { font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .is-checked .found__result { animation: rise 320ms var(--ease) both; }
  .is-checked .mark { transition: background-color 320ms var(--ease); }
}
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.check__after { margin-top: 28px; display: grid; gap: 18px; }

/* ------------------------------------------------- product still ---- */
.pair { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.pair__text { display: grid; gap: 20px; justify-items: start; }
.pair__text p { font-size: var(--fs-lede); line-height: 1.5; max-width: 38ch; }
@media (max-width: 899px) { .pair { grid-template-columns: 1fr; } }

.shot { border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; background: var(--raised); box-shadow: 0 24px 50px -30px rgba(20, 20, 43, 0.35); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--paper); }
.shot__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.shot img { width: 100%; height: auto; }
.shot + figcaption, .caption { margin-top: 10px; font: 500 12.5px/1.4 var(--font-mono); color: var(--muted); }

.clip__frame { position: relative; border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; background: var(--paper); }
.clip video { width: 100%; height: auto; }
.clip .loop-pause { position: absolute; right: 12px; bottom: 12px; }

.keep { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.keep .split li { font-size: clamp(22px, 1.9vw, 27px); }
.keep .split__col + .split__col { padding-left: 36px; }
@media (max-width: 1099px) {
  .keep { grid-template-columns: 1fr; }
  .keep .clip { max-width: 560px; }
  .keep .split li { font-size: clamp(24px, 3.4vw, 32px); }
}
@media (max-width: 699px) { .keep .split__col + .split__col { padding-left: 0; } }

.page-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 899px) { .page-head__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ close -- */
.close { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.close__copy { display: grid; gap: 20px; }
.close__copy dl { display: grid; gap: 14px; max-width: 40ch; }
.close__copy dt { font-weight: 600; }
.close__copy dd { color: var(--ink-2); }
@media (max-width: 899px) { .close { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- form -- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form__row { display: grid; gap: 6px; grid-column: 1 / -1; }
.form__row--half { grid-column: span 1; }
@media (max-width: 599px) { .form__row--half { grid-column: 1 / -1; } }
.form label, .form legend { font-weight: 600; font-size: 15px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  font: 400 16px/1.4 var(--font-sans); color: var(--ink);
  background: var(--raised); border: 1px solid var(--line-strong); border-radius: var(--r-md);
}
.form textarea { min-height: 116px; resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { border-color: var(--accent); }
.form [aria-invalid="true"] { border-color: var(--flag) !important; }
.form fieldset { border: 0; padding: 0; margin: 0; grid-column: 1 / -1; display: grid; gap: 10px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; font-weight: 500; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: var(--raised);
}
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { box-shadow: var(--focus-ring); }
.choice input[aria-invalid="true"] + span { border-color: var(--flag); }
.form__hint { font-size: 13.5px; color: var(--muted); }
.form__check { display: flex; gap: 10px; align-items: flex-start; grid-column: 1 / -1; }
.form__check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.form__check label { font-weight: 400; font-size: 15px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { grid-column: 1 / -1; }
.form__status { grid-column: 1 / -1; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface); font-size: 15px; }
.form__status--error { background: var(--flag-tint); color: var(--flag); }
.form__status[hidden] { display: none; }
.form__done { display: grid; gap: 8px; padding: 24px; border: 1px solid var(--ink); border-radius: var(--r-md); background: var(--raised); }
.form__done[hidden] { display: none; }

/* -------------------------------------------------------- inner pages -- */
.page-head { padding: clamp(64px, 10vw, 128px) 0 clamp(40px, 6vw, 72px); }
.page-head h1 { max-width: 16ch; }
.page-head .lede { margin-top: 22px; max-width: 46ch; color: var(--ink-2); }
.page-head .actions { margin-top: 32px; }

.prose { max-width: var(--measure); display: grid; gap: 16px; }
.prose p { text-wrap: pretty; }
.cols { display: grid; grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.cols > h2 { position: sticky; top: calc(var(--mast-h) + 24px); }
@media (max-width: 859px) { .cols { grid-template-columns: 1fr; } .cols > h2 { position: static; } }

.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table caption { text-align: left; font-weight: 600; padding-bottom: 12px; }
.table th, .table td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line-strong); text-align: left; vertical-align: top; }
.table thead th { font-size: 14px; color: var(--muted); font-weight: 600; border-bottom-color: var(--ink); }
.table tbody th { font-weight: 500; }
.table td { width: 22%; }
.who { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.who::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }

.steps { list-style: none; counter-reset: step; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; padding: 20px 0; border-bottom: 1px solid var(--line-strong); }
.steps li::before { content: counter(step); grid-row: span 2; font: 500 15px/1.6 var(--font-mono); color: var(--muted); }
.steps strong { font-weight: 600; }
.steps span { color: var(--ink-2); }

.defs { display: grid; gap: 0; border-top: 1px solid var(--ink); }
.defs > div { display: grid; grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr); gap: 8px 24px; padding: 20px 0; border-bottom: 1px solid var(--line-strong); }
.defs dt { font-weight: 600; }
.defs dd { color: var(--ink-2); }
@media (max-width: 599px) { .defs > div { grid-template-columns: 1fr; } }

.modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mode { display: grid; align-content: start; gap: 12px; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--raised); }
.mode p { color: var(--ink-2); }
@media (max-width: 859px) { .modes { grid-template-columns: 1fr; } }

.status { display: inline-flex; align-items: center; gap: 6px; width: max-content; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--ink); font: 500 12.5px/1.4 var(--font-sans); color: var(--ink); white-space: nowrap; }
.status--now { background: var(--ink); color: var(--paper); }
.status--road { border-style: dashed; border-color: var(--muted); color: var(--muted); }

.statuslist { list-style: none; border-top: 1px solid var(--ink); }
.statuslist li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 20px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line-strong); }
.statuslist strong { display: block; font-weight: 600; }
.statuslist span.d { color: var(--ink-2); font-size: 15.5px; }
.roadmap { margin-top: 20px; color: var(--ink-2); max-width: var(--measure); }
.roadmap strong { font-weight: 600; }

.stages { list-style: none; border-top: 1px solid var(--ink); }
.stages li { display: grid; grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); gap: 6px 24px; padding: 18px 0; border-bottom: 1px solid var(--line-strong); }
.stages b { font-weight: 600; }
@media (max-width: 599px) { .stages li { grid-template-columns: 1fr; } }

.cta-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.cta-line .h2 { max-width: 20ch; }

/* ------------------------------------------------------------ footer -- */
.foot { padding: 56px 0 40px; border-top: 1px solid var(--ink); }
.foot__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: start; }
.foot__brand { display: grid; gap: 14px; max-width: 42ch; }
.foot__brand img { width: 130px; height: auto; }
.foot__brand p { color: var(--muted); font-size: 15px; }
.foot__nav ul { list-style: none; display: grid; grid-template-columns: repeat(2, auto); gap: 8px 40px; }
.foot__nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.foot__nav a:hover { color: var(--accent); text-decoration: underline; }
.foot__meta { margin-top: 36px; font-size: 13.5px; color: var(--muted); }
.foot__meta a { color: var(--muted); }
@media (max-width: 699px) { .foot__row { grid-template-columns: 1fr; } }

@media print {
  .mast, .loop-pause, .film__steps { display: none; }
}
