/* Caelum v2 styles
   Two directions share this file; direction is set via [data-direction="A"|"B"] on <body>. */

:root {
  /* Brand */
  --navy: #1A2B4A;
  --navy-deep: #0F1B30;
  --navy-900: #0A1323;
  --gold: #B8A04C;
  --gold-light: #D4C27A;
  --gold-soft: #E8D9A8;
  --cream: #F2EDE4;
  --cream-light: #FAF8F4;
  --warm-white: #FEFDFB;
  --text: #1A2B4A;
  --text-muted: #6B7280;
  --text-subtle: #9BA3AF;
  --border: #E8E1D5;
  --border-dark: rgba(212, 194, 122, 0.15);

  /* Type */
  --font-serif: "Fraunces", "Source Serif 4", Georgia, serif;
  --font-sans: "Geist", "Inter Tight", system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Rhythm */
  --container: 1240px;
  --gutter: 28px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

/* Direction A = warm cream hero w/ navy ink (light-first, dark opt-in) */
body[data-direction="A"] .hero-surface {
  background:
    radial-gradient(120% 80% at 70% 0%, #FFF9ED 0%, var(--cream) 55%, var(--cream) 100%);
  color: var(--navy);
}
body[data-direction="A"][data-theme="dark"] .hero-surface {
  background: radial-gradient(120% 80% at 70% 0%, #1F3358 0%, var(--navy-deep) 55%, var(--navy-900) 100%);
  color: var(--warm-white);
}

/* ----- Direction B = editorial cream ----- */
body[data-direction="B"] .hero-surface {
  background: var(--cream);
  color: var(--navy);
}
body[data-direction="B"][data-theme="dark"] .hero-surface {
  background: radial-gradient(120% 80% at 30% 10%, #1F3358 0%, var(--navy-deep) 55%, var(--navy-900) 100%);
  color: var(--warm-white);
}

/* Global theme: dark mode overrides page surfaces */
body[data-theme="dark"] {
  background: var(--navy-900);
  color: var(--cream);
}
body[data-theme="dark"] section { background: var(--navy-deep) !important; color: var(--cream); }
body[data-theme="dark"] section[data-surface="alt"] { background: var(--navy-900) !important; }
body[data-theme="dark"] .card,
body[data-theme="dark"] .problem-grid > div,
body[data-theme="dark"] .onboarding-grid > div,
body[data-theme="dark"] .values-grid > div,
body[data-theme="dark"] .security-grid .fact,
body[data-theme="dark"] .plan-inc li,
body[data-theme="dark"] .pricing-grid > div:not([data-recommended]) {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(184,160,76,0.18) !important;
  color: var(--cream);
}
body[data-theme="dark"] h1, body[data-theme="dark"] h2, body[data-theme="dark"] h3, body[data-theme="dark"] h4 { color: var(--cream); }
body[data-theme="dark"] .text-muted, body[data-theme="dark"] [style*="var(--text-muted)"] { color: rgba(242,237,228,0.65) !important; }
body[data-theme="dark"] .nav.on-hero { background: rgba(15,27,48,0.75) !important; border-bottom: 1px solid rgba(255,255,255,0.06) !important; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Typography primitives */
.display {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.serif { font-family: var(--font-serif); }
.mono { font-family: var(--font-mono); font-feature-settings: normal; }

/* Hero typography: constrained so long copy doesn't tower vertically.
   Max font drops from 76px to 56px, and a max-width keeps lines short. */
.hero-h1 {
  font-size: clamp(34px, 4.2vw, 56px);
  max-width: 18ch;
}
.hero-lede {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 540px;
}
.hero-copy {
  max-width: 600px;
}
@media (max-width: 900px) {
  .hero-h1 { max-width: none; }
}

/* Eyebrow: editorial Pattern A. Fraunces italic sentence-case in gold,
   no uppercase, no wide tracking, no separator dots. The hand-crafted register
   that replaces the templated mono-uppercase tell. */
.eyebrow {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.005em;
  color: var(--gold);
  font-feature-settings: "ss01";
}

.eyebrow-ink {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.005em;
  color: var(--navy);
  opacity: 0.78;
}

/* Eyebrow Pattern B: low-emphasis label with a small gold pip.
   Used for section labels above body sections, replaces the old caps-mono treatment. */
.eyebrow-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow-label::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  display: inline-block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 6px 18px -6px rgba(184,160,76,0.55), 0 1px 0 rgba(255,255,255,0.18) inset;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 12px 28px -8px rgba(184,160,76,0.65), 0 1px 0 rgba(255,255,255,0.22) inset; }
.btn-gold .btn-arrow { transition: transform 0.25s ease; }
.btn-gold:hover .btn-arrow { transform: translateX(3px); }

/* Shine sweep on featured gold CTAs (matches the old site treatment: subtle, refined) */
.btn-shine { position: relative; overflow: hidden; isolation: isolate; }
.btn-shine::after {
  content: "";
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
  transform: skewX(-20deg);
  pointer-events: none;
  z-index: 1;
  animation: btn-shine-sweep 4s ease-in-out infinite;
}
.btn-shine > * { position: relative; z-index: 2; }
@keyframes btn-shine-sweep {
  0%, 100% { left: -60%; }
  50%      { left: 120%; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-shine::after { animation: none; }
}

.btn-ghost-light {
  background: transparent;
  color: var(--warm-white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold-light); }

.btn-ghost-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost-dark:hover { background: var(--navy); color: var(--cream); }

.btn-solid-navy {
  background: var(--navy);
  color: var(--cream);
}
.btn-solid-navy:hover { background: var(--navy-deep); }

/* Scarcity ribbon */
.scarcity-ribbon {
  background: var(--cream);
  color: var(--navy);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border-bottom: 1px solid var(--border);
}
body[data-theme="dark"] .scarcity-ribbon {
  background: var(--navy-deep);
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(184, 160, 76, 0.2);
}
.scarcity-ribbon .inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 16px;
  text-align: center;
}
@media (max-width: 640px) {
  .scarcity-ribbon .inner { font-size: 12px; gap: 6px 10px; }
  .scarcity-ribbon .sep { display: none; }
}
.scarcity-ribbon .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(184, 160, 76, 0.7);
  animation: pulse 2.2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(184, 160, 76, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(184, 160, 76, 0); }
  100% { box-shadow: 0 0 0 0 rgba(184, 160, 76, 0); }
}
.scarcity-ribbon strong { color: var(--gold); font-weight: 600; }
.scarcity-ribbon .sep { opacity: 0.3; }

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body[data-direction="A"] .nav.on-hero { background: rgba(255, 249, 237, 0.82); border-bottom: 1px solid var(--border); }
body[data-direction="B"] .nav.on-hero { background: rgba(242, 237, 228, 0.82); border-bottom: 1px solid var(--border); }
body[data-theme="dark"] .nav.on-hero { background: rgba(15,27,48,0.78) !important; border-bottom: 1px solid rgba(184,160,76,0.18) !important; }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 32px;
}
.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em;
  font-size: 17px;
  flex-shrink: 0;
}
.nav-brand .mark {
  width: 26px; height: 26px;
  display: grid; place-items: center;
}
.nav-links {
  flex: 1;
  display: flex;
  gap: clamp(20px, 2.6vw, 44px);
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
}
.nav-actions { flex-shrink: 0; }
.nav-links a { opacity: 0.85; transition: opacity 0.15s, color 0.15s; }
.nav-links a:hover { opacity: 1; color: var(--gold-light); }
body[data-direction="B"] .nav-links a:hover { color: var(--gold); opacity: 1; }
.nav-cta { padding: 10px 16px; font-size: 14px; }

/* Hairlines */
.hairline { height: 1px; width: 100%; background: var(--border); }
.hairline-dark { height: 1px; width: 100%; background: rgba(255,255,255,0.08); }

/* Section padding */
section { padding: 96px 0; }
@media (max-width: 720px) { section { padding: 64px 0; } }

/* Utilities */
.text-muted { color: var(--text-muted); }
.text-subtle { color: var(--text-subtle); }
.text-gold { color: var(--gold); }
.text-cream { color: var(--cream); }
.text-center { text-align: center; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* Focus */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Placeholder tag — for content that's clearly TBD */
.tbd-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gold);
  border: 1px dashed var(--gold);
  padding: 3px 8px;
  border-radius: 3px;
  text-transform: uppercase;
  opacity: 0.7;
}

/* Card */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}
body[data-direction="A"] .card.on-dark {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Tweaks Panel */
.tweaks-panel {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 280px;
  background: var(--navy-deep);
  color: var(--cream);
  border: 1px solid rgba(184,160,76,0.3);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 100;
  font-size: 13px;
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel .tweak-group { margin-bottom: 16px; }
.tweaks-panel label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242,237,228,0.5);
  margin-bottom: 8px;
  font-weight: 500;
}
.tweaks-panel .seg {
  display: flex;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 6px;
  padding: 3px;
}
.tweaks-panel .seg button {
  flex: 1;
  padding: 7px 10px;
  border-radius: 4px;
  color: rgba(242,237,228,0.7);
  font-size: 12px;
  font-weight: 500;
  transition: all 0.15s;
}
.tweaks-panel .seg button.active {
  background: var(--gold);
  color: var(--navy-deep);
}
.tweaks-panel .close {
  color: rgba(242,237,228,0.5);
  font-size: 18px;
  line-height: 1;
}

