/* ============================================================
   recover.masterengine.ai — production stylesheet.
   The Sep-28 redesign shipped as three files (tokens.css,
   components.css, styles.css) in the staging repo. Production's
   public-asset build (scripts/build-public.mjs) publishes a
   single allowlisted styles.css, so the three files are merged
   here in their original cascade order: tokens, components,
   page styles — followed by production carryovers.
   ============================================================ */

/* ============================================================
   recover.masterengine.ai — Brand tokens
   Dark "money" theme. Extends the program foundation; overrides
   the --brand-* and --ink-* scales for a dark, conversion-first
   surface. High-contrast money-green CTA.
   ============================================================ */

:root {
  /* ---- Brand: money green, one dominant hue ---- */
  --brand-600: #00d084;   /* primary actions */
  --brand-700: #00b873;   /* hover states */
  --brand-50:  #06251c;   /* tinted dark surfaces */
  --brand-100: #0a3a2b;
  --accent-500: #22d3ee;  /* sparing highlight (identity thread) */

  /* ---- Neutrals: dark theme, light ink ---- */
  --ink-950: #f4f7ff;
  --ink-900: #e9eefc;
  --ink-700: #c2cbe3;
  --ink-500: #9aa7c7;
  --ink-400: #6b7699;
  --paper:   #060a12;
  --paper-2: #0b1226;
  --line:    rgba(148, 163, 208, 0.16);

  /* ---- Type: conversion-product archetype ---- */
  --font-display: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --text-hero:    clamp(2.6rem, 1.5rem + 5vw, 4.5rem);
  --text-h1:      clamp(2rem, 1.3rem + 3.2vw, 3.25rem);
  --text-h2:      clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem);
  --text-h3:      1.25rem;
  --text-lead:    clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  --text-body:    1rem;
  --text-small:   0.875rem;
  --text-caption: 0.75rem;

  --leading-tight: 1.04;
  --leading-snug:  1.25;
  --leading-body:  1.65;

  --tracking-display: -0.025em;

  /* ---- Spacing (8pt) ---- */
  --s1: 0.25rem; --s2: 0.5rem; --s3: 0.75rem; --s4: 1rem;
  --s6: 1.5rem;  --s8: 2rem;   --s12: 3rem;  --s16: 4rem;
  --s24: 6rem;   --s32: 8rem;

  --section-pad: clamp(3.5rem, 2rem + 6vw, 7rem);
  --container: 72rem;
  --container-narrow: 44rem;

  /* ---- Shape & depth (dark) ---- */
  --radius-sm: 0.5rem;
  --radius-md: 0.875rem;
  --radius-lg: 1.25rem;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.35);
  --shadow-md: 0 12px 32px -12px rgb(0 0 0 / 0.55);
  --shadow-lg: 0 28px 72px -24px rgb(0 0 0 / 0.65);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;

  /* ---- RR extras ---- */
  --gold: #f5b544;
  --btn-ink: #04281b;      /* text on brand-green buttons */
}

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

/* ============================================================
   Sleevenine Program — Shared Design Foundation: COMPONENTS
   Requires tokens.css. Mobile-first. Adapt per brand; do not
   cargo-cult — elevate, don't clone.
   ============================================================ */

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); }
:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Layout ---- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2.5rem, var(--container-narrow)); margin-inline: auto; }
.section { padding-block: var(--section-pad); }
.section-alt { background: var(--paper-2); }

/* ---- Type ---- */
.display, h1, h2 {
  font-family: var(--font-display);
  letter-spacing: var(--tracking-display);
  line-height: var(--leading-tight);
  text-wrap: balance;
}
.hero-title { font-size: var(--text-hero); margin: 0 0 var(--s6); }
.h1 { font-size: var(--text-h1); margin: 0 0 var(--s4); }
.h2 { font-size: var(--text-h2); margin: 0 0 var(--s4); }
.h3 { font-size: var(--text-h3); font-weight: 650; margin: 0 0 var(--s2); line-height: var(--leading-snug); }
.lead { font-size: var(--text-lead); color: var(--ink-500); max-width: 42rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--text-caption); font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: var(--s4);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 2px; background: var(--brand-600); border-radius: 2px; }
.muted { color: var(--ink-500); }
.small { font-size: var(--text-small); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-weight: 650; font-size: var(--text-body); line-height: 1;
  padding: 0.9rem 1.6rem; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), background var(--dur);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--brand-700); box-shadow: var(--shadow-lg); color: #fff; }
