/* =========================================================
   Prime Marketing — Homepage Styles
   Tokens map 1:1 to DESIGN.md
   ========================================================= */

:root {
  /* Color */
  --ink: #0F1419;
  --paper: #FAF8F4;
  --paper-elev: #F2EEE6;
  --body: #2A2F36;
  --mute: #6B6F76;
  --mute-2: #8B8F96;
  --border: #E5E0D6;
  --terracotta: #B8472E;
  --terracotta-soft: rgba(184, 71, 46, 0.08);
  --terracotta-blush: rgba(184, 71, 46, 0.04);
  --off-white: #FAFAFA;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --padx: 96px;
  --section-y: 140px;

  /* Shadow */
  --lift-soft: 0 4px 16px rgba(15, 20, 25, 0.04);
  --lift-card: 0 8px 24px rgba(15, 20, 25, 0.06);
}

@media (max-width: 900px) {
  :root {
    --padx: 24px;
    --section-y: 88px;
  }
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--serif); color: var(--ink); font-weight: 600; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--terracotta); color: var(--off-white); }
:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 2px; }

/* Subtle paper-grain — applied to cream surfaces via a layered noise SVG data URI */
.grain {
  position: relative;
  isolation: isolate;
}
.grain::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.35  0 0 0 0 0.32  0 0 0 0 0.28  0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.grain > * { position: relative; z-index: 1; }
.grain-strong::before { opacity: 0.07; }

/* =========================================================
   COMMON
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--padx);
  padding-right: var(--padx);
}

section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  position: relative;
}

/* Section rule + eyebrow */
.eyebrow-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 36px;
}
.eyebrow-wrap.center { align-items: center; }
.section-rule {
  width: 120px;
  height: 1px;
  background: var(--terracotta);
  display: block;
}
.eyebrow {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}
.eyebrow .num { color: var(--terracotta); }
.eyebrow .sep { color: var(--border); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  padding: 16px 24px;
  border-radius: 5px;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover {
  background: #a23d27;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(184, 71, 46, 0.22);
}
.btn-primary.btn-lg { padding: 20px 32px; font-size: 16px; }
.btn-ghost {
  background: transparent;
  border-color: var(--terracotta);
  color: var(--terracotta);
}
.btn-ghost:hover { background: var(--terracotta-soft); }
.btn-block { width: 100%; }
/* Static (non-clickable) ghost — informational only */
.btn-static {
  cursor: default;
  user-select: none;
}
.btn-static:hover {
  background: transparent;
  transform: none;
  box-shadow: none;
}

/* Type utilities */
.h-display {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 6.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
}
.h-2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}
.h-3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.h-4 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.22;
  color: var(--ink);
}
.lede {
  font-size: 22px;
  line-height: 1.55;
  color: var(--body);
  max-width: 56ch;
}
.text-mute { color: var(--mute); }
.text-mute-sm { color: var(--mute); font-size: 13px; }
.em-italic {
  font-style: italic;
  color: var(--terracotta);
}

/* On-scroll fade-in */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background 220ms ease, border-color 220ms ease, backdrop-filter 220ms ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(250, 248, 244, 0.92);
  border-bottom-color: var(--border);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  min-width: 0;
  flex-shrink: 1;
}
.nav-links a {
  font-size: 14px;
  color: var(--body);
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--terracotta); }
/* Nav CTA — explicit override; spec: solid terracotta bg, pure white text, DM Sans 500.
   Has to defeat .nav-links a (descendant selector outscores .btn-primary on specificity). */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover,
.nav-links a.nav-cta:focus {
  color: #FFFFFF;
}
.nav-cta {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 5px;
  background: #B8472E;
}
.nav-cta:hover {
  background: #a53e28; /* ~10% darker */
  box-shadow: 0 6px 18px rgba(184, 71, 46, 0.22);
  transform: translateY(-1px);
}
/* Active page indicator on the nav CTA */
.nav-cta.active {
  position: relative;
}
.nav-cta.active::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px;
  bottom: -7px;
  height: 1px;
  background: var(--terracotta);
}
.hamburger {
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border-radius: 4px;
}
.hamburger span {
  width: 22px; height: 1.5px;
  background: var(--ink);
  position: relative;
}
.hamburger span::before,
.hamburger span::after {
  content: ""; position: absolute; left: 0;
  width: 22px; height: 1.5px; background: var(--ink);
}
.hamburger span::before { top: -7px; }
.hamburger span::after  { top:  7px; }

