/* =================================================================
   STEADY PAWS — STYLES (v4)
   Brand theme = docs/BRAND_KIT.md tokens. [data-theme=fresh] is an
   alternative palette for A/B testing (forest green + apricot).
   ================================================================= */
:root {
  --blue: #1D3461; --blue-70: rgba(29, 52, 97, .72); --blue-45: rgba(29, 52, 97, .45); --blue-12: rgba(29, 52, 97, .12);
  --ball: #C8D932; --ball-press: #B8C82A; --ball-soft: rgba(200, 217, 50, .28);
  --paper: #FAFAF7; --white: #FFFFFF; --kibble: #8A6F4D;
  --sky: #E8EEF7; --sky-line: #D5DFEC; --clay: #C4502F;
  --on-ball: #1D3461; --hl: #1D3461;
  --ph-a: #DCE6F6; --ph-b: #F3EBD6; --ph-c: #E4F0D8; --ph-d: #F6E3DC;
  --r: 16px; --r-sm: 11px; --shadow: 0 1px 2px rgba(29, 52, 97, .05), 0 6px 18px rgba(29, 52, 97, .06);
}
[data-theme="fresh"] {
  --blue: #1F3A2E; --blue-70: rgba(31, 58, 46, .74); --blue-45: rgba(31, 58, 46, .45); --blue-12: rgba(31, 58, 46, .12);
  --ball: #FF8A5B; --ball-press: #F3774A; --ball-soft: rgba(255, 138, 91, .28);
  --paper: #FBF7F1; --white: #FFFFFF; --kibble: #7D6B5A;
  --sky: #EEF2EA; --sky-line: #DCE3D6; --clay: #C4502F;
  --on-ball: #1F3A2E; --hl: #E2683B;
  --ph-a: #E3EADF; --ph-b: #FBE7D3; --ph-c: #DDE9E2; --ph-d: #F7DFD3;
  --shadow: 0 1px 2px rgba(31, 58, 46, .05), 0 6px 18px rgba(31, 58, 46, .07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--paper); color: var(--blue); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
body.modal-open { overflow: hidden; }
h1, h2, h3, .btn, .brand, .plan-title, .plan-price b, .modal-q, .tile-label, .week-tag, .g-badge, .ring span { font-family: "Fredoka", system-ui, sans-serif; font-weight: 600; line-height: 1.2; }
button { font: inherit; color: inherit; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--ball); outline-offset: 3px; border-radius: 6px; }
h1:focus { outline: none; }
[hidden] { display: none !important; }
.hl { font-style: normal; color: var(--hl); }
[data-theme="brand"] .hl { background: linear-gradient(transparent 62%, var(--ball-soft) 62%); }

/* ---------- shell ---------- */
.shell { max-width: 520px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 0 16px; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 10px; }
.brand { display: flex; align-items: center; gap: 9px; font-size: 18px; }
.brand svg { width: 26px; height: 26px; }
.step-count { font-size: 13px; color: var(--kibble); }

.bar-row { display: flex; align-items: flex-start; gap: 6px; padding-bottom: 20px; }
.back { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: none; border: none; cursor: pointer; color: var(--kibble); margin-top: -4px; }
.back svg { width: 20px; height: 20px; }
.back:disabled { visibility: hidden; }

/* 4-chapter stepper */
.chapters { list-style: none; flex: 1; display: flex; align-items: flex-start; }
.chapters li { flex: 1; display: flex; align-items: center; position: relative; }
.chapters li:last-child { flex: 0 0 auto; }
.ch-dot { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--sky-line); background: var(--white); font-size: 12px; font-weight: 700; display: grid; place-items: center; color: var(--kibble); position: relative; z-index: 1; }
.chapters li.now .ch-dot { border-color: var(--blue); color: var(--blue); }
.chapters li.done .ch-dot { background: var(--ball); border-color: var(--ball); }
.chapters li.done .ch-dot::after { content: ""; width: 5px; height: 9px; border: solid var(--on-ball); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); margin-top: -2px; }
.ch-label { position: absolute; top: 27px; left: 0; font-size: 10.5px; color: var(--kibble); white-space: nowrap; }
.chapters li.now .ch-label { color: var(--blue); font-weight: 600; }
.chapters li:last-child .ch-label { left: auto; right: 0; }
.ch-line { flex: 1; height: 3px; background: var(--sky-line); margin: 0 4px; border-radius: 2px; overflow: hidden; }
.ch-line i { display: block; height: 100%; width: 0; background: var(--ball); transition: width .35s ease; }
@media (max-width: 380px) { .ch-label { display: none; } }

