/* Forecast Raven — a naturalist's field atlas. Light theme only. */
:root {
  --paper: #F8F5EE;
  --paper-2: #EFEAE0;
  --card: #FFFFFF;
  --ink: #14161C;
  --body: #33373F;
  --muted: #4B4F58;
  --hairline: #D9D2C3;
  --hairline-2: #ECE6DA;
  --sheen: #3C4A8C;
  --accent: #FFC400;
  --warm: #C8432B;
  --cold: #2F6DB5;
  --dry: #6B4FA0;
  --display: 'Fraunces', Georgia, serif;
  --sans: 'Overpass', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Overpass Mono', ui-monospace, Menlo, monospace;
  --gutter: 32px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.55; overflow-x: hidden; }
a { color: var(--sheen); }
a:hover { color: var(--ink); }
img, svg { max-width: 100%; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--sheen); outline-offset: 3px; }
[hidden] { display: none !important; }
.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; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 10; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; color: var(--paper); }

/* SVG accent hooks: the accent is the one tweakable color */
.acc { fill: var(--accent); }
.acc-stroke { stroke: var(--accent); }

/* ---------- layout and type ---------- */
.wrap { max-width: 1320px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.display { font-family: var(--display); font-variation-settings: 'opsz' 144; }
.h2 { font-family: var(--display); font-variation-settings: 'opsz' 144; font-size: clamp(38px, 5vw, 56px); line-height: 1.02; font-weight: 800; letter-spacing: -0.03em; }
.h2 em, .h1 em { font-style: italic; font-weight: 600; color: var(--sheen); }
.h2--lg { font-size: clamp(40px, 5.6vw, 64px); line-height: 1; letter-spacing: -0.035em; }
.h2--xl { font-size: clamp(44px, 6.4vw, 72px); line-height: 1; letter-spacing: -0.035em; }
.kicker { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.label { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: 19px; line-height: 1.55; color: var(--body); }
.muted { color: var(--muted); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sec-head--center { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.sec-head--center .lede { max-width: 640px; }
.stack { display: flex; flex-direction: column; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 2px solid var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none; cursor: pointer; background: var(--card); color: var(--ink); transition: background-color .15s, color .15s; }
.btn:hover { color: var(--ink); background: var(--paper-2); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #2A2E38; color: var(--paper); }
.btn--line { background: transparent; }
.btn--lg { min-height: 58px; padding: 16px 28px; font-size: 18px; }
.btn--sm { min-height: 46px; padding: 10px 18px; font-size: 15px; }
.btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.btn[aria-pressed="true"]:hover { background: #2A2E38; color: var(--paper); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 2; border-bottom: 1px solid var(--hairline); background: var(--paper); }
.site-header .wrap { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-word .top { font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); }
.brand-word .name { font-family: var(--display); font-variation-settings: 'opsz' 144; font-size: 32px; font-weight: 800; letter-spacing: -0.01em; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 26px; font-size: 16px; font-weight: 600; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.main-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.main-nav a.btn { padding: 12px 20px; text-decoration: none; }
.main-nav a.btn--ink, .main-nav a.btn--ink:hover, .header-cta, .header-cta:hover { color: var(--paper); }
.header-cta { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { padding-top: 56px; padding-bottom: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.hero-copy { position: relative; z-index: 1; flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 26px; }
.kicker-row { display: flex; align-items: center; gap: 12px; }
.rule { width: 56px; height: 6px; background: var(--accent); flex: none; }
.h1 { font-family: var(--display); font-variation-settings: 'opsz' 144; font-size: clamp(48px, 6.6vw, 84px); line-height: 0.96; font-weight: 800; letter-spacing: -0.035em; }
.hero-pitch { font-size: 21px; line-height: 1.55; color: var(--body); max-width: 540px; }
.hero-pitch strong { color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.status-strip { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); border-radius: 10px; overflow: hidden; max-width: 560px; background: var(--card); }
.status-strip > div { flex: 1 1 160px; padding: 12px 16px; border-right: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 2px; }
.status-strip > div:last-child { border-right: 0; }
.status-strip .val { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.status-strip .val.mono { font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.pulse-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); border: 1.5px solid var(--ink); flex: none; }
.emblem { flex: 1.25 1 560px; min-width: 0; margin-right: -40px; }
.emblem svg { display: block; width: 100%; height: auto; }

@keyframes glide { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-12px) rotate(-1.2deg); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 196, 0, 0.9); } 50% { box-shadow: 0 0 0 7px rgba(255, 196, 0, 0); } }
@keyframes spin { to { transform: rotate(360deg); } }
.glide { animation: glide 8s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ring { animation: spin 120s linear infinite; transform-box: view-box; transform-origin: 450px 340px; }
.pulse { animation: pulse 2.2s ease-out infinite; }

/* ---------- feather divider and facts ---------- */
.feather-divider { display: flex; align-items: center; gap: 18px; }
.feather-divider > span { flex: 1; height: 1px; background: var(--ink); }
.facts { padding-top: 44px; padding-bottom: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact { padding: 8px 28px; border-left: 1px solid var(--hairline); display: flex; flex-direction: column; gap: 4px; }
.fact:first-child { padding-left: 0; border-left: 0; }
.fact .num { font-family: var(--display); font-size: 58px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.fact .cap { font-size: 16px; color: var(--muted); }

/* ---------- wingbeats ---------- */
.how { padding-top: 88px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 48px; }
.how .h2 { max-width: 680px; }
.how .lede { max-width: 440px; }
.beats { position: relative; }
.beats::before { content: ''; position: absolute; left: 36px; right: 36px; top: 36px; border-top: 2px dashed var(--ink); }
.beats ol { position: relative; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.beats li { display: flex; flex-direction: column; gap: 14px; }
.numeral { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 28px; font-weight: 700; }
.numeral--acc { background: var(--accent); color: var(--ink); border: 2px solid var(--ink); }
.beats h3 { font-family: var(--display); font-size: 28px; font-weight: 700; }
.beats p { font-size: 17px; color: var(--body); }

/* ---------- Huginn and Muninn ---------- */
.band { background: var(--paper-2); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.ravens .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 32px; }
.raven-card { background: var(--card); border: 1px solid var(--ink); border-radius: 16px; padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.raven-card header { display: flex; align-items: flex-end; gap: 20px; }
.raven-card header svg { flex: none; }
.raven-card .who { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.raven-card h3 { font-family: var(--display); font-size: 34px; line-height: 1.05; font-weight: 700; }
.raven-card .map { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--hairline); background: #F4F1EA; }
.raven-card p { font-size: 17px; line-height: 1.6; color: var(--body); }

/* ---------- Ride the current ---------- */
.current { padding-top: 96px; padding-bottom: 24px; display: flex; flex-direction: column; gap: 32px; }
.current .intro { display: flex; flex-direction: column; gap: 14px; max-width: 720px; }
.new-kicker { display: flex; align-items: center; gap: 10px; }
.new-pill { background: var(--accent); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 2px 10px; letter-spacing: 0.14em; }
.picker { display: flex; flex-wrap: wrap; gap: 10px; }
.picker .btn { font-size: 15px; gap: 10px; padding: 10px 18px; }
.swatch { display: inline-block; width: 26px; height: 0; border-top-width: 4px; border-top-style: solid; flex: none; }
.swatch--wcb { border-top-color: var(--warm); border-top-style: solid; }
.swatch--ccb { border-top-color: var(--cold); border-top-style: dashed; }
.swatch--dry { border-top-color: var(--dry); border-top-style: dotted; }
.flight-row { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.frame { margin: 0; border: 1px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--card); }
.frame figcaption, .frame .cap { padding: 12px 18px; border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); }
.frame .cap em { font-style: italic; }
.storm { flex: 1.7 1 560px; min-width: 0; display: flex; flex-direction: column; }
.storm svg { display: block; width: 100%; height: auto; background: #F4F1EA; }
.storm figcaption { margin-top: auto; }
.readout { flex: 1 1 320px; min-width: 0; background: var(--card); border: 2px solid var(--ink); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.readout .now { display: flex; align-items: center; gap: 10px; }
.readout .now .swatch { width: 30px; border-top-width: 5px; }
.readout .sel-name { font-family: var(--display); font-size: 30px; font-weight: 700; line-height: 1.05; }
.readout .sel-desc { font-size: 15px; line-height: 1.5; color: var(--body); }
.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); border-radius: 10px; overflow: hidden; }
.cells > div { background: var(--paper); padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.cells .big { font-family: var(--display); font-size: 28px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.cells .small { font-size: 13px; color: var(--muted); }
.sees { border-left: 5px solid var(--accent); padding: 4px 0 4px 14px; display: flex; flex-direction: column; gap: 4px; }
.sees .phase { font-family: var(--display); font-size: 20px; font-style: italic; line-height: 1.35; }
.scrub { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.scrub label { font-size: 14px; font-weight: 700; }
.scrub input { width: 100%; accent-color: var(--ink); min-height: 32px; }
.profile { padding: 18px 18px 8px; }
.profile .head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 0 6px 6px; }
.profile .head .t { font-family: var(--display); font-size: 22px; font-weight: 700; }
.profile .head .s { font-size: 14px; color: var(--muted); }
.profile svg { display: block; width: 100%; height: auto; }
.globe-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--ink); background: var(--paper); }
.globe-head .t { font-family: var(--display); font-size: 26px; font-weight: 700; }
.globe-head .s { font-size: 15px; color: var(--body); }
.btn-group { display: flex; flex-wrap: wrap; gap: 8px; }
.globe-box { position: relative; height: 580px; background: radial-gradient(circle at 50% 50%, #FFFFFF 0%, var(--paper) 62%, var(--paper-2) 100%); }
.globe-box--tall { height: 660px; }
.globe-map { position: absolute; inset: 0; }
.loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.loading-pill { font-family: var(--mono); font-size: 13px; font-weight: 600; background: var(--card); border: 1px solid var(--ink); border-radius: 999px; padding: 6px 14px; }
.tele-box { position: absolute; left: 20px; bottom: 20px; max-width: calc(100% - 40px); background: rgba(255, 255, 255, 0.95); border: 1px solid var(--ink); border-radius: 12px; padding: 12px 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; font-size: 15px; }
.tele-box .n { display: flex; align-items: center; gap: 8px; font-weight: 800; }
.tele-box .v { font-family: var(--mono); font-weight: 600; font-variant-numeric: tabular-nums; }
.current-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 4px 0; }
.current-foot p { font-size: 15px; line-height: 1.5; color: var(--muted); max-width: 760px; }

/* ---------- Today's flight ---------- */
.flight { padding-top: 96px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; color: var(--body); }
.legend span, .legend-card .rows span { display: flex; align-items: center; gap: 8px; }
.sq { display: inline-block; width: 14px; height: 14px; flex: none; }
.sq--returned { background: var(--ink); }
.sq--in_flight { background: var(--accent); border: 2px solid var(--ink); }
.sq--waiting { background: var(--card); border: 2px solid var(--ink); }
.route-swatch { display: inline-block; width: 22px; height: 0; border-top: 3px dashed var(--sheen); }
.flat-chart { position: absolute; inset: 0; background-color: #E9F0F3; background-image: linear-gradient(to right, rgba(20,22,28,0.09) 1px, transparent 1px), linear-gradient(to bottom, rgba(20,22,28,0.09) 1px, transparent 1px); background-size: calc(100% / 24) calc(100% / 8); }
.flat-chart .eq { position: absolute; left: 0; right: 0; top: 50%; border-top: 1.5px solid rgba(20,22,28,0.4); }
.flat-chart .pin { position: absolute; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 5px; }
.flat-chart .pin .code { font-family: var(--mono); font-size: 11px; font-weight: 600; background: rgba(255,255,255,0.88); padding: 1px 5px; border-radius: 3px; white-space: nowrap; }
.flat-chart .loading-pill { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); }
.legend-card { position: absolute; left: 20px; top: 20px; width: 270px; max-width: calc(100% - 40px); background: rgba(255,255,255,0.95); border: 1px solid var(--ink); border-radius: 14px; padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; }
.legend-card .t { font-family: var(--display); font-size: 22px; font-weight: 700; line-height: 1.1; }
.legend-card .s { font-size: 14px; line-height: 1.45; color: var(--body); }
.legend-card .rows { display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.focus-card { position: absolute; left: 20px; bottom: 20px; width: 320px; max-width: calc(100% - 40px); background: var(--card); border: 2px solid var(--ink); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.focus-card[hidden] { display: none; }
.focus-card .top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.focus-card .code { font-family: var(--mono); font-size: 20px; font-weight: 600; letter-spacing: 0.06em; }
.focus-card .name { font-family: var(--display); font-size: 24px; font-weight: 700; line-height: 1.1; }
.focus-card .why { font-size: 15px; color: var(--body); }
.focus-card .size { font-size: 13px; color: var(--muted); }
.globe-controls { position: absolute; right: 20px; bottom: 40px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.pill { justify-self: start; display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border: 2px solid var(--ink); border-radius: 999px; white-space: nowrap; }
.pill--returned { background: var(--ink); color: #FFFFFF; }
.pill--in_flight { background: var(--accent); color: var(--ink); }
.pill--waiting { background: var(--card); color: var(--ink); }

.manifest { border: 1px solid var(--ink); border-radius: 16px; overflow: hidden; background: var(--card); }
.manifest-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.manifest-head .t { font-family: var(--display); font-size: 26px; font-weight: 700; }
.manifest-head .s { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--muted); }
.manifest-scroll { position: relative; overflow-x: auto; }
.manifest table { width: 100%; min-width: 930px; border-collapse: collapse; }
.manifest th { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--hairline); font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.manifest td { padding: 14px 8px; border-bottom: 1px solid var(--hairline-2); vertical-align: middle; }
.manifest tr > :first-child { padding-left: 24px; }
.manifest tr > :last-child { padding-right: 24px; }
.manifest tbody tr:last-child td { border-bottom: 0; }
.manifest .rank { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--muted); width: 60px; }
.manifest .code { font-family: var(--mono); font-size: 20px; font-weight: 600; letter-spacing: 0.06em; width: 84px; }
.manifest .place .n { display: block; font-size: 17px; font-weight: 800; }
.manifest .place .c { display: block; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: pre; }
.manifest .why { font-size: 15px; line-height: 1.4; color: var(--body); }
.manifest .votes { width: 18%; }
.manifest .votes .n { display: block; font-family: var(--mono); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.bar { display: block; position: relative; height: 6px; border-radius: 3px; background: var(--hairline-2); overflow: hidden; }
.bar > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--ink); border-right: 4px solid var(--accent); transition: width .3s; }
.manifest .vote-btn { min-width: 96px; min-height: 44px; padding: 10px 14px; font-size: 15px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); background: var(--card); color: var(--ink); display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.icon-btn:hover { background: var(--paper-2); }

/* ---------- plates ---------- */
.plates { padding-top: 56px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 40px; }
.plates .h2 { max-width: 700px; }
.plates .lede { max-width: 440px; }
.plate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.plate { background: var(--card); border: 1px solid var(--ink); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 14px; }
.plate svg { display: block; width: 100%; height: auto; border-radius: 6px; background: #F4F1EA; }
.plate figcaption { display: flex; flex-direction: column; gap: 4px; padding: 0 6px 6px; }
.plate .no { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.plate .t { font-family: var(--display); font-size: 24px; font-weight: 700; }
.plate .d { font-size: 15px; line-height: 1.5; color: var(--body); }

/* ---------- the rule ---------- */
.rule-band { background: var(--accent); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.rule-band .wrap { max-width: 1100px; padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.rule-band h2 { font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink); }
.rule-band blockquote { margin: 0; font-family: var(--display); font-size: clamp(28px, 3.6vw, 46px); line-height: 1.15; font-weight: 600; font-style: italic; letter-spacing: -0.015em; color: var(--ink); }

/* ---------- the flock ---------- */
.flock { padding-top: 104px; padding-bottom: 104px; display: flex; flex-direction: column; gap: 56px; }
.flock .lede { max-width: 620px; }
.flock-row { display: flex; flex-wrap: wrap; gap: 32px; align-items: stretch; }
.plan { flex: 1 1 420px; min-width: 0; background: var(--card); border: 2px solid var(--ink); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 26px; }
.plan-top { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.plan-top svg { flex: none; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .n { font-family: var(--display); font-size: 84px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price .per { font-size: 20px; font-weight: 600; color: var(--muted); }
.benefits { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.45; }
.benefits li { display: flex; gap: 14px; align-items: flex-start; }
.benefits svg { flex: none; margin-top: 1px; }
.pool { flex: 1 1 420px; min-width: 0; background: var(--paper-2); border: 1px solid var(--hairline); border-radius: 20px; padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.pool h3 { font-family: var(--display); font-size: 36px; line-height: 1.05; font-weight: 700; }
.pool .ins { display: flex; flex-wrap: wrap; gap: 12px; }
.pool .box { flex: 1 1 160px; background: var(--card); border: 1px solid var(--ink); border-radius: 12px; padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.pool .box .label { font-size: 12px; letter-spacing: 0.12em; }
.pool .box b { font-size: 19px; font-weight: 800; }
.pool .wide { background: var(--card); border: 1px solid var(--ink); border-radius: 12px; padding: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.pool .wide b { font-size: 19px; font-weight: 800; }
.pool .wide span { font-size: 16px; color: var(--body); }
.pool .pot { background: var(--accent); border: 2px solid var(--ink); border-radius: 12px; padding: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
.pool .pot b { font-family: var(--display); font-size: 28px; font-weight: 800; }
.pool .pot span { font-size: 16px; font-weight: 600; }
.pool .note { font-size: 14px; line-height: 1.5; color: var(--muted); }
.arrow-down { display: block; width: 100%; height: 34px; }

/* ---------- footer ---------- */
.site-footer { border-top: 2px solid var(--ink); background: var(--paper); }
.site-footer .wrap { padding-top: 56px; padding-bottom: 36px; display: flex; flex-direction: column; gap: 40px; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.foot-brand { flex: 1 1 320px; display: flex; gap: 18px; align-items: flex-start; max-width: 480px; }
.foot-brand svg { flex: none; }
.foot-brand .n { font-family: var(--display); font-size: 30px; font-weight: 800; }
.foot-brand p { font-size: 16px; line-height: 1.55; color: var(--body); margin-top: 10px; }
.network { flex: 1 1 340px; display: flex; flex-direction: column; gap: 14px; }
.network .links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; font-size: 16px; font-weight: 600; }
.network .links a { padding: 8px 0; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--hairline); font-size: 14px; color: var(--muted); }

/* ---------- MapLibre chrome in the atlas style ---------- */
.maplibregl-ctrl-group { border-radius: 12px !important; border: 1px solid var(--ink); box-shadow: none !important; }
.maplibregl-ctrl-group button { width: 44px !important; height: 44px !important; }
.maplibregl-ctrl-attrib { font-family: var(--sans); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .fact:nth-child(odd) { padding-left: 0; border-left: 0; }
  .beats ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .beats::before { display: none; }
  .emblem { margin-right: 0; }
}
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .site-header .wrap { gap: 6px 10px; padding-bottom: 6px; }
  .header-cta { display: inline-flex; min-height: 44px; padding: 10px 16px; font-size: 15px; }
  .main-nav { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); padding-right: 32px; }
  .main-nav::-webkit-scrollbar { display: none; }
  .main-nav a { white-space: nowrap; }
  .main-nav a.btn { display: none; }
  .kicker { letter-spacing: 0.16em; }
  .status-strip > div { flex: 1 1 0; min-width: 0; padding: 10px 12px; }
  .status-strip .label { letter-spacing: 0.08em; }
  .status-strip .val { font-size: 16px; }
  .hero .wrap { padding-top: 36px; }
  .hero-copy { flex-basis: 100%; }
  .hero-pitch { font-size: 18px; }
  .emblem { flex-basis: 100%; }
  .fact .num { font-size: 42px; }
  .fact { padding: 8px 16px; }
  .beats ol { grid-template-columns: minmax(0, 1fr); }
  .how, .current, .flight, .plates { padding-top: 64px; }
  .ravens .wrap { padding-top: 64px; padding-bottom: 64px; }
  .flock { padding-top: 72px; padding-bottom: 72px; }
  .raven-card, .plan, .pool { padding: 22px; }
  .raven-card header svg { width: 84px; height: 100px; }
  .raven-card h3 { font-size: 28px; }
  .readout { padding: 20px; }
  .cells .big { font-size: 24px; }
  .globe-box, .globe-box--tall { height: 420px; }
  .legend-card { left: 12px; top: 12px; width: auto; max-width: calc(100% - 84px); padding: 12px 14px; }
  .legend-card .t { font-size: 18px; }
  .legend-card .s { display: none; }
  .legend-card .rows { flex-direction: row; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; }
  .focus-card { bottom: 84px; right: 20px; width: auto; }
  .price .n { font-size: 64px; }
  .rule-band .wrap { padding-top: 60px; padding-bottom: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  .glide, .ring, .pulse { animation: none; }
  .bar > span { transition: none; }
}
