/* Fonts for the landing page (body.lp) are loaded from Google Fonts in
   index.html's <head> — Bodoni Moda (masthead/headlines) and Libre Franklin
   (body/captions). The bundled Spectral + Barlow Condensed files in /fonts
   are no longer referenced (kept on disk; not loaded). */

/* Pocket Veto — marketing site.

   Three sections, in order:
     1. shared base — the older parchment tokens and chrome the LEGAL pages
        still run on. The landing page overrides all of it under `body.lp`.
     2. LANDING PAGE — the dark, terminal-refined artboard (2026-09 redesign).
     3. LEGAL PAGES — privacy.html / terms.html, untouched this pass. */

:root {
  --ink: #14181c;
  --parchment: #f3ede2;
  --oxide: #e7dfd1;
  --concord: #2f6f6b;
  --frontier: #c08a2e;
  --max-w: 46rem;

  color-scheme: light;
  --bg: var(--parchment);
  --fg: var(--ink);
  --card-bg: #ffffff;
  --rule: var(--oxide);
  --muted: #4a4a46;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: var(--ink);
    --fg: var(--parchment);
    --card-bg: #1c2126;
    --rule: #2a2f34;
    --muted: #b9b3a6;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

h1, h2, h3, .display {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

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

@media (prefers-color-scheme: dark) {
  a { color: #6fc9c3; }
}

.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--muted);
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.wrap--wide {
  max-width: 60rem;
}

/* ==================================================================
   LANDING PAGE (index.html, body.lp)

   2026-09 redesign: a broadsheet newspaper front page. Masthead, dateline,
   column rules, a drop cap, a boxed sidebar — newspaper apparatus standing
   in for numbered steps. Display type is Bodoni Moda (masthead, headlines,
   subheads); body and captions are Libre Franklin. Newsprint palette:
   paper #f2ede2, ink #161311, campaign red #b3261e, navy #1d2a52. Rules
   are always ink.
   ================================================================== */

body.lp {
  --np-bg: #f2ede2;
  --np-ink: #161311;
  --np-red: #b3261e;
  --np-navy: #1d2a52;
  --np-dim: #55504a;
  --np-line: var(--np-ink);

  --np-serif: "Bodoni Moda", Didot, "Times New Roman", serif;
  --np-sans: "Libre Franklin", Arial, Helvetica, sans-serif;

  margin: 0;
  background: var(--np-bg);
  color: var(--np-ink);
  font-family: var(--np-sans);
  font-weight: 400;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.lp a {
  color: var(--np-navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp a:hover {
  color: var(--np-red);
}

body.lp :focus-visible {
  outline: 2px solid var(--np-navy);
  outline-offset: 3px;
}

.lp .page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 60px;
}

/* ---------- masthead ---------- */

.masthead {
  padding: 22px clamp(20px, 5vw, 64px) 0;
}

.masthead-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--np-sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--np-dim);
  padding-bottom: 10px;
}

.mark {
  width: 40px;
  height: 40px;
  flex: none;
}

.mark-ring { stroke: var(--np-ink); }
.mark-diamond { fill: var(--np-red); }

.masthead-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 0 14px;
  border-top: 1px solid var(--np-line);
}

.masthead-name {
  margin: 0;
  font-family: var(--np-serif);
  font-weight: 800;
  font-size: clamp(44px, 8vw, 88px);
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--np-ink);
}

.masthead-rule {
  border-top: 4px double var(--np-line);
}

.masthead-dateline {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  padding: 10px 0;
  font-family: var(--np-sans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--np-dim);
  border-bottom: 1px solid var(--np-line);
}

.masthead-nav {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 12px 0;
  font-family: var(--np-sans);
  font-weight: 600;
  font-size: 14px;
}

.masthead-nav a {
  color: var(--np-ink);
  text-decoration: none;
}

.masthead-nav a:hover {
  color: var(--np-red);
  text-decoration: underline;
}

