/* ─── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --bg: #fffdf7;
  --ink: #0a0a0a;
  --ink-muted: #5a5a5a;
  --accent: #c4271a;
  --rule: #0a0a0a;
  --max: 980px;
  --gutter: 24px;
}

/* ─── Fonts ──────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Inter";
  src: url("/marketing-static/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "Fraunces";
  src: url("/marketing-static/fonts/fraunces-var.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("/marketing-static/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  font-style: normal;
}

/* ─── Base ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.muted { color: var(--ink-muted); }

/* Honor users who've asked the OS for reduced motion. Site has hover
   transitions (0.15s) and the glowing dot under the CTA chip — small but
   present. This block disables them for the users who care. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Global keyboard-focus indicator — WCAG AA. Hover only doesn't help keyboard
   users tabbing into the trial CTA, audience chips, or footer links. Applied
   to every interactive element; specific components can override but most
   shouldn't need to. */
:focus { outline: none; }   /* suppress default; the :focus-visible below wins */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
/* For buttons and CTAs that already sit on a dark fill, push the offset out
   slightly more so the ring doesn't overlap the fill. */
.btn-cta:focus-visible,
.price-card.annual a:focus-visible {
  outline-offset: 4px;
}
.visually-hidden { position: absolute !important; clip: rect(0 0 0 0); width: 1px; height: 1px; overflow: hidden; }

/* ─── Header / Footer ────────────────────────────────────────────────── */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  border-bottom: 1px solid var(--rule);
  flex-wrap: wrap;
  row-gap: 12px;
}
.logo { font-family: "Fraunces", Georgia, serif; font-weight: 700; font-size: 22px; text-decoration: none; letter-spacing: -0.01em; display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { display: block; width: 28px; height: 28px; flex-shrink: 0; }
.logo-word { display: inline-block; }
.site-nav { display: flex; gap: 24px; font-family: "JetBrains Mono", monospace; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--accent); }

/* Mobile hamburger — hidden on desktop, shown by the media query below.
   No visible "navbar with overlap" state: we either render the nav inline
   (desktop) or replace it with a single toggle button (mobile). */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  border-radius: 0;
  line-height: 0;
}
.nav-toggle:hover { background: var(--ink); color: var(--bg); }
.nav-toggle .bar { display: block; width: 20px; height: 2px; background: currentColor; margin: 4px 0; }
.nav-toggle .bar:first-child { margin-top: 0; }
.nav-toggle .bar:last-child  { margin-bottom: 0; }

.site-footer {
  border-top: 1px solid var(--rule);
  padding: 48px var(--gutter) 24px;
  max-width: var(--max);
  margin: 96px auto 0;
}
.footer-cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.footer-cols a { display: block; text-decoration: none; padding: 4px 0; }
.footer-label { font-family: "JetBrains Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); margin: 0 0 8px; }
.footer-copy { margin-top: 24px; font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-muted); }

/* ─── Hero ───────────────────────────────────────────────────────────── */
.hero { max-width: var(--max); margin: 0 auto; padding: 96px var(--gutter) 64px; }
.hero h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  max-width: 14ch;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { font-size: 20px; line-height: 1.5; max-width: 52ch; margin: 0 0 32px; color: var(--ink); }

/* ─── Waitlist form ──────────────────────────────────────────────────── */
.waitlist-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; max-width: 560px; }
.waitlist-form input[type="email"] {
  flex: 1 1 280px;
  padding: 14px 16px;
  font: inherit;
  background: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 0;
}
.waitlist-form input[type="email"]:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.waitlist-form button {
  padding: 14px 24px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bg);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  cursor: pointer;
}
.waitlist-form button:hover { background: var(--accent); border-color: var(--accent); }
.waitlist-form .form-hint { flex-basis: 100%; font-size: 13px; color: var(--ink-muted); margin: 4px 0 0; }

/* Standalone CTA button — replaces the waitlist form */
.btn-cta {
  display: inline-block;
  padding: 14px 28px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--bg);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.btn-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.form-hint { font-size: 13px; color: var(--ink-muted); margin: 8px 0 0; }
