:root {
  color-scheme: dark;
  --bg: #071321;
  --panel: #0d1c2f;
  --border: #283b52;
  --text: #f4f7ff;
  --muted: #afbed1;
  --blue: #82b7ff;
  --action: #a4cdff;
  --cash: #78aeff;
  --after: #5de0bf;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-family: Geist, Inter, "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--text); background: var(--bg); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--after); outline-offset: 4px; }
:target { scroll-margin-top: 26px; }
[hidden] { display: none !important; }
.wrap { width: min(1180px, calc(100% - 88px)); margin-inline: auto; }
.skip { position: absolute; top: 12px; left: 12px; z-index: 3; padding: 12px; background: var(--panel); transform: translateY(-150%); }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header { position: relative; z-index: 1; border-bottom: 1px solid var(--border); }
.nav { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; font-size: 25px; line-height: 1; font-weight: 760; letter-spacing: -.06em; white-space: nowrap; }
.brand img { margin-right: 9px; }
.brand span { color: var(--action); }
nav { display: flex; gap: 32px; color: var(--muted); font-size: 14px; }
nav a:hover, .text-link:hover, footer a:hover { color: #fff; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 13px; padding: 10px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 720; line-height: 1.25; transition: background .18s ease, border-color .18s ease; }
.button span { font-size: 17px; line-height: 1; }
.arrow { position: relative; width: 13px; height: 13px; flex: 0 0 13px; }
.arrow::before { content: ""; position: absolute; top: 2px; right: 2px; width: 7px; height: 7px; border-top: 1.5px solid; border-right: 1.5px solid; }
.arrow::after { content: ""; position: absolute; top: 6px; left: 1px; width: 11px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.button.outline { border-color: #405874; background: transparent; color: var(--text); }
.button.outline:hover { border-color: var(--action); background: #162b43; }
.button.primary { background: var(--action); color: #081a30; }
.button.primary:hover { background: #d0e6ff; }
.hero { overflow: hidden; position: relative; isolation: isolate; background: radial-gradient(ellipse at 78% 32%, #102e52 0%, transparent 57%), var(--bg); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0 0 0 36%; background-image: linear-gradient(#80b4ff10 1px, transparent 1px), linear-gradient(90deg, #80b4ff10 1px, transparent 1px); background-size: 38px 38px; mask-image: radial-gradient(ellipse at 60% 38%, black, transparent 78%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 74px); align-items: center; padding-block: clamp(62px, 7vw, 108px); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.045em; }
.kicker { color: var(--blue); font: 600 11px/1.5 var(--mono); letter-spacing: .115em; }
.kicker span { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px #82b7ff85; margin: 0 7px 1px 0; }
h1 { font-size: clamp(44px, 5.2vw, 75px); font-weight: 720; line-height: .99; margin-block: 20px 24px; }
h1 em { display: block; color: var(--blue); font-style: normal; }
.audience-line { max-width: 39ch; margin-bottom: 10px; color: var(--text); font-size: 17px; font-weight: 680; }
.intro { max-width: 49ch; font-size: 17px; color: var(--muted); }
.hero-links { display: flex; align-items: center; flex-wrap: wrap; gap: 17px 21px; margin-top: 27px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--action); font-size: 14px; font-weight: 690; }
.hero-note { margin-top: 15px; color: var(--muted); font-size: 12px; }
.terminal { min-width: 0; border: 1px solid #385576; border-radius: 15px; background: linear-gradient(145deg, #10243c, #0a1829 68%); box-shadow: 0 20px 65px #0006, inset 0 1px #ffffff12; }
.terminal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 23px 24px 18px; }
.terminal h2 { margin-top: 5px; font-size: 24px; }
.example { border: 1px solid #3a536f; color: #c1d1e5; border-radius: 20px; padding: 4px 8px; font: 11px/1.3 var(--mono); }
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 24px; padding: 14px 0 16px; border-block: 1px solid var(--border); }
.timeline strong { display: block; margin-top: 5px; color: #e1eaf9; font-size: 12px; line-height: 1.3; }
.day { display: flex; align-items: center; gap: 7px; color: var(--muted); font: 11px/1.3 var(--mono); }
.day i, .legend i { width: 7px; height: 7px; flex: 0 0 7px; background: var(--cash); border-radius: 50%; }
.timeline div:nth-child(2) .day { color: var(--after); }
.timeline div:nth-child(2) i { background: var(--after); box-shadow: 0 0 10px #5de0bf88; }
.timeline div:nth-child(3) i { background: #6e819a; }
.model { padding: 16px 24px 20px; }
.range-head, .range-ends, .bar-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.range-head { font-size: 13px; font-weight: 650; }
.range-head output { color: var(--after); font: 650 17px/1.3 var(--mono); white-space: nowrap; }
input[type="range"] { display: block; width: 100%; height: 26px; margin: 4px 0 0; accent-color: var(--after); cursor: ew-resize; }
.range-ends { color: var(--muted); font: 10px/1.3 var(--mono); }
.bars { display: grid; gap: 7px; margin-top: 16px; }
.bar-label { color: var(--muted); font-size: 12px; }
.bar-label b { color: var(--text); font: 650 11px/1.2 var(--mono); white-space: nowrap; }
.bar { height: 10px; border-radius: 3px; overflow: hidden; background: var(--after); }
.bar i { display: block; width: 100%; height: 100%; background: var(--cash); }
.bar.mix i { width: 60%; transition: width .15s ease; }
.bar + .bar-label { margin-top: 4px; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 12px; color: #c1cee0; font-size: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend span:last-child i { background: var(--after); }
.model-note { margin-top: 13px; color: var(--muted); font-size: 11px; }
.brief-strip { background: #0a1a2d; border-block: 1px solid var(--border); }
.strip-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.strip-grid > div { padding: 23px 24px; }
.strip-grid > div:first-child { padding-left: 0; }
.strip-grid > div + div { border-left: 1px solid var(--border); }
.strip-grid dt { margin-bottom: 5px; color: var(--blue); font: 600 11px/1.4 var(--mono); letter-spacing: .09em; }
.strip-grid dd { margin: 0; color: var(--muted); font-size: 13px; }
.strip-grid strong { display: block; margin-bottom: 4px; color: var(--text); font-size: 15px; }
.section { padding-block: clamp(55px, 7vw, 102px); }
.section-heading { max-width: 670px; }
.section h2, .reading h2 { margin-block: 10px 14px; font-size: clamp(34px, 4.3vw, 57px); }
.section-heading > p:last-child, .briefing-copy > p:not(.kicker), .story > p:not(.kicker), .pilot > p:not(.kicker) { color: var(--muted); }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 30px; }
.method-grid article { padding: 23px; background: var(--panel); border: 1px solid var(--border); border-radius: 10px; }
.symbol { color: var(--blue); display: grid; place-items: center; width: 36px; height: 36px; background: #163454; border: 1px solid #2b5076; border-radius: 7px; font-size: 20px; }
.method-grid h3 { margin: 17px 0 9px; font-size: 20px; }
.method-grid p { color: var(--muted); font-size: 14px; }
.reading { background: #0a192b; border-block: 1px solid var(--border); }
.reading-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 30px; padding-block: 38px; }
.story { padding: 27px 32px; border: 1px solid #2f5276; border-radius: 11px; background: radial-gradient(ellipse at 92% 0%, #244c76, transparent 73%), #0d2138; }
.story > p:not(.kicker) { max-width: 44ch; }
.story .text-link, .pilot .text-link { margin-top: 15px; }
.pilot { padding: 22px; }
.pilot h3 { margin-block: 9px 12px; font-size: 28px; }
.audience { padding-bottom: 0; }
.audience h3 { margin-top: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; margin-top: 30px; }
.service-card { padding: clamp(20px, 3vw, 29px); border: 1px solid var(--border); border-radius: 10px; background: var(--panel); }
.service-card h3 { font-size: 26px; margin-bottom: 12px; }
.service-card p, .service-card li { color: var(--muted); font-size: 14px; }
.service-card ul { margin: 15px 0 0; padding-left: 19px; }
.service-card li + li { margin-top: 5px; }
.service-card li::marker { color: var(--blue); }
#services + .briefing { padding-top: 0; }
.briefing { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: clamp(24px, 6vw, 85px); }
.briefing-copy ul { list-style: none; padding: 0; margin: 24px 0 0; }
.briefing-copy li { margin-bottom: 9px; color: #d8e5f6; }
.briefing-copy li::before { content: "✓"; color: var(--after); margin-right: 9px; }
.request-card { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--border); background: var(--panel); border-radius: 11px; }
.request-card h3 { font-size: 25px; }
.request-card p { margin-top: 7px; color: var(--muted); font-size: 13px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-block: 17px; }
.fields label { font-size: 13px; font-weight: 650; }
.fields .wide { grid-column: 1 / -1; }
.optional { font-weight: 400; color: var(--muted); }
.fields input, textarea { display: block; width: 100%; margin-top: 5px; padding: 9px; border: 1px solid #435a76; border-radius: 6px; background: #081626; color: var(--text); font-size: 16px; }
textarea { resize: vertical; }
#email-fallback { margin-top: 16px; }
#email-fallback a, noscript a { text-decoration: underline; color: var(--action); overflow-wrap: anywhere; }
#email-fallback .button { margin-top: 8px; }
#copy-status { font-size: 12px; margin-left: 7px; }
footer { border-top: 1px solid var(--border); background: #081523; padding: 25px 0; }
.footer-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; }
.footer-grid p, .footer-grid small, .footer-grid > div:nth-child(2) { color: var(--muted); font-size: 12px; }
.footer-grid > div:nth-child(2) { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 850px) {
  .wrap { width: min(670px, calc(100% - 48px)); }
  .hero-grid, .briefing { grid-template-columns: 1fr; }
  .hero-grid { gap: 38px; }
  h1 { max-width: 18ch; }
  .nav nav { display: none; }
}
@media (max-width: 590px) {
  .wrap { width: calc(100% - 32px); }
  .nav { min-height: 63px; gap: 10px; }
  .brand { font-size: 22px; }
  .brand img { width: 29px; height: 29px; }
  .nav .button { min-height: 40px; padding: 8px; font-size: 12px; gap: 5px; }
  .hero-grid { padding-block: 49px 37px; }
  h1 { font-size: clamp(36px, 10vw, 55px); }
  .intro { font-size: 16px; }
  .terminal-head { padding-inline: 15px; }
  .timeline { margin-inline: 15px; }
  .model { padding-inline: 15px; }
  .strip-grid { grid-template-columns: 1fr; }
  .strip-grid > div { padding: 14px 0; }
  .strip-grid > div + div { border-left: 0; border-top: 1px solid var(--border); }
  .method-grid, .reading-grid, .service-grid { grid-template-columns: 1fr; }
  .reading-grid { gap: 6px; padding-block: 24px; }
  .story, .pilot { padding: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

/* Original Token Clear lockup (supplied 2026-09-27), resized from /brand/lockup.png. */
.brand img.lockup { display: block; margin: 0; height: 42px; width: auto; border-radius: 4px; }
.brand img.lockup.small { height: 35px; }
.status-note { margin-top: 10px; padding-left: 10px; border-left: 2px solid var(--action); color: var(--muted); font-size: 13px; }
@media (max-width: 620px) {
  .brand img.lockup { height: 32px; width: auto; }
}

/* Sign-in link for existing users, beside the briefing button. */
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-actions .signin { color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.nav-actions .signin:hover { color: #fff; }
@media (max-width: 620px) { .nav-actions { gap: 10px; } .nav-actions .signin { font-size: 12px; } }
