/* ===== Hoomi funnel ===== */
#app { min-height: 100dvh; display: flex; flex-direction: column; }

/* top bar */
.fbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250,246,240,.9); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.fbar .inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad);
  height: 56px; display: flex; align-items: center; justify-content: space-between; position: relative; }
.fbar .back { width: 44px; height: 44px; border: none; background: none; font-size: 22px; color: var(--ink-soft); cursor: pointer; padding: 0; line-height: 1; }
.fbar .nav-slot { width: 44px; }
.fbar .hoomi-mark { position: absolute; left: 50%; transform: translateX(-50%); font-size: 25px; opacity: 1; transition: opacity .2s var(--ease), font-size .2s var(--ease); }
.fbar .hoomi-mark.is-quiet { font-size: 20px; opacity: .5; }
.menu-button { width: 44px; height: 44px; padding: 12px; border: 0; background: none; cursor: pointer; display: grid; align-content: center; gap: 4px; }
.menu-button span { display: block; width: 20px; height: 2px; margin-left: auto; border-radius: 2px; background: var(--ink); }
.progress { height: 4px; background: var(--bg-sink); }
.progress > i { display: block; height: 100%; width: 0; background: var(--clay); border-radius: 0 4px 4px 0; transition: width .4s var(--ease); }

/* navigation sheet */
body.menu-open { overflow: hidden; }
.menu-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .2s var(--ease); }
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-scrim { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(42,37,33,.4); }
.menu-panel { position: relative; width: min(calc(100% - 32px), 560px); height: calc(100dvh - 36px); padding: 84px 26px 28px; border-radius: var(--r-lg); background: var(--card); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; transform: translateY(10px); transition: transform .2s var(--ease); }
.menu-overlay.open .menu-panel { transform: none; }
.menu-close { position: absolute; top: 24px; left: 24px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--teal-tint); color: var(--ink-soft); cursor: pointer; font-size: 24px; line-height: 1; }
.menu-mark { position: absolute; top: 31px; left: 50%; transform: translateX(-50%); font-family: var(--font-brand); font-size: 21px; font-weight: 600; color: var(--ink); }
.menu-mark b { color: var(--clay); }
.menu-kicker { margin: 14px 0 16px; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.menu-links { display: grid; border-top: 1px solid var(--line); }
.menu-panel a { color: var(--ink); text-decoration: none; font-size: 17px; font-weight: 600; line-height: 1.25; }
.menu-links a { display: flex; align-items: center; min-height: 58px; border-bottom: 1px solid var(--line); }
.menu-panel a:hover { color: var(--clay-dark); }
.menu-support { margin-top: auto; display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--clay); color: #fff !important; box-shadow: var(--shadow-sm); }
.menu-button:focus-visible, .menu-close:focus-visible, .back:focus-visible, .menu-panel a:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; }

