/* SkyToolbox "Clear sky" design system. Light only, mobile-first. */
:root {
  --ink: #0b1220;
  --ink-2: #344054;
  --muted: #5b6475;
  --faint: #8a93a3;
  --line: #eef0f3;
  --line-2: #e1e5ec;
  --surface: #f7f8fa;
  --white: #ffffff;
  --accent: #2563eb;
  --accent-ink: #1d4ed8;
  --accent-bg: #eff4ff;
  --green: #15803d; --green-bg: #f0fdf4; --green-dot: #22c55e; --green-ring: #dcfce7;
  --amber: #b45309; --amber-bg: #fffbeb; --amber-dot: #f59e0b; --amber-ring: #fef3c7;
  --red: #b91c1c; --red-bg: #fef2f2; --red-dot: #ef4444; --red-ring: #fee2e2;
  --vfr: #15803d; --mvfr: #1d4ed8; --ifr: #b91c1c; --lifr: #a21caf;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 8px 24px rgba(16, 24, 40, .06);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--white); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(37, 99, 235, .45); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.6rem); margin-top: 1.8em; }
h3 { font-size: 1.1rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code { font: .9em ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface); border-radius: 6px; padding: 1px 5px; word-break: break-word; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lede { font-size: 1.125rem; color: var(--muted); line-height: 1.6; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
@media (max-width: 480px) { .wrap { padding: 0 16px; } }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); }
.head-row { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; margin-right: auto; }
.brand:hover { color: var(--ink); text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); display: grid; place-items: center; flex: none; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a { color: var(--muted); font-weight: 500; font-size: .94rem; padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { color: var(--ink); background: var(--surface); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--surface); }
.main-nav .nav-only-sm { display: none; }
.head-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--white); color: var(--ink); cursor: pointer; place-items: center; padding: 0; }
.pro-tag { display: inline-block; background: var(--accent-bg); color: var(--accent-ink); font-size: .72rem; font-weight: 600; padding: 2px 7px; border-radius: 999px; vertical-align: 1px; }
@media (max-width: 900px) {
  .menu-btn { display: grid; }
  .main-nav { display: none; position: absolute; left: -20px; right: -20px; top: 64px; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 8px 16px 16px; box-shadow: 0 16px 24px rgba(16, 24, 40, .08); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; font-size: 1rem; }
  .main-nav .nav-only-sm { display: block; }
  .head-actions .hide-sm { display: none; }
}
@media (max-width: 480px) { .main-nav { left: -16px; right: -16px; } }

