/* Milesy Media — design tokens + shared styles
   Quick agency landing kit. Single CSS file, no build step. */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0f;
  --bg-soft:   #11111a;
  --bg-card:   #161624;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.14);
  --text:      #f2f2f5;
  --text-dim:  rgba(242,242,245,0.65);
  --text-mute: rgba(242,242,245,0.42);
  --accent:    #ff6b35;        /* milesy orange */
  --accent-2:  #ffb800;        /* milesy amber  */
  --accent-3:  #7c5cff;        /* milesy violet */
  --good:      #34d399;
  --radius:    14px;
  --maxw:      1200px;
}

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}
body { min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.font-display {
  font-family: "Playfair Display", "Georgia", serif;
  letter-spacing: -0.01em;
}
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.muted  { color: var(--text-dim); }
.dim    { color: var(--text-mute); }
.eyebrow { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-2); }

/* ─── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 600;
  transition: transform .15s ease, opacity .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #1a0e00; box-shadow: 0 12px 30px rgba(255,107,53,0.28);
}
.btn-secondary {
  border: 1px solid var(--border-2); color: var(--text); background: rgba(255,255,255,0.02);
}
.btn-secondary:hover { border-color: var(--accent); }
.btn-ghost { color: var(--text-dim); }
.btn-ghost:hover { color: var(--text); }
.btn-block { width: 100%; }
.btn-lg { padding: 14px 24px; font-size: 15px; }

/* ─── Navbar ──────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(10,10,15,0.7);
  border-bottom: 1px solid var(--border);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand   { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.01em; }
.brand .mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-3) 100%);
  display: grid; place-items: center; color: #fff; font-weight: 900; font-size: 13px;
}
.brand-name  { font-size: 17px; }
.brand-name .a { color: var(--accent); }
.nav-links   { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--text-dim); }
.nav-links a:hover { color: var(--text); }
.nav-cta     { display: flex; align-items: center; gap: 12px; }
@media (max-width: 800px) { .nav-links { display: none; } }

/* ─── Hero ────────────────────────────────────── */
.hero { padding: 90px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -200px;
  background:
    radial-gradient(600px circle at 20% 20%, rgba(255,107,53,0.18), transparent 60%),
    radial-gradient(500px circle at 80% 30%, rgba(124,92,255,0.15), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center;
}
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 {
  font-size: clamp(40px, 6vw, 72px); line-height: 1.05; font-weight: 800;
  letter-spacing: -0.025em; margin-top: 18px; margin-bottom: 24px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 18px; color: var(--text-dim); max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-art {
  aspect-ratio: 4/5; border-radius: 22px; position: relative;
  background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
  border: 1px solid var(--border-2); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.hero-art::before, .hero-art::after { content: ""; position: absolute; border-radius: 50%; filter: blur(40px); }
.hero-art::before { inset: -10% 50% 50% -10%; background: var(--accent); opacity: .35; }
.hero-art::after  { inset: 50% -10% -10% 50%; background: var(--accent-3); opacity: .35; }
.hero-art .stat-card {
  position: absolute; backdrop-filter: blur(8px); background: rgba(22,22,36,0.7);
  border: 1px solid var(--border-2); border-radius: 12px; padding: 14px 18px;
}
.hero-art .stat-card .num { font-size: 28px; font-weight: 800; color: var(--accent-2); }
.hero-art .stat-card .lbl { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-mute); }
.hero-art .s1 { top: 10%; left: 8%; }
.hero-art .s2 { bottom: 16%; right: 10%; }

/* ─── Sections ────────────────────────────────── */
section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -0.02em; margin-top: 10px; }
.section-head p  { color: var(--text-dim); max-width: 600px; margin: 14px auto 0; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card .icon {
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 18px;
  background: rgba(255,107,53,0.12); color: var(--accent); display: grid; place-items: center;
  font-size: 22px;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 10px; }
.card p  { color: var(--text-dim); font-size: 14px; }

/* Stats strip */
.stats-strip {
  background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 50px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num { font-size: 42px; font-weight: 800; color: var(--accent-2); letter-spacing: -0.02em; }
.stat-lbl { font-size: 13px; color: var(--text-dim); margin-top: 6px; }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 880px) { .quote-grid { grid-template-columns: 1fr; } }
.quote {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.quote p { font-size: 17px; line-height: 1.6; margin-bottom: 18px; }
.quote .who { display: flex; align-items: center; gap: 12px; }
.quote .av {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 13px;
}
.quote .who small { display: block; color: var(--text-mute); font-size: 12px; }

/* CTA */
.cta {
  background: linear-gradient(135deg, rgba(255,107,53,0.12) 0%, rgba(124,92,255,0.10) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: 80px 24px;
}
.cta h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.cta p  { color: var(--text-dim); margin: 16px auto 28px; max-width: 540px; }

/* Footer */
footer {
  padding: 40px 0; border-top: 1px solid var(--border); margin-top: auto;
  font-size: 13px; color: var(--text-mute);
}
.foot-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.foot-row a { color: var(--text-dim); }
.foot-row a:hover { color: var(--text); }

/* ─── Auth pages ──────────────────────────────── */
.auth-shell { flex: 1; display: grid; place-items: center; padding: 60px 24px; position: relative; overflow: hidden; }
.auth-shell::before {
  content: ""; position: absolute; inset: -200px;
  background: radial-gradient(700px circle at 50% 30%, rgba(255,107,53,0.14), transparent 60%);
  pointer-events: none;
}
.auth-card {
  position: relative; width: 100%; max-width: 420px;
  background: var(--bg-card); border: 1px solid var(--border-2);
  border-radius: 18px; padding: 40px 36px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.auth-card h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 12px 0 8px; }
.auth-card .sub { color: var(--text-dim); font-size: 14px; margin-bottom: 28px; }
.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-mute); margin-bottom: 8px;
}
.field input {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border-2);
  color: var(--text); padding: 12px 14px; border-radius: 10px; font-size: 14px;
  transition: border-color .15s ease;
}
.field input:focus { outline: none; border-color: var(--accent); }
.divider {
  display: flex; align-items: center; gap: 10px; margin: 22px 0;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-mute);
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border-2); }

