:root {
  --bg: #F7F3EC;
  --card: #FFFFFF;
  --ink: #15223A;
  --muted: #4B5565;
  --line: #E4DCCF;
  --brand: #15223A;
  --brand-dark: #122746;
  --brand-tint: #E8EEF8;
  --accent: #E8622A;
  --accent-dark: #CF5320;
  --accent-tint: #FFE1D3;
  --react: #E8EEF8;
  --react-line: #C7D3E8;
  --warn: #FFF0C2;
  --warn-line: #F2C77A;
  --danger: #D2541F;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(21, 34, 58, .06), 0 4px 16px rgba(21, 34, 58, .06);
  --serif: "Fredoka", "Nunito", -apple-system, sans-serif;
  --sans: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; }
a { color: var(--brand); }

.app { max-width: 560px; margin: 0 auto; min-height: 100vh; display: flex; flex-direction: column; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--bg); padding: 10px 16px 0; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.logo { display: block; height: 28px; width: auto; }
.back, .back-spacer { width: 40px; height: 40px; }
.back { border: 0; background: transparent; border-radius: 50%; cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.back:hover { background: rgba(0,0,0,.05); }
.back[hidden] { visibility: hidden; display: grid; }

.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.progress[hidden] { display: none; }
.seg { display: flex; flex-direction: column; gap: 4px; }
.seg-bar { height: 5px; background: var(--line); border-radius: 99px; overflow: hidden; }
.seg-fill { height: 100%; background: var(--brand); width: 0; transition: width .35s ease; }
.seg-label { font-size: 10px; letter-spacing: .08em; font-weight: 600; color: #A9A196; text-transform: uppercase; }
.seg.active .seg-label { color: var(--brand-dark); }

.value-strip { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); text-align: center; padding: 8px 0 10px; border-bottom: 1px solid var(--line); }
.value-strip[hidden] { display: none; }

/* ---------- Screen ---------- */
.screen { flex: 1; padding: 22px 16px 24px; animation: fadeIn .28s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.eyebrow { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
h1, h2 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 10px; letter-spacing: -.005em; color: var(--ink); }
h1 { font-size: 30px; }
h2 { font-size: 25px; }
.sub { color: var(--muted); margin: 0 0 18px; }
.small { font-size: 13px; color: var(--muted); }
.center { text-align: center; }

/* ---------- Options ---------- */
.options { display: flex; flex-direction: column; gap: 10px; margin: 18px 0; }
.opt {
  width: 100%; text-align: left; min-height: 58px; padding: 14px 16px;
  background: var(--card); border: 1.5px solid var(--line); border-radius: 14px;
  cursor: pointer; display: flex; align-items: center; gap: 12px; transition: border-color .15s, background .15s, transform .08s;
  box-shadow: 0 1px 1px rgba(0,0,0,.02);
}
.opt:hover { border-color: #CFC4B3; }
.opt:active { transform: scale(.99); }
.opt.selected { border-color: var(--brand); background: var(--brand-tint); }
.opt .emoji { font-size: 20px; width: 26px; text-align: center; flex: none; }
.opt .opt-text { flex: 1; }
.opt .opt-desc { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.check { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid #C9BFAE; flex: none; display: grid; place-items: center; background: #fff; }
.opt.selected .check { background: var(--brand); border-color: var(--brand); }
.opt.selected .check::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.divider { height: 1px; background: var(--line); margin: 4px 0; }

.age-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0 10px; }
.age-btn { aspect-ratio: 1 / 1; border-radius: 16px; border: 1.5px solid var(--line); background: var(--card); font-family: var(--serif); font-size: 26px; font-weight: 700; cursor: pointer; color: var(--brand-dark); transition: border-color .15s, background .15s; }
.age-btn:hover { border-color: var(--brand); background: var(--brand-tint); }
.age-alt { display: flex; gap: 10px; }
.age-alt .opt { justify-content: center; min-height: 48px; font-size: 14px; }

.cards-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.pic-card { border: 1.5px solid var(--line); background: var(--card); border-radius: 18px; overflow: hidden; cursor: pointer; padding: 0; text-align: center; transition: border-color .15s; }
.pic-card:hover { border-color: var(--brand); }
.pic-card .pic { height: 150px; display: grid; place-items: center; font-size: 64px; }
.pic-card .pic.boy { background: linear-gradient(160deg, #DCEBF6, #EEF5FA); }
.pic-card .pic.girl { background: linear-gradient(160deg, #F8E3E6, #FBF0F1); }
.pic-card .pic-label { padding: 12px; font-weight: 600; }

/* ---------- Helper boxes ---------- */
.why { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; margin: 16px 0; font-size: 14px; color: var(--muted); }
.why strong { display: block; color: var(--brand-dark); font-size: 13px; letter-spacing: .02em; margin-bottom: 4px; }
.why a { font-size: 13px; }
.didyouknow { background: var(--brand); color: #fff; border: 0; }
.didyouknow strong { color: #fff; }
.didyouknow a { color: #FFB38A; }
.react-card { background: var(--react); border: 1px solid var(--react-line); border-radius: 14px; padding: 14px 16px; font-size: 14px; margin: 10px 0; animation: fadeIn .25s ease; }
.react-card b { display: block; margin-bottom: 2px; }
.warn-box { background: var(--warn); border: 1px solid var(--warn-line); border-radius: 14px; padding: 14px 16px; font-size: 14px; margin: 12px 0; }

/* ---------- Inputs ---------- */
.field-label { font-weight: 600; font-size: 14px; margin: 14px 0 6px; display: block; }
.unit-toggle { display: inline-flex; background: #EFE7DA; border-radius: 99px; padding: 3px; margin-bottom: 10px; }
.unit-toggle button { border: 0; background: transparent; padding: 6px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--muted); }
.unit-toggle button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.h-inputs { display: flex; gap: 10px; }
.h-inputs select, .h-inputs input, .text-input {
  flex: 1; height: 54px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  font: inherit; font-size: 17px; padding: 0 14px; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.h-inputs select { background-image: linear-gradient(45deg, transparent 50%, #8A8176 50%), linear-gradient(135deg, #8A8176 50%, transparent 50%); background-position: calc(100% - 18px) 23px, calc(100% - 13px) 23px; background-size: 5px 5px; background-repeat: no-repeat; }
.h-inputs select:focus, .h-inputs input:focus, .text-input:focus { outline: none; border-color: var(--brand); }
.text-input { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 8px 14px; font-size: 14px; cursor: pointer; }
.chip.selected { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; }
.linkish { background: none; border: 0; color: var(--brand); text-decoration: underline; font-size: 14px; cursor: pointer; padding: 6px 0; }
.measure-card { background: var(--card); border: 1px dashed #CBBFAA; border-radius: 14px; padding: 14px 16px; font-size: 14px; margin: 8px 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 18px 0 0; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--brand); flex: none; }
.parent-block { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 14px 14px; margin-bottom: 12px; }
.parent-block.disabled .h-inputs { opacity: .35; pointer-events: none; }

.scale-row { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; }
.scale-row .scale-title { font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.scale-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.scale-btns button { border: 1.5px solid var(--line); background: #FDFBF7; border-radius: 12px; padding: 10px 4px; font-size: 13px; font-weight: 600; cursor: pointer; }
.scale-btns button.selected { border-color: var(--brand); background: var(--brand-tint); color: var(--brand-dark); }

/* ---------- CTA ---------- */
.cta-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; background: var(--bg); padding: 18px 16px calc(14px + env(safe-area-inset-bottom)); box-shadow: 0 -4px 12px rgba(21,34,58,.08); }
.cta-inner { max-width: 528px; margin: 0 auto; }
.btn { width: 100%; height: 56px; border: 0; border-radius: 99px; background: var(--accent); color: #fff; font-weight: 800; font-size: 16px; cursor: pointer; transition: background .15s, opacity .15s; display: flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.btn:hover { background: var(--accent-dark); }
.btn:disabled { opacity: .35; cursor: not-allowed; }
.btn.secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.skip { display: block; margin: 10px auto 0; background: none; border: 0; color: var(--muted); font-size: 14px; text-decoration: underline; cursor: pointer; }

/* ---------- Intro / interstitial ---------- */
.hero-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; margin: 4px 0 20px; background: #EDE5D8; }
.badge-row { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px; margin-top: 18px; font-size: 14px; }
.badge-row .b-ico { font-size: 28px; }
.milestone { width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--accent); display: grid; place-items: center; font-size: 34px; margin: 10px auto 18px; }

/* ---------- Recap ---------- */
.recap { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 16px 0; }
.recap-head { background: var(--brand); color: #fff; padding: 12px 16px; font-weight: 600; }
.recap-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; }
.recap-row span:first-child { color: var(--muted); }
.recap-row span:last-child { font-weight: 600; text-align: right; }

/* ---------- Loader ---------- */
.loader-steps { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-direction: column; gap: 14px; }
.loader-steps li { display: flex; gap: 12px; align-items: center; color: #A9A196; font-size: 15px; transition: color .3s; }
.loader-steps li .dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: grid; place-items: center; font-size: 13px; }
.loader-steps li.active { color: var(--ink); }
.loader-steps li.active .dot { border-color: var(--brand); border-top-color: transparent; animation: spin .8s linear infinite; }
.loader-steps li.done { color: var(--ink); }
.loader-steps li.done .dot { background: var(--brand); border-color: var(--brand); color: #fff; animation: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.big-bar { height: 10px; background: var(--line); border-radius: 99px; overflow: hidden; }
.big-bar div { height: 100%; width: 0; background: var(--brand); transition: width .4s ease; }

.modal { position: fixed; inset: 0; z-index: 50; background: rgba(21, 34, 58, .5); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-card { background: #fff; border-radius: 20px; padding: 22px 20px; max-width: 380px; width: 100%; text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,.2); animation: fadeIn .2s ease; }
.modal-card p { font-size: 17px; font-weight: 600; margin: 0 0 16px; }
.modal-card .modal-btns { display: flex; flex-direction: column; gap: 8px; }
.modal-card .note { font-size: 14px; color: var(--muted); font-weight: 400; }

/* ---------- Results ---------- */
.r-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; margin: 14px 0; box-shadow: var(--shadow); }
.r-card h3 { font-family: var(--serif); font-size: 19px; margin: 0 0 8px; }
.r-big { font-size: 20px; font-weight: 700; margin: 8px 0 4px; }
.chart-wrap svg { width: 100%; height: auto; display: block; }
.formula { background: #F7F2E9; border-radius: 12px; padding: 12px 14px; font-size: 14px; margin-top: 10px; }
.formula code { font-family: var(--sans); font-weight: 700; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.tile { border: 1px solid var(--line); border-radius: 14px; padding: 12px; background: #FDFBF7; }
.tile .t-label { font-size: 12px; color: var(--muted); }
.tile .t-val { font-weight: 700; font-size: 15px; margin-top: 2px; }
.tile.flag .t-val { color: var(--danger); }
.tile.good .t-val { color: var(--brand); }
.disclaimer { font-size: 12px; color: var(--muted); margin-top: 18px; }

/* ---------- Plan ---------- */
.step { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; margin: 12px 0; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; display: grid; place-items: center; flex: none; }
.step h4 { margin: 0 0 4px; font-size: 16px; }
.step p { margin: 0; font-size: 14px; color: var(--muted); }
.email-card { background: var(--brand-tint); border-radius: 18px; padding: 16px; margin: 18px 0; }
.email-card h4 { margin: 0 0 4px; }
.email-row { display: flex; gap: 8px; margin-top: 10px; }
.email-row .text-input { height: 48px; }
.email-row .btn { width: auto; padding: 0 18px; height: 48px; }

/* ---------- Product page ---------- */
.pdp-banner { background: var(--accent-tint); color: var(--brand-dark); border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: 14px; text-align: center; margin-bottom: 16px; }
.product-shot { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; margin-bottom: 18px; background: #EDE5D8; }
.bullets { list-style: none; padding: 0; margin: 14px 0; }
.bullets li { padding: 6px 0 6px 28px; position: relative; font-size: 15px; }
.bullets li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.bundles { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 8px; }
.bundle { border: 2px solid var(--line); border-radius: 16px; background: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 12px; cursor: pointer; position: relative; text-align: left; width: 100%; }
.bundle.selected { border-color: var(--brand); background: var(--brand-tint); }
.bundle .radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C9BFAE; flex: none; }
.bundle.selected .radio { border: 6px solid var(--brand); }
.bundle .b-main { flex: 1; }
.bundle .b-title { font-weight: 700; }
.bundle .b-per { font-size: 13px; color: var(--muted); }
.bundle .b-price { font-weight: 700; text-align: right; }
.bundle .b-compare { display: block; font-size: 12px; color: var(--muted); text-decoration: line-through; font-weight: 400; }
.bundle .b-badge { position: absolute; top: -10px; right: 14px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 99px; }
.why3 { font-size: 13px; color: var(--muted); background: #F7F2E9; border-radius: 12px; padding: 10px 12px; }
.upgrade-nudge { display: block; text-align: center; margin: 10px 0 0; font-weight: 700; color: var(--accent); background: none; border: 0; cursor: pointer; text-decoration: underline; width: 100%; }
.sub-toggle { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin: 12px 0; font-size: 14px; cursor: pointer; }
.sub-toggle input { width: 20px; height: 20px; accent-color: var(--brand); margin-top: 1px; flex: none; }
.guarantee { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--line); background: #fff; border-radius: 18px; padding: 16px; margin: 18px 0; }
.guarantee .g-ico { font-size: 34px; }
.compare { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.compare th, .compare td { padding: 11px 10px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare th { background: #F7F2E9; font-size: 13px; }
.compare td.yes { color: var(--brand); font-weight: 700; }
.compare td.no { color: var(--muted); }
.section { margin: 30px 0 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 2px; }
.faq summary { font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.fda { font-size: 11px; color: var(--muted); margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- Preview placeholders ---------- */
.ph { background: #FFE58A; color: #6B5300; border-radius: 4px; padding: 0 4px; font-weight: 600; font-size: .92em; }
body.live .ph { background: none; color: inherit; padding: 0; font-weight: inherit; }

@media (min-width: 600px) {
  h1 { font-size: 34px; }
  .screen { padding-top: 30px; }
}

/* ---------- Footer (legal links; bottom padding clears the fixed CTA bar) ---------- */
.site-footer { text-align: center; font-size: 12px; color: var(--muted); padding: 100px 16px 24px; border-top: none; margin: 0 16px; }
.site-footer a { color: var(--muted); }
.site-footer span { margin: 0 6px; }
.site-footer div { margin-top: 4px; }

/* ---------- Qualification reveal ---------- */
.fit-list { list-style: none; padding: 0; margin: 6px 0 12px; }
.fit-list li { position: relative; padding-left: 26px; margin: 8px 0; font-size: 15px; }
.fit-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; margin-top: 2px; }
.score-card { border: 2px solid var(--accent); }
.score-row { display: flex; gap: 14px; align-items: center; }
.score-num { font-family: var(--serif); font-weight: 700; font-size: 44px; line-height: 1; color: var(--accent); flex: none; }
.score-num span { font-size: 16px; color: var(--muted); font-weight: 600; }
.score-bar { height: 10px; background: var(--accent-tint); border-radius: 99px; overflow: hidden; margin-top: 14px; }
.score-bar div { height: 100%; background: var(--accent); border-radius: 99px; }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0; }
.ba-col { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 12px; }
.ba-col.after { background: var(--brand); border-color: var(--brand); color: #fff; }
.ba-head { font-family: var(--serif); font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.ba-row { padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.ba-col.after .ba-row { border-top-color: rgba(255,255,255,.18); }
.ba-row span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.ba-row b { font-weight: 700; }
.ba-visual { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 16px; margin: 16px 0; }
.ba-visual h3 { margin: 0 0 16px; font-size: 18px; text-align: center; }
.ba-photo-wrap { position: relative; border-radius: 12px; overflow: hidden; }
.ba-photo-combined { width: 100%; display: block; border-radius: 12px; }
.ba-tag { position: absolute; bottom: 48px; padding: 6px 12px; border-radius: 8px; font-family: var(--serif); font-weight: 700; font-size: 20px; line-height: 1.2; text-align: center; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ba-tag span { display: block; font-family: var(--sans); font-weight: 600; font-size: 11px; opacity: .85; }
.ba-tag-left { left: 10%; background: rgba(255,255,255,.85); color: var(--ink); }
.ba-tag-right { right: 10%; background: rgba(232,98,42,.9); color: #fff; }
.ba-social { background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); padding: 12px; margin: 20px 0 0; }
.ba-social-img { width: 100%; display: block; border-radius: 10px; }
.ba-social-labels { display: flex; justify-content: space-between; padding: 10px 20px 0; font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--ink); }

.urgency { background: var(--accent-tint); border-color: #F7C3A8; }
.urgency a { color: var(--accent-dark); }

/* ---------- Upgraded icon tiles ---------- */
.tile2 { border: 1px solid var(--line); border-radius: 16px; padding: 16px 12px; background: #FDFBF7; text-align: center; }
.tile2 .t-icon { margin-bottom: 6px; }
.tile2 .t-icon svg { width: 26px; height: 26px; }
.tile2 .t-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.tile2 .t-val { font-weight: 700; font-size: 15px; margin-top: 4px; }
.tile2.flag .t-val { color: var(--danger); }
.tile2.flag .t-icon { color: var(--danger); }
.tile2.good .t-val { color: var(--brand); }
.tile2.good .t-icon { color: var(--brand); }
.tile2.accent .t-val { color: var(--accent); }
.tile2.accent .t-icon { color: var(--accent); }
.t-signal { display: flex; gap: 4px; justify-content: center; margin-top: 10px; }
.t-signal span { width: 22px; height: 5px; border-radius: 99px; background: var(--line); }
.tile2.flag .t-signal span.on { background: var(--danger); }
.tile2.good .t-signal span.on { background: var(--brand); }
.tile2.accent .t-signal span.on { background: var(--accent); }

/* ---------- Alert card ---------- */
.alert-card { background: var(--accent-tint); border: 1.5px solid #F0B696; border-radius: 16px; padding: 16px 18px; margin: 14px 0; }
.alert-card .a-body { font-size: 15px; line-height: 1.5; }
.alert-card .a-body b { color: var(--accent-dark); }

/* ---------- Growth potential slider ---------- */
.gp-slider { margin: 14px 0 16px; }
.gp-track { position: relative; height: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--line) 0%, #F2C77A 35%, var(--accent) 70%, #C24B18 100%); }
.gp-marker { position: absolute; top: 50%; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: 0 2px 8px rgba(0,0,0,.18); transform: translate(-50%, -50%); }
.gp-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.gp-labels .active { color: var(--accent); font-weight: 800; font-size: 12px; }
.gp-verdict { text-align: center; margin-top: 4px; }
.gp-verdict b { font-size: 18px; font-family: var(--serif); color: var(--accent); }
.gp-verdict p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }

/* ---------- Visual comparison bars ---------- */
.vcomp { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px; margin: 16px 0; box-shadow: var(--shadow); }
.vcomp h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 14px; }
.vcomp-row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.vcomp-row:last-child { border-bottom: 0; padding-bottom: 0; }
.vcomp-row:first-child { padding-top: 0; }
.vcomp-metric { font-size: 13px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.vcomp-pair { display: grid; grid-template-columns: 40px 1fr auto; gap: 8px; align-items: center; margin-bottom: 6px; }
.vcomp-pair:last-child { margin-bottom: 0; }
.vcomp-tag { font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.vcomp-track { height: 10px; border-radius: 99px; background: var(--line); overflow: hidden; }
.vcomp-fill-now { height: 100%; border-radius: 99px; background: var(--danger); }
.vcomp-fill-goal { height: 100%; border-radius: 99px; background: var(--brand); }
.vcomp-val { font-size: 11px; font-weight: 600; color: var(--muted); min-width: 80px; text-align: right; }
.vcomp-pair.goal .vcomp-tag { color: var(--brand); }
.vcomp-pair.goal .vcomp-val { color: var(--brand); }

/* ---------- Homepage hero: The Crowd (warm cream, social proof) ---------- */
body.home-mode { background: #F7F3EC; }
body.home-mode .topbar { display: none; }
body.home-mode .app { max-width: none; }
body.home-mode .screen { padding: 0; animation: none; }

.home-wrap {
  min-height: 100vh; min-height: 100dvh;
  background: #F7F3EC;
  color: #15223A;
  display: flex; flex-direction: column;
  max-width: 560px;
  margin: 0 auto;
}
.home-bar {
  padding: 18px 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.home-brand {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ink);
}
.home-stars {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
}
.home-headline {
  font-family: var(--serif);
  font-size: clamp(22px, 5.5vw, 28px);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  padding: 20px 20px 18px;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
}
.home-hero-img {
  padding: 0 20px;
  margin-bottom: 22px;
}
.home-hero-img img {
  width: 100%;
  border-radius: 16px;
  display: block;
  box-shadow: 0 4px 24px rgba(21,34,58,.10);
}
.home-checks {
  list-style: none;
  padding: 0 24px;
  margin: 0 0 24px;
  display: flex; flex-direction: column;
  gap: 10px;
}
.home-checks li {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}
.home-checks li .hc-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
}
.home-q {
  background: rgba(21,34,58,.03);
  border-radius: 16px;
  margin: 0 16px;
  padding: 28px 20px 32px;
  text-align: center;
}
.home-q h2 {
  font-family: var(--serif);
  font-size: 20px;
  margin: 0 0 6px;
  color: var(--ink);
}
.home-q-hint {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 18px;
}
.home-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.home-opt {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 16px 14px;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--sans);
  cursor: pointer;
  text-align: left;
  line-height: 1.3;
  transition: transform .15s, background .15s, box-shadow .15s;
}
.home-opt:hover, .home-opt:focus-visible {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232,98,42,.3);
}
.home-opt:active { transform: translateY(0); }
.home-trust {
  text-align: center;
  padding: 24px 16px 10px;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  opacity: .3;
}
.home-disc {
  text-align: center;
  font-size: 10px;
  color: var(--ink);
  opacity: .25;
  padding: 0 24px;
  max-width: 700px;
  margin: 6px auto 0;
  line-height: 1.5;
}
.home-copy {
  text-align: center;
  font-size: 10px;
  color: var(--ink);
  opacity: .25;
  padding: 12px 24px 28px;
  margin: 0;
}
@media (max-width: 700px) {
  .home-options { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .home-opt { text-align: center; }
}
