/* ==========================================================================
   DrWhiten — v2 brand site
   Design language: "clinical calm" - deep marine blue, ice blue, warm off-white.
   Heavy display type, hairline rules, rounded media cards, pill buttons.
   Breakpoint: above 860px desktop / 860px and below mobile
   ========================================================================== */

@font-face { font-family: 'Assistant'; src: url('assets/fonts/assistant-400-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Assistant'; src: url('assets/fonts/assistant-600-latin.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Assistant'; src: url('assets/fonts/assistant-700-latin.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Assistant'; src: url('assets/fonts/assistant-800-latin.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --ink: #0A3350;       /* headings / body: deep brand navy, not near-black */
  --ink-soft: #2C5A78;
  --muted: #4E7089;
  --blue: #1878B8;      /* brand blue sampled from the logo */
  --blue-dark: #0F5E92;
  --blue-deep: #0E4C74; /* dark grounds + primary button: same hue, lower L */
  --sky: #EAF3FA;
  --sky-2: #DAE9F5;
  --cream: #EDF5FB;     /* cool blue-white band, replaces the warm off-white */
  --white: #fff;
  --line: #E1EAF1;
  --line-soft: #EFF4F7;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --shadow-1: 0 1px 2px rgba(10, 51, 80, .04), 0 14px 34px -18px rgba(10, 51, 80, .22);
  --shadow-2: 0 40px 80px -48px rgba(10, 51, 80, .45);
  --wrap: 1220px;
  --pad: 24px;
  --font: 'Assistant', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }  /* width/height attributes would pin the height - release them here */
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.08; color: var(--ink); }
h1 { font-size: clamp(38px, 5.2vw, 66px); line-height: 1.02; letter-spacing: -.038em; }
h2 { font-size: clamp(27px, 3.4vw, 42px); }
h3 { font-size: 20px; letter-spacing: -.02em; }
p { margin: 0 0 16px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: #C2DFF3; color: var(--ink); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sec { padding: clamp(56px, 6.4vw, 104px) 0; }
.sec-cream { background: var(--cream); }
.sec-sky { background: var(--sky); }
.sec-tight { padding: clamp(40px, 4.4vw, 72px) 0; }
.lead { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.7; color: var(--muted); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; max-width: 620px; }

.eyebrow {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 16px;
}
.head { max-width: 780px; }
.head .lead { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .2s linear, color .2s linear, border-color .2s linear;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--blue-deep); color: #fff; }
.btn-primary:hover { background: #0B4066; box-shadow: 0 18px 34px -20px rgba(14, 76, 116, .85); }
.btn-buy { background: var(--blue); color: #fff; }
.btn-buy::after { content: "\2197"; font-size: 15px; line-height: 1; transform: translateY(-1px); }
.btn-buy:hover { background: var(--blue-dark); box-shadow: 0 16px 30px -18px rgba(24, 120, 184, .85); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px #C9DAE5; }
.btn-ghost:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Header ---------- */
.topbar {
  background: linear-gradient(90deg, #0C4367 0%, #12638F 54%, #1878B8 100%);
  color: rgba(255, 255, 255, .9);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}
.hdr {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.hdr.is-stuck { box-shadow: 0 12px 30px -24px rgba(10, 51, 80, .5); border-color: transparent; }
.hdr-in { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 27px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav > a:not(.btn) {
  position: relative;
  white-space: nowrap;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 6px 0;
  transition: color .18s linear;
}
.nav > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav > a:not(.btn):hover, .nav > a:not(.btn)[aria-current="page"] { color: var(--ink); }
.nav > a:not(.btn):hover::after, .nav > a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 6px; flex: none; white-space: nowrap; }
.m-only { display: none; }
.burger {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}
.burger span {
  display: block;
  width: 17px; height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .28s var(--ease), opacity .2s linear;
}
body.nav-open .burger span:first-child { transform: translateY(3px) rotate(45deg); }
body.nav-open .burger span:last-child { transform: translateY(-3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(74% 78% at 92% 4%, #DFEEFA 0%, rgba(223, 238, 250, 0) 64%),
    linear-gradient(180deg, #F6FAFD 0%, var(--cream) 70%);
  padding: clamp(26px, 3.4vw, 52px) 0 clamp(52px, 6vw, 92px);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: clamp(30px, 4.6vw, 68px); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 12px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue-dark);
}
.pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(24, 120, 184, .16);
}
.hero h1 { margin: 20px 0 20px; }
.hero .lead { max-width: 520px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(10, 51, 80, .1);
  list-style: none;
  font-size: 13.5px;
  color: var(--muted);
}
.hero-meta li { display: flex; align-items: baseline; gap: 7px; }
.hero-meta b { font-size: 15px; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
.hero-visual { position: relative; }
.hero-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-2); }
.hero-media img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 24%; }
.float-card {
  position: absolute;
  left: 16px; bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 78%;
  padding: 13px 17px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 36px -26px rgba(10, 51, 80, .8);
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--ink-soft);
}
.fc-num { font-size: 27px; font-weight: 800; letter-spacing: -.04em; color: var(--blue); line-height: 1; }

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0;
  padding: 20px 0;
  list-style: none;
}
.trust li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}
.trust li::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sky-2);
  box-shadow: inset 0 0 0 1px rgba(24, 120, 184, .3);
}

/* ---------- Three-up value props ---------- */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 44px); margin-top: clamp(30px, 4vw, 56px); }
.trio article { padding-top: 24px; border-top: 1px solid var(--line); }
.trio .ico {
  display: block;
  width: 82px; height: 82px;
  object-fit: contain;
  margin: 0 0 18px;
  mix-blend-mode: multiply;
}
.trio h3 { margin-bottom: 9px; }
.trio p { margin: 0; font-size: 15.5px; color: var(--muted); }

/* ---------- Product showcase ---------- */
.showcase { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(28px, 4.6vw, 68px); }
.showcase + .showcase { margin-top: clamp(52px, 7vw, 104px); }
.showcase.flip .sc-media { order: 2; }
.sc-media {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(16px, 2vw, 26px);
  box-shadow: 0 44px 70px -56px rgba(10, 51, 80, .55);
}
.sc-media.plain { padding: 0; border: 0; background: transparent; box-shadow: none; }
/* Coming-soon set uses a designed navy panel instead of a placeholder image */
.set-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  aspect-ratio: 1 / 1;
  padding: clamp(24px, 3vw, 38px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(156deg, #0C4C76 0%, #1878B8 56%, #3E9FD8 100%);
}
.set-card::after {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -26%;
  width: 76%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .24), transparent);
}
.set-card::before {
  content: "";
  position: absolute;
  right: -14%;
  top: -18%;
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
}
.set-eyebrow { position: relative; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
.set-title { position: relative; margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; line-height: .96; letter-spacing: -.04em; color: #fff; }
.set-chips { position: relative; display: flex; flex-wrap: wrap; gap: 7px; }
.set-chips span { padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }
.set-card.small { padding: 18px; border-radius: 14px; }
.set-card.small .set-title { font-size: 23px; }
.set-card.small .set-chips { display: none; }
.set-card.small .set-eyebrow { font-size: 9.5px; letter-spacing: .16em; }
.sc-media img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 18px; }
.sc-body h2 { margin-bottom: 14px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.tags li {
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--blue-dark);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -.005em;
}
.price-row { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 0; }
.price { font-size: 27px; font-weight: 800; letter-spacing: -.03em; }
.price-note { font-size: 13.5px; color: var(--muted); }

/* ---------- Product cards (shop) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.2vw, 30px); }
.pcard {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-1); border-color: #D2E0EA; }
.pcard-img { display: block; padding: 18px 18px 0; background: linear-gradient(180deg, #F8FBFE, #fff); }
.pcard-img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; }
.pcard-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.pcard-body h3 { margin-bottom: 8px; font-size: 19px; }
.pcard-body p { margin: 0 0 14px; font-size: 14.5px; color: var(--muted); line-height: 1.62; }
.pcard-body .price { font-size: 22px; margin: 0 0 16px; }
.pcard-actions { display: flex; flex-direction: column; gap: 9px; margin-top: auto; }
.pcard-actions .btn { width: 100%; min-height: 48px; font-size: 14.5px; }
.badge {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--blue-deep);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* ---------- Dark science section ---------- */
.science {
  position: relative;
  background:
    radial-gradient(72% 58% at 10% 0%, rgba(96, 176, 226, .38) 0%, rgba(24, 120, 184, 0) 60%),
    linear-gradient(166deg, #0B4066 0%, #0E5784 46%, #1470A8 100%);
  color: #fff;
  padding: clamp(56px, 7vw, 112px) 0;
  overflow: hidden;
}
.science::after {
  content: "";
  position: absolute;
  inset: auto -14% -46% 34%;
  height: 66%;
  background: radial-gradient(closest-side, rgba(126, 196, 240, .26), transparent);
  pointer-events: none;
}
.science .wrap { position: relative; z-index: 1; }
.science-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 68px); }
.science-head h2 { color: #fff; }
.science-head .lead { color: rgba(255, 255, 255, .84); }
.science .eyebrow { color: #BFE3FA; }
.sci-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(26px, 4.4vw, 64px); }
.sci-row + .sci-row { margin-top: clamp(44px, 6vw, 88px); }
.sci-row.flip .sci-media { order: 2; }
.sci-media { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 50px 90px -60px rgba(4, 30, 50, .9); }
.sci-media img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sci-nhap img { object-position: center 40%; }
.sci-pap img { object-position: center 30%; }
.sci-label {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(34px, 3.6vw, 46px);
  line-height: 1;
  letter-spacing: -.02em;
  color: #CBE8FB;
  margin: 0 0 10px;
}
.sci-body h3 { color: #fff; font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; }
.sci-body p { color: rgba(255, 255, 255, .88); font-size: 16.5px; margin: 0; max-width: 520px; }
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: clamp(44px, 6vw, 84px) 0 0;
  padding: clamp(28px, 3.4vw, 44px) 0 0;
  border-top: 1px solid rgba(255, 255, 255, .14);
  list-style: none;
}
.stats b { display: block; font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.stats span { display: block; margin-top: 9px; font-size: 13px; letter-spacing: .04em; color: rgba(255, 255, 255, .78); }

/* ---------- Three steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 26px); margin-top: clamp(30px, 4vw, 54px); }
.steps article {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 30px;
}
.step-no { font-size: 11.5px; font-weight: 800; letter-spacing: .22em; color: var(--blue); }
.steps img { display: block; height: 138px; width: auto; max-width: 100%; object-fit: contain; margin: 10px 0 20px; }
.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.62; }

/* ---------- Promise band ---------- */
.promise {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  background: var(--sky);
  border-radius: var(--radius-xl);
  padding: clamp(30px, 4.6vw, 64px);
}
.promise-num { font-size: clamp(64px, 9vw, 118px); font-weight: 800; letter-spacing: -.06em; line-height: .86; color: var(--blue-dark); }
.promise-num span { display: block; font-size: 15px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-top: 16px; }
.promise h2 { margin-bottom: 12px; }
.promise p { margin: 0; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.015em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sky);
  color: var(--blue-dark);
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  transition: transform .25s var(--ease), background .2s linear;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--blue-deep); color: #fff; }
.faq details p { margin: 0 0 24px; max-width: 700px; color: var(--muted); font-size: 15.5px; }
.faq details p:last-child { margin-bottom: 22px; }

/* ---------- Closing CTA ---------- */
.cta {
  background: linear-gradient(160deg, #0C5482 0%, #1878B8 58%, #1F84C6 100%);
  color: #fff;
  text-align: center;
  padding: clamp(56px, 7vw, 104px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 620px; height: 620px;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .18), transparent);
  pointer-events: none;
}
.cta > .wrap { position: relative; }
.cta h2 { color: #fff; max-width: 760px; margin: 0 auto; }
.cta .lead { color: rgba(255, 255, 255, .82); margin: 16px auto 0; max-width: 560px; }
.cta .btn-row { justify-content: center; }
/* On dark grounds the primary button flips to white: #1878B8 is already the ceiling
   for white text, so a blue button on a blue field would disappear */
.cta .btn-buy { background: #fff; color: var(--ink); box-shadow: 0 18px 38px -18px rgba(3, 22, 36, .55); }
.cta .btn-buy:hover { background: #EAF3FA; color: var(--ink); box-shadow: 0 20px 42px -18px rgba(3, 22, 36, .6); }
.cta .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55); }
.cta .btn-ghost:hover { background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px #fff; }

/* ---------- Footer ---------- */
.ftr { background: linear-gradient(180deg, #EAF4FC 0%, #DEEDF8 100%); border-top: 1px solid var(--line); padding: clamp(44px, 5.4vw, 76px) 0 26px; }
.ftr-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); }
.ftr-logo img { height: 26px; width: auto; display: block; margin-bottom: 16px; }
.ftr p { font-size: 14.5px; color: var(--muted); max-width: 300px; margin: 0; }
.ftr h4 { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 4px 0 14px; }
.ftr ul { margin: 0; padding: 0; list-style: none; }
.ftr li + li { margin-top: 9px; }
.ftr a { font-size: 14.5px; color: var(--ink-soft); text-decoration: none; transition: color .16s linear; }
.ftr a:hover { color: var(--blue); }
.ftr-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
  margin-top: clamp(34px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

/* ---------- Inner pages ---------- */
.page-head {
  padding: clamp(36px, 5vw, 72px) 0 clamp(24px, 3vw, 40px);
  background:
    radial-gradient(64% 120% at 88% 0%, #D2E7F7 0%, rgba(210, 231, 247, 0) 62%),
    linear-gradient(180deg, #E4F0FA 0%, #F5FAFE 100%);
}
.page-head h1 { font-size: clamp(34px, 4.4vw, 56px); }
.page-head .lead { margin-top: 16px; max-width: 640px; }
.crumbs { display: flex; gap: 8px; font-size: 12.5px; color: var(--muted); margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span { opacity: .5; }

.prose { max-width: 740px; }
.prose h2 { font-size: clamp(23px, 2.4vw, 30px); margin: 44px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--ink-soft); font-size: 16.5px; }
.prose ul { margin: 0 0 20px; padding-left: 20px; color: var(--ink-soft); }
.prose li { margin-bottom: 9px; }
.prose a { color: var(--blue-dark); }
.prose strong { color: var(--ink); }

.info-list { margin: 0; padding: 0; list-style: none; }
.info-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.info-list a { color: var(--blue-dark); text-decoration: none; font-weight: 600; }
.info-list a:hover { text-decoration: underline; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(30px, 4.6vw, 68px); align-items: start; padding-top: clamp(24px, 3vw, 44px); }
.gallery-main {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.thumbs button {
  display: block;
  width: 100%;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s linear, box-shadow .18s linear;
}
.thumbs button:hover { border-color: #BCD2DF; }
.thumbs button[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(24, 120, 184, .14); }
.thumbs img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: contain; border-radius: 9px; }
.pdp h1 { font-size: clamp(30px, 3.6vw, 44px); margin: 14px 0 12px; }
.pdp .lead { margin-bottom: 0; }
.buy-note { margin: 16px 0 0; font-size: 13px; color: var(--muted); }
.spec { width: 100%; margin: 34px 0 0; border-collapse: collapse; font-size: 14.5px; }
.spec th, .spec td { padding: 13px 0; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.spec th { width: 40%; font-weight: 700; color: var(--ink); }
.spec td { color: var(--muted); }

/* ---------- Motion ---------- */
html.reveal-ready [data-reveal] { opacity: 0; transform: translateY(20px); }
html.reveal-ready [data-reveal].in { opacity: 1; transform: none; transition: opacity .75s var(--ease), transform .75s var(--ease); }

/* ==========================================================================
   <= 860px
   ========================================================================== */
@media (max-width: 860px) {
  :root { --pad: 18px; --radius-xl: 24px; --radius-lg: 20px; }
  body { font-size: 16px; }
  h1 { font-size: clamp(31px, 8.6vw, 42px); letter-spacing: -.032em; }
  h2 { font-size: clamp(24px, 6.4vw, 32px); }
  .sec { padding: 58px 0; }
  .sec-tight { padding: 40px 0; }

  /* Nav: logo plus burger only; the menu turns into a drawer */
  .hdr-in { min-height: 62px; }
  .brand img { height: 23px; }
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: 62px 0 auto 0;
    z-index: 55;
    display: block;
    margin: 0;
    padding: 8px var(--pad) 22px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 40px -30px rgba(10, 51, 80, .5);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  body.nav-open .nav { opacity: 1; transform: none; visibility: visible; }
  .nav > a:not(.btn), .nav .m-only {
    display: block;
    padding: 15px 2px;
    font-size: 17px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav > a:not(.btn)::after { display: none; }
  .m-only { display: block; }
  .nav .btn { width: 100%; margin: 16px 0 0; }

  /* Hero: media on top, copy below */
  .hero { padding: 18px 0 52px; }
  /* 整列限宽并居中：560px 以内视口比它窄，等于满宽；再宽就定住，
     避免 "视口变宽图反而变小" 的断点跳变，也保证图与文字左边缘对齐。 */
  .hero-grid { grid-template-columns: 1fr; gap: 26px; max-width: 560px; margin-left: auto; margin-right: auto; }
  .hero-visual { order: -1; }
  .hero-media { border-radius: 22px; box-shadow: 0 30px 60px -40px rgba(10, 51, 80, .65); }
  /* max-height 会压死 aspect-ratio：视口一宽，图片就被压成超宽横幅，
     人物和牙膏管被裁掉。改成用 hero-visual 的宽度上限来控制高度，
     让 4:5 在任何宽度下都成立。 */
  .hero-media img { aspect-ratio: 4 / 5; width: 100%; height: auto; max-height: none; object-position: center 12%; }
  /* 移动端：角标不再压在图片上，改为图片下方独立一行 */
  .float-card {
    position: static;
    margin: 18px 0 0;
    max-width: 100%;
    padding: 12px 16px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--line), 0 18px 34px -30px rgba(10, 51, 80, .55);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    font-size: 12.5px;
  }
  .fc-num { font-size: 22px; }
  .hero h1 { margin: 16px 0 14px; }
  .hero .lead { font-size: 15.5px; }
  .btn-row { gap: 10px; margin-top: 24px; }
  .btn { min-height: 52px; padding: 0 22px; font-size: 15px; width: 100%; }
  .btn-row .btn { width: 100%; }
  .hero-meta { margin-top: 26px; padding-top: 18px; gap: 8px 18px; font-size: 12.5px; }

  .trust ul { grid-template-columns: 1fr 1fr; gap: 12px 16px; padding: 18px 0; }
  .trust li { justify-content: flex-start; font-size: 10px; letter-spacing: .12em; text-align: left; }

  .trio { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .trio article { display: grid; grid-template-columns: 62px 1fr; column-gap: 16px; padding: 22px 0; }
  .trio article:first-child { border-top: 0; }
  .trio .ico { width: 62px; height: 62px; margin: 0; grid-row: span 2; }
  .trio h3 { font-size: 17.5px; margin-bottom: 6px; }
  .trio p { font-size: 14.5px; }

  .showcase { grid-template-columns: 1fr; gap: 26px; }
  .showcase.flip .sc-media { order: 0; }
  .showcase + .showcase { margin-top: 54px; }
  .sc-media { padding: 14px; border-radius: 22px; }
  .sc-body h2 { margin-bottom: 10px; }
  .tags { margin-top: 18px; }
  .price-row { margin-top: 18px; }
  .price { font-size: 23px; }

  .grid-3 { grid-template-columns: 1fr; gap: 16px; }
  .pcard-img { padding: 14px 14px 0; }
  .pcard-body { padding: 16px 18px 20px; }

  /* Dark science: media becomes a banner */
  .science { padding: 56px 0; }
  .science-head { margin-bottom: 30px; }
  .sci-row { grid-template-columns: 1fr; gap: 20px; }
  .sci-row.flip .sci-media { order: 0; }
  .sci-row + .sci-row { margin-top: 44px; }
  .sci-media { border-radius: 20px; }
  .sci-media img { aspect-ratio: 16 / 9; }
  .sci-label { font-size: 26px; margin-bottom: 8px; }
  .sci-body h3 { font-size: 22px; margin-bottom: 10px; }
  .sci-body p { font-size: 15px; }
  .stats { grid-template-columns: 1fr; gap: 0; margin-top: 40px; padding-top: 6px; }
  .stats li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .stats b { font-size: 26px; flex: none; min-width: 72px; }
  .stats span { margin: 0; }

  .set-card { aspect-ratio: 4 / 3; padding: 22px; }
  .steps { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .steps article { padding: 22px 20px 24px; }
  .steps img { height: 96px; margin: 8px 0 16px; }

  .promise { grid-template-columns: 1fr; gap: 18px; padding: 28px 24px; border-radius: 22px; }
  .promise-num { font-size: 76px; }
  .promise-num span { margin-top: 10px; }

  .faq summary { font-size: 16px; padding: 19px 0; }
  .faq details p { font-size: 14.5px; }

  .cta .btn-row { flex-direction: column; }

  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 26px 20px; }
  .ftr-grid > div:first-child { grid-column: 1 / -1; }
  .ftr p { max-width: none; }
  .ftr-bottom { flex-direction: column; gap: 6px; }

  .pdp { grid-template-columns: 1fr; gap: 24px; }
  .thumbs { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .pdp h1 { margin-top: 6px; }
  .spec { font-size: 14px; }
}

/* ---------- GEO: answer block, comparison table, references ---------- */
.keyfacts {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-1);
}
.kf-h { font-size: clamp(22px, 2.4vw, 30px); margin-bottom: 4px; }
.kf-sub { margin: 0 0 18px; font-size: 15px; color: var(--muted); }
.keyfacts ul { margin: 0; padding: 0; list-style: none; }
.keyfacts li {
  position: relative;
  padding: 13px 0 13px 24px;
  border-top: 1px solid var(--line-soft);
  font-size: 16px;
  color: var(--ink-soft);
}
.keyfacts li::before {
  content: "";
  position: absolute;
  left: 2px; top: 1.32em;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--blue);
}
.keyfacts b { color: var(--ink); font-weight: 700; }
.kf-note { margin: 18px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); }

.cmp-wrap {
  margin-top: 26px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
.cmp { width: 100%; min-width: 660px; border-collapse: collapse; font-size: 14.5px; }
.cmp thead th {
  background: var(--sky);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 16px;
  vertical-align: bottom;
}
.cmp thead th.is-brand { background: var(--blue); color: #fff; }
.cmp tbody th {
  width: 17%;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--line-soft);
}
.cmp tbody td {
  padding: 14px 16px;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  vertical-align: top;
}
.cmp tbody td.is-brand { color: var(--ink); background: rgba(24, 120, 184, .05); font-weight: 600; }
.cmp-note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.cmp-note a { color: var(--blue-dark); }

.refs { margin: 22px 0 0; padding: 0 0 0 20px; color: var(--muted); font-size: 13.5px; line-height: 1.75; }
.refs li { margin-bottom: 9px; }
.refs a { color: var(--blue-dark); text-decoration: underline; text-underline-offset: 2px; }

.ftr-h {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 4px 0 14px;
}
.byline { margin: 0 0 18px; font-size: 12.5px; letter-spacing: .02em; color: var(--muted); }
.updated { display: block; margin-top: 4px; }

@media (max-width: 860px) {
  .keyfacts { padding: 22px 18px; }
  .keyfacts li { font-size: 15px; }
  .cmp { font-size: 13.5px; min-width: 620px; }
  .cmp thead th, .cmp tbody th, .cmp tbody td { padding: 12px 13px; }
}

.cmp-hint { display: none; }
@media (max-width: 860px) {
  .cmp-hint { display: block; margin: 14px 0 -6px; font-size: 12.5px; color: var(--muted); }
}

/* ---------- Routine set price breakdown ---------- */
.trio .t-price {
  margin-top: 13px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  color: var(--ink);
}
.trio .t-price span {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--muted);
}
.trio-total {
  max-width: 720px;
  margin: clamp(26px, 3vw, 40px) 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}
.trio-total b { color: var(--ink); font-weight: 700; }


/* ---------- Formula variants (Safe Whitening) — 可选择 ---------- */
.variants {
  margin: 18px 0 6px;
  border: 0;
  padding: 0;
  min-width: 0;
}
.v-label {
  padding: 0;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.v-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.v-card {
  position: relative;
  display: block;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.v-card:hover { border-color: var(--blue); }
.v-card.is-selected {
  border-color: var(--blue);
  background: var(--sky);
  box-shadow: 0 0 0 3px rgba(24, 120, 184, .12);
}
/* 选中勾选圈 */
.v-card::after {
  content: "";
  position: absolute;
  top: 13px;
  right: 14px;
  width: 18px;
  height: 18px;
  border: 1.5px solid #C9D9E6;
  border-radius: 50%;
  background: #fff;
  transition: background .16s ease, border-color .16s ease;
}
.v-card.is-selected::after {
  border-color: var(--blue);
  background: var(--blue) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/11px no-repeat;
}
/* 键盘可达：radio 视觉隐藏但保留焦点 */
.v-radio {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}
.v-card:focus-within {
  outline: 2px solid var(--blue-dark);
  outline-offset: 3px;
}
.v-card b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  padding-right: 26px;
}
.v-card .v-price {
  display: block;
  margin: 4px 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--blue-dark);
}
.v-card small {
  display: block;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}
.v-note {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--muted);
}
@media (max-width: 480px) {
  .v-row { grid-template-columns: 1fr; }
  .v-card { padding: 12px 14px; }
}

/* ---------- 中等宽度（手机横屏 / 小平板）的 hero ----------
   竖构图产品图塞进宽容器只有两种结果：要么被裁掉主体，要么两侧留白。
   这里选后者：hero-grid 在 ≤860px 统一定宽 560 并居中（见上面主规则），
   4:5 比例始终成立，牙膏管和人物都不会被裁。超过 860px 走桌面两栏，不受影响。 */

/* ---------- 极窄屏顶部促销条 ----------
   原文案 44 个字符，360px 下会折成两行、把 header 撑高 20px。 */
@media (max-width: 400px) {
  .topbar {
    font-size: 10px;
    letter-spacing: .06em;
    padding: 8px 12px;
  }
}
