/* =====================================================================
   Paul Barby / onapage.net — Master Stylesheet
   One file. All design tokens, components, and responsive rules.
   Brand: dark navy base, blue intelligence accents, gold momentum.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------------------- */
:root {
  /* Primary palette */
  --c-deep-navy:      #071421;
  --c-midnight:       #0B1E33;
  --c-executive:      #123A68;
  --c-steel:          #2F66B3;
  --c-electric:       #1E8BFF;
  --c-ice:            #F4F7FA;
  --c-charcoal:       #151A20;
  --c-slate:          #5E6A78;
  --c-gold:           #D6A64A;

  /* Secondary palette */
  --c-blueprint:      #79AEE8;
  --c-cloud:          #D8DEE7;
  --c-graphite:       #262B31;
  --c-green:          #3FBF7F;  /* status only */
  --c-amber:          #E3A23A;  /* status only */
  --c-red:            #D94A4A;  /* status only */

  /* Gold range (mockup runs slightly warmer) */
  --c-gold-light:     #E3C06B;
  --c-gold-deep:      #D39A2C;

  /* Semantic roles */
  --bg:               var(--c-deep-navy);
  --bg-alt:           var(--c-midnight);
  --panel:            #0e2236;
  --panel-line:       rgba(121, 174, 232, 0.16);
  --text:             var(--c-ice);
  --text-dim:         #aeb9c6;
  --text-muted:       var(--c-slate);
  --accent:           var(--c-steel);
  --accent-bright:    var(--c-electric);

  /* Gradients */
  --grad-hero:        linear-gradient(160deg, #071421 0%, #0B1E33 55%, #123A68 130%);
  --grad-name:        linear-gradient(90deg, #79AEE8, #2F66B3, #1E8BFF);
  --grad-gold:        linear-gradient(135deg, #D6A64A 0%, #E3C06B 100%);
  --grad-panel:       linear-gradient(160deg, #151A20 0%, #262B31 100%);
  --glow-blue:        radial-gradient(circle, rgba(30,139,255,0.45) 0%, rgba(30,139,255,0.10) 45%, transparent 70%);

  /* Typography */
  --font-head:        'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body:        'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display:     'Fraunces', Georgia, 'Times New Roman', serif; /* hero standout only */

  /* Type scale (clamped for fluid sizing) */
  --fs-hero:    clamp(2.4rem, 1.7rem + 2.6vw, 3.55rem); /* refined, mockup-matched */
  --fs-h1:      clamp(1.9rem, 1.4rem + 2vw, 2.9rem);    /* 40–52px */
  --fs-h2:      clamp(1.4rem, 1.15rem + 1vw, 1.95rem);  /* editorial section headings */
  --fs-h3:      clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem); /* 20–26px */
  --fs-body:    1.0625rem;  /* 17px */
  --fs-small:   0.9rem;     /* ~14.5px */
  --fs-caption: 0.78rem;    /* ~12.5px */

  /* Spacing scale — tuned tight for an editorial one-page density */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.4rem;
  --sp-6: 1.85rem;
  --sp-7: 2.5rem;
  --sp-8: 3.25rem;
  --sp-9: 4.25rem;

  /* Radius — small and crisp. Professional, not consumer-rounded.
     (true circles like dots/headshot use border-radius:50% directly) */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 6px;
  --r-btn: 4px;   /* buttons stay square-ish, not pills */
  --r-pill: 4px;  /* legacy alias — chips now use small radius too */
  --border: 1px solid var(--panel-line);
  --shadow-gold: 0 6px 22px rgba(214, 166, 74, 0.28);
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.35);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);

  /* Breakpoints (reference only — used in media queries below) */
  /* desktop > 1024 | tablet 768–1024 | mobile < 768 */
}

/* ---------------------------------------------------------------------
   2. RESET / NORMALIZE
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 var(--sp-4);
  letter-spacing: -0.01em;
}
/* Large headings use the elegant display serif, like the mockup.
   Light weight for a refined, editorial feel. */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 500; }
