/* Fovea website styles.
   Layout: a left-set headline over one wide 16:9 film frame; below it, hairline-ruled
   ledgers instead of cards. The isometric floor tile from the Fovea mark is the one
   recurring motif. Single dark look by design: Ink is the brand ground. */
@font-face {
  font-family: "Onest";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../assets/fonts/onest-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("../assets/fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
}
:root {
  color-scheme: dark;
  --ink: #171431;
  --ink-2: #1E1A40;
  --ink-3: #262152;
  --line: #322D66;
  --text: #F2F0FF;
  --muted: #B8B3DA;
  --dim: #8C87B8;
  --teal: #2AC6C6;
  --sky: #377EDF;
  --violet: #5C52C6;
  --purple: #9949E9;
  --display: "Onest", "Helvetica Neue", Arial, sans-serif;
  --body: "Onest", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1200px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
body { background: var(--ink); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; text-wrap: balance; color: var(--text); }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.1; letter-spacing: -0.02em; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -0.005em; }
p { margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--teal); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; font-weight: 300; color: var(--muted); max-width: 34em; }
.mono { font-family: var(--mono); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 0.6em; font: 500 1rem/1 var(--body); padding: 0.95em 1.35em; border-radius: 10px; text-decoration: none; border: 1px solid transparent; white-space: nowrap; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: #4fd6d6; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--dim); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.nav img { height: 38px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 30px; font-size: 0.95rem; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-links .btn { padding: 0.7em 1.05em; font-size: 0.92rem; color: var(--ink); }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } .nav img { height: 32px; } }

/* hero */
.hero { padding-block: clamp(28px, 6vw, 72px) 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero-top > * { min-width: 0; }
.hero-side { display: flex; flex-direction: column; gap: 26px; padding-bottom: 8px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-note { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); }
.hero h1 .accent { color: var(--teal); }
.hero .eyebrow { display: block; margin-bottom: 22px; }
@media (max-width: 900px) { .hero-top { grid-template-columns: 1fr; align-items: start; } }

.video { position: relative; margin-top: clamp(32px, 5vw, 60px); aspect-ratio: 16 / 9; max-width: 100%; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #2a2360 0%, var(--ink-2) 45%, #120f28 100%); }
.video canvas, .video video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.video video { object-fit: cover; background: #000; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; margin-top: 34px; border-top: 1px solid var(--line); }
.fact { padding-block: 22px 6px; }
.fact b { display: block; font: 600 clamp(1.7rem, 3vw, 2.3rem)/1.05 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: 8px; color: var(--muted); font-size: 0.95rem; max-width: 17em; }
.footnote { margin-top: 14px; font-size: 0.82rem; color: var(--dim); max-width: 62em; }
@media (max-width: 820px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* sections */
section { padding-block: clamp(64px, 9vw, 120px) 0; }
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 5vw, 72px); align-items: end; margin-bottom: clamp(30px, 4vw, 52px); }
.head > * { min-width: 0; }
.head .eyebrow { display: block; margin-bottom: 16px; }
@media (max-width: 820px) { .head { grid-template-columns: 1fr; align-items: start; } }

.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3.5vw, 48px); }
.ledger.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cell { border-top: 1px solid var(--line); padding-block: 24px 34px; min-width: 0; }
.cell .tag { font-family: var(--mono); font-size: 0.74rem; color: var(--teal); letter-spacing: 0.04em; }
.cell h3 { margin-top: 12px; }
.cell p { margin-top: 10px; color: var(--muted); font-size: 0.98rem; }
@media (max-width: 980px) { .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ledger, .ledger.two { grid-template-columns: 1fr; } }

/* prompt band */
.prompt { margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 22px; align-items: baseline; }
.prompt .tag { font-family: var(--mono); font-size: 0.74rem; color: var(--dim); white-space: nowrap; }
.prompt q { font-family: var(--mono); font-size: clamp(0.9rem, 1.4vw, 1.02rem); line-height: 1.6; color: var(--text); quotes: none; }
.prompt q::before { content: "> "; color: var(--teal); }
@media (max-width: 640px) { .prompt { grid-template-columns: 1fr; } }

/* advantages */
.why { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); }
.why .cell h3 { margin-top: 0; font-size: 1.35rem; }
.why .cell p { max-width: 30em; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* robots */
.robots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; gap: 0.6em; font-size: 0.92rem; padding: 0.55em 0.9em; border: 1px solid var(--line); border-radius: 999px; color: var(--text); background: var(--ink-2); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.chip.partial { color: var(--muted); background: transparent; }
.chip.partial i { background: transparent; border: 1.5px solid var(--dim); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: 18px; font-size: 0.85rem; color: var(--dim); }
.legend span { display: inline-flex; align-items: center; gap: 0.55em; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.legend .o i { background: transparent; border: 1.5px solid var(--dim); }

/* cognitive3d band */
.band { --coming: #9D97DD; background: var(--ink-2); border-block: 1px solid var(--line); margin-top: clamp(64px, 9vw, 120px); }
.band section { padding-block: clamp(56px, 8vw, 100px); }
.pill { font-family: var(--mono); font-size: 0.72rem; padding: 0.4em 0.7em; border-radius: 999px; white-space: nowrap; border: 1px solid var(--line); color: var(--dim); }
.ln { display: inline-block; width: 26px; height: 0; border-top: 2px solid var(--teal); flex: none; }
.ln.soon { border-top: 2px dashed var(--coming); }

/* loop explorer: workflow tabs, a board of stages joined by live and coming lines,
   and a panel that explains the selected workflow, stage or line. js/loop.js draws
   the lines and adds the tabs; without it the stages and workflows read as a list. */
.lx-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.lx-tab { position: relative; display: inline-flex; align-items: center; gap: 0.7em; font: 400 0.92rem/1 var(--body); color: var(--muted); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.72em 1.05em; cursor: pointer; white-space: nowrap; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.lx-tab:hover { color: var(--text); border-color: var(--dim); }
.lx-tab[aria-selected="true"] { color: var(--text); border-color: var(--teal); background: var(--ink); }
.lx-tab .ln { width: 16px; }

.lx-board { position: relative; display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(120px, 12vw, 150px); row-gap: 76px; padding-top: 56px; margin-top: 12px; }
.lx-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.lx-sources { grid-column: 1; grid-row: 1; display: grid; gap: 14px; }
.lx-node { position: relative; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; background: var(--ink); min-width: 0; transition: border-color .15s ease, opacity .2s ease, box-shadow .15s ease; }
.lx-node .tag { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--dim); }
.lx-node h3 { margin-top: 8px; font-size: 1.08rem; }
.lx-node p { margin-top: 6px; color: var(--muted); font-size: 0.93rem; }
.lx-brand { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.lx-brand img { display: block; height: 37px; width: auto; max-width: none; align-self: flex-start; flex: none; }
.lx-brand h3 { margin-top: 0; font-size: 1.2rem; }
.lx-node[data-node="c3d"] { grid-column: 2; grid-row: 1; }
.lx-node[data-node="fovea"] { grid-column: 3; grid-row: 1; }
.lx-node[data-node="sim"] { grid-column: 3; grid-row: 2; }
.lx-key { grid-column: 1; grid-row: 2; align-self: end; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--mono); font-size: 0.74rem; color: var(--dim); }
.lx-key span { display: inline-flex; align-items: center; gap: 0.7em; }
.lx-key .hint { flex-basis: 100%; font-family: var(--body); font-size: 0.88rem; }
.lx-on .lx-node { cursor: pointer; }
.lx-on .lx-node:hover { border-color: var(--dim); }
.lx-node.is-dim { opacity: 0.38; }
.lx-node.is-lit { border-color: var(--dim); }
.lx-node.is-sel, .lx-on .lx-node.is-sel:hover { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }

.lx-wires .wire { fill: none; stroke: var(--teal); stroke-width: 1.6; stroke-linecap: round; }
.lx-wires .hit { fill: none; stroke: transparent; stroke-width: 18; pointer-events: stroke; cursor: pointer; }
.lx-wires .head { fill: var(--teal); }
.lx-wires .dot { fill: var(--teal); }
.lx-wires text { font-family: var(--mono); font-size: 10px; letter-spacing: 0.02em; fill: var(--muted); paint-order: stroke; stroke: var(--ink-2); stroke-width: 7px; stroke-linejoin: round; }
.lx-wires .soon .wire { stroke: var(--coming); stroke-dasharray: 5 6; }
.lx-wires .soon .head, .lx-wires .soon .dot { fill: var(--coming); }
.lx-wires .soon text { fill: var(--dim); }
.lx-wires .edge { transition: opacity .2s ease; }
.lx-wires .edge.is-dim { opacity: 0.2; }
.lx-wires .edge.is-dim .dot { display: none; }
.lx-wires .edge.is-lit .wire, .lx-wires .edge.is-hot .wire { stroke-width: 2.2; }
.lx-wires .edge.is-lit text, .lx-wires .edge.is-hot text { fill: var(--text); }

.lx-panel { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 26px; display: grid; gap: 30px; }
.lx-flow { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 18px clamp(24px, 5vw, 72px); align-items: start; }
.lx-flow > * { min-width: 0; }
.lx-flow-head { display: grid; gap: 12px; justify-items: start; }
.lx-flow-head h3 { font-size: 1.35rem; line-height: 1.2; }
.lx-flow-head .tag { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--dim); }
.lx-flow-head p { color: var(--muted); font-size: 0.95rem; }
.lx-flow[data-status="live"] .pill, .links .live .pill { border-color: var(--teal); color: var(--teal); }
.lx-flow[data-status="soon"] .pill, .links .soon .pill { border-style: dashed; border-color: var(--dim); color: var(--muted); }
.lx-flow-body { color: var(--muted); font-size: 1.02rem; max-width: 40em; }
.lx-flow ol { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(18px, 2.5vw, 32px); }
.lx-flow ol li { counter-increment: step; border-top: 1px solid var(--line); padding-top: 14px; color: var(--muted); font-size: 0.95rem; }
.lx-flow ol li::before { content: "0" counter(step); display: block; font-family: var(--mono); font-size: 0.74rem; color: var(--teal); margin-bottom: 8px; }
.lx-flow[data-status="soon"] ol li::before { color: var(--coming); }
.lx-on .lx-panel { min-height: 172px; align-content: start; }
.lx-on .lx-flow { display: none; }
.lx-on .lx-flow.is-on { display: grid; }
.links { list-style: none; margin: 0; padding: 0; display: grid; }
.links li { display: grid; grid-template-columns: 26px minmax(0, 13em) minmax(0, 1fr) auto; gap: 6px 16px; align-items: center; padding-block: 12px; border-top: 1px solid var(--line); font-size: 0.95rem; }
.links b { font-weight: 500; }
.links .what { color: var(--muted); }

@media (max-width: 999px) {
  .lx-board { grid-template-columns: minmax(0, 1fr); row-gap: 58px; padding: 0 26px; margin-top: 30px; max-width: 620px; margin-inline: auto; }
  .lx-sources { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .lx-sources, .lx-node[data-node="c3d"], .lx-node[data-node="fovea"], .lx-node[data-node="sim"], .lx-key { grid-column: 1; }
  .lx-node[data-node="c3d"] { grid-row: 2; }
  .lx-node[data-node="fovea"] { grid-row: 3; }
  .lx-node[data-node="sim"] { grid-row: 4; }
  .lx-key { grid-row: 5; margin-top: -30px; }
  .lx-sources .lx-node { padding: 16px; }
  .lx-sources .lx-node h3 { font-size: 1rem; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: anywhere; }
  .lx-flow { grid-template-columns: minmax(0, 1fr); }
  .lx-on .lx-panel { min-height: 0; }
}
@media (max-width: 640px) {
  .lx-tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 4px 20px; scrollbar-width: none; }
  .lx-tabs::-webkit-scrollbar { display: none; }
  .lx-flow ol { grid-template-columns: minmax(0, 1fr); }
  .lx-flow ol li { padding-bottom: 14px; }
  .links li { grid-template-columns: 26px minmax(0, 1fr) auto; }
  .links b { grid-column: 2; grid-row: 1; }
  .links .pill { grid-column: 3; grid-row: 1; }
  .links .what { grid-column: 2 / -1; grid-row: 2; }
}

/* session replay: an illustrative training run played back as the session it becomes. */
.sx { margin-top: clamp(44px, 6vw, 76px); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr); gap: 26px clamp(24px, 5vw, 72px); align-items: start; }
.sx > * { min-width: 0; }
.sx-copy .tag { font-family: var(--mono); font-size: 0.74rem; color: var(--teal); letter-spacing: 0.04em; }
.sx-copy h3 { margin-top: 12px; font-size: 1.35rem; line-height: 1.2; }
.sx-copy p { margin-top: 12px; color: var(--muted); font-size: 0.98rem; max-width: 30em; }
.sx-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.sx-filter { display: inline-flex; align-items: center; gap: 0.6em; font: 400 0.8rem/1 var(--mono); color: var(--dim); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 0.62em 0.9em; cursor: pointer; }
.sx-filter[aria-pressed="true"] { color: var(--text); border-color: var(--dim); background: var(--ink); }
.sx-filter[aria-pressed="false"] .gl { opacity: 0.35; }
.gl { display: inline-block; width: 8px; height: 8px; flex: none; background: var(--teal); border-radius: 50%; }
.gl.sensor { border-radius: 1px; background: var(--sky); transform: rotate(45deg); }
.gl.motion { border-radius: 1px; height: 3px; width: 10px; background: var(--coming); }
.sx-player { border: 1px solid var(--line); border-radius: 14px; background: var(--ink); padding: 18px 20px 14px; display: grid; gap: 12px; }
.sx-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--mono); font-size: 0.76rem; color: var(--dim); }
.sx-top .pill { border-color: var(--teal); color: var(--teal); }
.sx-top .sx-clock { margin-left: auto; color: var(--muted); font-variant-numeric: tabular-nums; }
.sx-chart { position: relative; height: 132px; margin-inline: 7px; }
.sx-chart svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.sx-chart path, .sx-chart line { vector-effect: non-scaling-stroke; fill: none; }
.sx-chart .ghost { stroke: var(--dim); stroke-opacity: 0.45; stroke-width: 1.5; }
.sx-chart .curve { stroke: var(--teal); stroke-width: 2; stroke-linejoin: round; }
.sx-chart .area { fill: var(--teal); fill-opacity: 0.12; stroke: none; }
.sx-chart .thresh { stroke: var(--dim); stroke-width: 1; stroke-dasharray: 3 5; }
.sx-chart .base { stroke: var(--line); stroke-width: 1; }
.sx-chart .ep { stroke: var(--teal); stroke-width: 1.5; }
.sx-chart .ep.miss { stroke: var(--dim); }
.sx-chart .ghosts .ep { stroke: var(--dim); stroke-opacity: 0.35; }
.sx-chart .lab { position: absolute; font-family: var(--mono); font-size: 0.68rem; color: var(--dim); line-height: 1; }
.sx-chart .lab.y { left: 0; top: 0; }
.sx-chart .lab.th { right: 0; top: 20%; margin-top: -1.35em; }
.sx-head { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--text); opacity: 0.7; pointer-events: none; }
.sx-marks { position: relative; height: 16px; margin-inline: 7px; }
.sx-mark { position: absolute; top: 0; width: 22px; height: 16px; margin-left: -11px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.sx-mark::before { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; transform: rotate(45deg); border: 1.5px solid var(--dim); background: var(--ink); transition: background .15s ease, border-color .15s ease; }
.sx-mark.is-past::before { background: var(--teal); border-color: var(--teal); }
.sx-mark:hover::before, .sx-mark:focus-visible::before { border-color: var(--text); }
.sx-tip { position: absolute; bottom: 100%; margin-bottom: 4px; transform: translateX(-50%); white-space: nowrap; font-family: var(--mono); font-size: 0.7rem; line-height: 1; color: var(--ink); background: var(--text); padding: 0.5em 0.7em; border-radius: 6px; pointer-events: none; z-index: 2; }
.sx-tip.at-start { transform: translateX(-12px); }
.sx-tip.at-end { transform: translateX(calc(-100% + 12px)); }
.sx-play { font: 500 0.76rem/1 var(--mono); color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 8px; padding: 0.65em 0.9em; min-width: 5.4em; margin-right: 4px; cursor: pointer; }
.sx-play:hover { border-color: var(--dim); }
.sx-range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.sx-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--line); }
.sx-range::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
.sx-range::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--teal); }
.sx-range::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; margin-top: -5px; border: 0; border-radius: 50%; background: var(--teal); }
.sx-range::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--teal); }
.sx-rows { list-style: none; margin: 2px 0 0; padding: 0; border-top: 1px solid var(--line); height: 186px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.sx-rows li { display: grid; grid-template-columns: 3.4em 5.6em minmax(0, 1fr) auto; gap: 12px; align-items: center; height: 31px; flex: none; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.76rem; color: var(--muted); white-space: nowrap; }
.sx-rows li:last-child { color: var(--text); }
.sx-rows .t { color: var(--dim); font-variant-numeric: tabular-nums; }
.sx-rows .k { display: inline-flex; align-items: center; gap: 0.6em; color: var(--dim); }
.sx-rows .n { overflow: hidden; text-overflow: ellipsis; font-family: var(--body); font-size: 0.9rem; }
.sx-rows .v { color: var(--dim); font-variant-numeric: tabular-nums; }
.sx-rows .empty { display: block; height: auto; border: 0; padding-block: 14px; font-family: var(--body); font-size: 0.9rem; color: var(--dim); white-space: normal; }
.sx-cap { font-size: 0.8rem; color: var(--dim); }
@media (max-width: 899px) { .sx { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) {
  .sx-player { padding: 16px 14px 12px; }
  .sx-rows li { grid-template-columns: 3.2em 1.2em minmax(0, 1fr) auto; gap: 8px; }
  .sx-rows .k b { display: none; }
}
@media (prefers-reduced-motion: reduce) { .lx-node, .lx-tab, .lx-wires .edge, .sx-mark::before { transition: none; } }

.ledger.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .ledger.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ledger.four { grid-template-columns: 1fr; } }
.c3d-why { margin-top: clamp(44px, 6vw, 76px); }
.c3d-why-head .tag { font-family: var(--mono); font-size: 0.74rem; color: var(--teal); letter-spacing: 0.04em; }
.c3d-why-head h3 { margin-top: 12px; font-size: 1.35rem; line-height: 1.2; }
.c3d-benefits { margin-top: 26px; }
.band .cell { border-top-color: var(--line); }

/* download */
.dl { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.dl > * { min-width: 0; }
.dl-intro img { width: 132px; height: 132px; display: block; margin: -8px 0 10px -14px; }
.dl-intro .lead { margin-top: 16px; }
.os { display: grid; gap: 0; }
.os-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; padding-block: 22px; border-top: 1px solid var(--line); }
.os-row:last-child { border-bottom: 1px solid var(--line); }
.os-row h3 { font-size: 1.3rem; }
.os-row p { color: var(--muted); font-size: 0.93rem; margin-top: 4px; }
.os-row .soon { font-family: var(--mono); font-size: 0.8rem; color: var(--dim); border: 1px dashed var(--line); padding: 0.85em 1.1em; border-radius: 10px; white-space: nowrap; }
.os-row.off h3 { color: var(--muted); }
@media (max-width: 820px) { .dl { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .os-row { grid-template-columns: 1fr; } .os-row .btn, .os-row .soon { justify-self: start; } }

footer { margin-top: clamp(64px, 9vw, 120px); border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-block: 30px 40px; color: var(--dim); font-size: 0.9rem; }
.foot img { height: 26px; width: auto; display: block; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } html { scroll-behavior: auto; } }
html { scroll-behavior: smooth; }
/* release additions */
.skip { position: absolute; left: -9999px; top: 0; background: var(--teal); color: var(--ink); padding: 0.7em 1em; border-radius: 0 0 8px 0; font-weight: 500; z-index: 20; }
.skip:focus { left: 0; }
.dl-intro h2 { margin-top: 16px; }
.lost { min-height: 70vh; display: grid; align-content: center; gap: 22px; padding-block: 60px; }
.lost .cta { margin-top: 6px; }

/* community */
.community { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px clamp(24px, 5vw, 72px); align-items: end; border-top: 1px solid var(--line); padding-top: clamp(32px, 5vw, 56px); }
.community > * { min-width: 0; }
.community .eyebrow { display: block; margin-bottom: 16px; }
.community .lead { margin-top: 16px; }
@media (max-width: 760px) { .community { grid-template-columns: 1fr; align-items: start; } .community .btn { justify-self: start; } }

/* CTA mode. The <html> element carries data-cta="waitlist" or "download" (set from
   js/config.js). Elements for the other mode are removed from the page. */
[data-cta="waitlist"] .for-download, [data-cta="download"] .for-waitlist { display: none !important; }
.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; }
.cta-stack { display: flex; flex-direction: column; gap: 14px; }

/* waitlist form */
.wl { display: flex; flex-wrap: wrap; gap: 10px; position: relative; }
.wl input[type="email"] { flex: 1 1 220px; min-width: 0; font: 400 1rem/1.2 var(--body); padding: 0.92em 1em; border-radius: 10px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); }
.wl input[type="email"]::placeholder { color: var(--dim); }
.wl input[type="email"]:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; border-color: var(--teal); }
.wl button.btn { cursor: pointer; font-family: var(--body); }
.wl button.btn[disabled] { opacity: 0.7; cursor: progress; transform: none; }
.wl-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.wl-note { font-size: 0.84rem; line-height: 1.5; color: var(--dim); }
.wl-note a { color: var(--muted); }
.wl-panel { display: grid; gap: 28px; }
.wl-block { display: grid; gap: 12px; }
.os-row .wave { font-family: var(--mono); font-size: 0.8rem; color: var(--teal); border: 1px solid var(--teal); padding: 0.85em 1.1em; border-radius: 10px; white-space: nowrap; }
@media (max-width: 520px) { .os-row .wave { justify-self: start; } .wl .btn { flex: 1 1 100%; justify-content: center; } }