.btn-secondary {
  background: var(--paper); color: var(--ink-900);
  border-color: var(--line); box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--ink-400); color: var(--ink-900); }
.btn-lg { padding: 1.1rem 2.1rem; font-size: 1.0625rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s8); }

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s4); padding-block: var(--s3);
}
.brandmark { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 750; font-size: 1.0625rem; color: var(--ink-950); text-decoration: none; }
.brandmark-mark {
  width: 2rem; height: 2rem; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--brand-600), var(--accent-500));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-size: 1.1rem;
}
.nav-links { display: none; gap: var(--s6); list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-700); text-decoration: none; font-weight: 550; font-size: var(--text-small); }
.nav-links a:hover { color: var(--brand-700); }
@media (min-width: 56rem) { .nav-links { display: flex; } .nav-cta .btn { padding: 0.65rem 1.25rem; font-size: var(--text-small); } }

/* ---- Hero ---- */
.hero { padding-block: clamp(3rem, 2rem + 7vw, 6.5rem) var(--section-pad); position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42rem 26rem at 85% -5%, color-mix(in srgb, var(--brand-600) 10%, transparent), transparent 65%),
    radial-gradient(30rem 20rem at 8% 10%, color-mix(in srgb, var(--accent-500) 8%, transparent), transparent 60%);
}
.hero > .container { position: relative; }
.hero-copy { max-width: 46rem; }
.hero-proof { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); margin-top: var(--s8); padding: 0; list-style: none; }
.hero-proof li { display: flex; align-items: center; gap: var(--s2); font-size: var(--text-small); color: var(--ink-500); font-weight: 550; }
.hero-proof li::before { content: "✓"; color: var(--brand-600); font-weight: 800; }

/* ---- Feature grid ---- */
.grid-3 { display: grid; gap: var(--s6); grid-template-columns: 1fr; margin-top: var(--s8); }
@media (min-width: 56rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: var(--s8);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-md);
  background: var(--brand-50); color: var(--brand-700);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: var(--s4);
}
.card p { color: var(--ink-500); margin: var(--s2) 0 0; font-size: var(--text-small); }

/* ---- Split / how-it-works ---- */
.steps { display: grid; gap: var(--s6); margin-top: var(--s8); counter-reset: step; }
@media (min-width: 56rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding-top: var(--s8); border-top: 2px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  position: absolute; top: calc(-1 * var(--s2)); left: 0;
  font-family: var(--font-display); font-size: 2.5rem; color: var(--brand-100);
  background: var(--paper); padding-right: var(--s3); line-height: 1;
}
.step p { color: var(--ink-500); font-size: var(--text-small); margin: var(--s2) 0 0; }

/* ---- CTA band ---- */
.cta-band {
  background: linear-gradient(135deg, var(--ink-950), var(--ink-900));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 2rem + 4vw, 4.5rem);
  text-align: center; position: relative; overflow: clip;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(36rem 18rem at 50% -20%, color-mix(in srgb, var(--brand-600) 35%, transparent), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; margin: 0 0 var(--s4); font-size: var(--text-h2); }
.cta-band p { color: rgb(255 255 255 / 0.72); max-width: 36rem; margin: 0 auto var(--s6); }
.cta-band .btn-row { justify-content: center; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--line); padding-block: var(--s12) var(--s8); margin-top: var(--section-pad); }
.footer-grid { display: grid; gap: var(--s8); grid-template-columns: 1fr; }
@media (min-width: 56rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer h4 { font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-400); margin: 0 0 var(--s3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.footer a { color: var(--ink-500); text-decoration: none; font-size: var(--text-small); }
.footer a:hover { color: var(--brand-700); }
.footer-base {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); justify-content: space-between;
  margin-top: var(--s12); padding-top: var(--s6); border-top: 1px solid var(--line);
  font-size: var(--text-caption); color: var(--ink-400);
}

/* ---- Utility ---- */
.kicker-row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); flex-wrap: wrap; }
.divider { border: 0; border-top: 1px solid var(--line); margin: var(--s12) 0; }
.stat-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); margin-top: var(--s8); }
@media (min-width: 56rem) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat-num { font-family: var(--font-display); font-size: var(--text-h2); color: var(--ink-950); }
.stat-label { font-size: var(--text-small); color: var(--ink-500); }

/* (tokens.css and components.css are inlined above — no @import needed.) */

/* ============================================================
   recover.masterengine.ai — bespoke layer
   Dark money theme over the program foundation. Adapts
   components.css pieces for dark surfaces + adds site sections
   (dashboard visual, calculator, timeline, pricing, FAQ, form).
   ============================================================ */