main { flex: 1; padding: 14px 0 36px; }
.screen { animation: enter .24s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

h1 { font-size: 27px; margin-bottom: 8px; letter-spacing: -.2px; }
h2 { font-size: 21px; margin: 34px 0 12px; }
h3 { font-size: 17px; margin: 18px 0 8px; }
.sub { color: var(--blue-70); margin-bottom: 20px; }
.why { font-size: 13.5px; color: var(--kibble); margin: -8px 0 18px; }
.lead { color: var(--blue-70); margin-bottom: 14px; }
.lead.small { font-size: 15px; margin-top: 6px; }
.fine { font-size: 12.5px; color: var(--kibble); margin-top: 10px; }
.fine.center { text-align: center; }
.legal { font-size: 12px; color: var(--kibble); text-align: center; margin-top: 16px; }
.badge { display: inline-block; margin-bottom: 14px; background: var(--blue); color: var(--white); border-radius: 999px; padding: 5px 13px; font-size: 13.5px; font-weight: 600; }
.badge + h1 { margin-top: 2px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 9px; margin-bottom: 14px; }
.ticks li { padding-left: 30px; position: relative; color: var(--blue-70); }
.ticks li b { color: var(--blue); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ball); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 10px; border: solid var(--on-ball); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- pictures ---------- */
.pic { display: block; width: 100%; height: auto; object-fit: cover; border-radius: inherit; }
.ph { position: relative; aspect-ratio: 6 / 5; display: grid; place-items: center; background: linear-gradient(135deg, var(--ph-a), var(--white)); overflow: hidden; }
.ph-1 { background: linear-gradient(135deg, var(--ph-b), var(--white)); }
.ph-2 { background: linear-gradient(135deg, var(--ph-c), var(--white)); }
.ph-3 { background: linear-gradient(135deg, var(--ph-d), var(--white)); }
.ph i { font-style: normal; font-size: 46px; filter: saturate(.9); }
.ph em { position: absolute; right: 8px; bottom: 6px; font-size: 10px; font-style: normal; letter-spacing: .4px; text-transform: uppercase; color: var(--kibble); border: 1px dashed var(--kibble); border-radius: 4px; padding: 1px 5px; opacity: .7; }
.hero-pic { border-radius: var(--r); overflow: hidden; margin-bottom: 18px; box-shadow: var(--shadow); }
.hero-pic .ph { aspect-ratio: 16 / 10; }
.hero-pic .ph i { font-size: 64px; }
.hero-pic.blob { width: 220px; margin: 10px auto 22px; border-radius: 46% 54% 52% 48% / 54% 46% 54% 46%; }
.hero-pic.blob .ph, .hero-pic.blob img { aspect-ratio: 1; }

/* ---------- tiles (2×2 photo answers) ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; display: block; width: 100%; text-align: left; background: var(--white); border: 2px solid var(--sky-line); border-radius: var(--r); padding: 6px 6px 0; cursor: pointer; overflow: hidden; transition: border-color .12s, transform .08s, box-shadow .12s; box-shadow: var(--shadow); }
.tile .pic { border-radius: 11px; aspect-ratio: 6 / 5; }
.tile:hover { border-color: var(--blue-45); }
.tile:active { transform: scale(.985); }
.tile.sel { border-color: var(--blue); }
.tile-label { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin: 6px -6px 0; padding: 10px 12px; background: var(--ball); color: var(--on-ball); font-size: 15px; }
.tile-label small { display: block; font: 400 11.5px "Figtree", sans-serif; opacity: .8; }
.tile-label i { font-style: normal; font-size: 20px; flex: none; }
.tile.sel .tile-label { background: var(--blue); color: var(--white); }

/* ---------- answer options ---------- */
.opts { display: flex; flex-direction: column; gap: 10px; }
.opts.grid2 { display: grid; grid-template-columns: 1fr 1fr; }
.opt { display: flex; align-items: center; gap: 13px; width: 100%; text-align: left; background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); padding: 15px 16px; cursor: pointer; transition: border-color .12s, background-color .12s, transform .08s; box-shadow: var(--shadow); }
.opt:hover { border-color: var(--blue-45); }
.opt:active { transform: scale(.99); }
.opt.sel { border-color: var(--blue); background: var(--sky); }
.opt-icon { font-size: 23px; flex: none; width: 28px; text-align: center; }
.opt-text { flex: 1; min-width: 0; }
.opt-text b { display: block; font-weight: 600; }
.opt-text small { display: block; color: var(--kibble); font-size: 13px; margin-top: 1px; }
.opt-check { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--sky-line); background: var(--white); position: relative; }
.opt.sel .opt-check { background: var(--blue); border-color: var(--blue); }
.opt.sel .opt-check::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.opt.has-pic { padding: 0 0 0 16px; min-height: 84px; }
.opt-pic { flex: none; width: 96px; align-self: stretch; }
.opt-pic .pic { height: 100%; border-radius: 0 14px 14px 0; aspect-ratio: auto; }
.opt-pic .ph i { font-size: 30px; } .opt-pic .ph em { display: none; }

