/* Satoshi, self-hosted (Fontshare, ITF Free Font License). Fallback faces are size-matched to Arial so the swap does not shift layout.
   Brand doc names Poppins or Montserrat Bold: to swap, change --font below (one line) and the @font-face source. */
@font-face { font-family: "Satoshi"; font-weight: 300 900; font-style: normal; font-display: swap; src: url("fonts/satoshi-variable.woff2") format("woff2"); }
@font-face { font-family: "Satoshi Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 97.9%; ascent-override: 103.1%; descent-override: 24.5%; line-gap-override: 10.2%; }
@font-face { font-family: "Satoshi Fallback"; font-weight: 500; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 100.7%; ascent-override: 100.3%; descent-override: 23.8%; line-gap-override: 9.9%; }
@font-face { font-family: "Satoshi Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"); size-adjust: 97.3%; ascent-override: 103.8%; descent-override: 24.7%; line-gap-override: 10.3%; }
@font-face { font-family: "Satoshi Fallback"; font-weight: 900; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"), local("Helvetica-Bold"); size-adjust: 100.7%; ascent-override: 100.3%; descent-override: 23.8%; line-gap-override: 9.9%; }

/* HappiFur concept 2: the 8-tool kit. Plain CSS, no build step. Same system as concept 1, client palette. */

:root {
  --blue: #2b5ce6;          /* Royal Blue. White on it measures 5.6:1 */
  --blue-ink: #2b5ce6;
  --blue-hover: #1f49c2;
  --blue-soft: #e9efff;
  --navy: #19407b;          /* Navy. White on it measures 10.1:1 */
  --navy-deep: #12305f;
  --ink: #1f2a40;
  --muted: #4d5770;
  --amber: #e8a33d;         /* Soft Amber: accent only, never white text on it */
  --amber-ink: #8a5300;
  --cream: #f7f3ec;         /* Warm Cream */
  --grey: #f0f0f0;
  --line: #e6e1d8;
  --green-bg: #eaf4e4;
  --green: #1d6b45;
  --white: #fff;
  --r-card: 18px;
  --r-pill: 999px;
  --shadow: 0 10px 30px rgba(25, 64, 123, .09);
  --shadow-lift: 0 14px 30px rgba(25, 64, 123, .2);
  --maxw: 1200px;
  --gutter: 20px;
  --top-h: 108px;
  --font: "Satoshi", "Satoshi Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--top-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
h1, h2, h3, .h2 { color: var(--navy); margin: 0; line-height: 1.12; letter-spacing: -.015em; }
h1 { font-weight: 900; font-size: clamp(36px, 4.3vw, 58px); letter-spacing: -.025em; }
h2, .h2 { font-weight: 700; font-size: clamp(28px, 3vw, 40px); }
h3 { font-weight: 700; font-size: 19px; line-height: 1.3; }
p { margin: 0 0 1em; }
a { color: var(--blue-ink); }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.footer :focus-visible, .stats :focus-visible, .roll :focus-visible, .announce :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }
.nw { white-space: nowrap; }
.sec { padding: 96px 0; }
.bg-cream { background: var(--cream); }
.sec-head { margin-bottom: 36px; }
.sec-head p { margin: 10px 0 0; color: var(--muted); font-size: 18px; }
.sec-head.center p { margin-left: auto; margin-right: auto; max-width: 560px; }
.eyebrow { display: inline-block; margin: 0 0 12px; color: var(--blue-ink); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sec-head .eyebrow { margin: 0 0 12px; color: var(--blue-ink); font-size: 14px; }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border: 2px solid transparent; border-radius: var(--r-pill);
  font-weight: 700; font-size: 17px; line-height: 1.2; text-decoration: none;
  transition: background-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.btn-primary { background: var(--blue-ink); color: #fff; box-shadow: 0 6px 16px rgba(43, 92, 230, .24); }
.btn-primary:hover { background: var(--blue-hover); box-shadow: var(--shadow-lift); }
.btn-outline { background: #fff; color: var(--blue-ink); border-color: var(--blue-ink); }
.btn-outline:hover { background: var(--blue-soft); }
.btn-outline:disabled { opacity: .55; cursor: default; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { box-shadow: 0 14px 30px rgba(0, 0, 0, .25); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-block { width: 100%; }
.btn svg { flex: none; }
.text-link { font-weight: 700; color: var(--blue-ink); text-underline-offset: 4px; display: inline-block; padding: 11px 0; margin: -11px 0; }
.text-btn { background: none; border: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 8px; min-height: 44px; }

.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: var(--r-pill); font-weight: 700; font-size: 14px; }
.pill-badge { background: #fff; color: var(--navy); padding: 7px 14px 7px 12px; border: 1px solid #e2e2e2; margin-bottom: 20px; }
.badge-paw { width: 16px; height: 16px; fill: var(--blue); flex: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.tag-green { background: #fff; color: var(--green); }
.tag-amber { background: #fdf1df; color: var(--amber-ink); }

/* Sticky top */
.topbar { position: sticky; top: 0; z-index: 50; }
.announce { background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; }
.announce-track { position: relative; height: 38px; overflow: hidden; max-width: var(--maxw); margin: 0 auto; }
.announce-msg { position: absolute; inset: 0; margin: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 16px; visibility: hidden; }
.announce-msg.is-active { visibility: visible; }

.header { background: #fff; border-bottom: 1px solid #ececec; transition: box-shadow .25s ease; }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 72px; transition: height .25s ease; gap: 24px; }
.topbar.is-scrolled .header { box-shadow: 0 6px 20px rgba(25, 64, 123, .1); }
.topbar.is-scrolled .header-in { height: 60px; }
.topbar.is-scrolled .wordmark { font-size: 25px; }

.wordmark { padding: 9px 0; margin: -9px 0; font-weight: 900; font-size: 29px; color: var(--navy); text-decoration: none; letter-spacing: -.02em; line-height: 1; white-space: nowrap; transition: font-size .25s ease; }
.wordmark .wm-i { color: var(--blue); }
.wordmark-light, .wordmark-light .wm-i { color: #fff; }
.wm-i { position: relative; display: inline-block; width: .2em; height: .53em; margin: 0 .045em; background: currentColor; border-radius: .03em; vertical-align: baseline; }
.wm-paw { position: absolute; left: 50%; bottom: calc(100% + .07em); width: .4em; height: .4em; transform: translateX(-50%) rotate(-12deg); fill: currentColor; }

.nav { display: flex; gap: 32px; }
.nav a { color: var(--navy); font-weight: 500; text-decoration: none; padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; color: var(--navy); position: relative; }
.icon-btn:hover { background: #f2f4fa; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--amber); color: #10264b; font-size: 12px; font-weight: 900; line-height: 19px; text-align: center; }
.burger { display: none; }
.burger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; margin: 2.5px 0; transition: transform .25s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { visibility: hidden; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
.mnav { display: none; border-top: 1px solid #ececec; background: #fff; }
.mnav a { display: block; padding: 14px 0; color: var(--navy); font-weight: 700; font-size: 18px; text-decoration: none; border-bottom: 1px solid #f0f0f0; }
.mnav a:last-child { border-bottom: 0; }

/* 1: Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; padding: 0; background: var(--grey); }
.hero-copy { display: flex; align-items: center; padding: 64px 48px 64px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
.hero-copy-in { max-width: 580px; }
.hero h1 { margin-bottom: 18px; }
.lead { font-size: 19px; color: var(--ink); max-width: 520px; margin-bottom: 24px; }
.price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.price { font-size: 34px; font-weight: 900; color: var(--navy); letter-spacing: -.02em; }
.save-chip { background: #fff; color: var(--navy); border: 1px solid #dcdcdc; padding: 5px 12px; border-radius: var(--r-pill); font-size: 14px; font-weight: 700; }
.cta-row { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.trust { display: flex; align-items: center; gap: 8px 22px; flex-wrap: wrap; font-size: 15px; font-weight: 500; color: var(--navy); margin: 0; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { color: var(--green); flex: none; }
.hero-media { position: relative; overflow: hidden; background: #e7e3da; min-height: 100%; }
.hero-photo { width: 100%; height: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 62%; }
/* Kit hero (generated product shot): keep the cat on the left and the box on the right in frame. No slow zoom here, it would crop them. */
.hero-kit { object-position: 17% 50%; }
@media (min-width: 861px) { .hero-has-kit .hero-copy { padding-top: 40px; padding-bottom: 40px; } }
@media (min-width: 861px) and (max-width: 1399px) { .hero-kit { object-position: 30% 50%; } }

/* USP */
.usp { background: #fff; border-bottom: 1px solid #ececec; }
.usp-list { display: flex; justify-content: center; align-items: center; gap: 12px 56px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px; }
.usp-list li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--navy); }
.usp-list svg { color: var(--blue); flex: none; }

/* 2: Problem */
.problem-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.problem-copy h2 { font-size: clamp(34px, 4vw, 52px); font-weight: 900; margin-bottom: 20px; }
.problem-copy p { font-size: 19px; max-width: 480px; }
.punch { font-weight: 700; color: var(--navy); font-size: 22px !important; line-height: 1.35; margin: 0; }
.hl { white-space: nowrap; background: linear-gradient(transparent 62%, rgba(232, 163, 61, .45) 62%); padding: 0 2px; }
.fur-spots { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.spot { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; font-weight: 700; font-size: 18px; color: var(--navy); line-height: 1.3; transition: transform .25s ease, box-shadow .25s ease; }
.spot:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.spot-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--navy); display: grid; place-items: center; }
.spot-drawer { background: var(--navy); border-color: var(--navy); color: #fff; }
.spot-drawer .spot-ic { background: rgba(255, 255, 255, .12); color: var(--amber); }

/* 3: Two steps */
.steps { background: #fff; border-radius: 26px; box-shadow: var(--shadow); padding: 14px; }
.step-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--cream); border-radius: 20px; padding: 6px; gap: 6px; }
.step-tab { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 18px; border: 0; border-radius: 15px; background: transparent; text-align: left; color: var(--navy); transition: color .3s ease; }
.step-tab-n { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy); font-weight: 900; transition: background-color .3s ease, color .3s ease; }
.step-tab-t { display: flex; flex-direction: column; line-height: 1.2; }
.step-tab-k { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); transition: color .3s ease; }
.step-tab-name { font-size: 19px; font-weight: 700; }
.step-tab.is-active { color: #fff; }
.step-tab.is-active .step-tab-k { color: #d3def7; }
.step-tab.is-active .step-tab-n { background: var(--amber); color: #10264b; }
.step-tab-ind { position: absolute; z-index: 0; top: 6px; bottom: 6px; left: 6px; width: calc(50% - 9px); border-radius: 15px; background: var(--navy); transform: translateX(var(--tab-x, 0)); }
.steps[data-step="2"] .step-tab-ind { --tab-x: calc(100% + 6px); }
.step-panel { display: none; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: center; padding: 36px 30px 26px; }
.step-panel.is-active { display: grid; }
.step-big { font-size: 72px; font-weight: 900; line-height: 1; color: var(--blue-soft); margin: 0 0 6px; letter-spacing: -.04em; -webkit-text-stroke: 1.5px #c5d3fb; color: transparent; }
.step-text h3 { font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 10px; }
.step-text > p { font-size: 18px; color: var(--ink); }
.step-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.step-tools li { display: flex; align-items: center; gap: 8px; padding: 4px 14px 4px 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 15px; font-weight: 700; color: var(--navy); }
.step-tools img { width: 36px; height: 36px; border-radius: 50%; object-fit: contain; background: #fff; }
.step-tools b { color: var(--blue-ink); margin-right: 2px; }
.step-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.step-photos figure { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1.08; background: var(--cream); }
.step-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.step-photos figure:hover img { transform: scale(1.06); }
.step-photos figcaption { position: absolute; left: 8px; bottom: 8px; background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: var(--r-pill); box-shadow: var(--shadow); }
.step-photos-3 figure { aspect-ratio: 1 / 1.25; }
.step-cta { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 16px; background: var(--navy) !important; color: #d3def7; font-size: 15px; line-height: 1.4; }
.step-cta p { margin: 0; }
.step-cta strong { color: #fff; display: block; font-size: 17px; }
.step-tip { grid-column: 1 / -1; aspect-ratio: auto !important; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; }
.step-tip p { max-width: 380px; }
.step-tip .btn { flex: none; }

/* 4: Tools and surface picker */
.picker { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 auto 14px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px 10px 14px; border: 1.5px solid #d9dfee; border-radius: var(--r-pill); background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; white-space: nowrap; transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.chip svg { flex: none; color: var(--blue); fill: currentColor; transition: color .2s ease; }
.chip:hover { border-color: var(--blue); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip.is-active svg { color: var(--amber); }
.picker-status { text-align: center; color: var(--muted); font-size: 15px; margin: 0 auto 30px; min-height: 1.6em; }
.picker-status strong { color: var(--navy); }

.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: start; }
.tool { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; transition: box-shadow .25s ease, border-color .3s ease, opacity .35s ease, transform .35s ease, filter .35s ease; }
.tool:hover { box-shadow: var(--shadow); }
.show-tbc .tool { overflow: visible; }
.tool-media { border-radius: var(--r-card) var(--r-card) 0 0; position: relative; aspect-ratio: 1 / .82; background: #fff; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid #f0ece4; }
.tool-media img { width: 72%; max-width: 240px; height: auto; aspect-ratio: 1 / 1; object-fit: contain; transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.tool:hover .tool-media img { transform: rotate(-5deg) scale(1.08); }
.tool-n { position: absolute; left: 12px; top: 12px; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 900; font-size: 15px; display: grid; place-items: center; }
.tool-step { position: absolute; right: 12px; top: 14px; z-index: 1; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--cream); padding: 2px 8px; border-radius: var(--r-pill); }
.tool-body { padding: 16px 18px 6px; }
.tool-body h3 { font-size: 18px; margin-bottom: 4px; }
.tool-best { font-size: 15px; color: var(--muted); margin: 0 0 6px; line-height: 1.45; min-height: 2.9em; }
.tool-more { width: calc(100% + 36px); margin: 0 -18px; display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 8px 18px; border: 0; border-top: 1px dashed #e8e3da; background: none; color: var(--blue-ink); font-weight: 700; font-size: 14px; text-align: left; }
.tool-more:hover { background: #fafbff; }
.plus { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-soft); transition: transform .3s ease, background-color .3s ease; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 2px; margin: -1px 0 0 -5.5px; background: var(--blue); border-radius: 2px; }
.plus::after { transform: rotate(90deg); }
.tool-more[aria-expanded="true"] .plus { transform: rotate(45deg); background: var(--blue); }
.tool-more[aria-expanded="true"] .plus::before, .tool-more[aria-expanded="true"] .plus::after { background: #fff; }
.tool-details { display: grid; grid-template-rows: 0fr; visibility: hidden; }
.tool-details > div { overflow: hidden; }
.tool.is-open .tool-details { grid-template-rows: 1fr; visibility: visible; }
.tool-details dl { display: grid; gap: 10px; padding: 4px 0 16px; font-size: 14px; line-height: 1.45; }
.tool-details dt { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.tool-details dt svg { flex: none; }
.tool-details dd { color: var(--ink); }
.d-ok dt { color: var(--green); }
.d-skip dt { color: #a2321f; }
.d-warn { background: #fdf4e6; border-radius: 10px; padding: 9px 10px; }
.d-warn dt { color: var(--amber-ink); }

/* Picker states. Dimmed tools stay readable (opacity well above 0). */
.tool-grid.is-filtered .tool.is-dim { opacity: .4; filter: grayscale(.9); transform: scale(.97); }
.tool-grid.is-filtered .tool.is-lit { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue), var(--shadow); }
.tool-grid.is-filtered .tool.is-lit .tool-n { background: var(--blue); }
.guide-line { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 32px auto 0; font-weight: 700; color: var(--navy); text-align: center; }
.guide-line svg { flex: none; color: var(--blue); }

/* 5: Why */
.why { padding-bottom: 72px; }
.why-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; margin-bottom: 72px; }
.why-copy h2 { margin-bottom: 14px; }
.why-lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 18px; }
.point { padding: 14px 0 14px 22px; border-left: 3px solid #dbe4fb; transition: border-color .3s ease; }
.point:hover { border-left-color: var(--blue); }
.point + .point { margin-top: 4px; }
.point h3 { margin-bottom: 4px; }
.point p { margin: 0; color: var(--muted); }
.why-media { display: grid; place-items: center; }
.bob-circle { width: min(100%, 460px); aspect-ratio: 1 / 1; border-radius: 50%; background: var(--cream); display: grid; place-items: center; }
.bob { width: 86%; position: relative; }
.bob img { width: 100%; border-radius: 12px; box-shadow: 0 24px 50px rgba(18, 48, 95, .2); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; background: var(--navy); color: #fff; border-radius: 26px; padding: 44px 32px; text-align: center; }
.stat svg { color: var(--amber); margin: 0 auto 10px; display: block; }
.stat-num { font-size: clamp(38px, 4.4vw, 56px); font-weight: 900; line-height: 1; margin: 0 0 8px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-label { margin: 0; color: #d3def7; font-size: 16px; }
.stats-note { text-align: center; margin: 18px 0 0; color: var(--muted); }

/* 6: Perfect for */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: hidden; background: #ddd; transition: transform .3s ease, box-shadow .3s ease; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .5s ease; }
.tile:hover { transform: scale(1.03); box-shadow: var(--shadow-lift); }
.tile:hover img { transform: scale(1.06); }
.tile-label { position: absolute; left: 12px; right: 12px; bottom: 12px; background: #fff; color: var(--navy); font-weight: 700; font-size: 15px; line-height: 1.25; padding: 9px 14px; border-radius: 14px; box-shadow: var(--shadow); }
.tile-box { background: #fff; border: 1px solid var(--line); }
.tile-box img { object-fit: contain; padding: 18px 14px 70px; }

/* 7: Roll demo */
.roll { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-card); overflow: hidden; background: var(--navy-deep); box-shadow: var(--shadow); }
.roll canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: none; user-select: none; -webkit-user-select: none; }
.roll-done { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(90%, 520px); background: rgba(18, 48, 95, .92); color: #fff; border-radius: var(--r-card); padding: 28px; text-align: center; }
.roll-done[hidden] { display: none; }
.roll-done-title { font-size: clamp(20px, 2.4vw, 28px); font-weight: 900; margin-bottom: 6px; line-height: 1.2; }
.roll-done-sub { color: #d3def7; margin-bottom: 18px; }
.roll-done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.roll-bar { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.meter { flex: 1; height: 12px; background: #e6ebf7; border-radius: var(--r-pill); overflow: hidden; }
.meter-fill { display: block; height: 100%; width: 0; background: var(--blue); border-radius: inherit; transition: width .15s linear; }
.meter-label { margin: 0; min-width: 120px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }

/* 8: FAQ */
.faq-sec h2 { margin-bottom: 32px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.faq-item + .faq-item { border-top: 1px solid var(--line); }
.faq-item h3 { font-size: inherit; margin: 0; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border: 0; background: #fff; text-align: left; font-weight: 700; font-size: 18px; color: var(--navy); }
.faq-q:hover { background: #fafbff; }
.faq-icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-soft); transition: transform .3s ease, background-color .3s ease; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--blue); border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); background: var(--blue); }
.faq-q[aria-expanded="true"] .faq-icon::before, .faq-q[aria-expanded="true"] .faq-icon::after { background: #fff; }
.faq-a { display: grid; grid-template-rows: 0fr; visibility: hidden; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 24px 22px; color: var(--ink); max-width: 640px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; visibility: visible; }

/* 9: Support card */
.risk-sec { padding-top: 0; }
.faq-sec + .risk-sec { padding-top: 96px; }
.risk { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; background: var(--green-bg); border: 1px solid #d6e8cd; border-radius: 26px; padding: 52px 56px; }
.risk h2 { margin-bottom: 14px; }
.risk-copy p { color: var(--ink); font-size: 18px; max-width: 460px; }
.stepper li { display: flex; gap: 16px; padding: 10px 0; }
.step-n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 900; display: grid; place-items: center; }
.stepper h3 { font-size: 18px; margin: 4px 0 2px; }
.stepper p { margin: 0; color: #34433a; }
.stepper a { color: var(--green); font-weight: 700; }
.risk-foot { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; padding-top: 16px; border-top: 1px solid #cfe2c5; color: var(--green); font-weight: 700; }
.risk-foot svg { flex: none; }

/* 10: Closing */
.manifesto { background: var(--grey); }
.manifesto h2 { margin-bottom: 18px; font-size: clamp(32px, 4vw, 52px); font-weight: 900; }
.manifesto p { font-size: 19px; }
.man-list { display: inline-grid; gap: 10px; text-align: left; margin: 10px auto 30px; }
.man-list li { position: relative; padding-left: 30px; }
.man-list li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.man-list strong { color: var(--navy); }
.man-end { margin: 40px 0 0; font-size: 24px !important; font-weight: 700; color: var(--navy); }

/* 11: Footer */
.footer { background: var(--navy-deep); color: #d3def7; padding: 72px 0 88px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.4fr; gap: 56px; }
.tagline { color: #fff; margin: 14px 0 28px; font-weight: 500; }
.news { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-card); padding: 22px; max-width: 440px; }
.news-title { display: block; color: #fff; font-weight: 700; font-size: 18px; }
.news-sub { font-size: 15px; margin: 4px 0 14px; }
.news-row { display: flex; gap: 10px; }
.news input { flex: 1; min-width: 0; height: 44px; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .35); background: #fff; color: var(--ink); padding: 0 18px; font: inherit; font-size: 15px; }
.news-msg { margin: 10px 0 0; font-size: 15px; color: #fff; min-height: 1.4em; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h2 { color: #fff; font-size: 16px; margin-bottom: 14px; letter-spacing: 0; }
.footer-cols li { margin-bottom: 6px; }
.footer-cols a { display: inline-block; padding: 3px 0; }
.footer a { color: #d3def7; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; }
.footer-bottom p { margin: 0; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(18, 48, 95, .5); }
.overlay[hidden] { display: none; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(420px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(18, 48, 95, .2); transform: translateX(100%); visibility: hidden; }
.drawer.is-open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 22px; }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: var(--cream); }
.drawer-item h3 { font-size: 16px; margin-bottom: 2px; }
.drawer-item .meta { font-size: 14px; color: var(--muted); margin: 0 0 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-pill); }
.qty button { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; font-size: 18px; font-weight: 700; color: var(--navy); }
.qty button:hover { background: #f2f4fa; }
.qty span { min-width: 26px; text-align: center; font-weight: 700; }
.line-price { font-weight: 700; color: var(--navy); }
.drawer-empty { padding: 32px 22px; color: var(--muted); margin: 0; }
.drawer-empty[hidden] { display: none; }
.drawer-foot { padding: 20px 22px 24px; border-top: 1px solid var(--line); background: var(--cream); }
.subtotal { display: flex; justify-content: space-between; font-size: 18px; margin-bottom: 14px; color: var(--navy); }
.drawer-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 14px; color: var(--muted); }

/* Popup */
dialog { border: 0; padding: 0; color: var(--ink); }
dialog::backdrop { background: rgba(18, 48, 95, .55); }
.popup { width: min(440px, calc(100% - 32px)); border-radius: 22px; padding: 36px 32px 24px; text-align: center; box-shadow: var(--shadow-lift); }
.popup h2 { font-size: 28px; margin-bottom: 10px; }
.popup p { color: var(--muted); }
.popup input { width: 100%; height: 50px; border-radius: var(--r-pill); border: 1px solid #cfd2de; padding: 0 20px; font: inherit; margin-bottom: 12px; }
.popup .text-btn { margin-top: 6px; }
.popup-x { position: absolute; top: 10px; right: 10px; }
.popup-done svg { color: var(--green); margin: 0 auto 10px; }
.popup-done[hidden], .popup-form[hidden] { display: none; }

/* Concept notes (to-confirm items) */
.notes-btn { position: fixed; left: 16px; bottom: 16px; z-index: 70; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; border: 1px solid #d7d9e3; background: #fff; color: var(--navy); font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow); }
.notes-btn::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #c3c6d4; }
.notes-btn[aria-pressed="true"]::before { background: var(--amber); }
.notes-count { display: none; }
.notes-btn[aria-pressed="true"] .notes-count { display: inline; color: var(--amber-ink); }
.show-tbc .tbc { outline: 2px dashed var(--amber); outline-offset: 2px; border-radius: 3px; background-color: rgba(232, 163, 61, .16); position: relative; cursor: help; }
.show-tbc .tbc:hover::after, .show-tbc .tbc:focus-within::after {
  content: "To confirm: " attr(data-tbc);
  position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 20;
  width: max-content; max-width: 280px; padding: 7px 10px; border-radius: 8px;
  background: #1c1c1c; color: #fff; font-size: 13px; font-weight: 500; line-height: 1.35;
  text-transform: none; letter-spacing: 0; text-align: left; white-space: normal; pointer-events: none;
}

/* About page */
.about-hero .hero-photo { object-position: 45% 60%; }
.story { font-size: 19px; }
.story h2 { margin-bottom: 22px; }
.story p { margin-bottom: 1.1em; }
.story-open { font-size: 23px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.founder { margin: 6px 0 1.4em; padding: 18px 20px; border: 2px dashed var(--amber); border-radius: 14px; background: #fdf6ea; color: var(--amber-ink); font-weight: 500; font-size: 17px; }
.founder-k { display: block; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.became { font-size: clamp(26px, 3vw, 36px); font-weight: 900; color: var(--navy); margin: 1.2em 0 0; line-height: 1.15; }
.means-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.means-copy p { font-size: 18px; }
.means-copy h2 { margin-bottom: 18px; }
.means-copy .quote-tag { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; color: var(--blue-ink); line-height: 1.2; margin: 18px 0 0; }
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.way { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px; transition: transform .25s ease, box-shadow .25s ease; }
.way:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.way-ic { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; margin-bottom: 16px; }
.way h3 { margin-bottom: 8px; }
.way p { margin: 0; color: var(--muted); font-size: 16px; }
.signoff { font-weight: 700; color: var(--navy); font-size: 20px !important; margin: 6px 0 28px; }

/* Responsive */
@media (max-width: 1024px) {
  .why-grid, .problem-grid { gap: 48px; }
  .tool-grid { grid-template-columns: repeat(3, 1fr); }
  .ways { grid-template-columns: 1fr 1fr; }
  .step-panel { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .sec { padding: 64px 0; }
  .nav { display: none; }
  .burger { display: inline-grid; }
  .mnav.is-open { display: block; }
  .header-in { height: 62px; }
  .topbar.is-scrolled .header-in { height: 56px; }
  .wordmark { font-size: 26px; }
  .topbar.is-scrolled .wordmark { font-size: 24px; }

  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 32px var(--gutter) 28px; }
  .hero-media { min-height: 0; }
  .hero-photo { height: auto; aspect-ratio: 4 / 3; }
  .lead { font-size: 17px; }
  .price { font-size: 30px; }
  .cta-row { gap: 14px 20px; }
  .cta-row .btn-primary { width: 100%; }

  .usp-list { gap: 8px 22px; justify-content: flex-start; }
  .usp-list li { font-size: 14px; }

  .problem-grid, .why-grid, .risk, .footer-grid, .means-grid { grid-template-columns: minmax(0, 1fr); }
  .problem-grid { gap: 28px; }
  .fur-spots { gap: 12px; }
  .spot { padding: 16px; font-size: 16px; gap: 10px; }
  .spot-ic { width: 44px; height: 44px; }

  .steps { padding: 8px; border-radius: 22px; }
  .step-tabs { border-radius: 16px; padding: 5px; gap: 5px; }
  .step-tab { gap: 8px; padding: 8px 8px; min-height: 60px; border-radius: 12px; }
  .step-tab-ind { top: 5px; bottom: 5px; left: 5px; width: calc(50% - 7.5px); border-radius: 12px; }
  .steps[data-step="2"] .step-tab-ind { --tab-x: calc(100% + 5px); }
  .step-tab-n { width: 26px; height: 26px; font-size: 14px; }
  .step-tab-k { font-size: 12px; }
  .step-tab-name { font-size: 15px; }
  .step-panel { padding: 22px 12px 14px; }
  .step-big { font-size: 52px; }
  .step-text > p { font-size: 16px; }
  .step-tools li { font-size: 14px; }
  .step-photos { gap: 8px; grid-template-columns: repeat(2, 1fr); }
  .step-photos-3 { grid-template-columns: repeat(3, 1fr); }
  .step-photos-3 figure { aspect-ratio: 3 / 4; }
  .step-photos-3 figcaption { font-size: 12px; padding: 3px 8px; left: 6px; bottom: 6px; }
  .step-cta .btn { width: 100%; }
  .step-tip { flex-direction: column; align-items: stretch; }

  .picker { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 calc(-1 * var(--gutter)) 12px; padding: 4px var(--gutter) 8px; scrollbar-width: none; scroll-padding-inline: var(--gutter); }
  .picker::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .picker-status { font-size: 14px; margin-bottom: 20px; }
  .tool-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tool-media { aspect-ratio: 1 / .9; }
  .tool-n { width: 28px; height: 28px; font-size: 14px; left: 8px; top: 8px; }
  .tool-step { right: 6px; top: 8px; font-size: 9px; padding: 2px 6px; letter-spacing: .04em; }
  .tool-body { padding: 12px 12px 4px; }
  .tool-body h3 { font-size: 16px; }
  .tool-best { font-size: 14px; }
  .tool-more { width: calc(100% + 24px); margin: 0 -12px; padding: 8px 12px; font-size: 13px; }
  .tool-more > span:first-child { font-size: 13px; }
  .tool-details dl { font-size: 13.5px; }
  .tool-details dt { font-size: 12px; }
  .guide-line { align-items: flex-start; text-align: left; justify-content: flex-start; }
  .guide-line svg { margin-top: 3px; }

  .why { padding-bottom: 56px; }
  .why-grid { gap: 32px; margin-bottom: 48px; }
  .why-media { order: -1; }
  .bob-circle { width: min(84%, 340px); }

  .snap-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 16px; scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; scrollbar-width: none; }
  .snap-row::-webkit-scrollbar { display: none; }
  .snap-row > * { flex: 0 0 62%; scroll-snap-align: start; }

  .roll { aspect-ratio: 4 / 3; }
  .roll-bar { flex-wrap: wrap; gap: 12px 16px; }
  .meter { flex-basis: 100%; }
  .meter-label { min-width: 0; flex: 1; }
  .roll-done { padding: 20px 16px; }
  .roll-done-sub { font-size: 15px; margin-bottom: 14px; }

  .stats { grid-template-columns: 1fr 1fr; padding: 32px 18px; gap: 28px 12px; border-radius: 22px; }
  .risk { padding: 32px 24px; gap: 24px; border-radius: 22px; }
  .faq-sec + .risk-sec { padding-top: 64px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .faq-q { padding: 18px; font-size: 17px; }
  .faq-a p { padding: 0 18px 20px; }
  .notes-btn { bottom: 12px; left: 12px; }
  .ways { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .means-grid { gap: 32px; }
  .story { font-size: 17px; }
  .story-open { font-size: 20px; }
}

@media (max-width: 380px) {
  .step-tab-k { display: none; }
  .tool-grid { gap: 10px; }
}

/* Motion. Every hidden or moving start state lives inside this block only. */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js .is-in-view .reveal, .js .is-in-view.reveal { opacity: 1; transform: none; }
  /* Hero is above the fold: never hidden, so the LCP text and image paint without waiting for main.js. */
  .js .hero .reveal { opacity: 1; transform: none; transition: none; }

  .btn:hover { transform: translateY(-2px); }
  .btn { transition: background-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease; }
  .chip:hover { transform: translateY(-2px); }

  .announce-msg { opacity: 0; transform: translateY(100%); transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s; }
  .announce-msg.is-active { opacity: 1; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
  .announce-msg.is-leaving { visibility: visible; opacity: 0; transform: translateY(-100%); }

  .hero-photo { animation: heroZoom 14s ease-out .3s both; }
  .hero-kit { animation: none; }
  .bob { animation: bob 4.5s ease-in-out infinite; }
  .cart-count.pop { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }

  .step-tab-ind { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
  .step-panel.is-active { animation: panelIn .45s cubic-bezier(.2, .8, .2, 1) both; }
  .step-panel.is-active .step-photos figure { animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 60ms + 80ms); }
  .step-panel.is-active .step-tools li { animation: rise .45s ease both; animation-delay: calc(var(--i, 0) * 50ms + 120ms); }

  .mnav.is-open { animation: slideDown .28s ease both; }
  .overlay { opacity: 0; transition: opacity .3s ease; }
  .overlay.is-open { opacity: 1; }
  .drawer { transition: transform .38s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .38s; }
  .drawer.is-open { transition: transform .38s cubic-bezier(.2, .8, .2, 1), visibility 0s; }
  .faq-a, .tool-details { transition: grid-template-rows .35s ease, visibility 0s linear .35s; }
  .faq-item.is-open .faq-a, .tool.is-open .tool-details { transition: grid-template-rows .35s ease, visibility 0s; }
  .tool-grid.is-filtered .tool.is-lit .tool-media img { animation: wiggle .6s ease; }
  dialog[open] { animation: dialogIn .3s cubic-bezier(.2, .8, .2, 1); }
  dialog[open]::backdrop { animation: fadeIn .3s ease; }
  .stat.counted svg { animation: pop .5s ease; }
}

@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes panelIn { from { opacity: .2; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
@keyframes wiggle { 0%, 100% { transform: none; } 30% { transform: rotate(-6deg) scale(1.06); } 65% { transform: rotate(3deg) scale(1.03); } }
@keyframes slideDown { from { transform: translateY(-10px); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes dialogIn { from { transform: translateY(16px) scale(.98); opacity: .2; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: .2; } to { opacity: 1; } }

/* Print: everything visible, no motion, no overlays. */
@media print {
  *, *::before, *::after { opacity: 1 !important; transform: none !important; translate: none !important; animation: none !important; transition: none !important; filter: none !important; }
  .topbar { position: static; }
  .notes-btn, .overlay, .drawer, dialog, .burger, .roll-bar, .skip, .roll, .picker, .picker-status, .step-tabs, .tool-more { display: none !important; }
  .announce-msg { position: static; visibility: visible; }
  .announce-track { height: auto; }
  .faq-a, .tool-details { grid-template-rows: 1fr; visibility: visible; }
  .step-panel { display: grid; }
  .sec { padding: 32px 0; }
  .snap-row { display: grid; overflow: visible; }
  a { color: inherit; }
}

/* Phones: the Concept notes pill stays out of the hero's way and slides in once the hero is passed. */
@media (max-width: 760px) {
  .notes-btn { transition: transform .3s ease; }
  .notes-btn.is-tucked { transform: translateY(calc(100% + 24px)); }
}

/* Phone hero (760px and below): image-led first screen. Compact copy sits on the wall colour of the
   kit shot, and the image rises behind the copy's lower edge with a soft fade, so headline, button and
   the dog, cat and box all land on the first screen. Desktop is untouched. */
.hero-media picture { display: contents; }
@media (max-width: 760px) {
  .hero-has-kit { background: #fbf3e9; }
  .hero-has-kit .hero-copy { position: relative; z-index: 1; padding: 22px var(--gutter) 0; }
  .hero-has-kit .pill-badge { margin-bottom: 14px; font-size: 13px; padding: 6px 12px 6px 10px; background: rgba(255, 255, 255, .8); }
  .hero-has-kit h1 { font-size: 31px; line-height: 1.1; margin-bottom: 10px; }
  .hero-has-kit .lead { font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
  .hero-has-kit .price-row { margin-bottom: 14px; gap: 10px; }
  .hero-has-kit .price { font-size: 26px; }
  .hero-has-kit .save-chip { font-size: 13px; padding: 4px 10px; }
  .hero-has-kit .cta-row { gap: 6px 18px; margin-bottom: 10px; }
  .hero-has-kit .trust { font-size: 14px; gap: 2px 16px; }
  .hero-has-kit .hero-media { margin-top: -24px; background: transparent; }
  .hero-has-kit .hero-photo { height: auto; aspect-ratio: 948 / 672; object-position: 50% 50%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 60px); mask-image: linear-gradient(to bottom, transparent 0, #000 60px); }
}

/* Box logo (traced from the client's artwork, one symbol recoloured per band). */
.wordmark { display: inline-block; line-height: 0; padding: 6px 0; margin: -6px 0; }
.logo-svg { display: block; height: 32px; width: auto; aspect-ratio: 500 / 112; color: #234be2; transition: height .25s ease; }
.wordmark-light .logo-svg { color: #fff; height: 38px; }
.topbar.is-scrolled .logo-svg { height: 28px; }
@media (max-width: 860px) {
  .logo-svg { height: 28px; }
  .topbar.is-scrolled .logo-svg { height: 26px; }
  .wordmark-light .logo-svg { height: 34px; }
}

/* Footer social buttons */
.socials { display: flex; flex-wrap: wrap; gap: 10px; }
.footer .social { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .24); color: #fff; transition: background-color .2s ease, color .2s ease, transform .2s ease; }
.footer .social:hover { background: #fff; color: var(--navy-deep); text-decoration: none; }
.footer .social svg { display: block; }

/* Empty cart: offer the kit */
.drawer-empty > p { margin: 0 0 16px; }
.drawer-suggest { display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.drawer-suggest img { width: 96px; height: 76px; object-fit: contain; border-radius: 10px; background: #fff; }
.drawer-suggest h3 { font-size: 16px; margin-bottom: 2px; }
.drawer-suggest .meta { font-size: 14px; color: var(--muted); margin: 0 0 10px; }

/* ---------- Pre-launch mode (html.is-landing, decided in the page head from launch.js) ---------- */
html:not(.is-landing) .landing-only { display: none !important; }
html.is-landing .full-only { display: none !important; }

.hero-launch { background: inherit; }
.launch { max-width: 580px; }
.launch-badge { gap: 8px; margin-bottom: 14px; }
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); flex: none; }
.launch-h { font-size: clamp(24px, 2.2vw, 30px); margin-bottom: 6px; }
.launch-sub { color: var(--muted); font-size: 17px; margin-bottom: 16px; max-width: 520px; }
.launch-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input { width: 100%; height: 50px; border-radius: var(--r-pill); border: 1px solid #cfd2de; background: #fff; color: var(--ink); padding: 0 20px; font: inherit; font-size: 16px; }
.field input::placeholder { color: #7d8597; }
.field input[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 1px #b42318; }
.field-err { margin: 5px 0 0 14px; font-size: 13px; font-weight: 500; color: #b42318; }
.field-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.launch-btn { margin-top: 14px; }
.launch-btn[disabled] { opacity: .7; cursor: default; }
.launch-consent { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.launch-msg { margin: 8px 0 0; font-size: 15px; font-weight: 700; color: var(--navy); }
.launch-msg:empty { display: none; }
.launch-done { display: flex; align-items: center; gap: 12px; background: var(--green-bg); color: var(--ink); border-radius: var(--r-card); padding: 16px 20px; font-size: 17px; }
.launch-done[hidden], .launch-form[hidden] { display: none; }
.launch-done svg { color: var(--green); flex: none; }
.launch-done p { margin: 0; }
.launch-done strong { color: var(--navy); }
.launch-done:focus { outline: none; }
html.is-landing .hero h1 { margin-bottom: 14px; }
html.is-landing .hero .lead { margin-bottom: 0; }

@media (min-width: 861px) {
  html.is-landing .hero { grid-template-rows: auto 1fr; }
  html.is-landing .hero-copy { grid-column: 1; grid-row: 1; align-items: flex-end; padding-bottom: 22px; }
  html.is-landing .hero-media { grid-column: 2; grid-row: 1 / span 2; }
  html.is-landing .hero-launch { grid-column: 1; grid-row: 2; padding: 0 48px 40px max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter))); }
}
@media (max-width: 860px) {
  .hero-launch { padding: 20px var(--gutter) 36px; }
  html.is-landing .hero-copy { padding-bottom: 8px; }
  .launch-btn { width: 100%; }
}
@media (max-width: 760px) {
  html.is-landing .hero-has-kit .hero-copy { padding-bottom: 0; }
  .hero-launch { padding-top: 6px; }
  .launch-h { font-size: 23px; }
  .launch-sub { font-size: 15px; line-height: 1.5; margin-bottom: 14px; }
}
@media (max-width: 560px) {
  .launch-fields { grid-template-columns: 1fr; gap: 10px; }
}
@media (prefers-reduced-motion: no-preference) {
  .soon-dot { animation: soonPulse 2s ease-in-out infinite; }
}
@keyframes soonPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232, 163, 61, .55); } 50% { box-shadow: 0 0 0 5px rgba(232, 163, 61, 0); } }
