/* ============================================================
   Marinate — showcase site design system
   Dark nautical chartplotter aesthetic. Self-contained: no
   external fonts, images, or scripts. See STYLE_GUIDE.md.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Color — from brand facts */
  --navy-950: #071522;          /* deepest water: page bottom, footer */
  --navy-900: #0b1f33;          /* base surface (brand deep navy) */
  --navy-800: #10283f;          /* panel */
  --navy-700: #16334e;          /* raised panel / hover */
  --line: #1e3d5c;              /* hairline borders, contours */
  --line-soft: rgba(30, 61, 92, 0.55);
  --teal: #19b3c6;              /* accent: interaction, links, primary CTA */
  --teal-bright: #3fd0e0;       /* hover / small text on navy (AA) */
  --blue: #2f80ed;              /* secondary accent */
  --blue-bright: #6aa5f2;       /* secondary on dark, small text safe */
  --amber: #f5a623;             /* warnings + safety ONLY */
  --ink: #eaf2f9;               /* primary text */
  --ink-dim: #a9bfd2;           /* secondary text (AA on navy-900/800) */
  --ink-faint: #7d95ab;         /* captions, meta (AA large / borders) */
  --ok: #35c98e;                /* success ticks */
  --danger: #ef5350;            /* MOB / alarm red, decorative + large only */

  /* Type — system stack only */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji";
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  /* Fluid type scale (320px → 1600px) */
  --fs-xs: clamp(0.72rem, 0.7rem + 0.1vw, 0.78rem);
  --fs-sm: clamp(0.84rem, 0.8rem + 0.2vw, 0.94rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --fs-md: clamp(1.12rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-lg: clamp(1.35rem, 1.2rem + 0.8vw, 1.8rem);
  --fs-xl: clamp(1.8rem, 1.5rem + 1.6vw, 2.6rem);
  --fs-hero: clamp(2.2rem, 1.7rem + 2.8vw, 3.7rem);

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: clamp(4rem, 3rem + 5vw, 7rem);   /* section rhythm */

  /* Shape & elevation */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 10px 30px rgba(3, 10, 18, 0.45);
  --shadow-lg: 0 24px 60px rgba(3, 10, 18, 0.6);

  /* Layout */
  --container: 72rem;
  --container-narrow: 46rem;
  --header-h: 4rem;

  /* Signature: depth-contour linework (inline SVG, brand hairlines) */
  --contours: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='600' viewBox='0 0 900 600'%3E%3Cg fill='none' stroke='%231e3d5c' stroke-width='1'%3E%3Cpath d='M-50 520 C 150 430 260 500 450 440 S 760 470 950 380' opacity='.7'/%3E%3Cpath d='M-50 440 C 140 360 300 420 470 360 S 740 390 950 300' opacity='.55'/%3E%3Cpath d='M-50 360 C 160 290 320 340 500 285 S 730 310 950 225' opacity='.4'/%3E%3Cpath d='M-50 285 C 170 225 340 265 520 215 S 720 235 950 155' opacity='.3'/%3E%3Cpath d='M-50 215 C 180 165 350 195 540 150 S 710 165 950 95' opacity='.2'/%3E%3C/g%3E%3C/svg%3E");

  color-scheme: dark;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  margin: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--navy-900);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
input,
button,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
ul,
ol {
  padding-left: 1.25rem;
}
a {
  color: var(--teal-bright);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection {
  background: rgba(25, 179, 198, 0.35);
}

/* ---------- 3. Utilities ---------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}
.container-narrow {
  width: min(100% - 2.5rem, var(--container-narrow));
  margin-inline: auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -3rem;
  left: 1rem;
  z-index: 100;
  background: var(--teal);
  color: var(--navy-950);
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 0.75rem;
  text-decoration: none;
}
.text-center {
  text-align: center;
}
.muted {
  color: var(--ink-dim);
}
.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.mt-3 {
  margin-top: var(--sp-3);
}
.mt-5 {
  margin-top: var(--sp-5);
}
.mt-6 {
  margin-top: var(--sp-6);
}
.justify-center {
  justify-content: center;
}

/* ---------- 4. Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Near-opaque: legible even where backdrop-filter fails to composite */
  background: rgba(11, 31, 51, 0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 30px;
  height: 30px;
}
.site-nav {
  margin-left: auto;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  color: var(--ink-dim);
  font-size: var(--fs-sm);
  font-weight: 500;
  white-space: nowrap;
}
.site-nav a:hover {
  color: var(--ink);
  background: var(--navy-800);
  text-decoration: none;
}
.site-nav a[aria-current="page"] {
  color: var(--teal-bright);
  background: rgba(25, 179, 198, 0.1);
}
.site-nav .nav-cta a {
  color: var(--navy-950);
  background: var(--teal);
  font-weight: 600;
  padding-inline: 0.95rem;
  margin-left: 0.35rem;
}
.site-nav .nav-cta a:hover {
  background: var(--teal-bright);
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.6rem;
  cursor: pointer;
  line-height: 0;
}
/* Comfortable 44px tap target (gloved hands on deck) */
.nav-toggle {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--ink);
}
.nav-toggle .icon-close {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-open {
  display: none;
}
.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

@media (max-width: 62rem) {
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    background: rgb(9, 24, 40); /* opaque: page must not bleed through */
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(3, 10, 18, 0.65);
    padding: var(--sp-3) var(--sp-4) var(--sp-5);
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
  }
  .site-nav a {
    padding: 0.7rem 0.8rem;
    font-size: var(--fs-base);
  }
  .site-nav .nav-cta a {
    text-align: center;
    margin: var(--sp-2) 0 0;
  }
}

/* No-JS fallback: keep nav reachable if site.js fails to load */
.no-js .nav-toggle {
  display: none;
}
@media (max-width: 62rem) {
  .no-js .site-nav {
    display: block;
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0 0 var(--sp-3);
  }
  .no-js .site-header .container {
    flex-wrap: wrap;
  }
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  padding-block: var(--sp-9);
  background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(47, 128, 237, 0.14), transparent 60%),
    radial-gradient(50rem 26rem at 0% 110%, rgba(25, 179, 198, 0.1), transparent 60%),
    var(--contours) right -6rem bottom -8rem / 900px 600px no-repeat,
    var(--navy-900);
}
.hero-inner {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 56rem) {
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
  }
}
.hero h1 {
  font-size: var(--fs-hero);
  letter-spacing: -0.03em;
  margin-bottom: var(--sp-4);
}
.hero .lede {
  font-size: var(--fs-md);
  color: var(--ink-dim);
  max-width: 34em;
  margin-bottom: var(--sp-6);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}
.hero-note {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-faint);
}
/* Compact hero for feature pages */
.hero.hero-sub {
  padding-block: var(--sp-8) var(--sp-7);
}
.hero.hero-sub h1 {
  font-size: var(--fs-xl);
}