.waitlist-form .form-message { flex-basis: 100%; font-size: 14px; margin: 8px 0 0; padding: 12px; border: 1px solid currentColor; }
.waitlist-form .form-message.success { color: #1a6f1a; }
.waitlist-form .form-message.error   { color: var(--accent); }

/* ─── Sections ───────────────────────────────────────────────────────── */
.section { max-width: var(--max); margin: 0 auto; padding: 64px var(--gutter); border-top: 1px solid var(--rule); }
.section h2 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 36px; letter-spacing: -0.02em; margin: 0 0 32px; }
.section .label { font-family: "JetBrains Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-muted); margin: 0 0 12px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step .num { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--accent); }
.step h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 24px; margin: 8px 0; }

.counter { font-family: "Fraunces", Georgia, serif; font-size: 48px; font-weight: 700; letter-spacing: -0.02em; }
.counter small { display: block; font-family: "Inter", sans-serif; font-size: 16px; font-weight: 400; color: var(--ink-muted); margin-top: 4px; }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.feature { padding: 24px; border: 1px solid var(--rule); }
.feature h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 22px; margin: 0 0 8px; }

/* ─── Pricing ────────────────────────────────────────────────────────── */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 720px; margin: 0 auto; }
.price-card { padding: 32px; border: 1px solid var(--rule); position: relative; }
.price-card.annual { background: var(--ink); color: var(--bg); }
.price-card.annual a { color: var(--bg); }
.price-card .badge { position: absolute; top: -12px; right: 16px; background: var(--accent); color: var(--bg); padding: 4px 8px; font-family: "JetBrains Mono", monospace; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; }
.price-card .price { font-family: "Fraunces", serif; font-size: 56px; font-weight: 700; letter-spacing: -0.025em; margin: 16px 0; }
.price-card .price small { font-family: "Inter", sans-serif; font-size: 16px; font-weight: 400; color: inherit; opacity: 0.7; }
.price-card ul { list-style: none; padding: 0; margin: 16px 0 24px; }
.price-card li { padding: 6px 0; }
.price-card li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.price-card.annual li::before { color: var(--bg); }

.faq { max-width: 720px; margin: 64px auto 0; }
.faq dt { font-family: "Fraunces", serif; font-weight: 600; font-size: 20px; margin-top: 32px; }
.faq dd { margin: 8px 0 0; color: var(--ink-muted); }

/* ─── Blog ───────────────────────────────────────────────────────────── */
.blog-list { display: grid; gap: 48px; max-width: 720px; margin: 0 auto; }
.blog-card { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding-bottom: 32px; border-bottom: 1px solid var(--rule); }
.blog-card .hero-img { width: 200px; height: 140px; object-fit: cover; border: 1px solid var(--rule); }
.blog-card h3 { font-family: "Fraunces", serif; font-weight: 600; font-size: 24px; margin: 0 0 8px; }
.blog-card h3 a { text-decoration: none; }
.blog-card .meta { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }

.post { max-width: 680px; margin: 0 auto; padding: 64px var(--gutter); }
.post h1 { font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 12px; }
.post .post-meta { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-muted); text-transform: uppercase; margin-bottom: 32px; }
.post .hero-img { width: 100%; border: 1px solid var(--rule); margin: 32px 0; }
.post-body { font-size: 18px; line-height: 1.7; }
.post-body h2 { font-family: "Fraunces", serif; font-weight: 600; margin-top: 48px; }
.post-body p { margin: 0 0 1em; }
.post-body code { font-family: "JetBrains Mono", monospace; font-size: 0.9em; background: rgba(0,0,0,0.04); padding: 2px 6px; }
.post-body pre { font-family: "JetBrains Mono", monospace; background: rgba(0,0,0,0.04); padding: 16px; overflow-x: auto; border-left: 3px solid var(--accent); }

.share { margin: 48px 0; padding: 24px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; gap: 16px; align-items: center; }
.share a { font-family: "JetBrains Mono", monospace; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }

.disclosure { margin: 32px 0 64px; padding: 24px; background: rgba(196,39,26,0.06); border-left: 3px solid var(--accent); font-style: italic; }

/* ─── Legal pages (Terms / Privacy) ──────────────────────────────────── */
/* Markdown is rendered straight into .post-body — these rules style the
   semantic HTML elements (h1/h2/h3, hr, blockquote, ul/ol) so the long-form
   legal docs read cleanly without bespoke per-paragraph classes. */
