:root {
  color-scheme: light dark;
  --bg: #F7FAFD; --surface: #FFFFFF; --surface-2: #EAF1F8; --text: #0E1B2E; --text-dim: #46566B; --border: #CBD6E2;
  --accent: #0A5BC4; --accent-ink: #FFFFFF; --accent-2: #6B3FD4; --good: #1B7F3B; --ok: #3F6F00; --warn: #8A5A00; --bad: #B3261E;
  --net-dim: #9FB2C8; --wash: #F1F6FB; --sky: #E3EEFB; --focus: #0A5BC4; --ctl-border: #5F7289;
  --shadow: 0 1px 2px rgba(14, 27, 46, .04), 0 10px 30px rgba(14, 27, 46, .06);
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 14px; --gut: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0A111F; --surface: #121C2E; --surface-2: #1A2840; --text: #E9F0FA; --text-dim: #A9B7CC; --border: #2A3A55;
    --accent: #6CB0FF; --accent-ink: #0A111F; --accent-2: #B79CFF; --good: #5BD98A; --ok: #B5DB5B; --warn: #F2B84B; --bad: #FF8A80;
    --net-dim: #4A5E7C; --wash: #0E1727; --sky: #11213D; --focus: #9DC4FF; --ctl-border: #7F93AD;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --bg: #0A111F; --surface: #121C2E; --surface-2: #1A2840; --text: #E9F0FA; --text-dim: #A9B7CC; --border: #2A3A55;
  --accent: #6CB0FF; --accent-ink: #0A111F; --accent-2: #B79CFF; --good: #5BD98A; --ok: #B5DB5B; --warn: #F2B84B; --bad: #FF8A80;
  --net-dim: #4A5E7C; --wash: #0E1727; --sky: #11213D; --focus: #9DC4FF; --ctl-border: #7F93AD;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.65 var(--font-sans); overflow-wrap: anywhere; }
img, svg, canvas { max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; } .center { text-align: center; }
.js-only { display: none; }
.js .js-only { display: revert; }
.js .posture-grid, .js .sv-grid { display: grid; }
.js .ns, .js .ns-note { display: none; }
.ns { padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.ns-note { margin: 0; padding: 12px var(--gut); background: var(--surface-2); text-align: center; }
.ns h3 { margin-top: 16px; font-size: 1.1rem; }
.ns ul { list-style: disc; padding-left: 24px; }

/* type */
h1 { font-size: clamp(2.5rem, 6vw, 3.5rem); line-height: 1.07; font-weight: 600; letter-spacing: -0.02em; max-width: 20ch; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.25rem); line-height: 1.17; font-weight: 600; letter-spacing: -0.01em; max-width: 24ch; }
h3 { font-size: 1.375rem; line-height: 1.36; font-weight: 600; }
.h3s { font-size: 1rem; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.kicker { font-size: .75rem; line-height: 1rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--text-dim); margin-bottom: 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lead { font-size: 1.1875rem; color: var(--text-dim); max-width: 60ch; margin-top: 16px; }
.hint, .disclaimer { font-size: .875rem; line-height: 1.45; color: var(--text-dim); }
.disclaimer { margin-top: 16px; }
.mono { font-family: var(--font-mono); font-size: .875rem; line-height: 1.6; }
.badge { display: inline-block; padding: 2px 8px; border: 1px solid var(--text-dim); border-radius: 999px; font-size: .75rem; letter-spacing: .04em; text-transform: none; font-weight: 600; color: var(--text); background: var(--surface); }
.section { padding: 88px 0; }
.section.alt { background: var(--wash); }
@media (min-width: 900px) { .section { padding: 128px 0; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--ctl-border); background: var(--surface); color: var(--text); font: 600 1rem/1.2 var(--font-sans); text-decoration: none; cursor: pointer; transition: background-color .15s ease-out, border-color .15s ease-out, transform .15s ease-out; }
.btn:hover:not(:disabled) { border-color: var(--accent); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn.small { min-height: 44px; padding: 8px 16px; font-size: .9375rem; }
.btn:disabled { cursor: not-allowed; background: var(--surface-2); color: var(--text-dim); border-style: dashed; border-color: var(--text-dim); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ctl-border); background: var(--surface); color: var(--text); font: 600 .9375rem/1.3 var(--font-sans); cursor: pointer; text-align: left; transition: background-color .15s, border-color .15s; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip:disabled { opacity: .55; cursor: not-allowed; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.col { flex-direction: column; align-items: stretch; margin-top: 12px; }
.seg { display: inline-flex; border: 1.5px solid var(--ctl-border); border-radius: 999px; overflow: hidden; background: var(--surface); }
.seg-btn { min-height: 44px; min-width: 44px; padding: 6px 12px; border: 0; background: transparent; color: var(--text); font: 600 .875rem/1 var(--font-sans); cursor: pointer; }
.seg-btn[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.seg-btn:focus-visible { outline-offset: -3px; }

/* header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); position: relative; z-index: 20; }
.hdr { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.125rem; color: var(--text); text-decoration: none; min-height: 44px; }
.mark { color: var(--accent); flex: none; }
.nav { order: 3; width: 100%; }
.nav ul { display: flex; flex-wrap: wrap; gap: 0 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 9px; color: var(--text); text-decoration: none; font-weight: 600; font-size: .9375rem; border-radius: 8px; }
.nav a:hover { color: var(--accent); background: var(--surface-2); }
.tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-left: auto; }
.sample-note { margin: 0; background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: .875rem; line-height: 1.4; padding: 8px 0; color: var(--text); }
.sample-note .wrap { display: block; }
@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; }
  .nav { order: 0; width: auto; }
  .hdr { flex-wrap: nowrap; }
}

/* hero */
.hero { background: linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%); position: relative; overflow: hidden; padding: 72px 0 56px; min-height: 560px; display: flex; align-items: center; isolation: isolate; }
@media (min-width: 900px) { .hero { padding: 112px 0 88px; min-height: 640px; } }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; touch-action: pan-y; }
.hero-inner { position: relative; }
.hero .kicker, .hero h1, .hero .lead, .hero .hint { text-shadow: 0 0 12px var(--bg), 0 0 4px var(--bg); }
.hero-ctrl { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.hero-ctrl .hint { max-width: 52ch; }

/* story */
.story-grid { margin-top: 40px; display: block; }
.steps { display: grid; gap: 40px; }
.step h3 { margin-bottom: 8px; } .step p { color: var(--text-dim); max-width: 46ch; }
.scene-static { margin-top: 16px; max-width: 420px; }
.story-visual, .scroll-hint { display: none; }
.scene { width: 100%; height: auto; display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.scene .dot { fill: var(--accent); }
.scene .flag { fill: none; stroke: var(--bad); stroke-width: 2; stroke-dasharray: 3 3; opacity: 0; }
.scene .box { fill: none; stroke: var(--text-dim); stroke-width: 1.5; stroke-dasharray: 5 4; opacity: 0; }
.scene .box-label { fill: var(--text); font: 600 13px var(--font-sans); opacity: 0; }
.scene .ring { fill: none; stroke: var(--net-dim); stroke-width: 1.5; opacity: 0; }
.scene .badge-g { opacity: 0; }
.scene .badge-c { fill: var(--accent); }
.scene .badge-t { fill: var(--accent-ink); font: 700 12px var(--font-sans); }
:root.story-live .story-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  :root.story-live .story-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  :root.story-live .steps { gap: 0; }
  :root.story-live .step { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; border-left: 4px solid transparent; padding-left: 20px; transition: border-color .4s ease-out; }
  :root.story-live .step.current { border-left-color: var(--accent); }
  :root.story-live .scene-static { display: none; }
  :root.story-live .story-visual { display: block; }
  :root.story-live .sticky { position: sticky; top: 96px; }
  :root.story-live .scroll-hint { display: block; margin-top: 16px; }
  :root.story-live .scene-live .n { transition: transform .5s ease-out, opacity .5s ease-out; }
  :root.story-live .scene-live .flag, :root.story-live .scene-live .box, :root.story-live .scene-live .box-label, :root.story-live .scene-live .ring, :root.story-live .scene-live .badge-g { transition: opacity .5s ease-out; }
}

/* cards / modules */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 28px; box-shadow: var(--shadow); }
.module { margin-top: 32px; }
.banner { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 8px; padding: 10px 16px; font-size: .9375rem; margin-bottom: 24px; }
.empty { padding: 32px; text-align: center; border: 1px dashed var(--text-dim); border-radius: var(--r); color: var(--text); }
[hidden] { display: none !important; }

/* explorer */
.lens-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.lens-label { font-weight: 600; }
.tile-groups { display: grid; gap: 24px; }
.tg-h { font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 8px; font-weight: 600; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 2px; }
.tile-v { font-size: 1.75rem; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; }
.tile-l { font-size: .875rem; color: var(--text-dim); line-height: 1.35; }
.ex-cols { display: grid; gap: 32px; margin-top: 32px; }
@media (min-width: 900px) { .ex-cols { grid-template-columns: 1.4fr 1fr; } }
.att-list { display: grid; gap: 12px; }
.att { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.att-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; }
.att-t { font-weight: 600; } .att-d { font-size: .9375rem; color: var(--text-dim); line-height: 1.5; }
.sev { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; background: var(--surface-2); border: 1.5px solid currentColor; }
.sev span { color: var(--text); }
.sev-high { color: var(--bad); } .sev-medium { color: var(--warn); } .sev-low { color: var(--text-dim); } .sev-info { color: var(--accent-2); }
.lens-tag { font-size: .8125rem; color: var(--text-dim); border: 1px solid var(--border); border-radius: 6px; padding: 0 8px; }
.ex-side { display: grid; gap: 16px; align-content: start; }
.ex-side .card { padding: 16px; }
#ex-trend, #ex-net { width: 100%; height: auto; display: block; }
.tline { stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.tdot { fill: var(--accent); } .axis { stroke: var(--text-dim); stroke-width: 1; }
.nl { stroke: var(--text-dim); stroke-width: 1.5; } .nl.off { opacity: .25; }
.nhub { fill: var(--surface-2); stroke: var(--text-dim); stroke-width: 1.5; } .nhub-t { fill: var(--text); font: 600 9px var(--font-sans); }
.nn circle { fill: var(--accent-2); } .nn.on circle { fill: var(--accent); }
.nn text { fill: var(--text); font: 600 11px var(--font-sans); }
.nn.off { opacity: .25; }

/* posture */
.posture-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .posture-grid { grid-template-columns: 260px 1fr 1fr; } .posture-grid > .disclaimer { grid-column: 1 / -1; } }
.ring-wrap { position: relative; width: 240px; max-width: 100%; margin: 0 auto; aspect-ratio: 1; }
.ring-svg { width: 100%; height: 100%; display: block; }
.ring-bg { fill: none; stroke: var(--surface); stroke-width: 14; }
.ring-fg { fill: none; stroke: var(--warn); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset .9s ease-out, stroke .3s; }
.ring-svg.band-0 .ring-fg { stroke: var(--bad); } .ring-svg.band-1 .ring-fg { stroke: var(--warn); } .ring-svg.band-2 .ring-fg { stroke: var(--ok); } .ring-svg.band-3 .ring-fg { stroke: var(--good); }
.ring-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ring-num { font-size: 3.25rem; line-height: 1; font-weight: 600; font-variant-numeric: tabular-nums; }
.ring-of { font-size: .875rem; color: var(--text-dim); }
.band { font-size: 1.25rem; margin-bottom: 16px; } .band-k { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); font-weight: 600; margin-right: 8px; }
.bars { display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; }
.bar-t { grid-column: 1 / -1; grid-row: 2; height: 10px; background: var(--surface); border: 1px solid var(--ctl-border); border-radius: 999px; overflow: hidden; }
.bar-f { display: block; height: 100%; width: var(--w, 0%); background: var(--accent); transition: width .6s ease-out; }
.bar-n { font-variant-numeric: tabular-nums; font-weight: 700; } .bar-l { font-size: .9375rem; }
fieldset.fixes, fieldset.scope { border: 1px solid var(--border); border-radius: var(--r); padding: 16px; margin: 0; background: var(--surface); min-width: 0; }
.fixes legend, .scope legend { font-weight: 600; padding: 0 8px; }
.check { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; min-height: 44px; cursor: pointer; font-size: .9375rem; line-height: 1.45; }
.check input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--accent); cursor: pointer; }