/* ---------- 6. Sections & headings ---------- */
.section {
  padding-block: var(--sp-9);
}
.section-alt {
  background: linear-gradient(var(--navy-800), var(--navy-900));
  border-block: 1px solid var(--line-soft);
}
.section-head {
  max-width: 42em;
  margin-bottom: var(--sp-7);
}
.section-head.text-center {
  margin-inline: auto;
}
.section-head h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
}
.section-head p {
  color: var(--ink-dim);
  font-size: var(--fs-md);
}
/* Chart-annotation eyebrow: letterspaced caps with a survey tick */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--teal);
  box-shadow: 4px 0 0 -0.5px var(--teal);
}
.eyebrow.eyebrow-amber {
  color: var(--amber);
}
.eyebrow.eyebrow-amber::before {
  background: var(--amber);
  box-shadow: 4px 0 0 -0.5px var(--amber);
}
/* Divider styled as a plotted course leg */
.course-divider {
  border: 0;
  height: 0;
  border-top: 2px dashed var(--line);
  position: relative;
  margin: 0 auto;
  width: min(100% - 2.5rem, var(--container));
}
.course-divider::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

/* Split layout: copy beside a device frame */
.split {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 56rem) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split.split-flip > :first-child {
    order: 2;
  }
}
.split h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}
.split p {
  color: var(--ink-dim);
}
.split p + p {
  margin-top: var(--sp-3);
}
.feature-list {
  list-style: none;
  padding: 0;
  margin-top: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
}
.feature-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink-dim);
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 2px solid var(--teal);
}
.feature-list li strong {
  color: var(--ink);
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease,
    transform 0.15s ease;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--teal);
  color: var(--navy-950);
}
.btn-primary:hover {
  background: var(--teal-bright);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  border-color: var(--teal);
  background: rgba(25, 179, 198, 0.08);
}
.btn-ghost {
  background: transparent;
  color: var(--teal-bright);
  padding-inline: 0.9rem;
}
.btn-ghost:hover {
  background: rgba(25, 179, 198, 0.08);
}
.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: var(--fs-base);
}

/* ---------- 8. Cards ---------- */
.card-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr));
}
/* Balanced 3-up variant: 6 cards render as 2 even rows at desktop */
@media (min-width: 62rem) {
  .card-grid.card-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card {
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-6) var(--sp-5);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--line);
  transform: translateY(-2px);
}
.card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-2);
}
.card p {
  color: var(--ink-dim);
  font-size: var(--fs-sm);
}
.card-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: rgba(25, 179, 198, 0.12);
  color: var(--teal-bright);
  margin-bottom: var(--sp-4);
}
.card-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}
.card.card-safety {
  border-color: rgba(245, 166, 35, 0.3);
}
.card.card-safety .card-icon {
  background: rgba(245, 166, 35, 0.12);
  color: var(--amber);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 600;
}

/* ---------- 9. Device frame (app screenshots) ---------- */
.device {
  position: relative;
  width: min(100%, 22rem);
  margin-inline: auto;
  border-radius: clamp(1.6rem, 8%, 2.4rem);
  background: #060e17;
  padding: 0.55rem;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.device::before {
  /* speaker notch pill */
  content: "";
  position: absolute;
  top: 0.95rem;
  left: 50%;
  transform: translateX(-50%);
  width: 5.5rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #060e17;
  z-index: 2;
}
.device img {
  width: 100%;
  border-radius: clamp(1.2rem, 6%, 1.9rem);
  /* tint so lazy-loading frames read as a powered-off device, not a hole */
  background: linear-gradient(160deg, #0d2138 0%, #081525 100%);
}
.device figcaption,
.device + figcaption {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-faint);
  margin-top: var(--sp-3);
}
figure.device-fig {
  margin: 0;
}
.device.device-sm {
  width: min(100%, 17rem);
}
/* Row of framed shots */
.device-row {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  align-items: start;
}

/* ---------- 10. Instrument readout (signature stat) ---------- */
.readout-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
.readout {
  min-width: 7.5rem;
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--sp-3) var(--sp-4);
}
.readout .readout-label {
  display: block;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.readout .readout-value {
  display: block;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--teal-bright);
  line-height: 1.2;
}
.readout .readout-unit {
  font-size: var(--fs-sm);
  color: var(--ink-dim);
  font-weight: 400;
}
.readout.readout-amber .readout-value {
  color: var(--amber);
}

/* ---------- 11. Badges & chips ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  background: rgba(16, 40, 63, 0.6);
}
.badge-teal {
  color: var(--teal-bright);
  border-color: rgba(25, 179, 198, 0.4);
  background: rgba(25, 179, 198, 0.1);
}
.badge-amber {
  color: var(--amber);
  border-color: rgba(245, 166, 35, 0.4);
  background: rgba(245, 166, 35, 0.08);
}
.badge-blue {
  color: var(--blue-bright);
  border-color: rgba(47, 128, 237, 0.45);
  background: rgba(47, 128, 237, 0.1);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

/* ---------- 12. Pricing / comparison table ---------- */
.price-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
}
.price-card.is-featured {
  border-color: var(--teal);
  box-shadow: 0 0 0 1px var(--teal), var(--shadow);
}
/* Heading + badge as siblings (badge stays out of the accessible name) */
.price-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-3);
}
.price-note {
  text-align: center;
  margin-top: var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--ink-dim);
}
.price-card .price {
  font-size: var(--fs-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-block: var(--sp-2);
}
.price-card .price small {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--ink-dim);
}
.price-card ul {
  list-style: none;
  padding: 0;
  margin-block: var(--sp-4);
  display: grid;
  gap: var(--sp-2);
  flex: 1;
}
.price-card li {
  position: relative;
  padding-left: 1.5rem;
  font-size: var(--fs-sm);
  color: var(--ink-dim);
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.compare-table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.compare-table caption {
  text-align: left;
  padding: var(--sp-4);
  color: var(--ink-faint);
  font-size: var(--fs-xs);
}
.compare-table th,
.compare-table td {
  padding: var(--sp-3) var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--line-soft);
}
.compare-table thead th {
  background: var(--navy-950);
  color: var(--ink);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.compare-table tbody th {
  font-weight: 500;
  color: var(--ink-dim);
}
.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: 0;
}
.compare-table .yes {
  color: var(--ok);
  font-weight: 700;
}
.compare-table .no {
  color: var(--ink-faint);
}

/* ---------- 13. FAQ accordion ---------- */
.faq {
  display: grid;
  gap: var(--sp-3);
}
.faq details {
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  font-size: var(--fs-base);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--teal-bright);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq summary:hover {
  color: var(--teal-bright);
}
.faq details > div {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--ink-dim);
  font-size: var(--fs-sm);
}

