html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Tailwind CDN loads after the browser's UA stylesheet, so a `display` utility
   class (grid/flex/block...) on the same element beats the `hidden` attribute
   unless we re-assert it here. */
[hidden] { display: none !important; }
body { background: #F5F9FE; }
::selection { background: #A8D9FF; }
:focus-visible { outline: 2px solid #0F1E36; outline-offset: 2px; }
.font-serif { font-optical-sizing: auto; }

details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }
details[open] .chev { transform: rotate(180deg); }

.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

/* Choice cards (radio + checkbox) */
.opt > input:checked + .opt-body { border-color: #1B5FBE; background: #EAF6FF; }
.opt > input:focus-visible + .opt-body { outline: 2px solid #0F1E36; outline-offset: 2px; }
.opt .dot { background: #fff; }
.opt > input:checked + .opt-body .dot { border-color: #1A4FA3; background: #1A4FA3; box-shadow: inset 0 0 0 3px #EAF6FF; }
.opt .box svg { opacity: 0; }
.opt > input:checked + .opt-body .box { border-color: #1A4FA3; background: #1A4FA3; }
.opt > input:checked + .opt-body .box svg { opacity: 1; }

/* Fulfilment bar: shrink on scroll so it stays prominent but light */
.fbar.compact .sub { display: none; }
@media (max-width: 1023px) { .fbar.compact .ctx { display: none; } }

@keyframes owp-fade  { from { opacity: 0 } to { opacity: 1 } }
@keyframes owp-up    { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }
@keyframes owp-right { from { opacity: 0; transform: translateX(28px) } to { opacity: 1; transform: none } }
@keyframes owp-float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-6px) } }
.fade-in     { animation: owp-fade .18s ease-out; }
.slide-up    { animation: owp-up .22s ease-out; }
.slide-right { animation: owp-right .22s ease-out; }
.float-soft  { animation: owp-float 6s ease-in-out infinite; }

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

/* ---------- Brand wordmark (matches the logo's bold navy capitals) ---------- */
.wordmark { font-family: 'Open Sans', Inter, system-ui, sans-serif; font-weight: 800; color: #1A4FA3; text-transform: uppercase; line-height: 1.02; letter-spacing: .005em; }

/* ---------- Welcome intro (once per visit) ---------- */
#intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 40%, #15408A 0%, #0C2A5E 55%, #081C42 100%); transition: opacity .6s ease, visibility .6s ease; cursor: pointer; }
#intro.out { opacity: 0; visibility: hidden; }
#intro .in { text-align: center; padding: 24px; }
#intro img { width: min(78vw, 420px); height: auto; opacity: 0; transform: scale(.92); animation: intro-logo 1s .15s cubic-bezier(.2,.7,.2,1) forwards; filter: drop-shadow(0 12px 40px rgba(32,174,255,.45)); }
#intro .bar { width: 140px; height: 3px; margin: 30px auto 0; border-radius: 3px; background: rgba(255,255,255,.14); overflow: hidden; }
#intro .bar i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #20AEFF, #A8D9FF); transform: translateX(-100%); animation: intro-bar 1.9s .3s ease-in-out forwards; }
#intro p { margin-top: 14px; font: 500 12px/1 Inter, system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); opacity: 0; animation: owp-fade .6s 1.1s forwards; }
@keyframes intro-logo { to { opacity: 1; transform: none; } }
@keyframes intro-bar { to { transform: none; } }

@keyframes spin { to { transform: rotate(360deg); } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  #intro { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ---------- Accessibility: larger text / higher contrast (toggle in the top bar) ----------
   Most of this site's text uses fixed pixel sizes (Tailwind arbitrary values), so a root
   font-size change alone wouldn't reach most of it. `zoom` scales the whole rendered page —
   text, icons, spacing together — which works in Chromium and Safari; Firefox quietly ignores
   it (no crash, just no zoom), which is an accepted trade-off here, not a bug. */
html.a11y-large { zoom: 1.15; }
html.a11y-contrast .text-ink-soft, html.a11y-contrast .text-ink-faint { color: #000 !important; }
html.a11y-contrast .text-white\/50, html.a11y-contrast .text-white\/60, html.a11y-contrast .text-white\/70,
html.a11y-contrast .text-white\/75, html.a11y-contrast .text-white\/80, html.a11y-contrast .text-white\/85 { color: #fff !important; }
html.a11y-contrast .border-line, html.a11y-contrast .ring-line { border-color: #000 !important; }
html.a11y-contrast a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Staff dashboard ---------- */
.chart-tip { pointer-events: none; opacity: 0; transition: opacity .12s ease; transform: translateY(-4px); white-space: nowrap; z-index: 5; }
.chart-tip.on { opacity: 1; }
[data-hit] { cursor: crosshair; }
.dash-nav[aria-current="page"] { background: #0C2A5E; color: #fff; }
.dash-nav[aria-current="page"] svg { color: #6CC0FF; }
.dash-tab[aria-current="page"] { background: #0C2A5E; color: #fff; border-color: #0C2A5E; }
/* ==========================================================================
   The premium look: the home page's "Two Doors" hero (Shop | Care), the Shop side
   (warm, retail: shop and product pages) and the Care side (clinical and calm:
   prescriptions and services). Motion only ever moves or fades things (transform and
   opacity), so it stays smooth on phones; prefers-reduced-motion switches it all off.
   ========================================================================== */
:root { --ease: cubic-bezier(.2,.7,.2,1); }

/* ---------- Day and night ----------
   assets/sky.js works out sunrise and sunset over Oswaldtwistle and sets
   <html data-sky="day|night"> before the page is drawn. By day the two sides wear
   Lilac & Sky; from sunset to sunrise, Midnight & Mist (the Shop in the deep brand blue of
   the old home page hero, with gold, and a misty Care with navy). With no script it simply stays day. Every colour below
   comes from these tokens, so the switch at sunset is one attribute. */
:root, [data-sky="day"] {
  /* Night's blue is the old home page hero's: brand 800 to 950, lit by its three soft glows.
     Defined all day too, so the Shop door can fade both ways at sunset and sunrise. */
  --night-blue: linear-gradient(135deg, #15408A 0%, #0C2A5E 50%, #081C42 100%);
  --night-glow: radial-gradient(circle 380px at 96% 0%, rgba(22,144,240,.55), rgba(22,144,240,0)), radial-gradient(circle 260px at 52% 16%, rgba(27,95,190,.5), rgba(27,95,190,0)), radial-gradient(circle 320px at 0% 100%, rgba(32,174,255,.3), rgba(32,174,255,0));
  --shop-bg: #FBFAFE; --shop-ink: #2A2160; --shop-eyebrow: #6B52B5; --shop-accent: #7B5CC7; --shop-copy: #5A5378;
  --shop-btn: #2A2160; --shop-btn-ink: #F8F5FD; --shop-btn-hover: #3A2F7A; --shop-btn-shadow: rgba(42,33,96,.6);
  --shop-line: rgba(42,33,96,.2); --shop-line-hover: rgba(42,33,96,.45); --shop-glass: rgba(255,255,255,.5); --shop-glass-hover: rgba(255,255,255,.8);
  --shop-chip: rgba(255,255,255,.6); --shop-chip-line: rgba(42,33,96,.1); --shop-chip-hover: #fff; --shop-chip-line-hover: rgba(42,33,96,.3);
  --shop-solid: #2A2160; --shop-solid-hover: #3A2F7A; --deal-bg: #fff; --deal-ink: #6B52B5;
  --shop-head-bg: radial-gradient(120% 140% at 85% 100%, #FAF8FE 0%, #ECE6F8 55%, #E2D9F4 100%); --shop-head-ink: #2A2160;
  --shop-floor: rgba(70,50,130,.28);
  --pk-lid: linear-gradient(90deg, #9E8BCB, #E4DBF6 40%, #C2B3E3 75%, #8E7ABF);
  --pk-jar: linear-gradient(90deg, #D6D3DE, #FFFFFF 35%, #F4F2F9 65%, #CBC6D8); --pk-jar-ink: #2A2160;
  --pk-cap: linear-gradient(90deg, #2A2160, #4A3F8E 40%, #2A2160 62%, #1B1545);
  --pk-tube-cap: linear-gradient(90deg, #221A50, #5A4BA8 40%, #3A2F7A 70%, #221A50); --pk-tube-ink: #2A2160;
  --pk-glass: linear-gradient(90deg, rgba(185,170,225,.92), rgba(246,243,253,.98) 36%, rgba(215,205,240,.94) 70%, rgba(165,150,210,.92));
  --care-bg: #F7FAFF; --care-ink: #13296B; --care-eyebrow: #3555C9; --care-copy: #3E4C70; --care-icon: #3555C9;
  --care-btn: #2747B8; --care-btn-hover: #1F3A9A; --care-btn-shadow: rgba(39,71,184,.8); --care-line: #CBD7F2; --care-underline: rgba(19,41,107,.3);
  --care-door: linear-gradient(180deg, #F7FAFF 0%, #E7EFFF 100%); --care-grid: rgba(53,85,201,.05);
  --care-hero: linear-gradient(180deg, #EDF2FF 0%, rgba(247,250,255,0) 100%);
  --ring: rgba(123,92,199,.45); --spin: rgba(32,174,255,.75);
}
[data-sky="night"] {
  --shop-bg: #F7FAFE; --shop-ink: #FFFFFF; --shop-eyebrow: #E3C48F; --shop-accent: #E3C48F; --shop-copy: rgba(255,255,255,.74);
  --shop-btn: #E3C48F; --shop-btn-ink: #0C2A5E; --shop-btn-hover: #EED6A9; --shop-btn-shadow: rgba(227,196,143,.55);
  --shop-line: rgba(255,255,255,.32); --shop-line-hover: rgba(255,255,255,.6); --shop-glass: rgba(255,255,255,0); --shop-glass-hover: rgba(255,255,255,.08);
  --shop-chip: rgba(255,255,255,.08); --shop-chip-line: rgba(255,255,255,.18); --shop-chip-hover: rgba(255,255,255,.16); --shop-chip-line-hover: rgba(255,255,255,.4);
  --shop-solid: #0C2A5E; --shop-solid-hover: #15408A; --deal-bg: #F4E8CF; --deal-ink: #0C2A5E;
  --shop-head-bg: var(--night-glow), var(--night-blue); --shop-head-ink: #FFFFFF;
  --shop-floor: rgba(3,12,34,.55);
  --pk-lid: linear-gradient(90deg, #B8914E, #F1D9A6 40%, #D9BC85 75%, #A9823F);
  --pk-jar: linear-gradient(90deg, #D8D0C0, #FFFFFF 35%, #F3EEE4 65%, #C9BFAD); --pk-jar-ink: #0C2A5E;
  --pk-cap: linear-gradient(90deg, #A9823F, #F1D9A6 42%, #C9A564 64%, #8E6A2E);
  --pk-tube-cap: linear-gradient(90deg, #8E6A2E, #F1D9A6 42%, #B8914E 70%, #8E6A2E); --pk-tube-ink: #0C2A5E;
  --pk-glass: linear-gradient(90deg, rgba(165,190,214,.95), rgba(244,248,252,.98) 36%, rgba(206,222,238,.95) 70%, rgba(150,176,202,.95));
  --care-bg: #F7FAFE; --care-ink: #0C2A5E; --care-eyebrow: #1B5FBE; --care-copy: #3C4F6B; --care-icon: #1B5FBE;
  --care-btn: #0C2A5E; --care-btn-hover: #15408A; --care-btn-shadow: rgba(12,42,94,.7); --care-line: #C9D6E8; --care-underline: rgba(12,42,94,.3);
  --care-door: linear-gradient(180deg, #F7FAFE 0%, #E9F1FB 100%); --care-grid: rgba(12,42,94,.045);
  --care-hero: linear-gradient(180deg, #E9F1FB 0%, rgba(247,250,254,0) 100%);
  --ring: rgba(227,196,143,.6); --spin: rgba(227,196,143,.85);
}
/* The strip along the top of every page wears the hero's colours: by day the lilac of the
   Shop door blending into the sky of the Care door; at night the hero blue with its glow. */
:root, [data-sky="day"] {
  --top-bg: linear-gradient(90deg, #E6DEF6 0%, #EEEAFA 46%, #EAF1FF 54%, #E1EBFF 100%); --top-ink: #1F2557; --top-sep: rgba(31,37,87,.25);
  --top-hover: rgba(31,37,87,.07); --top-on: rgba(31,37,87,.12);
}
[data-sky="night"] {
  --top-bg: radial-gradient(40% 320% at 94% 0%, rgba(22,144,240,.5), rgba(22,144,240,0)), radial-gradient(30% 260% at 48% 0%, rgba(27,95,190,.45), rgba(27,95,190,0)), linear-gradient(90deg, #15408A 0%, #0C2A5E 52%, #081C42 100%);
  --top-ink: #FFFFFF; --top-sep: rgba(255,255,255,.35); --top-hover: rgba(255,255,255,.1); --top-on: rgba(255,255,255,.16);
}
.top-bar { background: var(--top-bg); color: var(--top-ink); }
.top-bar .top-sep { color: var(--top-sep); }
.top-bar .top-btn { transition: background-color .2s ease; }
.top-bar .top-btn:hover { background: var(--top-hover); }
.top-bar .top-btn.on { background: var(--top-on); }
[data-sky="night"] .top-bar .live-dot.off { background: rgba(255,255,255,.45); }

/* Words that only belong to one of them ("Late night", "After hours") */
[data-sky="night"] .sky-day, :root:not([data-sky="night"]) .sky-night { display: none; }

body.side-shop { background: var(--shop-bg); }
body.side-care { background: var(--care-bg); }

/* Shared pill buttons */
.btn-pill { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: 0 1.5rem; border-radius: 9999px; font-weight: 600; font-size: 15.5px; line-height: 1.2; transition: transform .25s var(--ease), box-shadow .25s ease, background-color .2s ease, border-color .2s ease; -webkit-tap-highlight-color: transparent; }
.btn-pill:active { transform: scale(.97); }
.btn-pill .arr { transition: transform .35s var(--ease); }
.btn-pill:hover .arr { transform: translateX(3px); }
.btn-shop { background: var(--shop-btn); color: var(--shop-btn-ink); box-shadow: 0 12px 28px -14px var(--shop-btn-shadow); }
.btn-shop:hover { background: var(--shop-btn-hover); }
.btn-shop-ghost { border: 1px solid var(--shop-line); color: var(--shop-ink); background: var(--shop-glass); }
.btn-shop-ghost:hover { border-color: var(--shop-line-hover); background: var(--shop-glass-hover); }
/* Solid Shop buttons on white (the basket button, a product card's round "add") */
.btn-shop-solid, .pcard-add { background: var(--shop-solid); color: #fff; }
.btn-shop-solid:hover, .pcard-add:hover { background: var(--shop-solid-hover); }
.btn-shop-solid [data-basket-count] { background: #fff; color: var(--shop-solid); }
.deal-badge { background: var(--deal-bg); color: var(--deal-ink); }
.btn-care { background: var(--care-btn); color: #fff; box-shadow: 0 12px 26px -14px var(--care-btn-shadow); }
.btn-care:hover { background: var(--care-btn-hover); }
.btn-care-ghost { border: 1px solid var(--care-line); color: var(--care-ink); background: rgba(255,255,255,.7); }
.btn-care-ghost:hover { border-color: var(--care-btn); background: #fff; }

/* Entrance: children marked data-rise come up in order (--d) once the page is ready */
[data-rise] { opacity: 0; transform: translateY(22px); animation: rise-in .95s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 90ms + 120ms + var(--intro, 0s)); }
@keyframes rise-in { to { opacity: 1; transform: none; } }

/* ---------- Two Doors ---------- */
.doors { position: relative; isolation: isolate; }
.doors-row { position: relative; display: flex; flex-direction: column; }
.door { position: relative; overflow: hidden; flex: none; min-width: 0; }
.door-shop { background: radial-gradient(130% 90% at 82% 92%, #FAF8FE 0%, #ECE6F8 52%, #DCD2F1 100%); color: var(--shop-ink); }
/* After sunset the Shop door turns night blue: a layer over the lilac that fades in,
   so if the page is open at sunset it dims like the sky rather than flicking over. */
.door-shop::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s ease;
  background: radial-gradient(1.5px 1.5px at 14% 18%, rgba(255,255,255,.55), transparent), radial-gradient(1px 1px at 31% 9%, rgba(255,255,255,.45), transparent), radial-gradient(1.5px 1.5px at 58% 14%, rgba(255,255,255,.4), transparent), radial-gradient(1px 1px at 77% 7%, rgba(255,255,255,.5), transparent), radial-gradient(1px 1px at 90% 24%, rgba(255,255,255,.35), transparent), radial-gradient(1px 1px at 46% 30%, rgba(255,255,255,.3), transparent),
    var(--night-glow), var(--night-blue); }
/* and the old hero's faint grid */
.door-shop::after { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 1.6s ease; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 40%, #000 0%, transparent 75%); }
[data-sky="night"] .door-shop::before, [data-sky="night"] .door-shop::after { opacity: 1; }
.door-shop .door-eyebrow, .door-shop .door-word, .door-shop .door-copy, .door-chips a { transition: color 1.2s ease, background-color .2s ease, box-shadow .2s ease; }
.door-care { background: var(--care-door); color: var(--care-ink); }
.door-care::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--care-grid) 1px, transparent 1px), linear-gradient(90deg, var(--care-grid) 1px, transparent 1px); background-size: 36px 36px; -webkit-mask-image: radial-gradient(90% 80% at 70% 40%, #000 20%, transparent 80%); mask-image: radial-gradient(90% 80% at 70% 40%, #000 20%, transparent 80%); pointer-events: none; }
.door-body { position: relative; z-index: 2; padding: 96px 22px 44px; }
.door-care .door-body { padding-top: 64px; padding-bottom: 52px; }
.door-eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.door-shop .door-eyebrow { color: var(--shop-eyebrow); }
.door-care .door-eyebrow { color: var(--care-eyebrow); }
.door-word { margin-top: 8px; font-size: clamp(62px, 21vw, 92px); line-height: .9; }
.door-shop .door-word { font-family: Fraunces, Georgia, serif; font-weight: 400; letter-spacing: -.03em; }
.door-shop .door-word .dot { color: var(--shop-accent); font-style: italic; }
.door-care .door-word { font-family: Inter, system-ui, sans-serif; font-weight: 600; letter-spacing: -.065em; }
.door-care .door-word .dot { color: #20AEFF; }
/* After dark: "Late night" over Shop, "After hours" over Care */
.door-pre { display: block; margin-bottom: .1em; font-size: .4em; line-height: 1.05; }
.door-shop .door-pre { font-style: italic; letter-spacing: -.02em; color: var(--shop-accent); }
.door-care .door-pre { letter-spacing: -.045em; color: var(--care-eyebrow); }
.door-copy { margin-top: 16px; max-width: 30rem; font-size: 15.5px; line-height: 1.6; }
.door-shop .door-copy { color: var(--shop-copy); }
.door-care .door-copy { color: var(--care-copy); }
.door-ctas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 639px) {
  .door-ctas .btn-pill { flex: 1 1 100%; }
  /* on a phone the still life sits top right: the Shop eyebrow wraps before the bottle */
  .door-shop .door-eyebrow { max-width: calc(100% + 10px - min(28% + 12px, 147px)); }
}
.door-chips { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.door-chips a { padding: 9px 14px; border-radius: 9999px; font-size: 13.5px; font-weight: 500; background: var(--shop-chip); box-shadow: inset 0 0 0 1px var(--shop-chip-line); }
.door-chips a:hover { background: var(--shop-chip-hover); box-shadow: inset 0 0 0 1px var(--shop-chip-line-hover); }
.door-list { margin-top: 20px; display: grid; gap: 11px; font-size: 15px; color: #0F1E36; }
.door-list li { display: flex; align-items: flex-start; gap: 11px; }
.door-list svg { flex: none; margin-top: 1px; color: var(--care-icon); }
.door-list a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--care-underline); }
.door-list a:hover { text-decoration-color: currentColor; }
.door-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 14.5px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--care-underline); }
/* When the pharmacy is closed: where to get help now */
.door-urgent { margin-top: 18px; display: flex; gap: 10px; align-items: flex-start; max-width: 30rem; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.75); box-shadow: inset 0 0 0 1px var(--care-line); font-size: 14px; line-height: 1.5; color: #0F1E36; }
.door-urgent svg { flex: none; margin-top: 1px; color: var(--care-icon); }
.door-urgent a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.door-link:hover { text-decoration-color: currentColor; }

/* The top line: name (the page's h1) and live opening status */
.doors-top { position: absolute; z-index: 7; top: 18px; left: 0; right: 0; display: flex; justify-content: center; pointer-events: none; padding: 0 16px; }
.doors-top > div { pointer-events: auto; display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 7px 14px 7px 8px; border-radius: 9999px; background: rgba(255,255,255,.72); box-shadow: 0 1px 2px rgba(15,30,54,.06), 0 10px 30px -14px rgba(15,30,54,.35); font-size: 13px; color: #24324A; }
.doors-top img { width: 26px; height: 26px; }
.doors-top h1 { font-weight: 600; color: #0F1E36; white-space: nowrap; }
.doors-top .status { white-space: nowrap; }
@media (max-width: 639px) { .doors-top .status, .doors-top .sep { display: none; } }
[data-sky="night"] .doors-top > div { background: rgba(255,255,255,.88); }
.doors-top .sep { width: 1px; height: 14px; background: rgba(15,30,54,.15); }
/* The day/night switch in the home page's pill (assets/sky.js remembers the choice). */
.sky-switch { position: relative; flex: none; width: 46px; height: 26px; margin-left: 2px; border-radius: 9999px; background: #DDE6F3; box-shadow: inset 0 0 0 1px rgba(15,30,54,.08); cursor: pointer; transition: background .25s ease; }
.sky-switch:focus-visible { outline: 2px solid #1B5FBE; outline-offset: 2px; }
.sky-switch-thumb { position: absolute; top: 3px; left: 3px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 9999px; background: #fff; color: #C98A12; box-shadow: 0 1px 3px rgba(15,30,54,.25); transition: transform .25s ease, background .25s ease, color .25s ease; }
.sky-switch-thumb svg { width: 13px; height: 13px; }
.sky-switch .sky-moon, [data-sky="night"] .sky-switch .sky-sun { display: none; }
[data-sky="night"] .sky-switch .sky-moon { display: block; }
[data-sky="night"] .sky-switch { background: #0C2A5E; }
[data-sky="night"] .sky-switch-thumb { transform: translateX(20px); background: #E3C48F; color: #0C2A5E; }
@media (prefers-reduced-motion: reduce) { .sky-switch, .sky-switch-thumb { transition: none; } }
.live-dot { position: relative; width: 8px; height: 8px; flex: none; border-radius: 9999px; background: #2BB673; }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: live-ping 1.8s ease-out infinite; }
.live-dot.off { background: #9AA6B5; }
.live-dot.off::after { display: none; }
@keyframes live-ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(2.8); opacity: 0; } }

/* The seam between the doors, with the logo on it */
.seam { position: relative; z-index: 6; flex: 0 0 0; }
.seam::before { content: ''; position: absolute; left: 6%; right: 6%; top: -1px; height: 2px; background: linear-gradient(90deg, rgba(15,30,54,0), rgba(15,30,54,.13) 25%, rgba(15,30,54,.13) 75%, rgba(15,30,54,0)); }
/* The medallion: the pharmacy's logo, on the seam. At rest two lines (blue and purple by day,
   gold and mist at night) chase each other round it, one a little quicker than the other; one
   soft ring breathes out from it every few seconds and a fine dial of dots turns very slowly.
   With a mouse it leans a little towards the pointer and a sheen follows it; pressed, it gives,
   the cross turns once, rings burst and a wave of light crosses both doors
   (assets/pages/index-2.js). Only transform and opacity move, and it all pauses when the
   hero is off screen; reduced motion switches it off. */
.medallion { --md-a: #7B5CC7; --md-b: #20AEFF; --chase-1: rgba(32,174,255,.8); --chase-2: rgba(123,92,199,.75); position: absolute; top: 0; right: 28px; width: 76px; height: 76px; margin-top: -38px; border-radius: 9999px; background: #fff; display: grid; place-items: center; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none;
  box-shadow: 0 2px 4px rgba(15,30,54,.08), 0 22px 44px -18px rgba(15,30,54,.5), inset 0 0 0 1px rgba(15,30,54,.04);
  transform: perspective(520px) rotateX(var(--mtx, 0deg)) rotateY(var(--mty, 0deg)) scale(var(--ms, 1)); translate: var(--mmx, 0px) var(--mmy, 0px);
  transition: transform .8s var(--ease), translate .8s var(--ease), scale .5s var(--ease); }
[data-sky="night"] .medallion { --md-a: #E3C48F; --md-b: #9CC9F5; --chase-1: rgba(227,196,143,.9); --chase-2: rgba(156,201,245,.85); }
.medallion img { position: relative; z-index: 2; width: 64%; height: auto; transition: transform .8s var(--ease); pointer-events: none; -webkit-user-drag: none; }
/* the two lines chasing each other round it: one a little quicker, so it keeps catching up */
.medallion::before, .medallion::after { content: ''; position: absolute; inset: -7px; border-radius: inherit; pointer-events: none; -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); mask: radial-gradient(closest-side, transparent calc(100% - 3px), #000 calc(100% - 2px)); }
.medallion::before { background: conic-gradient(from 0deg, transparent 0deg, var(--chase-1) 70deg, transparent 150deg); animation: spin 4s linear infinite; }
.medallion::after { background: conic-gradient(from 0deg, transparent 0deg, var(--chase-2) 70deg, transparent 150deg); rotate: 180deg; animation: spin 5.6s linear infinite; }
/* one soft ring, breathing out every few seconds */
.md-wave { position: absolute; inset: 0; border-radius: 9999px; border: 1.5px solid var(--ring); opacity: 0; pointer-events: none; animation: md-wave 8s cubic-bezier(.22,.61,.36,1) infinite; }
@keyframes md-wave { 0% { transform: scale(1); opacity: .4; } 45%, 100% { transform: scale(1.7); opacity: 0; } }
/* the dial: sixty fine dots, turning very slowly */
.md-dial { position: absolute; inset: -17px; width: calc(100% + 34px); height: calc(100% + 34px); overflow: visible; pointer-events: none; animation: spin 120s linear infinite reverse; }
.md-dial circle { fill: none; stroke: var(--ring); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: .01 2; opacity: .8; }
/* a sheen that follows the pointer across the face */
.md-glint { position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--gx, 32%) var(--gy, 26%), color-mix(in srgb, var(--md-b) 26%, transparent), transparent 58%); opacity: .55; transition: opacity .4s ease; }
.medallion:hover .md-glint { opacity: 1; }
/* pressed: it gives, springs back, and the cross turns once */
.medallion.md-tap { animation: md-press .75s cubic-bezier(.3,1.5,.5,1); }
.medallion.md-tap img { animation: md-turn .95s cubic-bezier(.34,1.3,.5,1); }
@keyframes md-press { 0% { scale: 1; } 22% { scale: .9; } 60% { scale: 1.08; } 100% { scale: 1; } }
@keyframes md-turn { from { rotate: 0deg; } to { rotate: 360deg; } }
.md-burst { position: absolute; inset: 0; border-radius: 9999px; border: 2px solid var(--spin); pointer-events: none; animation: md-burst 1s cubic-bezier(.1,.7,.3,1) forwards; }
@keyframes md-burst { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
/* the wave of light across both doors: a soft band of the brand blue (gold at night) */
.doors-wave { --wave: #20AEFF; position: absolute; border-radius: 9999px; pointer-events: none; background: radial-gradient(closest-side, transparent 66%, color-mix(in srgb, var(--wave) 30%, transparent) 76%, color-mix(in srgb, var(--wave) 10%, transparent) 86%, transparent 96%); transform: scale(.04); opacity: 0; animation: doors-wave 1.6s cubic-bezier(.16,.84,.3,1) forwards; }
[data-sky="night"] .doors-wave { --wave: #E3C48F; }
@keyframes doors-wave { 0% { transform: scale(.04); opacity: 1; } 70% { opacity: .55; } 100% { transform: scale(1); opacity: 0; } }
/* off screen: everything holds still */
.doors.md-still .medallion, .doors.md-still .medallion *, .doors.md-still .medallion::before, .doors.md-still .medallion::after, .doors.md-still .pk-in { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) { .md-wave, .md-burst, .doors-wave { display: none; } }

/* The product still life on the Shop door: drawn, not photographed */
.still { position: absolute; z-index: 1; right: 4px; top: 76px; width: 44%; max-width: 230px; aspect-ratio: 1; container-type: inline-size; pointer-events: none; }
.still-floor { position: absolute; left: 4%; right: 4%; top: 78%; height: 16cqw; border-radius: 50%; background: radial-gradient(closest-side, var(--shop-floor), transparent); }
/* At night a warm spotlight falls on the shelf */
.still::before { content: ''; position: absolute; left: -30%; right: -30%; top: -20%; bottom: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(227,196,143,.26), rgba(227,196,143,0)); opacity: 0; transition: opacity 1.6s ease; }
[data-sky="night"] .still::before { opacity: 1; }
.pk { position: absolute; }
/* a slow, small float: each bottle on its own long beat, so nothing jostles */
.pk-in { position: relative; width: 100%; height: 100%; animation: pk-float calc(var(--t, 7s) * 2) ease-in-out var(--w, 0s) infinite; }
@keyframes pk-float { 0%, 100% { transform: translateY(0) rotate(calc(var(--r, 0deg) * .5)); } 50% { transform: translateY(-1.6cqw) rotate(calc(var(--r, 0deg) * -.5)); } }
.pk i, .pk b { position: absolute; display: block; font-style: normal; }
/* amber vitamin bottle */
.pk-bottle { left: 36%; top: 6%; width: 23cqw; height: 66cqw; --z: 16; --t: 7s; }
.pk-bottle .cap { left: 17%; top: 0; width: 66%; height: 12cqw; border-radius: 2.4cqw; background: var(--pk-cap); }
.pk-bottle .body { left: 0; top: 10.5cqw; width: 100%; height: 55.5cqw; border-radius: 8cqw 8cqw 5cqw 5cqw; background: linear-gradient(90deg, #6A340B 0%, #B66A1A 22%, #E7A04A 42%, #C27420 62%, #7C3F0E 100%); box-shadow: 0 6cqw 10cqw -5cqw rgba(90,45,10,.55); }
.pk-bottle .label { left: 0; top: 25cqw; width: 100%; height: 21cqw; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(90deg, #DCD4C8 0%, #FFFFFF 22%, #FFFFFF 70%, #D7CFC2 100%); font: 700 3.5cqw/1.15 Inter, sans-serif; color: #3B2410; }
.pk-bottle .label small { display: block; margin-top: .6cqw; font-weight: 500; font-size: 2.5cqw; color: #7A6450; }
.pk-bottle .shine { left: 15%; top: 16cqw; width: 2.4cqw; height: 46cqw; border-radius: 2cqw; background: linear-gradient(180deg, rgba(255,255,255,.45), rgba(255,255,255,.04)); }
/* sun cream tube, standing on its cap */
.pk-tube { left: 63%; top: 20%; width: 18cqw; height: 58cqw; --z: 24; --t: 8s; --w: -1.2s; --r: 2deg; }
.pk-tube .crimp { left: 0; top: 0; width: 100%; height: 3cqw; border-radius: .8cqw; background: repeating-linear-gradient(90deg, #E2E8EF 0 .8cqw, #F8FAFC .8cqw 1.6cqw); }
.pk-tube .body { left: 0; top: 2.7cqw; width: 100%; height: 43cqw; clip-path: polygon(0 0, 100% 0, 86% 100%, 14% 100%); background: linear-gradient(90deg, #D6DEE8 0%, #FFFFFF 30%, #FFFFFF 62%, #CDD6E1 100%); display: flex; flex-direction: column; align-items: center; padding-top: 12cqw; box-sizing: border-box; font: 800 4.6cqw/1 Inter, sans-serif; letter-spacing: -.03em; color: var(--pk-tube-ink); }
.pk-tube .body small { font-weight: 500; font-size: 1.8cqw; letter-spacing: .22em; color: #4A5B72; margin-bottom: 1cqw; }
.pk-tube .cap { left: 18%; top: 45cqw; width: 64%; height: 13cqw; border-radius: 2cqw 2cqw 2.6cqw 2.6cqw; background: var(--pk-tube-cap); }
/* balm jar */
.pk-jar { left: 4%; top: 49%; width: 38cqw; height: 28cqw; --z: 30; --t: 9s; --w: -2.5s; }
.pk-jar .lid { left: 0; top: 0; width: 100%; height: 9cqw; border-radius: 3cqw; background: var(--pk-lid); box-shadow: inset 0 -.7cqw 0 rgba(0,0,0,.08); }
.pk-jar .body { left: 2%; top: 8cqw; width: 96%; height: 20cqw; border-radius: 0 0 5cqw 5cqw; background: var(--pk-jar); display: flex; align-items: center; justify-content: center; font: 600 2.9cqw/1.2 Inter, sans-serif; color: var(--pk-jar-ink); box-shadow: 0 5cqw 8cqw -5cqw rgba(40,30,80,.45); }
/* serum dropper */
.pk-drop { left: 81%; top: 46%; width: 15cqw; height: 32cqw; --z: 36; --t: 7.5s; --w: -3.4s; --r: -2deg; }
.pk-drop .bulb { left: 31%; top: 0; width: 38%; height: 8cqw; border-radius: 3cqw 3cqw 1.4cqw 1.4cqw; background: linear-gradient(90deg, #111318, #3A3F4A 45%, #111318); }
.pk-drop .collar { left: 21%; top: 7.4cqw; width: 58%; height: 3.4cqw; border-radius: .6cqw; background: linear-gradient(90deg, #A9B3C0, #F1F4F8 45%, #9AA5B3); }
.pk-drop .body { left: 0; top: 10.4cqw; width: 100%; height: 21.6cqw; border-radius: 4cqw; background: var(--pk-glass); }

/* Your logo, very faint, turning slowly behind the Care door */
.care-mark { position: absolute; z-index: 1; right: -70px; top: 18px; width: 230px; pointer-events: none; }
.care-mark img { display: block; width: 100%; height: auto; opacity: .09; animation: spin 120s linear infinite; }

/* Trust strip under the doors */
.hero-strip { background: #fff; border-bottom: 1px solid #E6EDF5; }
.hero-strip ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; padding: 18px 0; }
.hero-strip li { display: flex; align-items: center; gap: 10px; font-size: 13px; line-height: 1.35; color: #3C4F6B; }
.hero-strip li b { display: block; font-weight: 600; color: #0F1E36; }
.hero-strip svg { flex: none; color: #1B5FBE; }

@media (min-width: 640px) {
  .door-body { padding-left: 40px; padding-right: 40px; }
  .door-copy { font-size: 16.5px; }
  .still { width: 40%; max-width: 280px; right: 16px; top: 60px; }
  /* keep the Shop words clear of the still life (40% of the door, up to 280px, 16px in) */
  .door-shop .door-copy { max-width: min(30rem, calc(100% + 16px - min(40% + 32px, 280px))); }
  .care-mark { width: 300px; right: -80px; }
  .hero-strip ul { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 20px 0; }
  .hero-strip li { font-size: 13.5px; }
}
/* Side by side from 1280px; below that the doors stack, so the words and the still life
   never sit on top of each other on a small laptop or a tablet held sideways. */
@media (min-width: 1280px) {
  .doors-row { flex-direction: row; min-height: clamp(620px, calc(100svh - 190px), 780px); }
  .door { flex: 1 1 0; }
  .door-body, .door-care .door-body { padding: 104px 0 64px; width: min(400px, 70%); margin-left: clamp(40px, 6vw, 96px); }
  .door-care .door-body { width: min(470px, 82%); margin-left: clamp(72px, 7vw, 112px); }
  .door-word { font-size: clamp(100px, 8.8vw, 132px); }
  .door-shop .door-copy { max-width: 30rem; }
  .doors-top { top: 26px; }
  .seam::before { left: -1px; right: auto; top: 8%; bottom: 8%; width: 2px; height: auto; background: linear-gradient(180deg, rgba(15,30,54,0), rgba(15,30,54,.12) 25%, rgba(15,30,54,.12) 75%, rgba(15,30,54,0)); }
  .medallion { top: 50%; right: auto; left: 0; width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .medallion:hover { --ms: 1.04; }
  /* The still life takes the room beside the words (the door, less the words' margin and
     column, less its own right margin and a gap), so it grows on wide screens and shrinks
     rather than slide under the buttons on smaller ones. */
  .door-shop { --m: clamp(40px, 6vw, 96px); --r: clamp(16px, calc(9vw - 100px), 72px); }
  .still { top: auto; bottom: 6%; right: var(--r); width: clamp(150px, calc(100% - var(--m) - min(400px, 70%) - var(--r) - 16px), 300px); max-width: none; }
  .care-mark { top: auto; bottom: -110px; right: -110px; width: 440px; }
}

/* ---------- Product cards (Shop side) ---------- */
.pcard-media::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(120% 70% at 50% 0%, rgba(255,255,255,.55), rgba(255,255,255,0) 60%); pointer-events: none; }
.pcard-add { transition: transform .25s var(--ease), background-color .2s ease; }
.pcard-add:active { transform: scale(.92); }

/* ---------- Shop by need: the bento (home page, under the hero) ----------
   White tiles with a soft pool of colour where the products stand; a wide midnight band for
   Consult-to-Buy in the old hero's blue. The grid gets .in as it comes on screen: tiles rise
   in turn, then their products pop up one by one, then the band's steps light up along a
   line. The end state is the plain style, so with reduced motion it's simply all there. */
.bento-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.bento-all { display: none; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(15,30,54,.2); text-underline-offset: 4px; }
.bento-all:hover { text-decoration-color: currentColor; }
.bento-all svg { transition: transform .35s var(--ease); }
.bento-all:hover svg { transform: translateX(3px); }
@media (min-width: 640px) { .bento-all { display: inline-flex; } }

.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bt { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; min-width: 0; min-height: 244px; border-radius: 28px; padding: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgba(15,30,54,.06), 0 1px 2px rgba(15,30,54,.04), 0 18px 40px -28px rgba(15,30,54,.28); transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.bt-big, .bt-band, .bt-wide-sm { grid-column: 1 / -1; }
.bt-link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.bt-link:focus-visible { outline: 3px solid #1B5FBE; outline-offset: 3px; }
.bt-halo { position: absolute; z-index: -1; right: -22%; bottom: -40%; width: 100%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--tint), rgba(255,255,255,0)); pointer-events: none; transition: transform .9s var(--ease); }
/* the glow that follows the pointer */
.bt::after { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(360px circle at var(--px, 70%) var(--py, 80%), var(--glow, rgba(255,255,255,.08)), transparent 62%); opacity: 0; pointer-events: none; transition: opacity .45s ease; }
.bt-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.bt-count { display: inline-flex; align-items: center; gap: 7px; padding-top: 6px; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: #4A5B72; }
.bt-dot { flex: none; width: 7px; height: 7px; border-radius: 50%; background: #2BB673; box-shadow: 0 0 0 3px rgba(43,182,115,.16); }
.bt-go { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #F1F4F9; color: #0F1E36; transform: rotate(-45deg); transition: transform .55s var(--ease), background-color .3s ease, color .3s ease; }
.bt-title { margin-top: 10px; font-family: Fraunces, Georgia, serif; font-weight: 500; font-size: 21px; line-height: 1.1; letter-spacing: -.015em; color: #0F1E36; }
.bt-line { margin-top: 6px; font-size: 13px; line-height: 1.45; color: #4A5B72; }
.bt-blurb { margin-top: 10px; max-width: 30rem; font-size: 15px; line-height: 1.6; color: #3C4F6B; }
.bt-chips { position: relative; z-index: 4; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.bt-chips a { padding: 8px 12px; border-radius: 9999px; font-size: 13px; font-weight: 500; background: rgba(255,255,255,.72); box-shadow: inset 0 0 0 1px rgba(15,30,54,.1); transition: background-color .2s ease, box-shadow .2s ease; }
.bt-chips a:hover { background: #fff; box-shadow: inset 0 0 0 1px rgba(15,30,54,.3); }
.bt-art { position: relative; z-index: 0; margin: 14px -6px -18px; margin-top: auto; padding-top: 14px; pointer-events: none; }
.bt-big { padding: 22px; }
.bt-big .bt-title { font-size: 29px; }
.bt-big .bt-art { width: min(100% + 8px, 380px); margin: 18px -8px -22px auto; }

/* Consult-to-Buy: the band */
.bt-band { padding: 24px; color: #fff; background: var(--night-glow), var(--night-blue); box-shadow: 0 30px 60px -36px rgba(8,28,66,.7); }
.bt-band .bt-title { margin-top: 12px; font-size: 29px; color: #fff; }
.bt-band .bt-blurb { color: rgba(255,255,255,.8); }
.bt-band .bt-chips a { background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); color: #fff; }
.bt-band .bt-chips a:hover { background: rgba(255,255,255,.16); box-shadow: inset 0 0 0 1px rgba(255,255,255,.45); }
.bt-band > .bt-go { position: absolute; top: 20px; right: 20px; background: rgba(255,255,255,.12); color: #fff; }
.bt-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 9999px; background: rgba(32,174,255,.16); box-shadow: inset 0 0 0 1px rgba(108,192,255,.35); color: #A8D9FF; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bt-steps { position: relative; margin-top: 24px; display: grid; gap: 14px; }
.bt-steps::before { content: ''; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; background: linear-gradient(#20AEFF, rgba(32,174,255,.25)); transform-origin: top; }
.bt-steps li { position: relative; display: flex; align-items: center; gap: 12px; font-size: 14.5px; line-height: 1.4; color: rgba(255,255,255,.92); }
.bt-num { position: relative; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #20AEFF; color: #081C42; font-size: 13px; font-weight: 700; }

/* The entrance: tiles rise in turn, products pop up, the band's line draws and its steps light */
.bento:not(.in) .bt, .bento:not(.in) .bt-pk { opacity: 0; }
.bento.in .bt { animation: bt-rise .95s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 85ms); }
@keyframes bt-rise { from { opacity: 0; translate: 0 30px; scale: .97; } }
.bt-pk { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .6s var(--ease); transition-delay: calc(var(--n, 0) * 45ms); }
.bento.in .bt-pk { animation: bt-pop .85s cubic-bezier(.2,.9,.25,1.25) backwards; animation-delay: calc(var(--i, 0) * 85ms + 330ms + var(--n, 0) * 95ms); }
@keyframes bt-pop { from { opacity: 0; translate: 0 26px; scale: .8; } }
.bt-float { transform-box: fill-box; animation: bt-float 7s ease-in-out infinite; animation-delay: calc(var(--n, 0) * -1.7s); }
@keyframes bt-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.bento:not(.in) .bt-steps::before { transform: scaleY(0); }
.bento.in .bt-steps::before { transition: transform 1.4s var(--ease) calc(var(--i, 0) * 85ms + 450ms); }
.bento.in .bt-num { animation: bt-lit .5s ease backwards; animation-delay: calc(var(--i, 0) * 85ms + 550ms + var(--n, 0) * 420ms); }
@keyframes bt-lit { from { background: #0C2A5E; color: #A8D9FF; box-shadow: inset 0 0 0 2px rgba(108,192,255,.5); scale: .86; } }

/* Pointing at a tile (computers): it lifts, its products step up, the glow follows */
@media (hover: hover) {
  .bt:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(15,30,54,.08), 0 2px 4px rgba(15,30,54,.05), 0 34px 60px -30px rgba(15,30,54,.38); }
  .bt:hover::after { opacity: 1; }
  .bt:hover .bt-halo { transform: scale(1.12); }
  .bt:hover .bt-pk { transform: translateY(-8px); }
  .bt:hover .bt-go { transform: none; background: #0F1E36; color: #fff; }
  .bt-band:hover > .bt-go { background: #fff; color: #0C2A5E; }
}

@media (min-width: 640px) {
  .bento { gap: 14px; }
  .bt { padding: 22px; }
  .bt-art { margin: 14px -8px -22px; margin-top: auto; }
  .bt-small .bt-art { width: min(100% + 8px, 300px); margin-left: auto; }
  .bt-title { font-size: 24px; }
}
@media (min-width: 1024px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(252px, auto); gap: 16px; }
  .bt-big { grid-column: span 2; grid-row: span 2; padding: 32px; }
  .bt-big .bt-title { margin-top: 16px; max-width: 12ch; font-size: clamp(36px, 3.1vw, 44px); line-height: 1.04; }
  .bt-big .bt-art { position: absolute; right: 18px; bottom: 0; width: 62%; margin: 0; }
  .bt-big .bt-chips { max-width: 74%; }
  .no-big .bt-small:first-child { grid-row: auto; }
  .bt-wide-sm { grid-column: auto; }
  .bt-wide { grid-column: span 2; }
  .bt-small { padding: 24px; }
  .bt-small .bt-line { max-width: 72%; }
  .bt-small .bt-art { position: absolute; right: 8px; bottom: 0; width: 70%; margin: 0; }
  .bt-wide .bt-art { width: 42%; }
  .bt-band { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 48px; padding: 34px 40px; }
  .bt-band .bt-title { font-size: 36px; }
  .bt-band > .bt-go { top: 28px; right: 28px; }
  .bt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding-top: 6px; }
  /* from the first number to the last: three columns, two 20px gaps */
  .bt-steps::before { left: 16px; right: calc((100% - 40px) / 3 - 16px); top: 22px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, #20AEFF, rgba(32,174,255,.25)); transform-origin: left; }
  .bento:not(.in) .bt-steps::before { transform: scaleX(0); }
  .bt-steps li { flex-direction: column; align-items: flex-start; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bento .bt, .bento .bt-pk { opacity: 1 !important; }
  .bento .bt-steps::before { transform: none !important; }
}

/* ---------- Collect / Delivery switch ---------- */
.seg { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 4px; border-radius: 9999px; background: #EEF2F7; }
.seg-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 9999px; background: #fff; box-shadow: 0 1px 2px rgba(15,30,54,.08), 0 8px 18px -10px rgba(15,30,54,.35); transition: transform .5s var(--ease); }
.seg[data-mode="delivery"] .seg-thumb { transform: translateX(100%); }
.seg button { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 6px 10px; border-radius: 9999px; font-size: 13.5px; font-weight: 600; color: #4A5B72; transition: color .3s ease; }
.seg button[aria-checked="true"] { color: #0F1E36; }
.seg button .sub { font-size: 11.5px; font-weight: 500; color: #66768C; }

/* ---------- Care side: page hero and status card ---------- */
.care-hero { background: var(--care-hero); }
/* The shop page's heading panel (All products): lilac by day, midnight after dark */
.shop-head { background: var(--shop-head-bg); color: var(--shop-head-ink); }
.shop-eyebrow { color: var(--shop-eyebrow); }
[data-sky="night"] .shop-head .text-ink-soft { color: rgba(255,255,255,.74); }
[data-sky="night"] .shop-head li { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.status-card { border-radius: 26px; background: #fff; box-shadow: 0 2px 4px rgba(15,30,54,.05), 0 30px 60px -26px rgba(15,30,54,.28); }
.status-card .now-dot { animation: now-pulse 1.8s ease-out infinite; }
@keyframes now-pulse { 0% { box-shadow: 0 0 0 0 rgba(27,95,190,.45); } 100% { box-shadow: 0 0 0 11px rgba(27,95,190,0); } }

.rx-remind { border-radius: 14px; padding: 14px 16px; background: #F2F7FF; box-shadow: inset 0 0 0 1px #D6E4F7; }

/* The offers sign-up (home page): the Shop's colours, so lilac by day and the hero blue at night */
.offers-card { display: grid; gap: 24px; border-radius: 32px; padding: 24px; background: var(--shop-head-bg); color: var(--shop-head-ink); }
.offers-eyebrow { font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--shop-eyebrow); }
.offers-h { margin-top: 8px; max-width: 18ch; font-family: Fraunces, Georgia, serif; font-size: clamp(1.9rem, 6vw, 2.6rem); font-weight: 500; line-height: 1.08; letter-spacing: -.02em; }
.offers-list { margin-top: 18px; display: grid; gap: 10px; font-size: 15.5px; }
.offers-list li { display: flex; align-items: center; gap: 10px; }
.offers-list li > span { display: inline-grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 12px; background: rgba(255,255,255,.65); color: var(--shop-accent); }
[data-sky="night"] .offers-list li > span { background: rgba(255,255,255,.1); }
.offers-note { margin-top: 16px; font-size: 14px; opacity: .8; }
.offers-form { display: grid; gap: 12px; align-content: start; border-radius: 24px; padding: 20px; background: #fff; color: #0F1E36; box-shadow: 0 30px 60px -36px rgba(15,30,54,.45); }
.offers-field { display: block; font-size: 14px; font-weight: 600; }
.offers-field span { font-weight: 400; color: #66768C; }
.offers-field input { display: block; margin-top: 6px; width: 100%; height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid #D3DCE8; font-size: 16px; }
.offers-field input:focus { outline: none; border-color: var(--shop-solid); box-shadow: 0 0 0 4px rgba(42,33,96,.14); }
.news-topics { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; font-size: 13.5px; }
.news-topics legend { margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.news-topics legend span { font-weight: 400; color: #5B6B82; }
.news-topics label { display: flex; align-items: center; gap: 8px; }
.news-topics input { width: 16px; height: 16px; accent-color: var(--shop-solid); }
@media (max-width: 420px) { .news-topics { grid-template-columns: 1fr; } }
.offers-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: #24324A; }
.offers-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--shop-solid); }
.offers-msg { font-size: 14px; font-weight: 600; }
.offers-msg:empty { display: none; }
.offers-msg.err { color: #B23B1E; }
.offers-btn { width: 100%; }
.offers-small { font-size: 13px; color: #66768C; }
.offers-small a { font-weight: 600; color: #24324A; text-decoration: underline; text-underline-offset: 3px; }
.offers-done { outline: none; padding: 8px 4px; }
.offers-done-h { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; color: #0F1E36; }
.offers-done p + p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: #3C4F6B; }
@media (min-width: 1024px) { .offers-card { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; padding: 48px 56px; align-items: center; } .offers-form { padding: 28px; } }

/* stop.html */
.stop-card { border-radius: 28px; padding: 28px 24px; background: #fff; box-shadow: 0 2px 4px rgba(15,30,54,.05), 0 30px 60px -36px rgba(15,30,54,.35); }
.stop-eyebrow { font-size: 13px; font-weight: 600; color: var(--care-eyebrow); }
.stop-h { margin-top: 8px; font-size: 1.9rem; font-weight: 600; line-height: 1.1; letter-spacing: -.035em; color: var(--care-ink); }
.stop-p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: #3C4F6B; }
.stop-p:empty { display: none; }
.stop-small { margin-top: 24px; font-size: 14px; color: #66768C; }
.stop-small a { font-weight: 600; color: var(--care-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Health pages: NHS Pharmacy First and weight management ----------
   (built by scripts/health-pages.mjs). Calm and clinical, the Care look: readable at a
   glance on a phone, with the urgent signs near the top and booking never far away. */
.hp { --hp-w: 1180px; }
.hp-wrap { max-width: var(--hp-w); margin: 0 auto; padding: 0 16px; }
.hp-hero { padding: 18px 0 36px; }
.hp-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 13.5px; color: #66768C; }
.hp-crumbs a:hover { color: var(--care-ink); text-decoration: underline; }
.hp-hero-grid { display: grid; gap: 22px; margin-top: 22px; }
.hp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--care-eyebrow); }
.hp-h1 { margin-top: 12px; max-width: 18ch; font-size: clamp(2rem, 7.4vw, 3.4rem); font-weight: 600; line-height: 1.04; letter-spacing: -.04em; color: var(--care-ink); text-wrap: balance; }
.hp-lede { margin-top: 14px; max-width: 38rem; font-size: 17px; line-height: 1.6; color: var(--care-copy); }
.hp-facts { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.hp-facts li { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 9999px; background: #fff; box-shadow: inset 0 0 0 1px var(--care-line); font-size: 14px; font-weight: 500; color: #0F1E36; }
.hp-facts .hp-ic { color: var(--care-icon); display: inline-flex; }
.hp-ctas { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.hp-ctas .hp-ic { display: inline-flex; }
@media (max-width: 639px) { .hp-ctas .btn-pill { flex: 1 1 100%; } }
.hp-visit { align-self: start; border-radius: 24px; background: #fff; padding: 20px; box-shadow: 0 2px 4px rgba(15,30,54,.05), 0 24px 50px -28px rgba(15,30,54,.3); }
.hp-visit-status { display: flex; align-items: center; gap: 10px; font-weight: 600; color: #0F1E36; }
.hp-visit dl { margin-top: 14px; display: grid; gap: 12px; font-size: 15px; }
.hp-visit dt { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #66768C; }
.hp-visit dd { margin-top: 2px; color: #24324A; }
.hp-phone { font-weight: 600; color: var(--care-ink); }
.hp-visit-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 14.5px; font-weight: 600; color: var(--care-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--care-underline); }
.hp-visit-link .hp-ic { display: inline-flex; }

.hp-body { display: grid; gap: 28px; padding-top: 28px; padding-bottom: 64px; }
.hp-wide { padding-top: 28px; padding-bottom: 64px; }
.hp-toc { display: none; }
.hp-main { min-width: 0; max-width: 46rem; }
.hp-sec { margin-top: 44px; scroll-margin-top: 140px; }
.hp-sec:first-child { margin-top: 0; }
.hp-sec h2, .hp-band h2 { font-size: clamp(1.45rem, 4.6vw, 1.85rem); font-weight: 600; line-height: 1.15; letter-spacing: -.03em; color: var(--care-ink); }
.hp-sec h3 { font-size: 16.5px; font-weight: 600; color: #0F1E36; }
.hp-sec > p, .hp-band > p { margin-top: 12px; font-size: 16.5px; line-height: 1.7; color: #24324A; }
.hp-sec a:not([class]), .hp-urgent a, .hp-band a:not([class]), .pf-result a:not([class]) { font-weight: 600; color: var(--care-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--care-underline); }
.hp-small { font-size: 14.5px !important; line-height: 1.6 !important; color: #4A5B72 !important; }
.hp-list { margin-top: 12px; display: grid; gap: 9px; font-size: 16.5px; line-height: 1.55; color: #24324A; }
.hp-list li { position: relative; padding-left: 26px; }
.hp-list li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 9px; height: 5px; border-left: 2px solid var(--care-icon); border-bottom: 2px solid var(--care-icon); transform: rotate(-45deg) translateY(-50%); }
.hp-list-dots li::before { top: .6em; left: 6px; width: 7px; height: 7px; border: 0; border-radius: 50%; background: var(--care-icon); transform: translateY(-50%); }
.hp-list-urgent li::before { top: .62em; left: 5px; width: 8px; height: 8px; border: 0; border-radius: 2px; background: #C2410C; transform: translateY(-50%) rotate(45deg); }

/* The urgent box: a calm amber, never alarming red, and near the top */
.hp-urgent { border-radius: 20px; padding: 18px 18px 20px; background: #FFF7ED; box-shadow: inset 0 0 0 1px #FBD5B0; scroll-margin-top: 140px; }
.hp-urgent h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: #9A3412; }
.hp-urgent h2 .hp-ic { display: inline-flex; color: #C2410C; }
.hp-urgent-lead { margin-top: 12px; font-size: 15.5px; color: #431407; }
.hp-urgent .hp-list { margin-top: 8px; font-size: 15.5px; color: #431407; }
.hp-urgent > p:last-child:not(.hp-urgent-lead) { margin-top: 12px; font-size: 15.5px; color: #431407; }
.hp-wide > .hp-urgent { margin-top: 44px; }

.hp-yesno { margin-top: 16px; display: grid; gap: 12px; }
.hp-yes, .hp-no { border-radius: 18px; padding: 16px 18px; }
.hp-yes { background: #F0FAF4; box-shadow: inset 0 0 0 1px #BFE6CF; }
.hp-no { background: #F7F9FC; box-shadow: inset 0 0 0 1px #E1E8F1; }
.hp-yesno h3 { display: flex; align-items: center; gap: 7px; }
.hp-yes h3 .hp-ic { display: inline-flex; color: #15803D; }
.hp-no h3 .hp-ic { display: inline-flex; color: #64748B; }
.hp-yesno .hp-list { margin-top: 8px; font-size: 15.5px; }
.hp-yes .hp-list li::before { border-color: #15803D; }
.hp-no .hp-list li::before { top: .62em; left: 4px; width: 10px; height: 2px; border: 0; background: #94A3B8; transform: translateY(-50%); }

.hp-steps { margin-top: 18px; display: grid; gap: 0; }
.hp-steps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding-bottom: 22px; }
.hp-steps li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 42px; bottom: 4px; width: 2px; background: linear-gradient(var(--care-line), rgba(255,255,255,0)); }
.hp-step-n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--care-btn); font-weight: 700; color: var(--care-btn); }
.hp-steps h3 { padding-top: 8px; }
.hp-steps p { margin-top: 4px; font-size: 15.5px; line-height: 1.6; color: #3C4F6B; }

.hp-note { margin-top: 16px; display: flex; gap: 10px; border-radius: 16px; padding: 14px 16px; background: #EEF5FF; font-size: 15px; line-height: 1.6; color: #24324A; }
.hp-note .hp-ic { display: inline-flex; flex: none; margin-top: 3px; color: var(--care-icon); }

.hp-faq { margin-top: 14px; border-top: 1px solid #E1E8F1; }
.hp-faq details { border-bottom: 1px solid #E1E8F1; }
.hp-faq summary { position: relative; display: block; padding: 16px 40px 16px 0; font-size: 16.5px; font-weight: 600; color: #0F1E36; }
.hp-faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 9px; height: 9px; border-right: 2px solid #66768C; border-bottom: 2px solid #66768C; transform: translateY(-70%) rotate(45deg); transition: transform .25s var(--ease); }
.hp-faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.hp-faq details p { padding: 0 0 16px; font-size: 16px; line-height: 1.65; color: #3C4F6B; }

.hp-band { margin-top: 48px; border-radius: 24px; padding: 24px; color: #fff; background: var(--night-glow), var(--night-blue); }
.hp-band h2 { color: #fff; }
.hp-band > p { color: rgba(255,255,255,.82); }
.hp-band .btn-care { background: #fff; color: #0C2A5E; box-shadow: none; }
.hp-band .btn-care:hover { background: #EAF1FF; }
.hp-band .btn-care-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.hp-band .btn-care-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.hp-cards { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hp-cards a { display: flex; flex-direction: column; gap: 2px; height: 100%; border-radius: 16px; padding: 14px 16px; background: #fff; box-shadow: inset 0 0 0 1px #E1E8F1; transition: box-shadow .2s ease, transform .3s var(--ease); }
.hp-cards a:hover { box-shadow: inset 0 0 0 1px var(--care-btn); transform: translateY(-2px); }
.hp-card-name { font-weight: 600; color: #0F1E36; }
.hp-card-age { font-size: 13.5px; color: #66768C; }
.hp-card-all { background: #EEF5FF !important; }
.hp-meta { margin-top: 40px; font-size: 13.5px; line-height: 1.6; color: #66768C; }
.hp-textlink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--care-ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--care-underline); }
.hp-textlink .hp-ic { display: inline-flex; }

/* The guide page: the seven conditions, and the checker */
.hp-conds { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hp-conds a { position: relative; display: flex; flex-direction: column; height: 100%; min-height: 150px; border-radius: 22px; padding: 16px; background: #fff; box-shadow: 0 0 0 1px #E1E8F1, 0 14px 30px -24px rgba(15,30,54,.35); transition: transform .4s var(--ease), box-shadow .3s ease; }
.hp-conds a:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--care-btn), 0 24px 40px -26px rgba(15,30,54,.45); }
.hp-conds a > .hp-ic:first-child { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; background: #EEF3FF; color: var(--care-icon); }
.hp-cond-name { margin-top: 14px; font-size: 17px; font-weight: 600; line-height: 1.25; color: #0F1E36; }
.hp-cond-age { margin-top: 3px; font-size: 13.5px; color: #66768C; }
.hp-cond-more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--care-btn); }
.hp-cond-more .hp-ic { display: inline-flex; transition: transform .3s var(--ease); }
.hp-conds a:hover .hp-cond-more .hp-ic { transform: translateX(3px); }
.hp-check-sec { border-radius: 28px; padding: 22px; background: #fff; box-shadow: 0 0 0 1px #E1E8F1, 0 30px 60px -40px rgba(15,30,54,.4); }
.hp-check-sec > div > p { margin-top: 8px; font-size: 15.5px; color: #4A5B72; }
.pf-check { margin-top: 18px; display: grid; gap: 20px; }
.pf-check legend, .pf-field { display: block; margin-bottom: 10px; font-size: 15.5px; font-weight: 600; color: #0F1E36; }
.pf-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pf-inline { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-opt { position: relative; display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px #D3DCE8; font-size: 15px; font-weight: 500; cursor: pointer; transition: box-shadow .15s ease, background-color .15s ease; }
.pf-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pf-opt:has(input:checked) { background: #EEF5FF; box-shadow: inset 0 0 0 2px var(--care-btn); font-weight: 600; }
.pf-opt:has(input:focus-visible) { outline: 3px solid #1B5FBE; outline-offset: 2px; }
.pf-row { display: grid; gap: 16px; }
.pf-field input { display: block; margin-top: 8px; width: 100%; max-width: 220px; height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid #D3DCE8; font-size: 16px; font-weight: 500; }
.pf-field input:focus { outline: none; border-color: var(--care-btn); box-shadow: 0 0 0 4px rgba(27,95,190,.18); }
.pf-checks { display: grid; gap: 8px; }
.pf-tick { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px #D3DCE8; font-size: 15px; line-height: 1.45; cursor: pointer; }
.pf-tick input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: #C2410C; }
.pf-tick:has(input:checked) { background: #FFF7ED; box-shadow: inset 0 0 0 2px #F59E0B; }
.pf-none input { accent-color: var(--care-btn); }
.pf-none:has(input:checked) { background: #EEF5FF; box-shadow: inset 0 0 0 2px var(--care-btn); }
.pf-check > .btn-pill { justify-self: start; }
.pf-result { border-radius: 18px; padding: 16px 18px; outline: none; }
.pf-result-h { font-size: 17px; font-weight: 700; }
.pf-result p + p, .pf-result-h + p { margin-top: 6px; font-size: 15.5px; line-height: 1.6; }
.pf-result .hp-ctas { margin-top: 14px; }
.pf-yes { background: #F0FAF4; box-shadow: inset 0 0 0 1.5px #86CFA4; color: #14532D; }
.pf-no, .pf-info { background: #EEF5FF; box-shadow: inset 0 0 0 1.5px #BFD3F2; color: #13296B; }
.pf-urgent { background: #FFF7ED; box-shadow: inset 0 0 0 2px #F59E0B; color: #7C2D12; }
.pf-warn { background: #F7F9FC; box-shadow: inset 0 0 0 1.5px #D3DCE8; color: #24324A; }
.hp-two { display: grid; gap: 0 32px; }
.bmi { margin-top: 18px; display: grid; gap: 16px; border-radius: 22px; padding: 18px; background: #fff; box-shadow: 0 0 0 1px #E1E8F1; }
.bmi-units { display: flex; flex-wrap: wrap; gap: 8px; }
.bmi-fields { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.bmi-fields .pf-field { margin: 0; }
.bmi-fields .pf-field input { max-width: 140px; }
.bmi > .btn-pill { justify-self: start; }

@media (min-width: 640px) {
  .hp-wrap { padding: 0 24px; }
  .hp-hero { padding: 24px 0 48px; }
  .hp-visit { padding: 24px; }
  .hp-yesno { grid-template-columns: 1fr 1fr; }
  .hp-band { padding: 32px; }
  .hp-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hp-conds { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .pf-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pf-row { grid-template-columns: auto auto auto; justify-content: start; gap: 24px; }
  .hp-check-sec { padding: 32px; }
}
@media (min-width: 1024px) {
  .hp-hero { padding-bottom: 56px; }
  .hp-hero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; margin-top: 28px; }
  .hp-body { grid-template-columns: 200px minmax(0, 46rem); gap: 64px; padding-top: 40px; }
  .hp-toc { display: block; position: sticky; top: 24px; align-self: start; }
  .hp-toc p { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #66768C; }
  .hp-toc ul { margin-top: 10px; display: grid; gap: 2px; border-left: 2px solid #E1E8F1; }
  .hp-toc a { display: block; margin-left: -2px; padding: 6px 0 6px 14px; border-left: 2px solid transparent; font-size: 14.5px; color: #4A5B72; transition: color .2s ease, border-color .2s ease; }
  .hp-toc a:hover, .hp-toc a.on { color: var(--care-ink); border-left-color: var(--care-btn); }
  .hp-conds { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .hp-conds li:first-child { grid-column: span 2; }
  .hp-conds li:first-child a { min-height: 170px; }
  .hp-two { grid-template-columns: 1fr 1fr; }
  .hp-check-sec { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 40px; }
  .hp-check-sec .pf-check { margin-top: 0; }
}

/* ---------- Google reviews ---------- */
.rv-track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.rv-card { scroll-snap-align: start; flex: 0 0 86%; }
@media (min-width: 640px) { .rv-card { flex-basis: 360px; } }
.rv-card[data-in] { animation: rise-in .7s var(--ease) both; animation-delay: calc(var(--d, 0) * 80ms); opacity: 0; transform: translateY(16px); }
.gmaps-credit { font-family: Roboto, Arial, sans-serif; font-weight: 500; color: #5F6368; }

/* ---------- Get the app (app.html): where the printed QR codes land ---------- */
.gx { padding-bottom: 72px; }
.gx-wrap { max-width: 72rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .gx-wrap { padding: 0 24px; } }
.gx-hero { position: relative; overflow: hidden; color: #fff; background: var(--night-glow), var(--night-blue); padding: 36px 0 0; }
.gx-hero::after { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(80% 80% at 70% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(80% 80% at 70% 30%, #000 0%, transparent 75%); }
.gx-hero-grid { position: relative; z-index: 1; display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .gx-hero { padding-top: 56px; } .gx-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.gx-copy { padding-bottom: 8px; }
@media (min-width: 900px) { .gx-copy { padding-bottom: 64px; } }
.gx-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 9999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); font-size: 13.5px; font-weight: 600; color: #DCEBFF; }
.gx-h { margin-top: 18px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 800; font-size: clamp(40px, 9vw, 72px); line-height: .98; letter-spacing: -.035em; }
.gx-h span { color: #20AEFF; }
.gx-lede { margin-top: 18px; max-width: 34rem; font-size: 17px; line-height: 1.6; color: #C9DCF5; }
.gx-action { margin-top: 26px; }
.gx-btn { background: #fff; color: #0C2A5E; min-height: 58px; padding: 0 1.75rem; font-size: 17px; font-weight: 700; box-shadow: 0 18px 40px -16px rgba(32,174,255,.7); }
.gx-btn:hover { box-shadow: 0 22px 46px -16px rgba(32,174,255,.85); }
.gx-btn:hover .arr { transform: translateX(3px); }
.gx-done { display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 16px; background: rgba(43,182,115,.16); box-shadow: inset 0 0 0 1px rgba(43,182,115,.45); font-weight: 600; color: #fff; }
.gx-bonus { margin-top: 18px; display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #C9DCF5; }
.gx-bonus a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gx-bonus-n { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 9999px; background: linear-gradient(135deg, #20AEFF, #1B5FBE); font-weight: 800; font-size: 15px; color: #fff; box-shadow: 0 10px 24px -10px rgba(32,174,255,.9); }
.gx-phone { display: flex; justify-content: center; }
.gx-phone-frame { width: min(300px, 74vw); aspect-ratio: 390 / 844; padding: 10px 10px 0; border-radius: 46px 46px 0 0; background: #0A1630; box-shadow: 0 0 0 2px rgba(255,255,255,.14), 0 40px 90px -30px rgba(32,174,255,.55); overflow: hidden; translate: 0 2px; }
.gx-phone-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 37px 37px 0 0; }
@media (max-width: 899px) { .gx-phone-frame { height: 320px; aspect-ratio: auto; } }
.gx-claim { margin-top: 28px; }
.gx-claim-card { display: flex; gap: 16px; padding: 22px; border-radius: 24px; background: #EAF8F0; box-shadow: inset 0 0 0 1px #BFE6CF; }
.gx-claim-ic { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 9999px; background: #2BB673; color: #fff; }
.gx-claim h2 { font-family: Fraunces, Georgia, serif; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.gx-claim p { margin-top: 6px; color: #3C5A4A; font-size: 15px; }
.gx-claim-form { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }
.gx-claim-form input { flex: 1 1 200px; min-width: 0; height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid #BFE6CF; background: #fff; font-size: 16px; }
.gx-claim-msg { margin-top: 10px; font-weight: 600; font-size: 14.5px; }
.gx-claim-msg.ok { color: #1E7A4C; } .gx-claim-msg.err { color: #B23B1E; }
.gx-sec { margin-top: 64px; }
.gx-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #1B5FBE; }
.gx-kicker-light { color: #8FD0FF; }
.gx-sec-h { margin-top: 8px; font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: clamp(28px, 5vw, 40px); line-height: 1.08; letter-spacing: -.02em; color: #0C2A5E; }
.gx-sec-p { margin-top: 10px; max-width: 40rem; font-size: 16px; line-height: 1.6; color: #4A5B72; }
.gx-tabs { margin-top: 22px; display: inline-flex; padding: 4px; border-radius: 9999px; background: #EEF4FB; }
.gx-tabs button { min-height: 44px; padding: 0 20px; border-radius: 9999px; font-weight: 600; font-size: 15px; color: #4A5B72; }
.gx-tabs button[aria-selected="true"] { background: #fff; color: #0C2A5E; box-shadow: 0 2px 8px -2px rgba(15,30,54,.18); }
.gx-note { margin-top: 18px; display: flex; gap: 12px; padding: 16px; border-radius: 18px; background: #FFF6DD; color: #6B4A00; font-size: 15px; line-height: 1.5; }
.gx-note > span { flex: none; margin-top: 2px; }
.gx-steps { margin-top: 20px; display: grid; gap: 14px; counter-reset: none; }
@media (min-width: 900px) { .gx-steps { grid-template-columns: repeat(3, 1fr); } }
.gx-steps li { display: flex; gap: 16px; padding: 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px #E1E8F2, 0 18px 40px -28px rgba(12,42,94,.35); }
.gx-step-n { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 9999px; background: #0C2A5E; color: #fff; font-weight: 800; }
.gx-steps h3 { font-weight: 700; font-size: 17px; color: #0F1E36; }
.gx-steps p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: #4A5B72; }
.gx-key { margin-top: 12px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: #EAF6FF; color: #1A4FA3; font-weight: 600; font-size: 14px; }
.gx-key svg { width: 20px; height: 20px; }
.gx-desktop { margin-top: 22px; display: flex; align-items: center; gap: 22px; padding: 22px; border-radius: 24px; background: #F5F9FE; box-shadow: inset 0 0 0 1px #E1E8F2; }
.gx-desktop-qr { flex: none; width: 150px; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #E1E8F2; }
.gx-desktop h3 { font-weight: 700; font-size: 18px; color: #0C2A5E; }
.gx-desktop p { margin-top: 4px; color: #4A5B72; }
.gx-points { display: grid; gap: 24px; padding: 28px; border-radius: 28px; background: linear-gradient(160deg, #EAF6FF, #F5F9FE 60%); box-shadow: inset 0 0 0 1px #D3ECFF; }
@media (min-width: 900px) { .gx-points { grid-template-columns: .9fr 1.1fr; align-items: center; padding: 40px; } }
.gx-points-list { display: grid; gap: 12px; }
.gx-points-list li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #E1E8F2; }
.gx-points-list p { font-size: 15px; line-height: 1.5; color: #4A5B72; }
.gx-points-list strong { color: #0F1E36; }
.gx-pt { display: grid; place-items: center; flex: none; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #1B5FBE, #0C2A5E); color: #fff; font-weight: 800; font-size: 16px; }
.gx-grid { margin-top: 22px; display: grid; gap: 14px; }
@media (min-width: 640px) { .gx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gx-grid { grid-template-columns: repeat(3, 1fr); } }
.gx-tile { display: block; padding: 22px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px #E1E8F2; transition: transform .3s var(--ease), box-shadow .3s ease; }
.gx-tile:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px #D3ECFF, 0 24px 48px -30px rgba(12,42,94,.45); }
.gx-tile-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #EAF6FF; color: #1B5FBE; }
.gx-tile h3 { margin-top: 14px; font-weight: 700; font-size: 17px; color: #0F1E36; }
.gx-tile p { margin-top: 4px; font-size: 14.5px; line-height: 1.55; color: #4A5B72; }
.gx-late { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 32px; border-radius: 28px; color: #C9DCF5; background: var(--night-glow), var(--night-blue); }
.gx-late-h { margin-top: 6px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-weight: 800; font-size: clamp(28px, 5vw, 40px); letter-spacing: -.03em; color: #fff; }
.gx-late p { margin-top: 6px; }
.gx-late-addr a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.gx-btn-light { background: #fff; color: #0C2A5E; font-weight: 700; }

/* ---------- The gift card: one design for the website (gift-cards.html) and the printed
   card (scripts/marketing). Sized by its own width, so it scales from a thumbnail to print. */
.gcard { position: relative; aspect-ratio: 85.6 / 54; border-radius: 4.6% / 7.3%; overflow: hidden; container-type: inline-size; color: #fff; isolation: isolate;
  background: radial-gradient(circle at 96% 0%, rgba(32,174,255,.62), rgba(32,174,255,0) 46%), radial-gradient(circle at 46% 30%, rgba(27,95,190,.5), rgba(27,95,190,0) 40%), radial-gradient(circle at 0% 100%, rgba(22,144,240,.38), rgba(22,144,240,0) 48%), linear-gradient(135deg, #15408A 0%, #0C2A5E 52%, #081C42 100%);
  box-shadow: 0 1px 0 rgba(255,255,255,.18) inset, 0 30px 60px -28px rgba(8,28,66,.75); }
.gcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px); background-size: 6.5cqw 6.5cqw; -webkit-mask-image: radial-gradient(90% 90% at 80% 20%, #000, transparent 75%); mask-image: radial-gradient(90% 90% at 80% 20%, #000, transparent 75%); }
.gcard-ring { position: absolute; z-index: -1; right: -17cqw; top: -14cqw; width: 78cqw; opacity: .17; filter: saturate(1.3); pointer-events: none; }
.gcard-logo { position: absolute; left: 7cqw; top: 7cqw; width: 44cqw; height: auto; }
.gcard-kicker { position: absolute; left: 7cqw; bottom: 17.5cqw; font: 700 2.3cqw/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: .28em; text-transform: uppercase; color: #8FD0FF; }
.gcard-label { position: absolute; left: 7cqw; bottom: 6.2cqw; font-family: Fraunces, Georgia, serif; font-style: italic; font-weight: 500; font-size: 10.5cqw; line-height: 1; letter-spacing: -.01em; }
.gcard-amount { position: absolute; right: 7cqw; bottom: 6.2cqw; font: 800 12cqw/1 Inter, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.04em; }
.gcard-amount small { font-size: .5em; font-weight: 700; letter-spacing: 0; vertical-align: .62em; margin-right: .08em; }
.gcard-to { position: absolute; right: 7cqw; top: 7.6cqw; max-width: 40cqw; font: 600 2.9cqw/1.2 Inter, ui-sans-serif, system-ui, sans-serif; color: #DCEBFF; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gcard-code { position: absolute; left: 7cqw; bottom: 17.5cqw; font: 600 3.4cqw/1 'Courier New', ui-monospace, monospace; letter-spacing: .12em; color: #fff; }
.gcard-shine { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.12) 45%, transparent 60%); }
.gc-preview { max-width: 420px; margin: 28px auto 0; }
.gc-preview .gcard { transform: perspective(900px) rotateX(6deg) rotateY(-8deg); transition: transform .6s var(--ease); }
.gc-preview:hover .gcard { transform: perspective(900px) rotateX(0) rotateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-rise], .rv-card[data-in] { opacity: 1 !important; transform: none !important; }
  .pk, .still, .care-mark { translate: none !important; transform: none !important; }
}
