@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080f1e;
  --surface: #111e34;
  --text: #f2f6ff;
  --muted: #b5c4db;
  --dim: #9eafca;
  --blue: #91c5ff;
  --accent: #91c5ff;
  --nova: #c5dfff;
  --line: #adc8ef26;
  --line-strong: #adc8ef4d;
  --scroll-thumb: #627ca3;
  --scroll-track: #080f1e;
  --font-body: "Segoe UI Variable", "Aptos", system-ui, sans-serif;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-data: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; scrollbar-color: var(--scroll-thumb) var(--scroll-track); scrollbar-width: thin; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button, a, summary { touch-action: manipulation; }
:where(button, a, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--accent); color: var(--bg); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--scroll-track); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border: 3px solid var(--scroll-track); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.wrap { width: min(1320px, calc(100% - 96px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 99; top: -70px; left: 16px; padding: 12px 16px; background: var(--text); color: var(--bg); }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-header { position: sticky; z-index: 20; top: 0; background: #080f1ef5; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font: 650 21px/1 var(--font-display); letter-spacing: -.02em; }
.brand img { border-radius: 9px; }
.brand-apps { font-weight: 400; color: var(--muted); }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 550; }
.nav-links > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
.nav-links a:hover { color: var(--accent); }
.nav-links .nav-cta { gap: 20px; padding: 10px 17px; border: 1px solid #91c5ff65; border-radius: 6px; color: var(--accent); }
.nav-links .nav-cta:hover { background: #91c5ff12; }
.hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 80% 35%, #184f9c50, transparent 60%), var(--bg); }
.hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); align-items: center; gap: 54px; min-height: 710px; padding-block: 102px 94px; }
.hero-intro { position: relative; z-index: 2; }
h1 { margin: 0; max-width: 8ch; font-size: clamp(60px, 6.1vw, 88px); font-weight: 500; line-height: .99; letter-spacing: -.04em; }
.title-accent { color: var(--accent); }
.hero-side > p { max-width: 39ch; margin: 30px 0 26px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.hero-side strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 23px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 54px; border: 0; border-radius: 6px; padding: 14px 22px; font-size: 13px; font-weight: 650; transition: transform .25s var(--ease-out), background .25s var(--ease-out); }
.button:hover { transform: translateY(-3px); }
.button:active { transform: translateY(0); }
.button-primary { color: #0b2343; background: var(--accent); }
.button-primary:hover { background: #c2dfff; }
.button .icon, .hero-secondary .icon { transition: transform .25s var(--ease-out); }
.button:hover .icon { transform: translateY(3px); }
.hero-secondary { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 13px; }
.hero-secondary:hover { color: var(--accent); }
.hero-secondary:hover .icon { transform: translateX(3px); }
.hero-side .hero-platforms { margin: 15px 0 0; color: var(--dim); font-size: 12px; }
.signal-art { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; color: #63a9ff; opacity: .33; pointer-events: none; }
.signal-paths path { stroke-dasharray: 1; stroke-dashoffset: 0; animation: signal-draw 4.4s var(--ease-out) both; }
.signal-paths path:nth-child(2n) { stroke: #a3d9ff; }
.signal-paths path:nth-child(3n) { opacity: .5; }
.product-theater { position: relative; min-width: 0; perspective: 1400px; }
.terminal-stage { position: relative; padding: 15px 15px 4px; border: 1px solid #91c5ff38; background: linear-gradient(145deg, #182f50, #101c30); border-radius: 12px; box-shadow: 0 42px 90px #0008, 0 0 70px #2865ba18; transform: rotateY(-7deg) rotateZ(1deg); animation: desk-arrive 1.5s var(--ease-out) both; }
.preview-brand { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 14px; font: 500 15px/1 var(--font-display); }
.preview-brand > span:first-child { display: flex; gap: 9px; align-items: center; }
.preview-version { color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.preview-controls { display: none; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; margin: 0 0 12px; padding-bottom: 0; }
.preview-ready .preview-controls { display: grid; }
.preview-choice { min-height: 44px; padding: 8px 5px; border: 0; border-radius: 5px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 600; transition: color .2s, background .2s; }
.preview-choice:hover { color: var(--text); background: #91c5ff0a; }
.preview-choice[aria-pressed="true"] { background: var(--accent); color: #0b2343; }
.preview-choice:focus-visible { outline-offset: -3px; outline-color: var(--text); }
.preview-choice[aria-pressed="true"]:focus-visible { outline-color: #0b2343; }
.terminal-preview { display: block; overflow: hidden; border-radius: 6px; cursor: zoom-in; }
.terminal-preview img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.terminal-preview.switching img { animation: preview-switch .4s var(--ease-out) both; }
.terminal-preview:hover img { filter: brightness(1.08); }
.terminal-preview[aria-busy="true"] { cursor: progress; }
.preview-caption { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 71px; padding: 10px 1px; }
.preview-caption p { margin: 0; max-width: 48ch; color: var(--muted); font-size: 12px; line-height: 1.65; }
.preview-caption > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent); font-size: 12px; white-space: nowrap; }
.preview-caption > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.preview-status { margin: 8px 0; padding: 10px 12px; color: var(--accent); font-size: 12px; line-height: 1.6; }
.preview-status[data-loading] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); padding: 0; margin: 0; }
.preview-status:empty { display: none; }
.product-footnote { margin: 26px 0 0; text-align: center; color: var(--dim); font-size: 12px; }
.hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 24px 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.hero-bottom p { margin: 0; color: var(--text); }
.hero-bottom > div { display: flex; flex-wrap: wrap; gap: 28px; }
.hero-bottom span { display: inline-flex; align-items: center; gap: 9px; }
.hero-bottom span::before { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; }
.referral-section { background: var(--accent); color: #0b2343; }
.offer-line { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 40px; padding-block: 27px; }
.offer-copy strong { font: 500 21px/1.3 var(--font-display); letter-spacing: -.02em; }
.offer-copy p { margin: 7px 0 0; font-size: 12px; line-height: 1.6; }
.offer-code { display: inline-flex; align-items: center; gap: 36px; min-height: 52px; padding: 8px 21px; border: 1px dashed #234f8588; border-radius: 6px; font: 600 26px/1 var(--font-display); letter-spacing: .03em; transition: background .2s; }
.offer-code:hover { background: #edf6ff70; }
.offer-code .icon { transition: transform .25s var(--ease-out); }
.offer-code:hover .icon { transform: translate(2px, -2px); }
.offer-terms { margin: 0; text-align: right; font-size: 12px; line-height: 1.7; color: #25486f; }
.referral-section a:focus-visible { outline-color: #0b2343; }
.section-pad { padding-block: 104px; }
/* What Polybot does, as one flat row of numbered capabilities. */
.inside-section { position: relative; background: linear-gradient(180deg, #0b1630, var(--bg) 70%); }
.inside-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.inside-head h2 { margin: 0; font-size: clamp(44px, 4.6vw, 66px); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; }
.inside-head > p { max-width: 40ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.capability-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 64px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.capability-list li { padding: 28px 28px 6px 0; }
.capability-list li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.capability-index { display: block; margin-bottom: 30px; color: var(--accent); font: 600 12px/1 var(--font-data); letter-spacing: .08em; }
.capability-list h3 { margin: 0 0 12px; font-size: 22px; font-weight: 500; line-height: 1.25; letter-spacing: -.025em; }
.capability-list p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.inside-note { display: flex; align-items: baseline; gap: 10px; margin: 40px 0 0; color: var(--dim); font-size: 12px; line-height: 1.7; }
.inside-note::before { content: ""; flex: none; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; transform: translateY(-1px); }
.download-section { background: #edf3fc; color: #152540; --blue: #23559c; --accent: #23559c; --line: #2447752b; --line-strong: #2447754d; --text: #152540; --muted: #425976; --dim: #4b607e; color-scheme: light; }
.download-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 10vw, 150px); align-items: center; }
.section-intro h2 { margin: 0; font-size: clamp(44px, 4.6vw, 66px); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; }
.section-intro > p { max-width: 43ch; margin: 25px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.setup-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 22px; margin-top: 19px; }
.subtle-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--blue); font-size: 12px; text-decoration: underline; text-underline-offset: 5px; }
.subtle-link:hover { text-decoration-thickness: 2px; }
.section-intro .download-risk { margin-top: 15px; color: var(--dim); font-size: 12px; }
.platform-grid { display: flex; flex-direction: column; }
.platform-card { display: flex; flex-direction: column; justify-content: center; gap: 9px; min-height: 117px; padding: 22px 14px; border-bottom: 1px solid var(--line-strong); transition: background .25s var(--ease-out); }
.platform-card:first-child { border-top: 1px solid var(--line-strong); }
.platform-card:hover { background: #dce9fa; }
.platform-card strong { display: flex; align-items: center; justify-content: space-between; gap: 10px; font: 500 29px/1.2 var(--font-display); letter-spacing: -.03em; }
.platform-card strong > span[aria-hidden] { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid var(--line-strong); border-radius: 50%; font-size: 22px; transition: background .2s, color .2s, transform .2s; }
.platform-card:hover strong > span[aria-hidden] { background: var(--blue); color: #fff; transform: translateY(2px); }
.platform-card small { color: var(--muted); font-size: 12px; line-height: 1.5; }
.platform-name { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.platform-tag { padding: 5px 9px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; color: var(--blue); font: 650 11px/1 var(--font-body); letter-spacing: .01em; }
.platform-card[data-detected] { background: #e4eefb; }
.platform-card[data-detected]:hover { background: #dce9fa; }
.platform-note { margin: 14px 0 0; padding-left: 12px; border-left: 2px solid var(--blue); color: var(--text); font-size: 12px; line-height: 1.7; }
.platform-note:empty { display: none; }
.download-caution { margin: 17px 0 7px; color: var(--dim); font-size: 12px; line-height: 1.7; }
.download-details > summary { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 44px; color: var(--blue); cursor: pointer; list-style: none; font-size: 12px; }
.download-details > summary::after { content: "+"; font-size: 18px; }
.download-details[open] > summary::after { content: "−"; }
.download-support { display: flex; flex-wrap: wrap; gap: 4px 18px; padding: 3px 0 10px; }
.download-support a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; font-size: 12px; }
.mobile-share { display: none; }
.nova-section { position: relative; overflow: hidden; isolation: isolate; background: #142fc4; color: #fff; --dim: #c8d6ff; --muted: #d2ddff; --blue: #fff; --accent: #fff; }
.nova-section::before, .nova-section::after { content: ""; position: absolute; z-index: -1; top: 50%; left: 61%; width: 740px; aspect-ratio: 1; border: 1px solid #b6d4ff38; border-radius: 50%; transform: translate(-50%, -50%); pointer-events: none; }
.nova-section::after { width: 960px; }
.nova-showcase { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); align-items: center; gap: 65px; }
.nova-copy h2 { margin: 0; font-size: clamp(46px, 4.8vw, 69px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; }
.nova-description { max-width: 35ch; margin: 25px 0 27px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.nova-description strong { color: #fff; font-weight: 650; }
.nova-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 23px; }
.nova-actions .button-primary { color: #1832b3; background: #fff; }
.nova-actions .button-primary:hover { background: #e4edff; }
.nova-note { max-width: 44ch; margin: 22px 0 0; color: var(--dim); font-size: 12px; line-height: 1.75; }
.nova-visual { position: relative; margin: 0; padding: 10px 10px 0; border-radius: 12px; background: #0d1b50; box-shadow: 0 35px 65px #08186670; transform: rotate(-2deg); }
.nova-visual > a { display: block; overflow: hidden; border-radius: 6px; cursor: zoom-in; }
.nova-visual img { width: 100%; transition: transform .7s var(--ease-out); }
.nova-visual > a:hover img { transform: scale(1.035); }
.nova-visual figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 3px 5px; color: #d2ddff; font-size: 12px; line-height: 1.5; }
.nova-visual figcaption > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #fff; }
.nova-visual figcaption > a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* ROM Recoil: a heads-up-display take on the midnight chapter. A faint grid, one reticle that draws
   once, and Azure corner brackets (the app's own Azure accent) keep it in the site's blue family. */
.recoil-section { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 70% 45%, #1d63c44d, transparent 58%), #060c19; --azure: #3b9eff; }
.recoil-section::before, .rc-hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(#91c5ff0c 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(90deg, #91c5ff0c 1px, transparent 1px) 0 0 / 56px 56px; mask-image: radial-gradient(ellipse at 68% 48%, #000 15%, transparent 72%); -webkit-mask-image: radial-gradient(ellipse at 68% 48%, #000 15%, transparent 72%); pointer-events: none; }
.recoil-showcase { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.3fr); align-items: center; gap: 65px; }
.recoil-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; font: 600 15px/1 var(--font-display); }
.recoil-eyebrow img { border-radius: 7px; }
.recoil-eyebrow span { padding: 5px 9px; border: 1px solid #91c5ff59; border-radius: 99px; color: var(--accent); font: 650 11px/1 var(--font-body); letter-spacing: .02em; }
.recoil-copy h2 { margin: 0; font-size: clamp(46px, 4.8vw, 69px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; }
.recoil-description { max-width: 36ch; margin: 25px 0 27px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.recoil-description strong { color: var(--text); font-weight: 650; }
.recoil-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 23px; }
.recoil-meta { margin: 16px 0 0; color: var(--dim); font-size: 12px; font-variant-numeric: tabular-nums; }
.recoil-note { max-width: 46ch; margin: 10px 0 0; color: var(--dim); font-size: 12px; line-height: 1.75; }

/* Screenshot frame with HUD corner brackets, shared by the homepage chapter and the Recoil page. */
.hud-frame { position: relative; margin: 0; padding: 10px 10px 0; border: 1px solid #91c5ff2e; border-radius: 12px; background: linear-gradient(160deg, #11223d, #0a1426); box-shadow: 0 40px 90px #0009, 0 0 90px #2d7fe01f; }
.hud-frame::before, .hud-frame::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid var(--azure, #3b9eff); pointer-events: none; }
.hud-frame::before { top: -7px; left: -7px; border-right: 0; border-bottom: 0; border-top-left-radius: 5px; }
.hud-frame::after { right: -7px; bottom: -7px; border-left: 0; border-top: 0; border-bottom-right-radius: 5px; }
.hud-frame > a { display: block; overflow: hidden; border-radius: 6px; cursor: zoom-in; }
.hud-frame img { width: 100%; aspect-ratio: 1600 / 1005; transition: transform .7s var(--ease-out), filter .3s; }
.hud-frame > a:hover img { transform: scale(1.03); filter: brightness(1.06); }
.hud-frame figcaption { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 3px 5px; color: var(--dim); font-size: 12px; line-height: 1.5; }
.hud-frame figcaption > span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: #3ddc97; box-shadow: 0 0 0 3px #3ddc9726; transform: translateY(-1px); }
.hud-frame figcaption > a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--accent); }
.hud-frame figcaption > a:hover { text-decoration: underline; text-underline-offset: 4px; }
.questions-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 90px; }
.questions-layout .section-intro h2 { font-size: clamp(40px, 4vw, 55px); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
summary::-webkit-details-marker { display: none; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 500; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 24px; font-weight: 300; transition: transform .25s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq details p { max-width: 68ch; margin: 0 28px 22px 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.faq details a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }
.footer { border-top: 1px solid var(--line); }
.footer-signoff { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-block: 48px; }
.footer-signoff p { margin: 0; font: 500 clamp(30px, 5vw, 66px)/1.1 var(--font-display); letter-spacing: -.04em; color: var(--accent); }
.footer-signoff a { display: inline-flex; align-items: center; gap: 25px; min-height: 48px; font-size: 15px; }
.footer-signoff a:hover { color: var(--accent); }
.footer-signoff .icon { width: 32px; height: 32px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 36px; min-height: 100px; padding-block: 25px; border-top: 1px solid var(--line); }
.footer .brand { font-size: 17px; }
.footer small { color: var(--dim); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 23px; color: var(--muted); font-size: 12px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-links a:hover { color: var(--accent); }
.button-outline { border: 1px solid var(--line-strong); background: transparent; color: var(--text); }
.button-outline:hover { background: #91c5ff12; }

/* A shared viewer lets visitors inspect either product without losing their place. */
html.preview-open { overflow: hidden; }
.image-viewer { width: min(1400px, calc(100% - 32px)); max-width: calc(100% - 32px); height: min(980px, calc(100vh - 32px)); height: min(980px, calc(100dvh - 32px)); max-height: calc(100% - 32px); margin: auto; padding: 0; border: 1px solid var(--line-strong); border-radius: 12px; background: #101b29; color: var(--text); box-shadow: 0 30px 100px #000a; overflow: hidden; }
.image-viewer:not([open]) { display: none; }
.image-viewer[open] { display: flex; flex-direction: column; animation: enter-up .2s var(--ease-out); }
.image-viewer::backdrop { background: #030810e8; backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); }
.viewer-toolbar { display: flex; align-items: center; justify-content: space-between; flex: none; gap: 20px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.viewer-toolbar h2 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -.03em; }
.viewer-actions { display: flex; align-items: center; flex: none; gap: 8px; }
.viewer-actions button { min-height: 44px; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: #1b2a3d; color: var(--text); font-size: 12px; }
.viewer-actions button:hover:enabled { border-color: var(--accent); background: #243852; }
.viewer-actions button:disabled { opacity: .5; cursor: wait; }
#viewer-zoom:enabled { background: var(--blue); border-color: transparent; color: #0b1828; }
#viewer-zoom:hover:enabled { background: #d4e8ff; }
#viewer-close { display: inline-flex; align-items: center; gap: 14px; }
#viewer-close > span { font-size: 21px; line-height: 1; color: var(--accent); }
.viewer-canvas { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; min-height: 0; min-width: 0; padding: 12px; overflow: auto; overscroll-behavior: contain; background: #080e17; }
.viewer-canvas:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.viewer-canvas img { flex: none; width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; }
.viewer-canvas img[hidden] { display: none; }
.viewer-canvas.is-zoomed { display: block; }
.viewer-canvas.is-zoomed img { width: var(--zoom-width); height: auto; max-width: none; max-height: none; margin: 0; }
.viewer-footer { display: flex; align-items: center; justify-content: space-between; flex: none; gap: 22px; min-height: 64px; padding: 8px 18px; border-top: 1px solid var(--line); }
.viewer-footer p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.viewer-footer a { display: inline-flex; align-items: center; gap: 5px; flex: none; min-height: 44px; color: var(--blue); font-size: 12px; }
.viewer-footer a:hover { color: var(--accent); }


/* One entrance composition, then a still page. Decorative traces are not market data. */
@keyframes signal-draw { from { stroke-dashoffset: 1; opacity: .2; } to { stroke-dashoffset: 0; opacity: 1; } }
@keyframes desk-arrive { from { transform: translateY(24px) rotateY(-12deg) rotateZ(1deg); } to { transform: translateY(0) rotateY(-7deg) rotateZ(1deg); } }
@keyframes enter-up { from { transform: translateY(12px); } to { transform: translateY(0); } }
@keyframes preview-switch { from { opacity: .6; } to { opacity: 1; } }
html.motion-ready [data-reveal] { transform: translateY(18px); transition: transform .8s var(--ease-out); }
html.motion-ready [data-reveal].is-visible { transform: none; }
@media (min-width: 1500px) { .hero-inner { min-height: 800px; } }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .hero-inner { gap: 30px; padding-block: 78px; min-height: 650px; }
  h1 { font-size: 67px; }
  .hero-side > p { font-size: 15px; }
  .hero-actions { gap: 7px 18px; }
  .terminal-stage { padding: 10px 10px 0; }
  .offer-line { gap: 25px; }
  .offer-copy strong { font-size: 19px; }
  .offer-code { gap: 22px; }
  .download-layout { gap: 60px; }
  .nova-showcase { gap: 38px; }
  .questions-layout { gap: 60px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 45px; padding-block: 64px 45px; }
  .hero-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; align-items: center; }
  h1 { max-width: 8ch; font-size: clamp(51px, 7.5vw, 69px); }
  .hero-side > p { margin-top: 0; }
  .hero-side .hero-platforms { margin-bottom: 0; }
  .product-theater { width: 90%; margin-inline: auto; }
  .terminal-stage { transform: none; animation: enter-up 1.1s var(--ease-out); }
  .signal-art { opacity: .23; }
  .hero-bottom { align-items: flex-start; font-size: 12px; gap: 15px; }
  .hero-bottom > div { gap: 14px; }
  .offer-line { grid-template-columns: 1fr auto; gap: 16px 28px; }
  .offer-terms { grid-column: 1 / -1; text-align: left; }
  .offer-terms br { display: none; }
  .section-pad { padding-block: 75px; }
  .inside-head { flex-direction: column; align-items: flex-start; gap: 22px; }
  .capability-list { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 46px; }
  .capability-list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .capability-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .capability-index { margin-bottom: 20px; }
  .nova-showcase { grid-template-columns: 1fr 1.15fr; gap: 30px; }
  .nova-copy h2 { font-size: 47px; }
  .nova-actions { gap: 3px 18px; }
  .nova-visual { transform: none; padding: 7px 7px 0; }
  .nova-description { font-size: 14px; }
  .recoil-showcase { grid-template-columns: 1fr 1.15fr; gap: 30px; }
  .recoil-copy h2 { font-size: 47px; }
  .hud-frame { padding: 7px 7px 0; }
  .recoil-description { font-size: 14px; }
  .questions-layout { grid-template-columns: 1fr 1.25fr; gap: 35px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 85px; }
  .wrap { width: calc(100% - 40px); }
  .nav { min-height: 70px; gap: 12px; }
  .brand { font-size: 17px; gap: 8px; }
  .brand img { width: 31px; height: 31px; }
  .brand-apps { display: none; }
  .nav-links { gap: 21px; font-size: 12px; }
  .nav-links > a:first-child { display: none; }
  .nav-links .nav-cta { gap: 12px; padding-inline: 12px; font-size: 12px; }
  .nav-cta .icon { width: 16px; height: 16px; }
  .hero-inner { padding-block: 51px 25px; gap: 37px; }
  .hero-intro { display: block; }
  h1 { max-width: 9ch; font-size: clamp(52px, 11.8vw, 74px); line-height: 1.01; }
  .hero-side > p { max-width: 44ch; margin: 24px 0; font-size: 15px; line-height: 1.75; }
  .hero-actions { gap: 12px 20px; }
  .button { min-height: 52px; padding-inline: 19px; gap: 15px; }
  .hero-secondary { font-size: 12px; gap: 7px; }
  .hero-secondary .icon { width: 16px; }
  .hero-side .hero-platforms { margin-top: 14px; font-size: 12px; }
  .product-theater { width: 100%; }
  .terminal-stage { padding: 10px 9px 0; }
  .preview-brand { margin-bottom: 10px; font-size: 13px; }
  .preview-brand img { width: 24px; height: 24px; }
  .preview-controls { gap: 3px; margin-bottom: 10px; }
  .preview-choice { font-size: 12px; }
  .preview-caption { gap: 14px; min-height: 82px; }
  .preview-caption p { font-size: 12px; }
  .preview-caption > a { font-size: 12px; }
  .product-footnote { margin-top: 17px; font-size: 12px; }
  .signal-art { width: 180%; left: -55%; opacity: .18; }
  .hero-bottom { display: block; padding-block: 21px 26px; }
  .hero-bottom p { display: none; }
  .hero-bottom > div { justify-content: flex-start; gap: 12px 20px; }
  .hero-bottom span { gap: 6px; font-size: 12px; }
  .offer-line { padding-block: 27px; gap: 17px; }
  .offer-copy { grid-column: 1 / -1; }
  .offer-copy strong { font-size: 22px; }
  .offer-copy p { margin-top: 5px; font-size: 12px; }
  .offer-code { grid-column: 1; width: fit-content; gap: 30px; font-size: 24px; padding-inline: 15px; }
  .offer-terms { grid-column: 1 / -1; font-size: 12px; }
  .section-pad { padding-block: 65px; }
  .download-layout, .nova-showcase, .recoil-showcase, .questions-layout { grid-template-columns: 1fr; gap: 31px; }
  .inside-head h2 { font-size: 49px; }
  .inside-head > p { font-size: 14px; }
  .capability-list { grid-template-columns: 1fr; margin-top: 34px; }
  .capability-list li, .capability-list li + li { padding: 22px 0 20px; border-left: 0; }
  .capability-list li + li { border-top: 1px solid var(--line); }
  .capability-index { margin-bottom: 14px; }
  .capability-list h3 { font-size: 21px; margin-bottom: 8px; }
  .inside-note { margin-top: 18px; }
  .section-intro h2 { font-size: 49px; }
  .section-intro > p { max-width: 48ch; margin-top: 20px; font-size: 14px; }
  .setup-links { gap: 0 21px; margin-top: 14px; }
  .platform-card { min-height: 107px; padding-block: 19px; }
  .platform-card strong { font-size: 28px; }
  .platform-card small { font-size: 12px; }
  .download-caution { font-size: 12px; }
  .mobile-share { display: block; margin-top: 17px; padding-top: 20px; border-top: 1px solid var(--line); }
  .mobile-share p { margin: 0 0 13px; color: var(--muted); font-size: 12px; line-height: 1.7; }
  .mobile-share button { display: none; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 6px; background: transparent; color: var(--text); font-size: 12px; }
  html.js-ready .mobile-share button { display: inline-flex; align-items: center; gap: 14px; }
  .mobile-share button:hover { background: #dce9fa; }
  .mobile-share small { display: block; margin-top: 9px; color: var(--dim); font-size: 12px; overflow-wrap: anywhere; }
  .mobile-share #share-status { margin-top: 10px; color: var(--text); }
  .mobile-share #share-status:empty { display: none; }
  .nova-copy h2 { font-size: 52px; }
  .nova-description { max-width: 43ch; margin-block: 21px; }
  .nova-actions { gap: 10px 22px; }
  .nova-note { max-width: 49ch; margin-top: 17px; }
  .nova-visual { margin-top: 5px; }
  .recoil-copy h2 { font-size: 52px; }
  .recoil-actions .button { width: 100%; justify-content: space-between; }
  .hud-frame::before, .hud-frame::after { width: 20px; height: 20px; }
  .nova-section::before { left: 90%; width: 650px; }
  .nova-section::after { left: 90%; width: 810px; }
  .questions-layout .section-intro h2 { font-size: 41px; }
  .questions-layout .section-intro p { margin-top: 12px; }
  .faq summary { min-height: 65px; font-size: 13px; }
  .faq details p { margin-right: 0; }
  .footer-signoff { align-items: flex-start; flex-direction: column; gap: 12px; padding-block: 35px; }
  .footer-signoff p { font-size: 42px; }
  .footer-signoff a { font-size: 13px; }
  .footer-signoff .icon { width: 23px; height: 23px; }
  .footer-inner { display: flex; flex-wrap: wrap; gap: 16px 22px; }
  .footer-links { margin-left: auto; gap: 8px 15px; font-size: 12px; }
  .footer small { width: 100%; }
  .image-viewer { width: calc(100% - 16px); max-width: calc(100% - 16px); height: calc(100vh - 24px); height: calc(100dvh - 24px); max-height: calc(100% - 24px); border-radius: 9px; }
  .viewer-toolbar { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .viewer-toolbar h2 { flex-basis: 100%; font-size: 16px; }
  .viewer-actions { width: 100%; justify-content: space-between; }
  .viewer-canvas { padding: 6px; }
  .viewer-footer { gap: 13px; min-height: 88px; padding: 9px 12px; }
  .viewer-footer p, .viewer-footer a { font-size: 12px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .nav-links { gap: 15px; }
  /* Keep the call to action on one line; Recoil stays reachable from the footer. */
  .nav-links > a[href="/recoil/"] { display: none; }
  .hero-actions { gap: 6px 16px; }
  .hero-secondary { min-height: 40px; }
  .hero-actions .button { width: 100%; justify-content: space-between; }
  .offer-line { grid-template-columns: 1fr; gap: 14px; }
  .offer-code { justify-content: space-between; }
  .offer-terms { grid-column: 1; }
  .footer-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html.motion-ready [data-reveal] { transform: none; }
  .terminal-stage { transform: none; }
  .terminal-stage, .signal-paths path { animation: none !important; }
}
@media (forced-colors: active) {
  html { scrollbar-color: auto; }
  .terminal-stage, .offer-code, .button { border: 1px solid CanvasText; }
  .preview-choice[aria-pressed="true"] { border: 1px solid Highlight; }
  .signal-art, .nova-section::before, .nova-section::after { display: none; }
  .platform-tag { border-color: CanvasText; }
}
@media print {
  :root { color-scheme: light; }
  *, *::before, *::after { color: #111 !important; background: transparent !important; box-shadow: none !important; }
  .site-header, .mobile-share, .preview-controls, .image-viewer, .signal-art { display: none !important; }
  .terminal-stage, .nova-visual, html.motion-ready [data-reveal] { transform: none !important; }
  a { text-decoration: underline; }
  .terminal-stage, .platform-card { break-inside: avoid; }
}

/* ROM Recoil page (recoil/index.html): the homepage system in the Recoil chapter's HUD palette. */
.recoil-page { --azure: #3b9eff; }
.nav-links a[aria-current="page"] { color: var(--accent); }
.rc-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 74% 42%, #1d63c459, transparent 60%), #060c19; }
.rc-hero-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); align-items: center; gap: 60px; min-height: 690px; padding-block: 92px 84px; }
.rc-hero h1 { max-width: 12ch; font-size: clamp(54px, 5.6vw, 82px); }
.rc-hero-copy > .rc-lede { max-width: 39ch; margin: 30px 0 28px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.rc-hero-copy strong { color: var(--text); font-weight: 600; }
.rc-hero .recoil-eyebrow { margin-bottom: 30px; }
.rc-hero .recoil-meta { margin-top: 18px; }
.rc-visual { position: relative; min-width: 0; }
.rc-visual .hud-frame { animation: enter-up 1.1s var(--ease-out) both; }
.reticle { position: absolute; z-index: -1; top: 50%; left: 50%; width: 132%; aspect-ratio: 1; color: var(--azure); opacity: .3; transform: translate(-50%, -50%); pointer-events: none; }
.reticle :is(circle, path) { stroke-dasharray: 1; animation: signal-draw 4.4s var(--ease-out) both; }
.reticle .reticle-fine { opacity: .55; }
.rc-how { background: linear-gradient(180deg, #0b1630, var(--bg) 75%); }
.rc-how .capability-index { color: var(--azure); }

/* Tuning preview: the app's three controls and its pull formula, shown only once the script runs. */
.rc-tuner { position: relative; border-block: 1px solid var(--line); background: #060c19; }
.rc-tuner-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(40px, 8vw, 120px); }
.rc-tuner .rc-formula { max-width: 46ch; margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--azure); color: var(--dim); font-size: 12px; line-height: 1.75; }
.rc-panel { display: grid; grid-template-columns: 220px minmax(0, 1fr); align-items: center; gap: 34px; padding: 28px; border: 1px solid #91c5ff2e; border-radius: 12px; background: linear-gradient(160deg, #10203a, #0a1426); }
.rc-scope { width: 100%; aspect-ratio: 1; color: var(--azure); overflow: visible; }
.rc-scope .scope-ring { stroke: #91c5ff40; }
.rc-scope .scope-axis { stroke: #91c5ff26; }
.rc-scope .scope-vector { stroke: var(--azure); stroke-width: 3; stroke-linecap: round; }
.rc-scope .scope-trail { fill: #91c5ff; }
.rc-scope .scope-center { fill: #f2f6ff; }
.rc-controls { display: grid; gap: 14px; min-width: 0; }
.rc-control label { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 2px; font-size: 13px; font-weight: 600; }
.rc-control output { color: var(--text); font: 500 17px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.rc-range { --from: 0%; --to: 50%; width: 100%; height: 30px; margin: 0; background: transparent; cursor: pointer; -webkit-appearance: none; appearance: none; }
.rc-range::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #1d2c46 var(--from), var(--azure) var(--from) var(--to), #1d2c46 var(--to)); }
.rc-range::-moz-range-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #1d2c46 var(--from), var(--azure) var(--from) var(--to), #1d2c46 var(--to)); }
.rc-range::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -7px; border: 4px solid var(--azure); border-radius: 50%; background: #f2f6ff; box-shadow: 0 0 0 6px #3b9eff24; -webkit-appearance: none; appearance: none; }
.rc-range::-moz-range-thumb { width: 10px; height: 10px; border: 4px solid var(--azure); border-radius: 50%; background: #f2f6ff; box-shadow: 0 0 0 6px #3b9eff24; }
.rc-range:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.rc-readout { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 0; padding-top: 20px; border-top: 1px solid var(--line); }
.rc-readout strong { font: 500 30px/1.1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.rc-readout span { color: var(--muted); font-size: 13px; }

/* Screens */
.rc-screens-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 56px; }
.rc-screens-head h2 { margin: 0; font-size: clamp(44px, 4.6vw, 66px); font-weight: 500; line-height: 1.06; letter-spacing: -.04em; }
.rc-screens-head p { max-width: 40ch; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.8; }
.rc-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }

/* Download (paper chapter, like Polybot's) */
.rc-steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line-strong); }
.rc-steps li { display: flex; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--line); color: var(--text); font-size: 14px; line-height: 1.6; counter-increment: step; }
.rc-steps li::before { content: counter(step, decimal-leading-zero); flex: none; color: var(--blue); font: 600 12px/1 var(--font-data); letter-spacing: .08em; }
.rc-steps code, .rc-faq code { font: .92em var(--font-data); }
.download-body { min-width: 0; } /* lets a long command scroll inside its box instead of widening the page */
.download-details pre { margin: 6px 0 12px; padding: 16px 18px; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: #152540; font: 12px/1.8 var(--font-data); }
.download-details .rc-verify-note { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.rc-phone-note { display: none; }

@media (max-width: 1150px) {
  .rc-hero-inner { gap: 34px; min-height: 620px; padding-block: 76px; }
  .rc-hero h1 { font-size: 58px; }
  .rc-panel { grid-template-columns: 180px minmax(0, 1fr); gap: 26px; padding: 22px; }
}
@media (max-width: 900px) {
  .rc-hero-inner { grid-template-columns: 1fr; gap: 48px; padding-block: 64px 54px; }
  .rc-hero-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 35px; align-items: end; }
  .rc-hero-copy > .recoil-eyebrow, .rc-hero-copy > h1 { grid-column: 1; }
  .rc-hero-copy > .rc-lede { grid-column: 2; grid-row: 2; margin: 0 0 4px; font-size: 15px; }
  .rc-hero-copy > .hero-actions, .rc-hero-copy > .recoil-meta { grid-column: 1 / -1; }
  .rc-hero-copy > .hero-actions { margin-top: 30px; }
  .rc-visual { width: 92%; margin-inline: auto; }
  .reticle { width: 115%; }
  .rc-tuner-layout { grid-template-columns: 1fr; gap: 36px; }
  .rc-screens-head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .rc-gallery { gap: 26px; }
}
@media (max-width: 650px) {
  .rc-hero-inner { padding-block: 48px 40px; gap: 40px; }
  .rc-hero h1 { font-size: clamp(42px, 12.4vw, 60px); }
  .rc-hero-copy { display: block; }
  .rc-hero-copy > .rc-lede { margin: 24px 0; }
  .rc-hero-copy > .hero-actions { margin-top: 0; }
  .rc-hero .hero-actions .button { width: 100%; justify-content: space-between; }
  .rc-visual { width: 100%; }
  .reticle { width: 150%; opacity: .2; }
  .rc-panel { grid-template-columns: 1fr; gap: 22px; padding: 18px; }
  .rc-scope-wrap { width: min(200px, 70%); margin-inline: auto; }
  .rc-readout strong { font-size: 25px; }
  .rc-screens-head h2 { font-size: 49px; }
  .rc-gallery { grid-template-columns: 1fr; gap: 30px; }
  .rc-phone-note { display: block; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.7; }
}
@media (prefers-reduced-motion: reduce) {
  .rc-visual .hud-frame, .reticle :is(circle, path) { animation: none !important; }
}
@media (forced-colors: active) {
  .recoil-section::before, .rc-hero::before, .reticle, .hud-frame::before, .hud-frame::after { display: none; }
  .hud-frame, .rc-panel { border: 1px solid CanvasText; }
}
@media print {
  .rc-tuner, .reticle { display: none !important; }
}

/* ------------------------------------------------------------------------------------------------
   Motion and finish (assets/motion.js drives the moving parts). The page reads and works without any
   of it; reduced-motion visitors get none of it.
   ------------------------------------------------------------------------------------------------ */

/* Page-to-page cross-fade where the browser supports it; the header stays put. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .26s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .46s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-8px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

/* Header: glass once the page scrolls, with a reading-progress line along its edge. */
.site-header { transition: background-color .35s, backdrop-filter .35s, -webkit-backdrop-filter .35s; }
.site-header.is-scrolled { background: #080f1ecc; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.site-header::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 100%; height: 2px; background: linear-gradient(90deg, #3b9eff, #91c5ff 60%, #63f0ff); transform: scaleX(var(--progress, 0)); transform-origin: 0 50%; pointer-events: none; }

/* Numbered product chapters: 01 Polybot, 02 Nova, 03 Recoil. */
.chapter-label { display: inline-flex; align-items: center; gap: 11px; margin: 0 0 26px; color: var(--muted); font: 600 12px/1 var(--font-data); letter-spacing: .14em; text-transform: uppercase; }
.chapter-label span { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); }
.chapter-label span::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.chapter-label img { border-radius: 6px; }
.inline-link { color: var(--accent); text-decoration: underline; text-underline-offset: 4px; }

/* Facts strip (homepage hero and the Recoil page). */
.spec-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding: 0; border-top: 1px solid var(--line); }
.spec-strip > div { padding: 22px 20px 26px 0; }
.spec-strip > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.spec-strip dt { margin: 0 0 9px; color: var(--azure, #3b9eff); font: 600 11px/1 var(--font-data); letter-spacing: .1em; text-transform: uppercase; }
.spec-strip dd { margin: 0; font: 500 19px/1.3 var(--font-display); letter-spacing: -.02em; }
.hero .spec-strip { --azure: #78b8ff; }
.hero h1 { max-width: 12ch; font-size: clamp(54px, 5.5vw, 82px); }

/* Footer: the three apps as large links. */
.footer-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-products a { position: relative; display: flex; align-items: baseline; gap: 16px; padding: 38px 0 34px; color: var(--text); font: 500 clamp(36px, 5.6vw, 82px)/1 var(--font-display); letter-spacing: -.045em; transition: color .3s; }
.footer-products a + a { padding-left: 28px; border-left: 1px solid var(--line); }
.footer-products span { color: var(--accent); font: 600 12px/1 var(--font-data); letter-spacing: .12em; transform: translateY(-1.4em); }
.footer-products a::after { content: "↗"; margin-left: auto; padding-right: 6px; font-size: .38em; opacity: 0; transform: translate(-8px, 8px); transition: opacity .3s, transform .45s var(--ease-out); }
.footer-products a:hover { color: var(--accent); }
.footer-products a:hover::after, .footer-products a:focus-visible::after { opacity: 1; transform: none; }

/* Headings that rise in word by word (split by motion.js; untouched without it). */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word > span { display: inline-block; transform: translateY(104%); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--i, 0) * 60ms); }
.is-revealed .split-word > span { transform: none; }

/* Living backgrounds: canvases drawn by motion.js; the static art stays as the no-script version. */
.field-canvas { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1.4s; }
.field-canvas.is-live { opacity: 1; }
.hero.has-field .signal-art { opacity: 0; transition: opacity .8s; }
.hud-canvas { position: absolute; z-index: -1; top: 50%; left: 50%; width: 136%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; transition: opacity 1.2s; }
.hud-canvas.is-live { opacity: 1; }
.rc-visual.has-field .reticle { opacity: 0; transition: opacity .6s; }

/* Pointer depth on product frames: tilt plus a glare that follows the cursor. */
.product-theater, .nova-showcase, .recoil-showcase, .rc-visual, .rc-gallery { perspective: 1400px; }
.tilt { transition: rotate .7s var(--ease-out); }
.tilt.is-tilting { transition: rotate .14s linear; }
.glare { position: absolute; z-index: 3; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(560px circle at var(--gx, 50%) var(--gy, 0%), #ffffff24, transparent 46%); mix-blend-mode: screen; }
.tilt.is-tilting .glare { opacity: 1; }

/* A bright arc that runs around the Recoil hero frame. */
@property --sweep { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.frame-sweep { position: absolute; z-index: 2; inset: -1px; padding: 1.5px; border-radius: 13px; pointer-events: none; background: conic-gradient(from var(--sweep), transparent 0 70%, #3b9eff 84%, #8ff4ff 92%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: frame-sweep 7s linear infinite; }
@keyframes frame-sweep { to { --sweep: 360deg; } }

/* Cursor spotlight on cards and rows. */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .45s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), #91c5ff17, transparent 62%); }
.download-section .spot::before { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), #23559c17, transparent 62%); }
.spot:hover::before { opacity: 1; }

/* Buttons lean toward the pointer. */
.button, .nav-links .nav-cta { transition: transform .25s var(--ease-out), background .25s var(--ease-out), translate .5s var(--ease-out); }

/* Recoil tuning preview: hold the scope to watch the pull. */
.scope-button { display: block; width: 100%; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: crosshair; touch-action: none; -webkit-tap-highlight-color: transparent; }
.scope-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
.scope-button .scope-ring:first-child { transition: stroke .3s; }
.scope-button.is-holding .scope-ring:first-child { stroke: #63f0ff; }
.rc-scope .scope-dot { fill: #8ff4ff; }
.rc-scope .scope-path { stroke: #63f0ff; stroke-width: 2; stroke-linecap: round; opacity: .6; }
.scope-hint { margin: 10px 0 0; color: var(--dim); font: 600 10.5px/1 var(--font-data); letter-spacing: .1em; text-align: center; text-transform: uppercase; }

@media (max-width: 900px) {
  .spec-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spec-strip > div:nth-child(4) { padding-left: 0; border-left: 0; }
  .spec-strip > div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .hero h1 { max-width: 11ch; font-size: clamp(48px, 7vw, 64px); }
}
@media (max-width: 650px) {
  .spec-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spec-strip > div, .spec-strip > div + div { padding: 18px 14px 20px 0; border-left: 0; border-top: 1px solid var(--line); }
  .spec-strip > div:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); }
  .spec-strip > div:last-child { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
  .spec-strip dd { font-size: 16px; }
  .hero h1 { max-width: 11ch; font-size: clamp(42px, 12vw, 58px); }
  .footer-products { grid-template-columns: 1fr; }
  .footer-products a, .footer-products a + a { padding: 22px 0; padding-left: 0; border-left: 0; font-size: 44px; }
  .footer-products a + a { border-top: 1px solid var(--line); }
  .footer-products a::after { opacity: .7; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .split-word > span { transform: none !important; transition: none; }
  .frame-sweep, .field-canvas, .hud-canvas, .glare { display: none; }
}
@media (forced-colors: active) {
  .frame-sweep, .field-canvas, .hud-canvas, .glare, .site-header::after { display: none; }
}
@media print {
  .frame-sweep, .field-canvas, .hud-canvas, .glare { display: none !important; }
}

/* Read more: short descriptions open into the details (native <details>, works without scripts). */
.read-more { margin-top: 16px; }
.read-more > summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--accent); cursor: pointer; list-style: none; font-size: 13px; font-weight: 650; }
.read-more > summary::-webkit-details-marker { display: none; }
.read-more > summary::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--ease-out); }
.read-more[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.read-more > summary:hover { text-decoration: underline; text-underline-offset: 5px; }
.read-more .rm-close, .read-more[open] .rm-open { display: none; }
.read-more[open] .rm-close { display: inline; }
.read-more-body { padding-top: 4px; }
.read-more-body > p { max-width: 46ch; margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.read-more-wide { margin-top: 30px; }
.read-more-wide .capability-list { margin-top: 18px; }
.read-more-wide .inside-note { margin-top: 26px; }
.nova-section .read-more > summary, .recoil-section .read-more > summary { color: var(--text); }
@supports (interpolate-size: allow-keywords) {
  .read-more { interpolate-size: allow-keywords; }
  .read-more::details-content { height: 0; overflow: clip; transition: height .5s var(--ease-out), content-visibility .5s allow-discrete; }
  .read-more[open]::details-content { height: auto; }
}
.terminal-preview img { aspect-ratio: 8 / 5; }
.nova-visual img, .hud-frame img { aspect-ratio: 8 / 5; object-fit: cover; }

/* Document pages (verification, 404) reuse the homepage header, footer and tokens. */
.doc { max-width: 800px; padding-block: 76px 100px; }
.doc h1 { max-width: none; margin: 0 0 20px; font-size: clamp(38px, 6vw, 64px); line-height: 1.05; font-weight: 650; letter-spacing: -.04em; }
.doc .eyebrow { margin: 0 0 13px; color: var(--accent); font-size: 12px; font-weight: 650; letter-spacing: .08em; }
.doc-intro { max-width: 60ch; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.doc-toc { display: flex; flex-wrap: wrap; gap: 2px 20px; margin-top: 30px; padding: 8px 0; border-block: 1px solid var(--line); font-size: 12px; font-weight: 650; }
.doc-toc a { display: inline-flex; align-items: center; min-height: 40px; color: var(--blue); }
.doc-toc a:hover { color: var(--accent); }
.doc section { margin-top: 54px; }
.doc h2 { margin: 0 0 14px; font-size: clamp(24px, 3vw, 31px); line-height: 1.2; font-weight: 650; letter-spacing: -.035em; }
.doc p, .doc li { color: var(--muted); font-size: 15px; line-height: 1.8; }
.doc p { margin: 0 0 14px; }
.doc strong { color: var(--text); }
.doc p a, .doc li a { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.doc p a:hover, .doc li a:hover { color: var(--accent); }
.doc pre { margin: 0 0 16px; padding: 18px 20px; overflow-x: auto; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--surface); color: var(--text); font: 12.5px/1.8 var(--font-data); }
.doc code { font-family: var(--font-data); font-size: .92em; }
.doc-note { padding: 2px 0 2px 18px; border-left: 3px solid var(--accent); }
.doc-updated { margin-top: 52px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--dim); font: 600 11px/1.5 var(--font-data); letter-spacing: .08em; text-transform: uppercase; }
.doc h3 { margin: 24px 0 10px; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }
.doc ul { margin: 0 0 14px; padding-left: 20px; }
.doc li { margin-bottom: 6px; }
.version-index { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 22px; }
.version-index a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); font: 600 11px/1 var(--font-data); }
.version-index a:hover { border-color: var(--blue); color: var(--text); }
.release { padding-top: 34px; border-top: 1px solid var(--line); }
.release h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.release-current { padding: 5px 8px; border: 1px solid #91c5ff66; border-radius: 6px; color: var(--accent); font: 700 10px/1 var(--font-data); letter-spacing: .12em; }
.release-files { color: var(--dim); font-size: 13px; }
.release-files a { margin-left: 10px; }
.notfound { padding-block: 110px 130px; }
.notfound .hero-actions { margin-top: 32px; }

@media (max-width: 600px) {
  .doc { padding-block: 48px 70px; }
  .doc p, .doc li { font-size: 14px; }
  .doc pre { padding: 14px; font-size: 11.5px; }
  .notfound { padding-block: 70px 90px; }
}

@media print {
  .doc pre { border: 1px solid #999; white-space: pre-wrap; }
  .doc-toc { display: none; }
}
