/* Navigaze.org — "Instrument" design system.
   Dark, condensed, high-contrast. The lens green (--hud) is used ONLY where the
   glasses display is being shown; the page accent is --accent (signal orange) so
   the site does not read as a sibling of eveniris.com. */

/* Fonts are self-hosted (assets/fonts, SIL OFL 1.1 — see LICENSES.txt there)
   so no visitor's IP reaches Google Fonts. Latin subsets only. */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/barlow-400-latin.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/barlow-500-latin.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/barlow-600-latin.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/barlowcondensed-500-latin.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/barlowcondensed-600-latin.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/barlowcondensed-700-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/ibmplexmono-400-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/ibmplexmono-500-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/fonts/ibmplexmono-600-latin.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --paper: #07080a;
  --white: #0e1014;
  --ink: #f2f4f3;
  --muted: #8b938f;
  --soft: #14161a;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);
  --black: #000000;
  --hud: #00ff38;
  --sage: #93a09a; /* was #6f7873 (4.4:1 on --paper); 7.4:1 now */
  --accent: #ff7a1a;
  --accent-soft: rgba(255, 122, 26, 0.07);
  --shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  --pad-x: clamp(20px, 4.4vw, 64px);
  --pad-y: clamp(56px, 7vw, 104px);
  font-family: Barlow, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

p, h1, h2, h3, h4, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

img { max-width: 100%; }

h1, h2, h3 {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 0.94;
  text-transform: uppercase;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- primitives ---------- */

.wrap { width: min(1320px, 100%); margin: 0 auto; }

.section { padding: var(--pad-y) var(--pad-x); }
.section.alt {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  flex: none;
}
.eyebrow.plain::before { display: none; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}
.section-head h2 { font-size: clamp(38px, 5.2vw, 62px); }
.section-head .lede {
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
  text-wrap: pretty;
}
.section-head .stack { display: flex; flex-direction: column; gap: 18px; align-items: start; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 clamp(20px, 3vw, 30px);
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.button.primary { background: var(--accent); color: var(--paper); }
.button.primary:hover { background: #ff9146; }
.button.secondary { border-color: var(--line-strong); color: var(--ink); }
.button.secondary:hover { border-color: var(--ink); }
.button.ghost { border-color: var(--accent); color: var(--accent); }
.button.ghost:hover { background: var(--accent-soft); }
.button.block { width: 100%; }

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

.fineprint { font-size: 12px; color: var(--muted); }
/* A sentence should not be set as an uppercase mono label — at phone widths it
   wraps to three shouting lines and outranks the body copy above it. */
.fineprint.sentence { font-family: Barlow, ui-sans-serif, system-ui, sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none; line-height: 1.5; }

/* The lens captures are RGBA: pure green content on a fully transparent field
   (verified by decoding the PNG). They composite straight onto the black lens
   frame, and onto light surfaces too — no filter, no blend mode. */
.lensimg { display: block; width: 100%; height: auto; }

.lens-frame {
  position: relative;
  padding: clamp(14px, 1.8vw, 26px);
  background: var(--black);
  border: 1px solid rgba(0, 255, 56, 0.16);
  box-shadow: var(--shadow), inset 0 0 90px rgba(0, 255, 56, 0.05);
}
.lens-frame::before,
.lens-frame::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
}
.lens-frame::before {
  top: 10px; left: 10px;
  border-top: 2px solid rgba(0, 255, 56, 0.5);
  border-left: 2px solid rgba(0, 255, 56, 0.5);
}
.lens-frame::after {
  bottom: 10px; right: 10px;
  border-bottom: 2px solid rgba(0, 255, 56, 0.5);
  border-right: 2px solid rgba(0, 255, 56, 0.5);
}
.lens-frame.plain { border-color: var(--line); box-shadow: none; }
.lens-frame.plain::before, .lens-frame.plain::after { display: none; }

/* A real lens capture composited, large and centred, over a photograph of the
   road it belongs to. The photo is already darkened in the file; the frame
   only crops and holds the corner marks. */
.road { position: relative; margin: 0; overflow: hidden; background: var(--black); border: 1px solid rgba(0, 255, 56, 0.16); box-shadow: var(--shadow); }
.road img { display: block; width: 100%; height: auto; }
.road::before, .road::after { content: ""; position: absolute; width: 16px; height: 16px; pointer-events: none; }
.road::before { top: 10px; left: 10px; border-top: 2px solid rgba(0, 255, 56, 0.5); border-left: 2px solid rgba(0, 255, 56, 0.5); }
.road::after { bottom: 10px; right: 10px; border-bottom: 2px solid rgba(0, 255, 56, 0.5); border-right: 2px solid rgba(0, 255, 56, 0.5); }
.roadcap { color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 60ch; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad-x);
  background: rgba(7, 8, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-mark {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.brand-sub { font-size: 10px; color: var(--sage); }
.site-nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.site-nav a { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--accent); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  background: var(--accent);
  color: var(--paper) !important;
  font-weight: 600;
}
.nav-cta:hover { background: #ff9146; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 4.5vw, 56px);
  align-items: center;
  padding: clamp(52px, 7vw, 96px) var(--pad-x) clamp(52px, 6vw, 88px);
  background:
    radial-gradient(1100px 520px at 88% 18%, rgba(255, 122, 26, 0.13), transparent 62%),
    radial-gradient(760px 420px at 4% 96%, rgba(0, 255, 56, 0.07), transparent 68%),
    var(--paper);
}
.hero-copy { display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 30px); align-items: start; }
.hero h1 {
  font-size: clamp(52px, 6.6vw, 92px);
  line-height: 0.9;
  letter-spacing: -0.02em;
}
.hero .lede {
  max-width: 30ch;
  color: #a6afaa;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  text-wrap: pretty;
}
.hero-shot { display: flex; flex-direction: column; gap: 14px; }
.shot-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.shot-meta .hudtag { font-size: 11px; color: var(--hud); }
.shot-meta .dim { font-size: 11px; color: var(--sage); }

/* ---------- ticker ---------- */

.ticker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2.4vw, 40px);
  padding: 16px var(--pad-x);
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.ticker span { font-size: 11px; color: var(--muted); }
.ticker .sep { color: var(--accent); }

/* ---------- captures ---------- */

.capture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: clamp(18px, 2vw, 24px);
  margin-top: clamp(28px, 3.5vw, 44px);
}
.capture { display: flex; flex-direction: column; gap: 14px; }
.capture h3 { font-size: 22px; }
.capture p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.capture .cap-text { display: flex; flex-direction: column; gap: 6px; }