.admin-link {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(255,184,0,0.35);
  background: rgba(255,184,0,0.08); color: var(--accent-2);
  font-size: 14px; font-weight: 600;
}
.admin-link:hover { background: rgba(255,184,0,0.14); }

.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--text-mute); font-size: 12px; margin-bottom: 22px;
}
.back-link:hover { color: var(--text); }

.error-box {
  background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5; padding: 10px 12px; border-radius: 8px; font-size: 12px; margin-bottom: 12px;
}

/* ─── Admin dashboard ─────────────────────────── */
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
@media (max-width: 800px) { .admin-shell { grid-template-columns: 1fr; } .sidebar { display: none; } }
.sidebar {
  background: var(--bg-soft); border-right: 1px solid var(--border); padding: 22px 16px;
}
.sidebar .brand { padding: 0 8px 18px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.side-nav { display: flex; flex-direction: column; gap: 4px; }
.side-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 12px; border-radius: 8px; color: var(--text-dim); font-size: 14px;
}
.side-nav a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.side-nav a.active {
  color: var(--text); background: rgba(255,107,53,0.12);
  border: 1px solid rgba(255,107,53,0.25);
}
.side-nav .ico { width: 16px; opacity: .8; }

.workspace { padding: 30px 36px; }
.work-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 30px; }
.work-head h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.work-head p { color: var(--text-dim); font-size: 14px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 30px; }
@media (max-width: 800px) { .kpi-row { grid-template-columns: repeat(2, 1fr); } }
.kpi {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
}
.kpi .lbl { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute); }
.kpi .num { font-size: 28px; font-weight: 800; margin-top: 4px; letter-spacing: -0.02em; }
.kpi .delta-up   { color: var(--good);  font-size: 12px; margin-top: 4px; }
.kpi .delta-down { color: #f87171;      font-size: 12px; margin-top: 4px; }

.panel {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 20px;
}
.panel h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.panel-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
@media (max-width: 880px) { .panel-grid { grid-template-columns: 1fr; } }
.list-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.list-row:last-child { border-bottom: 0; }
.list-row .pri { font-size: 14px; }
.list-row .sec { font-size: 12px; color: var(--text-mute); }
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.06em;
}
.badge-good { background: rgba(52,211,153,0.12); color: var(--good); }
.badge-warn { background: rgba(255,184,0,0.12); color: var(--accent-2); }
.badge-bad  { background: rgba(248,113,113,0.12); color: #f87171; }

.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px; margin-bottom: 24px; border-bottom: 1px solid var(--border);
}
.topbar .crumbs { font-size: 13px; color: var(--text-dim); }
.topbar .who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.topbar .av {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700;
}

/* ─── Health Check ────────────────────────────── */
.hc-shell { flex: 1; padding: 60px 0 80px; position: relative; overflow: hidden; }
.hc-shell::before {
  content: ""; position: absolute; inset: -200px;
  background:
    radial-gradient(600px circle at 15% 10%, rgba(255,107,53,0.16), transparent 60%),
    radial-gradient(500px circle at 85% 25%, rgba(124,92,255,0.13), transparent 60%);
  pointer-events: none;
}
.hc-shell .container { position: relative; }
.hc-step { animation: hc-fade 280ms ease both; }
@keyframes hc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Intro */
.hc-intro { max-width: 720px; margin: 40px auto; text-align: center; }
.hc-intro h1 {
  font-size: clamp(36px, 5.5vw, 60px); line-height: 1.05; font-weight: 800;
  letter-spacing: -0.025em; margin: 16px 0 22px;
}
.hc-intro h1 .accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hc-intro .lead { color: var(--text-dim); font-size: 18px; margin-bottom: 32px; }
.hc-bullets {
  display: grid; gap: 10px; margin: 0 auto 36px; max-width: 540px;
  text-align: left; color: var(--text-dim); font-size: 14px;
}
.hc-bullets > div { display: flex; gap: 12px; align-items: flex-start; }
.hc-bullets .dot {
  flex: 0 0 8px; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-top: 8px;
  box-shadow: 0 0 0 4px rgba(255,107,53,0.18);
}
.hc-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* Progress */
.hc-progress { max-width: 760px; margin: 20px auto 28px; }
.hc-progress-meta {
  display: flex; justify-content: space-between; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mute);
  margin-bottom: 10px;
}
.hc-progress-bar {
  height: 6px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden;
}
.hc-progress-bar > span {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  transition: width .35s ease;
}

