/* Bath-o-nomics — mobile-first styles. Flat colours only, no gradients. */

/* Fraunces 600 (opsz 72, roman + italic) and Jost 400–500 from Google Fonts, self-hosted in
   /assets/fonts (SIL Open Font License, see OFL-*.txt there). Only latin + latin-ext subsets. */
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/fraunces-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 600; font-display: swap;
  src: url("../fonts/fraunces-600-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/fraunces-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces"; font-style: italic; font-weight: 600; font-display: swap;
  src: url("../fonts/fraunces-600-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Metric-matched local fallbacks so text doesn't jump when the web fonts arrive.
   Recompute these if the font families, weights or optical size change. */
@font-face {
  font-family: "Jost Fallback";
  src: local("Arial"), local("ArialMT"), local("Roboto");
  size-adjust: 96.06%; ascent-override: 111.38%; descent-override: 39.04%; line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  font-weight: 600; font-style: normal;
  src: local("Georgia Bold"), local("Georgia-Bold");
  size-adjust: 84.87%; ascent-override: 115.23%; descent-override: 30.04%; line-gap-override: 0%;
}
@font-face {
  font-family: "Fraunces Fallback";
  font-weight: 600; font-style: italic;
  src: local("Georgia Bold Italic"), local("Georgia-BoldItalic");
  size-adjust: 81.59%; ascent-override: 119.87%; descent-override: 31.25%; line-gap-override: 0%;
}

:root {
  /* Bath-o-nomics palette. All text pairings meet WCAG AA (4.5:1). */
  --deep: #0E3A5B;          /* deep water: headings, header, footer, logo text */
  --aqua: #2BB3C0;          /* accent only: never text on white (2.5:1); fine on deep water (4.7:1) */
  --teal: #0B7682;          /* buttons, links, active states (white text 5.4:1) */
  --teal-hover: #0A6B76;
  --white: #FFFFFF;         /* page background */
  --mist: #EEF6F7;          /* alternate sections, cards */
  --text: #33515F;          /* body copy (8.5:1 on white) */
  --muted: #4A5A66;         /* captions, helper text (6.5:1 on mist) */
  --on-dark-soft: #B7E6EB;  /* secondary text on deep water (8.7:1) */
  --marigold: #F2A93B;      /* offers only, always with deep-water text (5.9:1) */
  --error: #B42318;
  --line: #D9E5E8;          /* borders and dividers only */
  --line-strong: #B5CBD2;
  --line-on-dark: rgba(255, 255, 255, .16);
  --header-h: 68px;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font-head: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Jost", "Jost Fallback", "Segoe UI", system-ui, -apple-system, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: 32px; --header-h: 76px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 {
  font-family: var(--font-head); font-weight: 600; color: var(--deep);
  margin: 0 0 .5em; letter-spacing: -.015em; text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 1.6rem + 5.2vw, 5.25rem); line-height: 1.02; letter-spacing: -.03em; }
h2 { font-size: clamp(2.125rem, 1.5rem + 2.8vw, 3.5rem); line-height: 1.06; letter-spacing: -.025em; }
h3 { font-size: 1.375rem; line-height: 1.25; }
h1 em, h2 em { font-style: italic; color: var(--teal); }
p { margin: 0 0 1em; }
a { color: var(--teal); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-hover); }
strong { font-weight: 500; }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--deep); color: var(--white); padding: 10px 16px; border-radius: 4px;
}
.skip-link:focus { top: 12px; color: var(--white); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Clearly marked placeholders — remove the class once real content is in. */
.ph {
  background: #FFF3C4; color: #4A3D00; border: 1px dashed #C9A400;
  border-radius: 4px; padding: 0 .3em; font-family: var(--font-body); font-style: normal;
  font-size: max(.8em, 1rem); font-weight: 500; letter-spacing: 0; text-transform: none;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; scroll-margin-top: var(--header-h); }
@media (min-width: 900px) { .section { padding: 136px 0; } }
.section--mist { background: var(--mist); }

.section__head { max-width: 34rem; margin-bottom: 48px; }
.section__head > p:not(.eyebrow) { color: var(--muted); font-size: 1.125rem; }
.section__head--center { margin-inline: auto; text-align: center; }
@media (min-width: 900px) { .section__head { margin-bottom: 72px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 20px;
  font-size: .78rem; font-weight: 500; line-height: 1.4; letter-spacing: .2em; text-transform: uppercase;
  color: var(--deep);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }
.section__head--center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; flex: none; }

/* Editorial two-column layout with a sticky heading */
.split { display: grid; gap: 8px; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; gap: 96px; align-items: start; }
  .split__aside { position: sticky; top: calc(var(--header-h) + 48px); margin-bottom: 0; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 14px 32px; border-radius: 999px; border: 1px solid transparent;
  font: 500 .8125rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-hover); color: var(--white); }