/* ---------- buttons + forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid var(--ink); background: var(--ink); color: var(--white); font: 600 .95rem/1.2 var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; }
.btn:hover { background: #1d2939; color: var(--white); text-decoration: none; }
.btn-primary { background: var(--accent); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-danger { background: var(--red); border-color: var(--red); }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: .875rem; }
.btn-big { min-height: 52px; padding: 12px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }
label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: 6px; color: var(--ink-2); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=search], select, textarea {
  width: 100%; min-height: 44px; font: 16px/1.4 var(--font); color: var(--ink); background: var(--white);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 12px;
}
input[type=date] { appearance: none; -webkit-appearance: none; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
textarea { min-height: 96px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }
.field { margin-bottom: 16px; }
.hint { font-size: .8rem; color: var(--muted); margin: 5px 0 0; }
.grid-2, .grid-3 { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .94rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.check span { flex: 1; min-width: 0; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); margin: 16px 0 0; background: var(--green-bg); color: var(--green); font-weight: 500; }
.flash-err { background: var(--red-bg); color: var(--red); }

/* ---------- cards + pills ---------- */
.card, .panel, .tool, .plan { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
@media (max-width: 480px) { .card, .panel, .tool, .plan { padding: 18px; } }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.pill-pass { background: var(--green-bg); color: var(--green); }
.pill-marginal { background: var(--amber-bg); color: var(--amber); }
.pill-fail { background: var(--red-bg); color: var(--red); }
.pill-info { background: var(--surface); color: var(--muted); }
.fltcat { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 6px; color: #fff; background: var(--muted); }
.fltcat-VFR { background: var(--vfr); } .fltcat-MVFR { background: var(--mvfr); } .fltcat-IFR { background: var(--ifr); } .fltcat-LIFR { background: var(--lifr); }
.badge-soft { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: .82rem; color: var(--muted); background: var(--white); }
.badge-soft i { width: 7px; height: 7px; border-radius: 50%; background: var(--green-dot); }

/* ---------- hero + search ---------- */
.hero { padding: 56px 0 24px; text-align: center; }
.hero h1 { max-width: 16ch; margin: 18px auto 14px; }
.hero .lede { max-width: 36rem; margin: 0 auto 28px; }
.hero-left { text-align: left; padding-top: 28px; }
.hero-left h1, .hero-left .lede { margin-left: 0; max-width: 40rem; }
.hero-left .gng { margin-left: 0; }
@media (max-width: 600px) { .hero { padding: 32px 0 16px; } .hero-left { padding-top: 16px; } }
.gng { max-width: 640px; margin: 0 auto; text-align: left; }
.search { position: relative; display: flex; gap: 8px; background: var(--white); border: 1px solid var(--line-2); border-radius: 16px; padding: 8px; box-shadow: var(--shadow); }
.search:focus-within { border-color: var(--accent); }
.search input { flex: 1; min-width: 0; border: 0; box-shadow: none; min-height: 48px; padding: 8px 10px; font: 600 1.25rem/1 var(--font); letter-spacing: .03em; background: transparent; }
.search input:focus { box-shadow: none; }
.search input::placeholder { color: var(--faint); font-weight: 500; letter-spacing: 0; font-size: 1.05rem; }
.search .btn { min-height: 48px; padding: 0 22px; border-radius: 11px; }
@media (max-width: 400px) { .search .btn { padding: 0 16px; } .search input { font-size: 1.1rem; } }
.ac { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--white); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: var(--shadow); list-style: none; margin: 0; padding: 6px; max-height: 320px; overflow: auto; }
.ac[hidden] { display: none; }
.ac li { display: flex; gap: 12px; align-items: baseline; padding: 11px 12px; border-radius: 10px; cursor: pointer; min-width: 0; }
.ac li[aria-selected="true"], .ac li:hover { background: var(--surface); }
.ac b { font-weight: 700; flex: none; min-width: 3.4em; }
.ac span { color: var(--muted); font-size: .9rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.route { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
.route[hidden] { display: none; }
.route input { font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.route label { font-size: .8rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid transparent; color: var(--ink-2); font: 500 .85rem/1 var(--font); cursor: pointer; }
.chip:hover { border-color: var(--line-2); color: var(--ink); text-decoration: none; }
.chip b { font-weight: 600; }
.chip-accent { background: var(--accent-bg); color: var(--accent-ink); }
.chips-label { font-size: .8rem; color: var(--muted); }
.seg { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 3px; }
.seg button { min-height: 32px; border: 0; background: transparent; padding: 4px 12px; border-radius: 999px; font: 500 .85rem var(--font); color: var(--muted); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .1); }
.mins-panel { margin-top: 12px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-align: left; }
.mins-panel[hidden] { display: none; }
.mins-panel h2 { font-size: 1rem; margin: 0 0 4px; }
.mins-panel .hint { margin: 0 0 14px; }
.mins-panel details { margin: 0 0 10px; }
.mins-panel summary { cursor: pointer; font-weight: 600; font-size: .9rem; padding: 8px 0; color: var(--accent); }
.mins-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.upsell { background: var(--accent-bg); color: var(--ink-2); border-radius: 12px; padding: 12px 14px; font-size: .9rem; margin: 12px 0 0; }
.upsell a { font-weight: 600; }

/* ---------- result / verdict ---------- */
.result { max-width: 760px; margin: 28px auto 0; text-align: left; }
.hero-left .result { margin-left: 0; }
.result-loading { text-align: center; color: var(--muted); padding: 24px; }
.station { background: var(--white); border: 1px solid var(--line); border-radius: 20px; margin-bottom: 20px; overflow: hidden; }
.st-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 24px; align-items: start; }
.st-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: .875rem; color: var(--muted); }
.st-meta b { color: var(--ink); font-weight: 600; }
.verdict-word { display: flex; align-items: center; gap: 16px; margin: 14px 0 6px; font-size: clamp(2.4rem, 8vw, 3.25rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.verdict-word::before { content: ""; width: 14px; height: 14px; border-radius: 50%; flex: none; }
.v-GO .verdict-word { color: var(--green); } .v-GO .verdict-word::before { background: var(--green-dot); box-shadow: 0 0 0 7px var(--green-ring); }
.v-MARGINAL .verdict-word { color: var(--amber); } .v-MARGINAL .verdict-word::before { background: var(--amber-dot); box-shadow: 0 0 0 7px var(--amber-ring); }
.v-NO-GO .verdict-word { color: var(--red); } .v-NO-GO .verdict-word::before { background: var(--red-dot); box-shadow: 0 0 0 7px var(--red-ring); }
.v-sub { color: var(--muted); margin: 10px 0 0; }
.v-warn { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; font-size: .9rem; font-weight: 500; }
.v-warn-fail { background: var(--red-bg); color: var(--red); }
.v-warn-marginal { background: var(--amber-bg); color: var(--amber); }
.wind-dia { width: 132px; height: 150px; }
@media (max-width: 560px) { .st-top { grid-template-columns: minmax(0, 1fr); padding: 20px; } .wind-dia { width: 116px; height: 132px; } }
.checks { list-style: none; margin: 0; padding: 0 24px; border-top: 1px solid var(--line); }
@media (max-width: 560px) { .checks { padding: 0 20px; } }
.chk { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.chk:last-child { border-bottom: 0; }
.chk-name { font-weight: 600; font-size: .95rem; }
.chk-right { display: flex; align-items: center; gap: 10px; }
.chk-val { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.chk-sub { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: .82rem; color: var(--muted); }
.chk-sub .bar { flex: 0 1 200px; height: 5px; border-radius: 5px; background: var(--line); overflow: hidden; }
.chk-sub .bar i { display: block; height: 100%; border-radius: 5px; background: var(--green-dot); }
.chk-sub .bar i.b-marginal { background: var(--amber-dot); } .chk-sub .bar i.b-fail { background: var(--red-dot); }
.chk-note { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); margin: 0; }
.raw { padding: 20px 24px 24px; border-top: 1px solid var(--line); background: var(--surface); }
@media (max-width: 560px) { .raw { padding: 18px 20px; } }
.raw h3 { font-size: .95rem; margin: 18px 0 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.raw h3:first-child { margin-top: 0; }
.raw code, .code { display: block; white-space: pre-wrap; word-break: break-word; font-size: .82rem; line-height: 1.5; background: var(--white); border: 1px solid var(--line); padding: 10px 12px; border-radius: 10px; }
.raw details { margin-top: 10px; }
.raw summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--accent); padding: 8px 0; }
.taf-list { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--line); border-radius: 12px; }
.taf-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; padding: 10px 12px; border-bottom: 1px solid var(--line); font-size: .85rem; align-items: center; }
.taf-list li:last-child { border-bottom: 0; }
.taf-list .t { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.taf-list .why { color: var(--muted); }
@media (max-width: 480px) { .taf-list li { grid-template-columns: minmax(0, 1fr) auto; } .taf-list .why { grid-column: 1 / -1; } }
.error-box { background: var(--red-bg); color: var(--red); border-radius: 14px; padding: 14px 16px; font-size: .95rem; margin-bottom: 16px; }
.disclaimer-box { font-size: .82rem; color: var(--muted); text-align: center; max-width: 560px; margin: 8px auto 0; }
.decode-list { list-style: none; padding: 0; margin: 10px 0 0; }
.decode-list li { display: grid; grid-template-columns: minmax(80px, 150px) minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.decode-list code { background: transparent; padding: 0; font-weight: 600; color: var(--accent-ink); word-break: break-all; }
@media (max-width: 420px) { .decode-list li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* ---------- sections ---------- */
.band { padding: 56px 0; border-top: 1px solid var(--line); }
@media (max-width: 600px) { .band { padding: 40px 0; } }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--muted); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.features .card h3 { margin: 14px 0 6px; }
.features .card p { color: var(--muted); margin: 0; font-size: .95rem; }
.icon-box { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-bg); color: var(--accent); display: grid; place-items: center; }
@media (max-width: 820px) { .features { grid-template-columns: minmax(0, 1fr); } }
.tile-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tile-grid > li > a { display: block; height: 100%; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: var(--white); }
.tile-grid > li > a:hover { border-color: var(--line-2); box-shadow: var(--shadow); text-decoration: none; }
.tile-title { display: block; font-weight: 600; letter-spacing: -.01em; }
.tile-sub { display: block; color: var(--muted); font-size: .88rem; margin-top: 4px; }
.tile-code { display: inline-block; font-weight: 700; color: var(--accent-ink); margin-right: 6px; }
@media (max-width: 480px) { .tile-grid { grid-template-columns: minmax(0, 1fr); } }
.state-jump { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; margin: 16px 0 8px; -webkit-overflow-scrolling: touch; }
.state-jump a { flex: none; }
.state-group { padding-top: 28px; }
.state-group h2 { font-size: 1.15rem; margin: 0 0 12px; }
.crumbs { padding-top: 20px; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.page-head { padding: 28px 0 8px; }
.page-head h1 { margin-bottom: 10px; }
.page-head .lede { max-width: 44rem; }

/* ---------- airport page ---------- */
.ap-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; align-items: start; padding: 40px 0; border-top: 1px solid var(--line); margin-top: 32px; }
.ap-side { position: sticky; top: 84px; display: grid; gap: 16px; }
@media (max-width: 960px) { .ap-cols { grid-template-columns: minmax(0, 1fr); gap: 24px; } .ap-side { position: static; } }
.ap-main > h2:first-child { margin-top: 0; }
.side-h { font-size: 1rem; margin: 0 0 6px; }
.near-list { list-style: none; padding: 0; margin: 10px 0 0; }
.near-list li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.near-list a { font-weight: 600; }
.stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; }
.stat { background: var(--surface); border-radius: 12px; padding: 12px 14px; min-width: 0; }
.stat small { display: block; color: var(--muted); font-size: .78rem; }
.stat b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.table-scroll { overflow-x: auto; margin: 0 0 16px; border: 1px solid var(--line); border-radius: 14px; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th { font-size: .78rem; color: var(--muted); font-weight: 600; background: var(--surface); }
.warn-cell { color: var(--amber); font-weight: 600; }

/* ---------- prose + guides ---------- */
.prose { max-width: 70ch; }
.prose p, .prose li { color: var(--ink-2); line-height: 1.75; }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { font-size: .78rem; color: var(--muted); background: var(--surface); }
.prose-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; margin: 0 0 1.4em; -webkit-overflow-scrolling: touch; }
.prose-table table { margin: 0; min-width: 480px; }
.guide-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; align-items: start; padding: 8px 0 40px; }
.guide-layout > .toc-desktop { position: sticky; top: 92px; }
@media (max-width: 1023px) { .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } .toc-desktop { display: none; } }
.guide-head { padding: 12px 0 20px; max-width: 760px; }
.guide-head h1 { font-size: clamp(1.9rem, 5vw, 2.75rem); }
.guide-meta { color: var(--muted); font-size: .88rem; margin: 0; }
.guide-body > h2:first-child { margin-top: 0; }
.toc { font-size: .88rem; }
.toc-title { font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: 6px 0 6px 14px; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
.toc li a:hover { color: var(--ink); border-left-color: var(--accent); text-decoration: none; }
details.toc-mobile { border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; margin: 0 0 24px; }
details.toc-mobile summary { cursor: pointer; font-weight: 600; min-height: 48px; display: flex; align-items: center; }
details.toc-mobile ol { margin-bottom: 12px; }
@media (min-width: 1024px) { details.toc-mobile { display: none; } }
.callout { background: var(--accent-bg); border-radius: 14px; padding: 16px 18px; margin: 1.6em 0; color: var(--ink-2); }
.faq dt { font-weight: 600; margin-top: 1.2em; }
.faq dd { margin: .35em 0 0; color: var(--ink-2); }

/* ---------- tools ---------- */
.tool { margin: 20px 0 32px; }
.out { margin-top: 18px; }
.out-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.out-grid > div { background: var(--surface); border-radius: 12px; padding: 14px 16px; min-width: 0; }
.lab { font-size: .8rem; color: var(--muted); }
.big-num { font-size: 1.9rem; font-weight: 700; letter-spacing: -.03em; font-variant-numeric: tabular-nums; line-height: 1.2; }
.conv-row { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0; }
.conv-row:first-child { padding-top: 0; }
.conv-row:last-child { border-bottom: 0; padding-bottom: 0; }
.conv-inputs { display: flex; gap: 8px; flex-wrap: wrap; }
.conv-inputs input { flex: 1 1 140px; max-width: 200px; }
.conv-inputs select { width: auto; flex: 0 1 auto; max-width: 100%; }
.conv-out { margin: 10px 0 0; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0; }
@media (max-width: 760px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { display: flex; flex-direction: column; }
.plan-pro { border: 2px solid var(--accent); }
.plan h2 { margin: 0; font-size: 1.15rem; }
.price { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; margin: 10px 0 4px; font-variant-numeric: tabular-nums; }
.price span { font-size: 1rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0 22px; flex: 1; }
.ticks li { position: relative; padding: 6px 0 6px 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 12px; width: 12px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.toggle { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 4px; }
.toggle button { min-height: 38px; font: 600 .9rem var(--font); background: transparent; color: var(--muted); border: 0; padding: 6px 16px; border-radius: 999px; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(16, 24, 40, .1); }

/* ---------- account + auth ---------- */
.cards-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
@media (max-width: 860px) { .cards-2 { grid-template-columns: minmax(0, 1fr); } }
.panel h2 { font-size: 1.15rem; margin: 0 0 14px; }
.cur-list { list-style: none; margin: 0; padding: 0; }
.cur-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cur-list li:last-child { border-bottom: 0; }
.cur-name { font-weight: 600; }
.cur-rule, .cur-left { font-size: .8rem; color: var(--muted); }
.cur-date { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.badge { display: inline-block; font-weight: 600; font-size: .75rem; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.badge-current { background: var(--green-bg); color: var(--green); } .badge-due-soon { background: var(--amber-bg); color: var(--amber); }
.badge-expired { background: var(--red-bg); color: var(--red); } .badge-unknown { background: var(--surface); color: var(--muted); }
.auth-wrap { display: grid; place-items: start center; padding: 56px 16px 24px; background: var(--surface); margin-bottom: -56px; padding-bottom: 80px; }
.auth-box { width: 100%; max-width: 420px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
@media (max-width: 480px) { .auth-wrap { padding: 24px 12px 64px; } .auth-box { padding: 22px; } }
.auth-box h1 { font-size: 1.6rem; margin-bottom: 6px; }
.auth-foot { margin-top: 18px; font-size: .9rem; color: var(--muted); }
.auth-foot p { margin: 0 0 6px; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }

/* ---------- footer, consent, ads ---------- */
.site-foot { background: var(--surface); border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-grid h3 { font-size: .85rem; margin: 0 0 10px; letter-spacing: 0; }
.foot-grid nav { display: flex; flex-direction: column; gap: 2px; }
.foot-grid nav a { color: var(--muted); font-size: .9rem; padding: 5px 0; }
.foot-grid nav a:hover { color: var(--ink); }
.foot-brand p { color: var(--muted); font-size: .9rem; max-width: 30ch; }
@media (max-width: 820px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }
.disclaimer-line { font-size: .8rem; color: var(--muted); border-top: 1px solid var(--line-2); padding-top: 18px; margin-top: 28px; max-width: 90ch; }
.consent { position: fixed; left: 12px; right: 12px; bottom: 12px; max-width: 520px; margin: 0 auto; z-index: 60; background: var(--white); border: 1px solid var(--line-2); border-radius: 16px; padding: 16px; box-shadow: 0 12px 40px rgba(16, 24, 40, .16); }
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; font-size: .9rem; color: var(--ink-2); }
.consent-btns { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.ad { margin: 24px 0; min-height: 90px; text-align: center; }
@media (prefers-reduced-motion: no-preference) {
  .station.reveal .verdict-word { animation: vin .4s ease-out; }
  @keyframes vin { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
