@font-face { font-family: Geist; src: url(fonts/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(fonts/geist-mono.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #06080c; --bg2: #0a0d13; --panel: rgba(12, 15, 22, .78); --solid: #0e1219; --line: rgba(255, 255, 255, .09); --line2: rgba(255, 255, 255, .16);
  --ink: #eef1f6; --ink2: #a9b2c3; --ink3: #6f7889; --hot: #ff8f3d; --hot2: #ffb56b; --mag: #d6409f; --vio: #7c5cff; --ok: #4ade80; --bad: #ff6b6b;
  --l0: #5c38b8; --l1: #b0339e; --l2: #ed4a63; --l3: #ff8f3d; --l4: #ffe673;
  --r: 14px; --mono: "Geist Mono", ui-monospace, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: Geist, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.03em; line-height: 1.08; }
p { margin: 0; }
button, input, select { font: inherit; color: inherit; }
.num { font-family: var(--mono); font-feature-settings: "tnum"; letter-spacing: -.02em; }
.hide { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------------------------------------------------------------- shared pieces */
.brand { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; font-weight: 650; font-size: 17px; letter-spacing: -.02em; text-decoration: none; color: var(--ink); }
.mark { width: 22px; height: 22px; border-radius: 50%; position: relative; background: radial-gradient(circle at 30% 50%, #fff 0 2.5px, transparent 3px), conic-gradient(from 200deg at 30% 50%, transparent 0 62deg, rgba(255, 143, 61, .95) 90deg, rgba(214, 64, 159, .75) 130deg, transparent 150deg); box-shadow: inset 0 0 0 1px var(--line2); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 11px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--ink); font-weight: 560; font-size: 15px; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:hover { background: rgba(255, 255, 255, .09); border-color: rgba(255, 255, 255, .26); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: linear-gradient(180deg, #ffa55e, #ff8530); border-color: #ffb877; color: #1a0f05; box-shadow: 0 8px 30px -8px rgba(255, 133, 48, .6), inset 0 1px 0 rgba(255, 255, 255, .45); }
.btn.primary:hover { background: linear-gradient(180deg, #ffb373, #ff9142); }
.btn.small { height: 34px; padding: 0 13px; font-size: 13.5px; border-radius: 9px; }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.quiet { border-color: transparent; background: transparent; color: var(--ink2); }
.btn.quiet:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); font-weight: 560; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; }
.live-dot.wait { background: var(--ink3); animation: none; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .55); } 70% { box-shadow: 0 0 0 9px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-size: 13px; color: var(--ink2); }
input[type=text], input[type=email], input[type=password], input[type=tel], select { height: 46px; padding: 0 14px; border-radius: 11px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); color: var(--ink); outline: none; width: 100%; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus { border-color: var(--hot); box-shadow: 0 0 0 3px rgba(255, 143, 61, .22); }
input::placeholder { color: var(--ink3); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink2) 50%), linear-gradient(135deg, var(--ink2) 50%, transparent 50%); background-position: calc(100% - 18px) 20px, calc(100% - 13px) 20px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
select option { background: #10141c; color: var(--ink); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--hot); flex: none; }
.form-msg { font-size: 14px; min-height: 20px; color: var(--ink2); }
.form-msg.ok { color: var(--ok); }
.form-msg.bad { color: var(--bad); }
.swatch { width: 11px; height: 11px; border-radius: 3px; flex: none; display: inline-block; }
.sw0 { background: var(--l0); } .sw1 { background: var(--l1); } .sw2 { background: var(--l2); } .sw3 { background: var(--l3); } .sw4 { background: var(--l4); }
.maplibregl-ctrl-attrib { background: rgba(8, 10, 15, .7) !important; color: var(--ink3); font-size: 10.5px; }
.maplibregl-ctrl-attrib a { color: var(--ink2); }
.maplibregl-ctrl-attrib-button { filter: invert(1); opacity: .6; }
.origin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff; background: rgba(255, 143, 61, .9); box-shadow: 0 0 0 0 rgba(255, 143, 61, .7); animation: ring 2.2s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255, 143, 61, .7); } 80% { box-shadow: 0 0 0 22px rgba(255, 143, 61, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 143, 61, 0); } }
.pin { width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #fff; border: 2px solid #0b0e14; box-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.pin.lv0 { background: var(--l0); } .pin.lv1 { background: var(--l1); } .pin.lv2 { background: var(--l2); } .pin.lv3 { background: var(--l3); } .pin.lv4 { background: var(--l4); }
.citydot { width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid rgba(8, 10, 15, .9); cursor: pointer; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12); }
.citydot:hover { box-shadow: 0 0 0 7px rgba(255, 143, 61, .35); }

/* ---------------------------------------------------------------- landing */
.strip { background: #11151d; border-bottom: 1px solid var(--line); color: var(--ink2); font-size: 13.5px; text-align: center; padding: 9px 16px; }
.strip b { color: var(--ink); font-weight: 600; }
.top { position: absolute; left: 0; right: 0; z-index: 30; display: flex; align-items: center; gap: 26px; padding: 18px clamp(18px, 4vw, 44px); }
.top nav { display: flex; gap: 24px; margin-left: 14px; flex: 1; }
.top nav a { color: var(--ink2); text-decoration: none; font-size: 14.5px; }
.top nav a:hover { color: var(--ink); }
.top .right { display: flex; gap: 10px; align-items: center; }
.hero { position: relative; height: min(100svh, 980px); min-height: 640px; overflow: hidden; background: #05070a; }
#hero-map { position: absolute; inset: 0; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(5, 7, 10, .93) 0, rgba(5, 7, 10, .72) 30%, rgba(5, 7, 10, .12) 62%, rgba(5, 7, 10, 0) 100%), linear-gradient(180deg, rgba(5, 7, 10, .75) 0, rgba(5, 7, 10, 0) 22%, rgba(5, 7, 10, 0) 70%, var(--bg) 100%); }
.hero-copy { position: absolute; left: clamp(18px, 4vw, 44px); top: 50%; transform: translateY(-52%); max-width: 600px; z-index: 5; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -.05em; margin: 20px 0 22px; }
.hero h1 em { font-style: normal; background: linear-gradient(92deg, #ffd9a8, #ff8f3d 45%, #e2459a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(16px, 1.45vw, 19px); color: var(--ink2); max-width: 520px; }
.cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-read { position: absolute; right: clamp(18px, 4vw, 44px); bottom: 54px; z-index: 5; display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 10px; max-width: 430px; }
.read { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.read small { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-bottom: 4px; }
.read b { font-weight: 560; font-size: 16.5px; letter-spacing: -.02em; }
.hero-clock { position: absolute; left: clamp(18px, 4vw, 44px); bottom: 54px; z-index: 5; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--ink2); }
.hero-clock .num { font-size: 26px; color: var(--ink); }
.hero-bar { width: 190px; height: 3px; background: rgba(255, 255, 255, .14); border-radius: 2px; overflow: hidden; }
.hero-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--hot), var(--mag)); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 44px); }
section.block { padding: clamp(70px, 9vw, 130px) 0; position: relative; overflow: hidden; }
.block h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -.045em; max-width: 780px; }
.block h2 span { color: var(--ink3); }
.block .sub { color: var(--ink2); font-size: 18px; max-width: 640px; margin-top: 18px; }
.grid { display: grid; gap: 16px; }
.g4 { grid-template-columns: repeat(4, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.card { background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: 18px; padding: 24px; position: relative; overflow: hidden; }
.card h3 { font-size: 20px; letter-spacing: -.03em; }
.card p { color: var(--ink2); font-size: 15px; margin-top: 8px; }
.size-card { cursor: pointer; text-decoration: none; display: block; transition: border-color .2s, transform .2s; }
.size-card:hover { border-color: rgba(255, 143, 61, .5); transform: translateY(-3px); }
.size-card .glyph { height: 120px; margin: -4px -4px 14px; position: relative; }
.size-card .glyph i { position: absolute; left: 22%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 230, 115, .95), rgba(255, 143, 61, .55) 38%, rgba(214, 64, 159, .25) 62%, transparent 72%); filter: blur(.4px); }
.size-card .glyph u { position: absolute; left: 22%; top: 50%; height: 2px; transform-origin: 0 50%; background: linear-gradient(90deg, rgba(255, 143, 61, .8), rgba(124, 92, 255, 0)); border-radius: 2px; }
.size-card dl { margin: 16px 0 0; display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; font-size: 13.5px; }
.size-card dt { color: var(--ink3); }
.size-card dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 13px; }
.check-box { margin-top: 38px; display: grid; grid-template-columns: minmax(280px, 420px) 1fr; gap: 22px; align-items: stretch; }
.zip-form { display: flex; gap: 10px; }
.zip-form input { font-family: var(--mono); font-size: 18px; letter-spacing: .08em; }
.result { border: 1px solid var(--line); border-radius: 18px; padding: 24px; background: rgba(255, 255, 255, .025); min-height: 170px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.result .big { font-size: 26px; font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }
.result .muted { color: var(--ink2); font-size: 15px; }
.result .tag { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); }
.steps { counter-reset: s; margin-top: 44px; }
.steps .card::before { counter-increment: s; content: "0" counter(s); font-family: var(--mono); font-size: 13px; color: var(--hot); display: block; margin-bottom: 40px; }
.factors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.factors span { font-size: 13.5px; color: var(--ink2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; background: rgba(255, 255, 255, .025); }
.context { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; margin-top: 40px; }
.quote { font-size: 21px; line-height: 1.4; letter-spacing: -.02em; color: var(--ink); }
.quote + small { display: block; margin-top: 14px; color: var(--ink3); font-size: 13.5px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { padding-left: 22px; position: relative; color: var(--ink2); font-size: 15.5px; }
.facts li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--hot); }
.facts b { color: var(--ink); font-weight: 560; }
.do .card { padding: 30px 26px; }
.do .card b { display: block; font-size: 30px; letter-spacing: -.04em; font-weight: 620; }
.signup { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 10px; }
.signup form { display: grid; gap: 14px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.two { display: grid; grid-template-columns: 1fr 140px; gap: 12px; }
.fine { font-size: 12.5px; color: var(--ink3); line-height: 1.5; }
.fine a { color: var(--ink2); }
.news-list { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: baseline; text-decoration: none; }
.news-item time, .news-item .src { font-size: 13px; color: var(--ink3); font-family: var(--mono); }
.news-item b { font-weight: 520; font-size: 16px; letter-spacing: -.01em; }
.news-item p { color: var(--ink2); font-size: 14.5px; margin-top: 4px; }
a.news-item:hover b { color: var(--hot2); }
.kind { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--hot); margin-right: 8px; }
.empty { color: var(--ink3); padding: 26px 0; font-size: 15px; }
footer.foot { border-top: 1px solid var(--line); padding: 44px 0 60px; color: var(--ink3); font-size: 13.5px; }
.foot .row { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.foot .row a { color: var(--ink2); text-decoration: none; }
.foot .row a:hover { color: var(--ink); }
.foot p { max-width: 760px; }
.glow { position: absolute; width: 760px; height: 760px; border-radius: 50%; filter: blur(90px); opacity: .16; pointer-events: none; background: radial-gradient(circle, var(--hot), transparent 62%); right: -260px; top: -120px; }
.glow.left { left: -320px; right: auto; background: radial-gradient(circle, var(--vio), transparent 62%); }

/* ---------------------------------------------------------------- the map app */
body.app { overflow: hidden; height: 100svh; }
#map { position: fixed; inset: 0; }
.app-top { position: fixed; left: 14px; right: 14px; top: 12px; z-index: 20; display: flex; gap: 10px; align-items: center; pointer-events: none; }
.app-top > * { pointer-events: auto; }
.glass { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2); box-shadow: 0 16px 50px -18px rgba(0, 0, 0, .8); }
.app-top .bar { display: flex; align-items: center; gap: 14px; height: 50px; padding: 0 14px 0 16px; }
.app-top select { height: 34px; border-radius: 9px; font-size: 14px; min-width: 170px; background-position: calc(100% - 15px) 14px, calc(100% - 10px) 14px; }
.app-top .status { font-size: 12.5px; color: var(--ink2); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.app-top .spacer { flex: 1; }
.notice-bar { position: fixed; left: 50%; transform: translateX(-50%); top: 72px; z-index: 19; font-size: 12.5px; color: var(--ink2); padding: 6px 13px; border-radius: 999px; white-space: nowrap; max-width: calc(100vw - 28px); overflow: hidden; text-overflow: ellipsis; }
.notice-bar b { color: var(--ink); font-weight: 560; }
.panel { position: fixed; z-index: 18; top: 112px; width: 318px; max-height: calc(100svh - 230px); overflow: auto; padding: 16px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .2) transparent; }
.panel.left { left: 14px; }
.panel.right { right: 14px; }
.group { margin-bottom: 16px; }
.group > label, .label { display: block; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; color: var(--ink3); margin-bottom: 8px; font-weight: 560; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; background: rgba(255, 255, 255, .05); border-radius: 10px; padding: 3px; }
.seg button { height: 32px; border: 0; border-radius: 8px; background: transparent; color: var(--ink2); font-size: 13px; cursor: pointer; font-weight: 520; }
.seg button:hover { color: var(--ink); }
.seg button.on { background: rgba(255, 255, 255, .13); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); }
.seg button.locked::after { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--hot); margin-left: 5px; vertical-align: 2px; }
.hint { font-size: 12.5px; color: var(--ink3); margin-top: 7px; min-height: 18px; }
.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tog { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line); background: transparent; color: var(--ink2); font-size: 13px; cursor: pointer; }
.tog i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.tog.on { color: var(--ink); border-color: var(--line2); background: rgba(255, 255, 255, .05); }
.tog.on i { background: var(--hot); box-shadow: 0 0 10px var(--hot); }
.headline { font-size: 19px; font-weight: 580; letter-spacing: -.03em; line-height: 1.25; margin-bottom: 4px; }
.headline + p { color: var(--ink2); font-size: 13.5px; }
table.levels { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; }
table.levels th { text-align: right; font-weight: 500; color: var(--ink3); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 0 0 6px; }
table.levels th:first-child { text-align: left; }
table.levels td { padding: 7px 0; border-top: 1px solid var(--line); text-align: right; font-family: var(--mono); font-size: 12.5px; }
table.levels td:first-child { text-align: left; font-family: inherit; font-size: 13px; display: flex; align-items: center; gap: 8px; }
table.levels tr.zero td { color: var(--ink3); }
table.levels td small { display: block; font-size: 11px; color: var(--ink3); font-family: var(--mono); }
table.levels td span { line-height: 1.25; }
.readout .risk { color: var(--ink); border-left: 2px solid var(--hot); padding-left: 10px; }
.met { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.met div { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; }
.met small { display: block; font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink3); }
.met b { font-weight: 540; font-size: 14px; }
.timeline { position: fixed; z-index: 18; left: 50%; transform: translateX(-50%); bottom: 18px; width: min(760px, calc(100vw - 28px)); padding: 12px 16px; display: grid; grid-template-columns: auto auto 1fr auto; gap: 14px; align-items: center; }
.play { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line2); background: rgba(255, 255, 255, .06); cursor: pointer; position: relative; }
.play::before { content: ""; position: absolute; left: 15px; top: 12px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.play.on::before { left: 13px; top: 12px; width: 4px; height: 16px; border: 0; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.tplus { font-family: var(--mono); font-size: 20px; min-width: 104px; }
.tplus small { display: block; font-family: Geist, sans-serif; font-size: 11.5px; color: var(--ink3); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 26px; background: transparent; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--hot) var(--p, 0%), rgba(255, 255, 255, .16) var(--p, 0%)); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .16); }
input[type=range]::-moz-range-progress { height: 4px; border-radius: 2px; background: var(--hot); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%; background: #fff; margin-top: -6px; box-shadow: 0 0 0 4px rgba(255, 143, 61, .3); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 143, 61, .3); }
.speed { font-size: 12px; color: var(--ink3); white-space: nowrap; }
.legend { position: fixed; z-index: 17; left: 346px; bottom: 22px; padding: 10px 12px; font-size: 12px; color: var(--ink2); display: none; }
.readout { position: fixed; z-index: 21; left: 50%; bottom: 96px; transform: translateX(-50%); width: min(430px, calc(100vw - 28px)); padding: 16px 18px; }
.readout .x { position: absolute; right: 8px; top: 6px; border: 0; background: transparent; color: var(--ink3); font-size: 22px; cursor: pointer; line-height: 1; padding: 6px; }
.readout .big { font-size: 20px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; display: flex; gap: 10px; align-items: center; }
.readout p { color: var(--ink2); font-size: 13.5px; margin-top: 6px; }
.readout .rows { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 12px; }
.readout .rows div { border: 1px solid var(--line); border-radius: 9px; padding: 7px 4px; text-align: center; font-size: 11px; color: var(--ink3); }
.readout .rows b { display: block; font-family: var(--mono); font-weight: 500; font-size: 12px; color: var(--ink); margin-top: 2px; }
.readout .acts { display: flex; gap: 8px; margin-top: 12px; }
.place { border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; margin-bottom: 8px; cursor: pointer; }
.place:hover { border-color: var(--line2); }
.place .t { display: flex; align-items: center; gap: 8px; font-weight: 560; font-size: 14.5px; }
.place .t button { margin-left: auto; border: 0; background: transparent; color: var(--ink3); cursor: pointer; font-size: 17px; padding: 0 4px; }
.place p { color: var(--ink2); font-size: 12.5px; margin-top: 4px; }
.addrow { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.addrow input { height: 38px; font-size: 14px; }
.viewbtns { display: flex; gap: 6px; }
.loading { position: fixed; z-index: 40; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 14px 20px; font-size: 14px; color: var(--ink2); display: flex; gap: 12px; align-items: center; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .2); border-top-color: var(--hot); animation: sp .8s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.sheet-tabs { display: none; }

.seg.second { margin-top: 5px; }
.seg.second button { font-size: 12px; }
.week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.wk { border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--ink2); padding: 7px 2px 6px; cursor: pointer; display: grid; justify-items: center; gap: 3px; min-height: 68px; }
.wk:hover { border-color: var(--line2); color: var(--ink); }
.wk.on { border-color: var(--hot); background: rgba(255, 143, 61, .1); color: var(--ink); }
.wk small { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.wk b { font-family: var(--mono); font-weight: 500; font-size: 11px; }
.wk .arrow { width: 18px; height: 18px; display: block; background: linear-gradient(180deg, var(--hot2), var(--mag)); clip-path: polygon(50% 0, 88% 100%, 50% 74%, 12% 100%); }
.wk .spin { width: 12px; height: 12px; margin: 3px; }
.manage { max-width: 620px; margin: 30px auto 90px; padding: 0 22px; display: grid; gap: 16px; }
.manage h1 { font-size: 38px; margin-bottom: 6px; }

/* ---------------------------------------------------------------- the ER scale */
.rd { display: inline-block; font-family: var(--mono); font-size: 12.5px; font-weight: 600; color: #0b0d12; padding: 3px 9px; border-radius: 7px; white-space: nowrap; }
.tiny { font-size: 10.5px; text-transform: none; letter-spacing: 0; margin-left: 6px; }
.seg.ten button { font-size: 12.5px; font-family: var(--mono); }
.ladder { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin-top: 44px; height: 320px; }
.rung { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; text-decoration: none; }
.rung i { display: block; height: var(--h); min-height: 14px; margin-bottom: 9px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--l4), var(--l3) 28%, var(--l2) 52%, var(--l1) 76%, var(--l0)) bottom / 100% 290px no-repeat; opacity: .6; transition: opacity .2s, transform .2s; }
.rung:hover i { opacity: 1; transform: translateY(-4px); }
.rung.mark7 i { opacity: 1; box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), 0 0 30px -4px rgba(255, 143, 61, .6); }
.rung b { font-family: var(--mono); font-size: 14px; font-weight: 560; }
.rung span { font-size: 12.5px; color: var(--ink2); }
.rung small { font-size: 11px; color: var(--ink3); line-height: 1.3; min-height: 44px; }
.scalepage main { padding-bottom: 90px; }
.sc-head { padding-top: 34px; padding-bottom: 28px; }
.sc-head h1 { font-size: clamp(32px, 4.8vw, 62px); letter-spacing: -.045em; max-width: 1000px; margin: 16px 0 18px; }
.sc-head h1 em { font-style: normal; background: linear-gradient(92deg, #ffd9a8, #ff8f3d 45%, #e2459a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-head .lede { max-width: 780px; }
.sc-live { display: grid; grid-template-columns: 1fr 340px; gap: 16px; align-items: stretch; scroll-margin-top: 16px; }
.sc-map { position: relative; height: min(70svh, 660px); min-height: 430px; overflow: hidden; padding: 0; }
#scale-map { position: absolute; inset: 0; }
.sc-clock { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: flex; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 6px 18px 6px 6px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 16px; }
.sc-side { display: grid; gap: 14px; grid-template-rows: auto 1fr; }
.sc-pick { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; height: 128px; padding: 12px 12px 8px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .025); }
.sc-pick button { height: 100%; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 5px; padding: 0; color: var(--ink3); }
.sc-pick button i { display: block; height: var(--h); border-radius: 5px; background: var(--c); opacity: .45; transition: opacity .15s; }
.sc-pick button b { font-family: var(--mono); font-size: 12px; font-weight: 500; }
.sc-pick button:hover i { opacity: .8; }
.sc-pick button.on { color: var(--ink); }
.sc-pick button.on i { opacity: 1; box-shadow: 0 0 0 2px rgba(255, 255, 255, .8); }
.sc-now h2 { font-size: 27px; margin: 10px 0 8px; }
.sc-now > p { color: var(--ink2); font-size: 15px; }
.sc-now dl, .sc-card dl { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; margin: 16px 0; font-size: 13.5px; }
.sc-now dt, .sc-card dt { color: var(--ink3); }
.sc-now dd, .sc-card dd { margin: 0; text-align: right; font-family: var(--mono); font-size: 13px; }
.block-tight { padding-top: clamp(50px, 6vw, 84px); }
.block-tight h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.04em; }
.block-tight .sub { color: var(--ink2); font-size: 17px; max-width: 780px; margin: 12px 0 22px; }
.block-tight .fine { margin-top: 12px; max-width: 780px; }
.sc-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.sc-table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 660px; }
.sc-table th { text-align: left; font-weight: 500; color: var(--ink3); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.sc-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--ink2); vertical-align: top; }
.sc-table tr:last-child td { border-bottom: 0; }
.sc-table td:nth-child(2) { color: var(--ink); font-weight: 540; white-space: nowrap; }
.sc-table td.num { white-space: nowrap; color: var(--ink); }
.sc-table tr { cursor: pointer; }
.sc-table tr:hover td, .sc-table tr.on td { background: rgba(255, 255, 255, .04); }
.sc-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sc-card { padding: 12px; cursor: pointer; transition: border-color .2s, transform .2s; }
.sc-card:hover { border-color: var(--line2); transform: translateY(-2px); }
.sc-card.on { border-color: var(--hot); }
.sc-pic { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: #0a0d13; border: 1px solid var(--line); }
.sc-thumb { width: 100%; height: 100%; display: block; }
.sc-pic .spin { position: absolute; left: 50%; top: 50%; margin: -8px; }
.sc-cap { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 14.5px; }
.sc-card dl { margin: 10px 0 8px; font-size: 12px; gap: 5px 8px; }
.sc-card dd { font-size: 12px; }
.sc-card .btn { width: 100%; }
.doc-in p { color: var(--ink2); max-width: 800px; }
.doc-in .card p { font-size: 15px; }
.doc-in a { color: var(--hot2); }
.sc-h3 { font-size: 18px; margin: 30px 0 8px; }
@media (max-width: 980px) { .sc-live { grid-template-columns: 1fr; } .sc-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .ladder { grid-template-columns: repeat(5, 1fr); height: auto; row-gap: 24px; } .rung { height: 190px; } }

/* ---------------------------------------------------------------- plain pages */
body.plain { min-height: 100svh; background: radial-gradient(1200px 600px at 80% -10%, rgba(255, 143, 61, .12), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(124, 92, 255, .12), transparent 60%), var(--bg); }
.plain .top { position: static; }
.notice { max-width: 460px; margin: 16vh auto 0; padding: 0 22px; display: grid; gap: 18px; justify-items: start; }
.notice h1 { font-size: 38px; }
.notice p { color: var(--ink2); }
.authbox { max-width: 430px; margin: 7vh auto 60px; padding: 0 20px; }
.authbox h1 { font-size: 36px; margin-bottom: 8px; }
.authbox > p { color: var(--ink2); margin-bottom: 24px; }
.authbox form { display: grid; gap: 14px; }
.authbox .alt { margin-top: 22px; font-size: 14.5px; color: var(--ink2); }
.authbox .alt a, .linkish { color: var(--hot2); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-size: inherit; }
.doc { max-width: 760px; margin: 40px auto 90px; padding: 0 22px; }
.doc h1 { font-size: clamp(36px, 5vw, 54px); margin-bottom: 14px; }
.doc .intro { font-size: 19px; color: var(--ink2); margin-bottom: 34px; }
.doc h2 { font-size: 25px; margin: 44px 0 12px; }
.doc h3 { font-size: 17px; margin: 24px 0 6px; letter-spacing: -.02em; }
.doc p, .doc li { color: var(--ink2); font-size: 16px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; display: grid; gap: 8px; }
.doc b { color: var(--ink); font-weight: 560; }
.doc a { color: var(--hot2); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; }
.doc th, .doc td { text-align: left; padding: 9px 10px 9px 0; border-bottom: 1px solid var(--line); color: var(--ink2); vertical-align: top; }
.doc th { color: var(--ink3); font-weight: 500; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.doc td:first-child { color: var(--ink); white-space: nowrap; }
.acct { max-width: 760px; margin: 30px auto 90px; padding: 0 22px; display: grid; gap: 16px; }
.acct h1 { font-size: 38px; margin-bottom: 6px; }
.acct .card h3 { margin-bottom: 14px; }
.acct .card form { display: grid; gap: 12px; }
.acct .row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pill { font-size: 12px; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line2); color: var(--ink2); }
.pill.ok { color: var(--ok); border-color: rgba(74, 222, 128, .4); }
.pill.warn { color: var(--hot2); border-color: rgba(255, 143, 61, .45); }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 980px) {
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3, .context, .signup, .check-box { grid-template-columns: 1fr; }
  .top nav { display: none; }
  .hero-shade { background: linear-gradient(180deg, rgba(5, 7, 10, .9) 0, rgba(5, 7, 10, .62) 46%, rgba(5, 7, 10, .1) 72%, var(--bg) 100%); }
  .hero { height: auto; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 18px 34px; }
  .hero-copy { position: relative; left: auto; top: auto; transform: none; max-width: 640px; }
  .hero-read { position: relative; left: auto; right: auto; bottom: auto; max-width: none; margin-top: 28px; }
  .hero-clock { position: relative; left: auto; bottom: auto; margin-top: 22px; order: 3; }
  .news-item { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 860px) {
  .panel { top: auto; bottom: 86px; left: 10px !important; right: 10px !important; width: auto; max-height: 46svh; display: none; }
  .panel.open { display: block; }
  .sheet-tabs { display: flex; position: fixed; z-index: 19; left: 10px; top: 70px; gap: 6px; }
  .notice-bar { top: auto; bottom: 150px; display: none; }
  .timeline { grid-template-columns: auto auto 1fr; bottom: 10px; padding: 10px 12px; gap: 10px; }
  .speed { display: none; }
  .tplus { font-size: 17px; min-width: 84px; }
  .app-top .status span.long { display: none; }
  .app-top select { min-width: 0; width: 132px; }
  .viewbtns { display: none; }
  .app-top { left: 10px; right: 10px; gap: 8px; }
  .app-top .bar { padding: 0 10px 0 12px; gap: 10px; }
  .readout { bottom: 86px; }
}
@media (max-width: 560px) {
  .g4, .g2 { grid-template-columns: 1fr; }
  .hero-read { grid-template-columns: 1fr 1fr; }
  .read b { font-size: 14.5px; }
  .two { grid-template-columns: 1fr; }
  .app-top .bar .brand span.word { display: none; }
}
/* ---------------------------------------------------------------- the news page */
.nw { padding-top: 30px; padding-bottom: 80px; max-width: 980px; }
.nw h1 { font-size: clamp(32px, 5vw, 54px); letter-spacing: -.045em; margin: 14px 0; }
.nw h2 { font-size: 22px; margin: 34px 0 10px; }
.nw .lede { max-width: 760px; }
.nw-tools { display: grid; gap: 12px; margin: 26px 0 6px; }
.nw-tools .seg { max-width: 300px; }
.nw-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.nw-chips::-webkit-scrollbar { display: none; }
.nw-chips button { flex: none; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink2); font-size: 13px; cursor: pointer; white-space: nowrap; }
.nw-chips button.on { background: rgba(255, 255, 255, .12); color: var(--ink); border-color: var(--line2); }
.nw h2.nw-day { font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); font-weight: 560; margin: 30px 0 4px; }
.nw-item { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.nw-item b { display: block; font-weight: 520; font-size: 16.5px; line-height: 1.35; letter-spacing: -.01em; }
.nw-item span { display: flex; gap: 10px; align-items: center; margin-top: 6px; font-size: 13px; color: var(--ink3); }
.nw-item i { font-style: normal; color: var(--hot2); font-weight: 540; }
.nw-item:hover b { color: var(--hot2); }
.nw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.nw-outlet h3 { font-size: 17px; margin-bottom: 4px; }
.nw-outlet .nw-item:last-child { border-bottom: 0; padding-bottom: 0; }
.nw-note { margin-top: 30px; max-width: 700px; }
.facts { margin-top: 22px; }
.card .facts { margin-top: 0; }
.sheet-tabs .btn.on { border-color: var(--hot); color: #fff; }

/* ---------------------------------------------------------------- plans and subscribing */
.owner { margin-top: 12px; color: var(--ink2); }
.pill-n { display: inline-block; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; font-weight: 600; color: var(--hot); margin-bottom: 14px; }
.pillars { margin-top: 40px; }
.pillars .card h3 { font-size: 22px; }
.pillars .card p { margin-bottom: 14px; }
.plans { display: grid; grid-template-columns: minmax(240px, 340px) minmax(280px, 460px); gap: 16px; margin-top: 40px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 28px; }
.plan h3 { font-size: 24px; }
.plan .price { margin: 6px 0 4px; color: var(--ink2); }
.plan .price b { font-size: 46px; font-weight: 620; letter-spacing: -.04em; color: var(--ink); }
.plan .price i { display: block; font-style: normal; font-size: 14px; color: var(--ink3); margin-top: 2px; }
.plan .facts { margin: 14px 0 22px; flex: 1; }
.plan.best { border-color: rgba(255, 143, 61, .55); background: linear-gradient(180deg, rgba(255, 143, 61, .10), rgba(255, 255, 255, .02)); box-shadow: 0 30px 80px -40px rgba(255, 133, 48, .5); }
.plan .fine { margin-top: 12px; }
/* Scoped to the subscribe page's main block: plain .sub is the small paragraph used all over the site. */
main.sub { display: grid; grid-template-columns: 1fr minmax(320px, 460px); gap: 44px; align-items: start; padding-top: 38px; padding-bottom: 90px; }
main.sub h1 { font-size: clamp(32px, 4.4vw, 54px); letter-spacing: -.045em; margin: 16px 0 6px; }
.sub-left .facts { margin: 26px 0 22px; }
.sub-left .fine { margin-top: 10px; max-width: 520px; }
.sub-box form { display: grid; gap: 14px; }
.sub-box #sub-account { display: grid; gap: 14px; }
.sub-box h3 { margin-bottom: 8px; }
.sub-box .row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.plan-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pp { cursor: pointer; }
.pp input { position: absolute; opacity: 0; pointer-events: none; }
.pp span { display: grid; gap: 2px; padding: 13px 14px; border: 1px solid var(--line2); border-radius: 12px; height: 100%; }
.pp b { font-size: 15px; font-weight: 580; }
.pp i { font-style: normal; font-family: var(--mono); font-size: 14px; color: var(--ink); }
.pp small { font-size: 12px; color: var(--ink3); }
.pp input:checked + span { border-color: var(--hot); background: rgba(255, 143, 61, .10); box-shadow: 0 0 0 3px rgba(255, 143, 61, .18); }
.pp input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.place.new { border-color: var(--hot); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } main.sub { grid-template-columns: 1fr; gap: 26px; padding-top: 20px; } }

/* ---------------------------------------------------------------- the subscribe prompt */
.pw { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: rgba(3, 5, 8, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; }
.pw-card { position: relative; width: min(860px, 100%); background: linear-gradient(180deg, #151a24, #0e1219); border: 1px solid rgba(255, 143, 61, .45); border-radius: 22px; padding: clamp(22px, 4vw, 38px); box-shadow: 0 40px 120px -30px rgba(255, 133, 48, .45); }
.pw-card h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -.04em; margin: 12px 0 22px; }
.pw-card .eyebrow { color: var(--hot); }
.pw-x { position: absolute; right: 12px; top: 10px; border: 0; background: transparent; color: var(--ink3); font-size: 26px; line-height: 1; padding: 8px; cursor: pointer; }
.pw-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pw-cols b { display: block; font-size: 12px; letter-spacing: .11em; text-transform: uppercase; color: var(--hot2); margin-bottom: 10px; }
.pw-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pw-cols li { position: relative; padding-left: 18px; font-size: 14.5px; color: var(--ink2); line-height: 1.4; }
.pw-cols li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 2px; background: var(--hot); }
.pw-price { margin-top: 24px; font-size: 17px; color: var(--ink); min-height: 26px; }
.pw-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.wk .lock { width: 14px; height: 11px; margin: 5px 2px 2px; display: block; border-radius: 2px; background: var(--ink3); position: relative; }
.wk .lock::before { content: ""; position: absolute; left: 3px; top: -6px; width: 8px; height: 8px; border: 2px solid var(--ink3); border-bottom: 0; border-radius: 5px 5px 0 0; box-sizing: border-box; }
.wk-mini { display: flex; gap: 3px; margin-top: 8px; }
.wk-mini i { width: 16px; height: 8px; border-radius: 2px; }
.wk-mini .clr { background: rgba(255, 255, 255, .13); }
.seg.shelter { margin-top: 10px; }
.seg.shelter button { font-size: 12px; height: 28px; }
@media (max-width: 720px) { .pw-cols { grid-template-columns: 1fr; gap: 16px; } .pw { place-items: start center; } }

/* ---------------------------------------------------------------- the health page */
.rad { padding-top: 30px; padding-bottom: 90px; }
.rad h1 { font-size: clamp(32px, 4.8vw, 60px); letter-spacing: -.045em; max-width: 1000px; margin: 16px 0 18px; }
.rad h1 em { font-style: normal; background: linear-gradient(92deg, #ffd9a8, #ff8f3d 45%, #e2459a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rad .lede { max-width: 780px; }
.rad-short { margin-top: 34px; }
.rad-short .card h3 { font-size: 21px; line-height: 1.2; }
.rad-sec { margin-top: clamp(50px, 6vw, 84px); }
.rad-sec h2 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.04em; }
.rad-sec > p { color: var(--ink2); max-width: 800px; }
.rad-sec .sub { color: var(--ink2); font-size: 17px; max-width: 780px; margin: 12px 0 22px; }
.rad-sec .card .facts { margin-top: 16px; }
.rad-sec .card .fine { margin-top: 14px; }
.rad-sec .card b { color: var(--ink); }
.rad-ladder { display: grid; gap: 5px; }
.rl { display: grid; grid-template-columns: 104px 1fr; gap: 12px; align-items: center; }
.rl b { text-align: right; font-size: 13.5px; font-weight: 500; color: var(--ink2); }
.rl div { position: relative; min-height: 36px; display: flex; align-items: center; }
.rl i { position: absolute; left: 0; top: 4px; bottom: 4px; border-radius: 6px; background: #2a3348; }
.rl span { position: relative; padding: 0 10px; font-size: 14px; line-height: 1.3; }
.rl.k-guide i, .rad-key .k-guide { background: rgba(255, 143, 61, .42); }
.rl.k-sick i, .rad-key .k-sick { background: rgba(237, 74, 99, .55); }
.rl.k-fatal i, .rad-key .k-fatal { background: rgba(196, 30, 46, .85); }
.rl.k-live i, .rad-key .k-live { background: linear-gradient(90deg, rgba(124, 92, 255, .8), rgba(214, 64, 159, .8)); }
.rl.k-live i { box-shadow: 0 0 0 1px rgba(255, 255, 255, .6); }
.rl.k-live b, .rl.k-live span { color: #fff; font-weight: 560; }
.rad-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font-size: 12.5px; color: var(--ink3); }
.rad-key i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.rad-key .k-plain { background: #2a3348; }
.rad-zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.rz-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rz-head b { font-size: 19px; letter-spacing: -.02em; }
.rz-head span { font-size: 13px; color: var(--ink3); margin-left: auto; text-align: right; }
.rz dl { margin: 12px 0 0; display: grid; gap: 3px; }
.rz dt { font-size: 11px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink3); margin-top: 8px; }
.rz dd { margin: 0; font-size: 14.5px; color: var(--ink); }

/* ---------------------------------------------------------------- phones */
@media (max-width: 860px) {
  .app-top .status #status { display: none; }
  .app-top .bar { height: 46px; }
  .app-top .bar:first-child { flex: 1; min-width: 0; }
  .app-top select { flex: 1; width: auto; min-width: 0; }
  .app-top .spacer { display: none; }
  .maplibregl-ctrl-bottom-right { bottom: 80px; }
  .maplibregl-ctrl-scale { display: none; }
  .panel { bottom: 80px; max-height: 54svh; border-radius: 18px; }
  .sheet-tabs { top: 66px; }
}
@media (max-width: 720px) {
  .top { padding: 14px 16px; gap: 10px; }
  .top .right { margin-left: auto; }
  .strip { font-size: 12.5px; padding: 8px 14px; }
  /* The map gets its own half of the screen and the words sit under it, so nothing is read through place-names. */
  .hero { min-height: 0; padding: 0 16px 30px; justify-content: flex-start; }
  #hero-map { position: relative; inset: auto; height: 50svh; min-height: 320px; margin: 0 -16px; }
  .hero-shade { top: 0; bottom: auto; height: 50svh; min-height: 320px; background: linear-gradient(180deg, rgba(5, 7, 10, .8) 0, rgba(5, 7, 10, 0) 26%, rgba(5, 7, 10, 0) 70%, var(--bg) 100%); }
  .hero-copy { margin-top: 4px; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 46px); margin: 14px 0; }
  .lede { font-size: 16px; }
  .cta { margin-top: 22px; }
  .cta .btn { flex: 1; }
  .hero-clock { position: absolute; left: 16px; top: calc(max(50svh, 320px) - 60px); margin: 0; gap: 10px; font-size: 12px; }
  .hero-clock .num { font-size: 20px; }
  .hero-bar { width: 110px; }
  .hero-read { margin-top: 22px; }
  section.block { padding: 52px 0; }
  .block h2 { font-size: 30px; }
  .block .sub { font-size: 16.5px; margin-top: 14px; }
  .check-box { margin-top: 26px; }
  .result { min-height: 0; padding: 20px; }
  .result .big { font-size: 22px; }
  .steps { margin-top: 28px; }
  .steps .card::before { margin-bottom: 18px; }
  .quote { font-size: 18px; }
  .do .card b { font-size: 26px; }
  .signup { gap: 26px; }
  .signup form { padding: 20px; }
  /* The ladder turns on its side: one class to a row, the bar growing to the right. */
  .ladder { display: block; height: auto; margin-top: 26px; border-top: 1px solid var(--line); }
  .rung { height: auto; display: grid; grid-template-columns: 62px 1fr; grid-template-areas: "b s" "b m" "i i"; column-gap: 10px; row-gap: 1px; padding: 12px 0 13px; border-bottom: 1px solid var(--line); }
  .rung b { grid-area: b; font-size: 15px; align-self: center; }
  .rung span { grid-area: s; font-size: 15px; color: var(--ink); }
  .rung small { grid-area: m; font-size: 13px; min-height: 0; }
  .rung i { grid-area: i; height: 6px; min-height: 0; width: var(--h); margin: 9px 0 0; border-radius: 3px; background: linear-gradient(90deg, var(--l0), var(--l1) 30%, var(--l2) 55%, var(--l3) 78%, var(--l4)) left / 358px 100% no-repeat; opacity: .9; }
  .rung:hover i { transform: none; }
  .rung.mark7 i { box-shadow: 0 0 0 1px rgba(255, 255, 255, .55); }
  /* The scale table becomes a list: class, name and amount on one line, what it means beneath. */
  .sc-table { min-width: 0; display: block; }
  .sc-table tbody { display: block; }
  .sc-table tr { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 10px; align-items: center; padding: 13px 14px; border-bottom: 1px solid var(--line); }
  .sc-table tr:first-child { display: none; }
  .sc-table tr:last-child { border-bottom: 0; }
  .sc-table td { padding: 0; border: 0; }
  .sc-table td:nth-child(4) { grid-column: 1 / -1; font-size: 14px; }
  .sc-table td.num { font-size: 13px; color: var(--ink2); }
  .sc-table tr:hover td, .sc-table tr.on td { background: transparent; }
  .sc-table tr.on { background: rgba(255, 255, 255, .04); }
  .sc-head { padding-top: 22px; padding-bottom: 20px; }
  .sc-map { height: 62svh; min-height: 380px; }
  .sc-cards { gap: 10px; }
  .sc-card { padding: 10px; }
  .block-tight .sub { font-size: 16px; }
  .nw-grid { grid-template-columns: 1fr; }
  .nw-tools .seg { max-width: none; }
  .doc { margin-top: 20px; }
  .doc .intro { font-size: 17px; }
  .doc table { display: block; overflow-x: auto; }
  .authbox { margin-top: 4vh; }
  .foot .row { gap: 14px 18px; }
  .rad-zones { grid-template-columns: 1fr; }
  .rl { grid-template-columns: 78px 1fr; gap: 8px; }
  .rl b { font-size: 12px; }
  .rl span { font-size: 13px; padding: 4px 8px; }
  .rl div { min-height: 40px; }
  .rz-head span { margin-left: 0; text-align: left; flex-basis: 100%; }
  .rad-sec .sub { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; scroll-behavior: auto !important; } }
