:root {
  --bg: #06121b;
  --panel: #0b1e2b;
  --panel-2: #102a3a;
  --line: #24465b;
  --text: #e8f2f5;
  --muted: #9cb5c2;
  --ice: #7bdff2;
  --change: #ffb454;
  --vessel: #ff6b7a;
  --accent: #83f3c7;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: var(--ice); text-underline-offset: 3px; }
a:hover { color: white; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 20; background: white; color: black; padding: .6rem; }
.demo-banner {
  background: #f3c667;
  color: #251b04;
  padding: .48rem 1rem;
  text-align: center;
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .04em;
}
.site-header { border-bottom: 1px solid var(--line); background: rgba(6,18,27,.96); position: sticky; top: 0; z-index: 10; }
.nav { max-width: var(--max); margin: auto; min-height: 66px; padding: 0 1.25rem; display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; }
.brand { color: var(--text); text-decoration: none; font-weight: 780; letter-spacing: -.02em; }
.brand small { color: var(--muted); display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; }
.nav-links { display: flex; flex-wrap: wrap; gap: .9rem; font-size: .88rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a[aria-current="page"], .nav-links a:hover { color: white; }
main { display: block; }
.wrap { max-width: var(--max); margin: auto; padding: 0 1.25rem; }
.hero { padding: clamp(4rem, 8vw, 7.5rem) 0 3.5rem; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 74% 15%, #11384b 0, transparent 34%); }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-weight: 750; font-size: .76rem; }
h1 { font-size: clamp(2.7rem, 7vw, 5.9rem); line-height: .98; letter-spacing: -.055em; margin: .6rem 0 1.4rem; max-width: 900px; }
h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 1rem; }
h3 { line-height: 1.2; }
.lede { color: #c6d9e2; max-width: 760px; font-size: clamp(1.08rem, 2vw, 1.33rem); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.button { display: inline-block; color: #052017; background: var(--accent); padding: .7rem 1rem; border-radius: 4px; text-decoration: none; font-weight: 760; }
.button.secondary { background: transparent; border: 1px solid var(--line); color: var(--text); }
.section { padding: 4rem 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--line); padding: 1.25rem; border-radius: 8px; }
.card p:last-child { margin-bottom: 0; }
.card .kicker { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.card.change { border-top: 4px solid var(--change); }
.card.ice { border-top: 4px solid var(--ice); }
.card.vessel { border-top: 4px solid var(--vessel); }
.stat { font-size: 2.3rem; font-weight: 780; line-height: 1; margin: .5rem 0; letter-spacing: -.04em; }
.note { border-left: 3px solid var(--accent); padding: .1rem 0 .1rem 1rem; color: #c7d8df; }
.warning { border-left-color: var(--change); }
.map-shell { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.map { width: 100%; height: min(68vh, 650px); min-height: 440px; background: #081925; }
.map-copy { padding: 1rem 1.2rem; color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.legend { display: flex; gap: .9rem; flex-wrap: wrap; }
.legend span::before { content: ""; display: inline-block; width: .72rem; height: .72rem; margin-right: .36rem; border-radius: 50%; background: var(--legend); }
.fallback { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.chart { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.chart svg { width: 100%; height: auto; display: block; }
.prose { max-width: 790px; }
.prose h2 { margin-top: 2.6rem; }
.prose li { margin-bottom: .45rem; }
.meta-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.meta-table th, .meta-table td { padding: .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.meta-table th { color: var(--muted); width: 30%; }
code { color: #b4ffdf; background: #061018; padding: .1rem .3rem; border-radius: 3px; }
.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 3rem; color: var(--muted); font-size: .88rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 800px) {
  .grid, .grid.two { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; padding-top: .75rem; padding-bottom: .75rem; }
  .nav-links { justify-content: flex-end; gap: .55rem .8rem; }
  .map { min-height: 390px; }
}
@media (max-width: 540px) {
  .nav { display: block; }
  .nav-links { margin-top: .55rem; justify-content: flex-start; }
  h1 { font-size: 2.75rem; }
  .section { padding: 3rem 0; }
}

