/* ============================================================
   POSIUM.IO — marketing site
   Design system: "Imprint" (docs/design/ in the product repo).
   Token layer below is the semantic slice of tokens.css; the
   tenant-override layer (--org-*) is deliberately absent — this
   site always wears the Posium default theme.
   ============================================================ */

/* ---------- Fonts (self-hosted, SIL OFL, latin subsets) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces-italic-var.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Primitives ---------- */
:root {
  --pos-paper-0: #FFFFFF;
  --pos-paper-1: #FBF8F1;
  --pos-paper-2: #F7F2E9;
  --pos-paper-3: #EFE7D8;
  --pos-paper-4: #E4DAC6;
  --pos-paper-5: #D9CFBC;

  --pos-ink-1: #221D16;
  --pos-ink-2: #3D372E;
  --pos-ink-3: #5C544A;
  --pos-ink-4: #8A8175;

  --pos-night-1: #171310;
  --pos-night-2: #1F1A15;
  --pos-night-3: #2A241D;
  --pos-night-4: #3A322A;

  --pos-oxblood-1: #A84A38;
  --pos-oxblood-2: #8A2D1E;
  --pos-gilt-1: #D9B25E;
  --pos-gilt-2: #B98A2F;
  --pos-gilt-bg: #F5EAD2;
  --pos-moss-1: #7B8F6E;
  --pos-moss-2: #5A6B4F;
  --pos-moss-bg: #E8EDE2;
  --pos-slate-1: #8195A3;
  --pos-slate-2: #4E6474;
  --pos-slate-bg: #E3EAEF;
}

/* ---------- Semantic (light) ---------- */
:root {
  --pos-surface: var(--pos-paper-2);
  --pos-surface-raised: var(--pos-paper-0);
  --pos-surface-sunken: var(--pos-paper-3);
  --pos-surface-inverse: var(--pos-ink-1);

  --pos-ink: var(--pos-ink-1);
  --pos-ink-soft: var(--pos-ink-2);
  --pos-ink-muted: var(--pos-ink-3);
  --pos-ink-faint: var(--pos-ink-4);
  --pos-ink-inverse: var(--pos-paper-1);

  --pos-brand: var(--pos-oxblood-2);
  --pos-brand-hover: #6E2317;
  --pos-brand-soft: color-mix(in oklab, var(--pos-brand), var(--pos-surface-raised) 90%);
  --pos-on-brand: #FBF7EF;

  --pos-highlight: var(--pos-gilt-2);
  --pos-highlight-ink: color-mix(in oklab, var(--pos-highlight), black 42%);
  --pos-highlight-bg: color-mix(in oklab, var(--pos-highlight), var(--pos-paper-1) 85%);

  --pos-positive: var(--pos-moss-2);
  --pos-positive-bg: var(--pos-moss-bg);
  --pos-info: var(--pos-slate-2);
  --pos-info-bg: var(--pos-slate-bg);
  --pos-danger: #9C3A28;

  --pos-rule: var(--pos-paper-5);
  --pos-rule-strong: var(--pos-paper-4);
  --pos-focus-ring: 0 0 0 2px var(--pos-surface), 0 0 0 4px var(--pos-brand);

  --pos-font-display: "Fraunces", Georgia, serif;
  --pos-font-body: "Inter", system-ui, sans-serif;
  --pos-text-xs: 0.75rem;
  --pos-text-s: 0.844rem;
  --pos-text-m: 0.938rem;
  --pos-text-l: 1.125rem;
  --pos-text-xl: 1.375rem;
  --pos-text-2xl: 1.75rem;
  --pos-text-3xl: 2.5rem;
  --pos-leading-body: 1.55;
  --pos-leading-display: 1.12;
  --pos-tracking-label: .09em;

  --pos-radius-s: 2px;
  --pos-radius-m: 3px;
  --pos-radius-round: 999px;
  --pos-shadow-1: 0 1px 0 rgba(34,29,22,.06), 0 1px 8px rgba(34,29,22,.05);
  --pos-shadow-2: 0 2px 24px rgba(34,29,22,.10);
  --pos-shadow-3: 0 18px 60px -12px rgba(34,29,22,.28), 0 2px 8px rgba(34,29,22,.08);

  --pos-space-4: 16px; --pos-space-5: 24px; --pos-space-6: 32px;
  --pos-space-7: 48px; --pos-space-8: 64px;

  --shell: 1080px;
  --grain-opacity: .5;
  color-scheme: light;
}