.post.legal { max-width: 760px; }
.post.legal .post-body h1 { font-family: "Fraunces", serif; font-weight: 700; font-size: clamp(28px, 3.5vw, 40px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 24px; }
.post.legal .post-body h2 { font-family: "Fraunces", serif; font-weight: 600; font-size: 24px; margin-top: 40px; margin-bottom: 12px; }
.post.legal .post-body h3 { font-family: "Fraunces", serif; font-weight: 600; font-size: 18px; margin-top: 28px; margin-bottom: 8px; }
.post.legal .post-body strong { color: var(--ink); font-weight: 600; }
.post.legal .post-body em { font-style: italic; }
.post.legal .post-body ul, .post.legal .post-body ol { padding-left: 24px; margin: 0 0 1em; }
.post.legal .post-body li { margin-bottom: 6px; }
.post.legal .post-body hr { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }
.post.legal .post-body blockquote { margin: 24px 0; padding: 16px 20px; background: rgba(196,39,26,0.06); border-left: 3px solid var(--accent); font-size: 16px; line-height: 1.6; }
.post.legal .post-body blockquote p:last-child { margin-bottom: 0; }
.post.legal .post-body table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15px; }
.post.legal .post-body th, .post.legal .post-body td { border: 1px solid var(--rule); padding: 8px 12px; text-align: left; vertical-align: top; }
.post.legal .post-body th { background: rgba(0,0,0,0.03); font-weight: 600; }
.post.legal .post-body a { color: var(--accent); text-decoration: underline; }
.post.legal .post-body a:hover { text-decoration: none; }

/* ─── Homepage v2 — hero CTA row + chip ───────────────────────────────
   Used by the rewritten landing.html. The hero stack is:
     H1 → lede → cta-row → cta-chip → audience-selector
   The chip is a small live-status line under the buttons. The audience
   selector is a self-identify strip that routes to /for/* pages. */
.cta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  margin: 0 0 16px;
}
.cta-secondary {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.cta-secondary:hover { color: var(--accent); border-bottom-color: var(--accent); }

.cta-chip {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink-muted);
  margin: 0 0 32px;
}
.cta-chip .dot {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: #1a6f1a;
  box-shadow: 0 0 0 3px rgba(26, 111, 26, 0.15);
}

/* ─── Audience self-selector (under hero) ─────────────────────────── */
.audience-selector { margin: 8px 0 0; }
.audience-selector .label {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-muted); margin: 0 0 12px;
}
.audience-chips {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.audience-chips a {
  display: inline-block;
  /* 14px font × line-height 1.2 = 17px text + 13px+13px padding + 2px borders
     = 45px tall. Hits the WCAG AA touch-target minimum without changing
     visual rhythm. */
  padding: 13px 14px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.audience-chips a:hover { background: var(--ink); color: var(--bg); }
.audience-chips a.muted-chip {
  border-color: var(--ink-muted);
  color: var(--ink-muted);
}
.audience-chips a.muted-chip:hover { background: var(--ink-muted); color: var(--bg); }

/* ─── Compounding Loop section ────────────────────────────────────────
   The headline-differentiator section. Visually distinguished from
   sibling sections with a faint accent-tinted background so the
   "this is THE point of the product" framing lands at a glance. */
.section-loop { background: rgba(196, 39, 26, 0.04); }
.section-loop h2 em { font-style: italic; color: var(--accent); }
.section-loop .lede {
  font-size: 19px; line-height: 1.55; max-width: 64ch;
  margin: 0 0 40px;
}
.section-loop .lede em { font-style: italic; color: var(--accent); }

.loop-flow {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  counter-reset: loop;
}
.loop-step {
  padding: 20px 16px;
  border: 1px solid var(--ink);
  background: var(--bg);
  position: relative;
}
.loop-step .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 12px;
  letter-spacing: 0.05em;
}
.loop-step h3 {
  /* H3 "compact" variant — 19px. Used when the H3 sits inside a tight grid
     card with limited horizontal room (5-col loop-flow at desktop). The
     canonical card H3 is 22px (see .feature h3); the prereqs/callout H3
     is 26px (see .prereqs h3). Three deliberate sizes, each contextual. */
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 8px;
  line-height: 1.25;
}
.loop-step p:not(.num) {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin: 0;
}
.loop-step.loop-close {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.loop-step.loop-close .num { color: var(--bg); opacity: 0.7; }
.loop-step.loop-close h3 { color: var(--bg); }
.loop-step.loop-close p:not(.num) { color: var(--bg); opacity: 0.85; }

.loop-versus {
  font-size: 15px; line-height: 1.6;
  max-width: 64ch;
  border-top: 1px solid rgba(10, 10, 10, 0.15);
  padding-top: 24px;
  margin: 0;
}

/* ─── Before/after week visual ────────────────────────────────────── */
.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.week-day {
  padding: 16px 12px;
  border: 1px solid var(--ink);
  min-height: 140px;
  display: flex; flex-direction: column;
}
.week-day .day-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  margin: 0 0 12px;
}
.week-day .day-action {
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
  color: var(--ink);
}
.week-day.week-monday {
  background: var(--ink);
  color: var(--bg);
}
.week-day.week-monday .day-label,
.week-day.week-monday .day-action { color: var(--bg); }
.week-day.week-monday .day-action strong { color: var(--bg); }

/* ─── Callouts ──────────────────────────────────────────────────────
   .callout is the bordered box pattern shared by prerequisites, compliance
   notes, security reporting, and similar "stand-apart" content. Variants
   below differentiate by left border color so visitors can tell at a glance
   which kind of content sits inside (compliance ≠ prerequisites ≠ security).
   The legacy .prereqs class is preserved as an alias so existing templates
   keep working; new content should use .callout + a modifier class. */
.callout, .prereqs {
  padding: 32px;
  border: 1px solid var(--ink);
  background: var(--bg);
  max-width: 720px;
  margin: 0 auto;
  border-left-width: 4px;
  border-left-color: var(--ink); /* default — overridden by variant */
}
.callout h3, .prereqs h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  margin: 0 0 20px;
}

