/* Layout: one column of full-width bands; each band holds a 1120px wrap. Dark-first, the flame gradient is spent on the hero headline and thin rules only. */
:root {
  color-scheme: dark;
  --bg: #0f1018;
  --bg-2: #151722;
  --surface: #1a1d2b;
  --line: #2a2e43;
  --fg: #eef0f7;
  --muted: #a4a9bf;
  --flame-1: #e0187c;
  --flame-2: #f9382f;
  --flame-3: #fd9a1c;
  --accent: #ff8a4c;
  --indigo: #96a3f0;
  --ok: #3ecf8e;
  --on-flame: #ffffff;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f6f6fa; --bg-2: #ededf4; --surface: #ffffff; --line: #d9dae6;
    --fg: #14162b; --muted: #555a76; --accent: #b93d0b; --indigo: #3949ab; --ok: #0f8a5f;
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f6fa; --bg-2: #ededf4; --surface: #ffffff; --line: #d9dae6;
  --fg: #14162b; --muted: #555a76; --accent: #b93d0b; --indigo: #3949ab; --ok: #0f8a5f;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: 1120px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: 88px; }
.band.alt { background: var(--bg-2); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 62ch; }
.head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 780px; }
.flame { background: linear-gradient(95deg, var(--flame-1), var(--flame-2) 45%, var(--flame-3)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; }
.brand img { width: 34px; height: auto; }
.brand b { color: var(--flame-3); font-weight: 700; }
.nav nav { display: flex; gap: 22px; margin-left: auto; font-size: 0.93rem; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border-radius: 8px; font-weight: 600; font-size: 0.97rem; text-decoration: none; border: 1px solid transparent; }
.btn.primary { background: linear-gradient(95deg, var(--flame-1), var(--flame-2) 55%, var(--flame-3)); color: var(--on-flame); }
.btn.ghost { border-color: var(--line); color: var(--fg); }
.btn.ghost:hover { border-color: var(--muted); }
.nav nav a[aria-current] { color: var(--fg); }
@media (max-width: 900px) {
  .nav .wrap { flex-wrap: wrap; height: auto; padding-block: 10px; row-gap: 4px; column-gap: 16px; }
  .nav .btn { margin-left: auto; padding: 8px 14px; font-size: 0.9rem; }
  .nav nav { order: 3; width: 100%; margin-left: 0; gap: 20px; padding-bottom: 2px; }
}

/* hero */
.hero { padding-block: 84px 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 24px; min-width: 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.launch { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; min-width: 0; }
.launch-top { padding: 18px 20px; border-bottom: 1px solid var(--line); display: grid; gap: 8px; }
.launch-top span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.launch-top p { font-family: var(--mono); font-size: 0.9rem; line-height: 1.55; }
.launch ol { list-style: none; margin: 0; padding: 8px 0; counter-reset: s; }
.launch li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: baseline; padding: 9px 20px; font-size: 0.95rem; }
.launch li::before { content: counter(s); font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.launch li em { font-style: normal; font-family: var(--mono); font-size: 0.74rem; color: var(--ok); }
.launch li.now em { color: var(--accent); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* figures strip */
.figures { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.figures div { padding: 26px 18px; border-left: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.figures div:first-child { border-left: 0; padding-left: 0; }
.figures strong { font-family: var(--display); font-size: 2.3rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.figures span { color: var(--muted); font-size: 0.9rem; line-height: 1.4; }
@media (max-width: 900px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } .figures div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); } .figures div:nth-child(-n+2) { border-top: 0; } }

/* feature grids */
.grid { display: grid; gap: 36px 40px; }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feat { display: grid; gap: 8px; align-content: start; min-width: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.feat p { color: var(--muted); font-size: 0.98rem; }
.feat .tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo); }
@media (max-width: 900px) { .grid.c3, .grid.c2 { grid-template-columns: 1fr; } }

/* data model pipeline */
.pipe { display: grid; grid-template-columns: minmax(0, 0.9fr) 56px minmax(0, 1.1fr); align-items: center; gap: 0; }
.schema { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px; font-family: var(--mono); font-size: 0.84rem; line-height: 1.7; overflow-x: auto; min-width: 0; }
.schema .k { color: var(--indigo); } .schema .s { color: var(--accent); } .schema .c { color: var(--muted); }
.arrow { height: 2px; background: linear-gradient(90deg, var(--flame-1), var(--flame-3)); position: relative; }
.arrow::after { content: ""; position: absolute; right: -1px; top: -5px; border-left: 9px solid var(--flame-3); border-block: 6px solid transparent; }
.outs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); min-width: 0; }
.outs li { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 13px 18px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.outs li:first-child { border-top: 0; }
.outs b { font-family: var(--mono); font-weight: 500; font-size: 0.84rem; color: var(--fg); }
.outs span { color: var(--muted); }
@media (max-width: 900px) { .pipe { grid-template-columns: 1fr; gap: 20px; } .arrow { width: 2px; height: 36px; margin-inline: auto; background: linear-gradient(180deg, var(--flame-1), var(--flame-3)); } .arrow::after { right: -5px; top: auto; bottom: -1px; border-top: 9px solid var(--flame-3); border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 0; } .outs li { grid-template-columns: 1fr; gap: 2px; } }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { font-family: var(--mono); font-size: 0.82rem; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }

/* split */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.split > div { display: grid; gap: 18px; min-width: 0; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { padding-left: 26px; position: relative; color: var(--muted); }
.checks li b { color: var(--fg); font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 12px; height: 2px; background: linear-gradient(90deg, var(--flame-1), var(--flame-3)); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* stage row */
.stages { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.stages div { padding: 24px 22px; border-left: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.stages div:first-child { border-left: 0; }
.stages span { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.stages p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .stages { grid-template-columns: 1fr; } .stages div { border-left: 0; border-top: 1px solid var(--line); } .stages div:first-child { border-top: 0; } }

/* manifest table */
.tablebox { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.94rem; }
th, td { text-align: left; padding: 12px 18px; border-top: 1px solid var(--line); vertical-align: top; }
thead th { border-top: 0; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
td:first-child { font-weight: 600; white-space: nowrap; }
td.m { font-family: var(--mono); font-size: 0.84rem; color: var(--muted); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px 22px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.plan.pick { border-color: var(--flame-2); }
.plan h3 { font-size: 1.1rem; }
.price { font-family: var(--display); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.price small { font-family: var(--body); font-size: 0.9rem; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.93rem; color: var(--muted); }
.plan p { font-size: 0.93rem; color: var(--muted); }
.note { color: var(--muted); font-size: 0.93rem; margin-top: 22px; max-width: 75ch; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* faq */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 1.1rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { color: var(--muted); margin-top: 10px; max-width: 70ch; }

.final { text-align: left; display: grid; gap: 22px; max-width: 760px; }
.contact { font-family: var(--mono); font-size: 0.95rem; color: var(--muted); user-select: all; }
footer { border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: 0.88rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
section[id], [id] { scroll-margin-top: 80px; }
@media (max-width: 900px) { section[id], [id] { scroll-margin-top: 112px; } }

/* landing hero with the demo video */
/* A hero holds its copy alone; adding a .hero-media block beside the copy turns it into two columns. */
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
.home-grid > .hero-copy { max-width: 820px; }
.home-grid:has(> .hero-media) { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); }
.hero-media { min-width: 0; }
.home-grid h1 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
@media (max-width: 900px) { .home-grid, .home-grid:has(> .hero-media) { grid-template-columns: 1fr; gap: 32px; } }
.video { position: relative; display: block; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); text-decoration: none; }
.video img { display: block; width: 100%; height: 100%; object-fit: cover; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
a.video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 11, 18, 0.72)); }
.video .play { position: absolute; z-index: 1; left: 20px; bottom: 18px; display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.video .play::before { content: ""; width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(95deg, var(--flame-1), var(--flame-2) 55%, var(--flame-3)) ; -webkit-mask: radial-gradient(circle, #000 70%, transparent 71%); flex: none; }
.video .play::after { content: ""; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); border-left: 15px solid #fff; border-block: 9px solid transparent; }
.video:hover .play::before { filter: brightness(1.1); }
.caption { margin-top: 10px; color: var(--muted); font-size: 0.88rem; }

/* one-line feature summary */
.lines { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.lines li { border-top: 1px solid var(--line); min-width: 0; }
.lines a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; padding: 14px 0; text-decoration: none; align-items: center; }
.lines b { font-weight: 600; }
.lines span { grid-column: 1; color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.lines a::after { content: "\2192"; grid-column: 2; grid-row: 1 / span 2; color: var(--accent); font-family: var(--mono); }
.lines a:hover b { color: var(--accent); }
.lines .tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo); margin-left: 8px; font-weight: 500; }
@media (max-width: 900px) { .lines { grid-template-columns: 1fr; } }

/* cards: the two doors and overview summaries */
.cards { display: grid; gap: 16px; }
.cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px 22px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card.big { padding: 30px 28px; gap: 14px; }
.card.big h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.card p { color: var(--muted); font-size: 0.97rem; }
.card .tag { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--indigo); }
.more { color: var(--accent); font-weight: 600; text-decoration: none; font-size: 0.97rem; }
.more:hover { text-decoration: underline; }
.card .more { margin-top: 4px; }
@media (max-width: 1000px) { .cards.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .cards.c2, .cards.c3 { grid-template-columns: 1fr; } }

/* inner pages */
.page-head { padding-block: 64px 8px; }
.page-head .head { margin-bottom: 0; }
.page-head h1, .page h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.crumbs { font-family: var(--mono); font-size: 0.8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--fg); }
.band.tight { padding-block: 56px 88px; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 24px; margin-top: 64px; }
.pager a { text-decoration: none; display: grid; gap: 2px; }
.pager a span { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.pager a b { color: var(--accent); font-weight: 600; }
.pager a.next { text-align: right; margin-left: auto; }
.badge { display: inline-block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--muted); }
footer a:hover { color: var(--fg); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero:has(> .home-grid) { padding-block: 64px 56px; }
.home-grid h1 { font-size: clamp(2.1rem, 3.8vw, 3.1rem); }
.band.compact { padding-block: 64px; }
.band.compact .head { margin-bottom: 32px; }
.lines.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .lines.c3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .lines.c3 { grid-template-columns: 1fr; } }
.home-grid > .hero-copy .lede { max-width: 66ch; }

/* ---------- Engineering: overview of the nine sections and one page per section ---------- */
/* Light-mode accent is #b93d0b: 5.6:1 on white, 4.8:1 on the alt band (AA for body text). */

/* availability label (rendered only when site/_data/availability.txt says `labels on`) */
.avail { display: inline-block; vertical-align: 0.2em; margin-left: 10px; font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1; padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; }
.avail-preview { color: var(--indigo); border-color: color-mix(in srgb, var(--indigo) 45%, transparent); }
.avail-coming { color: var(--muted); border-style: dashed; }

/* overview: ten numbered sections, two columns of rows */
.sections { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.sections li { min-width: 0; }
.sections a { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) 20px; gap: 4px 14px; align-items: start; align-content: start; height: 100%; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; transition: border-color .15s; }
.sections a::before { content: ""; position: absolute; left: 20px; right: 20px; top: -1px; height: 2px; background: linear-gradient(90deg, var(--flame-1), var(--flame-3)); opacity: 0; transition: opacity .15s; }
.sections a::after { content: "\2192"; grid-column: 3; grid-row: 1 / span 2; align-self: center; color: var(--accent); font-family: var(--mono); }
.sections a:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.sections a:hover::before, .sections a:focus-visible::before { opacity: 1; }
.sections .num { grid-row: 1 / span 2; font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1; letter-spacing: -0.03em; color: var(--accent); padding-top: 2px; font-variant-numeric: tabular-nums; }
.sections h3 { font-size: 1.12rem; }
.sections p { grid-column: 2; color: var(--muted); font-size: 0.93rem; line-height: 1.45; }
.sections .go { display: none; }
.ov-foot { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 24px; color: var(--muted); font-size: 0.95rem; }
.ov-foot a { color: var(--accent); font-weight: 600; text-decoration: none; }
.ov-foot a:hover { text-decoration: underline; }
.dl::before { content: "\2193"; font-family: var(--mono); margin-right: 6px; }
@media (max-width: 760px) { .sections { grid-template-columns: 1fr; gap: 8px; } .sections a { grid-template-columns: 34px minmax(0, 1fr) 16px; padding: 14px 16px; gap: 3px 12px; } .sections .num { font-size: 1.35rem; } .sections p { font-size: 0.9rem; } }

/* section page head */
.sec-head { padding-block: 56px 36px; }
.sec-head .head { margin-bottom: 0; max-width: 820px; }
.sec-head h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.sec-head .lede { max-width: 64ch; }
@media (max-width: 640px) { .sec-head { padding-block: 40px 28px; } .sec-head .lede { font-size: 1.06rem; } }

/* the page's one visual */
.visual { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 28px; min-width: 0; }
.visual figcaption { margin-top: 18px; color: var(--muted); font-size: 0.86rem; }
.visual .vt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
@media (max-width: 640px) { .visual { padding: 18px 16px; border-radius: 14px; } }

/* capability groups */
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 36px; margin-top: 56px; }
.grp { display: grid; gap: 12px; align-content: start; min-width: 0; padding-top: 18px; border-top: 1px solid var(--line); }
.grp h2 { font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.25; }
.grp ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.grp li { position: relative; padding-left: 20px; color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.grp li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 10px; height: 2px; background: linear-gradient(90deg, var(--flame-1), var(--flame-3)); }
.grp li b { color: var(--fg); font-weight: 600; }
.grp li a { color: var(--accent); font-weight: 600; text-decoration: none; }
.grp li a:hover { text-decoration: underline; }
.groups.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
@media (max-width: 1000px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .groups, .groups.c2 { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; } }

/* how it fits + previous/next */
.fits { margin-top: 56px; padding: 18px 22px; border-left: 3px solid var(--flame-2); background: var(--bg-2); border-radius: 0 10px 10px 0; color: var(--muted); max-width: 860px; }
.fits b { color: var(--fg); font-weight: 600; }
.fits a { color: var(--accent); font-weight: 600; text-decoration: none; }
.fits a:hover { text-decoration: underline; }
.sec-head + .band.tight { padding-top: 8px; }
.pager.seq { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; }
.pager .pos { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); padding-bottom: 3px; }
@media (max-width: 640px) { .pager.seq { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pager .pos { grid-column: 1 / -1; grid-row: 1; } }

/* call to action band at the foot of section pages */
.cta-band .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 56px; align-items: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band .side p { color: var(--muted); }
.cta-band .wrap > div:first-child { display: grid; gap: 14px; }
.cta-band .side { display: grid; gap: 16px; justify-items: start; }
@media (max-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr; } }

/* Build: launch stepper */
.stepper { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--bg); }
.stepper .prompt { padding: 22px; border-right: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.stepper .prompt span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stepper .prompt p { font-family: var(--mono); font-size: 0.88rem; line-height: 1.6; }
.stepper .prompt .files { display: flex; flex-wrap: wrap; gap: 6px; }
.stepper .prompt .files i { font-style: normal; font-family: var(--mono); font-size: 0.74rem; padding: 3px 9px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.stepper ol { list-style: none; margin: 0; padding: 10px 0; counter-reset: st; }
.stepper li { counter-increment: st; display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 22px; font-size: 0.93rem; }
.stepper li::before { content: counter(st); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); font-family: var(--mono); font-size: 0.7rem; color: var(--muted); }
.stepper li.done::before { content: "\2713"; border-color: transparent; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.stepper li.now { background: color-mix(in srgb, var(--accent) 9%, transparent); }
.stepper li.now::before { border-color: var(--accent); color: var(--accent); }
.stepper li.todo { color: var(--muted); }
.stepper li em { font-style: normal; font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.stepper li.done em { color: var(--ok); }
.stepper li.now em { color: var(--accent); }
@media (max-width: 760px) { .stepper { grid-template-columns: 1fr; } .stepper .prompt { border-right: 0; border-bottom: 1px solid var(--line); } .stepper li { padding: 7px 16px; } }

/* Deliver: pipeline strip */
.strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0; }
.strip li { position: relative; display: grid; gap: 6px; align-content: start; padding: 0 14px 0 0; min-width: 0; }
.strip .dot { display: flex; align-items: center; height: 22px; }
.strip .dot::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--flame-2); flex: none; position: relative; z-index: 1; }
.strip li:not(:last-child) .dot::after { content: ""; flex: 1; height: 2px; margin-right: -14px; background: linear-gradient(90deg, var(--flame-2), var(--flame-3)); }
.strip li.gate .dot::before { border-radius: 3px; transform: rotate(45deg); width: 12px; height: 12px; border-color: var(--flame-3); }
.strip b { font-family: var(--display); font-size: 1.02rem; line-height: 1.2; }
.strip span { color: var(--muted); font-size: 0.84rem; line-height: 1.4; }
.strip .env { margin-top: 2px; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--indigo); }
.lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.lanes div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--bg); display: grid; gap: 2px; }
.lanes b { font-family: var(--mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.lanes span { color: var(--muted); font-size: 0.86rem; }
@media (max-width: 900px) {
  .strip { grid-template-columns: 1fr; gap: 0; }
  .strip li { grid-template-columns: 22px minmax(0, 1fr); column-gap: 14px; row-gap: 2px; padding: 0 0 16px; }
  .strip .dot { grid-row: 1 / span 3; flex-direction: column; height: auto; align-self: stretch; padding-top: 3px; }
  .strip li:not(:last-child) .dot::after { width: 2px; height: auto; flex: 1; margin: 0 0 -19px; background: linear-gradient(180deg, var(--flame-2), var(--flame-3)); }
  .lanes { grid-template-columns: 1fr; }
}

/* Host: layered cluster stack */
.stack { display: grid; gap: 6px; }
.layer { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: center; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.layer > b { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.layer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.layer li { font-size: 0.84rem; padding: 4px 10px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.layer.agent { border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); }
.layer.agent li { border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.layer.cloud { background: transparent; border-style: dashed; }
.layer.cloud li { background: transparent; }
@media (max-width: 700px) { .layer { grid-template-columns: 1fr; gap: 8px; padding: 12px; } .layer li { white-space: normal; } }

/* Operate and Secure: a left-to-right flow of boxes */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 28px; counter-reset: fl; }
.flow li { position: relative; display: grid; gap: 6px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); min-width: 0; }
.flow li:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -24px; width: 20px; height: 2px; background: linear-gradient(90deg, var(--flame-2), var(--flame-3)); }
.flow li:not(:last-child)::before { content: ""; position: absolute; top: calc(50% - 4px); right: -26px; border-left: 7px solid var(--flame-3); border-block: 5px solid transparent; }
.flow .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.flow b { font-family: var(--display); font-size: 1.02rem; line-height: 1.2; }
.flow span { color: var(--muted); font-size: 0.85rem; line-height: 1.4; }
.flow li.person { border-color: color-mix(in srgb, var(--ok) 55%, var(--line)); }
.flow li.person .k { color: var(--ok); }
@media (max-width: 900px) {
  .flow { grid-auto-flow: row; grid-auto-columns: auto; gap: 22px; }
  .flow li:not(:last-child)::after { top: auto; bottom: -19px; right: auto; left: 28px; width: 2px; height: 16px; background: linear-gradient(180deg, var(--flame-2), var(--flame-3)); }
  .flow li:not(:last-child)::before { top: auto; bottom: -21px; right: auto; left: 24px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 7px solid var(--flame-3); border-bottom: 0; }
}
.chips.small li { font-size: 0.74rem; padding: 3px 9px; }
.flow .chips { margin-top: 4px; gap: 5px; }

/* Cost: comparison mock */
.mock-note { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); border: 1px dashed color-mix(in srgb, var(--accent) 60%, var(--line)); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; }
.cmp { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.cmp table { min-width: 540px; font-size: 0.9rem; }
.cmp td:first-child, .cmp th:first-child { position: sticky; left: 0; background: var(--bg); }
.cmp th, .cmp td { padding: 10px 16px; }
.cmp td, .cmp thead th { text-align: right; font-variant-numeric: tabular-nums; }
.cmp td:first-child, .cmp th:first-child { text-align: left; }
.cmp thead th.cur { color: var(--fg); }
.cmp tfoot td { font-weight: 700; font-family: var(--display); font-size: 1rem; border-top: 2px solid var(--line); }
.cmp td.miss { color: var(--muted); font-style: italic; font-weight: 400; }
.cmp td.miss { text-align: center; }
@media (max-width: 640px) {
  .cmp table { min-width: 0; font-size: 0.8rem; }
  .cmp th, .cmp td { padding: 9px 6px; }
  .cmp td:first-child, .cmp th:first-child { position: static; white-space: normal; padding-left: 10px; width: 34%; }
  .cmp thead th { font-size: 0.6rem; letter-spacing: 0.04em; }
  .cmp th .lbl { display: none; }
  .cmp tfoot td { font-size: 0.9rem; }
}
.cmp .lbl { display: block; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); font-weight: 400; }

/* Continuity: primary to standby */
.dr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.site { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--bg); display: grid; gap: 10px; align-content: start; }
.site .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.site b { font-family: var(--display); font-size: 1.05rem; }
.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site li { font-size: 0.85rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.site.standby { border-style: dashed; }
.sync { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: center; }
.sync li { display: grid; gap: 2px; padding: 0 0 8px; border-bottom: 2px solid transparent; border-image: linear-gradient(90deg, var(--flame-1), var(--flame-3)) 1; font-size: 0.84rem; color: var(--muted); position: relative; }
.sync li b { color: var(--fg); font-weight: 600; font-size: 0.88rem; }
.sync li::after { content: ""; position: absolute; right: -2px; bottom: -6px; border-left: 8px solid var(--flame-3); border-block: 5px solid transparent; }
.dr-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.dr-foot p { font-size: 0.9rem; color: var(--muted); }
.dr-foot p b { color: var(--fg); }
.states { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.states li { font-family: var(--mono); font-size: 0.72rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.states li.good { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 50%, var(--line)); }
@media (max-width: 900px) { .dr { grid-template-columns: 1fr; } .sync li::after { display: none; } .sync li { border-bottom: 0; border-left: 2px solid; border-image: linear-gradient(180deg, var(--flame-1), var(--flame-3)) 1; padding: 2px 0 2px 12px; } .dr-foot { grid-template-columns: 1fr; } }

/* Service store: catalogue */
.catalogue { display: grid; gap: 22px; }
.catalogue .cat-h { font-family: var(--mono); font-size: 0.74rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.tiles li { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: var(--bg); display: grid; gap: 4px; align-content: start; min-width: 0; }
.tiles b { font-weight: 600; font-size: 0.95rem; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; }
.tiles li > span { color: var(--muted); font-size: 0.84rem; line-height: 1.4; }
.tiles .avail { font-size: 0.58rem; padding: 3px 6px; margin-left: auto; }
@media (max-width: 640px) { .tiles { grid-template-columns: 1fr; gap: 6px; } .tiles li { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: 12px; padding: 10px 12px; align-items: baseline; } .tiles b { font-size: 0.92rem; flex-direction: column; align-items: flex-start; gap: 4px; } .tiles b .avail { margin-left: 0; } .tiles li > span { font-size: 0.82rem; } }

/* Ownership: you own */
.owned { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.owned li { align-content: start; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.owned li::before { content: "\2713"; grid-row: 1 / span 2; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg, var(--flame-1), var(--flame-3)); color: var(--on-flame); font-weight: 700; font-size: 0.85rem; }
.owned b { font-weight: 600; }
.owned span { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
@media (max-width: 700px) { .owned { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .sync::before { content: "\2193  Kept in sync"; white-space: pre; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); } }

/* Built for agents: two servers and the hand-off */
.mcp { display: grid; grid-template-columns: minmax(0, 0.8fr) 118px minmax(0, 1.15fr) 150px minmax(0, 1.15fr); align-items: start; }
.mcp .node { display: grid; gap: 6px; align-content: start; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); min-width: 0; }
.mcp .node.srv { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.mcp .k { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.mcp .node.agent .k { color: var(--indigo); }
.mcp b { font-family: var(--display); font-size: 1.05rem; line-height: 1.2; }
.mcp .node > span:not(.k) { color: var(--muted); font-size: 0.85rem; line-height: 1.45; }
.mcp .hop { position: relative; align-self: start; margin-top: 30px; padding: 0 12px 12px; text-align: center; font-size: 0.76rem; line-height: 1.35; color: var(--muted); }
.mcp .hop::after { content: ""; position: absolute; left: 6px; right: 10px; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--flame-2), var(--flame-3)); }
.mcp .hop::before { content: ""; position: absolute; right: 4px; bottom: -4px; border-left: 8px solid var(--flame-3); border-block: 5px solid transparent; }
.branch { display: grid; gap: 6px; margin-top: 8px; padding-top: 12px; border-top: 1px dashed var(--line); }
.branch .step { font-size: 0.82rem; color: var(--fg); padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.branch .gate { display: grid; gap: 1px; font-size: 0.84rem; font-weight: 600; color: var(--ok); padding: 7px 10px; border: 1px solid color-mix(in srgb, var(--ok) 60%, var(--line)); border-radius: 8px; background: color-mix(in srgb, var(--ok) 9%, transparent); }
.branch .gate::before { content: "\25C6  Approval gate"; white-space: pre; font-family: var(--mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.branch .gate small { font-weight: 400; font-size: 0.76rem; color: var(--muted); }
.branch.prod .step { color: var(--muted); }
@media (max-width: 1000px) {
  .mcp { grid-template-columns: 1fr; }
  .mcp .hop { margin: 0; padding: 12px 0 12px 30px; text-align: left; }
  .mcp .hop::after { left: 14px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, var(--flame-2), var(--flame-3)); }
  .mcp .hop::before { left: 10px; right: auto; bottom: -2px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 8px solid var(--flame-3); border-bottom: 0; }
}

/* Built for agents: the limits, given the same weight as the capabilities */
.limits { margin-top: 56px; padding: 32px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); position: relative; overflow: hidden; }
.limits::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--flame-1), var(--flame-2), var(--flame-3)); }
.limits-head { display: grid; gap: 10px; max-width: 640px; margin-bottom: 24px; }
.limits-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.limits-head p:last-child { color: var(--muted); }
.limits ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.limits li { display: grid; gap: 6px; align-content: start; padding: 18px 18px 18px 52px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); position: relative; min-width: 0; }
.limits li::before { content: ""; position: absolute; left: 18px; top: 19px; width: 20px; height: 22px; background: linear-gradient(135deg, var(--flame-1), var(--flame-3)); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M10 0 20 4v7c0 6-4.3 9.7-10 11C4.3 20.7 0 17 0 11V4z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 22'%3E%3Cpath d='M10 0 20 4v7c0 6-4.3 9.7-10 11C4.3 20.7 0 17 0 11V4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.limits h3 { font-size: 1.02rem; }
.limits li p { color: var(--muted); font-size: 0.9rem; line-height: 1.5; }
@media (max-width: 1000px) { .limits ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .limits { padding: 22px 16px; margin-top: 40px; } .limits ul { grid-template-columns: 1fr; } }
