/* ==========================================================================
   BEDROCK funnel — design system
   Replicates Relatio's near-black / rounded-dark-card / mobile-first UX.
   Our brand: teal accent (matches Bedrock creatives), "BEDROCK" wordmark.
   No copied competitor assets, code, or text.
   ========================================================================== */

:root {
  /* LIGHT brand system (2026-07-30): clean, bright, alive, trustworthy. */
  --bg:        #CDE6E0;
  --bg-bar:    #FFFFFF;
  --card:      #FFFFFF;
  --card-2:    #D3E8E3;
  --line:      rgba(15, 46, 43, 0.09);
  --line-2:    rgba(15, 46, 43, 0.17);
  --text:      #0F2E2B;
  --muted:     #5C6B69;
  --muted-2:   #8A9997;

  /* primary = teal */
  --accent:    #14B8A6;
  --accent-d:  #0E9E8E;
  --accent-dim:rgba(20, 184, 166, 0.12);
  --grad:      linear-gradient(92deg, #16C4B0 0%, #0E9E8E 100%);
  --ink-on-accent: #04231F;

  /* warm secondary = amber */
  --amber:     #F6A723;
  --amber-d:   #E08E00;
  --amber-dim: rgba(246, 167, 35, 0.15);

  --radius:    16px;
  --radius-sm: 11px;
  --wrap:      600px;

  --shadow:    0 14px 40px rgba(15, 46, 43, 0.12);
  --shadow-sm: 0 6px 18px rgba(15, 46, 43, 0.07);
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100%;
}

body { padding-bottom: env(safe-area-inset-bottom); }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: var(--accent); }

/* ---------- layout shell ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px 20px 176px;
  min-height: 100vh;
}
.wrap.center { display: flex; flex-direction: column; }

/* ---------- top bar ---------- */
.topbar {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  padding: 8px 0 2px;
}
.topbar.entry { grid-template-columns: 1fr; justify-items: center; padding-top: 18px; }
.topbar .back {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--text);
  transition: background 0.15s ease;
}
.topbar .back:hover { background: var(--card); }
.topbar .back svg { width: 22px; height: 22px; }
.topbar .counter {
  text-align: right; font-weight: 700; font-size: 16px; color: var(--muted);
  letter-spacing: 0.5px; white-space: nowrap;
}
.topbar .counter b { color: var(--accent); }

/* logo mark */
.logo {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--card-2);
  display: grid; place-items: center;
  border: 1px solid var(--line);
}
.logo svg { width: 26px; height: 26px; }
.wordmark {
  font-weight: 800; letter-spacing: 3px; font-size: 20px;
  display: inline-flex; align-items: center; gap: 8px;
}
.wordmark .logo { width: 34px; height: 34px; border-radius: 9px; }
.wordmark .logo svg { width: 20px; height: 20px; }

/* progress bar */
.progress {
  height: 4px; width: 100%; background: var(--card-2);
  border-radius: 4px; margin: 14px 0 6px; overflow: hidden;
}
.progress > i {
  display: block; height: 100%; background: var(--grad);
  border-radius: 4px; transition: width 0.35s cubic-bezier(.4,0,.2,1);
}

/* ---------- headings ---------- */
h1.title {
  font-size: 28px; line-height: 1.2; font-weight: 800;
  text-align: center; margin: 22px 0 0; letter-spacing: -0.3px;
}
h2.qtitle {
  font-size: 24px; line-height: 1.25; font-weight: 800;
  text-align: center; margin: 26px 0 22px; letter-spacing: -0.2px;
}
.qstatement {
  position: relative; text-align: center; font-weight: 800; font-style: italic;
  font-size: 25px; line-height: 1.3; letter-spacing: -0.3px; color: var(--text);
  background: var(--card); border: 1px solid var(--line-2);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 22px 22px; margin: 26px 0 6px; box-shadow: var(--shadow-sm);
}
.eyebrow {
  text-align: center; text-transform: uppercase; letter-spacing: 2.5px;
  font-size: 13px; font-weight: 700; color: var(--muted); margin: 16px 0 4px;
}
.eyebrow.accent { color: var(--accent); }
.sub { text-align: center; color: var(--muted); font-size: 15px; line-height: 1.5; margin: 12px auto 0; max-width: 460px; }