/* ---------- Semantic (dark) ---------- */
[data-theme="dark"] {
  --pos-surface: var(--pos-night-1);
  --pos-surface-raised: var(--pos-night-2);
  --pos-surface-sunken: var(--pos-night-3);
  --pos-surface-inverse: var(--pos-paper-2);

  --pos-ink: #EDE5D6;
  --pos-ink-soft: #D5CBB9;
  --pos-ink-muted: #9C917F;
  --pos-ink-faint: #6E655A;
  --pos-ink-inverse: var(--pos-ink-1);

  --pos-brand: var(--pos-oxblood-1);
  --pos-brand-hover: #C05B47;
  --pos-brand-soft: color-mix(in oklab, var(--pos-brand), var(--pos-night-2) 85%);

  --pos-highlight: var(--pos-gilt-1);
  --pos-highlight-ink: color-mix(in oklab, var(--pos-highlight), white 35%);
  --pos-highlight-bg: color-mix(in oklab, var(--pos-highlight), var(--pos-night-2) 82%);

  --pos-positive: var(--pos-moss-1);
  --pos-positive-bg: color-mix(in oklab, var(--pos-moss-2), var(--pos-night-2) 78%);
  --pos-info: var(--pos-slate-1);
  --pos-info-bg: color-mix(in oklab, var(--pos-slate-2), var(--pos-night-2) 78%);
  --pos-danger: #C4543F;

  --pos-rule: var(--pos-night-4);
  --pos-rule-strong: #4A4036;
  --pos-shadow-1: 0 1px 0 rgba(0,0,0,.3), 0 1px 8px rgba(0,0,0,.25);
  --pos-shadow-2: 0 2px 24px rgba(0,0,0,.4);
  --pos-shadow-3: 0 18px 60px -12px rgba(0,0,0,.6), 0 2px 8px rgba(0,0,0,.4);
  --grain-opacity: .22;
  color-scheme: dark;
}

/* ============================================================
   Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--pos-surface);
  color: var(--pos-ink);
  font-family: var(--pos-font-body);
  font-size: var(--pos-text-m);
  line-height: var(--pos-leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* letterpress grain — the "warm paper" of the Imprint direction */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--pos-font-display);
  line-height: var(--pos-leading-display);
  margin: 0;
  font-weight: 550;
  font-variation-settings: "SOFT" 0, "WONK" 0;
  letter-spacing: -.005em;
}
p { margin: 0; }
a { color: var(--pos-brand); }
img { max-width: 100%; display: block; }
:where(a, button, input, [tabindex]):focus-visible {
  outline: none; box-shadow: var(--pos-focus-ring); border-radius: var(--pos-radius-s);
}
::selection { background: var(--pos-brand); color: var(--pos-on-brand); }

.shell { max-width: var(--shell); margin: 0 auto; padding-inline: clamp(20px, 5vw, 40px); }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }

/* ---------- Reusable atoms ---------- */
.kicker {
  font: 600 var(--pos-text-xs) var(--pos-font-body);
  letter-spacing: .16em; text-transform: uppercase; color: var(--pos-brand);
}
.lede {
  font-size: var(--pos-text-l); color: var(--pos-ink-muted);
  max-width: 60ch; margin-inline: auto;
}
.orn { color: var(--pos-brand); letter-spacing: 12px; font-size: 15px; line-height: 1; }
.orn-rule {
  display: flex; align-items: center; gap: 16px; color: var(--pos-brand);
  font-size: 12px; letter-spacing: 8px;
}
.orn-rule::before, .orn-rule::after {
  content: ""; flex: 1; height: 3px;
  border-top: 1px solid var(--pos-rule-strong); border-bottom: 1px solid var(--pos-rule-strong);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 var(--pos-text-m)/1 var(--pos-font-body);
  padding: 13px 22px; border-radius: var(--pos-radius-m);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .14s ease, color .14s ease, border-color .14s ease, transform .14s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--pos-brand); color: var(--pos-on-brand); }