@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hamburger { display: inline-flex; }
  .nav-mobile {
    display: none;
    padding: 8px 24px 24px;
    background: var(--paper);
    border-top: 1px solid var(--border);
    flex-direction: column;
    gap: 16px;
  }
  .nav-mobile.open { display: flex; }
  .nav-mobile a { padding: 8px 0; }
}
@media (min-width: 761px) {
  .nav-mobile { display: none !important; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: 180px;
  padding-bottom: 120px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-eyebrow {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 32px;
}
.hero-eyebrow .e1 {
  font-family: var(--sans); font-weight: 600;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--terracotta);
}
.hero-eyebrow .e2 {
  font-family: var(--sans); font-weight: 600;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute);
}
.hero h1 { margin-bottom: 36px; }
.hero .lede { margin-bottom: 36px; }
.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 18px 22px; align-items: center;
}
.hero-fineprint {
  margin-top: 18px;
  font-size: 13px;
  color: var(--mute);
}

/* Browser frame mockup */
.browser {
  background: var(--paper-elev);
  border: 1px solid var(--terracotta);
  border-radius: 6px;
  box-shadow: var(--lift-soft);
  overflow: hidden;
  width: 100%;
}
.browser-chrome {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: var(--paper);
}
.browser-dots {
  display: flex; gap: 6px;
}
.browser-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta); opacity: 0.85;
}
.browser-dots span:nth-child(2) { opacity: 0.55; }
.browser-dots span:nth-child(3) { opacity: 0.30; }
.browser-url {
  flex: 1;
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-body {
  padding: 28px 26px 30px;
  min-height: 220px;
  background:
    linear-gradient(180deg, var(--paper-elev), var(--paper-elev));
}
.browser-body .mock-h {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.browser-body .mock-h em { color: var(--terracotta); font-style: italic; }
.browser-body .mock-sub {
  font-size: 12.5px;
  color: var(--mute);
  margin-bottom: 18px;
  max-width: 32ch;
}
.browser-body .mock-btn {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}
.browser-body .mock-bars {
  display: flex; flex-direction: column; gap: 8px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.browser-body .mock-bars div {
  height: 8px; border-radius: 2px;
  background: rgba(15, 20, 25, 0.08);
}
.browser-body .mock-bars div:nth-child(1) { width: 92%; }
.browser-body .mock-bars div:nth-child(2) { width: 76%; }
.browser-body .mock-bars div:nth-child(3) { width: 60%; background: rgba(184,71,46,0.18); }

/* Hero dashboard interior */
.dash-body {
  padding: 18px 22px 22px;
  background: var(--paper-elev);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.dash-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--mute);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.dash-header .dash-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
}
.dash-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.dash-tile {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 12px 12px 14px;
}
.dash-tile-label {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 6px;
}
.dash-tile-value {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1;
}
.dash-chart {
  width: 100%;
  height: 90px;
  display: block;
  margin-top: auto;
}

.browser-tilt {
  transform: rotate(2deg);
  transform-origin: center;
  max-width: 440px;
  margin-left: auto;
}

@media (max-width: 900px) {
  .hero { padding-top: 130px; padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .browser-tilt { max-width: 100%; margin: 0 auto; }
}

/* =========================================================
   OPERATOR STRIP
   ========================================================= */
.operators {
  padding-top: 80px;
  padding-bottom: 80px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.operators .e-up {
  font-family: var(--sans); font-weight: 600;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 28px;
}
.operators-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 20px;
  color: var(--mute);
}
.operators-row .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--terracotta);
  display: inline-block;
}
.operators-since {
  margin-top: 22px;
  font-size: 13px;
  color: var(--mute-2);
}

/* =========================================================
   PROBLEM
   ========================================================= */
.problem-head {
  max-width: 880px;
  margin-bottom: 80px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.pillar .ico {
  width: 36px; height: 36px; color: var(--terracotta);
  margin-bottom: 24px;
}
.pillar .ico-lg {
  width: 44px; height: 44px;
  margin-bottom: 28px;
}
.pillar .roman { margin-top: 0; }
.pillar .roman {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 18px;
  color: var(--terracotta);
  margin-bottom: 10px;
}
.pillar h3 { margin-bottom: 14px; }
.pillar p { color: var(--body); max-width: 32ch; }

@media (max-width: 820px) {
  .pillars { grid-template-columns: 1fr; gap: 48px; }
}

/* =========================================================
   QUALIFICATION
   ========================================================= */
.qual-head { max-width: 820px; margin-bottom: 64px; }
.qual-head .lede { margin-top: 20px; font-size: 18px; color: var(--mute); }
.qual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.qual-card {
  background: var(--paper-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.qual-card h3 { margin-bottom: 24px; }
.qual-card ul li {
  padding: 14px 0 14px 30px;
  position: relative;
  border-top: 1px solid var(--border);
  color: var(--body);
  font-size: 15.5px;
}
.qual-card ul li:first-child { border-top: 0; padding-top: 6px; }
.qual-card .tick {
  position: absolute;
  left: 0; top: 19px;
  width: 14px; height: 14px;
  color: var(--terracotta);
}
.qual-card .dash {
  position: absolute;
  left: 0; top: 26px;
  width: 12px; height: 1.5px;
  background: var(--mute-2);
}
.qual-card.no .dash + span,
.qual-card.no ul li { color: var(--mute); }

@media (max-width: 820px) {
  .qual-cards { grid-template-columns: 1fr; }
}

/* =========================================================
   CASE STUDIES
   ========================================================= */
.cases-head { max-width: 820px; margin-bottom: 64px; }
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: var(--paper-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px 24px 32px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--lift-card);
  border-color: var(--terracotta);
}
.case-mock {
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
}
.case-mock .browser-body { min-height: 0; height: 100%; padding: 20px; }
.case-mock .browser-body .mock-h { font-size: 15px; margin-bottom: 8px; }
.case-mock .browser-body .mock-btn { font-size: 9px; padding: 6px 10px; margin-bottom: 12px; }
.case-mock .browser-body .mock-bars div { height: 6px; }
.case-loc {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
}
.case-card h3 { margin-bottom: 12px; }
.case-card .body {
  font-size: 15px;
  color: var(--body);
  margin-bottom: 22px;
  line-height: 1.6;
}
.case-result {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.25;
  color: var(--terracotta);
  letter-spacing: -0.01em;
  border-top: 1px solid var(--border);
  padding-top: 18px;
  text-wrap: balance;
}

@media (max-width: 980px) {
  .cases { grid-template-columns: 1fr; }
  .case-card { max-width: 560px; margin: 0 auto; }
}

/* =========================================================
   TESTIMONIALS (inverted)
   ========================================================= */
.testimonials {
  background: var(--ink);
  color: var(--off-white);
  padding-top: 130px;
  padding-bottom: 130px;
}
.testimonials .section-rule { background: var(--terracotta); }
.testimonials .eyebrow { color: var(--terracotta); }
.testimonials h2 { color: var(--off-white); max-width: 900px; }
.quotes {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.quote .marks {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 64px;
  line-height: 0.6;
  color: var(--terracotta);
  margin-bottom: 18px;
  display: block;
  letter-spacing: -0.02em;
}
.quote blockquote {
  margin: 0 0 28px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
  line-height: 1.5;
  color: var(--off-white);
  text-wrap: pretty;
}
.quote-meta { display: flex; align-items: center; gap: 14px; }
.quote-photo {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #3a3a36;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  text-align: center;
  flex-shrink: 0;
}
.quote-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 16px;
  color: var(--off-white);
  line-height: 1.3;
}
.quote-title {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--mute-2);
  line-height: 1.4;
  margin-top: 2px;
}
@media (max-width: 900px) {
  .quotes { grid-template-columns: 1fr; gap: 56px; }
}

/* =========================================================
   HOW WE WORK
   ========================================================= */
.how-head { max-width: 820px; margin-bottom: 80px; }
.how-head .lede { font-size: 18px; color: var(--mute); margin-top: 20px; }
.steps {
  position: relative;
  padding-left: 0;
}
.step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 56px;
  align-items: start;
  padding: 60px 0;
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 32px; top: 110px; bottom: -20px;
  width: 1px;
  background: var(--terracotta);
  opacity: 0.45;
}
.step-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 64px;
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: -0.02em;
}
.step-body { max-width: 60ch; }
.step-body h3 { margin-bottom: 8px; }
.step-sub {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--mute);
  margin-bottom: 18px;
}
.step-body p { color: var(--body); font-size: 16px; }