p { margin: 0 0 var(--sp-4); }
a { color: var(--accent-bright); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--c-blueprint); }
img, svg { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
:focus-visible {
  outline: 2px solid var(--c-electric);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ---------------------------------------------------------------------
   3. LAYOUT SYSTEM
   --------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--sp-9); }
.section--tight { padding-block: var(--sp-8); }
.grid { display: grid; gap: var(--sp-6); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: var(--fs-caption);
  font-weight: 500;
  color: var(--c-gold);
  margin-bottom: var(--sp-3);
}
.lead { font-size: 1.18rem; font-weight: 300; color: var(--text-dim); max-width: 60ch; line-height: 1.6; }
.section-head { max-width: 62ch; margin-bottom: var(--sp-7); }

/* Thin section dividers — not heavy blocks */
.section-divider {
  border: 0;
  border-top: var(--border);
  margin: 0;
}

/* ---------------------------------------------------------------------
   4. UTILITIES
   --------------------------------------------------------------------- */
.text-gold  { color: var(--c-gold); }
.text-blue  { color: var(--c-electric); }
.text-dim   { color: var(--text-dim); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.serif { font-family: var(--font-display); font-weight: 400; font-style: normal; }
.hide-desktop { display: none; }

/* ---------------------------------------------------------------------
   5. BUTTONS
   --------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.8rem 1.4rem;
  border-radius: var(--r-btn);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn .icon { width: 18px; height: 18px; }

.btn--primary {
  background: var(--grad-gold);
  color: var(--c-charcoal);
  box-shadow: var(--shadow-gold);
  position: relative;
  isolation: isolate;
}
.btn--primary:hover { color: var(--c-charcoal); box-shadow: 0 8px 28px rgba(214,166,74,0.42); }

/* Rippling wave — two staggered gold rings emanate from the button
   every few seconds to draw the eye to the primary action. */
.btn--primary::before,
.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  animation: btn-wave 5s ease-in-out infinite;
}
.btn--primary::after { animation-delay: 0.3s; }
/* Soft glow bloom — active for only 1/5 of the cycle (≈1s of 5s),
   then holds fully transparent (idle) for the remaining 4/5.
   Ring 1: 0–0.7s · Ring 2 (delayed 0.3s): 0.3–1.0s → wave done by 1s. */
@keyframes btn-wave {
  0%        { box-shadow: 0 0 10px 1px rgba(214, 166, 74, 0.5); }
  14%, 100% { box-shadow: 0 0 30px 14px rgba(214, 166, 74, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .btn--primary::before, .btn--primary::after { animation: none; }
}

.btn--secondary {
  background: rgba(11, 30, 51, 0.6);
  color: var(--text);
  border-color: var(--panel-line);
}
.btn--secondary:hover { color: var(--text); border-color: var(--c-steel); background: rgba(18,58,104,0.5); }

.btn--ghost {
  background: transparent;
  color: var(--c-electric);
  padding-inline: 0;
}
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 0.55rem 1rem; font-size: 0.9rem; }

.link-arrow {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.link-arrow::after { content: "→"; transition: transform .15s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------------
   6. HEADER / NAV  (text sits directly on dark — no solid panel)
   --------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 20, 33, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: 76px;
}
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  color: #ECE3CF;            /* warm cream serif wordmark, like the mockup */
  letter-spacing: 0.005em;
  line-height: 1;
}
.brand__sub {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--c-gold);
  margin-top: 4px;
}
.nav { display: flex; align-items: center; gap: var(--sp-6); }
.nav__links { display: flex; gap: var(--sp-6); }
.nav__links a {
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--text); border-bottom-color: var(--c-gold); }