.btn-primary:hover { background: var(--pos-brand-hover); }
.btn-secondary { background: transparent; color: var(--pos-ink); border-color: var(--pos-ink); }
.btn-secondary:hover { background: var(--pos-surface-sunken); }
.btn-l { padding: 15px 28px; font-size: var(--pos-text-l); }
.btn-s { padding: 8px 14px; font-size: var(--pos-text-s); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 var(--pos-text-xs) var(--pos-font-body);
  letter-spacing: var(--pos-tracking-label); text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--pos-radius-s); white-space: nowrap;
}
.badge-brand { background: var(--pos-brand-soft); color: var(--pos-brand); }
.badge-positive { background: var(--pos-positive-bg); color: var(--pos-positive); }
.badge-info { background: var(--pos-info-bg); color: var(--pos-info); }
.badge-highlight { background: var(--pos-highlight-bg); color: var(--pos-highlight-ink); }
.badge-neutral { background: var(--pos-surface-sunken); color: var(--pos-ink-muted); }

.card {
  background: var(--pos-surface-raised);
  border: 1px solid var(--pos-rule);
  border-radius: var(--pos-radius-m);
  box-shadow: var(--pos-shadow-1);
}

/* lozenge bullet — the Posium printer's ornament */
.lozenge {
  width: 8px; height: 12px; background: var(--pos-brand); flex: none;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px clamp(20px, 5vw, 40px);
  border-bottom: 1px solid var(--pos-rule);
  background: color-mix(in oklab, var(--pos-surface), transparent 15%);
  backdrop-filter: saturate(1.4) blur(12px);
}
.wordmark {
  font-family: var(--pos-font-display); font-weight: 560; font-size: 25px;
  color: var(--pos-ink); text-decoration: none; letter-spacing: -.01em;
  display: inline-block;
}
/* The dotless i wears an oxblood lozenge for a tittle — the printer's
   ornament from the outlined wordmark (BRAND.md: .15em × .26em, set
   just above the x-height). */
.wordmark i { font-style: normal; position: relative; display: inline-block; line-height: 1; }
.wordmark i::before {
  content: ""; position: absolute; left: 50%; top: .09em; transform: translateX(-50%);
  width: .15em; height: .26em; background: var(--pos-brand);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  color: var(--pos-ink-muted); text-decoration: none;
  font: 500 var(--pos-text-s) var(--pos-font-body);
}
.nav-links a:hover { color: var(--pos-ink); }
.nav-right { display: flex; gap: 14px; align-items: center; }
.theme-toggle {
  background: transparent; border: 1px solid var(--pos-rule-strong);
  border-radius: var(--pos-radius-round); cursor: pointer;
  width: 34px; height: 34px; display: grid; place-items: center;
  color: var(--pos-ink-muted); padding: 0;
}
.theme-toggle:hover { color: var(--pos-ink); border-color: var(--pos-ink-faint); }
.theme-toggle svg { width: 16px; height: 16px; }
[data-theme="dark"] .theme-toggle .i-sun { display: none; }
:root:not([data-theme="dark"]) .theme-toggle .i-moon { display: none; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: clamp(48px, 8vw, 92px) 0 0;
  background: linear-gradient(180deg, color-mix(in oklab, var(--pos-surface), var(--pos-surface-sunken) 60%), var(--pos-surface) 70%);
  border-bottom: 1px solid var(--pos-rule);
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2.25rem, 6vw, 4rem);
  max-width: 15ch; margin: 18px auto 16px;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.hero h1 em { font-style: italic; color: var(--pos-brand); }