.btn--outline { background: transparent; color: var(--deep); border-color: var(--deep); }
.btn--outline:hover { background: var(--deep); color: var(--white); }
.btn--offer { background: var(--marigold); color: var(--deep); }
.btn--offer:hover { background: #E59A2F; color: var(--deep); }
.btn--sm { min-height: 44px; padding: 10px 20px; font-size: .75rem; letter-spacing: .14em; white-space: nowrap; }
.btn--block { width: 100%; }

/* Announcement bar */
.announce { background: var(--teal); color: var(--white); text-align: center; }
.announce p {
  margin: 0; padding-block: 9px; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.5;
}
.announce a { color: var(--white); }
.announce a:hover { color: var(--white); text-decoration-thickness: 2px; }
.announce :focus-visible { outline-color: var(--white); }
@media (max-width: 599px) { .announce__more { display: none; } }

/* Header: menu left, brand centred, Preorder right (deep water, white text) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--deep); color: var(--white);
}
.site-header :focus-visible { outline-color: var(--white); }
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px;
  min-height: var(--header-h);
}
.brand { grid-column: 2; display: inline-flex; align-items: center; text-decoration: none; }
.brand__logo { width: auto; height: 20px; }
.brand__icon { display: none; width: 34px; height: 34px; }
.site-header__actions { grid-column: 3; justify-self: end; }
.nav-toggle {
  grid-column: 1; justify-self: start; grid-row: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-left: -10px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--white); cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--white); text-decoration: none; }

/* Very narrow screens: the drop icon replaces the wordmark */
@media (max-width: 359px) {
  .brand__logo { display: none; }
  .brand__icon { display: block; }
}
@media (max-width: 899px) {
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--deep); border-top: 1px solid var(--line-on-dark);
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { padding: 8px var(--gutter) 24px; }
  .site-nav a {
    display: block; padding: 16px 0; border-bottom: 1px solid var(--line-on-dark);
    font-family: var(--font-head); font-weight: 600; font-size: 1.5rem; line-height: 1.2;
  }
  .site-nav li:last-child a { border-bottom: 0; }
  .site-nav a:hover { color: var(--on-dark-soft); }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { grid-column: 1; grid-row: 1; justify-self: start; }
  .site-nav ul { display: flex; gap: 36px; }
  .site-nav a {
    position: relative; display: inline-block; padding: 10px 0; white-space: nowrap;
    font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  }
  .site-nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
  }
  .site-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .brand__logo { height: 26px; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .site-nav ul { gap: 18px; }
  .site-nav a { letter-spacing: .08em; }
}