/* ---------- speed ---------- */

.speed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
}
.readout { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 40px); }
.limit-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 3px solid var(--hud);
}
.limit-sign .cap { font-size: 9px; color: var(--hud); line-height: 1.2; text-align: center; }
.limit-sign .num {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 0.8;
  color: var(--hud);
}
.dots { display: flex; align-items: flex-end; gap: 18px; }
.digit { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.digit i { display: block; width: 14px; height: 14px; background: rgba(0, 255, 56, 0.07); }
.digit i.on { background: var(--hud); box-shadow: 0 0 10px rgba(0, 255, 56, 0.55); }
.unit { font-size: 12px; color: var(--hud); padding-bottom: 6px; }

/* ---------- modes ---------- */

.mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 1.6vw, 20px);
  margin-top: clamp(28px, 3.5vw, 40px);
}
/* Six modes are a 3 x 2 set, not a 4 + 2 orphan row. */
@media (min-width: 900px) {
  .mode-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.mode {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(20px, 2.2vw, 26px);
  background: var(--white);
  border: 1px solid var(--line);
}
.section.alt .mode { background: var(--paper); }
.mode h3 { font-size: 22px; }
.mode p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.mode svg { color: var(--accent); }

/* ---------- alerts ---------- */

.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(32px, 4.5vw, 64px);
}
.two-col.middle { align-items: center; }
.col-stack { display: flex; flex-direction: column; gap: clamp(14px, 1.6vw, 20px); align-items: start; }
.col-stack h2 { font-size: clamp(34px, 4.4vw, 54px); }
.col-stack p { color: #a6afaa; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; text-wrap: pretty; }

.chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; align-content: start; }
.chip { display: flex; align-items: center; gap: 12px; padding: 18px; border: 1px solid var(--line); font-size: 16px; font-weight: 500; }
.chip::before { content: ""; display: block; width: 6px; height: 6px; background: var(--accent); flex: none; }

/* ---------- figures ---------- */

.figure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.figure { display: flex; flex-direction: column; gap: 6px; padding: 26px 20px; background: var(--white); border-top: 2px solid var(--accent); }
.section.alt .figure { background: var(--paper); }
.figure b { font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 700; font-size: clamp(36px, 3.6vw, 48px); line-height: 0.9; }
.figure span { font-size: 11px; color: var(--muted); }