input[type=text], input[type=email], input[type=date] { width: 100%; padding: 16px; font: inherit; font-size: 17px; border: 1.5px solid var(--sky-line); border-radius: var(--r); background: var(--white); color: var(--blue); }
input::placeholder { color: #A5AFC2; }
input:focus { border-color: var(--blue); outline: none; }
.field-label { display: block; font-size: 13px; color: var(--kibble); margin-bottom: 6px; font-weight: 600; }
.err { color: var(--clay); font-size: 14px; margin-top: 8px; }

/* ---------- buttons ---------- */
.btn { display: block; width: 100%; text-align: center; text-decoration: none; border: none; border-radius: var(--r); cursor: pointer; background: var(--ball); color: var(--on-ball); font-size: 18px; padding: 16px; margin-top: 16px; transition: background-color .12s, transform .08s, opacity .12s; }
.btn:hover { background: var(--ball-press); }
.btn:active { transform: scale(.99); }
.btn:disabled { opacity: .4; cursor: default; transform: none; }
.btn-ghost { background: var(--sky); color: var(--blue); margin-top: 10px; }
.btn-ghost:hover { background: var(--sky-line); }
.link-btn { display: block; margin: 14px auto 0; background: none; border: none; cursor: pointer; color: var(--kibble); font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- desktop split layout (answers left, puppy right) ---------- */
.split-side { display: none; }
@media (min-width: 960px) {
  .shell { max-width: 520px; }
  body[data-screen] .shell:has(.split) { max-width: 980px; }
  .split { display: grid; grid-template-columns: 500px 1fr; gap: 40px; align-items: start; }
  .split-side { display: block; position: sticky; top: 24px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
  .split-side .ph { aspect-ratio: 3 / 4; } .split-side .ph i { font-size: 110px; }
}

/* ---------- info / interstitial ---------- */
.note-card { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; }
.note-icon { font-size: 22px; line-height: 1.2; }
.note-card b { display: block; margin-bottom: 2px; }
.note-card p { font-size: 14.5px; color: var(--blue-70); }
.source-card { background: var(--sky); border-radius: var(--r); padding: 16px 18px; margin: 0 0 12px; border-left: 4px solid var(--blue); }
.source-card blockquote { font-weight: 600; margin-bottom: 8px; }
.source-card figcaption { font-size: 12.5px; color: var(--kibble); }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); overflow: hidden; }
.compare th, .compare td { padding: 11px 10px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--sky); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare thead th { font-size: 12.5px; color: var(--kibble); font-weight: 600; }
.compare tbody th { font-weight: 600; width: 22%; }
.compare td { color: var(--blue-70); }
.compare .us { background: var(--sky); color: var(--blue); font-weight: 600; }
.concept { background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); padding: 12px; margin: 6px 0 4px; }
.concept svg { width: 100%; height: auto; display: block; overflow: visible; }
.concept figcaption { font-size: 12.5px; color: var(--kibble); margin-top: 6px; }