/* ---------- 14. Callouts ---------- */
.callout {
  border: 1px solid var(--line);
  border-left: 3px solid var(--teal);
  background: var(--navy-800);
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
  color: var(--ink-dim);
}
.callout-warn {
  border-left-color: var(--amber);
}
.callout-warn strong {
  color: var(--amber);
}

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative;
  text-align: center;
  padding-block: var(--sp-8);
  background:
    var(--contours) center bottom -10rem / 900px 600px no-repeat,
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
  border-top: 1px solid var(--line-soft);
}
.cta-band h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
}
.cta-band p {
  color: var(--ink-dim);
  max-width: 36em;
  margin: 0 auto var(--sp-6);
}
.cta-band .hero-actions {
  justify-content: center;
}

/* ---------- 16. Footer ---------- */
.site-footer {
  background: var(--navy-950);
  border-top: 1px solid var(--line-soft);
  padding-block: var(--sp-7) var(--sp-6);
  font-size: var(--fs-sm);
  color: var(--ink-dim);
}
.footer-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin-bottom: var(--sp-6);
}
.footer-brand {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  color: var(--ink);
}
@media (min-width: 48rem) {
  .footer-brand {
    grid-column: auto;
  }
}
.footer-brand img {
  width: 26px;
  height: 26px;
}
.site-footer h3,
.site-footer h4,
.site-footer .footer-title {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--sp-3);
  font-weight: 600;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
}
.site-footer a {
  color: var(--ink-dim);
}
.site-footer a:hover {
  color: var(--teal-bright);
}
.footer-legal {
  border-top: 1px solid var(--line-soft);
  padding-top: var(--sp-5);
  display: grid;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}
.footer-legal .disclaimer {
  max-width: 60em;
}

/* ---------- 17. Legal / prose pages ---------- */
.prose {
  padding-block: var(--sp-8);
}
.prose h1 {
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-3);
}
.prose h2 {
  font-size: var(--fs-lg);
  margin: var(--sp-7) 0 var(--sp-3);
}
.prose h3 {
  font-size: var(--fs-md);
  margin: var(--sp-5) 0 var(--sp-2);
}
.prose p,
.prose li {
  color: var(--ink-dim);
}
.prose p + p {
  margin-top: var(--sp-3);
}
.prose ul,
.prose ol {
  margin-block: var(--sp-3);
  display: grid;
  gap: var(--sp-2);
}
.prose .updated {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: var(--sp-6);
}

/* ---------- 18. Scroll reveal ----------
   Progressive enhancement: content is visible by default. site.js adds
   .js-reveal to <html> immediately before observing (and pre-marks
   anything near the initial viewport as visible), so full-page captures,
   preview renderers, and delayed-IO environments never see a blank page. */
.reveal,
.reveal-stagger > * {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.js-reveal .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js-reveal .reveal-stagger:not(.is-visible) > * {
  opacity: 0;
  transform: translateY(18px);
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}
.reveal-stagger.is-visible > :nth-child(2) {
  transition-delay: 0.05s;
}
.reveal-stagger.is-visible > :nth-child(3) {
  transition-delay: 0.1s;
}
.reveal-stagger.is-visible > :nth-child(n + 4) {
  transition-delay: 0.15s;
}
/* Without JS, never hide content */
.no-js .reveal,
.no-js .reveal-stagger > * {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal,
  .reveal-stagger > * {
    opacity: 1;
    transform: none;
  }
  .btn:hover,
  .card:hover {
    transform: none;
  }
}

/* ---------- 19. Print (legal pages must stay readable) ---------- */
@media print {
  :root {
    color-scheme: light;
  }
  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }
  .site-header,
  .site-footer,
  .nav-toggle,
  .skip-link,
  .cta-band,
  .hero-actions {
    display: none !important;
  }
  .prose h1,
  .prose h2,
  .prose h3 {
    color: #000;
    break-after: avoid;
  }
  .prose p,
  .prose li,
  .prose .updated {
    color: #222;
  }
  a {
    color: #000;
    text-decoration: underline;
  }
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- 20. Policy pages: on-page TOC + table scroll hint ---------- */
/* Anchor targets clear the sticky header (belt and braces with scroll-padding). */
.prose [id] {
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

.policy-toc {
  margin: var(--sp-5) 0 var(--sp-6);
  padding: var(--sp-4) var(--sp-5);
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.prose .policy-toc h2 {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.prose .policy-toc ol {
  margin: 0;
  display: grid;
  gap: var(--sp-2) var(--sp-6);
  padding-left: 1.25rem;
}
@media (min-width: 640px) {
  .prose .policy-toc ol {
    grid-template-columns: 1fr 1fr;
  }
}
.policy-toc a {
  color: var(--ink-dim);
}
.policy-toc a:hover {
  color: var(--teal-bright);
}

/* Terms page: tighter reading measure for dense legal prose (~72ch). */
.terms-prose {
  --container-narrow: 40rem;
}

/* Quiet related-pages row at the end of legal documents (no marketing CTA). */
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-6);
  margin-top: var(--sp-7);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line-soft);
  font-size: var(--fs-sm);
}
.legal-links a {
  color: var(--ink-dim);
}
.legal-links a:hover {
  color: var(--teal-bright);
}

/* Horizontal-scroll affordance for wide tables on narrow screens. */
.table-scroller {
  position: relative;
  timeline-scope: --table-scroll;
}
.table-scroller .table-wrap {
  scroll-timeline: --table-scroll inline;
}
.table-scroller::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 1px;
  bottom: 1px;
  width: 3rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: linear-gradient(to left, var(--navy-900) 12%, transparent);
  pointer-events: none;
  opacity: 0;
}
.prose .table-swipe-hint {
  display: none;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
  margin-top: var(--sp-2);
}
@media (max-width: 40em) {
  .table-scroller::after {
    opacity: 1;
  }
  .prose .table-swipe-hint {
    display: block;
  }
  /* Where scroll-driven animations exist, fade the hint out as you pan. */
  @supports (animation-timeline: scroll()) {
    .table-scroller::after {
      animation: table-hint-fade linear both;
      animation-timeline: --table-scroll;
    }
  }
}
@keyframes table-hint-fade {
  0% {
    opacity: 1;
  }
  15%,
  100% {
    opacity: 0;
  }
}
@media print {
  .table-scroller::after {
    display: none;
  }
  .policy-toc {
    break-inside: avoid;
    background: none;
    border-color: #ccc;
  }
}

/* ============================================================
   Page-scoped: instruments.html (.inst-page) — additive only
   ============================================================ */

/* Typographic identity: tighter, heavier display headings */
.inst-page h1,
.inst-page h2 {
  letter-spacing: -0.04em;
  font-weight: 800;
}
/* Heavy display H1 can show subpixel colour fringing on some Windows
   displays — prefer greyscale AA where the platform honours it */