/* Question card */
.hc-question-card {
  max-width: 760px; margin: 0 auto; padding: 36px;
  background: var(--bg-card); border: 1px solid var(--border-2);
  border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
.hc-q-cat {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 10px;
}
.hc-q-prompt {
  font-size: clamp(22px, 3vw, 30px); font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 24px;
}
.hc-q-options { display: grid; gap: 10px; }
.hc-opt {
  display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--border-2); background: rgba(255,255,255,0.02);
  color: var(--text); font-size: 15px;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.hc-opt:hover { border-color: var(--accent); transform: translateY(-1px); }
.hc-opt.is-selected {
  border-color: var(--accent);
  background: linear-gradient(90deg, rgba(255,107,53,0.10), rgba(255,184,0,0.05));
}
.hc-opt-dot {
  flex: 0 0 18px; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--border-2); position: relative;
}
.hc-opt.is-selected .hc-opt-dot { border-color: var(--accent); }
.hc-opt.is-selected .hc-opt-dot::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--accent);
}
.hc-nav { max-width: 760px; margin: 22px auto 0; justify-content: space-between; }
.hc-nav .btn:disabled { opacity: 0.4; cursor: not-allowed; }
.hc-nav .btn:disabled:hover { transform: none; }

/* Building */
.hc-building { text-align: center; padding: 80px 0; }
.hc-building h2 { font-size: 28px; font-weight: 800; margin: 22px 0 8px; letter-spacing: -0.02em; }
.hc-spinner {
  width: 48px; height: 48px; border-radius: 50%; margin: 0 auto;
  border: 3px solid rgba(255,255,255,0.08);
  border-top-color: var(--accent);
  animation: hc-spin 0.9s linear infinite;
}
@keyframes hc-spin { to { transform: rotate(360deg); } }

/* Results */
.hc-results-head { text-align: center; max-width: 700px; margin: 0 auto 40px; }
.hc-results-head h1 {
  font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -0.025em;
  margin: 12px 0 14px;
}