.nav-toggle {
  display: none;
  background: transparent;
  border: var(--border);
  border-radius: var(--r-sm);
  padding: 8px 10px;
  color: var(--text);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------------------------------------------------------------------
   7. HERO
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-hero);
  border-bottom: var(--border);
}
/* faint skyline / blueprint behind text */
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background:
    repeating-linear-gradient(90deg, rgba(121,174,232,0.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(121,174,232,0.04) 0 1px, transparent 1px 64px);
  -webkit-mask-image: linear-gradient(to top, #000, transparent);
          mask-image: linear-gradient(to top, #000, transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; padding-block: var(--sp-8); }
/* the standout headline is full display-serif, two tones, like the mockup */
.hero__headline {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.06;
  font-size: var(--fs-hero);
  color: #ECE3CF;            /* warm cream for the first line */
  margin-bottom: var(--sp-5);
}
.hero__headline .serif { color: var(--c-gold); display: block; font-family: inherit; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }

/* portrait with radar glow behind */
.hero__portrait { position: relative; justify-self: center; max-width: 440px; width: 100%; }
.hero__portrait::before {
  content: "";
  position: absolute;
  inset: -8% -8% -4% -8%;
  background: var(--glow-blue);
  z-index: 0;
  border-radius: 50%;
  filter: blur(4px);
}
.hero__portrait img,
.hero__portrait .portrait-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
}

/* ---------------------------------------------------------------------
   8. CARDS / FEATURE BLOCKS  (open editorial, light borders, no heavy shadow)
   --------------------------------------------------------------------- */
.card {
  background: rgba(14, 34, 54, 0.5);
  border: var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  transition: border-color .18s ease, transform .18s ease;
}
.card:hover { border-color: var(--c-steel); transform: translateY(-2px); }
.card h3 { margin-bottom: var(--sp-2); }
.card__icon {
  width: 44px; height: 44px;
  color: var(--c-electric);
  margin-bottom: var(--sp-4);
  stroke-width: 1;             /* hairline, per brand guide */
  overflow: visible;           /* let the glow spill past the viewBox */
  animation: icon-ripple 4.5s ease-in-out infinite;
}

/* Slow ripple glow on the feature icons — a breathing blue halo.
   Two stacked drop-shadows: a tight core + a wider soft bloom. */
@keyframes icon-ripple {
  0%, 100% {
    filter: drop-shadow(0 0 1px rgba(46,150,255,0.45));
  }
  50% {
    filter: drop-shadow(0 0 4px rgba(46,150,255,0.9))
            drop-shadow(0 0 12px rgba(46,150,255,0.55));
  }
}

/* Thin the rest of the line icons too, without animating them */
.icon, .icon-list .icon, .btn .icon, .nav-toggle svg { stroke-width: 1.4; }

/* Respect users who prefer less motion — keep a visible static glow */
@media (prefers-reduced-motion: reduce) {
  .card__icon {
    animation: none;
    filter: drop-shadow(0 0 5px rgba(46,150,255,0.7));
  }
}
.card__price {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--c-gold);
  border: 1px solid rgba(214,166,74,0.4);
  border-radius: var(--r-pill);
  padding: 2px 12px;
  font-size: 0.9rem;
  margin-bottom: var(--sp-3);
}

/* feature block — icon + title + desc, separated by thin rules */
.feature-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  border-top: var(--border);
}
.feature-block:last-child { border-bottom: var(--border); }
.feature-block .card__icon { margin: 0; }

/* icon + label list (What I Help With) */
.icon-list { display: grid; gap: var(--sp-4); }
.icon-list li { display: flex; align-items: center; gap: var(--sp-4); }
.icon-list .icon { width: 26px; height: 26px; color: var(--c-gold); flex: none; }

/* ---------------------------------------------------------------------
   9. TIMELINE  (horizontal connected nodes)
   --------------------------------------------------------------------- */
.timeline {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  position: relative;
  padding-top: var(--sp-5);
}
.timeline::before {
  content: "";
  position: absolute;
  top: calc(var(--sp-5) + 7px);
  left: 5%; right: 5%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-steel), var(--c-gold));
}
.timeline__node { position: relative; text-align: center; flex: 1; }
.timeline__dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-deep-navy);
  border: 2px solid var(--c-gold);
  margin: 0 auto var(--sp-3);
  position: relative; z-index: 1;
}
.timeline__year { font-family: var(--font-head); font-weight: 500; color: var(--c-electric); font-size: 1.05rem; }
.timeline__label { font-size: var(--fs-small); color: var(--text-dim); }

/* ---------------------------------------------------------------------
   10. STACK BADGES
   --------------------------------------------------------------------- */