/* ask */
.chat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; display: grid; gap: 16px; }
.chat-log { display: grid; gap: 12px; max-height: 70vh; overflow-y: auto; padding: 4px; align-content: start; }
.chat-log:empty { display: none; }
.msg { max-width: 62ch; padding: 10px 14px; border-radius: 12px; background: var(--surface-2); }
.msg.user { justify-self: end; background: var(--accent); color: var(--accent-ink); }
.msg-who { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.thinking { display: inline-flex; align-items: center; gap: 10px; color: var(--text-dim); }
.dots i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--text-dim); margin-right: 3px; animation: pulse 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.evidence { display: flex; flex-wrap: wrap; gap: 8px; animation: fade .4s ease-out; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.ev { font-size: .8125rem; border: 1px solid var(--ctl-border); border-radius: 6px; padding: 2px 10px; background: var(--surface); }
.proposal, .gate { border: 1px solid var(--border); border-radius: 12px; padding: 16px; background: var(--surface); }
.h4s { font-size: 1.125rem; line-height: 1.4; margin: 0 0 4px; }
.proposal .kicker { margin-bottom: 4px; }
.risk { font-size: .9375rem; margin: 8px 0 12px; }
.gate { border: 2px solid var(--accent); }
.gate.closed { border-color: var(--border); border-width: 1px; }
.tracker { display: grid; gap: 6px; }
.st { display: grid; grid-template-columns: 24px auto 1fr auto; gap: 4px 8px; align-items: baseline; font-size: .875rem; padding: 6px 8px; border-radius: 8px; border: 1px solid var(--border); }
.st-ico { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--text-dim); align-self: center; display: inline-flex; align-items: center; justify-content: center; }
.st-name { font-weight: 600; } .st-desc { color: var(--text-dim); } .st-state { font-size: .75rem; font-weight: 600; }
.st.done .st-ico { background: var(--good); border-color: var(--good); } .st.done .st-ico::before { content: ""; width: 5px; height: 9px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.st.active { border-color: var(--warn); border-width: 2px; } .st.active .st-ico { border-color: var(--warn); animation: ring 1.2s ease-in-out infinite; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--warn) 35%, transparent); } }
.st.stopped .st-ico { border-style: dashed; }
.gate-done, .gate-result { font-weight: 600; margin: 0; }
.lbl { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"] { width: 100%; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--ctl-border); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; }
input[type="text"]:disabled { opacity: .6; }

/* savings */
.sv-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .sv-grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .9375rem; }
.field output { font-weight: 700; font-variant-numeric: tabular-nums; }
.field-in { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; }
input[type="range"] { flex: 1; min-width: 0; height: 44px; accent-color: var(--accent); cursor: pointer; margin: 0; }
.num-wrap { display: inline-flex; align-items: center; gap: 4px; flex: none; }
input[type="number"] { width: 104px; min-height: 44px; padding: 6px 10px; border: 1.5px solid var(--ctl-border); border-radius: 10px; background: var(--bg); color: var(--text); font: inherit; font-variant-numeric: tabular-nums; }
.assump { border: 1px solid var(--border); border-radius: var(--r); padding: 0 16px 8px; background: var(--surface); margin: 8px 0 16px; }
summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.res { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.res-v { font-size: 1.75rem; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; }
.res-l { font-size: .875rem; color: var(--text-dim); line-height: 1.4; }
.gauge-box { margin-top: 16px; }
.gauge { height: 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--ctl-border); overflow: hidden; margin: 6px 0; }
.gauge-f { display: block; height: 100%; width: var(--w, 0%); background: var(--accent); transition: width .4s ease-out; }
.gauge[data-band="2"] .gauge-f { background: var(--warn); } .gauge[data-band="3"] .gauge-f { background: var(--bad); }
.gauge-t strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.formulas { margin-top: 16px; } .formulas .mono { color: var(--text-dim); }