/* stage column */
.stage { flex: 1; min-width: 0; width: 100%; max-width: var(--max); margin: 0 auto; padding: 22px var(--pad) 28px; }
.stage.center { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.stage.intro-stage { justify-content: flex-start; padding-top: clamp(14px, 3vh, 30px); }
.stage.inter-stage { justify-content: flex-start; padding-top: clamp(8px, 2vh, 20px); }
.scale-stage { display: flex; flex-direction: column; margin-top: -65px; padding-top: clamp(92px, 12dvh, 144px); padding-bottom: clamp(70px, 10dvh, 120px); }
.scale-copy .qhead { margin-bottom: 12px; font-size: 22px; }
.scale-copy .qsub { margin-bottom: 0; }
.scale-stage .scale { margin-top: auto; }
.scale-stage.has-visual .scale { margin-top: 0; }
.question-visual { position: relative; isolation: isolate; flex: none; width: min(86%, clamp(210px, 28dvh, 340px)); aspect-ratio: 1; margin: 27px auto auto; border-radius: var(--r-lg); }
.question-visual-frame { position: relative; z-index: 1; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; background: #E07856; box-shadow: var(--shadow-sm); }
.question-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.question-visual::before { content: ""; position: absolute; z-index: 0; inset: 3%; border-radius: inherit; background: #E07856; filter: blur(28px); opacity: 0; transform: scale(.92); }
.question-visual.is-loaded::before { animation: illustration-glow 4.8s ease-in-out infinite; }
.question-visual.compact { width: min(52%, 200px); margin: 20px auto; }
.question-visual.interstitial-visual { width: min(100%, 500px); aspect-ratio: 716 / 520; margin: 0 auto 26px; }
.question-visual.interstitial-visual::before { display: none; }
.question-visual.interstitial-visual .question-visual-frame { background: transparent; box-shadow: none; }
@keyframes illustration-glow { 0%, 100% { opacity: .19; transform: scale(.96); } 50% { opacity: .39; transform: scale(1.1); } }

.qhead { font-family: var(--font-display); font-weight: 500; font-optical-sizing: auto;
  font-size: clamp(24px, 6.4vw, 28px); line-height: 1.14; letter-spacing: -.01em; margin: 0 0 8px; text-align: center; }
.qsub { color: var(--ink-soft); text-align: center; margin: 0 auto 22px; max-width: 32ch; font-size: 15.5px; }
p.qsub { margin-top: 20px; }

/* enter animation */
.anim-in { animation: rise .42s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* option list (single / multi) */
.opts { display: grid; gap: 12px; margin-top: 40px; }
.opt {
  display: flex; align-items: center; gap: 14px; width: 100%;
  background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r-md);
  padding: 19px 25px; font-size: 16.5px; font-weight: 500; color: var(--ink);
  cursor: pointer; text-align: left; box-shadow: var(--shadow-sm);
  transition: border-color .15s var(--ease), transform .1s var(--ease), background .15s var(--ease);
}
.opt:hover { border-color: #E4CFC0; }
.opt:active { transform: scale(.99); }
.opt .emo { font-size: 22px; flex: none; }
.opt .tick { margin-left: auto; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; transition: all .15s var(--ease); }
.opt.sel { border-color: var(--clay); background: var(--clay-tint); }
.opt.sel .tick { background: var(--clay); border-color: var(--clay); }
.opt.sel .tick::after { content: "✓"; color: #fff; font-size: 13px; font-weight: 700; }
.opt .emo { flex: none; width: 56px; height: 56px; margin-left: -13px; border-radius: 10px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 20px; }
.opt.sel .emo { background: #fff; }
.opt .emo img { display: block; width: 32px; height: 32px; }
.opt:has(.emo) { padding: 13px 25px; }
.stat-ic { display: inline-flex; align-items: center; }
.stat-ic img { display: block; width: 18px; height: 18px; }
.opt-free { padding: 0; }
.opt-free input { flex: 1; min-width: 0; border: none; background: none; font: inherit; font-size: 16.5px; color: var(--ink); padding: 19px 25px; }
.opt-free input::placeholder { color: var(--muted); font-weight: 400; }
.opt-free input:focus { outline: none; }
.opt-free .tick { margin-right: 25px; }

/* consent (marketing opt-in) */
.consent-actions { display: grid; gap: 4px; }
.linkbtn { background: none; border: none; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600;
  color: var(--ink-soft); padding: 12px; text-align: center; }
.linkbtn:hover { color: var(--ink); }

/* gender cards */
.genders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 8px; }
.gcard { border: none; background: var(--card); border-radius: var(--r-lg); overflow: hidden; cursor: pointer;
  min-width: 0; box-shadow: var(--shadow-md); transition: transform .12s var(--ease); padding: 0; }
.gcard:active { transform: scale(.98); }
.gcard .pic { aspect-ratio: 3/4; background: var(--clay); }
.gcard .pic img { width: 100%; height: 100%; object-fit: cover; }
.gcard .lab { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; font-weight: 600; font-size: 17px; }
.gcard .lab::after { content: "→"; color: var(--clay); }

/* emoji scale */
.scale { margin-top: 10px; }
.scale .faces { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.face { aspect-ratio: 1/1; border: 1.5px solid var(--line); background: var(--card); border-radius: var(--r-md);
  display: grid; place-items: center; font-size: 30px; cursor: pointer; box-shadow: var(--shadow-sm);
  transition: transform .12s var(--ease-spring), border-color .15s var(--ease), background .15s; }
.face:hover { border-color: #E4CFC0; }
.face:active, .face.pick { transform: scale(1.08); border-color: var(--clay); background: var(--clay-tint); }
.scale .ends { display: flex; justify-content: space-between; margin-top: 12px; color: var(--muted); font-size: 13px; }

/* agreement scale (thumbs, valence-neutral: does this fit you?) */
.scale .thumbs { display: grid; grid-template-columns: repeat(5,1fr); gap: 8px; }
.thumb { aspect-ratio: 1/1; border: 1.5px solid rgba(0,0,0,.04); border-radius: var(--r-md); font-size: 25px;
  cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: transform .12s var(--ease-spring), outline-color .1s; outline: 3px solid transparent; outline-offset: 2px; }
.thumb.sd { background: #EEB6A6; } .thumb.d { background: #F6D6C8; }
.thumb.n  { background: #ECE5DB; }
.thumb.a  { background: #D2E6D7; } .thumb.sa { background: #B4DCBD; }
.thumb.sd, .thumb.sa { font-size: 28px; }
.thumb:hover { transform: translateY(-2px); }
.thumb:active, .thumb.pick { transform: scale(1.08); outline-color: var(--clay); }

/* primary CTA */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  background: var(--clay); color: #fff; border: none; cursor: pointer; font-weight: 600; font-size: 17px;
  padding: 18px; border-radius: var(--r-pill); box-shadow: var(--shadow-md); transition: background .15s var(--ease), transform .1s; }
.cta:hover { background: var(--clay-dark); }
.cta:active { transform: scale(.99); }
.cta[disabled] { opacity: .45; cursor: default; }
.stickybtn { position: sticky; bottom: 0; padding: 14px var(--pad) calc(14px + env(safe-area-inset-bottom));
  max-width: var(--max); margin: 0 auto; width: 100%;
  background: linear-gradient(to top, var(--bg) 62%, transparent); }

/* interstitial illustration */
.illus { width: 128px; height: 128px; margin: 6px auto 20px; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--clay) 0%, #EC9270 55%, #F7CDBA 100%);
  box-shadow: 0 16px 40px rgba(224,120,86,.32); display: grid; place-items: center; font-size: 54px; }
.illus.teal { background: radial-gradient(circle at 50% 42%, var(--teal) 0%, #6B98A6 55%, #C7DDE1 100%); box-shadow: 0 16px 40px rgba(76,124,140,.3); }

/* text input */
.field { margin-top: 8px; }
.field input { width: 100%; font-size: 17px; font-family: inherit; color: var(--ink);
  padding: 17px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--card);
  box-shadow: var(--shadow-sm); }
.field input:focus { outline: none; border-color: var(--clay); }
.privacy { color: var(--muted); font-size: 12.5px; text-align: center; margin-top: 14px; line-height: 1.5; }

/* loader — single continuous bar with completed phases stacked above */
.load1 { position: relative; height: 36px; border-radius: var(--r-pill); background: var(--bg-sink); overflow: hidden; margin: 22px 0 20px; }
.load1-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: var(--r-pill);
  background: linear-gradient(90deg, #3E7D3E, #5C9A6B); transition: width .18s linear; }
.load1-lab { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); z-index: 1; color: #fff; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.load1-pc { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); z-index: 1; color: #8C8175; font-weight: 700; font-size: 13px; }
.load1.done .load1-pc { right: 14px; width: 20px; height: 20px; display: grid; place-items: center; }
.load1.done .load1-pc svg { display: block; }
.load1-done { display: grid; gap: 8px; margin: 22px 0 0; }
.load1-done .d { position: relative; height: 36px; border-radius: var(--r-pill); display: flex; align-items: center;
  padding: 0 16px; color: #fff; font-weight: 600; font-size: 13.5px;
  background: linear-gradient(90deg, #2F6B2F, #4C8A5B); }
.load1-done .d::after { content: "✓"; position: absolute; right: 15px; font-size: 13px; }

.loadwrap { text-align: center; }
.lbars { display: grid; gap: 12px; margin: 22px 0 18px; }
.lbar { margin: 0; }
.lbar[hidden] { display: none; }
.loadbars { display: grid; gap: 12px; margin: 24px 0; }
.loadrow { text-align: left; }
.loadrow .top { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-soft); margin-bottom: 6px; }
.loadrow .bar { height: 8px; background: var(--bg-sink); border-radius: 8px; overflow: hidden; }
.loadrow .bar > i { display: block; height: 100%; width: 0; background: var(--clay); border-radius: 8px; transition: width .5s linear; }
.loadrow.done .bar > i { background: var(--good); }
.tcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; box-shadow: var(--shadow-sm); text-align: left; margin-top: 8px; }
.tcard .stars { color: var(--sun); letter-spacing: 2px; font-size: 15px; }
.tcard .q { margin: 8px 0 6px; font-size: 15px; color: var(--ink-soft); }
.tcard .who { font-weight: 600; font-size: 14px; }
.loadrow.done .pc { color: var(--good); font-weight: 700; }

/* Trustpilot-style review card (loader) */
.trust { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow-sm); text-align: left; margin-top: 8px; }
.trust-stars { display: flex; gap: 3px; margin-bottom: 9px; }
.trust-stars span { width: 20px; height: 20px; background: #00b67a; color: #fff; font-size: 13px; display: grid; place-items: center; border-radius: 3px; }
.trust-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.trust-head b { font-size: 14.5px; color: var(--ink); }
.trust-head span { color: var(--muted); font-size: 12.5px; flex: none; }
.trust-q { margin: 6px 0 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }

/* modal actions (mid-loader micro-commitment) */
.modal-h { font-family: var(--font-display); font-weight: 500; font-size: 22px; text-align: center; margin: 0 0 20px; line-height: 1.18; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mbtn { background: var(--bg-sink); border: none; border-radius: var(--r-md); padding: 18px; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; font-family: inherit; transition: background .15s var(--ease); }
.mbtn:hover { background: #E7DED2; }
.mbtn:active { transform: scale(.99); }

/* graph */
.graphcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px 12px 10px; box-shadow: var(--shadow-md); }
.legend { display: flex; gap: 18px; justify-content: center; margin-top: 6px; font-size: 13px; color: var(--ink-soft); }
.legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.legend .g::before { background: var(--good); } .legend .r::before { background: var(--bad); }
.axis { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; padding: 4px 8px 0; }

/* forecast line chart (plan-ready) */
.fchart { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 16px 28px; box-shadow: var(--shadow-md); }
.fchart svg { display: block; }
.fpill { position: absolute; font-size: 12px; font-weight: 700; color: #fff; padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap; box-shadow: var(--shadow-sm); }
.fpill.today { background: var(--bad); left: 18px; bottom: 78px; }
.fpill.after { background: var(--good); right: 20px; top: 20px; }
.fweeks { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 11.5px; }
/* line-chart draw-on animation */
.fc-line { stroke-dasharray: 700; stroke-dashoffset: 700; animation: fc-draw 1.5s var(--ease) .15s forwards; }
.fc-area { opacity: 0; animation: fc-fade .9s ease .85s forwards; }
.fc-dot { opacity: 0; transform-box: fill-box; transform-origin: center; animation: fc-pop .42s var(--ease) forwards; animation-delay: var(--d); }
.fc-arrow { opacity: 0; animation: fc-fade .45s ease 1.55s forwards; }
.fchart .fpill.today { animation: fc-fade .5s ease .55s both; }
.fchart .fpill.after { animation: fc-fade .5s ease 1.5s both; }
@keyframes fc-draw { to { stroke-dashoffset: 0; } }
@keyframes fc-pop { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes fc-fade { from { opacity: 0; } to { opacity: 1; } }

/* forecast bar chart (month projection) */
.barchart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; align-items: end; height: 232px; width: 100%; }
.barcol { position: relative; height: 100%; }
.barcol::before { content: ""; position: absolute; inset: 0; background: var(--bg-sink); border-radius: 12px; }
.bar { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 12px; min-height: 20px;
  transform-origin: bottom; animation: bar-grow .5s var(--ease) both; animation-delay: calc(var(--i, 0) * .13s); }
@keyframes bar-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.bar-goal { position: absolute; top: -30px; left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 7px; white-space: nowrap; }
.bar-goal::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--ink); }
.bar-knob { position: absolute; top: -7px; left: 50%; transform: translate(-50%, -50%); width: 15px; height: 15px; border-radius: 50%; background: #fff; border: 3px solid var(--good); box-shadow: var(--shadow-sm); }
.barx { display: flex; justify-content: space-between; width: 100%; margin-top: 10px; color: var(--muted); font-size: 11px; letter-spacing: .05em; font-weight: 600; }

/* meters (paywall now->goal) */
.meter { height: 7px; border-radius: 7px; background: var(--bg-sink); overflow: hidden; margin-top: 5px; }
.meter > i { display: block; height: 100%; border-radius: 7px; }

/* ===== nervous-system profile summary ===== */
.profile-hero { position: relative; overflow: hidden; border-radius: var(--r-lg);
  padding: 18px 18px 20px; min-height: 360px; display: flex; flex-direction: column;
  color: #fff; background: #2A2521; box-shadow: var(--shadow-md); }
.profile-hero > * { position: relative; z-index: 2; }
.profile-hero > .ph-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%; filter: brightness(1.03); }
.profile-hero > .ph-shade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(42,37,33,.34) 0%, rgba(42,37,33,.12) 35%, rgba(42,37,33,.9) 100%); }
.ph-top { display: flex; gap: 8px; justify-content: center; align-items: center; flex-wrap: wrap; }
.ph-pill { background: rgba(255,255,255,.18); backdrop-filter: blur(4px); border-radius: var(--r-pill);
  padding: 6px 12px; font-size: 12px; font-weight: 600; }
.ph-badge { border-radius: var(--r-pill); padding: 6px 12px; font-size: 12px; font-weight: 700; color: #fff; }
.ph-title { font-family: "DM Sans", sans-serif; font-weight: 700; font-size: clamp(22px, 5.6vw, 26px);
  line-height: 1.14; text-align: center; margin: 14px 0 0; }
.ph-gauge { position: relative; margin-top: auto; padding-top: 34px; }
.ph-bubble { position: absolute; top: 0; transform: translateX(-50%); background: #fff; color: var(--ink);
  font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); white-space: nowrap; }
.ph-bubble::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: #fff; }
.ph-track { position: relative; height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, #5C9A6B, #E7A94E, #E08A6B, #D66A55); }
.ph-knob { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--clay); transform: translate(-50%, -50%); box-shadow: var(--shadow-sm); }
.ph-ends { display: flex; justify-content: space-between; margin-top: 9px; font-size: 10.5px; color: rgba(255,255,255,.82); }
.ph-note { display: flex; gap: 12px; align-items: flex-start; background: var(--clay-tint);
  border-radius: var(--r-md); padding: 15px 16px; margin-top: 16px; }
.ph-note-ic { flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--clay);
  color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 15px; }
.ph-note p { margin: 0; font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.ph-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.ph-stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 14px; box-shadow: var(--shadow-sm); }
.ph-stat .k { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 12.5px; margin-bottom: 6px; }
.ph-stat .v { font-weight: 600; font-size: 15px; color: var(--ink); }

/* ===== paywall ===== */
.eyebrow { display:inline-block; background: var(--clay-tint); color: var(--clay-dark); font-weight:600; font-size:13px; padding:5px 10px; margin-bottom:22px; border-radius: var(--r-pill); }

.pwbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 12px;
  max-width: var(--max); margin: 0 auto; padding: 10px var(--pad);
  background: rgba(250,246,240,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  transform: translateY(-100%); transition: transform .25s var(--ease); }
.pwbar.show { transform: none; }
.pwbar .timer { margin-left: auto; font-weight: 700; color: var(--clay-dark); font-variant-numeric: tabular-nums; }
.pwbar-cta { width: auto !important; padding: 10px 16px !important; font-size: 14px !important; box-shadow: none !important; }

.tfhero .tf2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tf2-card { border-radius: var(--r-lg); padding: 22px 12px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 600; box-shadow: var(--shadow-sm); }
.tf2-card .tf2-emo { font-size: 40px; }
.tf2-card.now { background: linear-gradient(160deg,#F6E1D6,#EFCDBD); color: var(--clay-dark); }
.tf2-card.goal { background: linear-gradient(160deg,#E2EFEA,#CFE7DC); color: var(--good); }

/* before / after comparison cards */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ba-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.ba-card.goal { border-color: rgba(92,154,107,.45); box-shadow: 0 12px 34px rgba(92,154,107,.32); }
.ba-pic { position: relative; aspect-ratio: 4 / 5; background: var(--clay); }
.ba-pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.ba-card.now .ba-pic img { filter: grayscale(.12) brightness(.97); }
.ba-card.goal .ba-pic img { filter: saturate(1.06) brightness(1.03); }
.ba-tag { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; text-align: center;
  color: #fff; font-family: var(--font-display); font-weight: 500; font-size: 18px;
  background: linear-gradient(180deg, transparent, rgba(42,37,33,.6)); }
.ba-metrics { padding: 14px 13px 15px; display: grid; gap: 12px; }
.ba-m { display: grid; gap: 3px; }
.ba-k { font-size: 12px; font-weight: 700; color: var(--ink); }
.ba-v { font-size: 12.5px; font-weight: 600; }
.ba-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; margin-top: 3px; }
.ba-seg span { height: 6px; border-radius: 6px; }
.ba-slider { position: relative; height: 6px; border-radius: 6px; background: var(--bg-sink); margin-top: 6px; }
.ba-slider i { display: block; height: 100%; border-radius: 6px; }
.ba-knob { position: absolute; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: #fff;
  border: 3px solid var(--low); transform: translate(-50%, -50%); box-shadow: var(--shadow-sm); }

/* "survival mode" benefit hero — teal head + white benefit card */
.surv { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); margin-top: 18px;
  background: linear-gradient(180deg, #6CA0B0 0%, #5E93A9 100%); }
.surv-head { padding: 24px 22px 34px; }
.surv-head h3 { margin: 0; color: #fff; font-family: var(--font-display); font-weight: 500; font-size: clamp(21px, 5.6vw, 26px); line-height: 1.16; }
.surv-body { margin-top: -20px; background: var(--card); border-radius: var(--r-lg); padding: 20px 18px 24px; display: grid; gap: 18px; }
.surv-chip { justify-self: start; background: var(--teal-tint); color: var(--teal); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: var(--r-pill); }
.surv-ben { display: flex; gap: 13px; align-items: flex-start; }
.surv-ic { flex: none; }
.surv-ben b { font-size: 15px; color: var(--ink); }
.surv-ben p { margin: 3px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }

/* survival-response / goal chips */
.sgrow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 2px; }
.sg { display: flex; gap: 11px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 13px 14px; box-shadow: var(--shadow-sm); }
.sg-ic { flex: none; width: 26px; height: 26px; display: grid; place-items: center; font-size: 20px; color: var(--teal); }
.sg-ic svg { display: block; width: 24px; height: 24px; }
.sg-k { display: block; color: var(--muted); font-size: 11.5px; margin-bottom: 2px; }
.sg b { font-size: 13.5px; color: var(--ink); }

.promo { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  background: var(--clay-tint); border: 1px dashed var(--clay); border-radius: var(--r-md);
  padding: 12px 16px; margin: 18px 0 14px; font-size: 14px; }
.promo b { color: var(--clay-dark); }
.promo .timer { font-weight: 700; color: var(--clay-dark); font-variant-numeric: tabular-nums; }

.tfcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; box-shadow: var(--shadow-sm); margin-bottom: 16px; }
.tf-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.tf-lab { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.tf-arr { color: var(--clay); font-size: 18px; }

.plans { display: grid; gap: 12px; }
.plan { position: relative; display: flex; align-items: center; justify-content: space-between;
  background: var(--card); border: 2px solid var(--line); border-radius: var(--r-md); padding: 16px; cursor: pointer;
  box-shadow: var(--shadow-sm); transition: border-color .15s var(--ease); }
.plan.on { border-color: var(--clay); background: var(--clay-tint); }
.plan.pop { border-color: var(--clay); }
.plan.pop { padding-top: 42px; }
.poptag { position: absolute; top: 0; left: 0; right: 0; background: var(--clay); color: #fff; font-size: 12.5px; font-weight: 700; padding: 7px 10px; border-radius: var(--r-md) var(--r-md) 0 0; text-align: center; }
.pl-l { display: flex; align-items: center; gap: 12px; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.plan.on .radio { border-color: var(--clay); background: radial-gradient(circle at 50% 50%, #fff 0 30%, var(--clay) 42%); }
.pl-n { font-weight: 700; font-size: 15.5px; }
.pl-then { color: var(--ink-soft); font-size: 12.5px; margin-top: 2px; }
.pl-r { text-align: right; }
.pl-old { color: var(--muted); text-decoration: line-through; font-size: 12px; }
.pl-now { font-weight: 700; font-size: 18px; }
.pl-off { color: var(--good); font-weight: 700; font-size: 11px; }

.pays { text-align: center; color: var(--muted); font-size: 12.5px; margin-top: 12px; }
.payment-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; }
.pay-lab { width: 100%; display: flex; align-items: center; justify-content: center; gap: 6px; margin-bottom: 2px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.pay-lab svg { display: block; width: 18px; height: 18px; color: var(--teal); }
.payment-badge { display: grid; place-items: center; width: 62px; height: 40px; padding: 3px 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); box-shadow: var(--shadow-sm); }
.payment-badge img { display: block; width: 100%; height: 100%; object-fit: contain; }
.payment-secure { width: 100%; color: var(--muted); font-size: 12.5px; text-align: center; margin-top: 2px; }

/* offer/value card */
.offercard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-sm); margin: 14px 0; }
.offer-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.offer-top > span:first-child { font-weight: 700; font-size: 15px; }
.offer-deal { background: var(--clay); color: #fff; font-weight: 700; font-size: 12px; padding: 4px 11px; border-radius: var(--r-pill); }
.incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.incl li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--ink-soft); }
.incl li::before { content: "✓"; position: absolute; left: 4px; color: var(--good); font-weight: 800; }

/* per-day price on plan cards */
.pl-perday { line-height: 1; text-align: right; }
.pl-perday b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.pl-perday span { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.poptag.best { background: var(--teal); }

/* dynamic subscription disclaimer under CTA */
.subdisc { color: var(--ink-soft); font-size: 12.5px; line-height: 1.5; text-align: center; margin: 4px 0 12px; background: var(--bg-sink); border-radius: var(--r-sm); padding: 10px 14px; }

.sec2 { font-family: var(--font-display); font-weight: 500; font-size: 23px; line-height: 1.18; text-align: center; margin: 34px 0 14px; }
.sec-ic { display: flex; justify-content: center; font-size: 30px; margin-top: 30px; color: var(--clay); }
.sec-ic svg { display: block; width: 44px; height: 44px; }
.goals { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.goals li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px 14px 42px; position: relative; font-size: 15px; box-shadow: var(--shadow-sm); }
.goals li::before { content: "✓"; position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--good); font-weight: 800; }

.methods { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.methods span { background: var(--bg-sink); color: var(--ink-soft); font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: var(--r-pill); }

.faqs { display: grid; gap: 10px; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 16px; font-size: 15px; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; font-family: inherit; }
.faq-q span { color: var(--clay); font-weight: 400; font-size: 20px; transition: transform .2s var(--ease); }
.faq.open .faq-q span { transform: rotate(45deg); }
.faq-chev { flex: none; width: 22px; height: 22px; display: grid; place-items: center; color: var(--muted); transition: transform .25s var(--ease); }
.faq-chev svg { display: block; width: 20px; height: 20px; }
.faq.open .faq-chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s var(--ease); color: var(--ink-soft); font-size: 14.5px; padding: 0 16px; }
.faq.open .faq-a { max-height: 240px; padding-bottom: 16px; }

.guar { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm); margin-top: 8px; }
.guar-ic { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--clay-tint); color: var(--clay); display: grid; place-items: center; }
.guar-ic svg { display: block; width: 34px; height: 34px; }
.guar .illus { margin: 0 auto 14px; }
.guar b { font-size: 18px; }
.guar p { color: var(--ink-soft); font-size: 14.5px; margin: 8px auto 0; max-width: 34ch; line-height: 1.55; }

/* photo testimonials (paywall) */
.testimonials { margin-top: 42px; }
.testimonials-head { text-align: center; margin-bottom: 28px; }
.testimonials-heart { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 14px;
  background: var(--card); border-radius: 22px; box-shadow: var(--shadow-sm); font-size: 36px; }
.testimonials-head h2 { margin: 0; font-family: var(--font-display); font-size: 32px; font-weight: 600; line-height: 1.15; }
.testimonials-head p { margin: 10px 0 0; color: var(--ink-soft); font-size: 16px; }
.testimonial { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 18px; align-items: center;
  padding: 20px 0; border-bottom: 1px solid var(--line); }
.testimonial:last-child { border-bottom: 0; }
.testimonial-photo { width: 124px; height: 170px; border-radius: 20px; object-fit: cover; background: var(--bg-sink); }
.testimonial-copy p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; line-height: 1.52; }
.testimonial-copy > div { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.testimonial-stars { color: var(--sun); letter-spacing: 2px; font-size: 16px; white-space: nowrap; }
.testimonial-copy strong { font-size: 14px; }

.pwfoot { text-align: center; color: var(--muted); font-size: 12.5px; padding: 30px 0 20px; }
.pwfoot a { color: var(--ink-soft); text-decoration: none; margin: 0 10px; line-height: 2.2; display: inline-block; }
.pwfoot p { margin: 6px 0 0; }

/* ===== social proof chip wall ===== */
.chipwall { display: flex; flex-direction: column; gap: 14px; margin-top: 6px; overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.chiprow { overflow: hidden; }
.chiptrack { display: inline-flex; gap: 14px; width: max-content;
  animation: chip-marquee var(--dur, 26s) linear infinite; animation-direction: var(--dir, normal); }
.chip { display: inline-flex; align-items: center; gap: 13px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 9px 24px 9px 9px; box-shadow: var(--shadow-sm); font-size: 17px; font-weight: 600; color: var(--ink); white-space: nowrap; flex: none; }
.chip img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--bg-sink); flex: none; }
@keyframes chip-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== expert / credibility ===== */
.expert-visual { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 3; margin: 0 auto;
  border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(160deg, #E7F0F1, #D6E6E8); }
.expert-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.expert-visual.noimg::after { content: "🧠"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 90px; }
.ev-tag { position: absolute; background: var(--card); color: var(--ink); font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.ev-tag.t1 { top: 16%; left: 10%; } .ev-tag.t2 { top: 16%; right: 10%; } .ev-tag.t3 { bottom: 24%; left: 50%; transform: translateX(-50%); }
.expert-card { display: flex; align-items: center; gap: 14px; text-align: left; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; box-shadow: var(--shadow-sm);
  width: min(100%, 420px); margin: -34px auto 0; position: relative; z-index: 2; }
.ec-face { width: 56px; height: 60px; border-radius: 12px; object-fit: cover; flex: none; background: var(--bg-sink); }
.ec-badge { display: inline-flex; align-items: center; gap: 5px; background: #E2EFEA; color: var(--good); font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: var(--r-pill); margin-bottom: 5px; }
.ec-badge svg { display: block; flex: none; }
.ec-name { font-weight: 700; font-size: 15px; }
.ec-role { color: var(--ink-soft); font-size: 12.5px; }

/* ===== evidence-based (stacked institution cards) ===== */
.unis { display: grid; width: min(100%, 330px); margin: 0 auto; }
.uni { background: var(--bg-sink); border-radius: var(--r-lg); padding: 26px 18px; text-align: center; }
.uni:first-child { padding-bottom: 40px; }
.uni:last-child { padding-top: 40px; }
.uni.featured { position: relative; z-index: 2; margin: -18px 0; padding: 32px 18px;
  background: var(--card); box-shadow: var(--shadow-lg); }
.uni-pre { display: block; font-size: 13px; letter-spacing: .08em; color: var(--ink-soft); }
.uni-name { display: block; font-family: var(--font-display); font-weight: 600; font-size: 26px; letter-spacing: .02em; color: var(--ink); margin-top: 2px; }

/* ===== scratch card ===== */
.scratch-card { position: relative; width: 240px; max-width: 82%; aspect-ratio: 240 / 250; margin: 28px auto 0;
  border-radius: 20px; overflow: hidden; box-shadow: 0 16px 44px rgba(240, 150, 80, .3); }
.scratch-reward { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 2px; background: linear-gradient(160deg, #E7F1E8, #D2E7D8); }
.sr-gift { font-size: 34px; }
.sr-lab { font-weight: 600; color: var(--ink); font-size: 14px; }
.sr-pct { font-family: var(--font-display); font-weight: 600; font-size: 46px; color: var(--good); line-height: 1.05; }
.sr-sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 4px; }
.scratch-canvas { position: absolute; inset: 0; touch-action: none; cursor: grab; }
.scratch-canvas:active { cursor: grabbing; }

/* reward modal */
.rmodal { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(42,37,33,.45); }
.rmodal[hidden] { display: none; }
.rmodal-card { position: relative; width: min(100%, 360px); background: var(--card); border-radius: var(--r-lg);
  padding: 32px 24px 22px; text-align: center; box-shadow: var(--shadow-lg); }
.rm-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px 14px; font-weight: 700; font-size: 13px; box-shadow: var(--shadow-sm); }
.rm-gift { font-size: 50px; margin: 4px 0 14px; }
.rm-lab { color: var(--ink-soft); font-size: 14px; }
.rm-pct { font-family: var(--font-display); font-weight: 600; font-size: 34px; margin: 2px 0 20px; }
.rmodal-card .cta { margin-bottom: 12px; }
.anim-pop { animation: pop .32s var(--ease-spring) both; }
@keyframes pop { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }

/* confetti */
.confetti-host { position: fixed; inset: 0; z-index: 130; pointer-events: none; overflow: hidden; }
.confetti-p { position: absolute; left: 50%; top: 44%; width: 9px; height: 14px; border-radius: 2px;
  animation: confetti 1.35s var(--ease) forwards; }
@keyframes confetti {
  0% { transform: translate(-50%, -50%) rotate(0); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--r)); opacity: 0; }
}

@media (max-height: 680px) {
  .scale-stage { padding-top: 44px; padding-bottom: 36px; }
  .question-visual { width: min(58%, 210px); }
  .menu-panel { gap: 14px; padding-top: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .anim-in, .anim-pop { animation: none; }
  .menu-overlay, .menu-panel, .fbar .hoomi-mark, .progress > i { transition: none; }
  .question-visual.is-loaded::before { animation: none; opacity: .29; transform: scale(1.04); }
  .confetti-host { display: none; }
  .chiptrack { animation: none; }
  .fc-line, .fc-area, .fc-dot, .fc-arrow, .fchart .fpill, .bar { animation: none; opacity: 1; stroke-dashoffset: 0; }
}
