/* DogSpan. Tokens, type and spacing come from the design handoff (Dogspan v2).
   Responsive: one breakpoint at 768px, replacing the prototype's Desktop/Mobile toggle. */

:root {
  --ink: #33291F;
  --cream: #FFF6EE;
  --coral: #FF7A5C;
  --coral-pale: #FFE0D6;
  --coral-deep: #8A5341;
  --coral-deepest: #5C3324;
  --coral-hover: #E8604A;
  --teal: #3FB8A6;
  --teal-pale: #D9EFEB;
  --teal-deep: #1F6E62;
  --teal-mid: #2F5E57;
  --muted: #7A6B5D;
  --muted-light: #9C8B7B;
  --body-ink: #5A4C40;
  --hair: rgba(51, 41, 31, .16);
  --hair-soft: rgba(51, 41, 31, .14);
  --cream-72: rgba(255, 246, 238, .72);

  --padx: clamp(24px, 5vw, 76px);
  --sec-y: clamp(40px, 6vw, 78px);
  --gap-b: clamp(40px, 6vw, 72px);
  --band-y: clamp(48px, 7vw, 86px);
  --band-gap: clamp(32px, 5vw, 64px);
  --cta-pad: clamp(44px, 6vw, 72px) 40px;
  --hero-pad: clamp(48px, 7vw, 86px) clamp(24px, 6vw, 96px) 42px;

  --h1: clamp(54px, 6.6vw, 104px);
  --h2: clamp(36px, 4.2vw, 62px);
  --stat: clamp(72px, 8vw, 116px);
  --bigstat: clamp(96px, 13vw, 180px);
  --qsize: clamp(34px, 3.6vw, 50px);
  --num: clamp(130px, 15vw, 230px);
  --yearsw: clamp(24px, 2.4vw, 34px);
  --thanks: 54px;
  --report: clamp(36px, 4vw, 56px);
  --ctitle: clamp(32px, 3.2vw, 44px);
  --price: clamp(62px, 6vw, 86px);
  --graphic-h: clamp(300px, 34vw, 480px);
  --graphic-pad: clamp(18px, 2.4vw, 30px);
  --q-head-pad: 30px var(--padx) 44px;
  --q-body-pad: 34px var(--padx) 44px;
  --reveal-pad: clamp(48px, 6vw, 80px) var(--padx);
}