.hero .lede { margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note {
  margin-top: 16px; font-size: var(--pos-text-s); color: var(--pos-ink-faint);
}
.hero-shot { margin-top: clamp(36px, 6vw, 64px); perspective: 1600px; }

/* browser frame around the real product screenshot */
.browser {
  max-width: 940px; margin: 0 auto -1px;
  border: 1px solid var(--pos-rule-strong);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: var(--pos-surface-raised);
  box-shadow: var(--pos-shadow-3);
}
.browser-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-bottom: 1px solid var(--pos-rule);
  background: var(--pos-surface-sunken);
}
.browser-bar .dots { display: flex; gap: 6px; }
.browser-bar .dots span {
  width: 9px; height: 9px; border-radius: 50%; background: var(--pos-rule-strong);
}
.browser-bar .url {
  flex: 1; text-align: center; font-size: var(--pos-text-xs); color: var(--pos-ink-muted);
  background: var(--pos-surface-raised); border: 1px solid var(--pos-rule);
  border-radius: var(--pos-radius-round); padding: 3px 12px; max-width: 320px;
  margin-inline: auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.browser img { width: 100%; }

/* ============================================================
   Section scaffolding
   ============================================================ */
section { padding: clamp(56px, 8vw, 88px) 0; }
.sect-head { text-align: center; margin-bottom: clamp(32px, 5vw, 48px); }
.sect-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); margin: 12px 0 10px; }
.sect-head .lede { font-size: var(--pos-text-m); }
.band {
  background: var(--pos-surface-raised);
  border-top: 1px solid var(--pos-rule);
  border-bottom: 1px solid var(--pos-rule);
}