/* ---------- plans ---------- */

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: clamp(14px, 1.6vw, 20px); margin-top: clamp(28px, 3.5vw, 40px); }
.plan { display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 34px); border: 1px solid rgba(255, 255, 255, 0.12); }
.plan.pro { border-color: rgba(255, 122, 26, 0.5); background: linear-gradient(180deg, var(--accent-soft), rgba(255, 122, 26, 0)); }
.plan-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; }
.plan-head h3 { font-size: clamp(24px, 2.4vw, 30px); }
.price { font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 700; font-size: clamp(28px, 2.8vw, 34px); }
.plan.pro .price { color: var(--accent); }
.price .per { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.14em; color: var(--muted); margin-left: 6px; }
.plan ul { display: flex; flex-direction: column; gap: 10px; }
.plan li { font-size: 16px; color: #a6afaa; }
.plan.pro li { color: var(--ink); }
.plan .foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.plan .foot .fineprint { text-align: center; }

/* ---------- comparison table ---------- */

.compare { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: clamp(20px, 2.4vw, 26px); }
.compare > * { padding: 20px 20px; border-top: 1px solid var(--line); font-size: 16px; }
.compare > *:nth-child(3n + 1) { padding-left: 0; }
.compare > *:nth-child(3n) { background: var(--accent-soft); }
.compare .head { border-top: 0; padding-top: 18px; padding-bottom: 18px; font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.compare .head.free { color: var(--muted); }
.compare .head.pro { color: var(--accent); }
.compare .feat { font-size: 17px; }
.compare .free-val { color: var(--muted); }
.compare .pro-val { color: var(--ink); }

/* ---------- steps ---------- */

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(14px, 1.6vw, 20px); }
.step { display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.2vw, 28px); background: var(--white); border: 1px solid var(--line); }
.step b { font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif; font-weight: 700; font-size: 36px; line-height: 0.9; color: var(--accent); }
.step h3 { font-size: 21px; }
.step p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- honesty ---------- */

.honest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(14px, 1.6vw, 20px); margin-top: clamp(24px, 3vw, 36px); }
.honest { display: flex; flex-direction: column; gap: 10px; padding: 4px 0 4px 26px; border-left: 2px solid rgba(255, 255, 255, 0.16); }
.honest h3 { font-size: 20px; }
.honest p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* ---------- closing cta ---------- */

.closer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(18px, 2.2vw, 26px);
  padding: var(--pad-y) var(--pad-x);
  text-align: center;
  background: radial-gradient(700px 320px at 50% 0%, rgba(255, 122, 26, 0.14), transparent 70%), var(--white);
  border-top: 1px solid var(--line);
}
.closer h2 { font-size: clamp(48px, 7vw, 68px); }
.closer p { max-width: 52ch; color: #a6afaa; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; }

/* ---------- install page ---------- */

.install-hero {
  min-height: min(620px, calc(100vh - 76px));
  display: flex;
  align-items: end;
  padding: clamp(64px, 8vw, 112px) var(--pad-x) clamp(44px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(7, 8, 10, 0.94) 0%, rgba(7, 8, 10, 0.72) 48%, rgba(7, 8, 10, 0.34) 100%),
    linear-gradient(0deg, rgba(7, 8, 10, 0.92) 0%, rgba(7, 8, 10, 0.08) 42%),
    url("assets/road-drive.webp") center / cover no-repeat,
    var(--paper);
}
.install-hero-copy {
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: clamp(18px, 2.4vw, 28px);
}
.install-hero h1 { font-size: clamp(58px, 8vw, 104px); }
.install-hero .lede {
  max-width: 36ch;
  color: #c9cfcc;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.52;
  text-wrap: pretty;
}
.install-wrap { display: flex; flex-direction: column; gap: clamp(24px, 3vw, 38px); }
.badge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(14px, 1.8vw, 20px);
}
.store-badge {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: #050608;
  color: #ffffff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32);
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.store-badge:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.46);
  background: #101318;
}
.store-logo {
  width: 54px;
  height: 54px;
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  padding: 8px;
}
.store-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.store-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}
.store-copy small {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9cfcc;
}
.store-copy strong {
  font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  font-size: clamp(30px, 3vw, 38px);
  line-height: 0.96;
  text-transform: uppercase;
}
.even-logo { width: 112px; }
.even-logo img { width: 100%; }
.install-notes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 14px;
  color: var(--muted);
}
.install-notes p {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.55;
}
.install-notes a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rights-note {
  max-width: 82ch;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}