/* Hero */
.hero { padding: 40px 0 0; overflow: hidden; }
.hero__grid { display: grid; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero__lead { font-size: 1.1875rem; line-height: 1.65; color: var(--muted); max-width: 30em; margin-bottom: 36px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 220px; }
.hero__ctas .hero__survey { flex-basis: 100%; }
.hero__media { position: relative; width: 100%; max-width: 440px; margin: 0 auto; padding: 12px 12px 0; }
.hero__media::before {
  content: ""; position: absolute; inset: 0; border: 1px solid var(--line);
  border-radius: 50% 50% 0 0 / 39% 39% 0 0; border-bottom: 0;
}
.arch { position: relative; overflow: hidden; border-radius: 50% 50% 0 0 / 40% 40% 0 0; background: var(--mist); }
.arch img { width: 100%; }
.hero__badge {
  position: absolute; left: 0; bottom: 40px; margin: 0;
  display: grid; gap: 2px; padding: 14px 20px;
  background: var(--white); border: 1px solid var(--line);
  font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5;
}
.hero__badge em {
  font-family: var(--font-head); font-weight: 600; font-style: italic; font-size: 1.2rem;
  letter-spacing: 0; text-transform: none; color: var(--teal); margin-right: 4px;
}
.facts {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid; border-top: 1px solid var(--line);
}
.facts li {
  display: flex; align-items: center; gap: 14px; padding: 18px 0;
  font-size: .8rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.facts svg {
  width: 22px; height: 22px; flex: none; fill: none; stroke: var(--deep);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round;
}
@media (min-width: 700px) {
  .facts { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .facts li { justify-content: center; padding: 26px 12px; border-bottom: 0; }
  .facts li + li { border-left: 1px solid var(--line); }
}
@media (min-width: 900px) {
  .hero { padding-top: 64px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  /* Shrink-wrap the two buttons so the survey button above spans exactly their width. */
  .hero__ctas { display: grid; grid-template-columns: auto auto; width: max-content; max-width: 100%; }
  .hero__ctas .hero__survey { grid-column: 1 / -1; }
  .hero__media { max-width: 520px; margin-right: 0; padding: 16px 16px 0; }
  .hero__badge { left: -36px; bottom: 64px; padding: 18px 24px; }
  .facts { margin-top: 96px; }
}

/* Thin-line icons in a ring */
.icon-ring {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); color: var(--deep);
}
.icon-ring svg, .step__icon svg {
  width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Problem */
.concerns { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.concern {
  display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--line);
}
.concern h3 { margin-bottom: 6px; }
.concern p { margin: 0; color: var(--muted); }
@media (min-width: 640px) {
  .concerns { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .concern { display: block; padding: 40px 0; }
  .concern .icon-ring { margin-bottom: 24px; }
}

/* Why it works — hard-water diagrams */
.section--white { background: var(--white); border-block: 1px solid var(--line); }
.compare { display: grid; gap: 20px; }
.compare__pane { padding: 28px 24px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; }
.compare__pane--soft { background: var(--mist); border-color: var(--line); }
.compare__pane h3 { margin-bottom: 8px; }
.compare__pane p { margin: 0; color: var(--muted); }
.diagram { width: 100%; max-width: 380px; height: auto; margin: 0 0 24px; overflow: visible; }
.diagram text { font-family: var(--font-body); font-size: 14px; font-weight: 500; fill: var(--text); text-anchor: middle; }
.diagram .diagram__op { font-size: 22px; font-weight: 400; }
.diagram .diagram__note { font-size: 13px; fill: var(--muted); }
.diagram .ion, .diagram .soap { fill: var(--white); stroke: var(--text); stroke-width: 1.2; }
.diagram .scum { fill: var(--line-strong); stroke: var(--text); stroke-width: 1.2; }
.diagram .hold { fill: none; stroke: var(--deep); stroke-width: 1.4; stroke-dasharray: 5 4; }
.diagram .foam { fill: var(--white); stroke: var(--deep); stroke-width: 1.2; }
@media (min-width: 800px) {
  .compare { grid-template-columns: 1fr 1fr; gap: 24px; }
  .compare__pane { padding: 40px; }
}

/* A bath at pH 6.5 — pH scale and the two at-home checks */
.acidity { display: grid; gap: 8px; }
.acidity .section__head { margin-bottom: 0; }
.litmus { padding: 44px 0 52px; }
.litmus__ticks {
  display: flex; justify-content: space-between; margin: 0 -1ch 10px;
  font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums;
}
.litmus__ticks span { width: 2ch; text-align: center; }
.litmus__track { position: relative; }
.litmus__bar { display: grid; grid-template-columns: repeat(6, 1fr); height: 24px; border-radius: 999px; overflow: hidden; }
.litmus__bar span:nth-child(1) { background: #C8443A; }
.litmus__bar span:nth-child(2) { background: #D9733A; }
.litmus__bar span:nth-child(3) { background: #D8B23F; }
.litmus__bar span:nth-child(4) { background: #7FB06A; }
.litmus__bar span:nth-child(5) { background: #3D8F8A; }
.litmus__bar span:nth-child(6) { background: #3A6FC8; }
.litmus__mark {
  position: absolute; display: flex; flex-direction: column; align-items: center; margin: 0;
  transform: translateX(-50%); white-space: nowrap; font-size: .9rem; font-weight: 500; line-height: 1.3;
}
.litmus__mark::after { content: ""; width: 2px; background: currentColor; }
.litmus__mark--sn { bottom: 100%; left: 41.667%; color: var(--teal); } /* pH 6.5 on a 4–10 scale */
.litmus__mark--sn::after { height: 40px; margin-top: 4px; }
.litmus__mark--tap { top: 100%; left: 63.333%; flex-direction: column-reverse; color: var(--muted); } /* pH 7.8 */
.litmus__mark--tap::after { height: 18px; margin-bottom: 4px; }
.checks { list-style: none; margin: 56px 0 0; padding: 0; display: grid; gap: 32px; }
.checks li { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.checks h3 { margin-bottom: 6px; }
.checks p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .checks { grid-template-columns: 1fr 1fr; gap: 48px; } }
.checks__note { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); max-width: 46rem; color: var(--muted); }
@media (min-width: 900px) {
  .acidity { grid-template-columns: 5fr 7fr; gap: 96px; align-items: center; }
  .checks { margin-top: 80px; }
}

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.step { padding: 36px 0; border-bottom: 1px solid var(--line); }
.step__num {
  display: block; margin-bottom: 20px;
  font-family: var(--font-head); font-weight: 600; font-style: italic; font-size: 3.5rem; line-height: 1;
  color: var(--deep); letter-spacing: -.02em;
}
.step__icon { display: block; margin-bottom: 18px; color: var(--teal); }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }
.steps__note { margin: 40px auto 0; text-align: center; color: var(--muted); }
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); border-top: 0; }
  .step { padding: 8px 40px 8px; border-bottom: 0; border-left: 1px solid var(--line); }
  .step:first-child { border-left: 0; padding-left: 0; }
  .step:last-child { padding-right: 0; }
  .step__num { font-size: 4.5rem; margin-bottom: 32px; }
}

/* Benefits */
.benefits { display: grid; gap: 40px; align-items: center; }
.benefits__visual { order: -1; width: min(240px, 66%); margin: 0 auto; }
.benefits__col { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.benefit .icon-ring { margin-bottom: 20px; color: var(--teal); }
.benefit h3 { margin-bottom: 8px; }
.benefit p { margin: 0; color: var(--muted); }
@media (min-width: 560px) and (max-width: 959px) {
  .benefits__col { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (min-width: 960px) {
  .benefits { grid-template-columns: 1fr minmax(300px, 420px) 1fr; gap: 64px; align-items: start; }
  .benefits__visual { order: 0; width: 100%; align-self: center; }
  .benefits__col { gap: 72px; }
  .benefits__col--start { text-align: right; }
  .benefits__col--start .icon-ring { margin-left: auto; }
}

/* What's inside */
.ingredients { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ingredient {
  display: grid; grid-template-columns: 56px 1fr; gap: 16px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
}
.ingredient__num {
  font-family: var(--font-head); font-weight: 600; font-style: italic; font-size: 1.5rem; line-height: 1.15;
  color: var(--teal);
}
.ingredient h3 { margin-bottom: 8px; }
.ingredient p { margin: 0; color: var(--muted); }
.ingredient .ingredient__meta {
  margin: 0 0 10px; font-size: .75rem; font-weight: 500; letter-spacing: .16em; color: var(--deep);
}
@media (min-width: 640px) {
  .ingredient { grid-template-columns: 96px 1fr; padding: 40px 0; }
  .ingredient__num { font-size: 2rem; }
}

/* Pricing */
.packs { display: grid; gap: 20px; max-width: 440px; margin-inline: auto; }
@media (min-width: 960px) { .packs { grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; } }
.pack {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  transition: border-color .3s var(--ease), transform .4s var(--ease);
}
.pack:hover { border-color: var(--line-strong); }
.pack--featured, .pack--featured:hover { border: 2px solid var(--teal); }
.pack--featured .pack__label { color: var(--teal); font-weight: 600; }
.pack__visual { display: grid; place-items: center; padding: 36px 0; background: var(--mist); }
.pack__visual img { width: 96px; height: auto; transition: transform .6s var(--ease); }
.pack__body { display: flex; flex-direction: column; flex: 1; padding: 28px; text-align: center; }
.pack__label {
  margin: 0 0 10px; font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--deep);
}
.pack h3 { margin-bottom: 6px; }
.pack__size { color: var(--muted); margin: 0 0 20px; }
.pack__price {
  margin: 0 0 4px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--font-head); font-weight: 600; font-size: 2.25rem; line-height: 1.2;
}
.pack__price .ph { font-size: 1rem; vertical-align: middle; }
.pack__unit { margin: 0 0 28px; color: var(--muted); }
.pack .btn { margin-top: auto; padding-inline: 16px; }
@media (min-width: 600px) and (max-width: 959px) {
  .packs { max-width: 680px; }
  .pack { flex-direction: row; }
  .pack__visual { flex: 0 0 38%; padding: 28px 0; }
  .pack__body { text-align: left; padding: 32px; }
  .pack__unit { margin-bottom: 24px; }
}
.pricing__note { margin: 40px auto 0; max-width: 46rem; text-align: center; color: var(--muted); font-size: .975rem; }
@media (prefers-reduced-motion: no-preference) {
  .pack:hover .pack__visual img { transform: translateY(-6px) rotate(-3deg); }
}

/* Free test kit */
.kit { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 40px; max-width: 980px; }
.kit__item { text-align: center; }
.kit__item .icon-ring { margin-bottom: 20px; color: var(--teal); }
.kit__item h3 { margin-bottom: 8px; }
.kit__item p { margin: 0; color: var(--muted); }
@media (min-width: 800px) { .kit { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.kit__ctas { display: flex; justify-content: center; margin-top: 56px; }
.kit__note { margin: 20px 0 0; text-align: center; color: var(--muted); }

/* Survey call-to-action band */
.survey-cta .section__head { margin-bottom: 0; }
.survey-cta .btn { margin-top: 12px; }

/* Founder note — deep-water section */
.section--deep { background: var(--deep); color: var(--white); }
.section--deep h2 { color: var(--white); }
.section--deep h2 em { color: var(--aqua); }
.section--deep .eyebrow { color: var(--on-dark-soft); }
.section--deep :focus-visible { outline-color: var(--white); }
.founder { display: grid; gap: 48px; align-items: center; }
.founder__photo { width: 100%; max-width: 360px; }
.founder__quote { position: relative; margin: 8px 0 32px; }
.founder__quote::before {
  content: "\201C"; display: block; height: .45em; margin-bottom: 12px;
  font-family: var(--font-head); font-weight: 600; font-size: 6rem; line-height: 1; color: var(--aqua);
}
.founder__quote p { color: var(--on-dark-soft); }
.founder__quote p:first-child {
  color: var(--white); font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); line-height: 1.35; letter-spacing: -.01em;
}
.founder__sign { margin: 0; font-family: var(--font-head); font-weight: 600; font-style: italic; font-size: 2rem; line-height: 1.2; }
.founder__role { margin: 4px 0 0; color: var(--on-dark-soft); font-size: .75rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; }
@media (min-width: 700px) {
  .founder { grid-template-columns: minmax(220px, 280px) 1fr; gap: 56px; }
  .founder__photo { max-width: none; }
}
@media (min-width: 900px) {
  .founder { grid-template-columns: minmax(280px, 420px) 1fr; gap: 112px; }
}

/* FAQ */
.split__aside .btn { margin-top: 8px; }
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; line-height: 1.35; letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal); }
.faq__icon {
  position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line-strong); transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px;
  background: var(--deep); transform: translate(-50%, -50%);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s var(--ease); }
.faq details[open] .faq__icon { background: var(--deep); border-color: var(--deep); }
.faq details[open] .faq__icon::before { background: var(--white); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); background: var(--white); }
.faq__body { padding: 0 60px 28px 0; color: var(--muted); }
.faq__body p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .faq summary { padding: 28px 0; font-size: 1.375rem; } }

/* Footer — deep water, aqua links */
.site-footer { background: var(--deep); color: var(--white); padding: 72px 0 32px; font-size: .975rem; }
.site-footer :focus-visible { outline-color: var(--white); }
.footer__grid { display: grid; gap: 40px; }
.footer__logo { display: inline-block; padding: 6px 0; }
.footer__logo img { width: 240px; height: auto; }
.footer__tagline { color: var(--on-dark-soft); margin: 16px 0 0; }
#contact { scroll-margin-top: calc(var(--header-h) + 24px); }
.site-footer h2 {
  margin-bottom: 14px; font-family: var(--font-body); font-weight: 500; font-size: .75rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark-soft);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: 8px 0; color: var(--aqua); text-decoration: none; }
.site-footer li a:hover { color: var(--white); text-decoration: underline; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-on-dark); color: var(--on-dark-soft); font-size: .875rem;
}
.footer__bottom p { margin: 0; }
@media (min-width: 560px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .site-footer { padding-top: 96px; } .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* Policy / simple pages */
.page { padding: 56px 0 96px; }
.prose { max-width: 760px; }
.prose h1 { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); margin-bottom: 16px; }
.prose h2 { font-size: 1.625rem; margin-top: 2em; }
.prose h3 { font-size: 1.1875rem; margin-top: 1.5em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose .updated {
  color: var(--muted); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid var(--line);
}
.notice {
  background: var(--mist); border-left: 2px solid var(--teal); border-radius: 0 8px 8px 0;
  padding: 16px 20px; margin: 0 0 28px; color: var(--text);
}
@media (min-width: 900px) { .page { padding: 96px 0 136px; } }

/* Survey form */
.survey-intro { max-width: 760px; margin-bottom: 40px; }
.survey-intro h1 { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); margin-bottom: 20px; }
.survey-intro__lead { font-size: 1.1875rem; line-height: 1.65; color: var(--muted); }
.survey-intro__note { margin: 0; color: var(--muted); }
.survey { max-width: 760px; display: grid; gap: 16px; counter-reset: q; }
.survey__hp { display: none; }
.q {
  min-width: 0; margin: 0; padding: 24px 20px 28px; background: var(--white); border: 1px solid var(--line); border-radius: 20px;
  counter-increment: q; scroll-margin-top: calc(var(--header-h) + 16px);
}
.q legend, .q__title {
  display: block; padding: 0; margin: 0 0 18px;
  font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; line-height: 1.3; letter-spacing: -.01em; color: var(--deep);
}
.q legend { float: left; width: 100%; } /* keeps the legend inside the card's padding */
.q legend ~ * { clear: both; }
.q__num { display: block; margin-bottom: 4px; font-style: italic; font-size: 1rem; color: var(--teal); }
.q__num::before { content: counter(q, decimal-leading-zero); } /* hidden questions aren't counted */
.field__opt { font-family: var(--font-body); font-weight: 400; font-size: .95rem; letter-spacing: 0; color: var(--muted); }
.q__hint { margin: -6px 0 18px; color: var(--muted); font-size: .975rem; }
.q__hint--after { margin: 16px 0 0; }
.q__fields { display: grid; gap: 16px; }
.field { display: block; font-weight: 500; font-size: .975rem; }
.field input, .field select, .q textarea {
  display: block; width: 100%; min-height: 52px; margin-top: 8px; padding: 12px 16px;
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--text);
  background: var(--mist); border: 1px solid var(--line-strong); border-radius: 12px;
}
.q textarea { min-height: 128px; resize: vertical; }
.field input:user-invalid, .field select:user-invalid { border-color: var(--error); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip > span {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px;
  background: var(--mist); border: 1px solid var(--line-strong); border-radius: 999px; font-size: 1rem; line-height: 1.3;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.chip > span::before { content: ""; flex: none; width: 16px; height: 16px; background: var(--white); border: 1px solid currentColor; }
.chip input[type="radio"] + span::before { border-radius: 50%; }
.chip input[type="checkbox"] + span::before { border-radius: 4px; }
.chip:hover > span { border-color: var(--teal); }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--white); }
.chip input[type="radio"]:checked + span::before { background: var(--teal); box-shadow: inset 0 0 0 4px var(--white); }
.chip input[type="checkbox"]:checked + span::before {
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3l2.3 2.3 4.7-5' fill='none' stroke='%230B7682' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.chip input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 3px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--teal); cursor: pointer; }
.survey__submit { display: grid; gap: 16px; justify-items: start; margin-top: 16px; }
.survey__submit p { margin: 0; color: var(--muted); font-size: .975rem; }
.survey__submit .btn[disabled] { opacity: .7; cursor: progress; }
.q.is-invalid { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.q__error { margin: -6px 0 16px; color: var(--error); font-weight: 500; font-size: .975rem; }
.survey__error {
  display: grid; gap: 12px; justify-items: start; width: 100%; padding: 16px 20px;
  background: #FDECEA; border: 1px solid var(--error); border-radius: 12px;
}
.survey__submit .survey__error p { color: var(--error); font-weight: 500; }
/* 1–5 rating row */
.scale { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.scale .chip > span { width: 100%; min-height: 48px; justify-content: center; padding: 10px 0; font-weight: 500; }
.scale .chip > span::before { content: none; }
.scale__ends { display: flex; justify-content: space-between; max-width: 420px; margin-top: 8px; color: var(--muted); font-size: .95rem; }
/* Product reveal, just before the product questions */
.survey-reveal { margin-top: 24px; padding: 28px 20px; background: var(--mist); border: 1px solid var(--line); border-radius: 20px; }
.survey-reveal h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); margin-bottom: 12px; }
.survey-reveal p { margin: 0; font-size: 1.0625rem; }
.survey-reveal p + p { margin-top: 12px; }
.survey-done { max-width: 760px; }
.survey-done h2 { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); margin-bottom: 20px; }
.survey-done h2:focus:not(:focus-visible) { outline: none; }
.survey-thanks__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (min-width: 600px) {
  .q, .survey-reveal { padding: 32px 36px 36px; }
  .q__fields { grid-template-columns: 1fr 1fr; }
}

/* Gentle reveal on scroll (added by JS only for content below the fold) */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .reveal.is-revealed { opacity: 1; transform: none; }
  .concern.reveal:nth-child(2), .step.reveal:nth-child(2), .pack.reveal:nth-child(2),
  .benefit.reveal:nth-child(2), .ingredient.reveal:nth-child(2), .compare__pane.reveal:nth-child(2),
  .checks .reveal:nth-child(2) { transition-delay: .1s; }
  .concern.reveal:nth-child(3), .step.reveal:nth-child(3), .pack.reveal:nth-child(3),
  .ingredient.reveal:nth-child(3) { transition-delay: .2s; }
  .concern.reveal:nth-child(4) { transition-delay: .3s; }
}
@media print { .reveal { opacity: 1 !important; transform: none !important; } }