/* auto "analysing" */
.auto { text-align: center; padding-top: 10px; }
.auto h1 { font-size: 24px; }
.dots { color: var(--kibble); margin-top: 8px; }
.dots span { animation: blink 1.2s infinite; } .dots span:nth-child(2) { animation-delay: .2s; } .dots span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 60%, 100% { opacity: .2; } 30% { opacity: 1; } }

/* puppy figure that lights up */
.puppy-fig { background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); padding: 8px 10px 2px; margin-bottom: 14px; }
.puppy-fig svg { width: 100%; height: auto; display: block; }
.puppy-fig .body, .puppy-fig .head, .puppy-fig .leg { fill: var(--sky); }
.puppy-fig .tail { fill: none; stroke: var(--sky); stroke-width: 9; stroke-linecap: round; }
.puppy-fig .eye { fill: var(--blue); } .puppy-fig .nose { fill: var(--blue); } .puppy-fig .collar { fill: var(--blue); }
.puppy-fig .hot { fill: var(--sky-line); stroke: var(--sky-line); opacity: .55; transition: fill .25s, stroke .25s, opacity .25s, filter .25s; }
.puppy-fig .hot.on { fill: var(--ball); stroke: var(--ball); opacity: 1; filter: drop-shadow(0 0 6px var(--ball-soft)); }
.puppy-fig .hot.on .nose { fill: var(--blue); }

/* ---------- cards (extras) ---------- */
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { position: relative; text-align: left; background: var(--white); border: 2px solid var(--sky-line); border-radius: var(--r); padding: 6px; cursor: pointer; box-shadow: var(--shadow); transition: border-color .12s; display: flex; flex-direction: column; }
.card .pic { border-radius: 11px; aspect-ratio: 3 / 2; }
.card .ph i { font-size: 36px; }
.card.sel { border-color: var(--blue); background: var(--sky); }
.card-body { padding: 10px 8px 8px; }
.card-body b { display: block; font-size: 15px; }
.card-body small { display: block; color: var(--kibble); font-size: 12.5px; margin-top: 3px; }
.card .opt-check { position: absolute; top: 12px; right: 12px; box-shadow: var(--shadow); }

/* ---------- summary ---------- */
.identity { font-size: 17px; margin: 4px 0 18px; }
.identity b { background: linear-gradient(transparent 58%, var(--ball-soft) 58%); }
.profile { background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); padding: 4px 16px; margin-top: 12px; }
.profile div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--sky); }
.profile div:last-child { border-bottom: none; }
.profile dt { color: var(--kibble); font-size: 14.5px; }
.profile dd { font-weight: 600; text-align: right; }
.gauge-card { background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); padding: 16px 16px 14px; }
.gauge-top { display: flex; justify-content: space-between; font-size: 14.5px; margin-bottom: 40px; }
.gauge { position: relative; height: 10px; border-radius: 5px; background: linear-gradient(90deg, var(--ball) 0%, #E9D86A 50%, var(--clay) 100%); }
.gauge i { position: absolute; top: -5px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); border: 3px solid var(--blue); transform: translateX(-50%); }
.gauge-you { position: absolute; top: -32px; transform: translateX(-50%); background: var(--blue); color: var(--white); font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 6px; }
.gauge-you::after { content: ""; position: absolute; left: 50%; bottom: -5px; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--blue); border-bottom: 0; }
.gauge-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--kibble); margin-top: 8px; text-transform: uppercase; letter-spacing: .4px; }
.gauge-card p { font-size: 14.5px; margin-top: 12px; color: var(--blue-70); }
.gauge-card small { display: block; font-size: 12px; color: var(--kibble); margin-top: 6px; }

