/* Compass — shared design system */
:root {
  --sand-50: #fbf9f4;
  --sand-100: #f5f1e8;
  --sand-200: #ebe4d2;
  --ink-950: #0a0f1a;
  --ink-800: #1f2937;
  --ink-700: #374151;
  --ink-500: #6b7280;
  --ink-400: #9ca3af;
  --ink-300: #d1d5db;
  --teal-700: #0c766c;
  --teal-800: #0a4a45;
  --teal-50: #e6f3f1;
  --clay-500: #c2603e;
  --clay-50: #fbeee8;
  --green-500: #16a34a;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--sand-50);
  color: var(--ink-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
.display { font-family: 'Fraunces', Georgia, serif; font-feature-settings: "ss01"; letter-spacing: -0.01em; }
.mono { font-family: 'JetBrains Mono', monospace; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

/* ========== NAV ========== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,249,244,0.85); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(10,15,26,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; }
.brand-name { font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px; color: var(--ink-950); letter-spacing: -0.01em; }
.brand-name .dot { color: var(--teal-700); }

.nav-links {
  display: none; align-items: center; gap: 4px;
}
@media (min-width: 960px) { .nav-links { display: flex; } }
.nav-link {
  position: relative; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--ink-700); text-decoration: none; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover { color: var(--ink-950); background: rgba(10,15,26,0.04); }
.nav-link.active { color: var(--ink-950); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 1.5px; background: var(--teal-700); border-radius: 2px;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown-trigger::after {
  content: ""; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); margin-top: -3px; opacity: 0.6;
}
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 6px); left: 0;
  min-width: 240px; background: white; border-radius: 14px;
  border: 1px solid rgba(10,15,26,0.08);
  box-shadow: 0 24px 48px -16px rgba(10,15,26,0.18), 0 4px 12px -4px rgba(10,15,26,0.06);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, visibility .15s ease, transform .15s ease;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block; padding: 10px 14px; border-radius: 8px;
  font-size: 14px; color: var(--ink-800); text-decoration: none; line-height: 1.4;
}
.nav-dropdown-menu a small { display: block; color: var(--ink-500); font-size: 12px; margin-top: 2px; }
.nav-dropdown-menu a:hover { background: var(--sand-100); }

.nav-cta-row { display: flex; align-items: center; gap: 8px; }
.nav-signin {
  display: none; padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--ink-700); text-decoration: none; border-radius: 8px;
}
@media (min-width: 720px) { .nav-signin { display: inline-block; } }
.nav-signin:hover { color: var(--ink-950); }
.nav-cta {
  background: var(--ink-950); color: var(--sand-50); border: 0; padding: 10px 18px; border-radius: 999px;
  font-weight: 600; font-size: 14px; cursor: pointer; transition: transform .15s ease, background .15s ease;
  text-decoration: none; display: inline-block; white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); background: #1a2030; }

/* Mobile nav */
.nav-burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(10,15,26,0.1);
  background: white; cursor: pointer;
}
@media (min-width: 960px) { .nav-burger { display: none; } }
.nav-burger svg { width: 18px; height: 18px; }
.mobile-panel {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw);
  background: var(--sand-50); z-index: 100; padding: 28px 24px;
  transform: translateX(100%); transition: transform .25s ease;
  box-shadow: -20px 0 60px -20px rgba(10,15,26,0.25);
  overflow-y: auto;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(10,15,26,0.4); z-index: 99;
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }
.mobile-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mobile-close {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid rgba(10,15,26,0.1);
  background: white; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.mobile-section { padding: 12px 0; border-bottom: 1px solid rgba(10,15,26,0.08); }
.mobile-section:last-of-type { border-bottom: 0; }
.mobile-section-title {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); margin: 0 0 10px;
}
.mobile-link {
  display: block; padding: 10px 0; font-size: 17px; color: var(--ink-950); text-decoration: none;
  font-family: 'Fraunces', serif; font-weight: 500;
}
.mobile-link.sub { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 500; padding: 8px 0; color: var(--ink-700); }
.mobile-cta {
  display: block; margin-top: 24px; text-align: center;
  background: var(--ink-950); color: var(--sand-50);
  padding: 14px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none;
}

/* ========== TYPOGRAPHY UTILITIES ========== */
h1.hero-h {
  font-family: 'Fraunces', serif; font-weight: 500; font-variation-settings: "opsz" 96;
  font-size: clamp(2.3rem, 5.8vw, 4.4rem); line-height: 1.08; letter-spacing: -0.012em;
  color: var(--ink-950); margin: 22px 0 0; max-width: 20ch;
  font-feature-settings: "liga" 0, "dlig" 0;
}
.hero-sub {
  margin-top: 24px; max-width: 620px; font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-700); line-height: 1.55;
}
section.block { padding: 80px 0; }
@media (max-width: 767px) { section.block { padding: 56px 0; } }
.kicker {
  font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--teal-700); display: flex; align-items: center; gap: 12px;
}
.kicker::before { content: ""; width: 24px; height: 1px; background: var(--teal-700); }
h2.section-h {
  font-family: 'Fraunces', serif; font-weight: 500; font-variation-settings: "opsz" 144;
  font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink-950); margin: 16px 0 20px; max-width: 22ch;
}
.section-sub { font-size: clamp(1rem, 1.4vw, 1.1rem); color: var(--ink-700); max-width: 60ch; line-height: 1.6; }