/* ============================================================
   RECOMMENDED PRICING TIER — subtle attention pulse
   ============================================================ */
.tier-card { transition: transform 0.25s ease, box-shadow 0.3s ease; }
.tier-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(26,43,74,0.18); }

.tier-card--recommended {
  position: relative;
  z-index: 1;
  transform: translateY(-6px);
  box-shadow:
    0 22px 60px -22px rgba(26,43,74,0.45),
    0 0 0 1px rgba(184,160,76,0.18),
    0 0 0 0 rgba(184,160,76,0.45);
  animation: tier-recommended-pulse 4.6s ease-in-out infinite;
}
.tier-card--recommended:hover {
  transform: translateY(-10px);
  animation-play-state: paused;
  box-shadow:
    0 28px 70px -22px rgba(26,43,74,0.55),
    0 0 0 1px rgba(184,160,76,0.4),
    0 0 0 12px rgba(184,160,76,0.0);
}
@keyframes tier-recommended-pulse {
  0%, 100% {
    box-shadow:
      0 22px 60px -22px rgba(26,43,74,0.45),
      0 0 0 1px rgba(184,160,76,0.18),
      0 0 0 0 rgba(184,160,76,0.30);
  }
  50% {
    box-shadow:
      0 22px 60px -22px rgba(26,43,74,0.45),
      0 0 0 1px rgba(184,160,76,0.32),
      0 0 0 14px rgba(184,160,76,0.0);
  }
}
.tier-card--recommended .btn-gold { animation: tier-cta-bob 4.6s ease-in-out infinite; }
@keyframes tier-cta-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  .tier-card--recommended,
  .tier-card--recommended .btn-gold { animation: none; }
}