@media (max-width: 768px) {
  :root {
    --padx: 18px;
    --sec-y: 34px;
    --gap-b: 34px;
    --band-y: 38px;
    --band-gap: 28px;
    --cta-pad: 38px 24px;
    --hero-pad: 40px 20px 30px;
    --h1: 46px;
    --h2: 34px;
    --stat: 72px;
    --bigstat: 82px;
    --qsize: 32px;
    --num: 110px;
    --yearsw: 22px;
    --thanks: 38px;
    --report: 34px;
    --ctitle: 30px;
    --price: 58px;
    --graphic-h: 200px;
    --graphic-pad: 14px;
    --q-head-pad: 22px 18px 32px;
    --q-body-pad: 26px 18px 32px;
    --reveal-pad: 40px 20px 44px;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Archivo', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background-color: var(--cream);
  background-image: linear-gradient(rgba(51, 41, 31, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(51, 41, 31, .05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
input, button { font-family: inherit; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--coral-hover); }
img { max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* ---------------------------------------------------------------- motion */
@keyframes dsRise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dsOrbit { to { transform: rotate(360deg); } }
@keyframes dsOrbitRev { to { transform: rotate(-360deg); } }
@keyframes dsRing { 0% { transform: scale(.55); opacity: .6; } 100% { transform: scale(1.55); opacity: 0; } }
@keyframes dsSpin { to { transform: rotate(360deg); } }
@keyframes dsFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------------- layout primitives */
.wrap { max-width: 1180px; margin: 0 auto; padding-left: var(--padx); padding-right: var(--padx); }
.section { padding: var(--sec-y) var(--padx); }
.section-tight { padding-bottom: var(--gap-b); }
.band { padding: var(--band-y) 0; }
.flow { min-height: 100vh; }
.col-620 { max-width: 620px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.col-700 { max-width: 700px; margin: 0 auto; }
.col-880 { max-width: 880px; margin: 0 auto; }
.measure-52 { max-width: 52ch; }

.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); display: block; }
.eyebrow--pad { letter-spacing: .14em; padding-left: 22px; margin-bottom: 8px; }
.eyebrow--mb { margin-bottom: 18px; }
.eyebrow--mb14 { margin-bottom: 14px; }
.eyebrow--mb18 { margin-bottom: 18px; }
.eyebrow--mb22 { margin-bottom: 22px; }
.eyebrow--onink { color: rgba(255, 246, 238, .55); margin-bottom: 26px; }
.eyebrow--onink2 { color: rgba(255, 246, 238, .6); letter-spacing: .14em; }
.eyebrow--onc { color: rgba(255, 246, 238, .82); }
.eyebrow--ink { color: var(--ink); }
.eyebrow--teal { color: var(--teal-deep); }
.eyebrow--coral { color: #B07A62; margin-bottom: 18px; }
.caption { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); }
.caption--c { margin-top: 14px; text-align: center; }
.h2 { font-size: var(--h2); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; text-wrap: balance; }
.h2--cream { color: var(--cream); }
.h2--coraldeep { color: var(--coral-deepest); max-width: 16ch; }
.h2--12 { max-width: 12ch; }
.h2--cta { color: var(--cream); line-height: 1; letter-spacing: -.035em; max-width: 20ch; margin: 0 auto; }
.lead { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--muted); }
.lead--onink { margin-top: 20px; max-width: 46ch; line-height: 1.6; color: var(--cream-72); }
.lead--coral { margin-top: 18px; max-width: 44ch; line-height: 1.6; color: var(--coral-deep); }

.btn {
  --bg: var(--ink); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer; text-align: center; text-decoration: none;
  background: var(--bg); color: var(--fg);
  padding: 20px 32px; border-radius: 99px;
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1.2;
  transition: opacity .2s, transform .1s;
}
a.btn:hover, .btn:hover { color: var(--fg); }
.btn:active { transform: translateY(1px); }
.btn--ink { --bg: var(--ink); --fg: var(--cream); }
.btn--coral { --bg: var(--coral); --fg: #fff; }
.btn--cream { --bg: var(--cream); --fg: var(--ink); }
.btn--outline { --bg: transparent; --fg: var(--ink); border: 1.5px solid var(--ink); }
.btn--block { display: flex; width: 100%; padding-left: 20px; padding-right: 20px; }
.btn--sm { padding: 14px 22px; font-size: 13px; letter-spacing: .12em; white-space: nowrap; flex: none; }
.btn--xs { padding: 12px 20px; font-size: 12px; letter-spacing: .12em; }
.btn:disabled { opacity: .35; cursor: not-allowed; }

.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; }
.dot--teal { background: var(--teal); }
.dot--ink { background: var(--ink); width: 10px; height: 10px; }
.dot--coral { background: var(--coral); width: 10px; height: 10px; }

.form-error { background: var(--coral-pale); color: #7A2E1C; border-radius: 14px; padding: 12px 16px; font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; }
.form-error--onc { background: rgba(255, 246, 238, .94); margin: 16px 0 0; }

/* ---------------------------------------------------------------- landing: nav + hero */
.nav-wrap { display: flex; justify-content: center; padding: 26px 20px 0; }
.nav { display: flex; align-items: center; gap: 18px; background: #fff; border: 1.5px solid var(--ink); border-radius: 99px; padding: 7px 7px 7px 16px; }
.nav-logo { display: block; flex: none; line-height: 0; }
.nav-logo img { height: 22px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; padding: 0 8px; }
.nav-cta { border: 0; cursor: pointer; background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 99px; font-size: 13px; font-weight: 700; }
@media (max-width: 768px) { .nav { gap: 10px; } .nav-links { display: none; } }

.hero { text-align: center; padding: var(--hero-pad); max-width: 1180px; margin: 0 auto; }
.proof { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.proof-dots { display: flex; }
.proof-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--cream); }
.proof-dots i + i { margin-left: -8px; }
.d-coral { background: var(--coral); } .d-teal { background: var(--teal); } .d-ink { background: var(--ink); }
.hero-h1 { margin: 0 auto; max-width: 16ch; font-size: var(--h1); line-height: .95; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.hero-sub { margin: 22px auto 0; max-width: 46ch; font-size: 17px; line-height: 1.5; color: var(--muted); }
.namebox { max-width: 540px; margin: 30px auto 0; text-align: left; }
.pill-form { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--ink); border-radius: 99px; padding: 7px 7px 7px 18px; }
.pill-form:focus-within { border-color: var(--coral); }
.pill-form input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 17px; font-weight: 600; color: var(--ink); outline: none; }
.pill-form input::placeholder { color: rgba(51, 41, 31, .38); }
.namebox .caption { margin-top: 12px; text-align: center; }
.trust-pill { display: flex; width: fit-content; max-width: 100%; align-items: center; justify-content: center; gap: 10px; margin: 16px auto 0; border: 1.5px solid rgba(51, 41, 31, .18); border-radius: 99px; padding: 8px 16px; }
.trust-pill span { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

.hero-panel { position: relative; background: var(--coral); border-radius: 38px; padding: var(--graphic-pad); }
.hero-art-box { border-radius: 26px; background: rgba(51, 41, 31, .07); display: flex; align-items: flex-end; justify-content: center; overflow: hidden; padding: clamp(70px, 7.5vw, 100px) clamp(14px, 2.4vw, 34px) clamp(18px, 2.4vw, 34px); }
.hero-art { display: block; width: 100%; height: auto; }
.hero-chip { position: absolute; top: clamp(34px, 4vw, 60px); right: clamp(34px, 4vw, 60px); background: var(--cream); border-radius: 99px; padding: 12px 18px; display: flex; align-items: center; gap: 10px; animation: dsFloat 5s ease-in-out infinite; }
.hero-chip-n { font-size: 20px; font-weight: 800; letter-spacing: -.03em; }
.hero-chip-l { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
@media (max-width: 768px) { .hero-chip { top: 28px; right: 28px; } }

/* problem band */
.band--ink { background: var(--ink); margin-top: var(--gap-b); }
.problem-grid { display: grid; grid-template-columns: minmax(min-content, .85fr) minmax(280px, 1fr); gap: var(--band-gap); align-items: end; }
@media (max-width: 768px) { .problem-grid { grid-template-columns: 1fr; } }
.bigstat { font-size: var(--bigstat); line-height: .8; font-weight: 800; letter-spacing: -.06em; color: var(--coral); }
.track { height: 14px; border-radius: 99px; background: rgba(255, 246, 238, .14); overflow: hidden; margin-top: 26px; }
.track > div { height: 100%; border-radius: 99px; background: var(--coral); }
.track-cap { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 246, 238, .6); margin-top: 12px; }
.cite { font-size: 12px; line-height: 1.5; color: rgba(255, 246, 238, .68); margin-top: 22px; padding-top: 16px; border-top: 1.5px solid rgba(255, 246, 238, .16); max-width: 44ch; }

/* spot the difference */
.card-outline { background: #fff; border: 1.5px solid var(--ink); border-radius: 34px; }
.card-pad-lg { padding: var(--cta-pad); }
.grid-190 { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 30px; }
.spot { border-radius: 24px; padding: 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.spot--ideal { background: var(--teal-pale); }
.spot--little { background: var(--cream); border: 1.5px solid var(--hair); }
.spot--extra { background: var(--coral-pale); }
.spot-t { font-size: 16px; font-weight: 800; }
.spot-n { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 6px; }
.spot--ideal .spot-t { color: var(--teal-deep); } .spot--ideal .spot-n { color: var(--teal-mid); }
.spot--little .spot-n { color: var(--muted-light); }
.spot--extra .spot-t, .spot--extra .spot-n { color: var(--coral-deep); }
.spot-img { display: block; height: 150px; width: auto; }
/* below 820px the three cards stack as one uniform column, each laid out picture-left, text-right */
@media (max-width: 819px) {
  .spot { flex-direction: row; text-align: left; gap: 20px; padding: 18px 22px; }
  .spot > div { flex: 1; }
  .spot-img { height: 120px; }
}
@media (min-width: 820px) { .grid-190 { grid-template-columns: repeat(3, 1fr); } }

/* how it works */
.grid-230 { display: grid; grid-template-columns: 1fr; gap: 14px; }
.step { border-radius: 26px; padding: 28px; }
.step-n { width: 38px; height: 38px; border-radius: 50%; color: var(--cream); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.step h3 { font-size: 21px; font-weight: 800; letter-spacing: -.025em; margin: 18px 0 8px; }
.step p { font-size: 15px; line-height: 1.55; }
.step--coral { background: var(--coral-pale); } .step--coral .step-n { background: var(--coral); } .step--coral p { color: var(--coral-deep); }
.step--teal { background: var(--teal-pale); } .step--teal .step-n { background: var(--teal); } .step--teal p { color: var(--teal-mid); }
.step--white { background: #fff; border: 1.5px solid var(--ink); } .step--white .step-n { background: var(--ink); } .step--white p { color: var(--muted); }

/* science */
.grid-280 { display: grid; grid-template-columns: 1fr; gap: 14px; }
/* three across when there is room, otherwise one uniform column (never 2 + 1). Must follow the base rules above. */
@media (min-width: 820px) { .grid-230 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid-280 { grid-template-columns: repeat(3, 1fr); } }
.sci { border-radius: 26px; padding: 30px; }
.sci--white { background: #fff; border: 1.5px solid var(--ink); }
.sci--ink { background: var(--ink); }
.sci--teal { background: var(--teal-pale); display: flex; flex-direction: column; gap: 14px; }
.sci-stat { font-size: var(--stat); line-height: .85; font-weight: 800; letter-spacing: -.05em; }
.sci-label { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 14px; }
.sci--white p { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 10px; }
.sci-quote { font-size: 23px; line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin-top: 14px; color: var(--cream); text-wrap: pretty; }
.sci--ink p { font-size: 15px; line-height: 1.55; color: rgba(255, 246, 238, .68); margin-top: 12px; }
.sci-line { font-size: 15px; font-weight: 600; line-height: 1.4; border-bottom: 1.5px solid rgba(23, 86, 77, .22); padding-bottom: 12px; }
.sci-line--last { border-bottom: 0; padding-bottom: 0; }

/* plan band + mini report */
.band--coralpale { background: var(--coral-pale); }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--band-gap); align-items: center; }
.bullets { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.bullets li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 700; color: var(--coral-deepest); }
.bullets li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); flex: none; }
.mini { background: #fff; border: 1.5px solid var(--ink); border-radius: 30px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.eyebrow-s { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
.eyebrow-s--onc { color: rgba(255, 246, 238, .8); }
.chip-pdf { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); background: var(--teal-pale); border-radius: 99px; padding: 6px 12px; }
.mini-kcal { background: var(--coral); border-radius: 22px; padding: 22px; }
.mini-kcal-row { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 8px; }
.mini-kcal-n { font-size: 46px; font-weight: 800; letter-spacing: -.05em; color: var(--cream); line-height: .9; }
.mini-kcal-u { font-size: 13px; font-weight: 700; color: rgba(255, 246, 238, .82); }
.mini-kcal-t { font-size: 13px; line-height: 1.5; font-weight: 600; color: rgba(255, 246, 238, .88); }
.mini-days { display: flex; flex-direction: column; gap: 5px; }
.mini-day { background: var(--cream); border: 1.5px solid var(--hair-soft); border-radius: 99px; padding: 9px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mini-day > span { font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; width: 30px; flex: none; }
.mini-day--dim { opacity: .55; }
.tag { font-style: normal; border-radius: 99px; padding: 5px 12px; font-size: 11px; font-weight: 700; display: inline-block; }
.tag--s { background: var(--teal-pale); color: var(--teal-deep); }
.tag--p { background: var(--coral-pale); color: var(--coral-deep); }
.tag--n { background: rgba(51, 41, 31, .07); color: var(--muted); }
.tag--lg { padding: 6px 14px; font-size: 12px; letter-spacing: .04em; }

/* faq */
.faq-grid { display: grid; grid-template-columns: minmax(200px, .55fr) minmax(320px, 1.45fr); gap: var(--band-gap); align-items: start; }
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-list { display: flex; flex-direction: column; }
.qa { display: grid; grid-template-columns: minmax(180px, .8fr) minmax(240px, 1.2fr); gap: 28px; padding: 22px 0; border-top: 1.5px solid var(--hair); }
.qa:last-child { border-bottom: 1.5px solid var(--hair); }
.qa h3 { font-size: 19px; font-weight: 800; letter-spacing: -.025em; text-wrap: pretty; }
.qa p { font-size: 15px; line-height: 1.6; color: var(--muted); }
@media (max-width: 768px) { .qa { grid-template-columns: 1fr; gap: 10px; } }

/* closing cta + footer */
.cta-panel { background: var(--teal); border-radius: 34px; padding: var(--cta-pad); text-align: center; }
.cta-panel > p { margin: 18px auto 0; max-width: 38ch; font-size: 16px; line-height: 1.5; color: rgba(255, 246, 238, .8); }
.pill-form--cream { background: var(--cream); border-color: transparent; max-width: 460px; margin: 26px auto 0; padding-left: 22px; text-align: left; }
.pill-form--cream:focus-within { border-color: var(--ink); }
.pill-form--cream input { font-size: 16px; }
.foot { padding: 26px 0 40px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: space-between; align-items: center; border-top: 1.5px solid var(--hair-soft); }
.foot-c { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.foot-d { font-size: 13px; line-height: 1.5; color: var(--muted-light); max-width: 58ch; }

/* ---------------------------------------------------------------- question flow */
.q { display: flex; flex-direction: column; --q-bg: var(--coral-pale); --q-fg: var(--ink); --q-sub: var(--coral-deep); --q-soft: rgba(51, 41, 31, .3); --q-off: rgba(51, 41, 31, .18); }
.q[data-step="1"] { --q-bg: var(--teal); --q-fg: var(--cream); --q-sub: rgba(255, 246, 238, .82); --q-soft: rgba(255, 246, 238, .5); --q-off: rgba(255, 246, 238, .28); }
.q[data-step="2"] { --q-bg: var(--ink); --q-fg: var(--cream); --q-sub: rgba(255, 246, 238, .7); --q-soft: rgba(255, 246, 238, .4); --q-off: rgba(255, 246, 238, .28); }
.q[data-step="3"] { --q-bg: var(--teal-pale); --q-fg: var(--ink); --q-sub: var(--teal-mid); }
.q[data-step="4"] { --q-bg: var(--coral-pale); --q-fg: var(--ink); --q-sub: var(--coral-deep); }
.q[data-step="5"] { --q-bg: var(--teal); --q-fg: var(--cream); --q-sub: rgba(255, 246, 238, .82); --q-soft: rgba(255, 246, 238, .5); --q-off: rgba(255, 246, 238, .28); }
.q[data-step="6"] { --q-bg: var(--ink); --q-fg: var(--cream); --q-sub: rgba(255, 246, 238, .7); --q-soft: rgba(255, 246, 238, .4); --q-off: rgba(255, 246, 238, .28); }
.q[data-step="7"] { --q-bg: var(--coral); --q-fg: var(--cream); --q-sub: rgba(255, 246, 238, .86); --q-soft: rgba(255, 246, 238, .5); --q-off: rgba(255, 246, 238, .28); }
.q-head { background: var(--q-bg); padding: var(--q-head-pad); transition: background .3s; }
.q-col { max-width: 620px; width: 100%; margin: 0 auto; }
.q-col--body { flex: 1; display: flex; flex-direction: column; }
.q-top { display: flex; align-items: center; gap: 14px; }
.q-back { border: 1.5px solid var(--q-soft, rgba(51, 41, 31, .24)); background: transparent; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; font-size: 16px; line-height: 1; color: var(--q-fg, var(--ink)); flex: none; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.q-back--dark { border-color: rgba(51, 41, 31, .24); color: var(--ink); }
.q-progress { display: flex; gap: 5px; flex: 1; }
.seg { flex: 1; height: 5px; border-radius: 99px; background: var(--q-off); transition: background .3s; }
.seg.on { background: var(--q-fg); }
.q-count { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--q-fg); }
.q-title { margin: 26px 0 0; font-size: var(--qsize); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; color: var(--q-fg); text-wrap: pretty; outline: none; }
.q-note { margin: 12px 0 0; font-size: 16px; line-height: 1.5; color: var(--q-sub); max-width: 46ch; }
.q-body { flex: 1; display: flex; flex-direction: column; padding: var(--q-body-pad); }
.q-panels { flex: 1; }
.q-next { padding-top: 28px; }

.opt { position: relative; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; background: #fff; border: 1.5px solid rgba(51, 41, 31, .18); color: var(--ink); transition: background .15s, border-color .15s; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid rgba(51, 41, 31, .28); flex: none; display: flex; align-items: center; justify-content: center; }
.opt .radio i { width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.opt-n, .opt-r { color: var(--muted-light); }
.opt.is-on { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.opt.is-on .radio { border-color: var(--cream); }
.opt.is-on .radio i { background: var(--cream); }
.opt.is-on .opt-n, .opt.is-on .opt-r { color: rgba(255, 246, 238, .62); }
.opt.is-focus { outline: 3px solid var(--coral); outline-offset: 2px; }
.opt:not(.is-on):hover { border-color: rgba(51, 41, 31, .4); }
.grow { flex: 1; }
.opt-t { display: block; font-weight: 800; letter-spacing: -.02em; }
.opt-n { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 5px; }
.opt-t--15 { font-size: 15px; letter-spacing: 0; } .opt-t--17 { font-size: 17px; } .opt-t--18 { font-size: 18px; } .opt-t--19 { font-size: 19px; }
.opt--row { border-radius: 99px; padding: 14px 20px; }
.opt--row .opt-t { font-size: 16px; font-weight: 700; letter-spacing: 0; flex: 1; }
.opt--row .opt-r { font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.opt--card { border-radius: 22px; padding: 18px; }
.opt--top { align-items: flex-start; padding: 20px; }
.opt--top .radio { margin-top: 2px; }
.opt--top .opt-n { margin-top: 6px; }
.list-rows { display: flex; flex-direction: column; gap: 8px; }
.list-rows--cards .opt--card { padding: 18px 20px; }
.grid-200 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; }
.grid-220 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.grid-160 { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 8px; }
.search { display: flex; align-items: center; gap: 12px; background: #fff; border: 1.5px solid rgba(51, 41, 31, .2); border-radius: 99px; padding: 13px 20px; margin-bottom: 12px; }
.search:focus-within { border-color: var(--coral); }
.search-ic { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(51, 41, 31, .3); flex: none; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; font-weight: 600; color: var(--ink); outline: none; -webkit-appearance: none; appearance: none; }
.empty, .hint { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-light); text-align: center; padding: 10px 0 0; }

/* shape pictures: top-down dogs, head up, all cropped to one frame so their relative widths are true */
.opt--shape .radio { display: none; }
.opt--shape { flex-direction: column; gap: 14px; padding: 20px 16px 22px; border-radius: 22px; }
.shape-img { display: block; height: 170px; width: auto; max-width: 100%; }
/* 3 cards on the first row, the last 2 stretch to fill the second */
.grid-shapes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.grid-shapes .opt { grid-column: span 2; }
.grid-shapes .opt:nth-child(n+4) { grid-column: span 3; }
@media (max-width: 768px) {
  .shape-img { height: 140px; }
  .grid-shapes { grid-template-columns: repeat(2, 1fr); }
  .grid-shapes .opt, .grid-shapes .opt:nth-child(n+4) { grid-column: span 1; }
  .grid-shapes .opt:last-child { grid-column: span 2; }
}
.ctr { text-align: center; }
.opt--shape .opt-n { font-size: 11px; }

/* weight */
.weight-card { background: #fff; border: 1.5px solid var(--ink); border-radius: 30px; padding: 30px; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.stepper { display: flex; align-items: center; justify-content: center; gap: 20px; max-width: 100%; }
.step-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(51, 41, 31, .22); background: var(--cream); cursor: pointer; font-size: 22px; line-height: 1; color: var(--ink); flex: none; }
.step-btn:active { background: var(--coral-pale); }
/* the number area has a FIXED width (room for the longest weight, e.g. 131.5 kg) with the number centred in it,
   so the - and + buttons never move as the digits change */
.w-input { --wfs: 62px; display: flex; align-items: baseline; justify-content: center; gap: 6px; flex: none; width: calc(3.2 * var(--wfs) + 50px); max-width: 100%; }
.w-input input { width: calc(var(--n, 3) * .6em + .2em); min-width: 1.4em; max-width: 100%; border: 0; background: transparent; text-align: right; font-size: var(--wfs); font-weight: 800; letter-spacing: -.05em; color: var(--ink); outline: none; padding: 0; }
.w-input input:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; border-radius: 8px; }
.w-unit { font-size: 20px; font-weight: 700; color: var(--muted-light); }
.scale { width: 100%; max-width: 320px; }
.scale-track { height: 6px; border-radius: 99px; background: rgba(51, 41, 31, .1); position: relative; }
.scale-marker { position: absolute; top: -6px; left: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--coral); border: 2px solid #fff; transform: translateX(-50%); transition: left .25s ease; z-index: 1; }
.scale-range { position: absolute; left: -9px; top: -13px; width: calc(100% + 18px); height: 32px; margin: 0; padding: 0; opacity: 0; cursor: pointer; z-index: 2; -webkit-appearance: none; appearance: none; background: transparent; touch-action: pan-y; }
.scale-range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 32px; }
.scale-range::-moz-range-thumb { width: 18px; height: 32px; border: 0; }
.scale-track.is-drag .scale-marker { transition: none; }
.scale-track:has(.scale-range:focus-visible) .scale-marker { outline: 3px solid var(--coral); outline-offset: 3px; }
.scale-ideal { position: absolute; top: 0; height: 6px; border-radius: 99px; background: var(--teal); }
.scale-labels { display: flex; justify-content: space-between; gap: 8px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); margin-top: 14px; }
.scale-ideal-l { color: var(--teal-deep); text-align: center; }
.seg-toggle { display: flex; gap: 4px; border: 1.5px solid var(--hair); padding: 4px; border-radius: 99px; }
.seg-toggle button { border: 0; cursor: pointer; padding: 9px 24px; border-radius: 99px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: transparent; color: var(--muted); }
.seg-toggle button.is-on { background: var(--ink); color: var(--cream); }
/* mobile weight card: must come after the base rules above so it wins */
@media (max-width: 768px) {
  .weight-card { padding: 26px 18px; }
  .stepper { gap: 8px; }
  .step-btn { width: 44px; height: 44px; }
  .w-input { --wfs: 46px; gap: 4px; width: calc(3.2 * var(--wfs) + 30px); }
  .w-unit { font-size: 17px; }
}

/* calculating */
.calc { background: var(--coral-pale); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; padding: 60px var(--padx); }
.orbit { position: relative; width: 220px; height: 220px; display: flex; align-items: center; justify-content: center; }
.orbit .ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--coral); animation: dsRing 2.6s ease-out infinite; }
.orbit .r2 { animation-delay: .85s; } .orbit .r3 { animation-delay: 1.7s; }
.orbit-a { position: absolute; width: 190px; height: 190px; border-radius: 50%; border: 1.5px dashed rgba(51, 41, 31, .22); animation: dsOrbit 14s linear infinite; }
.orbit-a .o-ink { position: absolute; top: -7px; left: 50%; margin-left: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.orbit-a .o-teal { position: absolute; bottom: 22px; right: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.orbit-b { position: absolute; width: 132px; height: 132px; border-radius: 50%; border: 1.5px solid var(--hair); animation: dsOrbitRev 9s linear infinite; }
.orbit-b .o-coral { position: absolute; top: -6px; left: 50%; margin-left: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.orbit-mid { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; animation: dsFloat 3.4s ease-in-out infinite; }
.orbit-mid img { width: 92px; height: auto; display: block; }
.calc-pct { background: var(--ink); color: var(--cream); border-radius: 99px; padding: 6px 14px; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.calc-title { font-size: 34px; font-weight: 800; letter-spacing: -.035em; text-align: center; line-height: 1.05; max-width: 20ch; }
@media (max-width: 768px) { .calc-title { font-size: 26px; } }
.calc-steps { display: flex; flex-direction: column; gap: 12px; width: 100%; max-width: 380px; }
.calc-row { display: flex; align-items: center; gap: 12px; border-radius: 99px; padding: 11px 16px; opacity: .3; transition: opacity .45s, background .45s; font-size: 14px; font-weight: 700; letter-spacing: .01em; color: var(--coral-deep); }
.calc-row.is-live { opacity: 1; }
.calc-row.is-done { background: rgba(255, 255, 255, .66); }
.calc-dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid rgba(51, 41, 31, .3); flex: none; display: flex; align-items: center; justify-content: center; color: var(--cream); font-size: 11px; font-weight: 800; }
.calc-row.is-done .calc-dot { background: var(--ink); border-color: var(--ink); }
/* the step being worked on shows a spinner */
.calc-row.is-active { background: rgba(255, 255, 255, .4); }
.calc-row.is-active .calc-dot { border-color: var(--ink); border-top-color: transparent; animation: dsSpin .8s linear infinite; }

/* ---------------------------------------------------------------- result */
.reveal { background: var(--coral); padding: var(--reveal-pad); text-align: center; animation: dsRise .5s ease both; }
.wrap-narrow-out { max-width: 1180px; margin: 0 auto; }
.reveal-lead { font-size: 16px; font-weight: 700; margin-top: 26px; }
.reveal-n { font-size: var(--num); line-height: .82; font-weight: 800; letter-spacing: -.06em; margin: 14px 0 10px; }
.reveal-w { font-size: var(--yearsw); font-weight: 800; letter-spacing: -.02em; }
.reveal-tiles { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; max-width: 460px; margin: 30px auto 0; }
.tile { flex: 1 1 150px; border-radius: 20px; padding: 18px; text-align: left; }
.tile-l { font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tile-v { font-size: 24px; font-weight: 800; letter-spacing: -.03em; margin-top: 6px; }
.tile--ink { background: var(--ink); color: var(--cream); } .tile--ink .tile-l { color: rgba(255, 246, 238, .8); }
.tile--cream { background: var(--cream); } .tile--cream .tile-l { color: var(--muted-light); }
.reassure { background: var(--teal-pale); border-radius: 26px; padding: 26px; font-size: 16px; line-height: 1.55; font-weight: 600; color: var(--teal-deep); }
.upsell { background: var(--ink); border-radius: 30px; padding: 32px; }
.upsell-t { font-size: 26px; font-weight: 800; letter-spacing: -.03em; color: var(--cream); line-height: 1.05; }
.upsell p { font-size: 15px; line-height: 1.55; color: rgba(255, 246, 238, .66); margin: 12px 0 24px; }
.upsell-cap { text-align: center; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 246, 238, .5); margin-top: 14px; }
.fine { font-size: 12px; line-height: 1.6; color: var(--muted-light); text-align: center; }
.again { text-align: center; font-size: 13px; font-weight: 700; }
.again a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------------------------------------------------------------- checkout + thanks */
.checkout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; margin-top: 20px; align-items: start; }
.inside { background: var(--ink); border-radius: 30px; padding: 32px; }
.inside-t { font-size: var(--ctitle); font-weight: 800; letter-spacing: -.035em; color: var(--cream); line-height: 1; margin: 14px 0 24px; }
.ticks { display: flex; flex-direction: column; gap: 14px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: var(--cream); font-style: normal; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex: none; margin-top: 2px; }
.tick-t { font-size: 16px; font-weight: 700; color: var(--cream); }
.tick-n { font-size: 13px; line-height: 1.45; color: rgba(255, 246, 238, .6); margin-top: 3px; }
.paper { margin-top: 26px; border-radius: 20px; background-image: repeating-linear-gradient(135deg, rgba(255, 246, 238, .08) 0 10px, transparent 10px 20px); padding: 22px 22px 18px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.paper-page { width: 150px; background: var(--cream); border-radius: 8px; padding: 14px; transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(0, 0, 0, .28); }
.paper-eyebrow { font-size: 6px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-light); }
.paper-title { font-size: 13px; font-weight: 800; letter-spacing: -.03em; margin: 3px 0 8px; }
.paper-kcal { background: var(--coral); border-radius: 8px; padding: 8px 9px; color: var(--cream); }
.paper-kcal span { display: block; font-size: 6px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.paper-kcal b { display: block; font-size: 17px; font-weight: 800; letter-spacing: -.04em; margin-top: 3px; filter: blur(3px); }
.paper-lines { display: flex; flex-direction: column; gap: 5px; margin-top: 9px; }
.paper-lines i { display: block; height: 5px; border-radius: 3px; background: rgba(51, 41, 31, .12); }
.paper-lines i.short { width: 60%; }
.paper-cap { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #BCA894; }
.pay-col { display: flex; flex-direction: column; gap: 14px; }
.pay { background: var(--coral); border-radius: 30px; padding: 32px; }
.pay-price { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 4px; }
.pay-price span { font-size: var(--price); font-weight: 800; letter-spacing: -.055em; color: var(--cream); line-height: .85; }
.pay-price em { font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 246, 238, .82); }
.pay > p { font-size: 15px; line-height: 1.5; color: rgba(255, 246, 238, .9); margin-top: 14px; }
.pay form { margin-top: 26px; }
.pay .form-error + form { margin-top: 16px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; }
.secure i { width: 14px; height: 14px; border-radius: 4px; border: 2px solid rgba(255, 246, 238, .7); }
.secure span { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 246, 238, .82); }
.trust { display: flex; flex-direction: column; gap: 8px; }
.trust li { border-radius: 20px; padding: 18px 22px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; }
.trust--teal { background: var(--teal-pale); color: var(--teal-deep); }
.trust--white { background: #fff; border: 1.5px solid var(--hair); }
.trust--coral { background: var(--coral-pale); color: var(--coral-deep); }

.center-screen { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 22px; padding: 60px var(--padx); }
.center-screen--teal { background: var(--teal); }
.mark { width: 92px; height: auto; }
.screen-title { font-size: 34px; font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.screen-sub { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 40ch; }
.thanks-mark { width: 104px; height: 104px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; animation: dsRise .5s ease both; }
.thanks-mark img { width: 66px; height: auto; display: block; }
.thanks-t { font-size: var(--thanks); font-weight: 800; letter-spacing: -.04em; color: var(--cream); line-height: 1; }
.thanks-b { font-size: 16px; line-height: 1.55; color: rgba(255, 246, 238, .82); max-width: 32ch; }
.thanks-cap { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 246, 238, .6); }
.center-screen--teal .btn { margin-top: 6px; padding: 19px 32px; }

/* ---------------------------------------------------------------- report */
.report-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1.5px solid var(--hair); }
.report-t { margin-top: 10px; font-size: var(--report); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stack { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.stack--mt14 { margin-top: 14px; }
.rcard { background: #fff; border: 1.5px solid var(--hair); border-radius: 26px; padding: 28px; }
.rcard--teal { background: var(--teal-pale); border: 0; }
.rcard--mb10 { margin-bottom: 10px; }
.rbody { font-size: 15px; line-height: 1.6; color: var(--body-ink); max-width: 52ch; }
.rbody--mt16 { margin-top: 16px; } .rbody--mt18 { margin-top: 18px; }
.rbody--60 { max-width: 60ch; }
.rbody--tealmid { color: var(--teal-mid); }
.rbody--week { margin: 10px 0 14px; max-width: 56ch; }
.kcal { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 12px; }
.kcal span { font-size: 46px; font-weight: 800; letter-spacing: -.05em; color: var(--coral); line-height: .9; }
.kcal em { font-style: normal; font-size: 17px; font-weight: 600; color: var(--muted-light); }
.split { display: flex; gap: 3px; margin-top: 22px; }
.split-food { height: 14px; border-radius: 99px 4px 4px 99px; background: var(--coral); }
.split-treat { height: 14px; border-radius: 4px 99px 99px 4px; background: var(--teal); flex: 1; }
.legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 12px; }
.legend > div { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.legend b { font-weight: 800; } .legend span { color: var(--muted); }
.sw-coral, .sw-teal { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.sw-coral { background: var(--coral); } .sw-teal { background: var(--teal); }
.tip { display: flex; align-items: flex-start; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1.5px solid rgba(51, 41, 31, .12); font-size: 14px; line-height: 1.55; color: var(--muted); }
.tip-ring { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--teal); flex: none; margin-top: 2px; }
.plot { position: relative; height: 130px; }
.plot-band { position: absolute; left: 12%; right: 0; border-radius: 8px; background: var(--teal-pale); }
.plot-band-l { position: absolute; right: 2px; transform: translateY(-130%); font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--teal-deep); }
.plot svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.plot-dot { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: var(--cream); border: 2.5px solid var(--coral); }
.plot-dot--start { left: 0; transform: translate(-50%, -50%); }
.plot-dot--end { right: 0; transform: translate(50%, -50%); }
.plot-today { position: absolute; left: 0; transform: translateY(-190%); font-size: 13px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.axis { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-light); }
.axis-t { color: var(--ink); font-size: 13px; letter-spacing: -.01em; text-transform: none; }
.portion { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1.5px solid rgba(51, 41, 31, .1); }
.portion--last { border-bottom: 0; }
.portion span { font-size: 16px; font-weight: 600; }
.portion b { font-size: 18px; font-weight: 800; letter-spacing: -.02em; text-align: right; }
.foodbox { background: var(--coral-pale); border-radius: 18px; padding: 20px; font-size: 14px; line-height: 1.6; color: var(--coral-deep); margin-top: 8px; }
.tips { display: flex; flex-direction: column; gap: 14px; }
.tips li { display: flex; align-items: flex-start; gap: 12px; }
.tips i { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); flex: none; margin-top: 8px; }
.tips span { font-size: 15px; line-height: 1.6; color: var(--body-ink); }
.week { margin-top: 30px; }
.bars { display: flex; align-items: flex-end; gap: 10px; margin-top: 26px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.bar-l { font-size: 12px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
@media (max-width: 768px) { .bar-u { display: none; } } /* seven columns are narrow on a phone: the card title already says "minutes" */
/* the fixed track height is load-bearing: without it the bars clamp and misrepresent the data */
.bar-track { width: 100%; height: 110px; display: flex; align-items: flex-end; flex: none; }
.bar { width: 100%; border-radius: 8px; background: var(--teal); flex: none; }
.bar-d { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--muted-light); }
.days { display: flex; flex-direction: column; gap: 6px; }
.day { background: #fff; border: 1.5px solid var(--hair-soft); border-radius: 99px; padding: 12px 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.day-n { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; width: 36px; flex: none; }
.day-tags { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; }
.day-m { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.report-actions { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.report-actions .btn--ink { flex: 1 1 220px; }
.report-actions .btn--outline { flex: 0 1 200px; }
.fine--report { font-size: 13px; margin: 22px auto 0; max-width: 62ch; }

/* ---------------------------------------------------------------- print (the "PDF" button opens the print dialog) */
@media print {
  @page { margin: 14mm; }
  body { background: #fff; background-image: none; }
  .no-print { display: none !important; }
  .flow { min-height: 0; padding: 0; }
  .col-700 { max-width: none; }
  .rcard, .day, .foodbox, .bar-col { break-inside: avoid; }
  .rcard { border-color: #ccc; }
  .week { break-before: page; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.foodbox--mt { margin-top: 16px; }

/* method page */
.method-eb { margin-top: 20px; }
.method .report-t { margin-top: 10px; }
.method-lead { margin: 16px 0 6px; max-width: 62ch; }
.sources { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.55; color: var(--teal-mid); }
.sources a { color: var(--teal-deep); text-decoration: underline; text-underline-offset: 2px; }
.fine a { text-decoration: underline; text-underline-offset: 2px; }

/* optional calories from the food label */
.kcal-box { margin-top: 14px; background: #fff; border: 1.5px solid var(--hair); border-radius: 22px; padding: 18px 20px; }
.kcal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.seg-toggle--sm { padding: 3px; }
.seg-toggle--sm button { padding: 7px 14px; font-size: 11px; }
.kcal-row { display: flex; align-items: baseline; gap: 10px; margin-top: 12px; border-bottom: 1.5px solid var(--hair); padding-bottom: 6px; }
.kcal-row:focus-within { border-bottom-color: var(--coral); }
.kcal-row input { width: 9ch; border: 0; background: transparent; font-size: 28px; font-weight: 800; letter-spacing: -.03em; color: var(--ink); outline: none; padding: 0; }
.kcal-row input::placeholder { color: rgba(51, 41, 31, .28); }
.kcal-unit { font-size: 14px; font-weight: 700; color: var(--muted-light); }
.kcal-help { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--muted); }
.kcal-warn { margin-top: 10px; font-size: 13px; line-height: 1.5; font-weight: 600; color: var(--coral-deep); background: var(--coral-pale); border-radius: 12px; padding: 10px 14px; }

.reveal-range { margin-top: 10px; font-size: 14px; font-weight: 600; color: rgba(51, 41, 31, .8); }

.foodbox--teal { background: var(--teal-pale); color: var(--teal-deep); font-weight: 600; }
.calc-box { margin-top: 14px; background: var(--cream); border: 1.5px solid var(--hair-soft); border-radius: 18px; padding: 16px 18px; }
.calc-box .kcal-row { margin-top: 10px; }
.calc-box .kcal-help { margin-top: 10px; }
.checkin-cta { margin-top: 16px; }

/* weigh-in page */
.form-notice { background: var(--teal-pale); color: var(--teal-deep); border-radius: 14px; padding: 12px 16px; font-size: 14px; font-weight: 600; margin-top: 18px; }
.advice { margin-top: 22px; }
.advice-t { font-size: 24px; font-weight: 800; letter-spacing: -.03em; color: var(--teal-deep); margin-bottom: 8px; }
.weigh-card { margin-top: 14px; }
.weigh-form .btn { margin-top: 18px; }
.weigh-row input { width: 8ch; }
.progress-wrap { margin-top: 18px; }
.progress { height: 12px; border-radius: 99px; background: rgba(51, 41, 31, .1); overflow: hidden; }
.progress > div { height: 100%; border-radius: 99px; background: var(--teal); }
.progress-wrap .axis { margin-top: 10px; }
.hist { display: flex; flex-direction: column; }
.hist-row { display: grid; grid-template-columns: .8fr 1fr 1fr 1.2fr; gap: 10px; padding: 10px 0; border-bottom: 1.5px solid rgba(51, 41, 31, .08); font-size: 14px; }
.hist-row:last-child { border-bottom: 0; }
.hist-row--head { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); padding-top: 0; }
.weigh-card { }

.thanks-cap--soft { font-weight: 600; letter-spacing: .04em; text-transform: none; font-size: 13px; max-width: 34ch; line-height: 1.5; }

/* common-brand quick pick on the food step */
.kcal-brands { margin-top: 14px; }
.kcal-brands-l { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.kcal-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1.5px solid rgba(51, 41, 31, .18); background: #fff; border-radius: 99px; padding: 7px 13px; font-size: 12px; font-weight: 700; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--coral); }
.kcal-help--proj { margin-top: 12px; background: var(--cream); border-radius: 12px; padding: 10px 14px; }

/* legal page (privacy/terms) reuses .method; checkout legal line */
.checkout-legal { margin-top: 4px; font-size: 12px; line-height: 1.5; color: var(--muted-light); text-align: center; }
.checkout-legal a { text-decoration: underline; text-underline-offset: 2px; }

/* mobile-only: the breed-count trust message moves to a slim bar at the very top of the page, out of the
   name box, so the name box goes straight from the "60 seconds" caption to the hero illustration below it */
.promo-bar { display: none; }
@media (max-width: 768px) {
  .promo-bar { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: var(--cream); padding: 9px 16px; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-align: center; }
  .promo-bar span { line-height: 1.3; }
  .namebox .trust-pill { display: none; }
}

/* result page: a genuinely worrying puppy weight replaces the years-number hero with a vet prompt,
   same coral panel, same visual weight, so it reads as the headline rather than a footnote */
.reveal-vet { margin-top: 26px; max-width: 46ch; margin-left: auto; margin-right: auto; }
.reveal-vet-t { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.reveal-vet-b { margin-top: 14px; font-size: 15px; line-height: 1.5; font-weight: 600; color: rgba(51, 41, 31, .82); }

/* SEO content pages: breed guide table, calculator, breed hub grid */
.breed-kcal-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.breed-kcal-table th, .breed-kcal-table td { text-align: left; padding: 10px 12px; border-bottom: 1.5px solid var(--hair); }
.breed-kcal-table th { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-light); }
.breed-kcal-table td:first-child { font-weight: 700; }
.breed-kcal-note { display: block; font-weight: 500; color: var(--muted-light); font-size: 12px; }

.calc-tool { background: #fff; border: 1.5px solid var(--hair); border-radius: 26px; padding: 28px; margin-top: 22px; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.calc-field label { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.calc-field input, .calc-field select { width: 100%; border: 1.5px solid var(--hair); border-radius: 12px; padding: 12px 14px; font-size: 15px; font-family: inherit; background: #fff; color: var(--ink); }
.calc-field input:focus, .calc-field select:focus { outline: 2px solid var(--coral); outline-offset: 1px; }
.calc-result { margin-top: 18px; background: var(--cream); border-radius: 16px; padding: 20px; text-align: center; }
.calc-result-n { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.calc-result-l { margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
@media (max-width: 560px) { .calc-row { grid-template-columns: 1fr; } }

.breed-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 20px; }
.breed-grid a { display: block; padding: 12px 16px; border: 1.5px solid var(--hair); border-radius: 14px; font-size: 14px; font-weight: 700; color: var(--ink); }
.breed-grid a:hover { border-color: var(--coral); }
.breed-grid-note { display: block; font-weight: 500; color: var(--muted-light); font-size: 12px; margin-top: 2px; }