.inst-page .hero h1 {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Cropped screenshot details: just the relevant slice of the UI (EBL
   readout, replay scrubber) instead of another full phone frame — breaks
   the device-frame rhythm and costs far less mobile scroll */
.inst-crop {
  width: min(100%, 24rem);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #060e17;
}
.inst-crop img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.inst-crop-ebl img {
  object-position: 50% 84%;
}
.inst-crop-scrub img {
  object-position: 50% 100%;
}
.inst-crop + figcaption {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-faint);
  margin-top: var(--sp-3);
}

/* Tighter desktop vertical rhythm for this page */
.inst-page .section {
  padding-block: clamp(3.25rem, 2.6rem + 2.4vw, 4.75rem);
}
.inst-page .hero.hero-sub {
  padding-block: clamp(3.5rem, 2.8rem + 3vw, 5.5rem) clamp(3rem, 2.4rem + 2.4vw, 4.25rem);
}

/* Hero product visual: the instrument strip as a panel */
.inst-hero-visual {
  width: min(100%, 28rem);
  margin-inline: auto;
}
.inst-strip {
  background:
    var(--contours) right -10rem bottom -16rem / 900px 600px no-repeat,
    linear-gradient(180deg, var(--navy-800), var(--navy-950));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-lg);
}
.inst-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.inst-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.inst-live-dot {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(53, 201, 142, 0.18);
}
.inst-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}
.inst-strip-grid .readout {
  min-width: 0;
  padding: var(--sp-3);
}
.inst-net-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.inst-ro-wide {
  grid-column: 1 / -1;
}
.inst-ro-wide .readout-value,
.inst-ro-sm .readout-value {
  font-size: var(--fs-md);
}

/* SignalK connection diagram under the panel */
.inst-diagram {
  margin-top: var(--sp-5);
}
.inst-diagram svg {
  width: 100%;
  height: auto;
}

/* Balanced auto-fit grid for readout chip rows */
.inst-readout-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: var(--sp-3);
}
.inst-readout-grid .readout {
  min-width: 0;
}

/* Free vs Premium: stacked cards on small screens, table on wide */
.inst-plan-cards {
  list-style: none;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.inst-plan-cards li {
  background: var(--navy-800);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: var(--sp-4);
  display: grid;
  gap: var(--sp-3);
}
.inst-plan-feature {
  font-weight: 600;
  font-size: var(--fs-sm);
}
.inst-plan-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}
.inst-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  border: 1px solid var(--line);
  color: var(--ink-faint);
  background: rgba(16, 40, 63, 0.6);
}
.inst-pill.is-in {
  color: var(--ok);
  border-color: rgba(53, 201, 142, 0.45);
  background: rgba(53, 201, 142, 0.08);
}
.inst-table-note {
  color: var(--ink-faint);
  font-size: var(--fs-xs);
  margin-top: var(--sp-3);
}
@media (max-width: 47.999rem) {
  .inst-page .table-wrap {
    display: none;
  }
  /* No JS → no generated card list; keep the table visible instead */
  .no-js .inst-page .table-wrap {
    display: block;
  }
}
@media (min-width: 48rem) {
  .inst-plan-cards {
    display: none;
  }
}
.inst-diagram figcaption {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-faint);
  margin-top: var(--sp-3);
}

/* Units inside uppercased chrome keep their case (metres is "m", never "M") */
.inst-page .unit-keep {
  text-transform: none;
}

/* Trip-logbook full-bleed stat band: deliberate layout break from the
   readout-chip motif — big bare numbers on a banded background */
.inst-logband {
  background: linear-gradient(180deg, var(--navy-800), var(--navy-950));
  border-block: 1px solid var(--line-soft);
}
.inst-logstats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sp-5) var(--sp-6);
  margin: var(--sp-6) 0 0;
}
.inst-logstats > div {
  /* dt (label) precedes dd (value) for valid HTML; show the number on top */
  margin: 0;
  display: flex;
  flex-direction: column-reverse;
  gap: var(--sp-1);
}
.inst-logstats dd {
  margin: 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(1.9rem, 1.35rem + 2vw, 2.9rem);
  line-height: 1.1;
  color: var(--teal-bright);
}
.inst-logstats .inst-logunit {
  font-size: 0.45em;
  font-weight: 400;
  color: var(--ink-dim);
}
.inst-logstats dt {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ============================================================
   Page-scoped: navigation.html (.charts-page) — additive only
   ============================================================ */

/* Tighter desktop vertical rhythm: no deep dead bands between sections */
.charts-page .section {
  padding-block: clamp(3.25rem, 2.6rem + 2.4vw, 4.75rem);
}
.charts-page .hero.hero-sub {
  padding-block: clamp(3.5rem, 2.8rem + 3vw, 5.5rem) clamp(3rem, 2.4rem + 2.4vw, 4.25rem);
}
.charts-page .section-head {
  margin-bottom: var(--sp-6);
}

/* Split sections headed by h2 (proper hierarchy) share the split h3 scale */
.charts-page .split h2 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}

/* Cropped real-app chart tiles: screenshots shown outside a phone frame */
.chart-tile-fig {
  margin: 0;
}
.chart-tile {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #060e17;
  box-shadow: var(--shadow-lg);
}
.chart-tile img {
  width: 100%;
}
.chart-tile-fig figcaption {
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-faint);
  margin-top: var(--sp-3);
}

/* Typographic identity: self-hosted display grotesk for headings.
   The woff2 is only fetched on pages whose rendered elements use it. */
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
.charts-page h1,
.charts-page h2,
.charts-page h3,
.pricing-page h1,
.pricing-page h2,
.pricing-page h3 {
  font-family: "Space Grotesk", var(--font-sans);
  letter-spacing: -0.02em;
}

/* POS readout: latitude and longitude as two equal-weight lines */
.charts-page .readout-pos .readout-value {
  font-size: var(--fs-md);
}
.charts-page .readout-pos .readout-value + .readout-value {
  margin-top: 0.1rem;
}

/* Honest plan notes: inline Premium badge + area-limit footnote */
.charts-page .plan-note {
  font-size: var(--fs-sm);
  color: var(--ink-dim);
}
.charts-page .plan-note .badge {
  margin-right: 0.35rem;
  vertical-align: 0.1em;
}

/* Lazy-load placeholder: unloaded frames show brand contour linework
   over the dominant chart navy instead of an empty black box */
.charts-page .chart-tile,
.charts-page .device {
  background-image: var(--contours);
  background-position: center;
  background-size: 900px 600px;
  background-repeat: no-repeat;
  background-color: #060e17;
}