@media (max-width: 760px) {
  .step { grid-template-columns: 1fr; gap: 14px; padding: 36px 0; }
  .step-num { font-size: 48px; }
  .step:not(:last-child)::after { display: none; }
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing-head { max-width: 820px; margin-bottom: 64px; }
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.price-card {
  background: var(--paper-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 44px 40px 40px;
  display: flex; flex-direction: column;
}
.price-card .e-up {
  font-family: var(--sans); font-weight: 600;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 22px;
}
.price-card.featured {
  background: linear-gradient(180deg, rgba(184,71,46,0.05), rgba(184,71,46,0.02));
  border-color: var(--terracotta);
}
.price-card.featured .e-up { color: var(--terracotta); }
.price-card .tier {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 32px;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 22px;
}
.price-card .price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}
.price-card .sub {
  font-size: 14px;
  color: var(--mute);
  margin-bottom: 22px;
}
.price-card .qualifier {
  font-size: 14px;
  color: var(--mute);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  margin-bottom: 24px;
}
.price-card .desc {
  font-size: 15.5px;
  color: var(--body);
  margin-bottom: 24px;
}
.price-card .includes {
  margin-bottom: 32px;
}
.price-card .includes li {
  padding: 11px 0 11px 26px;
  position: relative;
  font-size: 15px;
  color: var(--body);
  border-top: 1px dashed var(--border);
}
.price-card .includes li:first-child { border-top: 0; }
.price-card .includes .tick {
  position: absolute; left: 0; top: 15px;
  width: 14px; height: 14px; color: var(--terracotta);
}
.price-card .cta-row { margin-top: auto; }

@media (max-width: 900px) {
  .pricing { grid-template-columns: 1fr; }
}

/* =========================================================
   THE STANDARD
   ========================================================= */
.standard-head { max-width: 820px; margin-bottom: 72px; }
.standard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px 56px;
}
.principle .ico {
  width: 28px; height: 28px; color: var(--terracotta);
  margin-bottom: 18px;
}
.principle .ico-std {
  width: 28px; height: 28px;
}
.principle h3 { margin-bottom: 12px; }
.principle p { max-width: 46ch; color: var(--body); }