/* ---------- hero (scroll-driven iPhone) ---------- */

.ph-track {
  --ph-w: 320px;
  --ph-dot: var(--np-ink);
  padding: 36px clamp(20px, 5vw, 64px) 0;
}

.ph-lede {
  margin: 0 0 20px;
  font-family: var(--np-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  color: var(--np-ink);
  max-width: 460px;
}

.ph-caps {
  margin: 0 0 20px;
  min-height: 92px;
  max-width: 480px;
}

.ph-cap b {
  display: block;
  font-family: var(--np-sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--np-red);
  margin-bottom: 6px;
}

.ph-cap span {
  display: block;
  font-family: var(--np-sans);
  font-size: 17px;
  line-height: 1.5;
  color: var(--np-ink);
}

/* ---------- hero detail (moved below the phone track) ---------- */

.hero-detail {
  padding: 56px clamp(20px, 5vw, 64px) 0;
  border-top: 3px double var(--np-line);
}

.hero-boxes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
  max-width: 640px;
}

.hero-head {
  margin: 0 0 6px;
  font-family: var(--np-serif);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--np-ink);
}

.hero-drop {
  margin: 0 0 24px;
  font-family: var(--np-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--np-ink);
  max-width: 640px;
}

.hero-drop::first-letter {
  float: left;
  font-family: var(--np-serif);
  font-weight: 700;
  font-size: 4.4em;
  line-height: 0.82;
  padding: 0.02em 0.08em 0 0;
  color: var(--np-red);
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.store-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1.5px solid var(--np-red);
  color: var(--np-red);
  font-family: var(--np-sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.cta-note {
  font-family: var(--np-sans);
  font-size: 14px;
  color: var(--np-dim);
}

.photo {
  margin: 0;
}

.device-frame {
  border: 1px solid var(--np-line);
  padding: 8px;
  background: #ffffff;
}

.device-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.photo figcaption {
  margin-top: 8px;
  font-family: var(--np-sans);
  font-style: italic;
  font-size: 13px;
  color: var(--np-dim);
}

.boxed {
  border: 1.5px solid var(--np-line);
  padding: 18px 20px;
}

.boxed-head {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--np-line);
  font-family: var(--np-serif);
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--np-ink);
}

.boxed-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--np-sans);
  font-size: 15px;
}

.boxed-table tr {
  border-top: 1px solid var(--np-line);
}

.boxed-table tr:first-child {
  border-top: none;
}

.boxed-table th,
.boxed-table td {
  padding: 8px 0;
  font-weight: 400;
  text-align: left;
  color: var(--np-ink);
}