/* ---------- chart ---------- */
.chart-card { background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); padding: 14px 12px 12px; color: var(--blue); }
.chart-card svg { display: block; width: 100%; height: auto; overflow: visible; }
.c-base { stroke: var(--sky-line); stroke-width: 1.5; }
.c-drop { stroke: var(--sky-line); stroke-width: 1; stroke-dasharray: 3 3; }
.c-line { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.c-line.thin { stroke-width: 3; } .c-line.faded { stroke: var(--sky-line); }
.c-line.draw { transition: stroke-dashoffset 1.3s ease-out; stroke-dashoffset: 0 !important; }
.c-dot { fill: var(--white); stroke: var(--blue); stroke-width: 3; }
.c-dot.end { fill: var(--ball); }
.c-tag { font: 600 11.5px "Figtree", sans-serif; fill: var(--blue); }
.c-axis { font: 11px "Figtree", sans-serif; fill: var(--kibble); }

/* ---------- loading ---------- */
.screen-loading h1 { text-align: center; }
.ring { position: relative; width: 150px; height: 150px; margin: 22px auto 26px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--sky); stroke-width: 9; }
.ring-fg { fill: none; stroke: var(--ball); stroke-width: 9; stroke-linecap: round; }
.ring span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; font-variant-numeric: tabular-nums; }
.steps { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 12px; color: var(--blue-45); transition: color .3s; }
.steps li.live, .steps li.done { color: var(--blue); }
.st-text { flex: 1; } .st-pct { font-size: 13px; color: var(--kibble); font-variant-numeric: tabular-nums; }
.tick { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--sky-line); background: var(--white); position: relative; }
.steps li.done .tick { background: var(--ball); border-color: var(--ball); }
.steps li.done .tick::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border: solid var(--on-ball); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .42); display: grid; place-items: end center; padding: 16px; z-index: 50; }
.modal-card { width: 100%; max-width: 428px; background: var(--white); border-radius: 22px; padding: 22px 20px 20px; animation: rise .22s ease both; }
@keyframes rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-kicker { font-size: 13px; color: var(--kibble); margin-bottom: 6px; }
.modal-q { font-size: 21px; margin-bottom: 6px; }
.modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 600px) { .modal { place-items: center; } }

/* ---------- result ---------- */
.result-hero h1 { font-size: 29px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { background: var(--sky); border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 600; }

.compare-card { margin-top: 20px; background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); overflow: hidden; }
.cmp-head { display: grid; grid-template-columns: 1fr 1fr; background: var(--sky); font-weight: 600; text-align: center; font-size: 14px; }
.cmp-head span { padding: 9px; } .cmp-head span + span { color: var(--blue); }
.cmp-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.cmp-pics .pic { border-radius: 0; aspect-ratio: 4 / 3; } .cmp-pics .ph em { display: none; }
.cmp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--sky); font-size: 14px; position: relative; }
.cmp-row small { grid-column: 1 / -1; font-size: 11px; text-transform: uppercase; letter-spacing: .4px; color: var(--kibble); }
.cmp-row span { color: var(--blue-70); } .cmp-row .good { color: var(--blue); font-weight: 600; }
.compare-card .fine { padding: 8px 14px 12px; margin: 0; }

