/* roomtone — "Control Room" system. Ground → panel → field → hover; no shadows; radius 3 px. */

@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/IBMPlexSans-Regular-Latin1.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/IBMPlexSans-Regular-Pi.woff2") format("woff2");
  unicode-range: U+2032-2033, U+2190-2199, U+2248, U+2260, U+2264-2265, U+2713; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/IBMPlexSans-Medium-Latin1.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/IBMPlexSans-Medium-Pi.woff2") format("woff2");
  unicode-range: U+2032-2033, U+2190-2199, U+2248, U+2260, U+2264-2265, U+2713; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("fonts/IBMPlexSans-SemiBold-Latin1.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url("fonts/IBMPlexSans-SemiBold-Pi.woff2") format("woff2");
  unicode-range: U+2032-2033, U+2190-2199, U+2248, U+2260, U+2264-2265, U+2713; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/IBMPlexSansCondensed-Bold-Latin1.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Sans Condensed"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/IBMPlexSansCondensed-Bold-Pi.woff2") format("woff2");
  unicode-range: U+2032-2033, U+2190-2199, U+2248, U+2260, U+2264-2265, U+2713; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/IBMPlexMono-Regular-Latin1.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/IBMPlexMono-Regular-Pi.woff2") format("woff2");
  unicode-range: U+2032-2033, U+2190-2199, U+2248, U+2260, U+2264-2265, U+2713; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/IBMPlexMono-Medium-Latin1.woff2") format("woff2");
  unicode-range: U+0000, U+000D, U+0020-007E, U+00A0-00A3, U+00A4-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2212, U+FB01-FB02; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/IBMPlexMono-Medium-Pi.woff2") format("woff2");
  unicode-range: U+2032-2033, U+2190-2199, U+2248, U+2260, U+2264-2265, U+2713; }

:root {
  --ground: #0A0D0F;
  --panel: #11161A;
  --field: #182025;
  --hover: #212B31;
  --line: #2B363C;
  --line-strong: #3D4A51;
  --text: #E9EEF0;
  --text-body: #C9D2D6;
  --text-2: #A7B3B9;
  --text-3: #87949B;
  --coral: #FF7A5C;
  --coral-text: #FF9C84;
  --cyan: #4FD1E0;
  --cyan-hover: #8FE6F0;
  --cyan-ink: #06262B;
  --amber: #F2B84B;
  --filler: #FFC4DA;
  --radius: 3px;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --cond: "IBM Plex Sans Condensed", "Arial Narrow", sans-serif;
  --mono: "IBM Plex Mono", Consolas, ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); }
