/* BiteChart — sea-foam light, maritime navy dark.
   Outfit (display) and Inter (body) load from Google Fonts. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("fonts/outfit-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --bg: #e5f4ef;
  --tray: #d4eee6;
  --ink: #102a32;
  --ink-soft: #3d5d66;
  --muted: #4d6a72;
  --line: rgba(16, 52, 58, 0.12);
  --card-solid: #f7fcfa;
  --accent: #0b645a;
  --accent-soft: rgba(11, 100, 90, 0.12);
  --on-accent: #f3fffb;
  --brass: #b9833a;
  --brass-ink: #8a5a16;
  --brass-wash: rgba(185, 131, 58, 0.1);
  --foam: #b7e6da;
  --link: #08584f;
  --header-bg: rgba(229, 244, 239, 0.86);
  --tile: #0b2232;
  --tile-fish: #d9f4ee;
  --grid: rgba(16, 70, 66, 0.05);
  --glow-a: rgba(255, 255, 255, 0.92);
  --glow-b: rgba(110, 190, 170, 0.28);
  --map-water: #cfeae3;
  --map-land: #f4fbf8;
  --footer: rgba(255, 255, 255, 0.42);
  --chip-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(16, 40, 40, 0.08);
  --specular: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0) 42%);
  --shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(16, 50, 48, 0.04),
    0 1px 1px rgba(16, 50, 48, 0.04),
    0 12px 28px -16px rgba(16, 60, 58, 0.28),
    0 30px 50px -32px rgba(16, 50, 48, 0.32);
  --shadow-lg:
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -1px 0 rgba(16, 50, 48, 0.05),
    0 1px 2px rgba(16, 50, 48, 0.05),
    0 18px 40px -18px rgba(16, 60, 58, 0.32),
    0 42px 70px -36px rgba(16, 50, 48, 0.38);
  --font-display: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
  --radius: 22px;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #07141e;
  --tray: #081824;
  --ink: #e7f6f2;
  --ink-soft: #c5ddd8;
  --muted: #9ebbb6;
  --line: rgba(168, 230, 216, 0.14);
  --card-solid: #102636;
  --accent: #7eebd4;
  --accent-soft: rgba(126, 235, 212, 0.12);
  --on-accent: #062028;
  --brass: #e4c48a;
  --brass-ink: #f0d7a8;
  --brass-wash: rgba(228, 196, 138, 0.12);
  --foam: #1b4f4c;
  --link: #9af6e0;
  --header-bg: rgba(7, 20, 30, 0.84);
  --tile: #d9f4ee;
  --tile-fish: #0b2232;
  --grid: rgba(150, 220, 200, 0.05);
  --glow-a: rgba(30, 110, 100, 0.28);
  --glow-b: rgba(40, 90, 140, 0.2);
  --map-water: #0c3038;
  --map-land: #143246;
  --footer: rgba(0, 0, 0, 0.25);
  --chip-shadow: inset 0 1px 0 rgba(190, 245, 230, 0.18), 0 1px 2px rgba(0, 0, 0, 0.4);
  --specular: linear-gradient(180deg, rgba(186, 245, 230, 0.1), rgba(186, 245, 230, 0) 40%);
  --shadow:
    inset 0 1px 0 rgba(190, 245, 230, 0.16),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 1px 1px rgba(0, 0, 0, 0.35),
    0 16px 34px -18px rgba(0, 0, 0, 0.72),
    0 28px 60px -32px rgba(0, 0, 0, 0.68);
  --shadow-lg:
    inset 0 1px 0 rgba(190, 245, 230, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.32),
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 22px 46px -20px rgba(0, 0, 0, 0.75),
    0 40px 72px -36px rgba(0, 0, 0, 0.7);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px),
    radial-gradient(ellipse 80% 50% at 0% -10%, var(--glow-a), transparent 55%),
    radial-gradient(ellipse 60% 42% at 100% 0%, var(--glow-b), transparent 50%);
  background-size: 32px 32px, 32px 32px, auto, auto;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

h1 {
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: var(--link);
}

a:visited {
  color: var(--link);
}

a:hover {
  text-decoration-thickness: 2px;
}

button,
input {
  font: inherit;
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

::selection {
  background: var(--accent-soft);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 40;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  min-height: 72px;
}

.brand,
.brand:visited {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
}

.brand-tile {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--tile);
  display: grid;
  place-items: center;
  flex: none;
}

.brand-mark {
  width: 26px;
  height: auto;
  display: block;
  color: var(--tile-fish);
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.03em;
}

.catchphrase {
  margin: 0;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
  line-height: 1.25;
  color: var(--accent);
}

.catchphrase-hero {
  margin: 16px 0 12px;
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  letter-spacing: 0.16em;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-left: auto;
}

.nav a,
.nav a:visited {
  color: var(--ink-soft);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--accent-soft);
}

.theme-toggle {
  width: 44px;
  height: 44px;
  margin-left: 4px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--card-solid);
  box-shadow: var(--chip-shadow);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.theme-toggle svg {
  display: none;
  width: 22px;
  height: 22px;
}

:root[data-theme="light"] .theme-toggle .icon-sun,
:root[data-theme="dark"] .theme-toggle .icon-moon {
  display: block;
}

.theme-toggle:hover {
  border-color: var(--accent);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero {
  padding: 32px 0 40px;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
}

.kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--brass);
}

.hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.4rem);
  max-width: 9.4em;
  margin-bottom: 16px;
}

.lede {
  max-width: 38em;
  color: var(--ink-soft);
  font-size: 1.125rem;
}

.motto {
  margin-top: 14px;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.footer-copy .motto {
  margin-top: 8px;
  font-size: 1.05rem;
}

.stats {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.stats div {
  background: var(--specular), var(--card-solid);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: var(--shadow);
}

.stats dt {
  margin-bottom: 4px;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.stats dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button,
.button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  text-decoration: none;
  font-weight: 600;
  box-shadow: var(--shadow);
}

.button-quiet,
.button-quiet:visited {
  background: var(--card-solid);
  color: var(--ink);
  border: 1px solid var(--line);
}

.button:hover {
  filter: brightness(1.06);
}

.button-quiet:hover {
  filter: none;
  border-color: var(--accent);
}

.tray {
  background: var(--specular), var(--tray);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  padding: 14px;
}

.stage {
  display: grid;
  gap: 14px;
}

.fig {
  margin: 0 4px 10px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card {
  position: relative;
  background: var(--specular), var(--card-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.device {
  padding: 20px 20px 22px;
  min-width: 0;
}

.device-label {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.device-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.device-name {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 620;
}

.device-mark {
  width: 46px;
  height: auto;
  display: block;
  flex: none;
  color: var(--ink);
}

.zip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 10px;
}

.seg {
  display: flex;
  padding: 3px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.seg span {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 8px 4px 7px;
  border-radius: 18px;
  color: var(--ink-soft);
}

.mode-icon {
  width: 64px;
  height: 64px;
  display: block;
  color: var(--accent);
}

.seg .mode-icon {
  width: 26px;
  height: 26px;
  color: currentColor;
}

.mode-answer {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.mode-answer .mode-icon {
  width: 44px;
  height: 44px;
  margin-top: 2px;
}

.seg .is-on {
  background: var(--card-solid);
  color: var(--ink);
  box-shadow: var(--chip-shadow);
}

.score-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px 12px;
}

.score-row strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3.2rem, 8vw, 4.4rem);
  line-height: 0.85;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.score-kicker {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.82rem;
}

.window {
  text-align: right;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.window b {
  display: block;
  color: var(--brass-ink);
  font-weight: 650;
}

.chart {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 16px;
}

.chart-grid {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.chart-fill {
  fill: var(--accent);
  opacity: 0.16;
}

.chart-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chart-peak {
  fill: var(--brass);
  stroke: var(--card-solid);
  stroke-width: 3;
}

.chart-minor {
  fill: var(--accent);
  stroke: var(--card-solid);
  stroke-width: 2;
}

.factors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding: 0;
  list-style: none;
}

.factors li {
  font-size: 0.75rem;
  font-weight: 580;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
}

.micro {
  margin: 18px 0 12px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.species {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.species li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
}

.species li.is-on {
  background: var(--accent-soft);
}

.species .tag {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--card-solid);
  box-shadow: var(--chip-shadow);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.04em;
}

.species strong {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
}

.species em {
  display: block;
  margin-top: 1px;
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--muted);
}

.species b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
}

.taps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 0;
  padding: 0;
}

.taps li {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  padding: 16px 8px 14px;
  border-radius: 16px;
  background: var(--accent-soft);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
}

.taps .n {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--card-solid);
  box-shadow: var(--chip-shadow);
  font-size: 0.72rem;
  color: var(--accent);
}

.taps svg {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.taps li.is-on {
  background: var(--card-solid);
  box-shadow: var(--chip-shadow);
  outline: 1px solid var(--brass);
}

.posted {
  margin-top: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.fine {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.sample-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 3.15rem);
  margin-bottom: 12px;
}

.section .intro {
  max-width: 42rem;
  margin-bottom: 28px;
  color: var(--ink-soft);
}

.feature-grid,
.mode-grid,
.tier-grid {
  display: grid;
  gap: 16px;
}

.feature,
.mode,
.tier {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  height: 100%;
  min-width: 0;
}

.feature h3,
.mode h3,
.tier h3 {
  font-size: 1.55rem;
}

.feature p,
.mode p,
.tier p {
  color: var(--ink-soft);
}

.feature em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}

.feature .visual {
  margin-top: auto;
}

.num {
  color: var(--brass-ink);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.14em;
}

.map {
  position: relative;
  min-height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--map-water);
}

.map svg {
  display: block;
  width: 100%;
  height: 180px;
}

.wx {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.wx li {
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  font-weight: 600;
}

.tier-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.tier-list li {
  position: relative;
  padding-left: 14px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 2px;
  background: var(--brass);
}

.tier-kicker {
  color: var(--brass-ink);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tier-price {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.7rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.compare-head .early,
.price-early {
  display: block;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass-ink);
  line-height: 1.35;
}

.price-early {
  display: none;
}

.cell-note {
  display: block;
  margin-top: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.tier-pro {
  border-color: var(--brass);
  box-shadow: var(--shadow-lg);
}

.tier-note {
  margin-top: 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.audience-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}

.audience {
  padding: 22px;
}

.audience h3 {
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.audience p {
  color: var(--ink-soft);
}

.inquiry-card {
  padding: 22px;
}

.inquiry-card h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.promise {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--ink);
  line-height: 1.5;
}

.inquiry-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--chip-shadow);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.inquiry .button {
  margin-top: 18px;
  border: 0;
  cursor: pointer;
}

.form-error {
  margin-top: 12px;
  color: #8a2f24;
  font-weight: 600;
}

:root[data-theme="dark"] .form-error {
  color: #ffb4a8;
}

.inquiry-thanks {
  display: grid;
  gap: 16px;
}

.inquiry-thanks p {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.inquiry-thanks[hidden],
.inquiry[hidden],
.form-error[hidden] {
  display: none;
}

.compare {
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--specular), var(--card-solid);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: minmax(148px, 1.15fr) repeat(3, minmax(0, 1fr));
}

.compare-row > * {
  padding: 18px 16px;
  border-top: 1px solid var(--line);
  min-width: 0;
  line-height: 1.4;
}

.compare-head > * {
  border-top: 0;
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.2rem;
  color: var(--ink);
}

.compare-row [role="rowheader"] {
  font-weight: 630;
  color: var(--ink);
}

.compare-row [role="cell"] {
  color: var(--ink-soft);
}

.compare-row > :nth-child(4) {
  background: var(--brass-wash);
}

.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;
}

.close h2 {
  max-width: 12em;
}

.site-footer {
  margin-top: 8px;
  background: var(--footer);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: 18px;
  padding: 32px 0 40px;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 620;
  font-size: 1.2rem;
  color: var(--ink);
}

.footer-grid p {
  color: var(--ink-soft);
  max-width: 36rem;
}

.footer-grid .legal {
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer-nav a,
.footer-nav a:visited {
  color: var(--ink);
  font-weight: 600;
}

.legal {
  color: var(--muted);
  font-size: 0.88rem;
}

.page {
  padding: 28px 0 72px;
}

.page-wrap {
  width: min(760px, calc(100% - 32px));
  margin-inline: auto;
}

.page h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 8px 0 12px;
}

.updated {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 8px;
}

.toc a,
.toc a:visited {
  text-decoration: none;
  color: var(--ink);
  background: var(--card-solid);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.85rem;
  font-weight: 550;
  box-shadow: var(--chip-shadow);
}

.toc a:hover {
  border-color: var(--accent);
}

.prose {
  padding-bottom: 12px;
}

.prose h2 {
  margin: 2.2rem 0 0.7rem;
  font-size: clamp(1.55rem, 3vw, 2rem);
  scroll-margin-top: 92px;
}

.prose h3 {
  margin: 1.3rem 0 0.35rem;
  font-size: 1.2rem;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose p {
  margin-top: 0.75rem;
}

.prose ul,
.prose ol {
  margin-top: 0.7rem;
  padding-left: 1.25rem;
}

.prose ul li {
  list-style: disc;
  margin-top: 0.35rem;
}

.prose ol li {
  list-style: decimal;
  margin-top: 0.4rem;
}

.prose strong {
  color: var(--ink);
  font-weight: 620;
}

.callout {
  margin-top: 16px;
  padding: 16px 16px 12px;
  border-radius: 18px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  background: var(--specular), var(--card-solid);
  box-shadow: var(--shadow);
}

.prose ol.path {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 14px 0;
}

.prose ol.path li {
  list-style: none;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--ink);
  font-weight: 650;
}

.faq {
  margin-top: 8px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(45deg);
  flex: none;
  margin-top: -4px;
}

.faq details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.faq details p,
.faq details ol {
  margin: 0 4px 16px;
  color: var(--ink-soft);
}

.faq details ol {
  padding-left: 1.25rem;
}

.faq details li {
  margin-top: 0.35rem;
}

.page-wrap > h2,
.page-wrap > section > h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  scroll-margin-top: 92px;
}

.contact-section {
  border-top: 0;
  padding-top: 8px;
}

.contact-grid {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.contact-grid article {
  padding: 16px;
}

.contact-grid h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.contact-grid p {
  color: var(--ink-soft);
}

.contact-grid p + p {
  margin-top: 8px;
}

section[id] {
  scroll-margin-top: 88px;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .stage {
    grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.78fr);
    align-items: end;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand nav"
      "copy nav"
      "legal nav";
    align-items: center;
  }

  .footer-brand { grid-area: brand; }
  .footer-copy { grid-area: copy; }
  .footer-grid .legal { grid-area: legal; }
  .footer-nav {
    grid-area: nav;
    justify-content: flex-end;
    align-self: center;
  }

  .inquiry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field.span-2 {
    grid-column: 1 / -1;
  }
}

@media (min-width: 800px) {
  .wrap {
    width: min(1120px, calc(100% - 64px));
  }

  .feature-grid,
  .mode-grid,
  .tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tier-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 56px 0 48px;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.86fr) minmax(340px, 1.14fr);
    gap: 36px;
    align-items: start;
  }

  .mode-grid,
  .audience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .inquiry-grid {
    grid-template-columns: 1fr 1fr;
  }

  .field.span-2 {
    grid-column: 1 / -1;
  }
}

@media (max-width: 719px) {
  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: 10px;
  }

  .nav a {
    text-align: center;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .window {
    text-align: left;
  }

  .compare-head {
    display: none;
  }

  .compare-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px 16px 20px;
    border-top: 1px solid var(--line);
  }

  .compare-row > * {
    border-top: 0;
    padding: 0;
  }

  .compare-row [role="rowheader"] {
    font-family: var(--font-display);
    font-size: 1.25rem;
  }

  .compare-row [data-tier]::before {
    content: attr(data-tier);
    display: block;
    margin-bottom: 4px;
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brass-ink);
  }

  .compare-row > :nth-child(4) {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .price-early {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

@media print {
  .site-header,
  .theme-toggle,
  .skip,
  .hero-actions,
  .toc {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .card,
  .callout,
  .tray {
    box-shadow: none;
  }

  a {
    color: #000;
  }
}
