/* GPF.com — design system
   Webflow-inspired light theme. Built so each component maps cleanly to a
   WordPress block / template-part when we move it over later. */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* ── color ── */
  --ink: #0F0F0F;
  --ink-2: #1F1F1F;
  --muted: #6B6862;
  --muted-2: #9A9690;
  --paper: #FFFFFF;
  --cream: #FAF8F2;
  --cream-2: #F2EFE5;
  --border: #E8E5DA;
  --border-soft: #F0EDE2;
  --cyan: #7CF1F8;
  --cyan-2: #AAF5FF;
  --cyan-tint: #EFFCFD;
  --cyan-deep: #0FBDC6;
  --orange: #E26A2C;
  --green: #2A7F4F;

  /* ── radius ── */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* ── shadow ── */
  --shadow-sm: 0 1px 2px rgba(15,15,15,.04), 0 2px 8px rgba(15,15,15,.04);
  --shadow-md: 0 2px 4px rgba(15,15,15,.04), 0 12px 32px rgba(15,15,15,.06);
  --shadow-lg: 0 4px 12px rgba(15,15,15,.06), 0 24px 64px rgba(15,15,15,.08);

  /* ── type ── */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  /* ── layout ── */
  --gutter: 24px;
  --max-w: 1240px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

/* ─────────────────────────────────────────────────────────────
   Type
   ───────────────────────────────────────────────────────────── */