.hc-score-band {
  display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border-2);
  border-radius: 18px; padding: 30px; margin-bottom: 40px;
}
@media (max-width: 700px) { .hc-score-band { grid-template-columns: 1fr; text-align: center; } }
.hc-score-ring {
  width: 200px; height: 200px; border-radius: 50%; padding: 8px;
  background:
    conic-gradient(var(--accent) 0%, var(--accent-2) 62%, rgba(255,255,255,0.08) 62%);
  display: grid; place-items: center; margin: 0 auto;
}
.hc-score-ring .ring-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--bg); display: grid; place-items: center;
}
.hc-score-ring .num { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; color: var(--accent-2); }
.hc-score-ring .lbl { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-mute); }
.hc-score-summary h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.01em; }
.hc-score-summary p { margin-bottom: 14px; }
.hc-score-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.hc-pillars-head { font-size: 22px; font-weight: 700; margin-bottom: 18px; letter-spacing: -0.01em; }
.hc-pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 50px; }
@media (max-width: 800px) { .hc-pillars { grid-template-columns: 1fr; } }
.hc-pillar {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px;
  transition: border-color .15s ease, transform .15s ease;
}
.hc-pillar:hover { transform: translateY(-2px); border-color: var(--border-2); }
.hc-pillar-head {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; margin-bottom: 14px;
}
.hc-pillar-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,107,53,0.10); color: var(--accent);
  display: grid; place-items: center; font-size: 20px;
}
.hc-pillar-cat { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.hc-pillar-score { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.hc-pillar-bar {
  height: 6px; border-radius: 999px; background: rgba(255,255,255,0.06); overflow: hidden;
  margin-bottom: 12px;
}
.hc-pillar-bar > span { display: block; height: 100%; transition: width .6s ease; }
.hc-pillar-good .hc-pillar-bar > span { background: linear-gradient(90deg, var(--good), #6ee7b7); }
.hc-pillar-warn .hc-pillar-bar > span { background: linear-gradient(90deg, var(--accent-2), var(--accent)); }
.hc-pillar-bad  .hc-pillar-bar > span { background: linear-gradient(90deg, #f87171, #fca5a5); }
.hc-pillar-good { border-color: rgba(52,211,153,0.25); }
.hc-pillar-warn { border-color: rgba(255,184,0,0.22); }
.hc-pillar-bad  { border-color: rgba(248,113,113,0.25); }
.hc-pillar-note { font-size: 13px; }

/* Top recommendations */
.hc-recos { margin-bottom: 50px; }
.hc-recos h2 { font-size: 22px; font-weight: 700; margin-bottom: 18px; letter-spacing: -0.01em; }
.hc-reco-list { list-style: none; display: grid; gap: 12px; }
.hc-reco-list li {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px;
}
.reco-rank {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px; font-weight: 800; line-height: 1;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hc-reco-list h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }

/* Final CTA */
.hc-cta {
  text-align: center; padding: 50px 30px;
  background: linear-gradient(135deg, rgba(255,107,53,0.14) 0%, rgba(124,92,255,0.10) 100%);
  border: 1px solid var(--border-2); border-radius: 18px;
}
.hc-cta h2 { font-size: clamp(26px, 4vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 8px 0; }
.hc-cta p { color: var(--text-dim); margin: 12px auto 24px; max-width: 560px; }
.hc-cta-actions { justify-content: center; }

/* ─── Lead Magnet App — area / tier / exercise additions ─── */

.hc-overview { max-width: 720px; margin: 30px auto; text-align: center; }
.hc-overview h2 {
  font-size: clamp(28px, 4vw, 44px); font-weight: 800;
  letter-spacing: -0.025em; margin: 12px 0 14px;
}
.hc-area-progress {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 28px 0 32px;
}
.hc-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 13px; color: var(--text-dim);
}
.hc-pill-icon { color: var(--accent); }
.hc-pill-active { border-color: var(--accent); color: var(--text); background: rgba(255,107,53,0.10); }
.hc-pill-done { border-color: rgba(52,211,153,0.35); color: var(--good); }
.hc-pill-done::before { content: "✓ "; }

.hc-tier-head { text-align: center; max-width: 640px; margin: 20px auto 30px; }
.hc-tier-head h2 {
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 700;
  letter-spacing: -0.02em; margin: 8px 0 10px;
}
.hc-tiers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 980px; margin: 0 auto;
}
@media (max-width: 800px) { .hc-tiers { grid-template-columns: 1fr; } }
.hc-tier-card {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left;
  background: var(--bg-card); border: 1px solid var(--border-2);
  border-radius: 16px; padding: 24px;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
  color: var(--text); cursor: pointer;
}
.hc-tier-card:hover {
  transform: translateY(-3px); border-color: var(--accent);
  background: linear-gradient(180deg, rgba(255,107,53,0.06), rgba(255,255,255,0));
}
.hc-tier-tag {
  font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 14px;
}
.hc-tier-beginner .hc-tier-tag     { color: var(--good); }
.hc-tier-intermediate .hc-tier-tag { color: var(--accent-2); }
.hc-tier-professional .hc-tier-tag { color: var(--accent); }
.hc-tier-card h3 {
  font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 6px;
}
.hc-tier-time { font-size: 12px; color: var(--text-mute); margin-bottom: 14px; }
.hc-tier-card p { color: var(--text-dim); font-size: 14px; margin-bottom: 18px; }
.hc-tier-cta { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--accent); }

.hc-step-eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 10px;
}
.hc-step-body {
  font-size: 16px; line-height: 1.6; color: var(--text-dim); margin-bottom: 22px;
}
.hc-step-body strong { color: var(--text); }

.hc-task-done {
  border: 1px dashed var(--border-2); padding: 14px 22px; border-radius: 12px;
  background: rgba(255,255,255,0.02); font-size: 15px; color: var(--text);
}
.hc-task-done.is-on {
  border-style: solid; border-color: var(--good); color: var(--good);
  background: rgba(52,211,153,0.06);
}

.hc-q-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.hc-chip {
  padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--border-2); color: var(--text);
  background: rgba(255,255,255,0.02); font-size: 14px;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.hc-chip:hover { border-color: var(--accent); transform: translateY(-1px); }
.hc-chip.is-on { border-color: var(--accent); background: rgba(255,107,53,0.14); color: var(--text); }

.hc-slider-wrap {
  display: flex; align-items: center; gap: 22px;
  background: var(--bg-soft); border: 1px solid var(--border-2);
  border-radius: 14px; padding: 18px 22px;
}
.hc-slider-wrap input[type="range"] { flex: 1; appearance: none; background: transparent; height: 28px; }
.hc-slider-wrap input[type="range"]::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08);
}
.hc-slider-wrap input[type="range"]::-webkit-slider-thumb {
  appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 3px solid var(--bg); margin-top: -8px; cursor: pointer;
  box-shadow: 0 4px 12px rgba(255,107,53,0.4);
}
.hc-slider-wrap input[type="range"]::-moz-range-track {
  height: 6px; border-radius: 999px; background: rgba(255,255,255,0.08);
}
.hc-slider-wrap input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 3px solid var(--bg); cursor: pointer;
}
.hc-slider-val {
  min-width: 64px; text-align: right; font-size: 24px; font-weight: 800;
  color: var(--accent-2); letter-spacing: -0.02em;
}

.hc-url-input, .hc-text-input {
  width: 100%; background: var(--bg-soft); border: 1px solid var(--border-2);
  color: var(--text); padding: 14px 16px; border-radius: 12px;
  font-size: 15px; transition: border-color .15s ease; font-family: inherit;
}
.hc-url-input:focus, .hc-text-input:focus { outline: none; border-color: var(--accent); }

.hc-mock-scan {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
  background: var(--bg-soft); border: 1px solid var(--border-2);
  border-radius: 14px; padding: 18px;
}
.hc-mock-scan > div {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px dashed var(--border);
  font-size: 14px; color: var(--text-dim);
}
.hc-mock-scan > div:nth-last-child(-n+2) { border-bottom: 0; }
.hc-mock-scan strong { color: var(--accent-2); font-size: 18px; font-weight: 800; }
@media (max-width: 600px) { .hc-mock-scan { grid-template-columns: 1fr; } }