.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-800); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; border: 1px solid rgba(12,118,108,0.15);
}
.pill .dot-pulse { width: 6px; height: 6px; background: var(--teal-700); border-radius: 50%; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: .55; transform: scale(.85); } }

.btn-primary {
  background: var(--ink-950); color: var(--sand-50); border: 0; padding: 16px 28px; border-radius: 999px;
  font-weight: 600; font-size: 16px; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 8px 24px -8px rgba(10,15,26,0.4);
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { transform: translateY(-1px); background: #1a2030; box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 12px 28px -8px rgba(10,15,26,0.5); }
.btn-secondary {
  background: transparent; color: var(--ink-800); border: 0; padding: 16px 24px;
  font-weight: 600; font-size: 16px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { color: var(--teal-700); }

.trust-row { margin-top: 28px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--ink-500); font-size: 13px; }
.trust-row .check { color: var(--teal-700); font-weight: 700; }

/* ========== HERO ========== */
.hero { padding: 48px 0 32px; position: relative; overflow: hidden; }
@media (min-width: 768px) { .hero { padding: 64px 0 48px; } }
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(10,15,26,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(10,15,26,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at top, black 30%, transparent 80%);
}
.hero-inner { position: relative; }

/* Compact page hero (used on inner pages) */
.page-hero { padding: 56px 0 32px; position: relative; }
@media (min-width: 768px) { .page-hero { padding: 80px 0 48px; } }
.page-hero h1 {
  font-family: 'Fraunces', serif; font-weight: 500;
  font-size: clamp(2rem, 4.8vw, 3.6rem); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--ink-950); margin: 18px 0 16px; max-width: 22ch;
}
.page-hero p.lede {
  font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--ink-700); max-width: 60ch; line-height: 1.55;
}

/* ========== SAVE PANEL ========== */
.save-panel {
  margin-top: 28px; background: white; border: 1px solid rgba(10,15,26,0.08); border-radius: 18px;
  padding: 22px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  max-width: 720px; box-shadow: 0 20px 60px -30px rgba(10,15,26,0.18), 0 2px 8px -2px rgba(10,15,26,0.04);
}
@media (max-width: 640px) { .save-panel { grid-template-columns: 1fr; gap: 16px; padding: 20px; } .save-divider { display: none; } }
.save-col { display: flex; flex-direction: column; gap: 4px; }
.save-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 4px; }
.save-amount { font-family: 'Fraunces', serif; font-weight: 500; font-size: 38px; line-height: 1; color: var(--ink-950); letter-spacing: -0.02em; }
.save-amount.strike { text-decoration: line-through; text-decoration-thickness: 2px; color: var(--ink-400); }
.save-amount.win { color: var(--teal-800); }
.save-meta { font-size: 12px; color: var(--ink-500); margin-top: 6px; line-height: 1.4; }
.save-arrow { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; background: var(--teal-50); color: var(--teal-700); }
.save-tagline { margin-top: 16px; font-size: 14px; color: var(--ink-700); }
.save-tagline strong { color: var(--ink-950); font-weight: 600; }