.h-display {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h-display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.h-1 {
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: balance;
}
.h-2 {
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
.h-3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
}
.h-4 {
  font-size: 18px;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.lead {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.body { font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.body-sm { font-size: 14px; line-height: 1.55; color: var(--muted); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ─────────────────────────────────────────────────────────────
   Layout
   ───────────────────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-cream { background: var(--cream); }
.section-ink { background: var(--ink); color: var(--paper); }
.section-ink .lead { color: rgba(255,255,255,.7); }
.section-ink .eyebrow { color: var(--cyan); }

/* ─────────────────────────────────────────────────────────────
   Header / footer (header.php / footer.php candidates in WP)
   ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 18px;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta .signin { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 8px 14px; }

.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.7);
  padding: 80px 0 32px;
}
.site-footer .grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.site-footer h5 {
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a { font-size: 14px; color: rgba(255,255,255,.65); }
.site-footer a:hover { color: var(--cyan); }
.site-footer .legal {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.site-footer .brand-mark { background: var(--cyan); color: var(--ink); }
.site-footer .brand { color: var(--paper); }

/* ─────────────────────────────────────────────────────────────
   Buttons / pills
   ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 20px;
  border-radius: var(--r-md);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  transition: transform .12s ease, background .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent {
  background: var(--cyan);
  color: var(--ink);
}
.btn-accent:hover { background: var(--cyan-2); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(124,241,248,.4); }
.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink-2);
}
.btn-ghost:hover { color: var(--ink); background: var(--cream); }
.btn-lg { height: 52px; padding: 0 24px; font-size: 15px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--border);
}
.pill-accent { background: var(--cyan-tint); border-color: rgba(124,241,248,.5); color: var(--cyan-deep); }
.pill-ink { background: var(--ink); color: var(--cyan); border-color: var(--ink); }
.pill-dot::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

/* ─────────────────────────────────────────────────────────────
   Cards
   ───────────────────────────────────────────────────────────── */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-flat { border-radius: var(--r-lg); padding: 24px; background: var(--cream); }
.card-feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--paper);
  min-height: 200px;
}
.card-feature .icon-tile {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--cyan-tint);
  color: var(--cyan-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─────────────────────────────────────────────────────────────
   Hero
   ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-bg::before, .hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.hero-bg::before {
  top: -120px; left: -120px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}
.hero-bg::after {
  bottom: -200px; right: -100px;
  width: 540px; height: 540px;
  background: radial-gradient(circle, #FFD6BC 0%, transparent 70%);
  opacity: .5;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15,15,15,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,15,15,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────
   The "describe your business" hero input
   ───────────────────────────────────────────────────────────── */
.prompt-box {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}
.prompt-box:focus-within { border-color: var(--ink); }
.prompt-box textarea {
  width: 100%;
  border: 0;
  outline: 0;
  resize: none;
  padding: 20px 24px 12px;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink);
  background: transparent;
  min-height: 88px;
}
.prompt-box textarea::placeholder { color: var(--muted-2); }
.prompt-box .controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 20px;
}
.prompt-box .controls .left {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}
.example-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.example-chips .label {
  font-size: 13px;
  color: var(--muted);
  align-self: center;
  margin-right: 4px;
}
.example-chips button {
  background: var(--paper);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 500;
  transition: border-color .15s, color .15s, background .15s;
}
.example-chips button:hover {
  border-color: var(--ink);
  background: var(--cream);
}

/* ─────────────────────────────────────────────────────────────
   Live preview cards under hero
   ───────────────────────────────────────────────────────────── */
.preview-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 72px;
}
.preview-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 18px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.preview-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.preview-card .eyebrow { display: flex; align-items: center; gap: 8px; }
.preview-card .eyebrow::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  display: inline-block;
  margin-left: auto;
  box-shadow: 0 0 0 4px rgba(124,241,248,.25);
}
.swatch-row { display: flex; gap: 6px; }
.swatch-row > div { flex: 1; height: 56px; border-radius: 6px; border: 1px solid var(--border); }
.archetype-tag {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-md);
  padding: 16px 18px;
  flex: 1;
  display: flex;
  align-items: flex-end;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.logo-mark {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 40px;
  color: var(--ink);
  font-style: italic;
}
.voice-pills { display: flex; flex-wrap: wrap; gap: 6px; }

/* ─────────────────────────────────────────────────────────────
   Logo strip
   ───────────────────────────────────────────────────────────── */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
  opacity: .55;
}
.logo-strip span {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  text-align: center;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.logo-strip .sans { font-family: var(--font-sans); font-style: normal; font-weight: 700; letter-spacing: -0.02em; }
.logo-strip .mono { font-family: var(--font-mono); font-weight: 500; letter-spacing: 0; font-size: 16px; }

/* ─────────────────────────────────────────────────────────────
   Feature grid
   ───────────────────────────────────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feature {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  transition: transform .2s, border-color .2s;
}
.feature:hover { border-color: var(--ink); transform: translateY(-2px); }
.feature .icon-tile {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.feature h3 { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.feature p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.feature.feature-accent { background: var(--cyan-tint); border-color: rgba(124,241,248,.6); }
.feature.feature-accent .icon-tile { background: var(--cyan); color: var(--ink); }
.feature.feature-ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.feature.feature-ink p { color: rgba(255,255,255,.65); }
.feature.feature-ink .icon-tile { background: rgba(255,255,255,.08); color: var(--cyan); }

/* ─────────────────────────────────────────────────────────────
   Story / testimonial cards
   ───────────────────────────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.story {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
}
.story-header {
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.story-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--ink); font-size: 16px;
}
.story-meta { font-size: 14px; }
.story-meta strong { display: block; font-weight: 600; }
.story-meta span { color: var(--muted); font-size: 12px; }
.story blockquote {
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--ink);
  text-wrap: pretty;
}
.before-after {
  display: grid;
  grid-template-columns: 1fr 24px 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 20px;
}
.before-after .img {
  aspect-ratio: 4/3;
  background: var(--cream-2);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.before-after .img.after { background: linear-gradient(135deg, var(--cyan-tint), var(--cream)); border-color: rgba(124,241,248,.5); }
.before-after .arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
}

/* ─────────────────────────────────────────────────────────────
   CTA strip
   ───────────────────────────────────────────────────────────── */
.cta-block {
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: 72px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: "";
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 65%);
  opacity: .25;
  filter: blur(60px);
  pointer-events: none;
}
.cta-block h2 { color: var(--paper); position: relative; }
.cta-block .lead { color: rgba(255,255,255,.7); margin: 16px auto 32px; max-width: 580px; position: relative; }
.cta-block .actions { display: flex; gap: 12px; justify-content: center; position: relative; }

/* ─────────────────────────────────────────────────────────────
   Pricing — configurator
   ───────────────────────────────────────────────────────────── */
.pricing-hero {
  text-align: center;
  padding: 80px 0 32px;
}
.config-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: start;
}
.config-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 32px;
}
.config-card h3 { margin: 0 0 24px; }
.config-group { margin-bottom: 28px; }
.config-group:last-child { margin-bottom: 0; }
.config-group .label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  display: flex; align-items: center; justify-content: space-between;
}
.config-group .hint { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.option-row {
  display: grid;
  gap: 8px;
}
.option-row.cols-5 { grid-template-columns: repeat(5, 1fr); }
.option-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.option {
  height: 48px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-2);
  transition: all .15s ease;
}
.option:hover { border-color: var(--ink); color: var(--ink); }
.option.selected {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.module-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--border-soft);
}
.module-row:last-child { border-bottom: 1px solid var(--border-soft); }
.module-row .info { display: flex; flex-direction: column; gap: 2px; }
.module-row .info strong { font-size: 15px; font-weight: 600; }
.module-row .info span { font-size: 13px; color: var(--muted); }
.module-row .right { display: flex; align-items: center; gap: 16px; }
.module-row .price { font-size: 14px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }

/* toggle */
.toggle {
  width: 44px; height: 24px;
  background: var(--cream-2);
  border-radius: 999px;
  position: relative;
  cursor: pointer;
  transition: background .15s;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  transition: transform .15s;
}
.toggle.on { background: var(--ink); }
.toggle.on::after { transform: translateX(20px); }

/* live total */
.total-card {
  position: sticky;
  top: 88px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-xl);
  padding: 32px;
  overflow: hidden;
}
.total-card .eyebrow { color: var(--cyan); }
.total-card .price-display {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 8px 0 20px;
}
.total-card .price-display .num {
  font-size: 76px;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}
.total-card .price-display .per { font-size: 16px; color: rgba(255,255,255,.6); }
.total-card .line-items { margin-bottom: 24px; }
.total-card .line-items .line {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: rgba(255,255,255,.75);
  font-variant-numeric: tabular-nums;
  border-top: 1px solid rgba(255,255,255,.08);
}
.total-card .line-items .line:first-child { border-top: 0; }
.total-card .line-items .line.discount { color: var(--cyan); }
.total-card .footnote { font-size: 12px; color: rgba(255,255,255,.5); text-align: center; margin-top: 12px; }
.total-card .btn-accent { width: 100%; }
.total-card .billing-toggle {
  display: flex;
  background: rgba(255,255,255,.08);
  border-radius: var(--r-pill);
  padding: 4px;
  margin-bottom: 24px;
}
.total-card .billing-toggle button {
  flex: 1;
  padding: 8px 12px;
  border-radius: var(--r-pill);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.6);
}
.total-card .billing-toggle button.active {
  background: var(--paper);
  color: var(--ink);
}

/* trust strip */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--border);
}
.trust-item .icon-tile {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--cyan-tint);
  color: var(--cyan-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.trust-item h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.trust-item p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}
.faq-grid .heading h2 { margin: 12px 0 16px; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-top: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 14px; height: 14px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" fill="none" stroke="%230F0F0F" stroke-width="2"><path d="M3 7h8M7 3v8"/></svg>');
  background-size: contain;
  background-repeat: no-repeat;
  transition: transform .2s;
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14" fill="none" stroke="%230F0F0F" stroke-width="2"><path d="M3 7h8"/></svg>');
}
.faq-item .answer {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.faq-item .answer a { color: var(--cyan-deep); text-decoration: underline; }

/* ─────────────────────────────────────────────────────────────
   How it works — product tour
   ───────────────────────────────────────────────────────────── */
.tour-hero { text-align: center; padding: 80px 0 48px; }
.tour-strip {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 32px 0 48px;
  margin: 0 -24px;
  padding-left: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
  padding-right: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
  scrollbar-width: thin;
}
.tour-strip::-webkit-scrollbar { height: 6px; }
.tour-strip::-webkit-scrollbar-track { background: transparent; }
.tour-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.tour-card {
  min-width: 620px;
  flex-shrink: 0;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  scroll-snap-align: start;
  box-shadow: var(--shadow-md);
}
.tour-card .head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  display: flex; justify-content: space-between; align-items: center;
}
.tour-card .head .eyebrow { font-size: 11px; }
.tour-card .head h3 { margin: 4px 0 0; font-size: 17px; font-weight: 600; }
.tour-card .progress-dots { display: flex; gap: 5px; }
.tour-card .progress-dots span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--border);
}
.tour-card .progress-dots span.on { background: var(--ink); }
.tour-card .body { padding: 28px; min-height: 420px; }

/* tour step content */
.step-prompt textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  resize: none;
  min-height: 100px;
}
.archetype-options { display: flex; flex-direction: column; gap: 10px; }
.archetype-options .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
}
.archetype-options .row.sel { background: var(--cyan-tint); border-color: var(--cyan-deep); }
.archetype-options .row strong { display: block; font-weight: 600; font-size: 16px; }
.archetype-options .row span { font-size: 13px; color: var(--muted); }