.even-install { padding-bottom: clamp(56px, 7vw, 104px); }
.even-panel {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: clamp(16px, 2vw, 24px);
  width: min(760px, 100%);
}
.even-panel h2 { font-size: clamp(36px, 5vw, 58px); }
.even-panel p { color: #a6afaa; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.6; }
.even-panel .store-badge { width: min(520px, 100%); }

/* ---------- footer ---------- */

.site-footer { display: flex; flex-direction: column; gap: 26px; padding: clamp(36px, 4.5vw, 56px) var(--pad-x); border-top: 1px solid var(--line); }
.footer-top { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: clamp(24px, 4vw, 48px); }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: clamp(24px, 4vw, 48px); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .head { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); }
.footer-col a { font-size: 15px; color: #a6afaa; }
.footer-col a:hover { color: var(--ink); }
.legal { max-width: 92ch; color: var(--muted); font-size: 14px; line-height: 1.6; } /* was #5f6763, 3.4:1 */
.legal a { color: #a6afaa; text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--ink); }
.footer-legal-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal-links a { font-size: 15px; color: #a6afaa; }
.footer-legal-links a:hover { color: var(--ink); }

/* ---------- long-form documents (privacy, terms, accessibility) ----------
   Reading pages: sentence case, a measure, real paragraphs. Headings keep the
   condensed face but drop the uppercase shout. */

.doc { width: min(760px, 100%); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--pad-x) var(--pad-y); }
.doc h1 { font-size: clamp(38px, 5.2vw, 56px); margin-bottom: 10px; }
.doc .updated { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 28px; }
.doc .lede { color: #a6afaa; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; margin-bottom: 26px; text-wrap: pretty; }
.doc h2 { font-size: clamp(24px, 2.6vw, 30px); text-transform: none; letter-spacing: 0; line-height: 1.1; margin: 42px 0 12px; scroll-margin-top: 96px; }
.doc h3 { font-family: Barlow, ui-sans-serif, system-ui, sans-serif; font-size: 17px; font-weight: 600; text-transform: none; letter-spacing: 0; line-height: 1.3; margin: 24px 0 8px; scroll-margin-top: 96px; }
.doc p, .doc li { color: #c9cfcc; font-size: 16px; line-height: 1.65; }
.doc p { margin-bottom: 14px; }
.doc ul, .doc ol { padding-left: 22px; margin-bottom: 16px; }
.doc ul { list-style: disc; }
.doc ol { list-style: decimal; }
.doc li { margin-bottom: 8px; }
.doc strong { color: var(--ink); }
.doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.doc a:hover { color: #ff9146; }
.doc .toc { padding: 16px 20px 8px; border: 1px solid var(--line); background: var(--white); margin-bottom: 8px; }
.doc .toc h2 { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.doc .toc ol { columns: 2; column-gap: 28px; margin-bottom: 6px; }
.doc .toc li { font-size: 15px; margin-bottom: 6px; break-inside: avoid; }
.doc .toc a { color: #a6afaa; text-decoration: none; }
.doc .toc a:hover { color: var(--ink); text-decoration: underline; }
.doc .panel { padding: 18px 20px; border: 1px solid rgba(255, 122, 26, 0.45); background: var(--accent-soft); margin: 22px 0; }
.doc .panel p:last-child, .doc .panel ul:last-child { margin-bottom: 0; }
.doc .tbl { overflow-x: auto; margin: 14px 0 22px; border: 1px solid var(--line); background: var(--white); }
.doc table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 14.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: #c9cfcc; line-height: 1.5; }
.doc th { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: var(--soft); }
.doc tr:last-child td { border-bottom: 0; }
.doc td:first-child { color: var(--ink); font-weight: 500; }
.doc .changes li { font-size: 15px; }
.doc .foot { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.doc .foot a { color: #a6afaa; }
@media (max-width: 560px) { .doc .toc ol { columns: 1; } }

/* ---------- reveal on scroll ----------
   The hidden state only exists once JS has added .js to <html>, and a failsafe
   clears it after 4s. An animation must never be able to hide content. */

[data-reveal].pre { opacity: 0; transform: translateY(14px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity 520ms ease, transform 520ms ease; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal].pre { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-shot { order: -1; }
  .section-head { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .compare { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .compare .feat { grid-column: 1 / -1; padding-left: 0; padding-bottom: 4px; border-top: 1px solid var(--line); }
  .compare > *:nth-child(3n + 1) { padding-left: 0; }
  .compare > *:nth-child(3n + 2) { border-top: 0; }
  .compare > *:nth-child(3n) { border-top: 0; }
  .compare .head { display: none; }
  .compare .free-val::before { content: "Free — "; color: var(--sage); }
  .compare .pro-val::before { content: "Pro — "; color: var(--accent); }
}

@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: 12px; }
  .site-nav { width: 100%; flex-wrap: wrap; gap: 14px 18px; }
  .actions .button { flex: 1 1 220px; }
  .dots { gap: 12px; }
  .digit i { width: 11px; height: 11px; }
}

@media (max-width: 420px) {
  .digit i { width: 9px; height: 9px; }
  .digit { gap: 4px; }
}