/* capabilities / trust / faq */
.cards { display: grid; gap: 16px; margin-top: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.cap { transition: transform .2s ease-out, border-color .2s ease-out; }
.cap:hover { transform: translateY(-4px); border-color: var(--accent); }
.cap .icon { color: var(--accent); margin-bottom: 12px; }
.cap h3 { font-size: 1.125rem; margin-bottom: 8px; } .cap p { font-size: .9375rem; color: var(--text-dim); line-height: 1.55; }
.pillars { display: grid; gap: 16px; margin: 40px 0 24px; }
@media (min-width: 800px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillars .card h3 { font-size: 1.25rem; margin-bottom: 8px; } .pillars .card p { color: var(--text-dim); }
.timeline { display: grid; margin: 8px 0 16px; border-left: 3px solid var(--ctl-border); }
.timeline li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 8px 12px; }
.js .timeline li { color: var(--text-dim); border-left: 4px dashed var(--ctl-border); margin-left: -3px; transition: background-color .3s ease-out; font-weight: 400; }
.js .timeline li span::before { content: ""; }
.js .timeline li.past { color: var(--text); border-left: 4px solid var(--accent); font-weight: 500; }
.timeline li.current { background: var(--surface-2); border-radius: 0 10px 10px 0; font-weight: 600; box-shadow: inset 4px 0 0 var(--accent); }
.timeline time { font-family: var(--font-mono); font-size: .875rem; color: var(--text-dim); }
.au-ctl { margin-top: 8px; }
.faq { border-bottom: 1px solid var(--border); }
.faq summary { padding: 8px 0; font-size: 1.125rem; }
.faq p { padding: 0 0 16px; color: var(--text-dim); }
#faq h2 { margin-bottom: 24px; }
#briefing .btn { margin-top: 8px; }

/* footer */
.site-footer { border-top: 1px solid var(--border); padding: 40px 0; background: var(--bg); }
.flinks { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 12px 0 24px; }
.flinks a { display: inline-flex; align-items: center; min-height: 44px; }
#privacy { max-width: 70ch; } #privacy p { color: var(--text-dim); }
.nf { padding: 120px 0; display: block; } .nf-brand { justify-content: center; margin-bottom: 24px; } .nf h1 { max-width: none; margin-bottom: 16px; } .nf .lead { margin: 0 auto 24px; }

/* palette */
dialog#palette { border: 1px solid var(--border); border-radius: var(--r); padding: 0; background: var(--surface); color: var(--text); width: min(640px, calc(100vw - 24px)); max-height: min(560px, calc(100vh - 48px)); box-shadow: 0 24px 64px rgba(0, 0, 0, .35); margin: 12vh auto auto; }
dialog#palette::backdrop { background: rgba(5, 12, 10, .55); }
.pal-box { padding: 16px; display: grid; gap: 12px; }
.pal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pal-title { font-size: 1rem; max-width: none; letter-spacing: 0; }
#pal-list { max-height: 320px; overflow-y: auto; display: grid; gap: 2px; }
#pal-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; border-radius: 8px; cursor: pointer; }
#pal-list li[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.o-kind { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; flex: none; }

/* ---- polish round 2 ---- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
.js .progress { display: block; } html:not(.js) .progress { display: none; }
.btn:active:not(:disabled), .chip:active:not(:disabled), .seg-btn:active { transform: scale(.97); }
.btn.primary { position: relative; overflow: hidden; }
.btn.primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.28) 50%, transparent 70%); transform: translateX(-120%); }
.btn.primary:hover:not(:disabled)::after { transform: translateX(120%); transition: transform .7s ease-out; }
.chip:hover:not(:disabled):not([aria-pressed="true"]) { border-color: var(--accent); transform: translateY(-1px); }
.check:hover span { color: var(--accent); }
.tile { transition: transform .2s ease-out, border-color .2s; } .tile:hover { transform: translateY(-2px); border-color: var(--accent); }
.att { transition: border-color .2s, transform .2s ease-out; } .att:hover { border-color: var(--accent); transform: translateX(3px); }
.nav a { position: relative; } .nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 6px; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .2s ease-out; } .nav a:hover::after { transform: scaleX(1); }
:root[data-motion="full"].js .hero-inner > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
:root[data-motion="full"].js .hero-inner > *:nth-child(2) { animation-delay: .08s; } :root[data-motion="full"].js .hero-inner > *:nth-child(3) { animation-delay: .18s; } :root[data-motion="full"].js .hero-inner > *:nth-child(4) { animation-delay: .28s; } :root[data-motion="full"].js .hero-inner > *:nth-child(5) { animation-delay: .38s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 70% 45%, transparent 0%, transparent 45%, var(--sky) 130%); opacity: .5; }
:root[data-motion="full"].js .rv:not(.in) { opacity: 0; transform: translateY(16px); }
.rv { transition: opacity .6s ease-out var(--d, 0s), transform .6s ease-out var(--d, 0s), border-color .2s; }
.cap.rv.in:hover { transform: translateY(-4px); transition-delay: 0s; }
.story-dots { display: none; justify-content: center; gap: 10px; margin-top: 16px; }
:root.story-live .story-dots { display: flex; }
.story-dots li { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ctl-border); transition: background-color .3s, transform .3s; }
.story-dots li.on { background: var(--accent); border-color: var(--accent); }
:root[data-motion="full"] .scene-live .dot { animation: bob 5s ease-in-out infinite; }
:root[data-motion="full"] .scene-live .n:nth-child(odd) .dot { animation-delay: -2s; } :root[data-motion="full"] .scene-live .n:nth-child(3n) .dot { animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }

/* calm board */
.calm-seg { margin-top: 24px; }
.calm-count { margin: 16px 0; font-size: 1.125rem; font-weight: 600; }
.calm-board { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; min-height: 220px; }
.ci { order: var(--o, 0); display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1.5px solid var(--ctl-border); border-radius: 12px; padding: 10px 14px; max-width: 100%; transform: rotate(var(--rot, 0)) translateX(var(--dx, 0)); }
.ci-rank { display: none; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); border: 1.5px solid var(--ctl-border); align-items: center; justify-content: center; font-weight: 700; font-size: .875rem; flex: none; }
.ci-body { display: flex; flex-direction: column; } .ci-t { font-size: .9375rem; line-height: 1.3; } .ci-why { display: none; font-size: .8125rem; color: var(--text-dim); }
.ci-sev { display: none; font-size: .75rem; font-weight: 600; border: 1.5px solid currentColor; border-radius: 999px; padding: 1px 10px; white-space: nowrap; margin-left: auto; }
.sev-b-high .ci-sev { color: var(--bad); } .sev-b-medium .ci-sev { color: var(--warn); } .sev-b-low .ci-sev { color: var(--text-dim); }
.sev-b-high { border-color: var(--bad); } .sev-b-medium { border-color: var(--warn); }
:root[data-motion="full"] .calm-board:not(.is-calm) .ci { animation: jitter 2.4s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes jitter { 0%, 100% { transform: rotate(var(--rot, 0)) translateX(var(--dx, 0)); } 50% { transform: rotate(calc(var(--rot, 0) * -0.6)) translate(calc(var(--dx, 0) * -.5), -3px); } }
.calm-board.is-calm { flex-direction: column; flex-wrap: nowrap; max-width: 640px; }
.calm-board.is-calm .ci { transform: none; width: 100%; padding: 12px 16px; }
.calm-board.is-calm .ci-rank, .calm-board.is-calm .ci-why, .calm-board.is-calm .ci-sev { display: inline-flex; } .calm-board.is-calm .ci-why { display: block; }
.calm-board.is-calm .ci.now { background: var(--surface); box-shadow: var(--shadow); }
.calm-board.is-calm .ci:nth-child(3)::after { content: ""; }

/* feed */
.feed { margin-top: 24px; }
.feed-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-start; }
.feed-h { font-size: 1.125rem; margin-bottom: 4px; }
.feed-log { margin: 16px 0 8px; display: grid; gap: 6px; align-content: start; min-height: 330px; } @media (max-width: 640px) { .feed-log { min-height: 476px; } } @media (max-width: 350px) { .feed-log { min-height: 560px; } }
.fl { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 6px 10px; border-left: 3px solid var(--ctl-border); background: var(--surface-2); border-radius: 0 8px 8px 0; animation: fade .4s ease-out; }
.fl time { font-family: var(--font-mono); font-size: .8125rem; color: var(--text-dim); }
.fl.last { border-left-color: var(--accent); font-weight: 600; }
.feed-status { font-weight: 600; font-size: .9375rem; min-height: 1.6em; display: inline-flex; align-items: center; gap: 8px; }
.feed-status.working::before, .feed-status.waiting::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--warn); }
.feed-status.working::before { animation: pulse 1s ease-in-out infinite; } .feed-status.waiting::before { border: 2px solid var(--warn); background: transparent; animation: pulse 1.6s ease-in-out infinite; }