/* Variant: compliance — used on /for/<industry> "How Omniposter stays in
   your lane" cards and /security per-vertical sections. Accent left border
   distinguishes regulated-buyer content from prereqs/security-reporting. */
.callout-compliance {
  border-left-color: var(--accent);
}

/* Variant: security-report — used on /security "Found something? Tell us"
   block. Muted left border distinguishes from compliance (loud) and
   prereqs (default ink). */
.callout-security {
  border-left-color: var(--ink-muted);
}

.prereq-list {
  list-style: none; padding: 0; margin: 0 0 20px;
}
.prereq-list li {
  padding: 12px 0;
  border-top: 1px solid rgba(10, 10, 10, 0.1);
  font-size: 15px;
  line-height: 1.55;
}
.prereq-list li:first-child { border-top: 0; padding-top: 0; }
.prereq-list strong { font-weight: 600; }
.prereqs-help { font-size: 14px; margin: 0; }
.prereqs-help a { color: var(--accent); }

/* ─── Pricing teaser footnote ─────────────────────────────────────── */
.multi-site-note {
  margin: 24px auto 0;
  max-width: 720px;
  text-align: center;
  font-size: 14px;
}
.multi-site-note a { color: var(--accent); }

/* ─── /for/<industry> and /how-it-works pages ─────────────────────────
   Vertical pages share for_industry.html; how-it-works uses howto-steps.
   Both reuse .section, .section-loop, .feature-grid, .prereqs, .audience-
   chips, .cta-row, .cta-secondary, .cta-chip from the v2 homepage above. */

.vertical-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin: 0 0 24px;
}
.vertical-eyebrow a { color: var(--ink-muted); text-decoration: none; }
.vertical-eyebrow a:hover { color: var(--accent); }

/* Three-pain row on the /for/<industry> pages. */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pain {
  padding: 24px;
  border-left: 3px solid var(--accent);
  background: rgba(196, 39, 26, 0.03);
}
.pain .num {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  color: var(--accent);
  margin: 0 0 8px;
}
.pain h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 8px;
  line-height: 1.25;
}
.pain p { margin: 0; font-size: 15px; line-height: 1.55; }

/* ROI line — visually heavier than a normal lede. */
.roi-line {
  font-size: 22px;
  line-height: 1.4;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  max-width: 56ch;
}

/* Vertical testimonial block — currently a placeholder; styling ready
   so when real quotes come in there's no design lift. */
.vertical-quote {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--ink);
  max-width: 720px;
}
.vertical-quote p {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  margin: 0 0 16px;
}
.vertical-quote footer {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}

/* How-it-works step list — vertical stack of 6 steps with large
   numerals. Distinct from .steps (3-col grid) and .loop-flow
   (5-col grid) so each page can pick the layout that fits. */