/* what-you-can-do strip */
.after-tour {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 64px;
}
.after-tour .item {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.after-tour .item .icon-tile {
  width: 36px; height: 36px;
  border-radius: var(--r-md);
  background: var(--cyan-tint);
  color: var(--cyan-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.after-tour .item strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.after-tour .item span { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─────────────────────────────────────────────────────────────
   "Old way vs GPF" comparison (used on home + how-it-works)
   ───────────────────────────────────────────────────────────── */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.compare .col {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--paper);
}
.compare .col.with {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.compare h4 { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.compare .with h4 { color: var(--cyan); }
.compare .stat { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; margin: 8px 0 20px; }
.compare ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.compare li { font-size: 14px; display: flex; align-items: center; gap: 10px; }
.compare .col:not(.with) li { color: var(--muted); text-decoration: line-through; }
.compare .col:not(.with) li::before { content: ""; width: 16px; height: 16px; border: 1.5px solid var(--border); border-radius: 4px; flex-shrink: 0; }
.compare .with li::before {
  content: "";
  width: 16px; height: 16px;
  border-radius: 4px;
  background: var(--cyan);
  display: inline-block;
  flex-shrink: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="%230F0F0F" stroke-width="2.5" stroke-linecap="round"><path d="M3 8l3.5 3.5L13 5"/></svg>');
  background-size: contain;
}

/* ─────────────────────────────────────────────────────────────
   Section heading helper
   ───────────────────────────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.section-head .text { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 12px; display: block; }
.section-head .text .lead { margin-top: 12px; }

/* ─────────────────────────────────────────────────────────────
   Responsive
   ───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-row { grid-template-columns: repeat(2, 1fr); }
  .config-grid { grid-template-columns: 1fr; }
  .total-card { position: relative; top: 0; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .grid { grid-template-columns: 2fr 1fr 1fr; }
  .site-footer .grid > div:nth-child(4),
  .site-footer .grid > div:nth-child(5) { grid-column: auto; }
  .compare { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; }
  .after-tour { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .feature-grid, .preview-row, .after-tour, .trust-strip { grid-template-columns: 1fr; }
  .logo-strip { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .site-footer .grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .tour-card { min-width: 88vw; }
  .cta-block { padding: 48px 24px; }
  .config-card, .total-card { padding: 24px; }
}

/* ═══════════════════════════════════════════════════════════════
   EDITORIAL ADDITIONS — chapter marks, marginalia, pull quotes,
   letter format, signed sections, ornaments. Adds soul.
   ═══════════════════════════════════════════════════════════════ */

/* paper-warm body by default; cards stay white */
body { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-ink { background: var(--ink); color: var(--paper); }
body::after {
  content: "";
  position: fixed;
  pointer-events: none;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 0%, rgba(124,241,248,.10), transparent 70%),
    radial-gradient(ellipse 70% 50% at 95% 100%, rgba(226,106,44,.06), transparent 70%);
  z-index: -1;
}

/* ── Chapter mark ── */
.chapter {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 28px;
}
.chapter .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 40px;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  position: relative;
}
.chapter .num::before {
  content: "№";
  font-size: 0.45em;
  margin-right: 6px;
  vertical-align: 0.6em;
  font-style: normal;
  color: var(--muted);
}
.chapter .rule {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--ink);
  opacity: 0.2;
  align-self: center;
}
.chapter .label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.chapter .ink { color: var(--ink); font-weight: 500; }

/* ── Editorial asymmetric grid (main + margin notes) ── */
.ed-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 64px;
  align-items: start;
}
.ed-grid .main { max-width: 740px; }
.ed-grid .margin {
  position: sticky;
  top: 96px;
  padding-top: 12px;
}

/* marginalia notes — italic serif, in the gutter */
.marginalia {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--muted);
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.marginalia .ref {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
  display: block;
  font-weight: 500;
}
.marginalia a {
  font-style: normal;
  color: var(--cyan-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Pull quote ── */
.pull-quote {
  text-align: left;
  margin: 64px 0;
  max-width: 920px;
}
.pull-quote .q {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 60px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
  margin: 0;
}
.pull-quote .q::before { content: "\201C"; opacity: .25; margin-right: 0.05em; }
.pull-quote .q::after { content: "\201D"; opacity: .25; margin-left: 0.05em; }
.pull-quote .attr {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pull-quote .attr::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--ink);
  opacity: 0.3;
}

/* ── Letter format ── */
.letter {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 64px 64px 48px;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}
.letter::before {
  content: "";
  position: absolute;
  top: 24px; left: 24px; right: 24px; bottom: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  pointer-events: none;
  opacity: 0.4;
}
.letter > * { position: relative; }
.letter .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.letter .head .from {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.letter .head .from strong { color: var(--ink); }
.letter .head .date {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.letter .salutation {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 28px;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.letter p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 18px;
  text-wrap: pretty;
}
.letter p .squiggle { padding-bottom: 6px; }
.letter .signature { margin-top: 36px; }
.letter .signature .name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.letter .signature .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.letter .ps {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
}
.letter .ps strong {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-right: 8px;
}

/* ── Ornament divider (◆ ◆ ◆ centered) ── */
.ornament {
  text-align: center;
  padding: 48px 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1em;
  user-select: none;
}

/* ── Signed-off block (short version) ── */
.signed {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}
.signed .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-2) 100%);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--ink); font-size: 14px;
  border: 1px solid var(--ink);
}
.signed .meta strong {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  display: block;
}
.signed .meta span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── 12 Archetypes grid ── */
.archetypes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.archetype {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 200px;
  position: relative;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.archetype:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.archetype .num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.archetype .name {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  color: var(--ink);
  line-height: 1;
  margin: 6px 0 8px;
  letter-spacing: -0.01em;
}
.archetype .desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}
.archetype .swatch {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid var(--ink);
}
.archetype .examples {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ── Squiggle underline (hand-drawn-ish) ── */
.squiggle {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 6'><path d='M0 3 Q 10 0 20 3 T 40 3 T 60 3 T 80 3' fill='none' stroke='%23E26A2C' stroke-width='2' stroke-linecap='round'/></svg>");
  background-repeat: repeat-x;
  background-position: 0 100%;
  background-size: 80px 6px;
  padding-bottom: 8px;
}
.squiggle-cyan {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 6'><path d='M0 3 Q 10 0 20 3 T 40 3 T 60 3 T 80 3' fill='none' stroke='%230FBDC6' stroke-width='2.5' stroke-linecap='round'/></svg>");
}

/* ── Footnote ── */
.footnote {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0;
  color: var(--muted);
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  line-height: 1.7;
}
.footnote sup { color: var(--ink); margin-right: 6px; font-weight: 600; }
.footnote .item + .item { margin-top: 6px; }

/* ── Sticky P.S. sticker ── */
.ps-sticker {
  position: absolute;
  background: var(--cyan);
  color: var(--ink);
  padding: 14px 16px;
  border-radius: var(--r-md);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  line-height: 1.4;
  max-width: 220px;
  transform: rotate(-1.5deg);
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  z-index: 5;
}
.ps-sticker strong {
  font-family: var(--font-mono);
  font-style: normal;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
}

/* ── Header dropdown (product mega-menu) ── */
.nav-links { position: relative; }
.nav-item { position: relative; display: inline-flex; }
.nav-item .trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: inherit;
  color: inherit;
  cursor: pointer;
}
.nav-item .trigger::after {
  content: "";
  width: 10px; height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='%231F1F1F' stroke-width='1.6' stroke-linecap='round'><path d='M2 4l3 3 3-3'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
}
.nav-item .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 12px;
  min-width: 320px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s, transform .15s, visibility .15s;
  z-index: 100;
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--r-md);
  transition: background .12s;
}
.dropdown-item:hover { background: var(--cream); }
.dropdown-item .icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--cyan-tint);
  color: var(--cyan-deep);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.dropdown-item .text strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}