.plans { border: none; display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.plan { position: relative; display: block; cursor: pointer; background: var(--white); border: 2px solid var(--sky-line); border-radius: var(--r); padding: 18px 16px 14px 50px; transition: border-color .12s, background-color .12s; box-shadow: var(--shadow); }
.plan input { position: absolute; left: 17px; top: 22px; width: 20px; height: 20px; accent-color: var(--blue); }
.plan.on { border-color: var(--blue); background: var(--sky); }
.plan-flag { position: absolute; top: -11px; right: 14px; background: var(--blue); color: var(--white); font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.plan-main { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.plan-title { font-size: 18px; display: block; }
.plan-once { display: block; font-size: 12.5px; color: var(--kibble); margin-top: 2px; }
.plan-price { flex: none; display: flex; align-items: center; gap: 8px; }
.plan-price b { font-size: 22px; }
.per-day { display: flex; flex-direction: column; align-items: center; line-height: 1.1; background: var(--ball); color: var(--on-ball); border-radius: 12px; padding: 6px 10px; font-size: 13px; font-weight: 700; }
.per-day small { font-weight: 400; font-size: 10px; opacity: .8; }
.plan-feat { list-style: none; margin-top: 10px; }
.plan-feat li { font-size: 14px; color: var(--blue-70); padding: 3px 0 3px 20px; position: relative; }
.plan-feat li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px; border-radius: 50%; background: var(--ball); box-shadow: 0 0 0 2px var(--blue) inset; }
.btn-cta { font-size: 19px; padding: 18px; margin-top: 18px; }
.assure { list-style: none; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.assure li { font-size: 14.5px; padding-left: 26px; position: relative; color: var(--blue-70); }
.assure li b { color: var(--blue); }
.assure li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 7px; height: 12px; border: solid var(--blue); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* week preview */
.week-wrap { position: relative; margin-top: 10px; }
.week-wrap h2 { margin-bottom: 4px; }
.week-wrap .fine { margin: 0 0 12px; }
.week { display: flex; background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); overflow: hidden; margin-bottom: 10px; }
.week-tag { flex: none; width: 34px; background: var(--sky); writing-mode: vertical-rl; transform: rotate(180deg); text-align: center; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--blue); display: grid; place-items: center; }
.days { flex: 1; display: grid; grid-template-columns: repeat(7, minmax(64px, 1fr)); gap: 6px; padding: 10px; overflow-x: auto; }
.days div { background: var(--paper); border-radius: 9px; padding: 8px 7px; min-height: 76px; }
.days small { display: block; font-size: 11px; color: var(--kibble); margin-bottom: 4px; }
.days b { font-size: 12px; line-height: 1.25; display: block; }
.week.ghost { opacity: .55; } .week.ghost .days div { background: var(--sky); } .week.g2 { opacity: .3; }
.week-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background: linear-gradient(to bottom, transparent, var(--paper) 70%); display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; pointer-events: none; }
.week-fade span { background: var(--blue); color: var(--white); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; }

.wyg { display: flex; flex-direction: column; gap: 10px; }
.wyg div { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); padding: 8px 14px 8px 8px; }
.wyg .pic { width: 64px; flex: none; border-radius: 10px; aspect-ratio: 4 / 3; } .wyg .ph i { font-size: 24px; } .wyg .ph em { display: none; }
.wyg span { font-size: 15px; }
.coming { display: flex; flex-direction: column; gap: 10px; }
.coming-card { display: flex; gap: 12px; align-items: center; background: var(--sky); border-radius: var(--r); padding: 10px; }
.coming-card .pic { width: 84px; flex: none; border-radius: 10px; aspect-ratio: 4 / 3; } .coming-card .ph i { font-size: 28px; } .coming-card .ph em { display: none; }
.coming-card b { display: block; } .coming-card small { display: block; color: var(--blue-70); font-size: 13px; }
.coming-card em { display: block; font-style: normal; font-size: 12px; color: var(--kibble); margin-top: 4px; }

.reviews { display: flex; flex-direction: column; gap: 10px; }
.review { background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); padding: 14px 16px; margin-top: 22px; }
.reviews .review { margin-top: 0; }
.review .stars { color: #E2A400; letter-spacing: 2px; font-size: 14px; }
.review p { margin: 4px 0; } .review span { font-size: 13px; color: var(--kibble); }
.faq details { border-bottom: 1px solid var(--sky-line); }
.faq summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font-size: 22px; color: var(--kibble); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 14px; color: var(--blue-70); font-size: 15px; }

.final { margin-top: 30px; }
.guarantee { display: flex; gap: 14px; align-items: center; background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r); padding: 14px 16px; }
.g-badge { flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--ball); color: var(--on-ball); display: grid; place-items: center; font-size: 22px; line-height: 1; text-align: center; }
.g-badge small { display: block; font-size: 10px; font-family: "Figtree", sans-serif; }
.guarantee b { display: block; } .guarantee span { font-size: 14px; color: var(--blue-70); }
.secure { text-align: center; font-size: 12.5px; color: var(--kibble); margin-top: 12px; }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px; background: var(--white); border-top: 1px solid var(--sky-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s ease; }
.sticky-cta.show { transform: none; }
.sticky-cta > div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; color: var(--kibble); }
.sticky-cta b { color: var(--blue); font-size: 15px; }
.sticky-cta .btn { width: auto; margin: 0; padding: 12px 20px; font-size: 16px; white-space: nowrap; }
@media (min-width: 600px) { .sticky-cta { padding-left: calc(50% - 244px); padding-right: calc(50% - 244px); } }