body {
  background:
    radial-gradient(1100px 480px at 82% -8%, rgb(0 208 132 / 0.07), transparent 60%),
    var(--paper);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--brand-600); color: var(--btn-ink);
  padding: 0.6rem 1rem; font-weight: 700; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

.fineprint { color: var(--ink-400); font-size: var(--text-small); }

/* ---- Eyebrow / type adaptions ---- */
.eyebrow { color: var(--brand-600); }
.eyebrow::before { background: var(--brand-600); }

/* ---- Buttons: dark-ink text on money-green ---- */
.btn-primary { background: var(--brand-600); color: var(--btn-ink); }
.btn-primary:hover { background: var(--brand-700); color: var(--btn-ink); }
.btn-secondary, .btn-ghost {
  background: rgb(255 255 255 / 0.04); color: var(--ink-900);
  border-color: var(--line);
}
.btn-secondary:hover, .btn-ghost:hover { border-color: var(--brand-600); color: var(--ink-950); }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); font-weight: 650; padding: 0.9rem 1.6rem; border-radius: var(--radius-pill); border: 1px solid var(--line); text-decoration: none; transition: transform var(--dur) var(--ease-out), border-color var(--dur); }
.btn-ghost:hover { transform: translateY(-1px); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: var(--text-small); }
.btn-lg { width: 100%; padding: 1.05rem; font-size: 1.05rem; }
.btn:disabled { opacity: 0.55; cursor: wait; }

/* ---- Nav ---- */
#nav-toggle { display: inline-flex; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0.55rem; cursor: pointer; }
#nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink-900); margin: 4px 0; border-radius: 2px; }
.nav-cta { display: flex; align-items: center; gap: var(--s3); }
.brandmark-mark { font-weight: 800; }
.brandmark em { font-style: normal; color: var(--brand-600); }

@media (max-width: 55.99rem) {
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper-2); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: var(--s4) 1.25rem; gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { display: block; padding: 0.75rem 0; border-top: 1px solid var(--line); font-size: var(--text-body); }
  .nav-cta .btn { display: none; }
}
@media (min-width: 56rem) {
  #nav-toggle { display: none; }
  .nav-links { display: flex; align-items: center; }
}

/* ---- Hero ---- */
.hero { padding-bottom: var(--s16); }
.hero-grid { display: grid; gap: var(--s12); align-items: center; }
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero-title { font-size: var(--text-hero); font-weight: 800; margin: 0 0 var(--s6); }
.hero-title .accent { color: var(--brand-600); }
.hero-proof { margin-top: var(--s8); }
.hero-proof li::before { color: var(--brand-600); }