/* savings visual */
.sav-vis { margin-top: 16px; padding: 16px; }
.sv-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin-bottom: 10px; }
.sv-l { font-size: .875rem; color: var(--text-dim); }
.sv-bar { grid-column: 1 / -1; grid-row: 2; height: 16px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--ctl-border); overflow: hidden; }
.sv-fill { display: block; height: 100%; width: var(--w, 0%); transition: width .8s cubic-bezier(.2,.8,.2,1); }
.sv-fill.now { background: var(--ctl-border); } .sv-fill.after { background: var(--accent); }
.sv-n { font-variant-numeric: tabular-nums; } .sv-gap { margin-top: 4px; font-size: .9375rem; }

@media (max-width: 640px) {
  .hero { min-height: 480px; padding: 48px 0 40px; }
  .hdr { gap: 4px 8px; } .brand { font-size: 1rem; }
  .btn.small { padding: 6px 12px; } .seg-btn { padding: 6px 8px; }
  .section { padding: 56px 0; }
  .ci-sev { display: none !important; }
  .feed-head .btn { width: 100%; }
}

/* ---- polish round 3 ---- */
::selection { background: var(--accent); color: var(--accent-ink); }
html { scrollbar-color: var(--ctl-border) var(--bg); -webkit-tap-highlight-color: transparent; }
input, textarea { caret-color: var(--accent); }
button, a, summary, input[type="range"], .chip { touch-action: manipulation; }
body { padding-bottom: env(safe-area-inset-bottom); }
.wrap { padding-left: max(var(--gut), env(safe-area-inset-left)); padding-right: max(var(--gut), env(safe-area-inset-right)); }
.hero { min-height: min(640px, 90dvh); }
.site-header { transition: box-shadow .2s; } .site-header.scrolled { box-shadow: 0 1px 0 var(--border), 0 6px 18px rgba(0, 0, 0, .08); }
:root[data-motion="full"] body, :root[data-motion="full"] .card, :root[data-motion="full"] .section, :root[data-motion="full"] .site-header { transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .2s; }
:target { animation: tflash 1.4s ease-out; }
@keyframes tflash { from { box-shadow: inset 0 0 0 3px var(--accent); } to { box-shadow: inset 0 0 0 3px transparent; } }
.hero-inner { opacity: var(--fade, 1); transform: translateY(var(--lift, 0px)); }
.cue { margin-top: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim); }
.cue i { width: 2px; height: 28px; background: var(--ctl-border); display: block; border-radius: 2px; }
:root[data-motion="full"] .cue i { animation: cue 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 0; } 50% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.btn { position: relative; overflow: hidden; }
.btn.primary { transform: translate(var(--tx, 0), var(--ty, 0)); }
.ripple { position: absolute; left: var(--x); top: var(--y); width: var(--d); height: var(--d); border-radius: 50%; background: currentColor; pointer-events: none; opacity: 0; }
.cta-row .btn:not(.primary)::after { content: "\2192"; margin-left: 4px; transition: transform .2s ease-out; } .cta-row .btn:not(.primary):hover::after { transform: translateX(4px); }
.ring-svg.glow .ring-fg { filter: drop-shadow(0 0 6px var(--good)); }
.po-delta { position: absolute; right: 6px; top: 10px; font-weight: 700; font-size: 1.25rem; opacity: 0; pointer-events: none; }
.gain { color: var(--accent); font-weight: 600; font-size: .8125rem; white-space: nowrap; }
.steps { counter-reset: st; }
.step::before { counter-increment: st; content: "0" counter(st) / ""; display: block; font: 700 .875rem var(--font-mono); color: var(--accent); margin-bottom: 4px; }
.scene .lk { stroke: var(--net-dim); stroke-width: 1.5; opacity: 0; }
:root.story-live .scene-live .lk { transition: opacity .6s ease-out .2s; }
:root[data-motion="full"] .scene-live[data-step="1"] .flag, :root[data-motion="full"] .scene-live[data-step="2"] .flag { animation: flagp 1.6s ease-in-out infinite; }
@keyframes flagp { 0%, 100% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 12; } }
.tline.draw { stroke-dasharray: var(--len); animation: drawl .9s ease-out both; }
@keyframes drawl { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
.presets { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 4px; } .presets-note { margin-bottom: 16px; }
.o-label mark { background: transparent; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
dialog#help { border: 1px solid var(--border); border-radius: var(--r); padding: 0; background: var(--surface); color: var(--text); width: min(520px, calc(100vw - 24px)); margin: 12vh auto auto; box-shadow: 0 24px 64px rgba(0, 0, 0, .35); }
dialog#help::backdrop { background: rgba(5, 12, 10, .55); }
.kbd-list { display: grid; gap: 8px; margin: 0; } .kbd-list > div { display: flex; justify-content: space-between; gap: 16px; align-items: center; border-bottom: 1px solid var(--border); padding: 6px 0; } .kbd-list dd { margin: 0; color: var(--text-dim); text-align: right; font-size: .9375rem; }
kbd { font: 600 .8125rem var(--font-mono); border: 1.5px solid var(--ctl-border); border-radius: 6px; padding: 2px 8px; background: var(--surface-2); }
.totop { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; box-shadow: var(--shadow); }
.fab { display: none; position: fixed; left: 50%; transform: translateX(-50%); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; box-shadow: var(--shadow); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.js .fab { display: none; }
@media (max-width: 899px) { .js .fab { display: inline-flex; } .js .totop:not([hidden]) { bottom: 76px; } body { padding-bottom: 72px; } }
.nav a[aria-current="location"] { color: var(--accent); } .nav a[aria-current="location"]::after { transform: scaleX(1); }
@media (prefers-contrast: more) { :root { --border: var(--ctl-border); } .btn, .chip, .card, .tile { border-width: 2px; } }
@media print {
  .site-header .tools, .nav, #hero-canvas, .cue, .hero-ctrl, .fab, .totop, .progress, dialog, .js-only { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; } .section, .hero { padding: 16pt 0; min-height: 0; } .card, .tile { box-shadow: none; break-inside: avoid; }
  .ns { display: block !important; } .rv { opacity: 1 !important; transform: none !important; }
}

/* ---- round 4: marketing look ---- */
:root { --grad: linear-gradient(135deg, var(--accent), var(--accent-2)); --shadow-lg: 0 2px 4px rgba(14, 27, 46, .05), 0 12px 24px rgba(14, 27, 46, .07), 0 32px 64px rgba(10, 91, 196, .10); --glow: color-mix(in srgb, var(--accent) 38%, transparent); }
:root[data-theme="dark"] { --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 16px 32px rgba(0,0,0,.35), 0 32px 64px rgba(108,176,255,.08); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 16px 32px rgba(0,0,0,.35), 0 32px 64px rgba(108,176,255,.08); } }
body { font-weight: 400; }
/* header: one tidy row on phones */
.site-header { background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.hdr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 8px; padding-bottom: 8px; }
.hdr-cta { margin-left: auto; order: 2; } .tools { order: 3; width: 100%; margin-left: 0; justify-content: space-between; flex-wrap: nowrap; }
.nav { display: none; } .brand { order: 1; }
@media (min-width: 900px) { .hdr { flex-wrap: nowrap; } .nav { display: block; order: 2; width: auto; } .hdr-cta { margin-left: 0; order: 4; } .tools { order: 3; width: auto; margin-left: auto; justify-content: flex-end; } .brand { order: 1; } }
@media (max-width: 1399px) { #palette-btn span { display: none; } #palette-btn { padding-left: 12px; padding-right: 12px; } .nav li:nth-child(n+6) { display: none; } }
@media (max-width: 1099px) { .nav li:nth-child(n+4) { display: none; } }
.hdr .btn, .hdr .seg-btn, .brand, .nav a { white-space: nowrap; }
@media (max-width: 899px) { .tools { flex-wrap: wrap; } #palette-btn { padding-left: 12px; padding-right: 12px; } #palette-btn span { display: none; } .seg-btn { padding: 6px 8px; } #motion-btn { padding: 6px 10px; font-size: .8125rem; } }
.btn.big { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn.primary { background: var(--grad); border-color: transparent; color: var(--accent-ink); box-shadow: 0 6px 18px var(--glow), 0 1px 0 rgba(255,255,255,.25) inset; }
.btn.primary:hover:not(:disabled) { filter: none; box-shadow: 0 10px 28px var(--glow), 0 1px 0 rgba(255,255,255,.25) inset; }
.btn.primary::after { display: none; }
.btn:not(.primary):not(:disabled) { background: color-mix(in srgb, var(--surface) 80%, transparent); }
.seg-btn[aria-pressed="true"], .chip[aria-pressed="true"] { background: var(--grad); border-color: transparent; }
/* hero */
.hero { display: flex; align-items: center; padding: 56px 0 72px; min-height: 0; background: linear-gradient(180deg, var(--sky) 0%, var(--bg) 100%); }
@media (min-width: 900px) { .hero { padding: 88px 0 112px; min-height: min(760px, 92dvh); } }
.hero::before { content: ""; position: absolute; inset: -20%; z-index: -2; pointer-events: none; background: radial-gradient(40% 40% at 18% 22%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 70%), radial-gradient(36% 36% at 86% 28%, color-mix(in srgb, var(--accent-2) 20%, transparent), transparent 70%), radial-gradient(40% 40% at 60% 92%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
:root[data-motion="full"] .hero::before { animation: drift 22s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(3%, 2%) scale(1.08); } }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; } }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; max-width: 15ch; }
.hero h1 { max-width: 16ch; }
.hl { background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent) 100%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; text-shadow: none; }
:root[data-motion="full"] .hl { animation: shine 7s linear infinite; }
@keyframes shine { to { background-position: -200% 0; } }
.hero .lead { font-size: 1.25rem; max-width: 52ch; color: var(--text-dim); }
.hero .kicker { color: color-mix(in srgb, var(--accent) 82%, var(--text)); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chip { position: relative; overflow: hidden; }
.chips-row li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: .875rem; font-weight: 600; background: color-mix(in srgb, var(--surface) 82%, transparent); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(14,27,46,.05); }
.chips-row li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad); }
:root[data-motion="full"] .chips-row li { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
:root[data-motion="full"] .chips-row li:nth-child(2) { animation-delay: .06s; } :root[data-motion="full"] .chips-row li:nth-child(3) { animation-delay: .12s; } :root[data-motion="full"] .chips-row li:nth-child(4) { animation-delay: .18s; } :root[data-motion="full"] .chips-row li:nth-child(5) { animation-delay: .24s; } :root[data-motion="full"] .chips-row li:nth-child(6) { animation-delay: .3s; }
.cta-row { align-items: center; margin-top: 28px; gap: 12px 16px; }
.tour { font-weight: 600; text-underline-offset: 4px; }
.reassure { margin-top: 16px; font-size: .9375rem; color: var(--text-dim); }
.cue { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); align-items: center; margin: 0; }
@media (max-width: 899px) { .cue { display: none; } }
.hero-inner { max-width: 640px; }
/* product glimpse */
.glimpse { position: relative; width: 100%; max-width: 520px; margin: 0 auto; padding: 8px 0 28px; }
.glass { background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid color-mix(in srgb, var(--border) 80%, transparent); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.gl-main { border-radius: 20px; padding: 14px 16px 16px; }
.gl-bar { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--text-dim); margin-bottom: 12px; }
.gl-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); } .gl-bar i:nth-child(1) { background: var(--bad); } .gl-bar i:nth-child(2) { background: var(--warn); } .gl-bar i:nth-child(3) { background: var(--good); } .gl-bar span { margin-left: 8px; }
.gl-top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.gl-ring { position: relative; width: 76px; height: 76px; flex: none; } .gl-ring svg { width: 100%; height: 100%; } .gl-ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.375rem; font-weight: 700; }
.gl-bg { fill: none; stroke: var(--surface-2); stroke-width: 10; } .gl-fg { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 251.3; stroke-dashoffset: 98; }
:root[data-motion="full"] .gl-fg { animation: glring 1.6s cubic-bezier(.2,.8,.2,1) both; } @keyframes glring { from { stroke-dashoffset: 251.3; } }
.gl-ringl { display: flex; flex-direction: column; font-size: .75rem; color: var(--text-dim); } .gl-ringl strong { font-size: 1rem; color: var(--text); }
.gl-tiles { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; } .gl-tiles div { background: var(--surface-2); border-radius: 10px; padding: 6px 10px; min-width: 64px; } .gl-tiles b { display: block; font-size: 1rem; font-variant-numeric: tabular-nums; } .gl-tiles span { font-size: .6875rem; color: var(--text-dim); }
.gl-list { margin-top: 14px; display: grid; gap: 8px; } .gl-list li { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 8px 12px; font-size: .8125rem; font-weight: 600; } .gl-list li i { width: 8px; height: 8px; border-radius: 50%; background: var(--bad); flex: none; } .gl-list em { margin-left: auto; font-style: normal; font-size: .6875rem; color: var(--bad); border: 1.5px solid currentColor; border-radius: 999px; padding: 1px 8px; white-space: nowrap; }
.gl-float { position: absolute; border-radius: 16px; padding: 12px 14px; font-size: .75rem; display: flex; flex-direction: column; gap: 4px; color: var(--text-dim); }
.gl-float strong { font-size: 1rem; color: var(--text); }
.gl-a { right: -8px; top: -30px; min-width: 150px; } .gl-b { left: -14px; bottom: 0; min-width: 190px; }
.glimpse { padding: 36px 0 120px; }
@media (max-width: 480px) { .gl-a { right: 0; } .gl-b { left: 0; } .gl-tiles { margin-left: 0; } }
:root[data-motion="full"] .gl-a { animation: floaty 6s ease-in-out infinite; } :root[data-motion="full"] .gl-b { animation: floaty 7s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.gl-spark { display: flex; gap: 3px; align-items: flex-end; height: 22px; } .gl-spark i { width: 8px; background: var(--grad); border-radius: 3px; } .gl-spark i:nth-child(1) { height: 40%; } .gl-spark i:nth-child(2) { height: 55%; } .gl-spark i:nth-child(3) { height: 48%; } .gl-spark i:nth-child(4) { height: 72%; } .gl-spark i:nth-child(5) { height: 64%; } .gl-spark i:nth-child(6) { height: 92%; }
.gl-btns { display: flex; gap: 8px; margin-top: 2px; } .gl-approve { background: var(--grad); color: var(--accent-ink); border-radius: 999px; padding: 4px 14px; font-weight: 600; font-size: .8125rem; box-shadow: 0 4px 12px var(--glow); } .gl-foot { font-size: .6875rem; }
/* sections: colour, space, cards */
.section { padding: 96px 0; } @media (min-width: 900px) { .section { padding: 136px 0; } }
.section.alt { background: linear-gradient(180deg, var(--wash), var(--bg)); }
.whatis { background: linear-gradient(180deg, var(--bg), var(--wash)); }
.valueband { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 7%, var(--bg)), color-mix(in srgb, var(--accent-2) 8%, var(--bg))); }
h2 { max-width: 22ch; font-weight: 700; letter-spacing: -0.025em; }
.lead { font-size: 1.1875rem; }
.cards.three { grid-template-columns: 1fr; margin-top: 40px; } @media (min-width: 800px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card { box-shadow: var(--shadow); } .glowb, .vcard { border: 1px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, color-mix(in srgb, var(--accent) 55%, transparent), color-mix(in srgb, var(--accent-2) 55%, transparent)) border-box; }
.glowb:hover, .vcard:hover { box-shadow: var(--shadow-lg); }
.chipi { display: inline-flex; width: 52px; height: 52px; border-radius: 16px; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, var(--surface)); }
.chipi.c1 { color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 12%, var(--surface)); } .chipi.c2 { color: var(--good); background: color-mix(in srgb, var(--good) 12%, var(--surface)); } .chipi.c3 { color: var(--warn); background: color-mix(in srgb, var(--warn) 12%, var(--surface)); }
.cap .icon { display: block; margin: 0; }
.vcard { position: relative; padding-top: 32px; } .vcard::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 4px; border-radius: 0 0 4px 4px; background: var(--grad); }
.vlabel { display: inline-flex; align-items: center; gap: 8px; font-size: .8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; } .v1 .vlabel { color: var(--good); } .v2 .vlabel { color: var(--accent-2); }
.vcard h3 { font-size: 1.5rem; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: 8px; } .vcard p { color: var(--text-dim); } .vlink { display: inline-block; margin-top: 16px; font-weight: 600; text-underline-offset: 4px; }
.foot-note { margin-top: 32px; color: var(--text-dim); font-size: 1rem; max-width: 60ch; }
.steps3 { display: grid; gap: 16px; margin-top: 40px; counter-reset: n; } @media (min-width: 800px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }
.num { display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center; background: var(--grad); color: var(--accent-ink); font-weight: 700; font-size: 1.125rem; margin-bottom: 16px; box-shadow: 0 6px 16px var(--glow); }
.steps3 h3 { margin-bottom: 8px; } .steps3 p { color: var(--text-dim); }
.earlysec { background: transparent; padding: 72px 0 112px; }
.early-card { background: var(--grad); color: var(--accent-ink); border-radius: 32px; padding: 64px 24px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.early-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 15% 0%, rgba(255,255,255,.22), transparent 70%); pointer-events: none; }
.early-card > * { position: relative; } .early-card h2 { margin: 0 auto 16px; max-width: 22ch; } .early-card .kicker { color: inherit; justify-content: center; } .early-card .lead { color: inherit; margin-left: auto; margin-right: auto; } .early-card .hint { color: inherit; }
.btn.inv { background: var(--surface); color: var(--text); border-color: transparent; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.btn.inv:disabled { background: var(--surface); color: var(--text-dim); border: 2px dashed var(--text-dim); box-shadow: none; }
.faq summary { font-weight: 600; }
.card h3 { margin-bottom: 8px; }
.early-card p + p, .early-card .lead + p { margin-top: 24px; } .early-card .hint { margin-top: 16px; }
.step::before { color: var(--accent-2); }
@media (max-width: 640px) { .eform-card { padding: 22px 16px; } .st { grid-template-columns: 24px 1fr auto; } .st-desc { grid-column: 2 / -1; grid-row: 2; } .st-state { white-space: nowrap; }
  .section { padding: 72px 0; } .vcard h3 { font-size: 1.3rem; } .early-card { padding: 48px 20px; border-radius: 24px; } }
@media (prefers-contrast: more) { .btn, .chip, .card, .tile, .glowb, .vcard, .att, .ci { border-width: 2px; } }
@media (forced-colors: active) {
  .gl-approve, .gl-tiles div, .gl-ring { border: 1px solid CanvasText; } .seg-btn { border: 1px solid ButtonText; } .seg-btn[aria-pressed="true"] { border-color: Highlight; } .hl { background: none; color: CanvasText; -webkit-text-fill-color: CanvasText; } .btn.primary, .num, .early-card { background: Highlight; color: HighlightText; forced-color-adjust: none; } .glass, .chipi { border: 1px solid CanvasText; } }
@media print { .hero::before, .glimpse { display: none; } }

/* ---- round 5: machines, calm dots, day, controls, trust ring, form, share, print ---- */
.size-bar { margin-top: 24px; } .size-line { margin-top: 12px; font-weight: 600; min-height: 1.6em; }
.share { margin-top: 32px; } .machines { background: linear-gradient(180deg, var(--bg), var(--wash)); }
.map-wrap { margin-top: 32px; } #region-map { width: 100%; max-width: 760px; height: auto; display: block; margin: 0 auto; touch-action: manipulation; }
.rg { cursor: pointer; } .rg:focus { outline: none; } .rg:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; } .rb { fill: color-mix(in srgb, var(--surface) 85%, transparent); stroke: var(--border); stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.rl { fill: var(--text); font: 600 13px var(--font-sans); } .rd { fill: var(--accent); opacity: .55; transition: opacity .25s, transform .25s; } .rd.att { fill: var(--warn); opacity: 1; }
.rg.lit .rb { stroke: var(--accent); stroke-width: 2.5; fill: color-mix(in srgb, var(--accent) 12%, var(--surface)); filter: drop-shadow(0 6px 14px var(--glow)); } .rg.lit .rd { opacity: 1; } .rg:focus-visible .rb { stroke: var(--focus); stroke-width: 3.5; }
.region-info { text-align: center; margin-top: 12px; font-weight: 600; min-height: 1.6em; }
.zoom-h { margin-top: 72px; font-size: 1.5rem; } .zoom { margin-top: 24px; display: block; }
.zsteps { display: grid; gap: 32px; } .zstep h3 { margin-bottom: 8px; } .zstep p { color: var(--text-dim); max-width: 46ch; } .zstatic { margin-top: 16px; max-width: 420px; } .zoom-visual { display: none; }
.zoom-live { width: 100%; height: auto; display: block; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); }
.zd { fill: var(--accent); opacity: .7; } .zd.hot { fill: var(--warn); opacity: 1; } .zb { fill: var(--surface-2); stroke: var(--ctl-border); stroke-width: 1.5; }
.zt { fill: var(--text); font: 600 14px var(--font-sans); } .zs { fill: var(--bad); font: 700 13px var(--font-sans); } .zl2 { fill: var(--text-dim); font: 12px var(--font-sans); }
.zbar { fill: var(--surface); stroke: var(--ctl-border); } .zfill { fill: var(--accent); } .zfill.hot { fill: var(--bad); } .zap { fill: var(--accent); } .zat { fill: var(--accent-ink); font: 700 11px var(--font-sans); }
.zoom-static .zl { opacity: 0; } .zoom-static[data-stage="0"] .l0, .zoom-static[data-stage="1"] .l1, .zoom-static[data-stage="2"] .l2 { opacity: 1; }
.zoom-live:not(.zoom-static) .zl { opacity: 0; } .zoom-live:not(.zoom-static)[data-stage="0"] .l0, .zoom-live:not(.zoom-static)[data-stage="1"] .l1, .zoom-live:not(.zoom-static)[data-stage="2"] .l2 { opacity: 1; }
:root.story-live .zoom-live:not(.zoom-static) .l0 { transform-origin: 300px 110px; } :root.story-live .zoom-live:not(.zoom-static) .l1 { transform-origin: 200px 150px; } :root.story-live .zoom-live:not(.zoom-static) .l2 { transform-origin: 200px 150px; }
:root.story-live .zoom-live:not(.zoom-static)[data-stage="1"] .l0, :root.story-live .zoom-live:not(.zoom-static)[data-stage="2"] .l0 { transform: scale(6); } :root.story-live .zoom-live:not(.zoom-static)[data-stage="0"] .l1 { transform: scale(.25); } :root.story-live .zoom-live:not(.zoom-static)[data-stage="2"] .l1 { transform: scale(4); } :root.story-live .zoom-live:not(.zoom-static)[data-stage="0"] .l2, :root.story-live .zoom-live:not(.zoom-static)[data-stage="1"] .l2 { transform: scale(.4); }
:root[data-motion="full"].story-live .zoom-live:not(.zoom-static) .zl { transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .6s ease-out; }
@media (min-width: 900px) { :root.story-live .zoom { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; } :root.story-live .zstep { min-height: 64vh; display: flex; flex-direction: column; justify-content: center; border-left: 4px solid transparent; padding-left: 20px; } :root.story-live .zstep.current { border-left-color: var(--accent); } :root.story-live .zstatic { display: none; } :root.story-live .zoom-visual { display: block; } :root.story-live .zoom-visual .sticky { position: sticky; top: 96px; } }
/* calm dots + alerts estimator */
.calm-dotbox { margin: 8px 0 24px; } .calm-dotline { font-weight: 700; font-size: 1.25rem; margin-bottom: 10px; }
.calm-dots { display: flex; flex-wrap: wrap; gap: 5px; max-width: 760px; } .calm-dots .d { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); transition: transform .6s cubic-bezier(.2,.8,.2,1) var(--dl, 0s), opacity .6s ease-out var(--dl, 0s), background-color .4s; }
.calm-dots .c1 { background: var(--accent-2); } .calm-dots .c2 { background: var(--warn); } .calm-dots .c3 { background: var(--bad); } .calm-dots .c4 { background: var(--good); }
:root[data-motion="full"] .calm-dots:not(.is-calm) .d { animation: twinkle 1.6s ease-in-out infinite; animation-delay: var(--dl, 0s); } @keyframes twinkle { 50% { opacity: .45; } }
.calm-dots.is-calm .d { opacity: .14; transform: scale(.6); } .calm-dots.is-calm .d.hot { opacity: 1; transform: scale(2.4); background: var(--bad); margin: 0 8px; }
.alerts { margin-top: 40px; max-width: 720px; } .alerts h3 { font-size: 1.25rem; } .alerts .results { margin-top: 16px; }
/* day */
.day-panel { margin-top: 24px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; --p: .35; } .day-ring { width: 120px; height: 120px; flex: none; } .day-ring svg { width: 100%; height: 100%; }
.dr-bg { fill: none; stroke: var(--surface-2); stroke-width: 10; } .dr-fg { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 251.3; stroke-dashoffset: calc(251.3 * (1 - var(--p))); transition: stroke-dashoffset .8s ease-out, stroke .4s; }
.day-panel[data-tone="warn"] .dr-fg { stroke: var(--warn); } .day-panel[data-tone="good"] .dr-fg { stroke: var(--good); }
.day-text { flex: 1; min-width: 240px; } .day-time { font: 600 .875rem var(--font-mono); color: var(--text-dim); } .day-text h3 { margin: 4px 0 8px; } .day-status { margin-top: 12px; display: inline-block; font-weight: 600; border: 1.5px solid currentColor; border-radius: 999px; padding: 2px 14px; font-size: .875rem; }
.day-panel[data-tone="warn"] .day-status { color: var(--warn); } .day-panel[data-tone="good"] .day-status { color: var(--good); } .day-panel[data-tone="accent"] .day-status { color: var(--accent); }
/* ticker + feed */
.ticker { margin-bottom: 16px; padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; } .ticker strong { font-size: 2.25rem; line-height: 1.1; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; } .tk-l { font-size: .875rem; color: var(--text-dim); }
.feed .chips { margin: 16px 0 0; } .feed-gate { margin-top: 12px; } #feed-recbox { margin-top: 16px; } .feed-log.rec { min-height: 0; } .feed-log.rec .fl { border-left-color: var(--good); }
/* trust ring + controls */
.trust-ringbox { display: grid; gap: 24px; align-items: center; margin: 40px 0; } @media (min-width: 800px) { .trust-ringbox { grid-template-columns: 260px 1fr; } }
#tring { width: 240px; max-width: 100%; margin: 0 auto; display: block; } .rarc { fill: none; stroke-width: 16; stroke-linecap: round; stroke: var(--accent); } .rarc.a1 { stroke: var(--accent-2); } .rarc.a2 { stroke: var(--good); } .rc-t { fill: var(--text); font: 700 15px var(--font-sans); }
:root[data-motion="full"].js #tring:not(.in) .rarc { opacity: 0; } :root[data-motion="full"] #tring.in .rarc { animation: arcin 1s ease-out both; } :root[data-motion="full"] #tring.in .a1 { animation-delay: .35s; } :root[data-motion="full"] #tring.in .a2 { animation-delay: .7s; } @keyframes arcin { from { stroke-dasharray: 0 502; opacity: 0; } }
.ring-h { margin-bottom: 12px; } .ring-list { display: grid; gap: 12px; } .ring-list li { display: grid; padding-left: 16px; border-left: 4px solid var(--accent); } .ring-list .rp1 { border-color: var(--accent-2); } .ring-list .rp2 { border-color: var(--good); } .ring-list span { color: var(--text-dim); }
.ctl { margin: 0 0 40px; max-width: 760px; } .ctl h3 { margin-bottom: 4px; } .ctl-row { margin-top: 16px; } .sw { display: flex; gap: 12px; align-items: center; font-weight: 600; min-height: 44px; cursor: pointer; } .sw input { width: 44px; height: 26px; accent-color: var(--accent); flex: none; }
.ctl-scope { border: 1px solid var(--border); border-radius: var(--r); margin: 16px 0 0; padding: 8px 16px; background: var(--surface); } .ctl-scope legend { font-weight: 600; padding: 0 8px; }
.ctl-result { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); border-left: 4px solid var(--accent); font-weight: 500; }
/* early access: split layout, premium form */
.earlysec .wrap { max-width: 1040px; } .early-split { display: grid; gap: 28px; margin-top: 32px; text-align: left; align-items: start; }
@media (min-width: 900px) { .early-split { grid-template-columns: 5fr 6fr; gap: 40px; } }
.next h3 { font-size: 1.375rem; margin-bottom: 16px; color: inherit; } .next-list { display: grid; gap: 20px; position: relative; } .next-list::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; background: color-mix(in srgb, var(--accent-ink) 40%, transparent); }
.next-list li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; position: relative; } .next-list .nn { width: 36px; height: 36px; border-radius: 50%; background: var(--surface); color: var(--text); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.next-list strong { display: block; font-size: 1.0625rem; } .next-list span:not(.nn) { display: block; opacity: .95; }
:root[data-motion="full"] .next-list li { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; } :root[data-motion="full"] .next-list li:nth-child(2) { animation-delay: .12s; } :root[data-motion="full"] .next-list li:nth-child(3) { animation-delay: .24s; }
.eform-card { background: var(--surface); color: var(--text); border-radius: 24px; padding: 28px 22px; max-width: 560px; width: 100%; margin: 0 auto; box-shadow: 0 24px 60px rgba(0,0,0,.22), 0 0 0 1px rgba(255,255,255,.25) inset; }
.ef-f { position: relative; margin-bottom: 18px; }
.eform input[type="text"], .eform input[type="email"], .eform textarea { width: 100%; min-height: 56px; padding: 24px 42px 8px 14px; border: 1.5px solid var(--ctl-border); border-radius: 12px; background: var(--bg); color: var(--text); font: inherit; transition: border-color .2s, box-shadow .2s; }
.eform textarea { min-height: 132px; resize: none; padding-bottom: 28px; }
.ef-f label { position: absolute; left: 15px; top: 17px; color: var(--text-dim); font-size: 1rem; line-height: 1.2; pointer-events: none; transform-origin: left top; transition: transform .18s ease-out, color .18s; display: block; margin: 0; font-weight: 500; }
.ef-f input:focus + label, .ef-f input:not(:placeholder-shown) + label, .ef-f textarea:focus + label, .ef-f textarea:not(:placeholder-shown) + label { transform: translateY(-11px) scale(.8); }
.eform input:focus, .eform textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); }
.eform input:focus-visible, .eform textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.ef-f.good input { border-color: var(--good); } .ef-f.bad input, .ef-f.bad textarea { border-color: var(--bad); border-width: 2px; }
.ef-ok { position: absolute; right: 14px; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--good); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s cubic-bezier(.2,.9,.3,1.4); } .ef-ok::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid var(--bg); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); } .ef-f.good .ef-ok { opacity: 1; transform: none; }
.ef-count { position: absolute; right: 12px; bottom: 8px; font-size: .75rem; color: var(--text-dim); font-variant-numeric: tabular-nums; } .ef-count.near { color: var(--bad); font-weight: 700; }
.ef-err { color: var(--bad); font-size: .875rem; margin-top: 6px; font-weight: 600; }
.ef-int { margin-bottom: 18px; } .ef-leg { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 8px; } .ef-hint { font-weight: 400; color: var(--text-dim); }
.ef-ready { display: flex; align-items: center; gap: 10px; margin: 4px 0 12px; font-size: .9375rem; font-weight: 600; color: var(--text-dim); } .ef-ready svg { width: 28px; height: 28px; flex: none; } .rr-bg { fill: none; stroke: var(--surface-2); stroke-width: 4; } .rr-fg { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: calc(94.25 * (1 - var(--p, 0))); transition: stroke-dashoffset .4s ease-out, stroke .3s; } .ef-ready.ready { color: var(--good); } .ef-ready.ready .rr-fg { stroke: var(--good); }
.ef-sum { border: 2px solid var(--bad); border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; background: var(--surface); } .ef-sum-h { font-weight: 700; color: var(--bad); } .ef-sum ul { margin-top: 6px; list-style: disc; padding-left: 20px; } .ef-sum a { color: var(--bad); font-weight: 600; }
.ef-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } .ef-submit { width: 100%; margin-top: 4px; min-height: 58px; } .ef-consent { margin-top: 12px; text-align: center; }
.ef-spin { display: none; width: 18px; height: 18px; border: 3px solid color-mix(in srgb, currentColor 30%, transparent); border-top-color: currentColor; border-radius: 50%; } .ef-submit.sending .ef-spin { display: inline-block; } :root[data-motion="full"] .ef-submit.sending .ef-spin { animation: spin .8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } }
.ef-submit:disabled { cursor: progress; background: var(--grad); color: var(--accent-ink); opacity: .85; border-style: solid; }
.ef-fail { border: 2px solid var(--warn); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; background: var(--surface); } .ef-fail h3 { font-size: 1.125rem; }
.ef-done { text-align: center; padding: 20px 0 12px; } .ef-done h3 { margin: 10px 0 6px; font-size: 1.5rem; } .ef-done p { color: var(--text-dim); margin-bottom: 14px; } .ok-c { fill: none; stroke: var(--good); stroke-width: 3; } .ok-p { fill: none; stroke: var(--good); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
:root[data-motion="full"] .ef-done.show .ok-c { stroke-dasharray: 145; animation: dash .7s ease-out both; } :root[data-motion="full"] .ef-done.show .ok-p { stroke-dasharray: 40; animation: dash .5s .5s ease-out both; } @keyframes dash { from { stroke-dashoffset: 150; } to { stroke-dashoffset: 0; } }
.earlysec .eval { margin: 12px auto 0; font-weight: 600; }
/* print: only the one-page owner summary */
.print-only { display: none; }
@media print { body > *:not(#owner-summary) { display: none !important; } #owner-summary { display: block !important; padding: 0; color: #000; background: #fff; font: 11pt/1.5 var(--font-sans); } #owner-summary .sum-title { font-size: 20pt; margin: 0 0 8pt; max-width: none; letter-spacing: 0; } #owner-summary h2 { font-size: 13pt; margin: 14pt 0 4pt; max-width: none; } #owner-summary ul { list-style: disc; padding-left: 18pt; } #owner-summary li { margin: 2pt 0; } #owner-summary p { margin: 0 0 6pt; } }
@media (forced-colors: active) { .rb, .eform-card, .ef-sum, .ef-fail, .day-panel, .ticker { border: 1px solid CanvasText; } .rg.lit .rb { stroke: Highlight; stroke-width: 3; } .calm-dots .d { background: CanvasText; } .rarc { stroke: CanvasText; } }

/* motion off */
:root[data-motion="reduced"] { scroll-behavior: auto; }
:root[data-motion="reduced"] *, :root[data-motion="reduced"] *::before, :root[data-motion="reduced"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
:root[data-motion="reduced"] .cap:hover { transform: none; }
@media (prefers-reduced-motion: reduce) {
  :root:not([data-motion="full"]) *, :root:not([data-motion="full"]) *::before, :root:not([data-motion="full"]) *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* forced colors */
@media (forced-colors: active) {
  .fab, .totop, .ci, .fl { border: 1px solid CanvasText; } kbd { border: 1px solid CanvasText; } .sv-fill { background: CanvasText; } .progress span { background: Highlight; }
  .ci, .fl, .sv-bar, .btn, .chip, .seg, .card, .tile, .att, .sev, .ev, .st, .gauge, .bar-t, input, .badge, .res, .proposal, .gate, .msg { border: 1px solid CanvasText; }
  .chip[aria-pressed="true"], .seg-btn[aria-pressed="true"], .btn.primary { background: Highlight; color: HighlightText; forced-color-adjust: none; border-color: Highlight; }
  .btn:disabled { color: GrayText; border-color: GrayText; }
  .ring-bg { stroke: CanvasText; opacity: .3; }
  .ring-svg .ring-fg, .ring-svg.band-0 .ring-fg, .ring-svg.band-1 .ring-fg, .ring-svg.band-2 .ring-fg, .ring-svg.band-3 .ring-fg { stroke: CanvasText; }
  .bar-f, .gauge-f { background: CanvasText; }
  .tline { stroke: CanvasText; } .tdot, .scene .dot, .mark { fill: CanvasText; color: CanvasText; }
  #pal-list li[aria-selected="true"] { background: Highlight; color: HighlightText; }
  :focus-visible { outline-color: Highlight; }
}