.dropdown-item .text span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}
.dropdown-divider { height: 1px; background: var(--border); margin: 6px 4px; }
.dropdown-footer {
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.dropdown-footer a { color: var(--cyan-deep); text-decoration: underline; }

/* ── Big italic stat number ── */
.big-stat {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}

/* ── Manifesto strip (editorial italic moment) ── */
.manifesto-strip {
  padding: 120px 0;
  text-align: left;
}
.manifesto-strip p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.25;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
  max-width: 920px;
}
.manifesto-strip p + p {
  margin-top: 18px;
  color: var(--muted);
}
.manifesto-strip .sig {
  display: block;
  margin-top: 36px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Eyebrow row (date + chapter + label) ── */
.dateline {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.dateline .dot {
  width: 4px; height: 4px;
  background: var(--ink);
  border-radius: 50%;
  opacity: 0.4;
}

/* ── Story card (with photo placeholder) ── */
.story-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.story-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--ink); }
.story-card .photo {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--cream-2), var(--cyan-tint));
  position: relative;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.story-card .photo .brand-pop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 42px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.story-card .photo .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ink);
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.story-card .body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.story-card .name {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}
.story-card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.story-card .excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}
.story-card .read {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.story-card .read .arrow { transition: transform .15s; }
.story-card:hover .read .arrow { transform: translateX(3px); }

/* ── Compact byline block ── */
.byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.byline .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-2));
  border: 1px solid var(--ink);
}
.byline .info { line-height: 1.3; }
.byline .info strong {
  font-size: 13px;
  font-weight: 600;
}
.byline .info span {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}