/* ---------- option cards ---------- */
.options { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.opt {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 16px;
  text-align: left; width: 100%;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.08s ease;
}
.opt:hover { border-color: var(--line-2); background: var(--card-2); }
.opt:active { transform: scale(0.99); }
.opt .iconwell {
  width: 46px; height: 46px; border-radius: 11px; flex: 0 0 auto;
  background: var(--accent-dim); color: var(--accent);
  display: grid; place-items: center;
}
.opt .iconwell svg { width: 24px; height: 24px; }
.opt .lbl { flex: 1; font-size: 16px; font-weight: 600; line-height: 1.3; }
.opt .radio {
  width: 22px; height: 22px; border-radius: 50%; flex: 0 0 auto;
  border: 2px solid var(--line-2); position: relative;
}
.opt.checkbox .radio { border-radius: 6px; }
.opt.selected { border-color: var(--accent); background: var(--accent-dim); }
.opt.selected .radio { border-color: var(--accent); background: var(--accent); }
.opt.selected .radio::after {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 9px; height: 9px; border-radius: 50%; background: var(--bg);
}
.opt.checkbox.selected .radio::after {
  width: 6px; height: 10px; border-radius: 0; background: none;
  border: solid var(--bg); border-width: 0 2px 2px 0;
  transform: rotate(45deg); top: -1px;
}

/* scale (1-5) */
.scale { display: flex; gap: 10px; justify-content: center; margin: 8px 0 4px; }
.scale button {
  flex: 1; max-width: 64px; aspect-ratio: 1; border-radius: 12px;
  background: var(--card); border: 1px solid var(--line);
  font-size: 20px; font-weight: 700; color: var(--text);
  transition: all 0.15s ease;
}
.scale button:hover { border-color: var(--line-2); }
.scale button.selected { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.scale-ends { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; margin-top: 8px; padding: 0 2px; }

/* ---------- age grid (entry) ---------- */
.agegrid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px;
}
.agecard {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-align: center;
  transition: border-color 0.15s ease, transform 0.08s ease;
}
.agecard:hover { border-color: var(--accent); }
.agecard:active { transform: scale(0.99); }
.agecard .art {
  aspect-ratio: 1 / 1.05; display: grid; place-items: end center;
  background: linear-gradient(165deg, #ffffff, var(--card-2));
  overflow: hidden;
}
.agecard .art svg { width: 78%; height: 92%; display: block; }
.agecard .cap {
  padding: 13px 8px; font-weight: 700; font-size: 17px;
  background: var(--card-2); border-top: 1px solid var(--line);
}

/* ---------- legal footer ---------- */
.legal {
  text-align: center; color: var(--muted-2); font-size: 12.5px; line-height: 1.6;
  margin-top: 26px;
}
.legal a { color: var(--muted); text-decoration: underline; }

/* ---------- primary CTA ---------- */
.cta-dock {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 14px 20px calc(16px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(205,230,224,0) 0%, var(--bg) 42%);
  z-index: 20;
}
.cta-dock .inner { max-width: var(--wrap); margin: 0 auto; }
.btn {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 18px 20px; border-radius: var(--radius);
  background: var(--grad); color: var(--ink-on-accent); font-weight: 800; font-size: 17px;
  letter-spacing: 0.2px; box-shadow: 0 8px 24px rgba(20, 184, 166, 0.32);
  transition: transform 0.08s ease, filter 0.15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px) scale(0.995); }
.btn svg { width: 20px; height: 20px; }
.btn.ghost { background: none; color: var(--muted); box-shadow: none; font-weight: 600; font-size: 15px; padding: 10px; }

/* inline (non-docked) CTA */
.btn.inline { position: static; margin-top: 22px; }

/* ---------- interlude / content blocks ---------- */
.center-block { text-align: center; margin-top: 30px; }
.mascot { width: 132px; height: 132px; margin: 8px auto 4px; display: block; }
.mascot.sm { width: 92px; height: 92px; }
.lead-accent { color: var(--accent); font-weight: 800; font-size: 26px; letter-spacing: -0.2px; }
.big-num { color: var(--accent); font-weight: 800; font-size: 34px; letter-spacing: -0.5px; }
.block-h { font-size: 23px; font-weight: 800; line-height: 1.25; margin-top: 10px; letter-spacing: -0.2px; }
.block-p { color: var(--muted); font-size: 16px; line-height: 1.6; margin: 14px auto 0; max-width: 480px; }
.disclaimer { color: var(--muted-2); font-size: 12.5px; line-height: 1.5; margin: 16px auto 0; max-width: 440px; font-style: italic; }

/* science stat card */
.statcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; margin-top: 26px; text-align: center;
}
.statcard .cite { color: var(--muted-2); font-size: 12px; margin-top: 14px; line-height: 1.5; }