/* Dashboard visual */
.hero-visual { position: relative; }
.dash {
  background: linear-gradient(180deg, #0d1730, var(--paper-2));
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: var(--s6); box-shadow: var(--shadow-lg);
  position: relative; overflow: clip;
}
.dash::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(28rem 12rem at 50% -20%, rgb(0 208 132 / 0.18), transparent 65%);
}
.dash > * { position: relative; }
.dash-head { display: flex; align-items: center; gap: 0.45rem; margin-bottom: var(--s4); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #2a3558; }
.dash-title { margin-left: 0.5rem; font-size: var(--text-small); color: var(--ink-500); font-weight: 600; }
.live-tag { margin-left: auto; font-size: var(--text-caption); font-weight: 800; letter-spacing: 0.1em; color: var(--brand-600); text-transform: uppercase; }
.dash-label { display: block; font-size: var(--text-small); color: var(--ink-500); }
.dash-value { font-family: var(--font-display); font-size: clamp(2.4rem, 3rem + 2vw, 3.4rem); font-weight: 800; color: var(--gold); letter-spacing: -0.02em; }
.dash-bars { display: flex; align-items: flex-end; gap: 0.7rem; height: 150px; margin: var(--s6) 0 var(--s8); }
.bar {
  flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; position: relative;
  background: linear-gradient(180deg, rgb(0 208 132 / 0.9), rgb(0 208 132 / 0.15));
}
.bar:last-child { background: linear-gradient(180deg, rgb(245 181 68 / 0.95), rgb(245 181 68 / 0.2)); }
.bar span { position: absolute; bottom: -1.5rem; left: 50%; transform: translateX(-50%); font-size: 0.62rem; color: var(--ink-400); white-space: nowrap; }
.dash-foot { display: flex; align-items: center; gap: 0.5rem; font-size: var(--text-small); color: var(--ink-500); border-top: 1px solid var(--line); padding-top: var(--s4); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-600); animation: pulse 1.8s infinite; flex: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
.dash-caption { text-align: center; margin-top: var(--s4); }

.stack-strip { margin-top: var(--s16); text-align: center; }
.stack-strip p { color: var(--ink-400); font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.14em; margin: 0 0 var(--s4); }
.stack-strip ul { list-style: none; display: flex; gap: var(--s8); justify-content: center; flex-wrap: wrap; padding: 0; margin: 0; }
.stack-strip li { font-family: var(--font-display); font-weight: 700; color: var(--ink-500); font-size: 1.05rem; }

/* ---- Stats band ---- */
.stats-band { border-block: 1px solid var(--line); background: var(--paper-2); padding-block: var(--s12); }
.stat-num { color: var(--brand-600); }

/* ---- Section rhythm ---- */
.section-head { max-width: 46rem; margin-bottom: var(--s4); }
.section-head h2 { font-size: var(--text-h2); margin: 0 0 var(--s4); font-weight: 800; }

/* ---- Leak cards ---- */
.leak-grid { display: grid; gap: var(--s4); grid-template-columns: 1fr; margin-top: var(--s8); }
@media (min-width: 40rem) { .leak-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 70rem) { .leak-grid { grid-template-columns: repeat(5, 1fr); } }
.leak-grid .card { background: var(--paper-2); border-color: var(--line); padding: var(--s6); }
.leak-grid .card:hover { border-color: rgb(0 208 132 / 0.55); }
.leak-grid .card h3 { font-size: 1.05rem; margin: 0 0 var(--s2); font-weight: 700; }
.card-icon svg { width: 30px; height: 30px; display: block; }

/* ---- Mission steps (4-col override of foundation .steps) ---- */
@media (min-width: 60rem) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--s6) var(--s4) var(--s4); margin-top: var(--s2); }
.step::before { background: var(--paper-2); color: var(--brand-100); }
.step h3 { margin: 0 0 var(--s2); font-size: 1.2rem; font-weight: 700; }

.gov-strip { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); margin-top: var(--s8); }
@media (min-width: 60rem) { .gov-strip { grid-template-columns: repeat(4, 1fr); } }
.gov-strip > div { border-left: 2px solid var(--brand-600); padding-left: var(--s4); }
.gov-strip strong { display: block; font-size: var(--text-small); color: var(--ink-950); }
.gov-strip span { color: var(--ink-500); font-size: var(--text-small); }

/* ---- Calculator ---- */
.calc {
  display: grid; grid-template-columns: 1fr; gap: var(--s8); margin-top: var(--s8);
  background: var(--paper-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 3vw, 2.5rem);
}
@media (min-width: 60rem) { .calc { grid-template-columns: 1fr 1fr; } }
.field { display: block; margin-bottom: var(--s6); font-weight: 600; font-size: var(--text-small); color: var(--ink-700); }
.field-label { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); margin-bottom: var(--s2); }
.field-label output { color: var(--brand-600); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; }
input[type="range"] { width: 100%; accent-color: var(--brand-600); height: 28px; cursor: pointer; }
.calc-result {
  background: linear-gradient(180deg, rgb(0 208 132 / 0.1), transparent 55%);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: var(--s8); text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: var(--s2);
}
.calc-label { color: var(--ink-500); font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.12em; margin: 0; font-weight: 700; }
.calc-total { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 4vw, 3.6rem); font-weight: 800; color: var(--gold); margin: 0; letter-spacing: -0.02em; }
.calc-per { color: var(--ink-500); margin: 0 0 var(--s4); }
.calc-breakdown { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin-bottom: var(--s6); }
.calc-breakdown > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: var(--s3); }
.calc-breakdown span { display: block; font-size: var(--text-caption); color: var(--ink-500); }
.calc-breakdown strong { font-family: var(--font-display); color: var(--ink-950); font-size: 1.1rem; }

/* ---- Evidence timeline ---- */
.timeline { margin-top: var(--s8); border-left: 2px solid var(--line); padding-left: var(--s6); display: grid; gap: var(--s6); max-width: 52rem; }
.tl-item { position: relative; }
.tl-item::before { content: ""; position: absolute; left: calc(-1 * var(--s6) - 7px); top: 0.35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--brand-600); box-shadow: 0 0 0 4px rgb(0 208 132 / 0.18); }
.tl-time { font-size: var(--text-caption); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand-600); }
.tl-item strong { display: block; margin: var(--s1) 0; color: var(--ink-950); }
.tl-item p { color: var(--ink-500); margin: 0; font-size: var(--text-small); }