@media (max-width: 820px) {
  .standard { grid-template-columns: 1fr; gap: 48px; }
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.final-cta {
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 160px;
  padding-bottom: 160px;
}
.final-cta::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 900px; height: 900px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(184,71,46,0.18) 0%, rgba(184,71,46,0.05) 35%, rgba(184,71,46,0) 65%);
  pointer-events: none;
  z-index: 0;
}
.final-cta .eyebrow-wrap { align-items: center; }
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 {
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  max-width: 900px;
  margin: 0 auto 32px;
  text-wrap: balance;
}
.final-cta .lede {
  margin: 0 auto 40px;
  font-size: 18px;
  color: var(--mute);
  max-width: 60ch;
}
.final-cta .fineprint {
  margin-top: 18px;
  font-size: 13px;
  color: var(--mute);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  border-top: 1px solid var(--terracotta);
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: var(--mute); }
.footer-email {
  font-size: 13px;
  color: var(--mute);
  letter-spacing: 0.01em;
  transition: color 160ms ease;
}
.footer-email:hover { color: var(--terracotta); }

/* =========================================================
   Small helpers
   ========================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   APPLY PAGE
   ========================================================= */

/* Apply hero — narrower, no visual anchor */
.apply-hero { padding-top: 180px; padding-bottom: 80px; }
.apply-hero .container { max-width: 1100px; }
.apply-hero .eyebrow-wrap { align-items: flex-start; margin-bottom: 30px; }
.apply-hero h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5.8vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-wrap: balance;
  max-width: 22ch;
  margin-bottom: 28px;
}
.apply-hero .lede {
  font-size: 20px;
  max-width: 64ch;
  margin-bottom: 24px;
}
.apply-hero .fineprint {
  font-size: 13px;
  color: var(--mute);
}
@media (max-width: 900px) {
  .apply-hero { padding-top: 130px; padding-bottom: 56px; }
}

/* Section H2 sized to 48px on Apply (override .h-2) */
.h-2--med {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  color: var(--ink);
  text-wrap: balance;
}