/* Day/night comparison slider inside the device frame */
.charts-page .compare-frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(1.2rem, 6%, 1.9rem);
  background:
    var(--contours) center / 900px 600px no-repeat,
    #0a1929;
}
.charts-page .compare-frame img {
  width: 100%;
  display: block;
  border-radius: 0;
}
.charts-page .compare-top {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--split, 50%));
}
.charts-page .compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split, 50%);
  width: 2px;
  margin-left: -1px;
  background: var(--teal-bright);
  box-shadow: 0 0 10px rgba(63, 208, 224, 0.55);
  pointer-events: none;
}
.charts-page .compare-divider::after {
  content: "\2194";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--navy-950);
  border: 2px solid var(--teal-bright);
  color: var(--teal-bright);
  font-size: 1rem;
  line-height: 1;
}
.charts-page .compare-tag {
  position: absolute;
  top: 2rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(7, 21, 34, 0.75);
  border: 1px solid var(--line);
  pointer-events: none;
}
.charts-page .compare-tag-day {
  left: 0.75rem;
  color: var(--teal-bright);
}
.charts-page .compare-tag-night {
  right: 0.75rem;
  color: var(--danger);
}
.charts-page .compare-range {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}
.charts-page .compare-frame:has(.compare-range:focus-visible) {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
}

/* ============================================================
   Page-scoped: support.html (.support-page) — additive only
   ============================================================ */

/* Help-hub search (hero) */
.support-search {
  position: relative;
  max-width: 34rem;
  margin-top: var(--sp-5);
}
.support-search > svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.1rem;
  height: 1.1rem;
  color: var(--ink-faint);
  pointer-events: none;
}
.support-search input {
  width: 100%;
  padding: 0.8rem 1.2rem 0.8rem 2.8rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--navy-800);
  color: var(--ink);
  font-size: var(--fs-base);
}
.support-search input::placeholder {
  color: var(--ink-faint);
}
.support-search input:focus {
  border-color: var(--teal);
}
.support-hits {
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-faint);
  min-height: 1.6em;
}

/* Literal in-app menu breadcrumbs, e.g. "More → AIS vessel traffic" */
.ui-path {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.86em;
  font-weight: 600;
  line-height: 1.5;
  padding: 0.08rem 0.5rem;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--navy-950);
  color: var(--teal-bright);
}

/* Per-section icon chip: a visual anchor for each help topic */
.support-page .sec-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  background: rgba(25, 179, 198, 0.12);
  color: var(--teal-bright);
  margin-bottom: var(--sp-4);
}
.support-page .sec-icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

/* Deep-linkable answers clear the sticky header */
.support-page .faq details[id] {
  scroll-margin-top: calc(var(--header-h) + 1.25rem);
}

/* Live search filtering */
.support-page .faq details.is-filtered {
  display: none;
}
.support-page .section.is-filtered {
  display: none;
}
.support-page.is-searching #getting-started,
.support-page.is-searching .course-divider {
  display: none;
}

/* Support page typographic identity: the same self-hosted display
   grotesk the home and charts pages use (declared above via @font-face) */
.support-page h1,
.support-page h2,
.support-page h3 {
  font-family: "Space Grotesk", var(--font-sans);
  letter-spacing: -0.02em;
}

/* Example search terms live below the input as helper text, so the
   placeholder itself stays short enough for narrow phones */
.support-search-hint {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--ink-faint);
}

/* FAQ that follows a full-width setup split stays at reading width */
.support-page .faq-after-split {
  max-width: var(--container-narrow);
  margin-inline: auto;
  margin-top: var(--sp-7);
}

/* ============================================================
   Page-scoped: pricing.html (.pricing-page) — additive only
   ============================================================ */

/* Tighter vertical rhythm: a 4-SKU decision should not be a long scroll */
.pricing-page .section {
  padding-block: clamp(3rem, 2.4rem + 2.2vw, 4.25rem);
}
.pricing-page .hero.hero-sub {
  padding-block: clamp(3.25rem, 2.6rem + 2.8vw, 5rem) clamp(2.75rem, 2.2rem + 2.2vw, 3.75rem);
}
/* The safety pledge is one callout, not a full section band */
.pricing-page .pledge-section {
  padding-block: var(--sp-6) 0;
}
/* Slightly smaller device frames: the screenshots support the pricing
   story here, they aren't the subject */
.pricing-page .device {
  width: min(100%, 18.5rem);
}

/* "Everything in Free" collapses behind a summary on mobile; a small
   inline script opens it on wide viewports (JS present = summary hidden) */
.pricing-page .free-details > summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  padding: var(--sp-3) 0;
  list-style-position: outside;
}
.pricing-page .free-details > summary:hover {
  color: var(--teal-bright);
}
.pricing-page .free-details[open] > summary {
  margin-bottom: var(--sp-4);
}
@media (min-width: 48em) {
  html:not(.no-js) .pricing-page .free-details > summary {
    display: none;
  }
}

/* Free-tier features grouped into labelled clusters instead of a bullet wall */
.pricing-page .free-clusters {
  display: grid;
  gap: var(--sp-5) var(--sp-6);
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}
.pricing-page .free-cluster h3 {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: var(--sp-3);
}
.pricing-page .free-cluster ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--sp-2);
}
.pricing-page .free-cluster li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--ink-dim);
  font-size: var(--fs-sm);
}
.pricing-page .free-cluster li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--ok);
  font-weight: 700;
}

/* Comparison table: caption text lives outside the scroll container */
.pricing-page .compare-note {
  color: var(--ink-faint);
  font-size: var(--fs-xs);
  margin-top: var(--sp-3);
}

/* Comparison table fits a 390px viewport: no forced min-width, narrow
   tick columns (they only hold a check or a dash). */
.pricing-page .compare-table {
  min-width: 0;
}
.pricing-page .compare-table th:nth-child(2),
.pricing-page .compare-table th:nth-child(3),
.pricing-page .compare-table td:nth-child(2),
.pricing-page .compare-table td:nth-child(3) {
  text-align: center;
}
@media (min-width: 30em) {
  .pricing-page .compare-table td:nth-child(2),
  .pricing-page .compare-table td:nth-child(3) {
    white-space: nowrap;
  }
}

/* No fake speaker notch on this page: the app screenshots carry their
   instrument bar at the very top edge, and the pill was painted over it */
.pricing-page .device::before {
  content: none;
}

/* Five free-feature clusters get five true columns on wide screens, so
   the last group doesn't sit orphaned on a second row */