.howto-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.howto-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--ink);
  align-items: start;
}
.howto-step .num {
  /* Demoted from 44px accent-red → 32px muted ink. The numeral creates
     editorial rhythm but should not outweigh the step title; in the prior
     treatment the 44px red numeral won the hierarchy battle against the
     22px ink H3. Now the H3 anchors each step and the numeral marks position. */
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  color: var(--ink-muted);
  margin: 0;
  line-height: 1;
}
.howto-step h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 8px;
  line-height: 1.25;
}
.howto-step p {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.55;
}
.howto-step .howto-detail { font-size: 14px; margin: 0; }
.howto-step.howto-loop-close {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
/* Inverted final step (loop close): keep the numeral readable on the dark
   fill. Pure white with no opacity since we just demoted the size. */
.howto-step.howto-loop-close .num { color: var(--bg); opacity: 0.85; }
.howto-step.howto-loop-close h3,
.howto-step.howto-loop-close p { color: var(--bg); }
.howto-step.howto-loop-close .howto-detail { opacity: 0.85; }
.howto-step.howto-loop-close a { color: var(--bg); text-decoration: underline; }

/* ─── Pricing: ROI table + comparison table ────────────────────────── */
.roi-table, .compare-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}
.roi-table th, .roi-table td,
.compare-table th, .compare-table td {
  border: 1px solid var(--rule);
  padding: 12px 16px;
  text-align: left;
  vertical-align: top;
}
.roi-table thead th, .compare-table thead th {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
  background: rgba(0, 0, 0, 0.03);
  font-weight: 600;
}
.roi-table tbody th,
.compare-table tbody th {
  font-weight: 600;
  background: rgba(0, 0, 0, 0.02);
}
.roi-table a { color: var(--accent); text-decoration: none; }
.roi-table a:hover { text-decoration: underline; }

/* The Omniposter column in the comparison table gets the accent treatment
   so the reader's eye lands on "us" first. */
.compare-table .compare-omni {
  background: rgba(196, 39, 26, 0.06);
  font-weight: 500;
}
.compare-table thead th.compare-omni {
  background: var(--accent);
  color: var(--bg);
}
.compare-wrap {
  /* Allow horizontal scroll on narrow screens without breaking the
     surrounding section padding. */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ─── Security page: per-vertical compliance rows ─────────────────── */
.compliance-row {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.compliance-row:first-of-type { border-top: 0; padding-top: 0; }
.compliance-row h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 22px;
  margin: 0 0 12px;
}
.compliance-row p { margin: 0 0 8px; font-size: 16px; line-height: 1.6; }
.compliance-row a { color: var(--accent); }

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .loop-flow { grid-template-columns: repeat(2, 1fr); }
  .week-grid { grid-template-columns: repeat(4, 1fr); }
  .pain-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }

  /* Header: show the hamburger, collapse the nav to a vertical dropdown.
     `.site-nav` is hidden by default and only renders when the toggle
     button adds `.open` to it. */
  .nav-toggle { display: inline-block; }
  .site-nav {
    flex-basis: 100%;
    flex-direction: column;
    gap: 0;
    margin: 8px -20px 0;
    padding: 4px 20px 12px;
    border-top: 1px solid var(--rule);
    font-size: 14px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a {
    padding: 14px 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid color-mix(in srgb, var(--rule) 12%, transparent);
  }
  .site-nav a:last-child { border-bottom: 0; }

  .site-header { padding: 16px var(--gutter); }
  .logo { font-size: 20px; }

  /* Footer: stack columns, give labels breathing room */
  .footer-cols, .steps, .feature-grid, .price-grid { grid-template-columns: 1fr; }
  .footer-cols a { padding: 8px 0; }
  .site-footer { padding: 40px var(--gutter) 24px; margin-top: 64px; }

  .blog-card { grid-template-columns: 1fr; }
  .blog-card .hero-img { width: 100%; height: auto; }
  .loop-flow { grid-template-columns: 1fr; }
  .week-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .cta-row > * { width: 100%; text-align: center; }
  .audience-chips a { font-size: 13px; padding: 8px 12px; min-height: 40px; }
  .howto-step { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .howto-step .num { font-size: 36px; }
  .hero { padding: 56px var(--gutter) 48px; }
  .hero .lede { font-size: 18px; }
  .btn-cta { padding: 14px 22px; min-height: 48px; }
  .waitlist-form { gap: 10px; }
  .waitlist-form input[type="email"],
  .waitlist-form button { width: 100%; }

  /* Long inline code blocks shouldn't blow out the viewport */
  pre, code { word-break: break-word; overflow-wrap: anywhere; }
  pre { overflow-x: auto; }
  img { max-width: 100%; height: auto; }
}