/* Roman-numeral steps (Apply > What to expect) */
.r-steps {
  position: relative;
  padding-left: 0;
}
.r-step {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px 0;
  position: relative;
}
.r-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px; top: 84px; bottom: -16px;
  width: 1px;
  background: var(--terracotta);
  opacity: 0.45;
}
.r-num {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  line-height: 1;
  color: var(--terracotta);
  letter-spacing: -0.01em;
}
.r-body h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.22;
  margin-bottom: 10px;
  color: var(--ink);
}
.r-body p { color: var(--body); font-size: 16px; max-width: 60ch; }
@media (max-width: 720px) {
  .r-step { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .r-step:not(:last-child)::after { display: none; }
}

/* What You Get — compact Blueprint summary card */
.bp-card {
  background: linear-gradient(180deg, rgba(184,71,46,0.05), rgba(184,71,46,0.02)), var(--paper-elev);
  border: 1px solid var(--terracotta);
  border-radius: 8px;
  padding: 36px 40px 38px;
  max-width: 720px;
}
.bp-card .e-up {
  font-family: var(--sans); font-weight: 600;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.bp-card .tier {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: 14px;
}
.bp-card .price {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 6px;
}
.bp-card .sub {
  font-size: 14px;
  color: var(--mute);
  margin-bottom: 22px;
}
.bp-card .includes {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.bp-card .includes li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 15px;
  color: var(--body);
}
.bp-card .includes .tick {
  position: absolute; left: 0; top: 14px;
  width: 14px; height: 14px; color: var(--terracotta);
}
.bp-foot {
  margin-top: 22px;
  font-size: 14px;
  color: var(--mute);
  max-width: 720px;
}

/* Form */
.form-card {
  background: var(--paper-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 48px;
  max-width: 720px;
}
.form-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}
.field .optional {
  font-weight: 400;
  color: var(--mute);
  margin-left: 4px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--body);
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  width: 100%;
  line-height: 1.4;
  transition: border-color 160ms ease;
  appearance: none;
  -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%236B6F76' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'><path d='M1 1.5 L6 6 L11 1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.field textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
  font-family: var(--sans);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--terracotta);
  outline: none;
}
.field .help {
  font-size: 12px;
  color: var(--mute);
}
.field.invalid input,
.field.invalid select,
.field.invalid textarea {
  border-color: #7A3520;
}
.field .err {
  display: none;
  font-size: 12px;
  color: #7A3520;
}
.field.invalid .err { display: block; }
.req { color: var(--terracotta); margin-left: 2px; }

.form-actions {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.form-submit {
  width: 100%;
  max-width: 280px;
}
.form-fineprint { font-size: 13px; color: var(--mute); }

@media (max-width: 720px) {
  .form-card { padding: 32px 24px; }
  .form-submit { width: 100%; max-width: none; }
}

/* "Not sure" filter */
.filter-list {
  margin-top: 16px;
  max-width: 60ch;
}
.filter-list li {
  padding: 14px 0 14px 28px;
  position: relative;
  font-size: 17px;
  color: var(--body);
  border-top: 1px solid var(--border);
}
.filter-list li:first-child { border-top: 0; }
.filter-list .dash {
  position: absolute;
  left: 0; top: 27px;
  width: 14px; height: 1.5px;
  background: var(--mute-2);
}
.filter-closer {
  margin-top: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  color: var(--mute);
  max-width: 60ch;
}

/* FAQ accordion */
.faq-head { max-width: 880px; margin-bottom: 56px; }
.faq-head .lede { margin-top: 18px; font-size: 16px; color: var(--mute); }
.faq {
  border-top: 1px solid var(--border);
  max-width: 880px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.01em;
  cursor: pointer;
  background: none;
  border: 0;
  transition: color 160ms ease;
}
.faq-q:hover { color: var(--terracotta); }
.faq-icon {
  position: relative;
  width: 16px; height: 16px;
  flex-shrink: 0;
  color: var(--terracotta);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--terracotta);
  border-radius: 1px;
}
.faq-icon::before { left: 0; right: 0; top: 50%; height: 1.5px; transform: translateY(-50%); }
.faq-icon::after {
  left: 50%; top: 0; bottom: 0;
  width: 1.5px;
  transform: translateX(-50%);
  transition: transform 220ms ease, opacity 220ms ease;
}
.faq-item.open .faq-icon::after {
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
}
.faq-a-inner {
  padding: 4px 56px 30px 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  max-width: 64ch;
}
.faq-item.open .faq-a {
  max-height: 560px;
}
@media (max-width: 600px) {
  .faq-q { font-size: 19px; padding: 22px 0; }
  .faq-a-inner { padding-right: 24px; }
}