@media (min-width: 66em) {
  .pricing-page .free-clusters {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Long eyebrows drop their tail on narrow phones so the label holds one line */
@media (max-width: 30em) {
  .pricing-page .eyebrow-tail {
    display: none;
  }
}

/* Launch-watch note under the CTA-band buttons: intent capture that keeps
   the no-mailing-list promise (store pre-registration + one-off mailto) */
.pricing-page .cta-notify {
  margin: var(--sp-5) auto 0;
  max-width: 44em;
  font-size: var(--fs-sm);
  color: var(--ink-faint);
}
.pricing-page .cta-notify a {
  color: var(--teal-bright);
}
@media (max-width: 30em) {
  .pricing-page .compare-table th,
  .pricing-page .compare-table td {
    padding: var(--sp-3) var(--sp-2);
  }
  .pricing-page .compare-table th:first-child,
  .pricing-page .compare-table td:first-child {
    padding-left: var(--sp-3);
  }
  .pricing-page .compare-table thead th {
    letter-spacing: 0.06em;
  }
}

/* Mobile hero: trim the dead band above the eyebrow and set the three
   readout chips 3-across so they don't wrap 2+1. */
@media (max-width: 30em) {
  .pricing-page .hero.hero-sub {
    padding-block: var(--sp-6);
  }
  .pricing-page .hero-inner {
    gap: var(--sp-6);
  }
  .pricing-page .readout-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-2);
  }
  .pricing-page .readout {
    min-width: 0;
    padding: var(--sp-2) var(--sp-3);
  }
  .pricing-page .readout .readout-value {
    font-size: var(--fs-md);
  }
  .pricing-page .readout .readout-label {
    letter-spacing: 0.1em;
  }
}

/* ============ Safety page (safety.html) — page-scoped additions ============ */

/* Card feet: quiet mono requirement notes under each safety card */
.safety-page .card-foot {
  margin-top: var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Tighter desktop rhythm: no deep dead bands between split sections */
.safety-page .section {
  padding-block: clamp(3.25rem, 2.6rem + 2.4vw, 4.75rem);
}
.safety-page .section-head {
  margin-bottom: var(--sp-6);
}

/* Detail sections are top-level (h2) but share the split heading scale */
.safety-page .split h2 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}

/* Five safety cards: 2-up with a full-width fifth on tablet; on desktop the
   two free offline alarms lead as a large pair over the three supporting
   layers — a deliberate 2 + 3 hierarchy, never a 4+1 orphan row. */
@media (min-width: 34rem) and (max-width: 61.99rem) {
  .safety-page .card-grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .safety-page .card-grid-5 > .card:last-child {
    grid-column: 1 / -1;
  }
}
@media (min-width: 62rem) {
  .safety-page .card-grid-5 {
    grid-template-columns: repeat(6, 1fr);
  }
  .safety-page .card-grid-5 > .card {
    grid-column: span 2;
  }
  .safety-page .card-grid-5 > .card.card-lead {
    grid-column: span 3;
    padding: var(--sp-7) var(--sp-6);
  }
  .safety-page .card-grid-5 > .card.card-lead h3 {
    font-size: var(--fs-lg);
  }
  .safety-page .card-grid-5 > .card.card-lead p {
    font-size: var(--fs-base);
    max-width: 34em;
  }
}

/* Pledge footnote: the honest asterisk, set smaller under the promise */
.safety-page .pledge-foot {
  font-size: var(--fs-sm);
  color: var(--ink-faint);
  max-width: 52ch;
  margin-inline: auto;
  margin-top: var(--sp-4);
}
.safety-page .ais-board {
  display: grid;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 56rem) {
  .safety-page .ais-board {
    grid-template-columns: 1.5fr 1fr;
  }
}
.safety-page .ais-fig {
  margin: 0;
}
.safety-page .ais-fig svg {
  width: 100%;
  height: auto;
}
.safety-page .ais-note {
  margin-top: var(--sp-5);
  color: var(--ink-dim);
  font-size: var(--fs-sm);
}

/* Device frames: chart-dark placeholder behind lazy screenshots so the
   frame never sits as an empty black rectangle while the image loads */
.safety-page .device img {
  display: block;
  background: linear-gradient(170deg, var(--navy-800), var(--navy-950) 75%);
}

/* ============================================================
   Page-scoped: weather.html (.wx-page) — additive only
   ============================================================ */

/* Tighter desktop rhythm: no deep dead bands between split sections */
.wx-page .section {
  padding-block: clamp(3.25rem, 2.6rem + 2.4vw, 4.75rem);
}
.wx-page .section-head {
  margin-bottom: var(--sp-6);
}

/* Split sections headed by h2 (proper hierarchy) share the split h3 scale */
.wx-page .split h2 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}

/* Cap phone-frame height so screenshots and copy roughly agree */
.wx-page .device {
  width: min(100%, 19.5rem);
}

/* Two-paragraph hero lede */
.wx-page .hero .lede {
  margin-bottom: var(--sp-3);
}
.wx-page .hero .lede + .lede {
  margin-bottom: var(--sp-6);
}

/* Cropped app-sheet panels (no phone frame) sized for split columns */
.wx-page .wx-hero-fig,
.wx-page .split .chart-tile-fig {
  width: 100%;
  max-width: 26.5rem;
  margin-inline: auto;
}

/* Centered sample-readout strip with a visible caption */
.wx-readouts {
  text-align: center;
}
.wx-readouts .readout-row {
  justify-content: center;
}
.wx-readouts .readout {
  text-align: left;
}
.wx-readouts-caption {
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-faint);
}

/* ---- Animated wind-field demo (CSS-only, honors reduced motion) ----
   Two forecast states of the wind-arrow field (.wx-t0 "now", .wx-t1
   "later": veered and built) cross-fade in sync with the time-slider
   scrub, mirroring the app's arrow field colour-coded by strength. */
.wx-wind-fig {
  margin: 0;
  width: 100%;
  max-width: 30rem;
  margin-inline: auto;
}
.wx-wind {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.wx-wind .wx-t0 {
  animation: wx-state0 14s ease-in-out infinite;
}
.wx-wind .wx-t1 {
  opacity: 0;
  animation: wx-state1 14s ease-in-out infinite;
}
@keyframes wx-state0 {
  0%, 10% { opacity: 1; }
  46%, 64% { opacity: 0; }
  90%, 100% { opacity: 1; }
}
@keyframes wx-state1 {
  0%, 10% { opacity: 0; }
  46%, 64% { opacity: 1; }
  90%, 100% { opacity: 0; }
}
.wx-wind .wx-thumb {
  animation: wx-scrub 14s ease-in-out infinite;
}
.wx-wind .wx-fill {
  transform-box: fill-box;
  transform-origin: left center;
  transform: scaleX(0.02);
  animation: wx-fill 14s ease-in-out infinite;
}
@keyframes wx-scrub {
  0%, 6% { transform: translateX(0); }
  50%, 60% { transform: translateX(440px); }
  94%, 100% { transform: translateX(0); }
}
@keyframes wx-fill {
  0%, 6% { transform: scaleX(0.02); }
  50%, 60% { transform: scaleX(1); }
  94%, 100% { transform: scaleX(0.02); }
}
@media (prefers-reduced-motion: reduce) {
  /* Static state: slider parked at NOW, showing the "now" arrow field */
  .wx-wind .wx-t0,
  .wx-wind .wx-t1,
  .wx-wind .wx-thumb,
  .wx-wind .wx-fill {
    animation: none;
  }
  .wx-wind .wx-t1 {
    opacity: 0;
  }
}

/* ============================================================
   Home page + shared additive fixes (page-scoped where possible)
   ============================================================ */

/* Utility: keep "label · label" hero-note pairs from wrapping onto
   a line that starts with a dangling separator */
.nowrap {
  white-space: nowrap;
}

/* Home page typographic identity: the same self-hosted display
   grotesk the charts page uses (declared above via @font-face) */
.home-page h1,
.home-page h2 {
  font-family: "Space Grotesk", var(--font-sans);
  letter-spacing: -0.02em;
}

/* Home page: caption under the screenshot showcase row */
.home-page .screens-note {
  margin-top: var(--sp-5);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--ink-faint);
}