.badge-stack { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.badge {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.45rem 0.95rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--panel-line);
  background: rgba(18, 58, 104, 0.28);
  color: var(--text);
}
.badge--gold { border-color: rgba(214,166,74,0.45); color: var(--c-gold); }

/* ---------------------------------------------------------------------
   11. EMAIL GATE
   --------------------------------------------------------------------- */
.email-gate { width: 100%; max-width: 420px; }
.email-gate__row { display: flex; gap: var(--sp-3); flex-wrap: wrap; }
.email-gate input[type="email"],
.email-gate input[type="text"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: 0.8rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--panel-line);
  background: rgba(7, 20, 33, 0.65);
  color: var(--text);
  font-size: 0.98rem;
}
.email-gate input::placeholder { color: var(--text-muted); }
.email-gate input:focus { border-color: var(--c-electric); outline: none; }
.email-gate__micro {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  margin: var(--sp-3) 0 0;
}
.email-gate__status { font-size: var(--fs-small); margin-top: var(--sp-3); min-height: 1.2em; }
.email-gate__status.is-ok { color: var(--c-green); }
.email-gate__status.is-err { color: var(--c-red); }

/* conversion band (Betty Blueprint) */
.conversion-band {
  background: var(--grad-panel);
  border-block: var(--border);
}
.conversion-band .container {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.blueprint-thumb {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  border: 1px solid rgba(121,174,232,0.3);
  background: var(--grad-hero);
  display: grid; place-items: center;
  overflow: hidden;
}

/* ---------------------------------------------------------------------
   12. FUNNEL PROGRESS BAR
   --------------------------------------------------------------------- */
.funnel { display: flex; align-items: center; gap: var(--sp-2); flex-wrap: wrap; }
.funnel__step { display: flex; align-items: center; gap: var(--sp-2); color: var(--text-muted); font-size: var(--fs-small); }
.funnel__step .dot {
  width: 12px; height: 12px; border-radius: 50%;
  border: 2px solid var(--text-muted); background: transparent;
}
.funnel__step.is-active { color: var(--c-gold); }
.funnel__step.is-active .dot { border-color: var(--c-gold); background: var(--c-gold); }
.funnel__sep { color: var(--text-muted); }

/* ---------------------------------------------------------------------
   13. BETTYOS DASHBOARD (trust indicator — looks live, is static)
   --------------------------------------------------------------------- */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--sp-5);
  border: var(--border);
  border-radius: var(--r-lg);
  background: rgba(14,34,54,0.5);
  padding: var(--sp-6);
}
.stat { text-align: center; }
.stat__num { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem); color: var(--c-gold); }
.stat__label { font-size: var(--fs-small); color: var(--text-dim); }

.dash-mock {
  border: var(--border);
  border-radius: var(--r-lg);
  background: var(--grad-panel);
  overflow: hidden;
}
.dash-mock__bar {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  border-bottom: var(--border);
  font-size: var(--fs-small); color: var(--text-dim);
}
.dash-mock__bar .live { color: var(--c-green); display: inline-flex; align-items: center; gap: 6px; }
.dash-mock__bar .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c-green); box-shadow: 0 0 0 0 rgba(63,191,127,0.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(63,191,127,0); } 100% { box-shadow: 0 0 0 0 rgba(63,191,127,0); } }
.dash-mock__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 1px; background: var(--panel-line); }
.dash-mock__cell { background: var(--c-charcoal); padding: var(--sp-5); }
.dash-mock__cell .stat__num { font-size: 1.7rem; }

/* ---------------------------------------------------------------------
   14. PRICE COMPARISON TABLE (decision aid)
   --------------------------------------------------------------------- */
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-table th, .price-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: var(--border);
  text-align: center;
}
.price-table thead th { font-family: var(--font-head); color: var(--text); }
.price-table tbody th { text-align: left; color: var(--text-dim); font-weight: 500; }
.price-table .yes { color: var(--c-green); font-weight: 700; }
.price-table .no  { color: var(--text-muted); }
.price-table .col-feature { background: rgba(214,166,74,0.06); }