a:hover { color: var(--cyan-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
code, pre, kbd, samp { font-family: var(--mono); }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
b, strong { font-weight: 600; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 10px 16px; background: var(--cyan); color: var(--cyan-ink); border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1200px; margin: 0 auto; }
.stack { display: flex; flex-direction: column; }
.section { padding: 72px 24px; }
.section--panel { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section + .section--panel, .section--panel + .section--panel { border-top: 0; }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.h2 { font-family: var(--cond); font-weight: 700; font-size: clamp(32px, 4vw, 44px); line-height: 1.05; text-wrap: balance; }
.lede { color: var(--text-body); max-width: 70ch; }
.muted { color: var(--text-2); }
.note { font-size: 13px; color: var(--text-2); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px 32px; }
.section-head p { max-width: 52ch; font-size: 15px; color: var(--text-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: var(--radius); font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn--primary { background: var(--cyan); color: var(--cyan-ink); }
.btn--primary:hover { background: var(--cyan-hover); color: var(--cyan-ink); }
.btn--ghost { background: var(--panel); color: var(--text); border-color: var(--line-strong); font-weight: 500; }
.btn--ghost:hover { background: var(--hover); color: var(--text); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { padding: 14px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; min-height: 44px; }
.brand:hover { color: var(--text); }
.wordmark { font-family: var(--cond); font-weight: 700; font-size: 24px; letter-spacing: -0.02em; line-height: 1; }
.wordmark .joint { color: var(--cyan); }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 15px; flex: 1 1 auto; }
.site-nav a { color: var(--text-body); text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { padding: 72px 24px 40px; }
.hero .wrap { gap: 28px; }
.hero h1 { max-width: 15ch; font-family: var(--cond); font-weight: 700; font-size: clamp(44px, 7vw, 88px); line-height: 0.95; letter-spacing: -0.02em; text-wrap: balance; }
.hero h1 span { color: var(--cyan); }
.hero .lede { max-width: 62ch; font-size: clamp(17px, 1.6vw, 20px); }
.cmd { display: flex; align-items: center; gap: 12px; max-width: 100%; overflow-x: auto; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--mono); font-size: 15px; white-space: nowrap; }
.cmd .prompt { color: var(--text-3); user-select: none; }
.tok-cmd { color: var(--text); }
.tok-flag { color: var(--cyan); }
.tok-file { color: var(--filler); }
.tok-out { color: var(--text-3); }

.take { padding: 0 24px 72px; }
.take .wrap { gap: 10px; }
.take-frame { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 0 12px; overflow: hidden; }
.take-frame img { width: 100%; height: 220px; }
.take-label { position: absolute; top: 10px; font-family: var(--mono); font-size: 13px; }
.take-label--raw { left: 2%; color: var(--coral-text); }
.take-label--fixed { right: 2%; color: var(--cyan); text-align: right; }

/* Chain */
.chain .wrap { gap: 32px; }
.stages { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 12px; }
.stage { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); }
.stage--target { border-color: var(--cyan); }
.stage--out { border-style: dashed; border-color: var(--line-strong); }
.stage-top { display: flex; align-items: center; justify-content: space-between; color: var(--cyan); }
.stage-top span { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.stage h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.stage p { font-size: 14px; line-height: 1.5; color: var(--text-body); }
.stage code { margin-top: auto; font-size: 12px; color: var(--text-2); }
.icon { width: 28px; height: 28px; flex: none; }
.icon--24 { width: 24px; height: 24px; }
.icon--22 { width: 22px; height: 22px; }

/* Results */
.results .wrap { gap: 28px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.tile dt { font-size: 14px; color: var(--text-2); }
.tile dd { margin: 0; }
.tile .value { font-family: var(--mono); font-size: 30px; font-weight: 500; line-height: 1.2; }
.tile .unit { font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.raw { color: var(--coral-text); }
.warn { color: var(--amber); }
.fixed { color: var(--cyan); }
.arrow { color: var(--text-3); }

/* Two-column feature sections (transcript, sync, CLI) */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 32px; align-items: start; }
.split > * { min-width: 0; }
.split .stack { gap: 18px; }
.facts { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-body); }
.facts li { display: flex; gap: 12px; align-items: baseline; }
.facts .k { flex: none; min-width: 9.5ch; font-family: var(--mono); font-size: 15px; color: var(--text); }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.section--panel .card { background: var(--ground); }
.card-head { padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.code { margin: 0; padding: 14px; overflow-x: auto; font-size: 14px; line-height: 1.6; color: var(--text); }

.transcript { padding: 16px 14px; font-size: 16px; line-height: 2; color: var(--text-body); }
.transcript .t { font-family: var(--mono); font-size: 12px; color: var(--text-3); margin-right: 8px; }
.filler { color: var(--filler); text-decoration: line-through; text-decoration-thickness: 1px; }
.repeat { color: var(--filler); text-decoration: line-through; text-decoration-thickness: 1px; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 2px; margin-right: 6px; vertical-align: middle; background: currentColor; }
.legend .l-filler { color: var(--filler); }

table.data { width: 100%; border-collapse: collapse; font-size: 15px; }
table.data th, table.data td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.data tr:last-child th, table.data tr:last-child td { border-bottom: 0; }
table.data thead th { font-size: 13px; font-weight: 600; color: var(--text-2); }
table.data tbody th { font-weight: 400; color: var(--text-body); }
table.data td { font-family: var(--mono); white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* Features */
.features .wrap { gap: 32px; }
.features h2 { max-width: 24ch; }
.grid-lines { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feature { display: flex; flex-direction: column; gap: 10px; padding: 24px; background: var(--ground); }
.feature h3 { font-size: 19px; font-weight: 600; line-height: 1.3; }
.feature p { font-size: 15px; line-height: 1.55; color: var(--text-body); }
.feature .c-coral { color: var(--coral); }
.feature .c-cyan { color: var(--cyan); }
.feature .c-text { color: var(--text); }

/* Download */
.download-box { display: flex; flex-direction: column; gap: 12px; padding: 22px; }
.download-box h3 { font-size: 19px; font-weight: 600; }
.download-box ul { padding-left: 20px; font-size: 15px; color: var(--text-body); display: flex; flex-direction: column; gap: 4px; }
.download-box code { font-size: 14px; color: var(--text); }
.figs { display: flex; flex-direction: column; gap: 12px; }
.figs figure { overflow: hidden; }

/* Roadmap */
.roadmap .wrap { gap: 28px; }
.phases { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.phase { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--ground); border: 1px solid var(--line); border-radius: var(--radius); }
.phase h3 { font-size: 17px; font-weight: 600; line-height: 1.3; }
.phase h3 .mono { display: block; font-size: 12px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); }
.phase ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-body); }
.phase li { display: flex; gap: 10px; align-items: flex-start; }
.phase li .icon { margin-top: 1px; }
.phase--shipped li .icon { color: var(--cyan); }
.phase--next li .icon { color: var(--amber); }
.phase--planned li .icon { color: var(--text-2); }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; border: 1px solid; border-radius: var(--radius); padding: 3px 8px; line-height: 1.4; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; box-sizing: border-box; }
.badge--shipped { color: var(--cyan); border-color: rgba(79, 209, 224, 0.5); }
.badge--shipped::before { background: var(--cyan); }
.badge--next { color: var(--amber); border-color: rgba(242, 184, 75, 0.55); }
.badge--next::before { border: 2px solid var(--amber); }
.badge--planned { color: var(--text-2); border-color: var(--line-strong); }
.badge--planned::before { border: 1.5px dashed var(--text-2); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 14px; color: var(--text-2); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; padding: 72px 24px; }
.notfound .wrap { gap: 24px; width: 100%; }
.notfound h1 { font-family: var(--cond); font-weight: 700; font-size: clamp(44px, 7vw, 88px); line-height: 0.95; letter-spacing: -0.02em; }

@media (max-width: 560px) {
  .section { padding: 56px 20px; }
  .hero { padding: 48px 20px 32px; }
  .take { padding: 0 20px 56px; }
  .site-header .wrap { padding: 10px 20px; }
  .site-header .btn { width: 100%; }
  .take-frame { padding-top: 52px; }
  .take-frame img { height: 160px; }
  .take-label { font-size: 11px; }
  .take-label--raw { top: 8px; }
  .take-label--fixed { top: 26px; }
  .facts li { flex-direction: column; gap: 0; }
}
.gap-10 { gap: 10px; }
.phase li .icon[data-shipped] { color: var(--cyan); }

/* Feature grid: fixed column counts so the hairline grid never shows an empty cell. */
.grid-lines { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid-lines { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-lines > .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (min-width: 1000px) {
  .grid-lines { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-lines > .feature:last-child:nth-child(odd) { grid-column: auto; }
}

/* Ten stages: 1, 2 or 5 columns so rows always fill. Output stage: full-width row after them. */
.stages { grid-template-columns: 1fr; }
@media (min-width: 480px) { .stages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stages { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.stage--out { grid-column: 1 / -1; }
@media (min-width: 700px) {
  .stage--out { display: grid; grid-template-columns: max-content max-content minmax(0, 1fr); align-items: center; gap: 8px 20px; }
  .stage--out .stage-top { justify-content: flex-start; gap: 10px; }
  .stage--out h3 { white-space: nowrap; }
  .stage--out code { grid-column: 1 / -1; margin-top: 0; }
}

/* Keep inline flags/paths on one line. */
p code, li code { white-space: nowrap; }