/* Mobile: stacked instrument readouts fill the row instead of
   rendering as ragged content-width cards */
@media (max-width: 40em) {
  .readout-row .readout {
    flex: 1 1 100%;
  }
}

/* Home page: no fake speaker notch — the app screenshots carry their own
   HDG/POSITION instrument bar at the very top edge, and the pill was
   painted over it (same fix the pricing page already ships) */
.home-page .device::before {
  content: none;
}

/* Mobile: a phone showing a life-size phone wastes enormous scroll — cap
   the frames so each screenshot plus its caption fits in one viewport */
@media (max-width: 40em) {
  .home-page .device {
    width: min(100%, 16.5rem);
  }
  .home-page .device.device-sm {
    width: min(100%, 15rem);
  }
}

/* Open mobile nav: dim + de-scroll the page behind the panel.
   site.js toggles body.nav-locked alongside .site-nav.is-open. */
body.nav-locked {
  overflow: hidden;
}
@media (max-width: 62rem) {
  .site-nav.is-open {
    z-index: 1;
  }
  /* Backdrop scrim hangs from the panel's bottom edge. (Not position:fixed —
     the header's backdrop-filter makes it the containing block for fixed
     descendants, which would collapse a viewport-anchored scrim to nothing.) */
  .site-nav.is-open::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(3, 10, 18, 0.62);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }
}

/* ---------- planning.html (.plan-page) — page-scoped ---------- */
/* Hero pairs the headline with the passage-plan shot; keep the phone compact
   so the two-column hero still fits a laptop viewport. */
.plan-page .hero-inner .device {
  width: min(100%, 19rem);
}
/* Go-To readout chips: never strand one on its own row. Mobile: equal-growing
   chips fill each row; desktop: all five sit on one line. */
.plan-page .readout-row .readout {
  flex: 1 1 7.5rem;
  min-width: 0;
}
@media (min-width: 56rem) {
  .plan-page .readout-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--sp-2);
  }
  .plan-page .readout-row .readout {
    padding: var(--sp-3) var(--sp-2) var(--sp-3) var(--sp-3);
  }
  .plan-page .readout-row .readout-value {
    font-size: var(--fs-md);
  }
}
/* Caption under the Go-To readout chips: ties the magnified numbers to the
   screenshot they mirror */
.plan-page .readout-note {
  margin-top: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--ink-faint);
}
/* Typographic identity: the same self-hosted display grotesk the home,
   charts and support pages use (declared above via @font-face) */
.plan-page h1,
.plan-page h2,
.plan-page h3 {
  font-family: "Space Grotesk", var(--font-sans);
  letter-spacing: -0.02em;
}
/* Phone frames: a real top bezel so the speaker pill sits in the frame
   instead of painting over the app's own HDG/POSITION instrument bar */
.plan-page .device {
  padding-top: 1.75rem;
}
.plan-page .device::before {
  top: 0.68rem;                 /* centred in the bezel, clear of the screen */
  background: var(--navy-700);  /* earpiece slot, visible against the bezel */
}
.plan-page .device img {
  border-top-left-radius: 0.6rem;
  border-top-right-radius: 0.6rem;
  display: block;
}

/* Breathing room after feature lists in weather splits */
.wx-page .feature-list + p {
  margin-top: var(--sp-4);
}

/* ============================================================
   navigation.html follow-ups (.charts-page) — additive only
   ============================================================ */

/* Mobile: SOG/COG/HDG as one compact 3-across row (pricing-page pattern)
   instead of four stacked full-width bars; POS spans the full second row
   (its two value lines want the width). */
@media (max-width: 40em) {
  .charts-page .readout-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-2);
  }
  .charts-page .readout {
    min-width: 0;
    padding: var(--sp-2) var(--sp-3);
  }
  .charts-page .readout .readout-value {
    font-size: var(--fs-md);
  }
  .charts-page .readout .readout-label {
    letter-spacing: 0.1em;
  }
  .charts-page .readout-pos {
    grid-column: 1 / -1;
  }
  /* Tighter small-screen vertical rhythm */
  .charts-page .section {
    padding-block: 2.75rem;
  }
  .charts-page .hero.hero-sub {
    padding-block: 3rem 2.5rem;
  }
}

/* Day/night compare tags: keep them off the screenshot's own instrument
   cluster (top) — sit just above the app's bottom tab bar instead, with a
   light blur so they read over any chart detail. */