/* ========== STEPS / FEATURES ========== */
.steps { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { background: white; border-radius: 18px; padding: 28px; border: 1px solid rgba(10,15,26,0.06); }
.step-num { font-family: 'Fraunces', serif; font-weight: 500; font-size: 28px; color: var(--teal-700); margin-bottom: 12px; }
.step h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; color: var(--ink-950); margin: 0 0 10px; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 15px; color: var(--ink-700); line-height: 1.55; }

.feat-grid { display: grid; gap: 16px; margin-top: 48px; }
@media (min-width: 640px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .feat-grid { grid-template-columns: repeat(3, 1fr); } }
.feat { background: white; border-radius: 16px; padding: 24px; border: 1px solid rgba(10,15,26,0.06); }
.feat-icon { width: 36px; height: 36px; border-radius: 10px; background: var(--teal-50); color: var(--teal-700); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feat h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 18px; color: var(--ink-950); margin: 0 0 6px; }
.feat p { margin: 0; font-size: 14px; color: var(--ink-700); line-height: 1.55; }

/* ========== MOAT ========== */
.moat-grid { display: grid; gap: 18px; margin-top: 42px; }
@media (min-width: 720px) { .moat-grid { grid-template-columns: repeat(2, 1fr); } }
.moat-card { background: white; border: 1px solid rgba(10,15,26,0.08); border-radius: 16px; padding: 28px; }
.moat-card .vs { display: inline-block; font-family: 'Fraunces', serif; font-style: italic; font-size: 12px; color: var(--ink-500); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 12px; }
.moat-card h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; color: var(--ink-950); margin: 0 0 12px; letter-spacing: -0.01em; line-height: 1.2; }
.moat-card p { margin: 0 0 10px; font-size: 14.5px; color: var(--ink-700); line-height: 1.6; }
.moat-card p:last-child { margin-bottom: 0; }
.moat-card .gpt-quote { background: var(--sand-100); border-left: 2px solid #b85c3a; padding: 12px 14px; border-radius: 0 8px 8px 0; font-size: 13.5px; color: var(--ink-700); margin: 12px 0; }
.moat-card .compass-quote { background: rgba(12,118,108,0.07); border-left: 2px solid var(--teal-700); padding: 12px 14px; border-radius: 0 8px 8px 0; font-size: 13.5px; color: var(--ink-950); margin: 12px 0; }
.moat-summary { margin-top: 36px; padding: 22px 26px; background: var(--ink-950); color: var(--sand-50); border-radius: 14px; display: grid; gap: 12px; }
@media (min-width: 720px) { .moat-summary { grid-template-columns: 1fr auto; align-items: center; gap: 24px; } }
.moat-summary p { margin: 0; font-size: 15px; line-height: 1.55; color: #d6dde8; }
.moat-summary strong { color: white; font-weight: 600; }

/* ========== DARK BAND / STATS ========== */
.band-dark { background: var(--ink-950); color: var(--sand-50); padding: 80px 0; }
.band-dark .kicker { color: #6ee7d8; }
.band-dark .kicker::before { background: #6ee7d8; }
.band-dark h2 { color: white; }
.band-dark .section-sub { color: #c1c8d4; }
.stat-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 640px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 20px; border-left: 1px solid rgba(255,255,255,0.12); }
.stat-num { font-family: 'Fraunces', serif; font-size: 36px; font-weight: 500; color: white; line-height: 1; letter-spacing: -0.02em; }
.stat-label { color: #9aa3b1; font-size: 13px; margin-top: 8px; }

/* ========== COMPARE TABLE ========== */
.compare-wrap { margin-top: 48px; border-radius: 24px; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid rgba(10,15,26,0.08); background: white; }
@media (max-width: 720px) { .compare-table { min-width: 640px; } }
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare-table thead th {
  text-align: left; padding: 22px 20px; background: var(--sand-100); border-bottom: 1px solid rgba(10,15,26,0.08);
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); font-weight: 500;
}
.compare-table thead th.col-compass { background: var(--ink-950); color: #6ee7d8; }
.compare-table tbody td { padding: 18px 20px; border-bottom: 1px solid rgba(10,15,26,0.05); vertical-align: top; color: var(--ink-700); line-height: 1.5; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table tbody td.row-label { font-weight: 600; color: var(--ink-950); font-family: 'Fraunces', serif; font-size: 16px; letter-spacing: -0.005em; width: 22%; background: var(--sand-50); }
.compare-table tbody td.col-compass { background: rgba(12,118,108,0.04); color: var(--ink-800); border-left: 1px solid rgba(12,118,108,0.18); border-right: 1px solid rgba(12,118,108,0.18); }
.compare-table tbody tr:last-child td.col-compass { border-bottom: 1px solid rgba(12,118,108,0.18); }
.compare-mark { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(12,118,108,0.12); color: #0c766c; }
@media (max-width: 720px) {
  .compare-table thead th, .compare-table tbody td { padding: 14px 12px; font-size: 13px; }
  .compare-table tbody td.row-label { font-size: 14px; width: 30%; }
}

/* ========== PRICING ========== */
.price-grid { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 768px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { background: white; border-radius: 20px; padding: 32px; border: 1px solid rgba(10,15,26,0.08); position: relative; transition: transform .15s, box-shadow .15s; display: flex; flex-direction: column; }
.price-card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(10,15,26,0.12); }
.price-card.featured { border: 2px solid var(--ink-950); background: var(--sand-100); }
.price-card.featured::before {
  content: "Most popular"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--ink-950); color: var(--sand-50); padding: 4px 14px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}
.price-name { font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-500); }
.price-amount { font-family: 'Fraunces', serif; font-weight: 500; font-size: 48px; color: var(--ink-950); margin: 12px 0 4px; line-height: 1; letter-spacing: -0.02em; }
.price-amount sup { font-size: 20px; vertical-align: top; margin-right: 2px; }
.price-amount span { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 400; color: var(--ink-500); }
.price-tagline { font-size: 14px; color: var(--ink-700); margin: 8px 0 24px; }
.price-features { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.price-features li { padding: 8px 0; font-size: 14px; color: var(--ink-800); display: flex; gap: 10px; align-items: flex-start; border-bottom: 1px solid rgba(10,15,26,0.04); }
.price-features li:last-child { border-bottom: 0; }
.price-features .ok { color: var(--teal-700); flex-shrink: 0; margin-top: 2px; }

/* ========== FAQ ========== */
.faq { margin-top: 40px; max-width: 760px; }
.faq details { border-bottom: 1px solid rgba(10,15,26,0.08); padding: 20px 0; }
.faq details summary {
  font-family: 'Fraunces', serif; font-weight: 500; font-size: 19px; color: var(--ink-950);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq details summary::-webkit-details-marker { display: none; }
.faq details summary::after { content: "+"; font-size: 24px; color: var(--teal-700); font-weight: 300; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; font-size: 15px; color: var(--ink-700); line-height: 1.6; }

/* ========== CAPTURE / CTA BAND ========== */
.capture { background: var(--sand-100); border-radius: 28px; padding: 48px 32px; text-align: center; border: 1px solid rgba(10,15,26,0.06); }
@media (min-width: 768px) { .capture { padding: 72px 56px; } }
.capture h2 { margin: 12px auto 16px; }
.capture p.section-sub { margin: 0 auto; }

/* ========== FOOTER ========== */
.site-footer { background: var(--ink-950); color: #c1c8d4; padding: 64px 0 32px; margin-top: 80px; }
.footer-grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
.footer-brand .brand-name { color: white; }
.footer-brand p { font-size: 13px; line-height: 1.55; color: #9aa3b1; margin: 14px 0 0; max-width: 38ch; }
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #9aa3b1; margin: 0 0 16px; font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 5px 0; }
.footer-col a { color: #d6dde8; text-decoration: none; font-size: 14px; transition: color .15s; }
.footer-col a:hover { color: white; }
.footer-bottom {
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-start;
  font-size: 12px; color: #9aa3b1; line-height: 1.5;
}
.footer-bottom p { margin: 0; max-width: 70ch; }
.footer-bottom strong { color: #d6dde8; }
.footer-bottom .copy { white-space: nowrap; }

/* ========== PROSE (article pages) ========== */
.prose { max-width: 720px; }
.prose h2 { font-family: 'Fraunces', serif; font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--ink-950); margin: 56px 0 16px; line-height: 1.2; letter-spacing: -0.015em; }
.prose h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.3rem; color: var(--ink-950); margin: 36px 0 12px; }
.prose p { font-size: 16px; line-height: 1.7; color: var(--ink-800); margin: 0 0 16px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose li { font-size: 16px; line-height: 1.7; color: var(--ink-800); padding: 4px 0; }
.prose blockquote {
  margin: 24px 0; padding: 16px 20px; border-left: 3px solid var(--teal-700);
  background: var(--sand-100); border-radius: 0 12px 12px 0;
  font-family: 'Fraunces', serif; font-style: italic; font-size: 17px; color: var(--ink-800);
}
.prose strong { color: var(--ink-950); font-weight: 600; }

/* ========== CARD GRIDS (for use cases, playbook, glossary) ========== */
.card-grid { display: grid; gap: 18px; margin-top: 40px; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: white; border-radius: 18px; padding: 28px; border: 1px solid rgba(10,15,26,0.06);
  text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -18px rgba(10,15,26,0.15); border-color: rgba(12,118,108,0.25); }
.card-eyebrow { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-700); }
.card h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; color: var(--ink-950); margin: 10px 0 10px; line-height: 1.2; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 15px; color: var(--ink-700); line-height: 1.55; }
.card-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--teal-700); }

/* ========== TWO-COLUMN ARTICLE LAYOUT ========== */
.article-layout {
  display: grid; gap: 48px; margin-top: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) { .article-layout { grid-template-columns: 1fr 240px; gap: 72px; } }
.article-toc { font-size: 13px; }
.article-toc h4 {
  font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-500); margin: 0 0 12px; font-weight: 500;
}
.article-toc ul { list-style: none; padding: 0; margin: 0; }
.article-toc li { padding: 4px 0; }
.article-toc a { color: var(--ink-700); text-decoration: none; line-height: 1.4; }
.article-toc a:hover { color: var(--teal-700); }
@media (min-width: 1024px) { .article-toc { position: sticky; top: 90px; align-self: start; } }

/* ========== GLOSSARY ========== */
.glossary-list { margin-top: 40px; }
.glossary-item {
  padding: 24px 0; border-bottom: 1px solid rgba(10,15,26,0.08);
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
@media (min-width: 720px) { .glossary-item { grid-template-columns: 220px 1fr; gap: 32px; } }
.glossary-term { font-family: 'Fraunces', serif; font-weight: 500; font-size: 22px; color: var(--ink-950); letter-spacing: -0.01em; }
.glossary-term small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; color: var(--ink-500); font-weight: 400; letter-spacing: 0.05em; margin-top: 4px; text-transform: none; }
.glossary-def { font-size: 15px; color: var(--ink-700); line-height: 1.65; }
.glossary-def p { margin: 0 0 10px; }
.glossary-def p:last-child { margin-bottom: 0; }

/* ========== TESTIMONIAL / PULL QUOTE ========== */
.pull-quote {
  margin-top: 32px; padding: 32px; background: white; border-radius: 18px; border: 1px solid rgba(10,15,26,0.06);
  font-family: 'Fraunces', serif; font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.4; color: var(--ink-950);
  letter-spacing: -0.005em;
}
.pull-quote::before { content: "\201C"; font-size: 48px; color: var(--teal-700); line-height: 0.1; vertical-align: -0.4em; margin-right: 6px; }
.pull-quote .attribution { display: block; margin-top: 16px; font-family: 'Inter', sans-serif; font-size: 13px; font-style: normal; color: var(--ink-500); }

.strike { text-decoration: line-through; color: var(--ink-400); }

/* =========================================================
   MOBILE PASS — explicit refinements for <=640px viewports
   ========================================================= */
@media (max-width: 640px) {
  /* Container breathing room — 24px is fine, but tighten horizontal pad below 380px */
  .container { padding: 0 20px; }

  /* Hero — tighten + de-cap so wraps are cleaner */
  .hero { padding: 36px 0 24px; }
  h1.hero-h { font-size: clamp(2rem, 9vw, 2.6rem); max-width: none; margin-top: 12px; line-height: 1.1; }
  .hero-sub { margin-top: 16px; font-size: 1rem; line-height: 1.55; }

  /* Save panel — smaller numbers, tighter padding */
  .save-panel { padding: 18px; margin-top: 22px; }
  .save-amount { font-size: 30px; }
  .save-arrow { width: 30px; height: 30px; transform: rotate(90deg); margin: 4px auto; }
  .save-tagline { font-size: 13.5px; line-height: 1.55; }

  /* CTA buttons — stack full-width on mobile so taps are unambiguous */
  .hero-ctas { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary { width: 100%; justify-content: center; padding: 16px 24px; min-height: 52px; }
  .hero-ctas .btn-secondary { background: white; border: 1px solid rgba(10,15,26,0.1); border-radius: 999px; }

  /* Trust row — stack as bullet column */
  .trust-row { flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 22px; font-size: 13px; }

  /* Section spacing — already 56px from earlier breakpoint, but ensure inner cards breathe */
  section.block { padding: 48px 0; }
  .band-dark { padding: 56px 0; }

  h2.section-h { font-size: clamp(1.75rem, 7.5vw, 2.2rem); max-width: none; line-height: 1.15; }
  .section-sub { font-size: 0.98rem; }

  /* Steps / features — tighter padding on phones */
  .step { padding: 22px; border-radius: 14px; }
  .step h3 { font-size: 19px; }
  .feat { padding: 20px; border-radius: 14px; }

  /* Moat cards — ease padding */
  .moat-card { padding: 22px; border-radius: 14px; }
  .moat-card h3 { font-size: 19px; line-height: 1.25; }
  .moat-summary { padding: 20px; border-radius: 14px; }

  /* Stats — stack as 2-column grid on small screens, drop the left border which looks broken in a single column */
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat { border-left: 0; padding: 12px 4px; border-top: 1px solid rgba(255,255,255,0.10); }
  .stat-num { font-size: 28px; }
  .stat-label { font-size: 12px; }

  /* Compare table — affordance hint that it scrolls */
  .compare-wrap { position: relative; border-radius: 16px; }
  .compare-wrap::after {
    content: "— swipe →"; position: absolute; top: 6px; right: 12px;
    font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.06em;
    color: var(--ink-500); pointer-events: none;
  }

  /* Pricing cards — less padding on phones */
  .price-card { padding: 24px; border-radius: 16px; }
  .price-amount { font-size: 40px; }

  /* FAQ — ease summary size */
  .faq details summary { font-size: 17px; gap: 12px; }
  .faq details { padding: 16px 0; }

  /* Capture / bottom CTA — less padding */
  .capture { padding: 36px 22px; border-radius: 20px; }

  /* Pull quote — less padding */
  .pull-quote { padding: 22px; border-radius: 14px; font-size: 1.15rem; line-height: 1.45; }

  /* Cards (resources teaser, etc.) */
  .card { padding: 22px; border-radius: 14px; }
  .card h3 { font-size: 19px; }

  /* Footer — group cols 2-up so it doesn't feel like a long list */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; }

  /* Article prose */
  .prose h2 { margin-top: 40px; }
  .prose p, .prose li { font-size: 15.5px; }

  /* Glossary — stack the term above the def cleanly */
  .glossary-item { gap: 8px; padding: 18px 0; }
  .glossary-term { font-size: 19px; }
  .glossary-def { font-size: 14.5px; }

  /* Page hero on inner pages */
  .page-hero { padding: 36px 0 20px; }

  /* Nav — hide signin link to free space, keep CTA + burger */
  .nav-inner { padding: 12px 0; gap: 10px; }
  .nav-cta { padding: 9px 14px; font-size: 13px; }
  .brand-name { font-size: 18px; }
  .brand-mark { width: 26px; height: 26px; }
}

/* Tablet refinements — keep moat cards readable, ease testimonial */
@media (min-width: 641px) and (max-width: 900px) {
  .moat-card { padding: 24px; }
  .pull-quote { padding: 28px; font-size: 1.3rem; }
}

/* Touch target floor — all primary actions */
@media (hover: none) and (pointer: coarse) {
  .btn-primary, .btn-secondary, .nav-cta, .nav-link, .mobile-link, .card-arrow,
  .faq details summary, .price-card a, .nav-burger {
    min-height: 44px;
  }
  .nav-link { padding-top: 12px; padding-bottom: 12px; }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* =========================================================
   JARGON TOOLTIP — hover/tap reveals plain-English meaning
   Pattern: <a class="jargon" data-tip="..." href="glossary.html#term">DARVO</a>
   ========================================================= */
.jargon {
  position: relative;
  display: inline;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted var(--teal-700);
  cursor: help;
  font-weight: inherit;
  white-space: nowrap;
}
.jargon:hover, .jargon:focus { color: var(--teal-700); border-bottom-color: var(--teal-700); border-bottom-style: solid; outline: none; }
.jargon::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  background: var(--ink-950);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  white-space: normal;
  width: max-content;
  max-width: min(280px, calc(100vw - 40px));
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 12px 28px -8px rgba(10,15,26,0.35), 0 2px 6px -1px rgba(10,15,26,0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 60;
  text-transform: none;
  text-align: left;
}
.jargon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%) translateY(4px);
  border: 6px solid transparent;
  border-top-color: var(--ink-950);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
  z-index: 60;
}
.jargon:hover::after, .jargon:focus::after,
.jargon:hover::before, .jargon:focus::before,
.jargon.is-open::after, .jargon.is-open::before {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
/* Mobile — tap to open, position close to viewport edges safely */
@media (max-width: 640px) {
  .jargon::after {
    font-size: 13px;
    max-width: min(260px, calc(100vw - 32px));
    padding: 9px 12px;
  }
}
/* When tooltip would clip the right edge, flip alignment via .tip-right modifier (set by JS if needed) */
.jargon.tip-left::after { left: 0; transform: translateX(0) translateY(4px); }
.jargon.tip-left::before { left: 14px; transform: translateX(0) translateY(4px); }
.jargon.tip-left:hover::after, .jargon.tip-left.is-open::after { transform: translateX(0) translateY(0); }
.jargon.tip-left:hover::before, .jargon.tip-left.is-open::before { transform: translateX(0) translateY(0); }
.jargon.tip-right::after { left: auto; right: 0; transform: translateX(0) translateY(4px); }
.jargon.tip-right::before { left: auto; right: 14px; transform: translateX(0) translateY(4px); }
.jargon.tip-right:hover::after, .jargon.tip-right.is-open::after { transform: translateX(0) translateY(0); }
.jargon.tip-right:hover::before, .jargon.tip-right.is-open::before { transform: translateX(0) translateY(0); }

/* ============================================================
   Sample downloads widget
   ============================================================ */
.samples-band {
  margin: 28px 0 8px;
}
.samples-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 760px) {
  .samples-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
.sample-card {
  display: grid; grid-template-columns: 86px 1fr; gap: 18px;
  background: white; border: 1px solid rgba(10,15,26,0.08); border-radius: 14px;
  padding: 18px 20px; align-items: start;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  text-decoration: none; color: inherit;
}
.sample-card:hover {
  transform: translateY(-2px);
  border-color: rgba(12,118,108,0.35);
  box-shadow: 0 12px 24px -16px rgba(10,15,26,0.18);
}
.sample-card .pdf-thumb {
  width: 86px; height: 110px; border-radius: 6px;
  background: var(--sand-50);
  border: 1px solid rgba(10,15,26,0.08);
  position: relative; flex-shrink: 0;
  display: flex; flex-direction: column; padding: 10px 8px 8px;
  box-shadow: 0 1px 2px rgba(10,15,26,0.06), 0 8px 16px -10px rgba(10,15,26,0.12);
  overflow: hidden;
}
.sample-card .pdf-thumb::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--teal-700);
}
.sample-card.clay .pdf-thumb::before { background: var(--clay-500); }
.sample-card .pdf-thumb .mark {
  display: flex; align-items: center; gap: 4px;
  font-family: 'Fraunces', serif; font-size: 11px; font-weight: 600;
  color: var(--ink-950); margin-bottom: 6px;
}
.sample-card .pdf-thumb .mark svg { width: 10px; height: 10px; }
.sample-card .pdf-thumb .mark .dot { color: var(--teal-700); }
.sample-card .pdf-thumb .lines { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.sample-card .pdf-thumb .ln {
  height: 3px; border-radius: 2px; background: rgba(10,15,26,0.12);
}
.sample-card .pdf-thumb .ln.short { width: 60%; }
.sample-card .pdf-thumb .ln.med { width: 80%; }
.sample-card .pdf-thumb .stamp {
  position: absolute; bottom: 12px; right: -6px;
  font-family: 'JetBrains Mono', monospace; font-size: 7px; letter-spacing: 0.1em;
  color: var(--clay-500); border: 1px solid var(--clay-500); border-radius: 3px;
  padding: 2px 5px; transform: rotate(-8deg); background: white;
}
.sample-card .sc-body { min-width: 0; }
.sample-card .sc-tag {
  display: inline-block; font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: 6px;
}
.sample-card.clay .sc-tag { color: var(--clay-500); }
.sample-card h3 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 18px;
  letter-spacing: -0.01em; color: var(--ink-950); margin: 0 0 6px; line-height: 1.25;
}
.sample-card p {
  font-size: 13.5px; line-height: 1.5; color: var(--ink-700); margin: 0 0 12px;
}
.sample-card .sc-meta {
  display: flex; flex-wrap: wrap; gap: 10px 14px; margin-bottom: 12px;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px;
  letter-spacing: 0.04em; color: var(--ink-500);
}
.sample-card .sc-meta span { display: inline-flex; align-items: center; gap: 4px; }
.sample-card .sc-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--teal-700);
}
.sample-card.clay .sc-cta { color: var(--clay-500); }
.sample-card .sc-cta svg { width: 14px; height: 14px; transition: transform 180ms ease; }
.sample-card:hover .sc-cta svg { transform: translateY(2px); }

/* Compact intro line above the cards */
.samples-intro {
  display: flex; align-items: baseline; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; margin-bottom: 14px;
}
.samples-intro h3 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 20px;
  color: var(--ink-950); margin: 0; letter-spacing: -0.01em;
}
.samples-intro .samples-note {
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.06em; color: var(--ink-500); text-transform: uppercase;
}
