/*
VOICE: calm operator's briefing, plain words, no hype.
IDEA: a navigator's plotting sheet, where lines of position cross to make the fix.
PICTURE: star sightings crossing at your place, with the app's own SITREP panel under it.
COLOUR and TYPE: the app's dark theme (ink #0F161D, surface #18222C, hero #1D3A4D, spruce #1d3534) with its status colours; system fonts, like the app.
LAYOUT: nav, hero copy and chart side by side, live strip, steps and legend, card groups, privacy, questions, footer.
*/
:root {
  color-scheme: dark;
  --bg: #0F161D; --surface: #18222C; --sunk: #1F2A35; --line: #2C3946; --ink: #E8EDF2; --muted: #A3B0BD; --link: #8CC4DE;
  --hero: #1D3A4D; --hero-line: #2C5068; --hero-chip: #27495F; --hero-muted: #CFDCE5; --spruce: #1d3534;
  --ok: #7FD4A0; --watch: #F2B45A; --alert: #FF8A80; --noresp: #C9A8F0; --focus: #8CC4DE;
}
* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--ink); overflow-x: clip;
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--link); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.defs { position: absolute; width: 0; height: 0; }
/* One left edge for everything: content sits in a 1240px column, centred by the band's own padding. */
.band { padding: clamp(36px, 5vw, 72px) max(5vw, 16px, calc((100% - 1240px) / 2)); }
h1, h2, h3 { margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: clamp(38px, 5.4vw, 60px); line-height: 1.04; font-weight: 750; }
h2 { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.1; font-weight: 700; }
h3 { font-size: 18px; line-height: 1.25; font-weight: 650; }
.sub { color: var(--muted); font-size: 17px; max-width: 64ch; margin: 12px 0 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-weight: 650; font-size: 15px; text-decoration: none; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn.primary:hover { background: #fff; }
.btn.small { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px 28px; flex-wrap: wrap;
  padding: 12px max(5vw, 16px); background: rgba(15, 22, 29, 0.88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.logo { width: 32px; height: 32px; flex: none; }
.links { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-right: auto; }
.links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 600; padding: 8px 0; }
.links a:hover { color: var(--ink); }
@media (max-width: 760px) { .links { display: none; } .nav { justify-content: space-between; } }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 56px); align-items: center;
  max-width: none; background: linear-gradient(180deg, #13202B 0%, var(--bg) 100%); }
.hero > * { margin: 0; max-width: none; }
.hero .copy { justify-self: end; max-width: 560px; }
.hero .fix { justify-self: start; width: 100%; max-width: 640px; }
.lead { font-size: 18px; color: var(--hero-muted); margin: 18px 0 0; max-width: 54ch; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero .copy, .hero .fix { justify-self: stretch; max-width: 680px; margin: 0 auto; width: 100%; }
}

.fix { position: relative; }
.chart { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--hero-line); }
.chart .lbl { fill: var(--hero-muted); font-size: 13px; font-weight: 600; }
.chart .lbl.strong { fill: var(--ok); font-size: 15px; font-weight: 700; }
.chart .lop { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.4s ease-out forwards; }
.chart .lop:nth-child(2) { animation-delay: .35s; } .chart .lop:nth-child(3) { animation-delay: .7s; }
.chart .pin { opacity: 0; animation: pop .5s 1.6s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chart .lop, .chart .pin { animation: none; stroke-dashoffset: 0; opacity: 1; } }

/* Sample SITREP, styled like the app's panel */
.sitrep { position: relative; margin: -56px 18px 0 auto; width: min(440px, calc(100% - 36px)); background: var(--spruce);
  border: 1px solid #2D4C4A; border-radius: 10px; padding: 14px 16px 12px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.shead { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hero-muted); }
.fresh { font-size: 13px; color: var(--hero-muted); }
.sline { margin: 8px 0 0; font-size: 15px; line-height: 1.45; }
.sline + .sline { margin-top: 2px; color: var(--hero-muted); }
.hchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hchip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 10px; border-radius: 6px; background: #24443F; font-size: 13px; }
.st-ok { color: var(--ok); } .st-watch { color: var(--watch); } .st-alert { color: var(--alert); } .st-noresp { color: var(--noresp); }
.sample { margin: 10px 0 0; font-size: 13px; color: var(--hero-muted); opacity: .8; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; background: var(--muted); }
.dot.ok { background: var(--ok); } .dot.watch { background: var(--watch); } .dot.alert { background: var(--alert); } .dot.noresp { background: var(--noresp); }
@media (max-width: 600px) { .sitrep { margin: -28px 10px 0; width: auto; } }

/* Live strip */
.live { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 30px; padding-bottom: 34px; }
.livehead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 20px; }
.live h2 { font-size: 17px; font-weight: 650; letter-spacing: 0; }
.livenote { margin: 0; color: var(--muted); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.stat { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.stat .num { font-size: clamp(30px, 3.6vw, 42px); font-weight: 750; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat .what { color: var(--muted); font-size: 14px; }
.stat.st-watch .num { color: var(--watch); } .stat.st-alert .num { color: var(--alert); } .stat.st-noresp .num { color: var(--noresp); }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.step p { margin: 8px 0 0; color: var(--muted); }
.sicon { width: 30px; height: 30px; fill: none; stroke: var(--link); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.legend { list-style: none; padding: 0; margin-top: 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; }
.legend li { display: grid; grid-template-columns: 9px minmax(0, 1fr); column-gap: 8px; color: var(--muted); font-size: 14px; }
.legend li .dot { margin-top: 6px; }
.legend li b { margin-right: 4px; }
.legend b { color: var(--ink); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .legend { grid-template-columns: minmax(0, 1fr); } }

/* What it watches */
.watch { background: linear-gradient(180deg, var(--bg), #122029); }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.group { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.group h3 { display: flex; align-items: center; gap: 10px; }
.group ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.group li { background: var(--sunk); border-radius: 6px; padding: 4px 9px; font-size: 13.5px; color: var(--hero-muted); }
@media (max-width: 1000px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .groups { grid-template-columns: minmax(0, 1fr); } }

/* Privacy */
.privacy { background: var(--hero); display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px 48px; align-items: start; }
.privacy > * { margin: 0; max-width: none; }
.privacy .sub { color: var(--hero-muted); }
.checks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.checks li { background: rgba(15, 22, 29, 0.35); border: 1px solid var(--hero-line); border-radius: 10px; padding: 16px 18px; color: var(--hero-muted); }
.checks b { display: block; color: #fff; margin-bottom: 4px; }
@media (max-width: 860px) { .privacy, .checks { grid-template-columns: minmax(0, 1fr); } }

/* Questions */
.faq h2 { margin-bottom: 18px; }
details { border-top: 1px solid var(--line); max-width: 820px; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 650; font-size: 17px; position: relative; min-height: 44px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 13px; font-size: 22px; color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 18px; color: var(--muted); max-width: 66ch; }

/* Closing */
.final { text-align: center; background: var(--spruce); }
.final h2 { margin-bottom: 20px; }
.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; padding-top: 30px; padding-bottom: 40px; }
.foot p { margin: 10px auto 0; }
.foot .brand { font-size: 16px; }
.stat.st-noresp .num { font-size: 24px; padding-top: 8px; }

/* What you won't find */
.nots { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.nots li { font-size: 14px; font-weight: 600; color: var(--hero-muted); border: 1px solid var(--hero-line); border-radius: 999px; padding: 4px 12px; }

/* Here to global */
.rings { list-style: none; padding: 0; margin-top: 30px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.rings li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.rings svg { width: 64px; height: 64px; fill: none; stroke: #4F86A6; stroke-width: 1.8; margin-bottom: 6px; }
.rings svg circle:first-child { fill: var(--ok); stroke: none; }
.rings b { font-size: 18px; }
.rings span { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .rings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rings { grid-template-columns: minmax(0, 1fr); } .rings li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; } .rings svg { width: 44px; height: 44px; grid-row: span 2; margin: 0; } }

/* Every day / emergency */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-top: 0; }
.pair > * { margin: 0; max-width: none; }
.pair article { border-radius: 12px; padding: clamp(22px, 3vw, 36px); background: var(--hero); border: 1px solid var(--hero-line); }
.pair article + article { background: var(--spruce); border-color: #2D4C4A; }
.pair p { color: var(--hero-muted); margin: 12px 0 0; font-size: 17px; }
@media (max-width: 760px) { .pair { grid-template-columns: minmax(0, 1fr); } }

/* Pull line */
.quote { text-align: center; padding-top: clamp(30px, 4vw, 56px); padding-bottom: clamp(30px, 4vw, 56px); }
.quote p.q { margin: 0 auto; font-size: clamp(30px, 4.4vw, 56px); line-height: 1.08; font-weight: 750; letter-spacing: -0.02em; text-wrap: balance; max-width: 20ch; }

/* Who it's for */
.whos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.whos article { border-top: 2px solid var(--link); padding-top: 14px; }
.whos p { color: var(--muted); margin: 8px 0 0; }
@media (max-width: 900px) { .whos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .whos { grid-template-columns: minmax(0, 1fr); } }

/* Map Explorer tile */
.rings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rings .mapx { background: var(--hero); border-color: var(--hero-line); }
.rings .mapx svg { stroke: var(--link); }
.rings .mapx svg circle:first-child { fill: var(--watch); }

/* Check it yourself */
.qs { list-style: none; padding: 0; margin-top: 28px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.qs li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; justify-content: space-between; }
.qs q { quotes: none; font-size: 17px; font-weight: 600; line-height: 1.35; }
.qs span { font-size: 13.5px; color: var(--link); font-weight: 600; }
.qs span::before { content: "→ "; }
@media (max-width: 1000px) { .qs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .qs { grid-template-columns: minmax(0, 1fr); } }

/* Patterns */
.dots { background: linear-gradient(180deg, #122029, var(--bg)); }
.combos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.combos div { border-left: 2px solid var(--hero-line); padding: 4px 0 4px 18px; display: flex; flex-direction: column; gap: 4px; }
.combos div:last-child { border-left-color: var(--ok); }
.combos .big { font-size: clamp(30px, 3.8vw, 48px); font-weight: 750; line-height: 1.05; font-variant-numeric: tabular-nums; white-space: nowrap; }
.combos div:last-child .big { color: var(--ok); }
.combos .what { color: var(--muted); font-size: 15px; }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; max-width: 72ch; }
@media (max-width: 900px) { .combos { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; } }
@media (max-width: 900px) { .rings { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .rings { grid-template-columns: minmax(0, 1fr); } }

/* Section icons */
.group h3 { font-size: 17px; }
.gico { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--link); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dot.none { background: #7D8790; }

/* Alert levels */
.levels { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.levels .legend { grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 26px; }
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.rule { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.rule p { margin: 8px 0 0; color: var(--muted); font-size: 15px; display: flex; gap: 9px; align-items: baseline; }
.rule p .dot { flex: none; transform: translateY(-1px); }
.rule .fine { font-size: 13.5px; margin-top: 8px; display: block; }
@media (max-width: 1000px) { .levels .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .levels .legend, .rules { grid-template-columns: minmax(0, 1fr); } }

/* Places compared */
.placepick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 24px; }
.placepick span { color: var(--muted); font-size: 14px; font-weight: 600; margin-right: 6px; }
.placepick button { min-width: 44px; min-height: 44px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; }
.placepick button[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.combos .big { font-size: clamp(26px, 3.4vw, 44px); }
@media (max-width: 1000px) { .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .groups { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .combos { grid-template-columns: minmax(0, 1fr); } }

.finewrap > .fine { margin: 18px 0 0; }

/* Constellation logo: nine stars and you at the crossing */
.logo, .biglogo { overflow: visible; }
.logo { width: 34px; height: 34px; }
.lines { fill: none; stroke: #8CC4DE; stroke-opacity: .6; stroke-width: 1.2; }
.stars { fill: #fff; }
:root { --here: #7FD4A0; }
:root.offline { --here: #FF8A80; }
.here-ring { fill: none; stroke: var(--here); stroke-width: 1.6; }
.here-dot { fill: var(--here); }
.here-glow { fill: var(--here); opacity: .35; transform-box: fill-box; transform-origin: center; animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .15; transform: scale(.8); } 50% { opacity: .5; transform: scale(1.5); } }
@media (prefers-reduced-motion: reduce) { .here-glow { animation: none; } }
.netstate { font-size: 12px; font-weight: 700; color: var(--here); border: 1px solid currentColor; border-radius: 999px; padding: 1px 8px; margin-left: -16px; }
.biglogo { display: block; width: clamp(110px, 14vw, 160px); height: auto; margin: 0 auto 18px; }

/* Section summaries */
.group h3 { width: 100%; }
.gn { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--muted); background: var(--sunk); border-radius: 999px; padding: 2px 9px; }
.group p { margin: 10px 0 0; color: var(--muted); font-size: 15px; }

/* Five audiences */
.whos { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* Heads-up blue and example instruments */
:root { --heads: #8CC4DE; --heads-bg: #192F3B; --heads-mk: #7DB6D3; --ok-bg: #173323; --watch-bg: #3A2A10; }
.dot.heads { background: var(--heads-mk); }
.st-heads { color: var(--heads); }
.levels .legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 26px; }
.tile { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 16px; }
.tile .th { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.tile .th b { font-size: 13px; }
.tile .tv { margin: 10px 0 0; font-size: 21px; font-weight: 700; line-height: 1.2; }
.tile .tm { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.tile.is-watch { box-shadow: inset 0 3px 0 #F2B45A; background: linear-gradient(var(--watch-bg), var(--bg) 64px); }
.tile.is-back { box-shadow: inset 0 3px 0 var(--ok); background: linear-gradient(var(--ok-bg), var(--bg) 64px); }
.tile.is-heads { box-shadow: inset 0 3px 0 var(--heads-mk); background: linear-gradient(var(--heads-bg), var(--bg) 64px); }
.sbtag { font-size: 12px; font-weight: 700; padding: 1px 9px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); border: 1px solid #2E5A40; white-space: nowrap; }
.samplenote { margin-top: 8px; }
@media (max-width: 1000px) { .tiles { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) { .levels .legend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .levels .legend { grid-template-columns: minmax(0, 1fr); } }

/* Features */
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.fgrid article { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.fgrid h3 { padding-right: 70px; }
.fgrid p { margin: 8px 0 0; color: var(--muted); }
.soon { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; color: var(--watch); border: 1px solid currentColor; border-radius: 999px; padding: 1px 9px; }
.soon.pro { color: var(--heads); }
@media (max-width: 1000px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fgrid { grid-template-columns: minmax(0, 1fr); } }

/* Infinite places */
.infinite { display: flex; align-items: center; gap: 20px; margin-top: 26px; padding: 18px 22px; border: 1px solid var(--hero-line); border-radius: 12px; background: rgba(29, 58, 77, 0.35); }
.infinite .big { font-size: clamp(48px, 6vw, 72px); line-height: 1; font-weight: 700; color: var(--ok); flex: none; }
.infinite p { margin: 0; color: var(--muted); max-width: 70ch; }
.infinite b { color: var(--ink); }

/* Plans */
.pgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.pgrid article { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 24px; }
.pgrid article.pro { background: var(--hero); border-color: var(--hero-line); }
.pgrid h3 { font-size: 22px; }
.pgrid p { margin: 8px 0 0; color: var(--hero-muted); }
@media (max-width: 700px) { .pgrid { grid-template-columns: minmax(0, 1fr); } }

/* Closing */
.closesub { margin: -8px auto 22px; color: var(--hero-muted); font-size: 17px; }
.whos { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 22px; }
@media (max-width: 1000px) { .whos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .whos { grid-template-columns: minmax(0, 1fr); } }
.levels .samplenote { max-width: 1240px; }
@media (max-width: 760px) { .nav { flex-wrap: nowrap; gap: 10px; } .netstate { margin: 0 auto 0 0; } .nav .btn.small { flex: none; } .brand { font-size: 17px; } }
.stat .wink { font-size: 13px; color: var(--muted); opacity: .75; font-style: italic; }

/* SITREP slider */
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .5s ease, visibility 0s linear .5s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .5s ease; }
@media (prefers-reduced-motion: reduce) { .slide, .slide.on { transition: none; } }
.sitrep .sline + .sline { color: var(--hero-muted); }
.sitrep .sbtag { font-size: 11px; padding: 0 7px; }
.sfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.sfoot .sample { margin: 0; }
.sctl { display: flex; align-items: center; gap: 2px; }
.snav { width: 36px; height: 36px; border: 0; border-radius: 8px; background: transparent; color: var(--hero-muted); font: inherit; font-size: 18px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.snav.spause { font-size: 11px; letter-spacing: -1px; }
.snav:hover { background: #24443F; color: #fff; }
.sdots { display: flex; gap: 2px; }
.sdot { width: 22px; height: 36px; border: 0; background: transparent; cursor: pointer; padding: 0; display: inline-flex; align-items: center; justify-content: center; }
.sdot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3E6662; }
.sdot[aria-current="true"]::before { background: #fff; }

/* Live strip: six instruments with detail */
.stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat .det { font-size: 13.5px; color: var(--hero-muted); margin-top: 2px; }
.stat .det:empty::before { content: "\00a0"; } /* keeps the line, so the card doesn't grow when data arrives */
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .stats { grid-template-columns: minmax(0, 1fr); } }

/* Live slide */
.sitrep.is-live .fresh { color: var(--ok); font-weight: 700; }
.sitrep.is-live .fresh::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; animation: glow 2.6s ease-in-out infinite; }
.sdot.livedot::before { background: var(--ok); opacity: .6; }
.sdot.livedot[aria-current="true"]::before { opacity: 1; }

/* The weather-app line: what else it is, one at a time, over the section icons */
.quote { position: relative; overflow: hidden; background: radial-gradient(60% 120% at 50% 100%, rgba(29, 58, 77, 0.55), transparent 70%); }
.quote .also { margin: 18px auto 0; font-size: clamp(18px, 2vw, 24px); font-weight: 600; color: var(--hero-muted); min-height: 1.5em; }
.quote .word { color: var(--ok); display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.quote .word.out { opacity: 0; transform: translateY(8px); }
.quote .icons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 22px; margin: 28px auto 0; max-width: 760px; }
.quote .icons svg { width: 26px; height: 26px; fill: none; stroke: #4F86A6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .35s ease, transform .35s ease; }
.quote .icons svg.on { stroke: var(--ok); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .quote .word, .quote .icons svg { transition: none; } }

/* Sound toggle for the acquisition beep */
.soundbtn { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; margin-left: -18px; }
.soundbtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.soundbtn[aria-pressed="true"] { color: var(--ok); border-color: #2E5A40; }
.soundbtn .wave { display: none; } .soundbtn[aria-pressed="true"] .wave { display: inline; } .soundbtn[aria-pressed="true"] .mute { display: none; }
@media (max-width: 760px) { .soundbtn { margin-left: 0; } .netstate { margin: 0; } .soundbtn { margin-right: auto; } }

/* Plans */
.plans { background: linear-gradient(180deg, var(--bg), #122029); }
.pgrid { align-items: stretch; margin-top: 28px; }
.plan { display: flex; flex-direction: column; }
.plan .tag { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.plan.pro { background: linear-gradient(160deg, #1D3A4D 0%, #1d3534 100%); border-color: #3F6F8C; box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(140, 196, 222, 0.25); }
.plan.pro .tag { color: var(--hero-muted); }
.phead { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.phead .soon { position: static; }
.feats-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.feats-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink); font-size: 15.5px; }
.ck { width: 20px; height: 20px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 1px; }
.plan:not(.pro) .ck { stroke: var(--link); }
.planfine { margin-top: 14px; }
.protag { display: inline-block; vertical-align: 3px; margin-left: 6px; font-size: 11px; font-weight: 700; color: var(--heads); border: 1px solid currentColor; border-radius: 999px; padding: 0 7px; }

/* Chart narration */
.chart .fixlbl { fill: var(--hero-muted); font-size: 15px; font-weight: 700; transition: fill .4s ease; }
.chart .fixlbl.got { fill: var(--ok); }
.chart .fixsub { fill: var(--hero-muted); font-size: 11px; font-weight: 500; opacity: .85; }
.chart .pin { animation: none; opacity: 1; }
.chart .pinin { opacity: 0; transform-box: fill-box; transform-origin: center; transform: scale(.3); transition: opacity .9s ease .25s, transform 1.1s cubic-bezier(.2, 1.5, .4, 1) .25s; }
.fix.acquired .chart .pinin { opacity: 1; transform: scale(1); }
/* While seeking: a faint ring sweeps in on the spot, like a receiver hunting for satellites. */
.fix.seeking .chart .pin { animation: seek 1.3s ease-in-out infinite; }
@keyframes seek { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.fix.seeking .chart .pinin { opacity: .55; transform: scale(.55); transition: opacity .4s ease, transform .4s ease; }
/* On the fix: the pin settles, then two rings ripple out. */
.fix.acquired .chart .pinin circle:first-child { transform-box: fill-box; transform-origin: center; animation: ripple 1.6s ease-out 1.1s 2; }
@keyframes ripple { 0% { transform: scale(1); opacity: .18; } 60% { opacity: .35; } 100% { transform: scale(3.2); opacity: 0; } }
.chart .fixlbl.got { animation: gotin .8s ease .9s both; }
@keyframes gotin { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chart .pinin, .fix.seeking .chart .pinin { transition: none; } .fix.seeking .chart .pin, .fix.acquired .chart .pinin circle:first-child, .chart .fixlbl.got { animation: none; } }

/* ---------- Multi-page site ---------- */
.links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ok); }
@media (max-width: 760px) {
  .nav { flex-wrap: wrap; row-gap: 4px; }
  .links { display: flex; order: 9; width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 18px; margin: 0; padding-bottom: 2px; scrollbar-width: none; }
  .links::-webkit-scrollbar { display: none; }
  .links a { flex: none; }
}
.pagehead { background: linear-gradient(180deg, #13202B 0%, var(--bg) 100%); padding-bottom: clamp(20px, 3vw, 36px); }
.pagehead h1 { font-size: clamp(34px, 4.6vw, 52px); }
.pagehead .lead { margin-top: 14px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; }
.crumbs a { color: var(--link); font-weight: 600; font-size: 15px; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.preview-note { background: #2a2414; color: #F2D9A6; font-size: 13.5px; text-align: center; padding: 7px 16px; }

/* Home: three things */
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.three a { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px; transition: border-color .2s ease, transform .2s ease; }
.three a:hover { border-color: #3F6F8C; transform: translateY(-2px); }
.three p { color: var(--muted); margin: 8px 0 0; }
.three .more { display: inline-block; margin-top: 12px; color: var(--link); font-weight: 650; font-size: 15px; }
@media (max-width: 900px) { .three { grid-template-columns: minmax(0, 1fr); } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips span { font-size: 14.5px; font-weight: 600; color: var(--hero-muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; }

/* Price on plan cards */
.price { margin-top: 10px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 34px; font-weight: 750; letter-spacing: -0.02em; }
.price span { color: var(--hero-muted); font-size: 15px; }
.plan .cta-row { margin-top: auto; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.plan .small { color: var(--hero-muted); font-size: 13.5px; }
.billpick { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); margin-top: 22px; }
.billpick button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; color: var(--muted); font: inherit; font-weight: 650; cursor: pointer; }
.billpick button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.save { color: var(--ok); font-size: 13px; font-weight: 700; margin-left: 6px; }
.lockline { margin-top: 18px; padding: 16px 20px; border: 1px solid #2E5A40; border-radius: 12px; background: rgba(23, 51, 35, 0.6); color: var(--hero-muted); max-width: 820px; }
.lockline b { color: var(--ink); }
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.tiers article { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.tiers p { color: var(--muted); margin: 8px 0 0; }
@media (max-width: 980px) { .tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .tiers { grid-template-columns: minmax(0, 1fr); } }

/* Comparison table */
.cmp { width: 100%; border-collapse: collapse; margin-top: 26px; font-size: 15.5px; }
.cmp th, .cmp td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp thead th { font-size: 14px; color: var(--muted); font-weight: 700; }
.cmp thead th:last-child { color: var(--ok); }
.cmp td:first-child { color: var(--ink); font-weight: 600; width: 42%; }
.cmp td { color: var(--hero-muted); }
.cmp td.no { color: #6E7A86; }
.cmp tbody tr:hover td { background: rgba(29, 58, 77, 0.25); }

/* Catalog */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.cat { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; scroll-margin-top: 90px; }
.cat h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; }
.cat > p { color: var(--muted); margin: 8px 0 0; font-size: 15px; }
.inslist { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ins { display: inline-flex; align-items: center; gap: 6px; background: #1F3528; border: 1px solid #2E5A40; color: var(--ink); border-radius: 7px; padding: 4px 9px; font-size: 13.5px; }
.ins.pro { background: var(--sunk); border-color: var(--line); color: var(--hero-muted); }
.ins .lock { font-size: 10.5px; font-weight: 800; color: var(--heads); border: 1px solid currentColor; border-radius: 999px; padding: 0 5px; }
.ins .setup { font-size: 10.5px; font-weight: 700; color: var(--watch); }
.catkey { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); font-size: 14px; align-items: center; }
.catkey .ins { pointer-events: none; }
.jump { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; }
.jump a { color: var(--link); font-size: 14px; font-weight: 600; text-decoration: none; }
@media (max-width: 900px) { .cats { grid-template-columns: minmax(0, 1fr); } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* What kind of app, in the first second */
.kind { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px; font-size: 17px; font-weight: 700; color: var(--ok); }
.kind i { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(127, 212, 160, 0.18); flex: none; }
/* Phone top bar: logo, status, sound and the button on one row; page links scroll below */
@media (max-width: 760px) {
  .nav { column-gap: 8px; }
  .nav .btn.small { margin-left: auto; padding: 0 12px; }
  .soundbtn { margin-right: 0; }
}
@media (max-width: 440px) {
  .brand span { font-size: 16px; }
  .netstate { display: none; }
}
.foot .tagline { color: var(--muted); font-weight: 500; font-size: 14px; margin-left: 4px; padding-left: 12px; border-left: 1px solid var(--line); }

/* "Seen this screen in the movies": the dashboard wall */
.movie { background: radial-gradient(70% 60% at 50% 70%, rgba(29, 58, 77, 0.6), transparent 70%), var(--bg); overflow: hidden; }
.movie h2 { font-size: clamp(30px, 4vw, 48px); max-width: 22ch; }
.stage { margin-top: 30px; perspective: 1600px; }
.wall { background: #0B1117; border: 1px solid #2C5068; border-radius: 16px; padding: 14px; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(140, 196, 222, 0.08), 0 0 80px rgba(127, 212, 160, 0.08); transform: rotateX(8deg) scale(.98); transform-origin: 50% 0; transition: transform .8s ease; position: relative; }
.wall::after { content: ""; position: absolute; inset: 0; border-radius: 16px; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 3px); }
.movie:hover .wall { transform: rotateX(2deg) scale(1); }
@media (prefers-reduced-motion: reduce) { .wall { transform: none; transition: none; } }
.wallbar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 4px 6px 12px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--hero-muted); }
.wb-l { display: inline-flex; align-items: center; gap: 8px; color: var(--ok); }
.wb-l i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: glow 2.6s ease-in-out infinite; }
.wgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.wt { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px 8px; min-height: 118px; display: flex; flex-direction: column; }
.wt.is-watch { box-shadow: inset 0 3px 0 #F2B45A; background: linear-gradient(#2A2212, var(--surface) 48px); }
.wt.is-alert { box-shadow: inset 0 3px 0 #FF8A80; background: linear-gradient(#3A1C1C, var(--surface) 48px); }
.wt.is-back { box-shadow: inset 0 3px 0 #7FD4A0; background: linear-gradient(#173323, var(--surface) 48px); }
.wt.is-heads { box-shadow: inset 0 3px 0 #7DB6D3; background: linear-gradient(#192F3B, var(--surface) 48px); }
.wth { display: flex; justify-content: space-between; gap: 6px; font-size: 12px; font-weight: 700; color: var(--muted); }
.wth span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wst { flex: none; font-size: 11.5px; }
.wv { font-size: clamp(18px, 1.8vw, 24px); font-weight: 750; margin-top: 6px; line-height: 1.15; }
.wm { font-size: 12px; color: var(--muted); margin-top: 2px; }
.spk { width: 100%; height: 26px; margin-top: auto; padding-top: 6px; opacity: .9; }
@media (max-width: 900px) { .wgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .wall { transform: none; } }
@media (max-width: 620px) { .wgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wt:nth-child(n+9) { display: none; } .wallbar { font-size: 11px; } }
.plan .orline { margin: 4px 0 0; }
.price b { font-size: 40px; }
.localnote { margin: 14px 0 0; padding: 12px 16px; border: 1px solid var(--hero-line); border-radius: 10px; background: rgba(29, 58, 77, 0.35); color: var(--hero-muted); max-width: 820px; }
.localnote b { color: var(--ink); }

/* Hide Google Translate's leftover popup, which the CSP leaves unstyled */
#goog-gt-tt, #goog-gt-vt, .goog-te-balloon-frame, .goog-tooltip, .VIpgJd-yAWNEb-L7lbkb, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf, .VIpgJd-ZVi9od-aZ2wEe-OiiCO { display: none !important; }

/* Live strip: the app's instrument icons */
.stat { position: relative; }
.stat .sico { position: absolute; top: 16px; right: 16px; width: 30px; height: 30px; fill: none; stroke: #4F86A6; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .9; transition: stroke .3s ease; }
.stat.st-watch .sico { stroke: var(--watch); } .stat.st-alert .sico { stroke: var(--alert); } .stat.st-noresp .sico { stroke: var(--noresp); }
.stat .num { padding-right: 40px; }

/* Places that matter */
.usegrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.usegrid article { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.usegrid p { color: var(--muted); margin: 8px 0 0; }
.uico { width: 30px; height: 30px; fill: none; stroke: var(--ok); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 10px; }
.planline { margin-top: 16px; }
@media (max-width: 1000px) { .usegrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .usegrid { grid-template-columns: minmax(0, 1fr); } }

.still { margin: 26px 0 34px; position: relative; border-radius: 16px; overflow: hidden; border: 1px solid #2C5068; box-shadow: 0 40px 90px rgba(0, 0, 0, 0.55), 0 0 80px rgba(127, 212, 160, 0.06); }
.still img { display: block; width: 100%; height: auto; }
.still::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(11, 17, 23, 0.55)); pointer-events: none; }
.still figcaption { position: absolute; right: 12px; bottom: 10px; z-index: 1; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: rgba(232, 240, 245, 0.6); }
.runit { font-size: clamp(26px, 3.4vw, 40px); margin: 0 0 6px; }
@media (max-width: 600px) { .still { margin: 18px -4px 26px; border-radius: 12px; } }

/* Keep the page still while data arrives */
.sfoot .sample { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 600px) { .stat .det { min-height: 2.8em; } }
@media (max-width: 600px) { .livehead { min-height: 4.25rem; } }

.quote .newsline { margin: 26px auto 0; max-width: 40ch; font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }

/* Who it's for: each group is a real button that shows what the app watches for it */
.chips.who .chip { font: inherit; font-size: 14.5px; font-weight: 600; color: var(--hero-muted); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; cursor: pointer; transition: border-color .2s, color .2s, background .2s; }
.chips.who .chip:hover { border-color: #3F6F8C; color: var(--ink); }
.chips.who .chip[aria-pressed="true"] { border-color: var(--ok); color: var(--ink); background: #173323; }
.chips.who .chip:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.whofor { margin: 18px 0 0; min-height: 3.2em; font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 72ch; }
.whofor b { color: var(--ink); }
@media (max-width: 600px) { .whofor { min-height: 4.6em; } }

/* Instruments: plain lists in a two-column grid, lighter than a wall of chips */
.cats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 860px) { .cats { grid-template-columns: minmax(0, 1fr); } }
.cat h3 .gn { font-weight: 700; }
.clist { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.clist.pro { color: var(--hero-muted); margin-top: 8px; }
.clist .clab { display: inline-block; margin-right: 8px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
.clist.pro .clab { color: var(--heads); }
.clist .setup { white-space: nowrap; margin-left: 3px; font-size: 10.5px; font-weight: 700; color: var(--watch); vertical-align: super; }
.catkey2 { list-style: none; padding: 0; margin: 16px 0 22px; font-size: 14.5px; color: var(--muted); display: grid; gap: 4px; }
.catkey2 b { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-right: 2px; }
.catkey2 .k1 { color: var(--ok); } .catkey2 .k2 { color: var(--heads); } .catkey2 .k3 { color: var(--watch); text-transform: none; letter-spacing: 0; }
/* "save 37%" reads on both states: a dark green pill when its button is selected (light), plain green when not */
.billpick button[aria-pressed="true"] .save { color: #0F3D24; background: #BDEBCF; padding: 2px 7px; border-radius: 999px; }

/* ---------- Starooda mark ---------- */
.logo .loop, .biglogo .loop, .oldiagram .loop { fill: none; stroke: #8CC4DE; stroke-opacity: .85; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.comet { fill: var(--ok); filter: drop-shadow(0 0 2px rgba(127, 212, 160, 0.9)); }
.orbit { transform-box: view-box; transform-origin: 32px 32px; animation: orbit 9s linear infinite; }
.orbit.off { display: none; }
.biglogo .orbit { animation-duration: 6s; }
@keyframes orbit { to { transform: rotate(360deg); } }
.brand .say { font-weight: 500; color: var(--muted); font-size: 13px; }
@media (prefers-reduced-motion: reduce) { .orbit { animation: none; } }

/* ---------- OODA loop section ---------- */
.oloop { background: radial-gradient(60% 70% at 30% 50%, rgba(29, 58, 77, 0.55), transparent 70%), var(--bg); }
.olwrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-areas: "copy copy" "dia steps"; gap: 28px 56px; align-items: center; }
.olcopy { grid-area: copy; max-width: 760px; }
.olcopy h2 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -0.02em; margin: 6px 0 12px; }
.olcopy .sub b { color: var(--ink); }
.oldiagram { grid-area: dia; margin: 0; justify-self: center; width: min(100%, 420px); }
.oldiagram svg { display: block; width: 100%; height: auto; overflow: visible; }
.olring { fill: none; stroke: #2C5068; stroke-width: 2; stroke-dasharray: 2 7; stroke-linecap: round; }
.olsweep { fill: none; stroke: var(--ok); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 22 78; transform-box: view-box; transform-origin: 160px 160px; transform: rotate(-169deg); animation: sweep 16s linear infinite; filter: drop-shadow(0 0 6px rgba(127, 212, 160, 0.6)); }
@keyframes sweep { to { stroke-dashoffset: -100; } }
.olnode circle { fill: #0F161D; stroke: #3F6F8C; stroke-width: 2; transition: fill .4s, stroke .4s; }
.olnode text { fill: var(--muted); font: 700 22px/1 Inter, system-ui, sans-serif; text-anchor: middle; }
.olnode { animation: litnode 16s linear infinite; }
.olnode.n2 { animation-delay: 4s; } .olnode.n3 { animation-delay: 8s; } .olnode.n4 { animation-delay: 12s; }
@keyframes litnode { 0%, 22% { filter: drop-shadow(0 0 10px rgba(127, 212, 160, 0.75)); } 25%, 100% { filter: none; } }
.olnode circle { animation: litc 16s linear infinite; animation-delay: inherit; }
.olnode text { animation: litt 16s linear infinite; animation-delay: inherit; }
@keyframes litc { 0%, 22% { fill: #173a2c; stroke: var(--ok); } 25%, 100% { fill: #0F161D; stroke: #3F6F8C; } }
@keyframes litt { 0%, 22% { fill: #fff; } 25%, 100% { fill: var(--muted); } }
.olsteps { grid-area: steps; list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.olsteps li { border: 1px solid #22394a; background: rgba(15, 22, 29, 0.6); border-radius: 14px; padding: 14px 18px 15px; animation: lits 16s linear infinite; }
.olsteps .s2 { animation-delay: 4s; } .olsteps .s3 { animation-delay: 8s; } .olsteps .s4 { animation-delay: 12s; }
@keyframes lits { 0%, 22% { border-color: rgba(127, 212, 160, 0.7); background: rgba(23, 58, 44, 0.45); } 25%, 100% { border-color: #22394a; background: rgba(15, 22, 29, 0.6); } }
.olk { display: block; font-weight: 800; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ok); margin-bottom: 4px; }
.olsteps p { margin: 0; color: var(--hero-muted, var(--muted)); font-size: 15.5px; line-height: 1.5; }
.olsteps p b { color: var(--ink); }
@media (max-width: 900px) {
  .olwrap { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "dia" "steps"; gap: 22px; }
  .oldiagram { width: min(78%, 320px); }
}
/* Hero: sources as star sightings, drawn one at a time */
.chart .lop { animation: draw 1.3s cubic-bezier(.3, .7, .3, 1) forwards; }
.chart .lop:nth-child(1) { animation-delay: .2s; } .chart .lop:nth-child(2) { animation-delay: 1.2s; } .chart .lop:nth-child(3) { animation-delay: 2.2s; }
.chart .srclbl { opacity: 0; animation: pop .6s ease forwards; transition: opacity .45s ease; }
.chart .srclbl[data-i="0"] { animation-delay: .2s; } .chart .srclbl[data-i="1"] { animation-delay: 1.2s; } .chart .srclbl[data-i="2"] { animation-delay: 2.2s; }
.chart .srcstar { transform-box: view-box; }
.chart .srcstar[data-i="0"] { transform-origin: 70px 52px; } .chart .srcstar[data-i="1"] { transform-origin: 470px 68px; } .chart .srcstar[data-i="2"] { transform-origin: 262px 22px; }
.chart .lop.refire { animation: refire 1.3s cubic-bezier(.3, .7, .3, 1) forwards; }
@keyframes refire { from { stroke-dashoffset: 520; } to { stroke-dashoffset: 0; } }
.chart .srclbl.fade { opacity: 0 !important; animation: none; }
.chart .srclbl.shown { opacity: 1; animation: none; }
.chart .srclbl { transform-box: fill-box; transform-origin: left center; }
.chart .srclbl[text-anchor="end"] { transform-origin: right center; }
.chart .srclbl.popin { animation: popin .5s cubic-bezier(.3, 1.5, .5, 1); }
@keyframes popin { 0% { opacity: 0; transform: scale(.7); } 60% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
.chart .srcstar.flare { animation: popstar .55s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes popstar { 0% { transform: scale(1); } 30% { transform: scale(1.5); } 55% { transform: scale(.82); } 78% { transform: scale(1.08); } 100% { transform: scale(1); } }
.chart .arrive { fill: none; stroke: var(--ok); stroke-width: 2.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.chart .arrive.go { animation: arrive 1.1s cubic-bezier(.2, .7, .3, 1); }
.chart .arrive.go2 { animation: arrive 1.1s cubic-bezier(.2, .7, .3, 1) .18s; }
@keyframes arrive { 0% { opacity: .95; transform: scale(.6); } 100% { opacity: 0; transform: scale(5); } }
.chart .pin.hit { animation: hit .6s ease-out; }
@keyframes hit { 0% { filter: none; } 25% { filter: drop-shadow(0 0 10px rgba(127, 212, 160, 1)) brightness(1.6); } 100% { filter: none; } }
@media (prefers-reduced-motion: reduce) { .chart .srclbl { opacity: 1; animation: none; } .chart .lop.refire, .chart .srcstar.flare { animation: none; } }

.chart .lop.hot { stroke-width: 3.4; filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.45)); }
.sitrep { --acc: var(--ok); }
.sitrep.synced::before { content: ""; position: absolute; left: 14px; right: 14px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; background: var(--acc); }
.sitrep::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; opacity: 0; box-shadow: 0 0 0 2px var(--acc), 0 0 30px var(--acc); }
.sitrep.flash::after { animation: cardflash 1.3s ease-out; }
@keyframes cardflash { 0% { opacity: 0; } 20% { opacity: .9; } 100% { opacity: 0; } }
.sitrep.synced .sample { color: var(--acc); }
@media (prefers-reduced-motion: reduce) { .sitrep.flash::after { animation: none; } }

/* Headline, then the parts of news you won't get, crossed out */
.hero h1 { font-size: clamp(34px, 4.6vw, 52px); }
.struck { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 13px; }
.struck li { font-size: clamp(16px, 1.35vw, 17.5px); font-weight: 600; color: var(--muted); }
.struck s { text-decoration: none; position: relative; display: inline-block; }
.struck s::after { content: ""; position: absolute; left: -3px; right: -3px; top: 52%; height: 2px; border-radius: 2px; background: #FF8A80; transform: scaleX(0); transform-origin: left center; animation: strike .45s cubic-bezier(.4, 0, .2, 1) forwards; }
.struck li:nth-child(1) s::after { animation-delay: .5s; } .struck li:nth-child(2) s::after { animation-delay: .7s; } .struck li:nth-child(3) s::after { animation-delay: .9s; }
.struck li:nth-child(4) s::after { animation-delay: 1.1s; } .struck li:nth-child(5) s::after { animation-delay: 1.3s; } .struck li:nth-child(6) s::after { animation-delay: 1.5s; }
@keyframes strike { to { transform: scaleX(1); } }
.justline { margin: 14px 0 0; text-wrap: balance; font-size: clamp(17px, 1.5vw, 19px); font-weight: 700; color: var(--ink); }
.hero .lead { margin-top: 14px; }
@media (prefers-reduced-motion: reduce) { .struck s::after { animation: none; transform: none; } }

/* A small twinkling star leads the OODA line */
.kstar { width: 18px; height: 18px; flex: none; fill: #EAF7EF; overflow: visible; filter: drop-shadow(0 0 4px rgba(127, 212, 160, 0.9)) drop-shadow(0 0 10px rgba(127, 212, 160, 0.5)); transform-origin: center; animation: kstar 3.6s ease-in-out infinite; }
@keyframes kstar { 0%, 100% { transform: scale(.82) rotate(0deg); opacity: .8; } 45% { transform: scale(1.12) rotate(12deg); opacity: 1; } 60% { transform: scale(.95) rotate(8deg); opacity: .9; } }
.tagline:has(.kstar) { display: inline-flex; align-items: center; gap: 8px; }
.tagline .kstar { width: 14px; height: 14px; }
.brand .say { white-space: nowrap; }
@media (max-width: 600px) { .foot .brand { flex-wrap: wrap; row-gap: 8px; } .foot .tagline { flex-basis: 100%; margin-left: 0; padding-left: 0; border-left: 0; } }
@media (prefers-reduced-motion: reduce) { .kstar { animation: none; } }

/* The same night sky, lighter, at the top of every other page */
.pagehead { position: relative; overflow: hidden; background: radial-gradient(70% 90% at 70% 0%, #16304A 0%, #0D1B2C 55%, var(--bg) 100%); }
.pagehead > :not(.sky3) { position: relative; z-index: 1; }
.sky3 { position: absolute; inset: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 55%, transparent 100%); }
.sky3 svg { width: 100%; height: 100%; display: block; }

/* A sparser, stiller sky over the places you watch */
.uses { position: relative; overflow: hidden; background: radial-gradient(80% 70% at 50% 0%, #13263A 0%, rgba(15, 22, 29, 0) 70%), var(--bg); }
.uses > :not(.sky2) { position: relative; z-index: 1; }
.sky2 { position: absolute; inset: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 100%); }
.sky2 svg { width: 100%; height: 100%; display: block; }

/* The ground under the sky: faint contour lines behind the closing section */
.final { position: relative; overflow: hidden; }
.final > :not(.ground) { position: relative; z-index: 1; }
.ground { position: absolute; inset: 0; z-index: 0; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%); }
.ground svg { width: 100%; height: 100%; display: block; }
.ground path { stroke: rgba(127, 212, 160, 0.07); stroke-width: 1.1; }
.ground path.ix { stroke: rgba(127, 212, 160, 0.13); stroke-width: 1.4; }

/* Night sky behind the opening section */
.hero { position: relative; overflow: hidden; background: radial-gradient(70% 80% at 72% 40%, #16304A 0%, #0D1B2C 55%, #0A1320 100%); }
.hero > :not(.sky) { position: relative; z-index: 1; }
.sky { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.sky svg { width: 100%; height: 100%; display: block; }
.sky::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 19, 32, 0.78) 0%, rgba(10, 19, 32, 0.35) 42%, rgba(10, 19, 32, 0) 60%), linear-gradient(180deg, rgba(15, 22, 29, 0) 70%, var(--bg) 100%); }
.sky .tw { animation: twinkle 5s ease-in-out infinite; }
.sky .t1 { animation-duration: 6.5s; animation-delay: 1s; } .sky .t2 { animation-duration: 7.5s; animation-delay: 2.2s; } .sky .t3 { animation-duration: 5.5s; animation-delay: 3.1s; } .sky .t4 { animation-duration: 8s; animation-delay: .6s; }
@keyframes twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@media (max-width: 900px) { .sky::after { background: linear-gradient(180deg, rgba(10, 19, 32, 0.55) 0%, rgba(10, 19, 32, 0.25) 45%, rgba(15, 22, 29, 0) 70%, var(--bg) 100%); } }
@media (prefers-reduced-motion: reduce) { .sky .tw { animation: none; } }
.hero .chart { background: rgba(8, 16, 28, 0.35); }
.fix.acquired .chart .fixsub { opacity: 0; transition: opacity .6s ease 1.2s; }

/* One app-style card that follows the lines */
.appcard { position: relative; margin: 0 auto; width: min(400px, calc(100% - 36px)); background: #1B2530; border: 1px solid #2E3B48; border-radius: 12px; padding: 16px 18px 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); overflow: hidden; transition: background .5s; }
.appcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: transparent; transition: background .5s; }
.appcard.is-watch { background: linear-gradient(#3A2A10, #1B2530 72px); } .appcard.is-watch::before { background: var(--watch); }
.appcard.is-alert { background: linear-gradient(#3E1E1E, #1B2530 72px); } .appcard.is-alert::before { background: var(--alert); }
.appcard.is-heads { background: linear-gradient(#192F3B, #1B2530 72px); } .appcard.is-heads::before { background: #7DB6D3; }
.acbody, .acfoot { transition: opacity .35s ease; }
.appcard.swap .acbody, .appcard.swap .acfoot { opacity: 0; }
.achead { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.acname { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.acpill { font-size: 13px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.acpill.ok { color: var(--ok); background: #173323; } .acpill.watch { color: var(--watch); background: #4A3412; }
.acpill.alert { color: var(--alert); background: #4A2121; } .acpill.heads { color: #8CC4DE; background: #1E3A4A; }
.achl { margin: 10px 0 0; font-size: 21px; font-weight: 700; line-height: 1.25; color: var(--ink); letter-spacing: -0.01em; }
.acsub { margin: 6px 0 0; font-size: 14.5px; color: var(--muted); line-height: 1.4; }
.acfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.acsrc { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acdet { color: var(--link); font-weight: 700; }
@media (max-width: 600px) { .appcard { margin: 0 10px; width: auto; } }
/* The link from the fix to the card */
.chart .fixdrop { stroke: rgba(127, 212, 160, 0.5); stroke-width: 1.6; stroke-dasharray: 2 5; stroke-linecap: round; opacity: 0; transition: opacity .6s; }
.fix.acquired .chart .fixdrop { opacity: 1; }
.chart .dropdot { fill: var(--ok); opacity: 0; filter: drop-shadow(0 0 4px rgba(127, 212, 160, 0.9)); }
.chart .dropdot.go { animation: dropdot .5s ease-in forwards; }
@keyframes dropdot { 0% { opacity: 1; transform: translateY(0); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateY(146px); } }
.fixlink, .appcard { left: 1.54%; } /* the fix sits at 268 of 520 across the chart */
.fixlink { position: relative; width: 2px; height: 18px; margin: 0 auto; background: repeating-linear-gradient(180deg, rgba(127, 212, 160, 0.5) 0 2px, transparent 2px 7px); }
.fixlink.go { animation: linkflash .5s ease-out; }
@keyframes linkflash { 0% { background: var(--ok); box-shadow: 0 0 8px var(--ok); } 100% { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .chart .dropdot.go, .fixlink.go { animation: none; } }
@media (prefers-reduced-motion: reduce) { .appcard, .acbody, .acfoot { transition: none; } }

/* After the first run the loop rests, so the lines are the only motion */
.hloop.quiet .hlarc { stroke: #2C5068; }
.hloop.quiet .hnode { opacity: .55; transition: opacity 1s; }
.hloop.quiet .hnode circle { fill: #0F161D; stroke: #3F6F8C; filter: none; }
.hloop.quiet .hnode text { fill: var(--muted); }

/* The animated OODA mark */
.mk { overflow: visible; display: block; }
.mk .loop { fill: none; stroke: #8CC4DE; stroke-opacity: .85; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.mk .node, .mk .center { fill: #fff; transform-box: fill-box; transform-origin: center; }
.mk .glow { fill: var(--ok); opacity: .4; }
.mk .here { fill: var(--ok); }
.mk .comet { fill: var(--ok); filter: drop-shadow(0 0 2px rgba(127, 212, 160, 0.9)); }
.mk .orbit { transform-origin: 32px 32px; animation: none; } /* the header logo's endless CSS orbit must not run under the OODA sequence */
.mk .oline { stroke: var(--ok); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; }
.mk .pulse { fill: none; stroke: var(--ok); stroke-width: 2; vector-effect: non-scaling-stroke; opacity: 0; transform-origin: 32px 32px; }
.markfig { width: min(78%, 300px); padding: 28px; }
.markfig .mk { width: 100%; height: auto; }
.olsteps li { animation: none !important; transition: border-color .4s, background .4s; }
.olsteps li.lit { border-color: rgba(127, 212, 160, 0.7); background: rgba(23, 58, 44, 0.45); }
.gatelogo { width: 96px; margin: 0 auto; }
.gatelogo .mk { width: 100%; height: auto; }

/* Hero: the compass ring is the OODA loop */
.hlarc { fill: none; stroke: #2C5068; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: stroke .6s; }
.hnode circle { fill: #0F161D; stroke: #3F6F8C; stroke-width: 1.6; transition: fill .5s, stroke .5s, filter .5s; }
.hnode text { fill: var(--hero-muted); font: 700 12px/1 Inter, system-ui, sans-serif; text-anchor: middle; transition: fill .5s; }
.hnode.on circle { fill: #173a2c; stroke: var(--ok); filter: drop-shadow(0 0 6px rgba(127, 212, 160, 0.8)); }
.hnode.on text { fill: #fff; }
.hnode.done circle { stroke: rgba(127, 212, 160, 0.55); }
.hnode.done text { fill: var(--ink); }
.hloop.full .hlarc { stroke: rgba(127, 212, 160, 0.45); }
.fixcap { margin: 12px 2px 0; font-size: 13.5px; color: var(--hero-muted, var(--muted)); }
.fixcap b { color: var(--ink); font-weight: 600; }
.minifix .mlops line { stroke-dasharray: 160; stroke-dashoffset: 0; }
.mglow { opacity: .22; }
@media (prefers-reduced-motion: reduce) { .olsweep, .olnode, .olnode circle, .olnode text, .olsteps li { animation: none; } }

/* The feed, reversed */
.reversed { background: radial-gradient(60% 60% at 75% 40%, rgba(29, 58, 77, 0.45), transparent 70%), var(--bg); }
.revgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 26px; }
.revcol { margin: 0; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 20px; background: rgba(15, 22, 29, 0.6); }
.revcol svg { display: block; width: 100%; height: auto; max-height: 230px; overflow: visible; }
.revcol figcaption { margin-top: 10px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.revcol figcaption b { color: var(--ink); }
.rays path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 5 7; }
.them .rays path { stroke: rgba(255, 138, 128, 0.55); animation: flowout 1.6s linear infinite; }
.us .rays path { stroke: rgba(127, 212, 160, 0.7); animation: flowin 1.6s linear infinite; }
@keyframes flowout { to { stroke-dashoffset: -24; } }
@keyframes flowin { to { stroke-dashoffset: -24; } }
.revcol .tags text { font: 600 12.5px Inter, system-ui, sans-serif; fill: var(--muted); text-anchor: middle; }
.them .tags text { fill: rgba(255, 170, 160, 0.85); }
.us .tags text { fill: #A9DDBE; }
.revcol .you { fill: #1B2530; stroke: #3F6F8C; stroke-width: 2; }
.them .you { stroke: rgba(255, 138, 128, 0.8); }
.us .you { stroke: var(--ok); }
.us .youdot { fill: var(--ok); }
.us .srcs circle { fill: #EAF1FF; }
.revlines { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.revlines li { color: var(--muted); font-size: 15.5px; line-height: 1.5; border-top: 2px solid #2E5A40; padding-top: 12px; }
.revlines b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 4px; }
@media (max-width: 860px) { .revgrid, .revlines { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .rays path { animation: none; } }

/* Gate: the invitation page */
.gatebody { min-height: 100vh; background: radial-gradient(70% 80% at 60% 35%, #16304A 0%, #0D1B2C 55%, #0A1320 100%); position: relative; overflow-x: hidden; }
.gatebody > .sky { position: fixed; }
.gatebody > .sky::after { background: radial-gradient(60% 60% at 50% 50%, rgba(10, 19, 32, 0.55), rgba(10, 19, 32, 0) 70%); }
.gate { position: relative; z-index: 1; min-height: 100vh; display: grid; place-items: center; padding: 40px 20px; }
.gatebox { width: min(560px, 100%); text-align: center; }
.gatelogo .loop { fill: none; stroke: #8CC4DE; stroke-opacity: .85; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.gatename { margin: 10px 0 0; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.gatename span { font-size: 14px; font-weight: 500; color: var(--muted); }
.gatebox .kind { justify-content: center; margin-top: 18px; }
.gatebox h1 { font-size: clamp(30px, 5vw, 44px); line-height: 1.1; margin: 14px 0 0; text-wrap: balance; }
.gatelead { display: grid; }
.gatelead .gl { grid-area: 1 / 1; opacity: 0; transition: opacity .7s ease; }
.gatelead .gl.on { opacity: 1; transition-delay: .5s; }
.gatelead { margin: 14px auto 0; max-width: 44ch; color: var(--hero-muted, var(--muted)); font-size: 17px; line-height: 1.5; }
.gateform { margin: 30px auto 0; max-width: 440px; text-align: left; }
.gateform label { display: block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ok); margin-bottom: 8px; }
.gaterow { display: flex; gap: 8px; }
.gaterow input { flex: 1 1 auto; min-width: 0; min-height: 46px; padding: 0 14px; border-radius: 8px; border: 1px solid #2E3B48; background: rgba(15, 22, 29, 0.8); color: var(--ink); font: inherit; font-size: 16px; }
.gaterow input:focus { outline: 2px solid var(--ok); outline-offset: 1px; border-color: transparent; }
.gatewrong { margin: 10px 0 0; color: #FF8A80; font-size: 14.5px; }
.gatefoot { margin-top: 28px; font-size: 14px; color: var(--muted); }
.gatefoot a { color: var(--link); }
@media (max-width: 440px) { .gaterow { flex-direction: column; } }