/* ---------- Stat strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--pos-rule); border-bottom: 1px solid var(--pos-rule);
  background: var(--pos-surface-raised);
}
.stats div { padding: 22px 20px; text-align: center; border-right: 1px solid var(--pos-rule); }
.stats div:last-child { border-right: 0; }
.stats b {
  display: block; font-family: var(--pos-font-display); font-size: var(--pos-text-2xl);
  font-weight: 550; font-variant-numeric: tabular-nums; line-height: 1.1;
}
.stats span {
  font-size: var(--pos-text-xs); text-transform: uppercase;
  letter-spacing: var(--pos-tracking-label); color: var(--pos-ink-muted); font-weight: 600;
}
@media (max-width: 720px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats div:nth-child(2) { border-right: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--pos-rule); }
}

/* ---------- Stack comparison ---------- */
.stack-compare {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center;
  max-width: 880px; margin-inline: auto;
}
.stack-card { border: 1px solid var(--pos-rule-strong); border-radius: var(--pos-radius-m); background: var(--pos-surface-raised); }
.stack-card.is-ours { border-color: var(--pos-brand); box-shadow: var(--pos-shadow-2); }
.sc-head {
  padding: 13px 18px; border-bottom: 1px solid var(--pos-rule);
  font: 600 var(--pos-text-s) var(--pos-font-body);
  letter-spacing: var(--pos-tracking-label); text-transform: uppercase;
}
.is-ours .sc-head { color: var(--pos-brand); }
.sc-row {
  display: flex; justify-content: space-between; gap: 14px; padding: 10px 18px;
  font-size: var(--pos-text-s); color: var(--pos-ink-soft);
  border-bottom: 1px dashed var(--pos-rule);
}
.sc-row:last-of-type { border-bottom: 0; }
.sc-row span:last-child { color: var(--pos-ink-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.sc-total {
  padding: 14px 18px; border-top: 1px solid var(--pos-rule-strong);
  display: flex; justify-content: space-between; gap: 14px; align-items: baseline;
  font-weight: 600; font-size: var(--pos-text-s);
}
.sc-total b { font-family: var(--pos-font-display); font-size: var(--pos-text-xl); font-weight: 550; }
.is-ours .sc-total b { color: var(--pos-brand); }
.stack-vs {
  font-family: var(--pos-font-display); font-style: italic;
  color: var(--pos-ink-faint); font-size: var(--pos-text-xl);
}
@media (max-width: 800px) {
  .stack-compare { grid-template-columns: 1fr; gap: 14px; }
  .stack-vs { text-align: center; }
}

/* ---------- Module grid ---------- */
.mod-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); gap: 16px;
}
.mod-card {
  border: 1px solid var(--pos-rule); border-radius: var(--pos-radius-m);
  background: var(--pos-surface-raised); padding: 22px;
  box-shadow: var(--pos-shadow-1);
  transition: border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.mod-card:hover { border-color: var(--pos-brand); transform: translateY(-2px); box-shadow: var(--pos-shadow-2); }
.mod-card .lozenge { margin-bottom: 14px; }
.mod-card h3 { font-size: var(--pos-text-l); margin-bottom: 6px; }
.mod-card p { font-size: var(--pos-text-s); color: var(--pos-ink-muted); }

/* ---------- Differentiators ---------- */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.diff {
  border-top: 3px double var(--pos-rule-strong); padding-top: 20px;
}
.diff .badge { margin-bottom: 12px; }
.diff h3 { font-size: var(--pos-text-xl); margin-bottom: 8px; }
.diff p { font-size: var(--pos-text-s); color: var(--pos-ink-soft); }
.diff p + p { margin-top: 10px; }
.diff .who { color: var(--pos-ink-faint); font-size: var(--pos-text-xs); font-style: italic; }

/* ---------- Theming triptych ---------- */
.themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.theme-shot {
  border: 1px solid var(--pos-rule-strong); border-radius: var(--pos-radius-m);
  overflow: hidden; background: var(--pos-surface-raised); box-shadow: var(--pos-shadow-2);
}
.theme-shot img { width: 100%; height: 200px; object-fit: cover; object-position: left top; }
.theme-shot figcaption {
  padding: 12px 14px; border-top: 1px solid var(--pos-rule); font-size: var(--pos-text-xs);
}
.theme-shot figcaption b { display: block; font-size: var(--pos-text-s); font-weight: 600; }
.theme-shot figcaption span { color: var(--pos-ink-muted); }
@media (max-width: 800px) { .themes { grid-template-columns: 1fr; } .theme-shot img { height: 260px; } }

/* ---------- Pricing ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier {
  border: 1px solid var(--pos-rule-strong); border-radius: var(--pos-radius-m);
  background: var(--pos-surface-raised); padding: 26px; position: relative;
  display: flex; flex-direction: column;
}
.tier.is-featured { border-color: var(--pos-brand); box-shadow: var(--pos-shadow-2); }
.tier .flag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); }
.tier h3 { font-size: var(--pos-text-xl); }
.t-price {
  font-family: var(--pos-font-display); font-size: var(--pos-text-3xl);
  font-weight: 550; margin-top: 10px; font-variant-numeric: tabular-nums; line-height: 1;
}
.t-per { font-size: var(--pos-text-s); color: var(--pos-ink-muted); margin-top: 6px; }
.t-fee {
  font-size: var(--pos-text-s); color: var(--pos-ink-soft);
  border-top: 1px dashed var(--pos-rule-strong); border-bottom: 1px dashed var(--pos-rule-strong);
  padding: 11px 0; margin: 16px 0;
}
.tier ul { list-style: none; margin: 0 0 20px; padding: 0; }
.tier li {
  font-size: var(--pos-text-s); color: var(--pos-ink-soft);
  padding: 5px 0 5px 20px; position: relative;
}
.tier li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 11px;
  background: var(--pos-brand); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.tier li.na { color: var(--pos-ink-faint); }
.tier li.na::before { background: var(--pos-rule-strong); }
.tier .btn { width: 100%; margin-top: auto; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

.addon {
  max-width: 640px; margin: 24px auto 0; text-align: center;
  font-size: var(--pos-text-s); color: var(--pos-ink-muted);
  border: 1px dashed var(--pos-rule-strong); border-radius: var(--pos-radius-m); padding: 14px 18px;
}
.addon b { color: var(--pos-ink); }

/* worked example */
.worked { max-width: 560px; margin-inline: auto; padding: 24px; }
.moneyrow { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: var(--pos-text-s); }
.moneyrow .m-label { color: var(--pos-ink-muted); }
.moneyrow .m-val { font-variant-numeric: tabular-nums; font-weight: 600; }
.moneyrow.total {
  border-top: 1px solid var(--pos-rule-strong); margin-top: 8px; padding-top: 12px;
  font-size: var(--pos-text-m);
}
.moneyrow.total .m-label { color: var(--pos-ink); font-weight: 600; }
.moneyrow.total .m-val { font-family: var(--pos-font-display); font-size: var(--pos-text-xl); font-weight: 550; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--pos-rule); border-radius: var(--pos-radius-m); }
table.cmp { width: 100%; border-collapse: collapse; background: var(--pos-surface-raised); font-size: var(--pos-text-s); min-width: 660px; }
table.cmp th {
  text-align: center; font: 600 var(--pos-text-xs) var(--pos-font-body);
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.35;
  color: var(--pos-ink-muted); padding: 12px 10px; vertical-align: bottom;
  border-bottom: 1px solid var(--pos-rule-strong);
}
table.cmp th:first-child { text-align: left; }
table.cmp td { padding: 12px 10px; border-bottom: 1px solid var(--pos-rule); vertical-align: middle; }
table.cmp tbody tr:last-child td { border-bottom: 0; }
table.cmp td:not(:first-child) { text-align: center; }
table.cmp .yes { color: var(--pos-positive); font-weight: 700; }
table.cmp .part { color: var(--pos-highlight-ink); font-weight: 700; }
table.cmp .no { color: var(--pos-ink-faint); }
table.cmp .cost { text-align: right !important; white-space: nowrap; color: var(--pos-ink-muted); font-variant-numeric: tabular-nums; }
table.cmp tr.ours { background: color-mix(in oklab, var(--pos-brand-soft), transparent 35%); }
table.cmp tr.ours td { font-weight: 600; }
table.cmp tr.ours .cost { color: var(--pos-brand); }
.table-note { font-size: var(--pos-text-xs); color: var(--pos-ink-faint); margin-top: 12px; text-align: center; max-width: 74ch; margin-inline: auto; }