/* ============================================================
   MOBILE PASS  (added 19 April 2026)
   Comprehensive small-screen overrides for the v2 layout.
   ============================================================ */

/* Hamburger toggle: hidden on desktop, shown on tablet/mobile */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(26, 43, 74, 0.15);
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.18s ease;
  transform-origin: center;
}
.nav-toggle-bar.is-open-1 { transform: translateY(7px) rotate(45deg); }
.nav-toggle-bar.is-open-2 { opacity: 0; }
.nav-toggle-bar.is-open-3 { transform: translateY(-7px) rotate(-45deg); }

/* Mobile slide-down menu panel */
.nav-mobile-panel {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  z-index: 39;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  box-shadow: 0 16px 40px rgba(26, 43, 74, 0.12);
}
body[data-direction="A"] .nav-mobile-panel { background: #FFF9ED; }
body[data-direction="B"] .nav-mobile-panel { background: var(--cream); }
.nav-mobile-panel.open { display: block; }
.nav-mobile-inner {
  padding: 24px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: var(--container);
  margin: 0 auto;
}
.nav-mobile-inner a {
  display: block;
  padding: 14px 4px;
  font-size: 17px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid rgba(26, 43, 74, 0.08);
}
.nav-mobile-inner a:last-of-type { border-bottom: none; }
.nav-mobile-cta {
  margin-top: 16px;
  padding: 14px 18px !important;
  text-align: center;
  border-bottom: none !important;
  font-size: 15px !important;
}

/* ----- Tablet and below ----- */
@media (max-width: 900px) {
  section { padding: 72px 0; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-actions { display: none !important; }
  .nav-inner { height: 64px; }
  .nav-mobile-panel { top: 64px; max-height: calc(100vh - 64px); }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  :root { --gutter: 18px; }

  /* Section padding reduces further */
  section { padding: 60px 0; }

  /* Scarcity ribbon: stack and shrink */
  .scarcity-ribbon { font-size: 12px; line-height: 1.4; }
  .scarcity-ribbon .inner {
    flex-wrap: wrap;
    gap: 6px 10px;
    padding: 10px 14px;
    text-align: center;
    justify-content: center;
  }
  .scarcity-ribbon .sep { display: none; }

  /* Body sizing tweaks */
  body { font-size: 15.5px; }

  /* Hero adjustments: tighter padding, smaller floors */
  .hero-surface { padding-top: 40px !important; padding-bottom: 56px !important; }

  .hero-grid h1.display, .hero-b-grid h1.display, .about-hero-grid h1.display {
    font-size: clamp(32px, 8.5vw, 48px) !important;
    line-height: 1.05 !important;
  }
  .hero-grid p, .hero-b-grid p { font-size: 16px !important; }

  /* Hero A: signature card overflows on phone, dock it inline */
  .hero-a-sig {
    position: static !important;
    width: auto !important;
    max-width: 100% !important;
    margin-top: 24px;
  }
  .hero-right > div { max-width: 100% !important; }
  .hero-right svg { display: none !important; }

  /* Hero B: hide the long header strip on phones, photo column shrinks */
  .hero-b-grid > div:last-child { max-width: 100% !important; }

  /* Founder bar: tighter grid, smaller text */
  .founder-bar-grid { grid-template-columns: 1fr 1fr !important; gap: 20px !important; }
  .founder-bar-grid > div > div:first-child { font-size: 24px !important; }

  /* Display headings within sections */
  h2.display { font-size: clamp(28px, 6.4vw, 40px) !important; line-height: 1.12 !important; }

  /* Competitor table: scroll hint, sticky first column */
  #compare table { font-size: 12px !important; min-width: 720px !important; }
  #compare table th, #compare table td { padding: 12px 10px !important; }
  #compare > .container > div[style*="overflowX"]::after {
    content: "Swipe to see all →";
    display: block;
    text-align: center;
    color: rgba(242, 237, 228, 0.5);
    font-size: 11px;
    padding: 10px 0 4px;
    font-family: var(--font-mono);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  /* Pricing tiers: padding sanity */
  .pricing-grid > div { padding: 28px !important; }

  /* Footer: stack nicely */
  .footer-grid { gap: 36px !important; }

  /* Buttons: ensure 44px tap target */
  .btn { padding: 12px 18px !important; min-height: 44px; display: inline-flex !important; align-items: center; justify-content: center; }
  .btn-gold, .btn-solid-navy, .btn-ghost-dark { font-size: 14px !important; }

  /* Container gutter on wide containers */
  .container-wide { padding-left: var(--gutter); padding-right: var(--gutter); }
}

/* ----- Phones ----- */
@media (max-width: 540px) {
  /* Hero A inner image card: shrink */
  .hero-right > div { max-width: 320px !important; margin: 0 auto; }

  /* Scarcity: ultra-compact */
  .scarcity-ribbon { font-size: 11.5px; }
  .scarcity-ribbon .inner { padding: 9px 12px; }

  /* About hero kicker bar: stack */
  .about-hero-grid { gap: 36px !important; }

  /* Plan inclusions on pricing page already collapses; ensure badges stack */
  .plan-inc { gap: 12px !important; }

  /* Tighter h1 */
  .hero-grid h1.display, .hero-b-grid h1.display, .about-hero-grid h1.display {
    font-size: clamp(28px, 9vw, 40px) !important;
  }

  /* Reduce display margins */
  h1.display, h2.display { letter-spacing: -0.02em !important; }

  /* CTA section padding */
  .cta-section { padding: 48px 0 !important; }
}

@media (max-width: 380px) {
  :root { --gutter: 14px; }
  .hero-grid h1.display, .hero-b-grid h1.display { font-size: 28px !important; }
}

/* ----- Page hero (legal pages, simple landing tops) ----- */
.page-hero-simple {
  padding: 96px 0 56px;
  background: radial-gradient(120% 80% at 50% 0%, #1F3358 0%, var(--navy-deep) 55%, var(--navy-900) 100%);
  color: var(--cream);
}
.page-hero-simple h1.display {
  font-size: clamp(36px, 5vw, 64px);
  color: var(--warm-white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.page-hero-simple .lede {
  font-size: 17px;
  color: rgba(242,237,228,0.78);
  max-width: 640px;
  line-height: 1.6;
}
.page-hero-simple .eyebrow {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--gold);
  margin-bottom: 18px;
}

/* ----- Prose block (legal, changelog, status text) ----- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  color: var(--text);
  font-size: 16px;
  line-height: 1.7;
}
.prose p { margin: 0 0 18px; }
.prose h2 {
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  color: var(--navy);
  margin: 40px 0 14px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.prose h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--navy);
  margin: 28px 0 10px;
  letter-spacing: -0.005em;
}
.prose ul, .prose ol { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--navy); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.prose a:hover { color: var(--gold); }
.prose strong { font-weight: 600; }
.prose code, .prose pre {
  font-family: var(--font-mono);
  font-size: 14px;
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 4px;
}
.prose pre { padding: 14px 18px; overflow-x: auto; }
.prose .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.prose blockquote {
  border-left: 3px solid var(--gold);
  padding: 4px 0 4px 18px;
  margin: 18px 0;
  font-style: italic;
  color: var(--text-muted);
  font-family: var(--font-serif);
}

/* ----- Card utility (replaces inline padding/border/radius patterns) ----- */
.card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}
.card-lg { padding: 32px; }
.card-cream { background: var(--cream-light); }

/* ----- Form bits used by legacy contact form, ported ----- */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr !important; } }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 14px;
  font-family: inherit;
  background: var(--warm-white);
  color: var(--text);
}
.form-textarea { resize: vertical; min-height: 88px; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(184,160,76,0.15);
}