/* ---- Pricing ---- */
.plans { display: grid; grid-template-columns: 1fr; gap: var(--s4); margin-top: var(--s8); align-items: stretch; }
@media (min-width: 60rem) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s8) var(--s6); display: flex; flex-direction: column; }
.plan-featured { border-color: var(--brand-600); box-shadow: 0 20px 60px -20px rgb(0 208 132 / 0.35); position: relative; }
.plan h3 { font-size: 1.3rem; margin: 0 0 var(--s1); font-weight: 800; }
.price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; margin: var(--s2) 0 0; color: var(--ink-950); }
.price span { font-size: 1rem; color: var(--ink-500); font-weight: 500; }
.plan-tag { color: var(--brand-600); font-size: var(--text-caption); font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; margin: var(--s1) 0 var(--s4); }
.plan ul { list-style: none; padding: 0; margin: 0 0 var(--s6); display: grid; gap: var(--s2); color: var(--ink-500); font-size: var(--text-small); flex: 1; }
.plan li::before { content: "✓ "; color: var(--brand-600); font-weight: 800; }
.plan .btn { width: 100%; }

/* ---- FAQ ---- */
.faq { margin-top: var(--s8); display: grid; gap: var(--s3); }
.faq details { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-md); padding: var(--s4) var(--s6); }
.faq summary { cursor: pointer; font-weight: 700; font-family: var(--font-display); font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); color: var(--ink-950); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand-600); font-size: 1.4rem; font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-500); margin: var(--s3) 0 0; }

/* ---- Scan / lead form ---- */
.scan-section { background: radial-gradient(800px 420px at 50% -10%, rgb(0 208 132 / 0.1), transparent 65%); }
.lead-form { margin-top: var(--s8); background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 1rem + 3vw, 2.5rem); }
.form-grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); }
@media (min-width: 48rem) { .form-grid { grid-template-columns: 1fr 1fr; } }
.lead-form input[type="text"], .lead-form input[type="email"], .lead-form select, .lead-form textarea {
  width: 100%; margin-top: var(--s2); padding: 0.8rem 0.9rem; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--paper); color: var(--ink-950);
  font: inherit; font-weight: 400;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 3px solid var(--brand-600); outline-offset: 1px; border-color: var(--brand-600); }
.lead-form select option { background: var(--paper-2); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form-status { min-height: 1.6em; font-weight: 600; margin-top: var(--s4); }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }

/* ---- Footer ---- */
.footer .brandmark em { font-style: normal; color: var(--brand-600); }

/* ---- Reveal on scroll (app.js) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .pulse { animation: none; }
}

/* ============================================================
   Production carryovers — behavior added on main AFTER the
   redesign branched (PRs #5/#6/#7). Kept verbatim in effect;
   only token references were remapped to the redesign tokens.
   ============================================================ */

/* Anchor offset under the sticky nav */
section[id] { scroll-margin-top: 88px; }

/* Hero note under the primary actions (PR #6) */
.cta-note {
  color: var(--ink-400); font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em; margin: -0.4rem 0 1.2rem;
}

/* Stable numerals — no layout jitter on animated counts */
.dash-value, .stat-num, .calc-total, .calc-breakdown strong { font-variant-numeric: tabular-nums; }

/* Submit spinner (driven by aria-busy in app.js) */
@keyframes spin { to { transform: rotate(360deg); } }
.btn[aria-busy="true"] { pointer-events: none; }
.btn[aria-busy="true"]::before {
  content: ""; display: inline-block; width: 1em; height: 1em;
  margin-right: 0.6em; vertical-align: -0.15em; border-radius: 50%;
  border: 2px solid rgba(6, 42, 51, 0.3); border-top-color: var(--btn-ink);
  animation: spin 0.7s linear infinite;
}

/* Sticky mobile quick-booking bar — thumb zone (PR #6) */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; gap: 0.6rem; align-items: center;
  padding: 0.7rem 4% calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(6, 10, 18, 0.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  visibility: hidden; transform: translateY(110%);
  transition: transform 0.3s var(--ease-out), visibility 0s 0.3s;
}
.mobile-cta.show { visibility: visible; transform: none; transition: transform 0.3s var(--ease-out); }
.mobile-cta .btn { flex: 1; }
.mobile-cta-close {
  flex: none; width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  color: var(--ink-500); cursor: pointer;
}
.mobile-cta-close:hover { color: var(--ink-950); border-color: var(--brand-600); }
.mobile-cta-close svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  body.cta-visible { padding-bottom: 92px; }
}