/* ---------- embedded checkout sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .45); display: flex; align-items: flex-end; justify-content: center; padding-top: max(24px, env(safe-area-inset-top)); }
.sheet-card { width: 100%; max-width: 480px; max-height: 100%; display: flex; flex-direction: column; background: var(--white); border-radius: 22px 22px 0 0; padding: 16px 16px calc(14px + env(safe-area-inset-bottom)); animation: rise .24s ease both; }
@media (min-width: 600px) { .sheet { align-items: center; padding: 24px; } .sheet-card { border-radius: 22px; max-height: calc(100vh - 48px); } }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 2px 2px 12px; border-bottom: 1px solid var(--sky); }
.sheet-title { font-size: 19px; font-family: "Fredoka", sans-serif; font-weight: 600; }
.sheet-sub { font-size: 13px; color: var(--kibble); margin-top: 2px; }
.sheet-close { flex: none; width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--sky); color: var(--blue); cursor: pointer; display: grid; place-items: center; }
.sheet-close svg { width: 18px; height: 18px; }
.wcheckout { flex: 1; overflow-y: auto; padding: 14px 2px 6px; min-height: 260px; }
.sheet-status { display: flex; align-items: center; justify-content: center; gap: 10px; text-align: center; color: var(--blue-70); font-size: 15px; padding: 60px 10px; flex-wrap: wrap; }
.sheet-status code { font-size: 13px; background: var(--sky); padding: 1px 5px; border-radius: 5px; }
.sheet-foot { text-align: center; font-size: 12px; color: var(--kibble); padding-top: 8px; border-top: 1px solid var(--sky); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid var(--sky); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.inline-link { background: none; border: none; padding: 0; color: var(--blue); font-weight: 600; text-decoration: underline; cursor: pointer; }

/* ---------- footer ---------- */
.foot { padding: 22px 0 110px; text-align: center; font-size: 12px; color: var(--kibble); display: flex; flex-direction: column; gap: 4px; }
.foot a { color: var(--kibble); }
.foot p:empty { display: none; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- thank-you page ---------- */
.thanks h1 { font-size: 29px; }
.downloads { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 6px; }
.dl {
  display: flex; align-items: center; gap: 14px;
  background: var(--white); border: 1.5px solid var(--sky-line); border-radius: var(--r);
  padding: 14px 14px 14px 16px; text-decoration: none; color: var(--blue);
  transition: border-color .12s;
}
.dl:hover { border-color: var(--blue); }
.dl-icon { flex: none; width: 40px; height: 48px; border-radius: 6px; background: var(--sky); display: grid; place-items: center; font: 700 11px "Figtree", sans-serif; color: var(--blue); position: relative; }
.dl-icon::after { content: ""; position: absolute; top: 0; right: 0; border-width: 0 10px 10px 0; border-style: solid; border-color: var(--paper) var(--paper) var(--sky-line) var(--sky-line); }
.dl-text { flex: 1; min-width: 0; }
.dl-text b { display: block; }
.dl-text small { display: block; color: var(--kibble); font-size: 13px; }
.dl-go { flex: none; background: var(--ball); border-radius: 10px; padding: 9px 13px; font: 600 15px "Fredoka", sans-serif; }
.panel { background: var(--sky); border-radius: var(--r); padding: 14px 16px; font-size: 15px; margin-top: 14px; }
.panel b { color: var(--blue); }
.next-steps { list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.next-steps li { counter-increment: s; display: flex; gap: 12px; align-items: flex-start; }
.next-steps li::before { content: counter(s); flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: var(--white); font: 600 14px "Fredoka", sans-serif; display: grid; place-items: center; margin-top: 1px; }
.recover { margin-top: 18px; }
.recover .btn { margin-top: 10px; }
.ok-note { color: var(--blue); background: #F1F6DA; border-radius: var(--r-sm); padding: 10px 12px; font-size: 14.5px; margin-top: 12px; }

/* ---------- downloads sign-in ---------- */
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--kibble); font-size: 13.5px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--sky-line); }
.gbtn { display: flex; justify-content: center; min-height: 44px; }