.hc-leak-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 50px;
}
@media (max-width: 800px) { .hc-leak-cards { grid-template-columns: 1fr; } }
.leak-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.leak-num {
  font-size: 56px; font-weight: 800; letter-spacing: -0.03em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  line-height: 1;
}
.leak-num span { font-size: 24px; opacity: 0.7; margin-left: 4px; }
.leak-lbl { font-size: 14px; color: var(--text); margin: 8px 0 12px; font-weight: 600; }
.leak-card p { font-size: 13px; }

.hc-pillar-tier {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--text-mute); margin-left: 6px;
}

/* ─── Persistent floating action row ─── */
.hc-floating-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin: 20px auto 0;
  max-width: 760px;
}
.floating-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  color: var(--text-dim); font-size: 13px; font-weight: 600;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.floating-pill:hover { color: var(--text); border-color: var(--accent); background: rgba(255,107,53,0.06); }
.floating-pill span { font-size: 14px; }

/* Mid-step skip */
.hc-mid-actions { text-align: center; margin-top: 20px; }

/* Gate cards (service/product/hybrid) — reuse tier-card; just allow center-fit */
.hc-gate-cards { max-width: 1080px; }

/* ─── Quick wins ─── */
.hc-section-block { margin: 50px 0; }
.hc-section-block-head { margin-bottom: 18px; }
.hc-section-block-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.hc-section-block-head p { font-size: 14px; }

.hc-quickwins { display: grid; gap: 12px; }
.qw-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0; overflow: hidden;
  transition: border-color .15s ease;
}
.qw-card[open] { border-color: var(--accent); }
.qw-card summary {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; cursor: pointer; list-style: none;
  font-weight: 600;
}
.qw-card summary::-webkit-details-marker { display: none; }
.qw-card summary::after {
  content: "+"; margin-left: auto; font-size: 22px; color: var(--text-mute);
  transition: transform .2s ease;
}
.qw-card[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.qw-icon {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,107,53,0.12); color: var(--accent);
  display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
}
.qw-title { font-size: 16px; }
.qw-area-tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text-mute); margin-right: 8px;
}
.qw-body { padding: 0 22px 22px; border-top: 1px solid var(--border); padding-top: 18px; }
.qw-body p { color: var(--text-dim); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.qw-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.qw-action {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 10px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--border-2); color: var(--text);
  background: rgba(255,255,255,0.02);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.qw-action:hover { transform: translateY(-1px); border-color: var(--accent); }
.qw-guide { color: var(--text-dim); }
.qw-callus {
  border-color: rgba(255,184,0,0.4); color: var(--accent-2);
  background: rgba(255,184,0,0.08);
}
.qw-doitforme {
  border-color: var(--accent); color: #1a0e00;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}
.qw-doitforme:hover { background: linear-gradient(135deg, var(--accent-2), var(--accent)); }
.qw-quickwin-empty {
  background: var(--bg-card); border: 1px dashed var(--border-2);
  border-radius: var(--radius); padding: 28px; text-align: center;
}

/* ─── Section navigator ─── */
.hc-section-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 800px) { .hc-section-nav { grid-template-columns: 1fr; } }
.hc-section-nav-card {
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px;
  text-align: left; color: var(--text);
  transition: border-color .15s ease, transform .15s ease;
}
.hc-section-nav-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.hc-section-nav-card.is-done { border-color: rgba(52,211,153,0.3); }
.hc-section-nav-card.is-pending { border-style: dashed; opacity: 0.85; }
.hc-section-nav-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(255,107,53,0.10); color: var(--accent);
  display: grid; place-items: center; font-size: 20px;
}
.hc-section-nav-card.is-done .hc-section-nav-icon {
  background: rgba(52,211,153,0.10); color: var(--good);
}
.hc-section-nav-title { font-weight: 700; font-size: 15px; }
.hc-section-nav-sub { font-size: 12px; color: var(--text-mute); margin-top: 2px; }
.hc-section-nav-cta { font-size: 12px; color: var(--accent); font-weight: 700; }

/* ─── Assistant card ─── */
.hc-assistant-card {
  display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start;
  background: linear-gradient(135deg, rgba(124,92,255,0.10), rgba(255,107,53,0.10));
  border: 1px solid rgba(124,92,255,0.25);
  border-radius: 18px; padding: 28px;
  margin: 50px 0;
}
@media (max-width: 700px) { .hc-assistant-card { grid-template-columns: 1fr; text-align: center; } }
.hc-assistant-icon {
  width: 80px; height: 80px; border-radius: 18px;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  display: grid; place-items: center; font-size: 38px;
}
.hc-assistant-eyebrow {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent-3); margin-bottom: 8px;
}
.hc-assistant-card h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 10px; }
.hc-assistant-card p { color: var(--text-dim); font-size: 15px; line-height: 1.6; margin-bottom: 18px; }

/* Headline hint */
.hc-headline-hint {
  display: block; font-size: 14px; font-weight: 500; color: var(--text-mute);
  margin-top: 10px; letter-spacing: normal;
}