/* ---------- Pull quote ---------- */
.pull {
  max-width: 720px; margin-inline: auto; text-align: center;
}
.pull blockquote {
  font-family: var(--pos-font-display); font-size: clamp(1.3rem, 3vw, 1.75rem);
  font-style: italic; line-height: 1.35; margin: 0 0 16px;
}
.pull cite { font-style: normal; font-size: var(--pos-text-s); color: var(--pos-ink-muted); }

/* ---------- Waitlist / CTA ---------- */
.cta { text-align: center; }
.cta h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 12px; }
.waitlist {
  display: flex; gap: 10px; max-width: 460px; margin: 26px auto 0; flex-wrap: wrap;
  justify-content: center;
}
.waitlist input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  font: 400 var(--pos-text-m) var(--pos-font-body); color: var(--pos-ink);
  background: var(--pos-surface-raised); border: 1px solid var(--pos-rule-strong);
  border-radius: var(--pos-radius-m); padding: 13px 14px;
}
.waitlist input::placeholder { color: var(--pos-ink-faint); }
.waitlist input:hover { border-color: var(--pos-ink-faint); }
.waitlist .btn { flex: 0 0 auto; }
.form-msg {
  margin-top: 14px; font-size: var(--pos-text-s); min-height: 1.4em;
  color: var(--pos-ink-muted);
}
.form-msg.ok { color: var(--pos-positive); font-weight: 600; }
.form-msg.err { color: var(--pos-danger); }
.form-fine { margin-top: 10px; font-size: var(--pos-text-xs); color: var(--pos-ink-faint); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--pos-rule);
  padding: 36px 0 44px;
}
.footer-in {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: flex-start;
}
.footer a { color: var(--pos-ink-muted); text-decoration: none; }
.footer a:hover { color: var(--pos-brand); }
.footer-col { font-size: var(--pos-text-s); }
.footer-col h5 {
  font: 600 var(--pos-text-xs) var(--pos-font-body); letter-spacing: var(--pos-tracking-label);
  text-transform: uppercase; color: var(--pos-ink-faint); margin: 0 0 10px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer-legal {
  margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--pos-rule);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: var(--pos-text-xs); color: var(--pos-ink-faint);
}

/* ---------- Scroll reveal ----------
   Gated on .js so the page is fully legible if the script never runs. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