.boxed-table td {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.boxed-note {
  margin: 12px 0 0;
  font-size: 12.5px;
  color: var(--np-dim);
}

/* ---------- section heads (shared by desk + run) ---------- */

.section-head {
  margin: 0 0 22px;
  padding: 10px 0;
  border-top: 3px double var(--np-line);
  border-bottom: 1px solid var(--np-line);
  font-family: var(--np-serif);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  color: var(--np-ink);
}

/* ---------- from the desk ---------- */

.desk {
  padding: 56px clamp(20px, 5vw, 64px) 0;
}

.desk-columns {
  column-count: 2;
  column-gap: 40px;
  column-rule: 1px solid var(--np-line);
}

.desk-columns p {
  margin: 0 0 18px;
  font-family: var(--np-sans);
  font-size: 16px;
  line-height: 1.6;
  break-inside: avoid;
}

.desk-columns b {
  font-weight: 700;
  color: var(--np-ink);
}

.desk-more {
  font-style: italic;
  color: var(--np-dim);
}

/* ---------- how a run goes ---------- */

.run {
  padding: 56px clamp(20px, 5vw, 64px) 0;
}

.run-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

.run-columns {
  column-count: 3;
  column-gap: 32px;
  column-rule: 1px solid var(--np-line);
}

.run-step {
  break-inside: avoid;
  margin-bottom: 20px;
}

.run-step h3 {
  margin: 0 0 6px;
  font-family: var(--np-serif);
  font-weight: 600;
  font-size: 19px;
  color: var(--np-ink);
}

.run-step p {
  margin: 0;
  font-family: var(--np-sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--np-dim);
}

.photo--run {
  justify-self: end;
}

/* ---------- price / classified ---------- */

.price {
  padding: 56px clamp(20px, 5vw, 64px) 0;
  display: flex;
  justify-content: center;
}

.classified {
  border: 1.5px solid var(--np-line);
  padding: 32px 40px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.classified-tag {
  font-family: var(--np-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--np-red);
}

.classified-price {
  margin: 0;
  font-family: var(--np-serif);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 30px);
  color: var(--np-ink);
}

.classified-detail {
  margin: 0;
  font-family: var(--np-sans);
  font-size: 14px;
  color: var(--np-dim);
  max-width: 420px;
}

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

.ft {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 56px clamp(20px, 5vw, 64px) 0 0;
  padding: 22px 0 0;
  border-top: 3px double var(--np-line);
}

.ft-neutral {
  margin: 0;
  font-family: var(--np-sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--np-dim);
  max-width: 900px;
}

.ft-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: var(--np-sans);
  font-size: 12.5px;
  color: var(--np-dim);
  flex-wrap: wrap;
}

.ft-meta a {
  color: var(--np-dim);
}

.ft-meta a:hover {
  color: var(--np-red);
}

/* ---------- responsive: newspaper collapses to one column at <= 900px --- */

@media (max-width: 900px) {
  .desk-columns {
    column-count: 1;
    column-rule: none;
  }

  .run-body {
    grid-template-columns: 1fr;
  }

  .run-columns {
    column-count: 1;
    column-rule: none;
  }

  .photo--run {
    justify-self: stretch;
    max-width: 260px;
  }
}

@media (max-width: 640px) {
  .masthead-top {
    font-size: 10px;
  }

  .masthead-dateline {
    gap: 14px;
    font-size: 11px;
  }

  .masthead-nav {
    gap: 18px;
    font-size: 13px;
  }

  .hero-cta,
  .store-links {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .pill {
    width: 100%;
  }

  .cta-note {
    text-align: center;
  }

  .classified {
    padding: 24px 22px;
  }
}

/* ==================================================================
   LEGAL PAGES (privacy.html, terms.html) — unchanged chrome
   ================================================================== */

.site-header {
  border-bottom: 1px solid var(--rule);
}

.site-header .wrap {
  max-width: 60rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--fg);
}

.brand .seal {
  width: 34px;
  height: 34px;
  flex: none;
}

.brand-name {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.site-nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.92rem;
  margin-left: 1.25rem;
}

.site-nav a:hover {
  text-decoration: underline;
}

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 3rem;
}

.site-footer .wrap {
  max-width: 60rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
}

.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  margin-right: 1.1rem;
}

.site-footer nav a:last-child {
  margin-right: 0;
}

.site-footer nav a:hover {
  color: var(--fg);
  text-decoration: underline;
}

.legal main {
  padding: 2.5rem 0 4rem;
}

.legal .wrap {
  max-width: var(--max-w);
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.legal .effective {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.legal p, .legal li {
  color: var(--fg);
}

.legal ul {
  padding-left: 1.25rem;
}

.legal .notice {
  border-left: 3px solid var(--frontier);
  padding: 0.75rem 1rem;
  background: var(--card-bg);
  border-radius: 0 8px 8px 0;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal strong {
  color: var(--fg);
}

@media (max-width: 600px) {
  .hero-boxes {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

/* phone hero: keep Bodoni ascenders clear of the pinned box edge */
@media (max-width: 860px) {
  .lp .ph-sticky { padding-top: 24px; }
  .lp .ph-head .hero-head { line-height: 1.02; }
}