/* End-of-flow gift card */
.hc-gift-card {
  position: relative; overflow: hidden; margin: 40px 0 30px;
  background: linear-gradient(135deg, rgba(255,184,0,0.12), rgba(255,107,53,0.10));
  border: 1px solid rgba(255,184,0,0.35);
  border-radius: 22px;
}
.hc-gift-ribbon {
  display: inline-block; margin: 18px 0 0 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #1a0e00; padding: 8px 16px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.12em;
  box-shadow: 0 8px 20px rgba(255,107,53,0.4);
}
.hc-gift-body { padding: 18px 32px 32px; max-width: 720px; }
.hc-gift-card h2 {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800;
  letter-spacing: -0.025em; margin: 16px 0 14px;
}
.hc-gift-card > .hc-gift-body > p {
  color: var(--text-dim); font-size: 16px; line-height: 1.6; margin-bottom: 22px;
}
.hc-gift-bullets {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 10px;
}
.hc-gift-bullets li { font-size: 14px; color: var(--text-dim); }
.hc-gift-fineprint { font-size: 12px; margin-top: 14px; }
.hc-gift-card::before, .hc-gift-card::after {
  content: ""; position: absolute; pointer-events: none; border-radius: 50%; filter: blur(60px);
}
.hc-gift-card::before { inset: -20% 60% 60% -10%; background: var(--accent);   opacity: 0.18; }
.hc-gift-card::after  { inset: 50% -10% -20% 50%; background: var(--accent-3); opacity: 0.18; }
.hc-gift-card > * { position: relative; }

/* ─── Mobile responsive pass — lead magnet ──── */
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .hc-shell { padding: 30px 0 60px; }
  .nav-row { height: 60px; gap: 8px; }
  .nav-cta .btn { padding: 8px 12px; font-size: 12px; }

  .hc-intro h1 { font-size: clamp(28px, 7vw, 40px); }
  .hc-intro .lead { font-size: 15px; }
  .hc-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .hc-actions .btn { justify-content: center; }
  .hc-bullets { font-size: 13px; }

  .hc-question-card { padding: 22px; border-radius: 14px; }
  .hc-q-prompt { font-size: clamp(20px, 5.4vw, 26px); }
  .hc-opt { padding: 12px 14px; font-size: 14px; }
  .hc-nav { flex-direction: column-reverse; gap: 10px; }
  .hc-nav .btn { width: 100%; }

  .hc-floating-actions { gap: 6px; }
  .floating-pill { padding: 7px 10px; font-size: 11px; }
  .floating-pill span { font-size: 13px; }

  .hc-tier-head h2 { font-size: clamp(22px, 5.4vw, 28px); }
  .hc-tier-card { padding: 20px; }
  .hc-tier-card h3 { font-size: 19px; }
  .hc-area-progress { gap: 6px; }
  .hc-pill { padding: 6px 10px; font-size: 11px; }

  .hc-results-head h1 { font-size: clamp(26px, 7vw, 38px); }
  .hc-leak-cards { gap: 12px; }
  .leak-card { padding: 18px; }
  .leak-num { font-size: 42px; }

  .hc-score-band { padding: 22px; gap: 18px; grid-template-columns: 1fr; text-align: center; }
  .hc-score-ring { width: 160px; height: 160px; }
  .hc-score-ring .num { font-size: 44px; }

  .hc-pillar { padding: 16px; }
  .hc-pillar-head { grid-template-columns: 36px 1fr auto; gap: 10px; }
  .hc-pillar-icon { width: 36px; height: 36px; font-size: 16px; }
  .hc-pillar-score { font-size: 22px; }

  .hc-reco-list li { grid-template-columns: 44px 1fr; gap: 12px; padding: 18px; }
  .reco-rank { font-size: 28px; }

  .hc-cta { padding: 36px 18px; }

  /* Money mirror cards */
  .qw-card summary { padding: 14px 16px; gap: 10px; }
  .qw-icon { width: 32px; height: 32px; font-size: 16px; }
  .qw-title { font-size: 14px; }
  .qw-area-tag { display: none; }
  .qw-body { padding: 0 16px 16px; padding-top: 14px; }
  .qw-actions { flex-direction: column; }
  .qw-action { justify-content: center; }

  /* Section nav */
  .hc-section-nav-card { grid-template-columns: 36px 1fr; padding: 14px; }
  .hc-section-nav-icon { width: 36px; height: 36px; font-size: 16px; }
  .hc-section-nav-cta { display: none; }

  /* Assistant card */
  .hc-assistant-card { padding: 22px; gap: 16px; }
  .hc-assistant-icon { width: 56px; height: 56px; font-size: 28px; border-radius: 14px; }

  /* Gift card */
  .hc-gift-body { padding: 14px 22px 24px; }
  .hc-gift-card h2 { font-size: clamp(24px, 6vw, 32px); }
  .hc-gift-card > .hc-gift-body > p { font-size: 15px; }
  .hc-cta-actions { flex-direction: column; align-items: stretch; }
  .hc-cta-actions .btn { width: 100%; justify-content: center; }
}