.charts-page .compare-tag {
  top: auto;
  bottom: 8.5%;
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* ---- Interactive base-layer switcher (CSS-only: radios drive the
   palette via custom properties; works with JS disabled) ---- */
.charts-page .base-switch {
  margin: 0 auto var(--sp-8);
  max-width: 46rem;
  position: relative;
}
.charts-page .base-switch > input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.charts-page .base-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.charts-page .base-tabs label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: var(--navy-950);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.95rem;
  cursor: pointer;
}
.charts-page .base-tabs label:hover {
  color: var(--ink);
}
#bs-nautical:checked ~ .base-tabs label[for="bs-nautical"],
#bs-satellite:checked ~ .base-tabs label[for="bs-satellite"],
#bs-light:checked ~ .base-tabs label[for="bs-light"],
#bs-minimal:checked ~ .base-tabs label[for="bs-minimal"] {
  color: var(--navy-950);
  background: var(--teal-bright);
  border-color: var(--teal-bright);
}
#bs-nautical:focus-visible ~ .base-tabs label[for="bs-nautical"],
#bs-satellite:focus-visible ~ .base-tabs label[for="bs-satellite"],
#bs-light:focus-visible ~ .base-tabs label[for="bs-light"],
#bs-minimal:focus-visible ~ .base-tabs label[for="bs-minimal"] {
  outline: 2px solid var(--teal-bright);
  outline-offset: 2px;
}
.charts-page .base-scene {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  /* Nautical (default): OSM-style light chart */
  --bs-water: #a5cbdf;
  --bs-land: #f1eee6;
  --bs-coast: #9db6c4;
  --bs-contour: #4d7fae;
  --bs-sound: #3f6c94;
  --bs-road: #e8c979;
  --bs-bld: #c9beab;
  --bs-road-o: 1;
  --bs-tex: 0;
  --bs-label: #5b6b78;
}
.charts-page .base-scene svg {
  display: block;
  width: 100%;
  height: auto;
}
#bs-satellite:checked ~ .base-scene {
  --bs-water: #12314a;
  --bs-land: #31502c;
  --bs-coast: #4a6b53;
  --bs-contour: #7fb6e0;
  --bs-sound: #cfe4f5;
  --bs-road: #9aa48f;
  --bs-bld: #a9b0a0;
  --bs-road-o: 0.35;
  --bs-tex: 1;
  --bs-label: #e8eef4;
}
#bs-light:checked ~ .base-scene {
  --bs-water: #f6fafd;
  --bs-land: #e9e9e9;
  --bs-coast: #8fa3b5;
  --bs-contour: #7d9cb8;
  --bs-sound: #55708a;
  --bs-road: #ffffff;
  --bs-bld: #c9ced4;
  --bs-road-o: 1;
  --bs-tex: 0;
  --bs-label: #4a5a68;
}
#bs-minimal:checked ~ .base-scene {
  --bs-water: #fbfdfe;
  --bs-land: #f0f4f6;
  --bs-coast: #c3cfd8;
  --bs-contour: #8fb1cc;
  --bs-sound: #6787a3;
  --bs-road-o: 0;
  --bs-tex: 0;
  --bs-label: #b6c2cc;
}
/* One-line blurb that follows the selected base, plus a constant note */
.charts-page .base-blurb {
  text-align: center;
  margin-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--ink-dim);
}
.charts-page .base-blurb .bs-b {
  display: none;
  margin: 0;
}
.charts-page .base-blurb strong {
  color: var(--ink);
}
#bs-nautical:checked ~ .base-blurb .bs-b-nautical,
#bs-satellite:checked ~ .base-blurb .bs-b-satellite,
#bs-light:checked ~ .base-blurb .bs-b-light,
#bs-minimal:checked ~ .base-blurb .bs-b-minimal {
  display: block;
}
.charts-page .base-blurb .base-note {
  margin: var(--sp-2) 0 0;
  font-size: var(--fs-xs);
  color: var(--ink-faint);
}
/* Orientation half of the merged section */
.charts-page .base-orient {
  margin-top: var(--sp-8);
}
/* Small screens: keep the four base tabs on one row */
@media (max-width: 40em) {
  .charts-page .base-tabs {
    gap: 0.4rem;
  }
  .charts-page .base-tabs label {
    letter-spacing: 0.07em;
    padding: 0.3rem 0.55rem;
  }
  /* Phone-frame figures need not span the full column on a phone —
     a slightly narrower frame reads the same and saves a chunk of scroll */
  .charts-page .device {
    width: min(100%, 19.5rem);
    margin-inline: auto;
  }
  /* Denser stacked cards: single-column mobile doesn't need desktop air */
  .charts-page .card {
    padding: var(--sp-5) var(--sp-4);
  }
  .charts-page .card-grid {
    gap: var(--sp-4);
  }
  .charts-page .section-head {
    margin-bottom: var(--sp-5);
  }
}

/* ---------- Download page additions (page-scoped, additive) ---------- */
/* Ordered feature lists show real step numbers, not the bullet ring */
ol.feature-list {
  counter-reset: step;
}
ol.feature-list li {
  counter-increment: step;
}
ol.feature-list li::before {
  content: counter(step);
  width: 1.15rem;
  height: 1.15rem;
  top: 0.14em;
  border-width: 1.5px;
  color: var(--teal-bright);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* Split sections headed by h2 (proper hierarchy) share the split h3 scale */
.download-page .split h2 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-3);
}
/* Hand-drawn "coming soon" store badges, wrapped in links that jump to
   the launch-watch section so the hero always has a real action */
.store-badge {
  opacity: 0.85;
}
.store-badge-link {
  display: inline-flex;
  border-radius: 16px;
}
.store-badge-link:hover .store-badge,
.store-badge-link:focus-visible .store-badge {
  opacity: 1;
}
/* Breathing room between the hero note and the stat readouts on mobile */
@media (max-width: 40em) {
  .download-page .hero .readout-row {
    margin-top: var(--sp-4);
  }
}
/* Requirements: one compact block instead of three sparse cards */
.download-page .req-list {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
}
.download-page .req-list dt {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-1);
}
.download-page .req-list dd {
  margin: 0;
  color: var(--ink-dim);
  font-size: var(--fs-sm);
}
@media (min-width: 48em) {
  .download-page .req-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-5) var(--sp-6);
  }
}
/* Denser mobile rhythm (same pattern as .charts-page/.home-page):
   a launch page shouldn't scroll past 7000px on a phone */
@media (max-width: 40em) {
  .download-page .section {
    padding-block: var(--sp-7);
  }
  .download-page .hero {
    padding-block: var(--sp-7);
  }
  .download-page .device {
    width: min(100%, 17rem);
  }
  .download-page .card {
    padding: var(--sp-5) var(--sp-4);
  }
}

/* ============================================================
   weather.html (.wx-page) — additive follow-ups
   ============================================================ */

/* Site-wide heading identity on the weather page: the same self-hosted
   display grotesk the home, charts and support pages use (declared
   above via @font-face), so the display font no longer changes when
   navigating between pages. */
.wx-page h1,
.wx-page h2,
.wx-page h3 {
  font-family: "Space Grotesk", var(--font-sans);
  letter-spacing: -0.02em;
}

/* Screenshot tiles: panel-navy placeholder instead of near-black, so a
   still-loading (or lazy-raced) image reads as a styled panel, never a
   black hole in link previews, print or screenshots. */
.wx-page .chart-tile {
  background: var(--navy-800);
}

/* Mobile rhythm: the two stacked Premium sub-features (wind field →
   isobars) get the same breathing room as every other section boundary. */
@media (max-width: 56rem) {
  .wx-page .section-alt .split + .split {
    margin-top: var(--sp-7);
  }
}

/* Legibility floor: lift the smallest mono strings (readout labels) and
   the footer disclaimer one ink step on this page. */
.wx-page .readout .readout-label {
  color: #8fa6bb;
}
.wx-page + .site-footer .footer-legal {
  color: #8fa6bb;
}
