/* ============================================================================
   Pup Class — direct-response design system (photo-driven rebuild)
   Palette: teal accent + blue deep-accent, Inter only. Every JS/template/e2e
   class hook is preserved; this file restyles them and adds the photo system.
   ============================================================================ */
:root {
  --ink: #0f1f2e;
  --ink-soft: #28384a;
  --muted: #5b6b7b;
  --paper: #eef4fb;
  --paper-2: #e3edf7;
  --card: #ffffff;
  --line: #d7e1ec;
  --line-2: #e7eef6;
  --accent: #01696f;        /* teal */
  --accent-2: #018a8f;      /* lighter teal for gradients */
  --accent-deep: #045cb4;   /* blue */
  --accent-soft: #e6f3f3;   /* teal tint */
  --blue-soft: #e8f1fc;
  --angel: #1f9d63;
  --angel-soft: #e7f6ee;
  --devil: #c0392b;
  --devil-soft: #fdecea;
  --gold: #b8893b;
  --ink-grad: linear-gradient(135deg, #0f1f2e 0%, #14323a 100%);
  --accent-grad: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  --shadow: 0 8px 24px rgba(15, 31, 46, 0.08);
  --shadow-lg: 0 22px 60px rgba(15, 31, 46, 0.16);
  --shadow-card: 0 4px 14px rgba(15, 31, 46, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --maxw: 760px;     /* prose / reading column */
  --wide: 1120px;    /* landing-page band column */
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Inter", system-ui, sans-serif; line-height: 1.16; font-weight: 800; letter-spacing: -0.022em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); margin-top: 2.4em; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1.1em; }
a { color: var(--accent-deep); }
strong { font-weight: 700; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.wrap-wide { max-width: var(--wide); margin: 0 auto; padding: 0 24px; }

/* ── Header / footer ───────────────────────────────────────────────────── */
.site-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--wide); margin: 0 auto; padding: 16px 24px;
  position: sticky; top: 0; z-index: 50;
  background: rgba(238, 244, 251, 0.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-2);
}
.brand { font-weight: 800; font-size: 1.18rem; text-decoration: none; color: var(--ink); letter-spacing: -0.02em; }
.brand::before { content: "🐾"; margin-right: 7px; }
.site-header nav a { margin-left: 22px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.93rem; transition: color .12s; }
.site-header nav a:hover { color: var(--accent); }
.site-footer { border-top: 1px solid var(--line); margin-top: 90px; padding: 40px 22px 64px; text-align: center; background: var(--card); }
.site-footer .disclaimer { max-width: 640px; margin: 0 auto 14px; color: var(--muted); font-size: 0.85rem; }
.foot-nav a { margin: 0 11px; color: var(--muted); font-size: 0.86rem; font-weight: 600; text-decoration: none; }
.foot-nav a:hover { color: var(--accent); }
.copy { color: var(--muted); font-size: 0.8rem; margin-top: 12px; }
.foot-credits { color: var(--muted); font-size: 0.72rem; margin-top: 8px; opacity: 0.8; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; background: var(--accent-grad); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; padding: 16px 32px; border-radius: var(--radius-sm);
  border: none; cursor: pointer; box-shadow: 0 10px 26px rgba(1, 105, 111, 0.32);
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(1, 105, 111, 0.4); filter: saturate(1.08); }
.btn:active { transform: translateY(0); }
.btn-lg { font-size: 1.18rem; padding: 20px 44px; }
.btn-block { display: block; width: 100%; }
.btn-ghost { background: #fff; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); }
.cta-note { font-size: 0.85rem; color: var(--muted); margin-top: 11px; }

/* ── Photo hero (full-bleed image w/ gradient overlay) ─────────────────── */
.photo-hero { position: relative; overflow: hidden; isolation: isolate; }
.photo-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-position: center;
  background-image: var(--hero-img);
}
.photo-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(8, 22, 33, 0.92) 0%, rgba(10, 30, 42, 0.78) 42%, rgba(12, 40, 52, 0.42) 100%);
}
.photo-hero .wrap-wide { padding-top: 76px; padding-bottom: 84px; }
.photo-hero .hero-inner { max-width: 640px; color: #fff; }
.photo-hero h1, .photo-hero h2 { color: #fff; }
.photo-hero .eyebrow { color: #8fe3e8; }
.photo-hero .lede { color: rgba(255, 255, 255, 0.92); font-size: 1.24rem; max-width: 560px; }
.photo-hero .sub { color: rgba(255, 255, 255, 0.78); }
.photo-hero .trust-row { color: rgba(255, 255, 255, 0.85); justify-content: flex-start; }
.photo-hero .cta-note { color: rgba(255, 255, 255, 0.72); }
@media (max-width: 720px) {
  .photo-hero::after { background: linear-gradient(180deg, rgba(8, 22, 33, 0.86) 0%, rgba(10, 30, 42, 0.92) 100%); }
  .photo-hero .hero-inner { text-align: center; margin: 0 auto; }
  .photo-hero .trust-row { justify-content: center; }
}

/* ── Plain hero (no photo) ─────────────────────────────────────────────── */
.hero { text-align: center; padding: 48px 0 12px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 700; color: var(--accent-deep); margin-bottom: 14px; }
.hero p.lede, .lede { font-size: 1.24rem; color: var(--muted); max-width: 640px; margin: 0 auto 26px; }
.hero p.sub, .hero .sub { font-size: 1.02rem; color: var(--muted); max-width: 600px; margin: 0 auto 24px; }
.trust-row { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin: 30px 0 0; color: var(--muted); font-size: 0.86rem; font-weight: 600; }
.trust-row span::before { content: "✓"; color: var(--angel); font-weight: 800; margin-right: 6px; }

/* ── Full-bleed bands & split photo blocks ─────────────────────────────── */
.band { padding: 64px 0; }
.band--tint { background: var(--paper-2); }
.band--soft { background: var(--accent-soft); }
.band--dark { background: var(--ink-grad); color: #fff; }
.band--dark h2, .band--dark h3 { color: #fff; }
.band--dark .section-sub, .band--dark p { color: rgba(255, 255, 255, 0.82); }
.band > .wrap-wide > h2:first-child, .band > .wrap > h2:first-child { margin-top: 0; }
.band-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.band-head h2 { margin-top: 0; }
.band-head .section-sub { margin: 8px auto 0; }

.photo-split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.photo-split.reverse .ps-media { order: 2; }
.ps-media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.ps-copy h2 { margin-top: 0; }
.ps-copy .eyebrow { margin-bottom: 10px; }
@media (max-width: 820px) {
  .photo-split { grid-template-columns: 1fr; gap: 26px; }
  .photo-split.reverse .ps-media { order: 0; }
  .ps-media img { max-height: 320px; }
}

/* Rounded media card + caption */
.media-card { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); margin: 28px 0; }
.media-card img { width: 100%; height: auto; object-fit: cover; }
.figure-round { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ── Content sections ──────────────────────────────────────────────────── */
.prose { padding-top: 12px; }
.section-sub { color: var(--muted); max-width: 640px; margin: -4px 0 22px; }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 22px 26px; margin: 1.6em 0; box-shadow: var(--shadow); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; margin: 1.8em 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow-card); }
.stat .num { font-size: 2.1rem; color: var(--accent-deep); font-weight: 800; }
.stat .lbl { font-size: 0.86rem; color: var(--muted); }
.refs { font-size: 0.85rem; color: var(--muted); }
.refs li { margin-bottom: 0.7em; }
sup a { text-decoration: none; }

/* ── Quiz funnel ───────────────────────────────────────────────────────── */
.quiz { max-width: 640px; margin: 30px auto; padding: 0 18px; }
.quiz-h1 { font-size: 1.5rem; text-align: center; margin: 0 0 18px; line-height: 1.3; }
.progress { height: 9px; background: var(--line); border-radius: 99px; overflow: hidden; margin-bottom: 8px; }
.progress > span { display: block; height: 100%; width: 0; background: var(--accent-grad); border-radius: 99px; transition: width .35s ease; }
.progress > span.pulse { animation: bar-pulse .45s ease; }
@keyframes bar-pulse { 0% { filter: brightness(1); } 40% { filter: brightness(1.4); } 100% { filter: brightness(1); } }
.progress-label { text-align: center; font-size: 0.82rem; color: var(--muted); margin-bottom: 24px; font-weight: 600; }
.q-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow-lg); }
.q-facet { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem; font-weight: 700; color: var(--accent-deep); margin-bottom: 12px; }
.q-text { font-size: 1.5rem; line-height: 1.24; margin-bottom: 22px; font-weight: 800; letter-spacing: -0.02em; }
.options { display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 12px; text-align: left; background: #fff; border: 2px solid var(--line); border-radius: 12px; padding: 14px 16px; font: inherit; font-size: 1rem; color: var(--ink); cursor: pointer; transition: border-color .12s, background .12s, transform .08s; min-height: 60px; }
.opt:hover { border-color: var(--accent); background: var(--accent-soft); }
.opt.selected { border-color: var(--accent); background: var(--accent-soft); }
.opt:active { transform: scale(0.99); }
.opt .dot { width: 18px; height: 18px; border-radius: 99px; border: 2px solid var(--line); flex: 0 0 auto; }
.opt.selected .dot { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #fff; }
.opt-emoji { font-size: 1.5rem; flex: 0 0 auto; line-height: 1; }
.options-tiles { grid-template-columns: repeat(2, 1fr); }
.options-tiles .opt { flex-direction: column; justify-content: center; text-align: center; gap: 8px; min-height: 96px; padding: 18px 14px; }
.scale-ends { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); margin: 2px 2px 6px; }
.q-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 22px; }
.q-back { background: none; border: none; color: var(--muted); cursor: pointer; font: inherit; font-size: 0.9rem; }
.q-back:disabled { opacity: 0.3; cursor: default; }
.q-pre { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.q-title { font-size: 1.5rem; line-height: 1.2; margin: 0 0 14px; font-weight: 800; letter-spacing: -0.02em; }
.q-info p, .q-reflect p { font-size: 1.02rem; line-height: 1.55; color: var(--ink); margin: 0 0 14px; }
.q-info, .q-reflect { border-left: 4px solid var(--accent); padding-left: 4px; }
.q-image { font-size: 2.4rem; text-align: center; margin-bottom: 10px; }
.q-stat { font-size: 1.5rem; color: var(--accent-deep); line-height: 1.2; margin: 0 0 14px; font-weight: 800; }
.options-multi .opt-check .box { width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--line); flex: 0 0 auto; }
.opt-check.selected .box { border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 3px #fff; }
.micro { font-size: 0.78rem; color: var(--muted); margin-top: 14px; }
.q-info .btn, .q-reflect .btn, .graph-card .btn, .q-metrics .btn, .q-carousel .btn, .proj-card .btn { margin-top: 18px; }

/* ── Email gate ────────────────────────────────────────────────────────── */
.gate { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px; box-shadow: var(--shadow-lg); text-align: center; }
.gate h2 { margin-top: 0; }
.gate .lock { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.gate input:not([type=checkbox]), .gate select, .gate textarea { width: 100%; padding: 15px 16px; font-size: 1.05rem; border: 2px solid var(--line); border-radius: 12px; margin: 8px 0; font-family: inherit; background: #fff; color: var(--ink); box-sizing: border-box; transition: border-color .12s; }
.gate input:focus, .gate select:focus, .gate textarea:focus { outline: none; border-color: var(--accent); }
.gate label { display: block; text-align: left; font-weight: 700; font-size: 0.9rem; margin-top: 10px; }
.gate label .muted { color: var(--muted); font-weight: 400; }
.gate .field-row { display: flex; gap: 10px; }
.gate .field-row select { flex: 2; }
.gate .field-row input[type=number] { flex: 1; }
.consent { font-size: 0.8rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; text-align: left; margin: 12px 0; }
.form-msg { font-size: 0.9rem; margin-top: 12px; min-height: 1.2em; }
.form-msg.err { color: var(--devil); }
.form-msg.ok { color: var(--angel); }
.hidden { display: none !important; }

/* end_card enrichments */
.gate-h2 { margin: 6px 0 8px; }
.gate-sub { color: var(--muted); font-size: 1rem; }
.gate-recent { font-size: 0.85rem; color: var(--angel); font-weight: 700; margin: 0 0 14px; }
.gate-recent:empty { display: none; }
.gate-items { list-style: none; padding: 0; margin: 14px 0 4px; text-align: left; display: grid; gap: 8px; }
.gate-items li { font-size: 0.92rem; padding-left: 26px; position: relative; }
.gate-items li::before { content: "✓"; position: absolute; left: 0; color: var(--angel); font-weight: 800; }

/* ── Results / angel-devil spectrum ────────────────────────────────────── */
.result-hero { text-align: center; padding-top: 24px; }
.confidential-tag { display: inline-block; background: var(--devil-soft); color: var(--devil); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 800; padding: 5px 12px; border-radius: 99px; }
.spectrum { position: relative; height: 64px; margin: 40px 0 12px; border-radius: 99px;
  background: linear-gradient(90deg, var(--angel) 0%, #e9d9a6 50%, var(--devil) 100%); box-shadow: var(--shadow); }
.spectrum .marker { position: absolute; top: -14px; transform: translateX(-50%); transition: left .6s cubic-bezier(.2,.8,.2,1); }
.spectrum .marker .pin { width: 4px; height: 92px; background: var(--ink); margin: 0 auto; border-radius: 4px; }
.spectrum .marker .bubble { background: var(--ink); color: #fff; font-size: 0.78rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; white-space: nowrap; margin-bottom: 4px; }
.spectrum-ends { display: flex; justify-content: space-between; font-size: 1.6rem; }
.spectrum-ends .lbl { font-size: 0.8rem; color: var(--muted); }
.facet-bars { margin: 34px 0; }
.facet-bar { margin-bottom: 16px; }
.facet-bar .top { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 5px; }
.facet-bar .track { height: 12px; background: var(--line); border-radius: 99px; overflow: hidden; }
.facet-bar .fill { height: 100%; background: var(--accent-grad); border-radius: 99px; transition: width .6s ease; }

.result-hero .lock { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.result-h1 { margin: .2em 0 .3em; }
.result-hero .lede { max-width: 640px; margin: 0 auto 8px; }
.offer-box { margin: 34px auto 0; max-width: 560px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 30px; box-shadow: var(--shadow-lg); text-align: center; }
.offer-box h2 { margin: 6px 0 8px; }
.offer-badge:empty { display: none; }
.offer-badge { display: inline-block; background: var(--devil-soft); color: var(--devil); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; padding: 5px 12px; border-radius: 99px; margin: 0 0 6px; }
.offer-price { font-size: 1.4rem; margin: 14px 0 18px; }
.offer-price .was { color: var(--muted); text-decoration: line-through; margin-right: 8px; font-size: 1.05rem; }
.offer-price .now { color: var(--ink); font-weight: 800; font-size: 1.9rem; }
.confirm-note { background: var(--angel-soft); border: 1px solid #bfe3cd; border-radius: 12px; padding: 14px 18px; font-size: 0.95rem; color: var(--ink); max-width: 560px; margin: 18px auto 0; text-align: center; }
.upsell-nudge { max-width: 560px; margin: 24px auto 0; text-align: center; font-size: 0.98rem; color: var(--muted); }
.upsell-nudge a { font-weight: 700; }
.skip-link { text-align: center; margin: 20px auto 0; }
.skip-link a { color: var(--muted); font-size: 0.92rem; text-decoration: underline; }
.skip-link a:hover { color: var(--ink); }

/* ── Segment cards ─────────────────────────────────────────────────────── */
.seg-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); margin: 28px 0; text-align: left; }
.seg-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 0; text-decoration: none; color: inherit; box-shadow: var(--shadow-card); overflow: hidden; transition: transform .16s ease, box-shadow .16s ease; }
.seg-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.seg-card .seg-photo { width: 100%; height: 150px; object-fit: cover; }
.seg-card .seg-body { padding: 20px 22px; }
.seg-card h3 { margin: 0 0 6px; }
.seg-card p { color: var(--muted); margin: 0 0 12px; font-size: 0.92rem; }
.seg-cta { color: var(--accent); font-weight: 700; font-size: 0.9rem; }

/* ── Checkout ──────────────────────────────────────────────────────────── */
.checkout { text-align: center; padding-top: 24px; }
.checkout .lock { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.co-h1 { margin: .2em 0 .3em; }
.pay-area { margin: 22px auto; max-width: 460px; }
.pay-pending { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; color: var(--muted); box-shadow: var(--shadow-card); }
.trust-badges { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 22px 0 0; color: var(--muted); font-size: 0.82rem; font-weight: 600; }
.trust-badges span::before { content: "🔒"; margin-right: 5px; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { margin: 18px 0 8px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 4px 20px; margin-bottom: 10px; background: var(--card); box-shadow: var(--shadow-card); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 800; font-size: 1.2rem; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* ── Stats page (animated answer charts) ───────────────────────────────── */
.stats-n { text-align: center; color: var(--muted); font-size: 0.95rem; margin: 6px auto 30px; max-width: 560px; }
.stat-facet { margin: 40px 0 8px; }
.stat-facet-title { font-size: 1.5rem; margin: 0 0 2px; }
.stat-facet-blurb { color: var(--muted); margin: 0 0 18px; font-size: 0.95rem; }
.stat-q { border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; margin-bottom: 16px; background: var(--card); box-shadow: var(--shadow-card); }
.stat-qtext { font-size: 1.04rem; line-height: 1.4; margin: 0 0 18px; font-weight: 700; }
.q-num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 0.76rem; font-weight: 800; margin-right: 10px; vertical-align: middle; }
.stat-rows { display: flex; flex-direction: column; gap: 11px; }
.stat-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 5px; }
.stat-opt { font-size: 0.84rem; color: var(--muted); }
.stat-val { font-size: 0.84rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.stat-track { display: block; height: 12px; background: var(--line); border-radius: 99px; overflow: hidden; }
.stat-fill { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--accent-grad); transition: width .85s cubic-bezier(.2,.8,.2,1); }
.stat-fill[data-facet="behavior"] { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.stat-fill[data-facet="attitude"] { background: linear-gradient(90deg, var(--accent-deep), #2a7fd0); }
.stat-fill[data-facet="desire"] { background: linear-gradient(90deg, #e07a6c, var(--devil)); }
.stat-row.is-mode .stat-opt, .stat-row.is-mode .stat-val { color: var(--ink); font-weight: 800; }
.stat-row.is-empty { display: none; }
.stat-mode { font-size: 0.82rem; color: var(--accent-deep); margin: -8px 0 14px; font-weight: 700; }
.source-note { color: var(--muted); font-size: 0.82rem; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; }

/* ── Blog / articles ───────────────────────────────────────────────────── */
.blog-list { padding-top: 30px; }
.post-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 26px; }
.post-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; background: var(--card); box-shadow: var(--shadow-card); text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.post-card-title { font-size: 1.3rem; margin: 0 0 6px; color: var(--ink); }
.post-card-desc { margin: 0 0 10px; color: var(--muted); font-size: 0.96rem; line-height: 1.5; }
.post-card-meta { font-size: 0.8rem; color: var(--accent-deep); font-weight: 700; }
.article { padding-top: 26px; }
.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; }
.breadcrumb a { color: var(--accent-deep); text-decoration: none; }
.article-meta { color: var(--muted); font-size: 0.86rem; margin: -6px 0 28px; font-weight: 600; }

/* ── Auth + members ────────────────────────────────────────────────────── */
.auth-wrap, .members { max-width: 640px; }
.auth-form { margin: 22px 0 18px; }
.auth-form label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
.auth-form input { width: 100%; padding: 15px 16px; font-size: 1.05rem; border: 2px solid var(--line); border-radius: 12px; margin-bottom: 12px; font-family: inherit; background: #fff; color: var(--ink); box-sizing: border-box; }
.auth-form input:focus { outline: none; border-color: var(--accent); }
.members-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.members-email { color: var(--muted); font-size: 0.9rem; }
.program-list { display: grid; gap: 16px; margin-top: 22px; }
.program-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-card); }
.program-card h2 { margin: 0 0 6px; font-size: 1.2rem; }
.program-meta { color: var(--accent-deep); font-weight: 700; font-size: 0.88rem; margin: 0 0 10px; }
.program-note { color: var(--muted); font-size: 0.9rem; margin: 0; }
/* Programs-index cards are anchors with a photo thumb; members cards stay block <article>. */
a.program-card { display: flex; align-items: center; gap: 20px; padding: 16px 20px; text-decoration: none; color: inherit; transition: transform 0.15s ease, box-shadow 0.15s ease; }
a.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.program-thumb { width: 140px; height: 140px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.program-card-body { min-width: 0; }
a.program-card h2 { color: var(--ink); }
@media (max-width: 560px) { a.program-card { flex-direction: column; align-items: stretch; gap: 14px; } .program-thumb { width: 100%; height: 170px; } }

/* ── Long-form program sales pages ─────────────────────────────────────── */
.program-hero:not(.photo-hero) { padding-top: 40px; }
.program-body { margin-top: 8px; }
.program-science .cite { color: var(--muted); font-size: 0.86rem; font-style: italic; }
.program-inside .inside-meta { color: var(--muted); font-size: 0.95rem; margin-top: 0; }
.module-list { list-style: none; counter-reset: mod; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.module-list li { counter-increment: mod; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 16px 56px; position: relative; box-shadow: var(--shadow-card); }
.module-list li::before { content: counter(mod); position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.module-title { display: block; font-weight: 700; }
.module-blurb { display: block; color: var(--muted); font-size: 0.92rem; margin-top: 3px; }
.value-stack { list-style: none; padding: 0; margin: 16px 0; }
.value-stack li { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.value-stack .stack-value { color: var(--muted); white-space: nowrap; }
.stack-total { font-size: 1.08rem; margin-top: 14px; }
.stack-total .was { text-decoration: line-through; color: var(--muted); }
.program-final-cta { padding: 36px 0 48px; }

/* ── Quiz CRO: projection graph ────────────────────────────────────────── */
.graph-card .g-svg { width: 100%; height: auto; display: block; margin: 4px 0 6px; }
.g-axis { stroke: var(--line); stroke-width: 1.5; }
.g-flat { stroke: var(--muted); stroke-width: 2.5; stroke-dasharray: 4 4; fill: none; }
.g-plan { stroke: var(--accent); stroke-width: 3.5; fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.g-plan.draw { transition: stroke-dashoffset 1.5s ease .15s; stroke-dashoffset: 0; }
.g-dot { fill: var(--accent); opacity: 0; animation: dot-in .4s ease forwards; animation-delay: calc(1.1s + var(--d)); }
@keyframes dot-in { from { opacity: 0; r: 0; } to { opacity: 1; } }
.g-ceil { font-size: 9px; fill: var(--muted); }
.g-legend { list-style: none; padding: 0; margin: 6px 0 12px; display: grid; gap: 6px; font-size: 0.92rem; }
.g-legend .g-day { display: inline-block; min-width: 52px; font-weight: 800; color: var(--accent-deep); }
.g-keys { display: flex; gap: 18px; font-size: 0.82rem; color: var(--muted); margin-bottom: 10px; flex-wrap: wrap; }
.k-plan::before { content: ""; display: inline-block; width: 16px; height: 3px; background: var(--accent); vertical-align: middle; margin-right: 6px; border-radius: 2px; }
.k-flat::before { content: ""; display: inline-block; width: 16px; height: 0; border-top: 2px dashed var(--muted); vertical-align: middle; margin-right: 6px; }
.g-echo { font-size: 0.9rem; color: var(--muted); margin: 0 0 8px; }
.g-peer { background: var(--accent-soft); border-radius: 12px; padding: 14px 16px; font-size: 0.95rem; margin: 0; }

/* metrics form */
.metrics-form { display: grid; gap: 14px; margin-bottom: 4px; }
.m-field { display: block; text-align: left; font-weight: 700; font-size: 0.95rem; }
.m-field span { display: block; margin-bottom: 6px; }
.m-field select, .m-field input { width: 100%; padding: 14px 15px; font-size: 1.05rem; border: 2px solid var(--line); border-radius: 12px; font-family: inherit; background: #fff; color: var(--ink); }
.m-field select:focus, .m-field input:focus { outline: none; border-color: var(--accent); }

/* authority carousel */
.auth-track { display: flex; gap: 14px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; }
.auth-card { scroll-snap-align: start; flex: 0 0 86%; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 0; box-shadow: var(--shadow-card); }
.auth-badge { display: inline-block; background: var(--accent-soft); color: var(--accent); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 800; padding: 4px 10px; border-radius: 99px; margin-bottom: 8px; }
.auth-card figcaption strong { display: block; font-size: 1.05rem; }
.auth-role { color: var(--muted); font-size: 0.85rem; }
.auth-card blockquote { margin: 10px 0; font-style: italic; color: var(--ink); }
.auth-cred { font-size: 0.82rem; color: var(--muted); margin: 0; }

/* legacy project bars */
.proj-bars { list-style: none; padding: 0; margin: 6px 0 14px; display: grid; gap: 14px; }
.proj-bar-label { display: flex; justify-content: space-between; font-size: 0.9rem; margin-bottom: 5px; }
.proj-bar-track { height: 14px; background: var(--line); border-radius: 99px; overflow: hidden; }
.proj-bar-fill { height: 100%; width: 0; background: var(--muted); border-radius: 99px; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.proj-bar-fill.highlight { background: var(--accent-grad); }
.proj-caption { font-size: 0.82rem; color: var(--muted); }

/* ── Homepage: how-it-works + science ──────────────────────────────────── */
.how { padding-top: 10px; }
.how-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 20px; }
.how-step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-card); }
.how-num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-grad); color: #fff; font-weight: 800; font-size: 1.2rem; margin-bottom: 12px; }
.how-step h3 { margin: 0 0 6px; }
.how-step p { color: var(--muted); font-size: 0.95rem; margin: 0; }
.science-band { padding-top: 10px; }
.sci-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 20px; }
.sci-card { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 22px 24px; box-shadow: var(--shadow-card); }
.sci-claim { font-size: 1rem; line-height: 1.5; margin: 0 0 10px; }
.sci-src { font-size: 0.82rem; color: var(--muted); margin: 0; }
.guarantee-band { text-align: center; }
.guarantee-band p { max-width: 640px; margin: 0 auto; color: var(--muted); }

/* ── Downsell ──────────────────────────────────────────────────────────── */
.downsell { text-align: center; padding-top: 30px; max-width: 620px; }
.downsell-h1 { margin: .2em 0 .3em; }
.downsell .lede { color: var(--muted); font-size: 1.15rem; max-width: 540px; margin: 0 auto 8px; }
.downsell-box { margin: 30px auto 0; }
.downsell-items { list-style: none; padding: 0; margin: 26px auto 0; max-width: 540px; text-align: left; display: grid; gap: 10px; }
.downsell-items li { font-size: 0.96rem; padding-left: 28px; position: relative; color: var(--ink); }
.downsell-items li::before { content: "✓"; position: absolute; left: 0; color: var(--angel); font-weight: 800; }

/* ── Reveal-on-scroll (progressive enhancement; gated by .js so no-JS shows all) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 560px) {
  body { font-size: 17px; }
  .q-card, .gate { padding: 26px 20px; }
  .q-text, .q-title { font-size: 1.3rem; }
  .opt { font-size: 1.02rem; }
  .site-header nav a { margin-left: 14px; }
  .gate .field-row { flex-direction: column; gap: 0; }
  .auth-card { flex-basis: 90%; }
  .band { padding: 48px 0; }
  .options-tiles { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .site-header nav a:nth-child(2), .site-header nav a:nth-child(3) { display: none; }
}