/* ─── Transparency block (results page) ──────── */
.hc-transparency {
  display: grid; gap: 10px; margin: 30px 0 40px;
}
.hc-transparency-detail {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; overflow: hidden;
}
.hc-transparency-detail summary {
  list-style: none; cursor: pointer;
  padding: 14px 18px;
  font-weight: 700; font-size: 14px;
  display: flex; align-items: center; gap: 10px;
}
.hc-transparency-detail summary::-webkit-details-marker { display: none; }
.hc-transparency-detail summary::after {
  content: "▾"; margin-left: auto; opacity: 0.5; transition: transform .15s ease;
}
.hc-transparency-detail[open] summary::after { transform: rotate(180deg); }
.hc-transparency-body {
  padding: 0 18px 18px; border-top: 1px solid var(--border); padding-top: 14px;
  font-size: 14px; line-height: 1.7; color: var(--text-dim);
}
.hc-transparency-body p { margin-bottom: 12px; }
.hc-transparency-body strong { color: var(--text); }
.hc-transparency-body ol, .hc-transparency-body ul {
  margin: 0 0 14px 22px; padding: 0;
}
.hc-transparency-body li { margin-bottom: 6px; }

.hc-verify-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.hc-verify-list li {
  display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: start;
  padding: 12px 14px; background: rgba(255,255,255,0.02);
  border: 1px solid var(--border); border-radius: 10px;
}
.hc-verify-icon { font-size: 20px; line-height: 1; }
.hc-verify-list strong { font-weight: 700; }

/* Empty leak-card placeholder when topic not answered */
.leak-card .leak-num:has-text('—') { opacity: 0.6; }