/* projected graph */
.graphcard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; margin-top: 22px;
}
.graphcard svg { width: 100%; height: auto; display: block; }
.weeklist { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.weekrow { display: flex; gap: 14px; align-items: flex-start; }
.weekrow .wk {
  flex: 0 0 auto; font-weight: 800; font-size: 13px; color: var(--accent);
  background: var(--accent-dim); border-radius: 8px; padding: 6px 9px; min-width: 82px; text-align: center;
}
.weekrow .wt { font-size: 15px; line-height: 1.45; color: var(--text); padding-top: 4px; }

/* comparison table */
.compare {
  margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.compare .row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; }
.compare .row + .row { border-top: 1px solid var(--line); }
.compare .cell { padding: 13px 10px; font-size: 13px; line-height: 1.35; display: flex; align-items: center; }
.compare .head .cell { font-weight: 800; font-size: 12.5px; background: var(--card-2); }
.compare .head .cell.us { color: var(--accent); }
.compare .cell.rowlabel { font-weight: 700; color: var(--muted); background: var(--bg-bar); }
.compare .cell.us { color: var(--text); font-weight: 600; }
.compare .cell.them { color: var(--muted); }
.compare .cell svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* profile summary */
.profilecard {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 20px; margin-top: 24px;
}
.profilerow { display: flex; justify-content: space-between; gap: 16px; padding: 19px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.profilerow:last-child { border-bottom: none; }
.profilerow .k { color: var(--muted); }
.profilerow .v { font-weight: 700; text-align: right; }
.profilerow .v.accent { color: var(--accent); }

/* social proof / testimonials */
.proofgrid { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.review {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px;
}
.review .stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; }
.review .body { font-size: 14.5px; line-height: 1.5; margin: 8px 0; color: var(--text); }
.review .who { font-size: 12.5px; color: var(--muted); }
.placeholder {
  border-style: dashed; border-color: var(--accent); background: rgba(20,184,166,0.06);
  color: var(--accent); font-size: 12.5px; text-align: center; font-weight: 700;
  padding: 14px; border-radius: var(--radius); border-width: 1px;
}

/* ---------- email capture ---------- */
.field { margin-top: 22px; }
.field label { display: block; font-size: 13px; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.field input {
  width: 100%; padding: 17px 16px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line-2); color: var(--text);
  font-size: 16px; outline: none; transition: border-color 0.15s ease;
}
.field input:focus { border-color: var(--accent); }
.microcopy { color: var(--muted-2); font-size: 12.5px; line-height: 1.5; margin-top: 12px; text-align: center; }

/* ---------- loader ---------- */
.loaderwrap { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 62vh; text-align: center; }
.ring { width: 120px; height: 120px; margin-bottom: 26px; }
.ring .pct { font-size: 30px; font-weight: 800; fill: var(--text); }
.loadline { color: var(--muted); font-size: 16px; min-height: 22px; }

/* micro-commit popup */
.overlay {
  position: fixed; inset: 0; background: rgba(6,6,9,0.7); backdrop-filter: blur(2px);
  display: grid; place-items: center; z-index: 60; padding: 24px;
}
.modal {
  background: var(--card); border: 1px solid var(--line-2); border-radius: 18px;
  padding: 28px 24px; max-width: 380px; width: 100%; text-align: center; box-shadow: var(--shadow);
}
.modal h3 { font-size: 21px; font-weight: 800; line-height: 1.3; }
.modal .row2 { display: flex; gap: 12px; margin-top: 22px; }
.modal .row2 .btn { padding: 15px; }
.modal .btn.no { background: var(--card-2); color: var(--muted); box-shadow: none; }

/* ---------- paywall ---------- */
.paybar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; background: var(--bg-bar); border-bottom: 1px solid var(--line);
}
.paybar .mini-cta {
  background: var(--grad); color: var(--ink-on-accent); font-weight: 800; font-size: 13px;
  padding: 11px 18px; border-radius: 10px; letter-spacing: 0.5px;
}
.countdown {
  position: sticky; top: 47px; z-index: 39;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(92deg,#F0413F,#D42A2A); color: #fff; font-weight: 800; font-size: 14px;
  padding: 12px; border-radius: 10px; margin: 12px 0 4px;
  box-shadow: 0 6px 18px rgba(210,42,42,0.30);
}
.countdown svg { width: 16px; height: 16px; }
.countdown b { font-variant-numeric: tabular-nums; color: #fff; }
.scarcity {
  display: flex; align-items: center; gap: 10px; margin-top: 20px;
  background: rgba(229,72,77,0.10); border: 1px solid rgba(229,72,77,0.35);
  border-radius: 12px; padding: 13px 15px; color: #C7292E; font-weight: 700; font-size: 13.5px; line-height: 1.4;
}
.scarcity svg { width: 18px; height: 18px; flex: 0 0 auto; }
.scarcity b { color: #C7292E; }

.section-h { font-size: 22px; font-weight: 800; text-align: center; margin: 40px 0 4px; letter-spacing: -0.2px; }
.section-sub { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 8px; }

/* now vs goal */
.nowgoal { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.ngcol { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-align: center; }
.ngcol.goal { border-color: var(--accent); background: var(--accent-dim); }
.ngcol .tag { text-transform: uppercase; letter-spacing: 1.5px; font-size: 11px; font-weight: 800; color: var(--muted); }
.ngcol.goal .tag { color: var(--accent); }
.ngcol .mascot { width: 84px; height: 84px; margin: 12px auto; }
.ngcol .txt { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.ngcol.goal .txt { color: var(--text); }

/* science stack list */
.reflist { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.refrow { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.refrow .src { font-weight: 800; font-size: 14px; color: var(--accent); }
.refrow .find { font-size: 14px; color: var(--text); line-height: 1.5; margin-top: 6px; }

/* included stack */
.included { margin-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.incrow { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 15px; }
.incrow .ck { color: var(--accent); flex: 0 0 auto; margin-top: 1px; }
.incrow .ck svg { width: 20px; height: 20px; }
.incrow b { font-weight: 700; }
.incrow .d { color: var(--muted); font-size: 13.5px; display: block; margin-top: 3px; line-height: 1.4; }
.bonus-tag { color: var(--accent); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: 1px; margin: 22px 0 4px; text-align: center; }

/* pricing plans */
.plans { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.plan {
  position: relative; display: flex; align-items: center; gap: 14px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius);
  padding: 18px 16px; text-align: left; width: 100%; transition: border-color 0.15s ease, background 0.15s ease;
}
.plan:hover { border-color: var(--line-2); }
.plan.selected { border-color: var(--accent); background: var(--accent-dim); }
.plan .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex: 0 0 auto; position: relative; }
.plan.selected .radio { border-color: var(--accent); background: var(--accent); }
.plan.selected .radio::after { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); }
.plan .pname { font-weight: 800; font-size: 16px; }
.plan .pmeta { color: var(--muted); font-size: 13px; margin-top: 3px; }
.plan .pmeta s { color: var(--muted-2); }
.plan .pright { margin-left: auto; text-align: right; }
.plan .pperday { font-weight: 800; font-size: 18px; }
.plan .pperday span { font-size: 12px; color: var(--muted); font-weight: 600; }
.plan .badge {
  position: absolute; top: -10px; right: 14px; background: var(--grad); color: var(--ink-on-accent);
  font-size: 10.5px; font-weight: 800; padding: 4px 10px; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
}

/* rebill disclosure (conspicuous, NOT fine print) */
.disclosure {
  margin-top: 16px; background: var(--card-2); border: 1px solid var(--line-2);
  border-radius: var(--radius); padding: 16px; font-size: 14px; line-height: 1.55; color: var(--text);
}
.disclosure b { color: var(--accent); }
.secondary-line { text-align: center; color: var(--muted); font-size: 13px; margin-top: 12px; }
.paysafe {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; color: var(--muted); font-size: 13px; font-weight: 600;
}
.paysafe svg { width: 16px; height: 16px; color: var(--accent-d); flex: 0 0 auto; }

/* guarantee */
.guarantee {
  margin-top: 30px; border: 1.5px solid var(--accent); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; background: rgba(20,184,166,0.05);
}
.guarantee .gh { font-weight: 800; font-size: 19px; }
.guarantee .gb { color: var(--muted); font-size: 14.5px; line-height: 1.6; margin-top: 12px; }

/* divider dots */
.dots { text-align: center; color: var(--accent); letter-spacing: 6px; font-size: 22px; margin: 30px 0; }

/* faq */
.faq { margin-top: 8px; display: flex; flex-direction: column; gap: 10px; }
.faqitem { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faqitem .q { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 17px 18px; font-weight: 700; font-size: 15px; text-align: left; width: 100%; }
.faqitem .q svg { width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s ease; flex: 0 0 auto; }
.faqitem.open .q svg { transform: rotate(180deg); }
.faqitem .a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faqitem.open .a { max-height: 320px; }
.faqitem .a p { padding: 0 18px 18px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }

/* footer disclaimer */
.footer-disc { color: var(--muted-2); font-size: 12.5px; line-height: 1.6; text-align: center; margin: 34px auto 10px; max-width: 500px; }
.footer-disc .brand { color: var(--muted); font-weight: 700; }

/* result page */
.kicker { text-align: center; text-transform: uppercase; letter-spacing: 2.5px; font-size: 12px; font-weight: 800; color: var(--accent); margin-top: 10px; }
.result-h { font-size: 26px; font-weight: 800; text-align: center; line-height: 1.3; margin-top: 12px; letter-spacing: -0.3px; }
.phase { display: flex; gap: 14px; align-items: flex-start; margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.phase .n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; background: var(--accent-dim); color: var(--accent); font-weight: 800; display: grid; place-items: center; }
.phase b { display: block; margin-bottom: 3px; }
.phase span { color: var(--muted); font-size: 14px; line-height: 1.45; }

/* utility */
.fade { animation: fade 0.28s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.hide { display: none !important; }

/* ==========================================================================
   REBUILD 2026-07-25 additions (Relatio-mirrored quiz + interludes)
   ========================================================================== */

/* 4-node segmented progress bar */
.segbar { display: flex; gap: 6px; margin: 14px 0 6px; }
.segbar .seg { flex: 1; height: 5px; border-radius: 4px; background: var(--card-2); overflow: hidden; }
.segbar .seg i { display: block; height: 100%; background: var(--grad); border-radius: 4px; transition: width 0.4s cubic-bezier(.4,0,.2,1); }
.topbar .tb-r { width: 40px; }

/* tighter helper spacing */
.sub.tight { margin-top: 6px; margin-bottom: 18px; }
h2.qtitle.tightb { margin-bottom: 16px; }

/* real Dr. Bedrock image mascot */
.drb { width: 150px; height: 150px; object-fit: contain; margin: 4px auto 4px; display: block;
  filter: drop-shadow(0 14px 30px rgba(15,46,43,0.16)); }
.drb.sm { width: 104px; height: 104px; }

/* entry age cards with real photos */
.agecard .art { aspect-ratio: 1 / 1.05; overflow: hidden; background: linear-gradient(165deg, #ffffff, var(--card-2)); }
.agecard .art img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }

/* emoji / body / droop icon wells */
.opt .iconwell.emoji { background: rgba(255,255,255,0.07); font-size: 26px; line-height: 1; }
.opt.selected .iconwell.emoji { background: rgba(4,35,31,0.16); }
.opt .iconwell.body svg { width: 26px; height: 30px; }
.options.asgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.options.asgrid .opt { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 14px; }
.options.asgrid .opt .radio { position: absolute; top: 14px; right: 14px; }
.options.asgrid .opt { position: relative; }
.options.asgrid .opt .lbl { font-size: 15px; }

/* big green check (reinforce) */
.bigcheck { width: 84px; height: 84px; border-radius: 50%; background: var(--accent);
  display: grid; place-items: center; margin: 6px auto 0; box-shadow: 0 10px 30px rgba(45,212,191,0.35); }
.bigcheck svg { width: 44px; height: 44px; color: var(--ink-on-accent); }

/* citation badge (replaces fake "Harvard Research") */
.citebadge { display: inline-flex; align-items: center; gap: 8px; margin: 4px auto 0;
  background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(45,212,191,0.3);
  border-radius: 999px; padding: 8px 14px; font-size: 12.5px; font-weight: 700; text-align: left; }
.citebadge svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* mechanism DAY 1/7/14/28 progression */
.dayprog { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.dayrow { display: grid; grid-template-columns: 58px 1fr; grid-template-rows: auto auto; gap: 4px 12px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.dayrow .daytag { grid-row: 1 / 3; align-self: center; font-weight: 800; font-size: 14px; color: var(--accent);
  background: var(--accent-dim); border-radius: 8px; padding: 10px 6px; text-align: center; }
.dayrow .daymeter { position: relative; height: 26px; }
.dayrow .daymeter svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.85; }
.dayrow .dayfill { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--card-2); border-radius: 3px; }
.dayrow .dayfill i { display: block; height: 100%; background: var(--grad); border-radius: 3px; }
.dayrow .daytxt { font-size: 12.5px; color: var(--muted); line-height: 1.4; }

/* proof-stat donut + figures + review */
.statwrap { text-align: center; margin-top: 18px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 20px; }
.donut { width: 130px; height: 130px; }
.donut .donutpct { fill: var(--text); font-size: 26px; font-weight: 800; }
.statlead { font-size: 16px; color: var(--muted); margin-top: 8px; line-height: 1.4; }
.statlead b { color: var(--accent); font-size: 20px; }
.figrow { display: flex; justify-content: center; gap: 5px; margin-top: 16px; flex-wrap: wrap; }
.figrow .fig { color: var(--muted-2); }
.figrow .fig svg { width: 20px; height: 20px; }
.figrow .fig.on { color: var(--accent); }
.statwrap .cite { color: var(--muted-2); font-size: 12px; margin-top: 14px; line-height: 1.5; }
.review .stars { color: var(--accent); letter-spacing: 1px; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.review .stars svg { width: 15px; height: 15px; }
.review .stars .vf { color: var(--muted); font-size: 11px; letter-spacing: normal; font-weight: 700; }
.review .rtitle { font-weight: 800; font-size: 14.5px; margin: 8px 0 4px; }
.review { margin-top: 16px; }
.miniload { margin-top: 20px; text-align: center; }
.miniload .mlbar { height: 6px; background: var(--card-2); border-radius: 4px; overflow: hidden; }
.miniload .mlbar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 4px; transition: width 0.2s linear; }
.miniload span { display: block; margin-top: 10px; color: var(--muted); font-size: 13.5px; }

/* projected graph extras */
.datechip { text-align: center; background: var(--accent-dim); color: var(--text); border: 1px solid rgba(45,212,191,0.3);
  border-radius: 10px; padding: 10px 14px; font-size: 15px; margin-top: 14px; }
.datechip b { color: var(--accent); }
.glabel { text-align: right; margin-top: 6px; }
.glabel .sustain { font-size: 11.5px; color: var(--accent); font-weight: 700; }
.accent { color: var(--accent); }

/* pills-vs-Bedrock comparison table */
.cmp { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cmp .crow { display: grid; grid-template-columns: 1.6fr 1fr 1fr; align-items: center; }
.cmp .crow + .crow { border-top: 1px solid var(--line); }
.cmp .clabel { padding: 15px 12px; font-size: 13.5px; font-weight: 600; color: var(--text); line-height: 1.3; }
.cmp .ccell { padding: 15px 6px; display: grid; place-items: center; }
.cmp .head { background: var(--card-2); }
.cmp .head .ccell { font-weight: 800; font-size: 13px; }
.cmp .head .ccell.us { color: var(--accent); }
.cmp .head .ccell.them { color: var(--muted); }
.cmp .head .clabel { color: var(--muted); }
.cmp .ccell.us { background: rgba(20,184,166,0.06); }
.cmp .tick { color: var(--accent); } .cmp .tick svg { width: 20px; height: 20px; }
.cmp .ex { color: var(--muted-2); } .cmp .ex svg { width: 18px; height: 18px; }

/* honest authority + reviewer cards */
.authorcard { display: flex; align-items: center; gap: 14px; margin-top: 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.authorcard .ava { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; background: var(--grad);
  color: var(--ink-on-accent); font-weight: 800; font-size: 16px; display: grid; place-items: center; }
.authorcard b { display: block; font-size: 15px; }
.authorcard span { color: var(--muted); font-size: 13px; line-height: 1.4; }

/* body/mind/confidence triad + quote */
.triad { display: flex; flex-direction: column; align-items: center; margin-top: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.triad > svg { width: 60px; height: 60px; color: var(--accent); }
.triad .trilabels { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; justify-content: center; }
.triad .tri { background: var(--accent-dim); color: var(--accent); border: 1px solid rgba(45,212,191,0.3);
  border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 14px; }
.quotecard { margin-top: 16px; background: var(--card); border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; font-size: 14.5px; line-height: 1.55;
  color: var(--text); font-style: italic; }

/* profile summary gauge + alert + metric rows */
.gaugecard { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 20px 18px; }
.gaugebar { position: relative; height: 44px; margin-top: 26px; }
.gaugebar .gtrack { position: absolute; left: 0; right: 0; top: 26px; height: 8px; border-radius: 5px;
  background: linear-gradient(90deg, #e5484d 0%, #f0883e 45%, #14B8A6 100%); }
.gaugebar .gz { position: absolute; top: 0; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.gaugebar .gz.low { left: 4%; color: #e5484d; } .gaugebar .gz.mid { left: 46%; color: #f0883e; } .gaugebar .gz.high { right: 4%; color: #14B8A6; }
.gaugebar .gmark { position: absolute; top: 34px; transform: translateX(-50%); white-space: nowrap;
  background: var(--text); color: #FFFFFF; font-weight: 800; font-size: 12.5px; padding: 5px 10px; border-radius: 8px; }
.gaugebar .gmark::before { content: ""; position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: var(--text); }
.gaugebar .gmark b { color: #5EEAD4; }
.gscale { display: flex; justify-content: space-between; color: var(--muted-2); font-size: 11px; margin-top: 10px; }
.alertbox { display: flex; gap: 12px; margin-top: 18px; background: rgba(229,72,77,0.08);
  border: 1px solid rgba(229,72,77,0.35); border-radius: var(--radius); padding: 16px; }
.alertbox .warn { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: #e5484d; color: #fff;
  font-weight: 800; display: grid; place-items: center; }
.alertbox b { display: block; color: #e5877a; font-size: 14.5px; margin-bottom: 4px; }
.alertbox span { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.mrow { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.profilecard .mrow:last-child { border-bottom: none; }
.mrow .mk { color: var(--muted); } .mrow .mv { font-weight: 700; text-align: right; } .mrow .mv.accent { color: var(--accent); }

/* good hands bullets */
.ghlist { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.ghrow { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; font-size: 15px; line-height: 1.45; }
.ghrow .ghc { color: var(--accent); flex: 0 0 auto; transform: rotate(-90deg); }
.ghrow .ghc svg { width: 18px; height: 18px; }

/* worldwide map */
.mapwrap { margin-top: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; }
.mapdots { position: relative; height: 190px; border-radius: 10px;
  background-image: radial-gradient(circle, rgba(255,255,255,0.09) 1.4px, transparent 1.6px);
  background-size: 14px 14px; }
.mapdots .pin { position: absolute; width: 12px; height: 12px; transform: translate(-50%,-50%);
  background: var(--accent); border-radius: 50% 50% 50% 0; rotate: -45deg;
  box-shadow: 0 0 0 4px rgba(45,212,191,0.18); }

/* date picker */
.datefield { display: flex; align-items: center; gap: 10px; margin-top: 20px; background: var(--card);
  border: 1px solid var(--line-2); border-radius: var(--radius); padding: 4px 14px; }
.datefield .dfi { color: var(--accent); display: grid; place-items: center; }
.datefield .dfi svg { width: 20px; height: 20px; }
.datefield input { flex: 1; background: none; border: none; color: var(--text); font-size: 16px; padding: 15px 0; outline: none;
  color-scheme: dark; }
.privacy { display: flex; align-items: center; gap: 8px; justify-content: center; color: var(--muted-2);
  font-size: 12.5px; margin-top: 14px; line-height: 1.4; }
.privacy svg { width: 15px; height: 15px; flex: 0 0 auto; }
.skiplink { display: block; margin: 12px auto 0; color: var(--muted); font-size: 14px; text-decoration: underline; }

/* email field with icon */
.field { position: relative; margin-top: 22px; display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 4px 14px; }
.field .efi { color: var(--accent); font-weight: 800; font-size: 20px; }
.field input { flex: 1; background: none; border: none; color: var(--text); font-size: 16px; padding: 16px 0; outline: none; }

/* star ratings (generic, applies to review + carousel cards) */
.stars { display: flex; align-items: center; gap: 6px; color: var(--accent); letter-spacing: 0; }
.stars svg { width: 15px; height: 15px; flex: 0 0 auto; }
.stars .vf { color: var(--muted); font-size: 11px; font-weight: 700; }

/* main loader + review carousel */
.loadtop { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 0 10px; text-align: center; }
.loadproof { margin-top: 8px; }
.loadproof .lpn { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.carousel { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; }
.carousel .rcard { flex: 0 0 78%; scroll-snap-align: start; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px; }
.carousel .rcard .rtitle { font-weight: 800; font-size: 14px; margin: 8px 0 4px; }
.carousel .rcard .body { font-size: 13px; color: var(--muted); line-height: 1.45; }
.carousel .rcard .who { font-size: 12px; color: var(--muted-2); margin-top: 8px; }
.rhead { display: flex; align-items: center; gap: 9px; margin-bottom: 10px; }
.ravatar {
  width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 15px;
}
.rmeta { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.rmeta b { font-size: 13.5px; color: var(--text); }
.rmeta > span { display: flex; align-items: center; gap: 3px; font-size: 11.5px; color: var(--muted); }
.rmeta svg { width: 11px; height: 11px; flex: 0 0 auto; }
.rdate { font-size: 11px; color: var(--muted-2); white-space: nowrap; align-self: flex-start; }
.stars.green { color: #00B67A; }
.stars.green .vf { color: var(--muted); }

/* micro-commit gate heading */
.modal .mchead { color: var(--muted); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }

@media (max-width: 380px) {
  h1.title { font-size: 24px; }
  h2.qtitle { font-size: 21px; }
  .cmp .clabel { font-size: 12.5px; padding: 13px 9px; }
  .drb { width: 128px; height: 128px; }
}

/* ==========================================================================
   POLISH PASS 2026-07-26 — image density + responsive hardening
   (visuals + mobile only; no copy / structure / pricing changes)
   ========================================================================== */

/* global image safety: an image can never force horizontal scroll */
img { max-width: 100%; height: auto; }

/* dark-background anatomy render -> a bold, framed medical visual on the light page */
.mechfig {
  display: block; margin: 22px auto 10px;
  width: 100%; max-width: 340px; max-height: 320px;
  object-fit: cover;
  background: #0B221F; border-radius: 20px; padding: 10px;
  border: 1px solid rgba(20,184,166,0.30);
  box-shadow: 0 18px 44px rgba(15,46,43,0.20), 0 0 0 7px rgba(20,184,166,0.06);
}
.mechfig.q  { max-width: 300px; max-height: 280px; margin: 16px auto 14px; }
.mechfig.gauge { max-width: 300px; max-height: none; padding: 20px 22px 16px; }
.mechfig.gauge svg { display: block; width: 100%; height: auto; }
.mechfig.lg { max-width: 360px; max-height: 340px; }

/* light-background render inside a rounded card */
.mechcard {
  margin: 18px auto 8px; max-width: 460px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--card);
}
.mechcard img {
  display: block; width: 100%; height: 200px;
  object-fit: cover; object-position: center;
}

/* now -> trained mechanism pair (result page + paywall band) */
.mechpair, .mechband {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 8px; margin: 22px auto 6px; max-width: 460px;
}
.mechpair figure, .mechband figure { margin: 0; min-width: 0; text-align: center; }
.mechpair .mechfig, .mechband .mechfig {
  margin: 0 auto 8px; max-width: 100%; max-height: 148px; filter: none;
}
.mechpair figcaption { font-size: 12px; color: var(--muted); line-height: 1.35; }
.mechband figcaption { font-size: 12.5px; color: var(--accent); font-weight: 700; }
.mpar, .mbar { color: var(--accent); display: grid; place-items: center; }
.mpar svg, .mbar svg { width: 22px; height: 22px; }

/* keep the score-gauge marker label from clipping the card edges */
.gaugebar .gmark { max-width: 92%; }

/* phone-width hardening (tested 360 / 390 / 414) */
@media (max-width: 414px) {
  .mechfig    { max-height: 200px; max-width: 74%; }
  .mechfig.q  { max-height: 156px; max-width: 66%; }
  .mechfig.lg { max-height: 210px; max-width: 82%; }
  .mechcard img { height: 176px; }
  .mechpair .mechfig, .mechband .mechfig { max-height: 122px; }
  .mechpair figcaption, .mechband figcaption { font-size: 11px; }
  .mechpair, .mechband { gap: 4px; }
}
@media (max-width: 360px) {
  .mechcard img { height: 160px; }
  .mechpair .mechfig, .mechband .mechfig { max-height: 104px; }
}

/* ==========================================================================
   Darker answer buttons for visibility on the mint canvas (2026-07-30)
   ========================================================================== */
.opt {
  background: #123A33;
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 8px 18px rgba(15,46,43,0.16);
}
.opt .lbl { color: #EAF6F2; }
.opt:hover { background: #0F332D; border-color: rgba(255,255,255,0.20); }
.opt .iconwell { background: rgba(45,212,191,0.18); color: #3FE3CE; }
.opt .radio { border-color: rgba(255,255,255,0.34); }
.opt.selected { background: #0C443A; border-color: var(--accent); }
.opt.selected .radio { border-color: var(--accent); background: var(--accent); }
.opt.selected .radio::after { background: #123A33; }
.opt.checkbox.selected .radio::after { border-color: #123A33; }

/* scale (1-5) answer tiles -> same dark treatment */
.scale button {
  background: #123A33; color: #EAF6F2;
  border-color: rgba(255,255,255,0.10);
  box-shadow: 0 8px 18px rgba(15,46,43,0.16);
}
.scale button:hover { border-color: rgba(255,255,255,0.24); }
.scale button.selected { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }

/* ---------- brand logo lockup + trust line (2026-07-30) ---------- */
.logo { background: none; border: none; width: 40px; height: 40px; }
.logo svg { width: 40px; height: 40px; }
.brandlock { display: inline-flex; align-items: center; gap: 11px; }
.brandlock .logo { width: 42px; height: 42px; }
.brandlock .logo svg { width: 42px; height: 42px; }
.bmwrap { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.bm { font-weight: 900; letter-spacing: 2.5px; font-size: 21px; color: var(--text); }
.bmt { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 5px; }
.trustline { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.trustline svg { width: 15px; height: 15px; color: var(--accent); flex: 0 0 auto; }

/* cite badge (research-backed) */
.citebadge {
  display: flex; width: fit-content; align-items: center; gap: 8px; margin: 20px auto 0;
  background: var(--amber-dim); color: var(--amber-d); border: 1px solid rgba(224,142,0,0.28);
  border-radius: 999px; padding: 9px 16px; font-size: 12.5px; font-weight: 700; line-height: 1.3;
}
.citebadge svg { width: 15px; height: 15px; flex: 0 0 auto; }
.center-block .citebadge { display: flex; max-width: 440px; }

/* ==========================================================================
   Relatio-pass: bold full-fill SELECTED state (satisfying tap feedback)
   ========================================================================== */
.opt.selected { background: var(--accent); border-color: var(--accent); box-shadow: 0 10px 24px rgba(20,184,166,0.35); }
.opt.selected .lbl { color: var(--ink-on-accent); }
.opt.selected .iconwell { background: rgba(4,35,31,0.16); color: var(--ink-on-accent); }
.opt.selected .radio { border-color: var(--ink-on-accent); background: var(--ink-on-accent); }
.opt.selected .radio::after { background: var(--accent); }
.opt.checkbox.selected .radio::after { border-color: var(--accent); }
/* plans on the paywall get the same bold selected treatment */
.plan.selected { background: var(--accent); border-color: var(--accent); }
.plan.selected .pname, .plan.selected .pmeta, .plan.selected .pperday { color: var(--ink-on-accent); }
.plan.selected .pmeta s { color: rgba(4,35,31,0.55); }
.plan.selected .radio { border-color: var(--ink-on-accent); background: var(--ink-on-accent); }
.plan.selected .radio::after { background: var(--accent); }

/* ---------- social-proof page (after entry) ---------- */
.spbig { text-align: center; margin-top: 14px; }
.spnum { font-weight: 900; font-size: 40px; color: var(--accent); letter-spacing: -1px; }
.spstars { display: flex; flex-direction: column; align-items: center; gap: 7px; margin-top: 16px; }
.spstarrow { display: flex; gap: 5px; }
.spstarrow svg { width: 23px; height: 23px; color: var(--amber); }
.spstarsn { font-size: 12px; color: var(--muted-2); }
.spgrid { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.sprow { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 15px 16px; box-shadow: var(--shadow-sm); }
.spico { width: 42px; height: 42px; border-radius: 11px; flex: 0 0 auto; background: var(--accent-dim); color: var(--accent); display: grid; place-items: center; }
.spico svg { width: 22px; height: 22px; }
.sptxt { display: flex; flex-direction: column; gap: 3px; text-align: left; }
.sptxt b { font-size: 15.5px; font-weight: 700; }
.sptxt span { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* ---------- value-stack: anchored bonus prices -> Free (Relatio tactic) ---------- */
.incprice { margin-left: auto; flex: 0 0 auto; align-self: center; font-size: 13px; color: var(--muted); white-space: nowrap; padding-left: 10px; }
.incprice s { color: var(--muted-2); }
.incprice b { color: var(--accent); font-weight: 800; }
.bonustotal { margin-top: 14px; text-align: center; background: var(--amber-dim); border: 1px solid rgba(224,142,0,0.30); border-radius: var(--radius-sm); padding: 13px 14px; font-size: 14.5px; color: var(--text); font-weight: 600; }
.bonustotal s { color: var(--muted); }
.bonustotal b { color: var(--amber-d); font-weight: 800; }

/* order bump — the Bedrock Coach add-on */
.bump { display:flex; align-items:flex-start; gap:12px; margin-top:16px; background:var(--amber-dim);
  border:2px dashed var(--amber-d); border-radius:14px; padding:15px 16px; cursor:pointer; transition:background .15s, border-color .15s; }
.bump.on { background:rgba(20,184,166,0.10); border-style:solid; border-color:var(--accent); }
.bumpchk { width:24px; height:24px; border-radius:7px; border:2px solid var(--amber-d); background:#fff; flex:0 0 auto;
  display:grid; place-items:center; color:#fff; margin-top:1px; }
.bump.on .bumpchk { background:var(--accent); border-color:var(--accent); }
.bumpchk svg { width:16px; height:16px; }
.bumptxt { display:flex; flex-direction:column; gap:3px; }
.bumptxt b { font-size:15px; color:var(--text); }
.bumptxt span { font-size:13px; color:var(--muted); line-height:1.45; }