/* ---------------------------------------------------------------------
   15. HOW-IT-WORKS STEP FLOW
   --------------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.step { border: var(--border); border-radius: var(--r-md); padding: var(--sp-5); }
.step__n {
  font-family: var(--font-head); font-weight: 500; color: var(--c-gold);
  font-size: 1.6rem; line-height: 1;
}

/* ---------------------------------------------------------------------
   16. CATEGORY GRID (portal)
   --------------------------------------------------------------------- */
.cat-card { display: flex; flex-direction: column; gap: var(--sp-3); }
.cat-card__links { display: flex; flex-direction: column; gap: var(--sp-2); margin-top: var(--sp-3); }
.cat-card__links a { display: flex; align-items: center; gap: var(--sp-3); color: var(--text-dim); font-weight: 500; }
.cat-card__links a:hover { color: var(--text); }
.status-badge {
  font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 2px 8px; border-radius: var(--r-pill); font-weight: 700;
  background: rgba(63,191,127,0.14); color: var(--c-green); border: 1px solid rgba(63,191,127,0.3);
}
.status-badge--soon { background: rgba(227,162,58,0.12); color: var(--c-amber); border-color: rgba(227,162,58,0.3); }

/* ---------------------------------------------------------------------
   17. (reserved)
   --------------------------------------------------------------------- */
.retro-screen {
  font-family: 'Courier New', monospace;
  background: #04100a;
  border: 1px solid #1e5b35;
  border-radius: var(--r-md);
  color: #54e08a;
  padding: var(--sp-6);
  line-height: 1.5;
  box-shadow: inset 0 0 60px rgba(30,139,255,0.05);
  white-space: pre-wrap;
  overflow-x: auto;
}
.retro-title {
  font-family: 'Courier New', monospace;
  letter-spacing: 0.1em;
  color: var(--c-green);
}

/* ---------------------------------------------------------------------
   18. FOOTER (ecosystem map)
   --------------------------------------------------------------------- */
.site-footer {
  background: var(--c-deep-navy);
  border-top: var(--border);
  padding-block: var(--sp-7);
}
.site-footer .container { display: flex; flex-direction: column; gap: var(--sp-5); }
.footer-eco {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5);
}
.footer-eco__label { font-family: var(--font-head); font-weight: 500; color: var(--text); }
.footer-eco a { color: var(--text-dim); font-weight: 500; font-size: 0.95rem; }
.footer-eco a:hover { color: var(--c-gold); }
.footer-meta {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3);
  font-size: var(--fs-small); color: var(--text-muted);
  border-top: var(--border); padding-top: var(--sp-5);
}

/* ---------------------------------------------------------------------
   19. RESPONSIVE
   --------------------------------------------------------------------- */

/* Tablet — stack general two-col, but KEEP the hero side-by-side
   (the portrait-beside-headline is the mockup's signature) */
@media (max-width: 1024px) {
  .two-col { grid-template-columns: 1fr; }
  .hero .two-col { grid-template-columns: 1.05fr 0.95fr; gap: 2.25rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .conversion-band .container { grid-template-columns: 1fr; text-align: center; }
  .conversion-band .blueprint-thumb { max-width: 180px; margin-inline: auto; }
  .conversion-band .email-gate { margin-inline: auto; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --sp-9: 3.25rem; --sp-8: 2.5rem; }

  .hero .two-col { grid-template-columns: 1fr; gap: 1.75rem; }
  .hero__portrait { order: -1; max-width: 300px; }

  .nav__links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    display: flex;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-alt);
    border-bottom: var(--border);
    padding: var(--sp-4) var(--gutter);
  }
  .nav.is-open .nav__links a { padding: var(--sp-3) 0; border-bottom: var(--border); }
  .site-header .container { position: relative; }

  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; align-items: flex-start; gap: var(--sp-5); }
  .timeline::before { display: none; }
  .timeline__node { display: flex; align-items: center; gap: var(--sp-4); text-align: left; }
  .timeline__dot { margin: 0; }

  .price-table { font-size: 0.82rem; }
  .price-table th, .price-table td { padding: var(--sp-2) var(--sp-2); }

  .hero__ctas .btn { flex: 1 1 100%; justify-content: center; }
  .hide-desktop { display: block; }
}