/* ─── R010: HC → Incubator handoff card ─── */
.hc-incubator-handoff {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: linear-gradient(180deg, #1a1208, #0F0F0F);
  border: 1px solid #C9A76A;
  border-radius: 16px;
  padding: 28px 30px;
  margin: 28px 0;
  color: #E9E5DA;
}
.hc-incubator-handoff-icon { font-size: 38px; line-height: 1; flex: 0 0 auto; }
.hc-incubator-handoff-body { flex: 1; }
.hc-incubator-handoff-body .eyebrow { color: #C9A76A; }
.hc-incubator-handoff-body h2 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 4px 0 10px;
  font-size: 28px;
  color: #D4B888;
}
.hc-incubator-handoff-body p { color: #C9C0AE; line-height: 1.55; margin: 0 0 18px; }
@media (max-width: 720px) {
  .hc-incubator-handoff { flex-direction: column; padding: 22px; }
  .hc-incubator-handoff-body h2 { font-size: 22px; }
}

/* ─── R017 progress-save modal extensions ─── */
.hc-modal-fineprint {
  font-size: 12px;
  color: #8A8377;
  background: rgba(201, 167, 106, 0.06);
  border: 1px solid rgba(201, 167, 106, 0.3);
  border-radius: 6px;
  padding: 8px 10px;
  margin: 6px 0 12px;
}
.hc-modal-fineprint strong { color: #C9A76A; }

/* ─── Inline embed (search / site preview) ──── */
.hc-embed {
  margin: 18px 0 22px;
  border: 1px solid rgba(201, 167, 106, 0.25);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(20, 18, 14, 0.4);
}
.hc-embed-bar {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: rgba(201, 167, 106, 0.06);
  border-bottom: 1px solid rgba(201, 167, 106, 0.2);
}
.hc-embed-bar-static { font-size: 14px; color: #C9A76A; padding: 12px 14px; }
.hc-embed-input {
  flex: 1;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(201, 167, 106, 0.3);
  border-radius: 6px;
  padding: 8px 10px;
  color: #E9E5DA;
  font-size: 14px;
  font-family: inherit;
}
.hc-embed-input:focus { outline: none; border-color: #C9A76A; }
.hc-embed-frame {
  width: 100%;
  height: 480px;
  border: 0;
  background: #fff;
  display: block;
}
.hc-embed-stage { position: relative; }
.hc-embed-veil {
  position: absolute; inset: 0;
  background: rgba(20, 18, 14, 0.92);
  color: #E9E5DA;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px;
  transition: opacity .4s ease;
  pointer-events: none;
  font-family: "Playfair Display", Georgia, serif;
}
.hc-embed-veil span { font-size: 64px; color: #C9A76A; line-height: 1; }
.hc-embed-veil em { font-size: 14px; color: #C9C0AE; font-style: normal; }
.hc-embed-empty {
  padding: 36px 20px;
  text-align: center;
  color: #8A8377;
  font-size: 14px;
}
.hc-embed-note {
  padding: 8px 12px;
  font-size: 12px;
  color: #8A8377;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(201, 167, 106, 0.15);
}
.hc-embed-note a { color: #C9A76A; }
@media (max-width: 720px) {
  .hc-embed-frame { height: 360px; }
}

/* ─── Sticky embed (persists across SEO search arc) ──── */
.hc-sticky-embed {
  margin: 0 0 18px;
  position: sticky;
  top: 12px;
  z-index: 5;
}
.hc-sticky-embed[hidden] { display: none; }
.hc-sticky-embed .hc-embed { margin: 0; }
.hc-sticky-embed .hc-embed-frame { height: 360px; }
@media (max-width: 720px) {
  .hc-sticky-embed { position: relative; top: auto; }
  .hc-sticky-embed .hc-embed-frame { height: 280px; }
}

/* ─── Lever-calc (your numbers, your math) ──────────── */
.hc-lever {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}
.hc-lever-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(201, 167, 106, 0.25);
  border-radius: 8px;
  background: rgba(20, 18, 14, 0.4);
  color: #C9C0AE;
  font-size: 14px;
}
.hc-lever-row input {
  width: 140px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(201, 167, 106, 0.3);
  border-radius: 6px;
  padding: 8px 10px;
  color: #E9E5DA;
  font-size: 16px;
  text-align: right;
  font-family: inherit;
}
.hc-lever-row input:focus { outline: none; border-color: #C9A76A; }
.hc-lever-out {
  background: rgba(201, 167, 106, 0.08);
  border: 1px solid #C9A76A;
  border-radius: 8px;
  padding: 16px 18px;
  color: #E9E5DA;
  font-size: 18px;
  line-height: 1.5;
}
.hc-lever-out strong { color: #D4B888; font-size: 22px; }
.hc-lever-out em { display: block; font-style: normal; font-size: 13px; color: #8A8377; margin-top: 4px; }

/* ─── Mental note tick ────────────────────────────── */
.hc-mental-note {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  margin-top: 14px;
  background: rgba(20, 18, 14, 0.5);
  border: 1px solid rgba(201, 167, 106, 0.3);
  border-radius: 10px;
  color: #C9C0AE;
  font-size: 15px;
  line-height: 1.4;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}
.hc-mental-note:hover { border-color: #C9A76A; background: rgba(201, 167, 106, 0.06); }
.hc-mental-note.is-on { border-color: #C9A76A; background: rgba(201, 167, 106, 0.1); color: #E9E5DA; }
.hc-mental-tick {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(201, 167, 106, 0.4);
  color: #C9A76A;
  font-size: 16px;
  flex: 0 0 auto;
}
.hc-mental-note.is-on .hc-mental-tick { background: #C9A76A; color: #14120E; border-color: #C9A76A; }
.hc-mental-label { flex: 1; }

/* ─── 2026-05-09 — Intro step locks the viewport ─────────────────
   When the intro is the visible step, no scrolling — the whole landing
   sits perfectly centered in the iframe viewport. The other steps
   (gate, overview, exercise, results) keep normal scroll. */
html:has(.hc-step[data-step="intro"]:not([hidden])),
body:has(.hc-step[data-step="intro"]:not([hidden])) {
  overflow: hidden;
  height: 100vh;
}
body:has(.hc-step[data-step="intro"]:not([hidden])) .hc-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px 0;
  flex: 1 1 auto;
}
body:has(.hc-step[data-step="intro"]:not([hidden])) .hc-shell .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
body:has(.hc-step[data-step="intro"]:not([hidden])) .hc-intro {
  margin: 0 auto;
}

/* ─── 2026-05-09 — Global back button ─────────────────────────────── */
.hc-back-floater {
  position: fixed;
  /* Centered horizontally; vertically sits roughly where the middle
     gate card ("I sell physical or digital products") would land. */
  left: 50%;
  top: 72%;
  transform: translate(-50%, -50%);
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 11px;
  border-radius: 999px;
  border: 1px solid rgba(201, 167, 106, 0.45);
  background: rgba(10, 10, 10, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #D4B888;
  font: 500 13px/1 inherit;
  letter-spacing: 0.005em;
  cursor: pointer;
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.5);
  transition: color 0.18s ease, border-color 0.18s ease, background 0.2s ease, opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  visibility: hidden;
}
.hc-back-floater:hover {
  color: #FFF;
  border-color: rgba(201, 167, 106, 0.85);
  background: rgba(20, 20, 20, 0.88);
  transform: translate(-50%, calc(-50% - 2px));
}
.hc-back-floater svg { flex: 0 0 auto; }
.hc-back-floater span { line-height: 1; }

/* Show only AFTER the user has chosen a business type — i.e. on
   overview / tiers / exercise. Hidden on intro, gate AND results. */
body:has(.hc-step[data-step="overview"]:not([hidden])) .hc-back-floater,
body:has(.hc-step[data-step="tiers"]:not([hidden])) .hc-back-floater,
body:has(.hc-step[data-step="exercise"]:not([hidden])) .hc-back-floater {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 540px) {
  .hc-back-floater { padding: 7px 12px 7px 9px; font-size: 12px; }
}

/* ─── 2026-05-09 — Section nav redesign (card + skip) ───────────── */
.hc-section-nav-card {
  position: relative;
  padding: 0 !important;
  display: block !important;
  background: transparent !important;
  border: 1px solid var(--border-2);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}
.hc-section-nav-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.hc-section-nav-card.is-done { border-color: rgba(201, 167, 106, 0.45); }
.hc-section-nav-card.is-pending { border-style: dashed; opacity: 0.92; }

.hc-section-nav-main {
  display: grid !important;
  grid-template-columns: 48px 1fr auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 18px 60px 18px 18px;
  background: rgba(20, 20, 20, 0.4);
  border: none;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.15s ease;
}
.hc-section-nav-main:hover { background: rgba(30, 30, 30, 0.55); }
.hc-section-nav-card.is-done .hc-section-nav-main { background: rgba(201, 167, 106, 0.04); }

.hc-section-nav-skip {
  position: absolute;
  top: 12px; right: 12px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-mute);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}
.hc-section-nav-skip:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}
@media (max-width: 540px) {
  .hc-section-nav-main { padding: 14px 56px 14px 14px; grid-template-columns: 36px 1fr; }
  .hc-section-nav-cta { display: none; }
}