/* ── Footer ornament ── */
.footer-tagline {
  text-align: center;
  padding: 32px 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 32px;
}
.footer-tagline .tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.footer-tagline .sub {
  display: block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* ── Responsive editorial ── */
@media (max-width: 1024px) {
  .ed-grid { grid-template-columns: 1fr; gap: 32px; }
  .ed-grid .margin { position: relative; top: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .archetypes { grid-template-columns: repeat(2, 1fr); }
  .letter { padding: 40px 32px 32px; }
  .letter::before { top: 16px; left: 16px; right: 16px; bottom: 16px; }
}
@media (max-width: 640px) {
  .archetypes { grid-template-columns: 1fr; }
  .nav-item .dropdown { display: none; }
  .ed-grid .margin { grid-template-columns: 1fr; }
  .pull-quote { margin: 32px 0; }
  .manifesto-strip { padding: 64px 0; }
  .letter { padding: 28px 20px 24px; }
  .letter::before { display: none; }
}

/* ─── WordPress-specific additions ─── */

/* Mobile toggle button */
.mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
}
.mobile-toggle:hover { background: var(--cream); }

@media (max-width: 640px) {
  .mobile-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--border);
    padding: 16px var(--gutter);
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 50;
  }
  .nav-links.open { display: flex; }
  .nav-cta {
    display: none;
  }
  .nav-cta.open {
    display: flex;
    position: absolute;
    top: calc(64px + var(--nav-height, 200px));
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 12px var(--gutter);
    border-bottom: 1px solid var(--border);
    z-index: 49;
  }
}

/* WordPress content styles */
.body img { border-radius: var(--r-md); margin: 24px 0; max-width: 100%; height: auto; }
.body h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 48px 0 16px; }
.body h3 { font-size: 22px; font-weight: 600; margin: 36px 0 12px; }
.body p { margin: 0 0 18px; line-height: 1.7; }
.body ul, .body ol { margin: 0 0 18px; padding-left: 24px; }
.body li { margin-bottom: 8px; line-height: 1.6; }
.body blockquote { border-left: 3px solid var(--cyan); margin: 32px 0; padding: 12px 24px; font-style: italic; color: var(--ink-2); }
.body a { color: var(--cyan-deep); text-decoration: underline; text-underline-offset: 2px; }
.body pre { background: var(--ink); color: var(--paper); padding: 20px; border-radius: var(--r-md); overflow-x: auto; font-family: var(--font-mono); font-size: 14px; margin: 24px 0; }
.body code { font-family: var(--font-mono); font-size: 0.9em; background: var(--cream); padding: 2px 6px; border-radius: 4px; }
.body pre code { background: none; padding: 0; }

/* Pagination */
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-md); font-size: 14px; font-weight: 600; }
.nav-links .page-numbers.current { background: var(--ink); color: var(--paper); }
.nav-links .page-numbers:hover { background: var(--cream); }

/* WP alignment classes */
.alignleft { float: left; margin-right: 24px; margin-bottom: 12px; }
.alignright { float: right; margin-left: 24px; margin-bottom: 12px; }
.aligncenter { display: block; margin: 24px auto; }
.alignwide { margin-left: -10%; margin-right: -10%; max-width: 120%; }
.alignfull { margin-left: calc(-50vw + 50%); margin-right: calc(-50vw + 50%); max-width: 100vw; }
