/* ===========================================================================
   Vitara Skincare

   A multi-hue system, not a single ramp. One primary carries the brand
   (identity, CTAs, dark surfaces); four accents each own a category so the
   colour means something wherever it appears:

     sage     botanical, vegan, sustainability
     azure    hydration, water, clinical calm
     apricot  radiance, vitamin C, warmth
     blush    barrier, sensitivity, comfort

   Every accent -600 clears 4.5:1 on white, so any of them is safe for label
   text as well as for tints and icon chips.
   =========================================================================== */

:root {
  /* Primary: plum through deep aubergine */
  --brand-50: #faf5f8;
  --brand-100: #f3e8ef;
  --brand-200: #e5cddd;
  --brand-300: #cfa7c2;
  --brand-400: #b07ba1;
  --brand-500: #8f5680;
  --brand-600: #743f66;
  --brand-700: #5e3253;
  --brand-800: #4a2742;
  --brand-900: #3a1e34;
  --brand-950: #251320;

  --sage-50: #f3f7f1;
  --sage-100: #e5eee1;
  --sage-200: #c8dcc0;
  --sage-300: #a1c194;
  --sage-400: #78a067;
  --sage-500: #57804a;
  --sage-600: #44673a;
  --sage-700: #35512d;

  --azure-50: #f0f7fa;
  --azure-100: #ddeef4;
  --azure-200: #b8dbe8;
  --azure-300: #88c0d6;
  --azure-400: #559fbc;
  --azure-500: #35809f;
  --azure-600: #286784;
  --azure-700: #1f5169;

  --apricot-50: #fdf6ec;
  --apricot-100: #faead2;
  --apricot-200: #f2d5a4;
  --apricot-300: #e5b76b;
  --apricot-400: #d29a3f;
  --apricot-500: #b07c28;
  --apricot-600: #8f6219;
  --apricot-700: #714d13;

  --blush-50: #fdf3f1;
  --blush-100: #fae4e0;
  --blush-200: #f3c8c0;
  --blush-300: #e6a094;
  --blush-400: #d4776a;
  --blush-500: #b85949;
  --blush-600: #9c4638;
  --blush-700: #7d382d;

  /* Text: warm stone with a plum cast */
  --ink: #241d22;
  --ink-soft: #4c434a;
  --ink-muted: #6f6570;

  /* Surfaces */
  --canvas: #f6f2f4;
  --surface: #ffffff;
  --surface-soft: #faf7f8;
  --surface-tint: #f3ecf0;

  --line: #ece4e8;
  --line-strong: #dbcfd6;

  --star: #d29a3f;

  /* Radii — a real hierarchy, not max rounding everywhere */
  --r-xs: 0.375rem;
  --r-sm: 0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.25rem;
  --r-2xl: 1.75rem;

  --shadow-card: 0 1px 2px rgb(36 29 34 / 0.04), 0 8px 24px -12px rgb(36 29 34 / 0.1);
  --shadow-lift: 0 2px 4px rgb(36 29 34 / 0.05), 0 18px 40px -18px rgb(36 29 34 / 0.18);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --fade: cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: "Playfair Display", ui-serif, Georgia, serif;
  --font-sans: "Manrope", ui-sans-serif, system-ui, sans-serif;

  --gutter: 1rem;
  --maxw: 75rem;
}

@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
}
@media (min-width: 1024px) {
  :root { --gutter: 2rem; }
}

/* --------------------------------------------------------------------- base */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background-color: var(--surface);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Playfair is a high-contrast display serif with no optical-size axis, so the
   tuning here is tracking: tight at display sizes, near-normal at the small
   subheadings where its thin strokes need the breathing room. */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.004em;
  text-wrap: balance;
}
h1 { letter-spacing: -0.022em; line-height: 1.1; }
h2 { letter-spacing: -0.015em; line-height: 1.15; }

p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

/* One consistent, high-contrast focus treatment across the whole site. */
:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: var(--r-xs);
}
.on-dark :focus-visible { outline-color: var(--brand-200); }

::selection { background-color: var(--brand-200); color: var(--brand-950); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem; top: 1rem;
  padding: 0.625rem 1rem;
  background: var(--brand-800);
  color: #fff;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 600;
}

.art-defs { position: absolute; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* --------------------------------------------------------------- animation */

.page-enter { animation: page-enter 380ms var(--ease) both; }

@keyframes page-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.enter { animation: enter-up 640ms var(--ease) both; }
.enter-1 { animation-delay: 60ms; }
.enter-2 { animation-delay: 140ms; }
.enter-3 { animation-delay: 220ms; }
.enter-4 { animation-delay: 300ms; }
.enter-5 { animation-delay: 380ms; }

@keyframes enter-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* Scroll reveal, driven entirely by scroll position — no observers, no
   main-thread work. Browsers without scroll-driven animations simply show
   the content, which is the correct fallback. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal-in linear both;
      animation-timeline: view();
      animation-range: entry 4% cover 20%;
    }
  }
}

@keyframes reveal-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* Botanicals drift very slightly, so the hero is never completely still. */
@media (prefers-reduced-motion: no-preference) {
  .float-slow { animation: float-slow 8s ease-in-out infinite; }
  .float-slower { animation: float-slow 11s ease-in-out infinite; animation-delay: -4s; }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* interpolate-size is what makes an auto height animatable; where it is
   unsupported the panel simply opens instantly. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  details::details-content {
    block-size: 0;
    overflow: hidden;
    transition: block-size 320ms var(--ease), content-visibility 320ms allow-discrete;
  }
  details[open]::details-content { block-size: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 200ms, border-color 200ms;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 12px -6px rgb(36 29 34 / 0.25);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4.5rem;
}
@media (min-width: 768px) { .header-row { height: 5rem; } }

.logo { display: inline-flex; align-items: center; gap: 0.625rem; border-radius: var(--r-md); }
.logo-mark { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  color: var(--ink);
}
@media (min-width: 640px) { .logo-name { font-size: 1.5rem; } }
.logo-sub {
  margin-top: 0.25rem;
  font-size: 0.5rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.42em;
  color: var(--ink-muted);
}

.primary-nav { display: none; }
@media (min-width: 1024px) { .primary-nav { display: block; } }
.primary-nav ul { display: flex; align-items: center; gap: 2rem; }

/* The header persists across navigation, so a link switching to semibold
   would nudge its neighbours. `::after` reserves the bold width up front. */
.nav-link {
  position: relative;
  display: inline-block;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--r-sm);
  transition: color 200ms;
}
.nav-link::after {
  content: attr(data-label);
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 600;
  pointer-events: none;
}
.nav-link:hover { color: var(--brand-700); }
.nav-link::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.375rem;
  height: 2px;
  border-radius: 999px;
  background-color: var(--brand-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}
.nav-link:hover::before { transform: scaleX(1); }
.nav-link[aria-current="page"] {
  font-weight: 600;
  color: var(--brand-800);
}
.nav-link[aria-current="page"]::before { display: none; }
.nav-active-bar {
  position: absolute;
  left: 0;
  bottom: -0.375rem;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-600);
}

.header-actions { display: flex; align-items: center; gap: 0.25rem; }
@media (min-width: 640px) { .header-actions { gap: 0.5rem; } }

.icon-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem; height: 2.5rem;
  border: 0;
  background: transparent;
  border-radius: 999px;
  color: var(--ink-soft);
  cursor: pointer;
  transition: background-color 200ms, color 200ms;
}
.icon-button:hover { background: var(--brand-50); color: var(--brand-700); }
.icon-button svg { width: 1.25rem; height: 1.25rem; }
.icon-button.is-burger { color: var(--ink); }
@media (min-width: 1024px) { .icon-button.is-burger { display: none; } }

.cart-badge {
  position: absolute;
  top: -0.125rem; right: -0.125rem;
  display: grid;
  place-items: center;
  width: 1.25rem; height: 1.25rem;
  border-radius: 999px;
  background: var(--brand-700);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.header-cta { display: none; margin-left: 0.25rem; }
@media (min-width: 640px) { .header-cta { display: block; } }

.search-panel { border-top: 1px solid var(--line); padding-block: 0.75rem; }
.search-panel[hidden] { display: none; }
.search-form { display: flex; align-items: center; gap: 0.5rem; }
.search-field { position: relative; flex: 1; }
.search-field svg {
  position: absolute;
  left: 0.875rem; top: 50%;
  transform: translateY(-50%);
  width: 1rem; height: 1rem;
  color: var(--ink-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  height: 2.75rem;
  padding: 0 1rem 0 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface-soft);
  font: inherit;
  font-size: 0.875rem;
  color: var(--ink);
}
.search-input:focus { border-color: var(--brand-400); background: var(--surface); }

/* Mobile menu — native <dialog> for the focus trap, Esc and inert page. */
.menu-dialog {
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  width: min(21rem, 86vw);
  padding: 0;
  border: 0;
  background: var(--surface);
  color: var(--ink);
}
.menu-dialog::backdrop { background: rgb(36 29 34 / 0.45); }
.menu-inner { display: flex; flex-direction: column; height: 100%; }
.menu-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}
.menu-nav { flex: 1; overflow-y: auto; padding: 1rem 0.75rem; }
.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: var(--r-lg);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  transition: background-color 200ms, color 200ms;
}
.menu-link:hover { background: var(--brand-50); color: var(--brand-700); }
.menu-link[aria-current="page"] { background: var(--brand-50); color: var(--brand-800); }
.menu-dot { width: 0.375rem; height: 0.375rem; border-radius: 999px; background: var(--brand-600); }
.menu-foot { padding: 1.25rem; border-top: 1px solid var(--line); }

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border: 0;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: background-color 200ms, color 200ms, border-color 200ms, box-shadow 200ms;
}
.btn:disabled { pointer-events: none; opacity: 0.55; }

.btn-primary { background: var(--brand-800); color: #fff; }
.btn-primary:hover { background: var(--brand-900); }
.btn-outline {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-outline:hover { border-color: var(--brand-400); background: var(--brand-50); }
.btn-inverse { background: #fff; color: var(--brand-900); }
.btn-inverse:hover { background: var(--brand-50); }
.btn-ghost { background: transparent; color: var(--brand-700); }
.btn-ghost:hover { background: var(--brand-50); }

.btn-sm { height: 2.5rem; padding-inline: 1rem; font-size: 0.875rem; }
.btn-md { height: 3rem; padding-inline: 1.5rem; font-size: 0.9375rem; }
.btn-lg { height: 3.5rem; padding-inline: 2rem; font-size: 1rem; }

.btn.has-arrow.btn-sm { padding-right: 0.375rem; }
.btn.has-arrow.btn-md { padding-right: 0.375rem; }
.btn.has-arrow.btn-lg { padding-right: 0.5rem; }

.btn-disc {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  transition: background-color 200ms;
}
.btn-sm .btn-disc { width: 1.75rem; height: 1.75rem; }
.btn-md .btn-disc { width: 2.25rem; height: 2.25rem; }
.btn-lg .btn-disc { width: 2.5rem; height: 2.5rem; }
.btn-disc svg { width: 1.05em; height: 1.05em; transition: transform 200ms var(--ease); }
.btn:hover .btn-disc svg { transform: translateX(2px); }

.btn-primary .btn-disc { background: var(--brand-600); color: #fff; }
.btn-primary:hover .btn-disc { background: var(--brand-500); }
.btn-outline .btn-disc,
.btn-inverse .btn-disc { background: var(--brand-800); color: #fff; }
.btn-ghost .btn-disc { background: var(--brand-100); color: var(--brand-800); }

.btn-block { width: 100%; }

/* --------------------------------------------------------------- icon chip */

/* Depth from three stacked cues rather than one heavy shadow: a gradient, an
   inset highlight on the top edge, and a soft ambient shadow beneath. */
.chip {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  box-shadow:
    0 1px 1px rgb(36 29 34 / 0.06),
    0 6px 14px -8px rgb(36 29 34 / 0.35),
    inset 0 1px 0 #fff;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.chip::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0.6), transparent);
  opacity: 0.7;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.chip svg { position: relative; transition: transform 300ms var(--ease); }

.chip:hover,
.group:hover .chip { transform: translateY(-2px); }
.chip:hover, .group:hover .chip {
  box-shadow:
    0 2px 3px rgb(36 29 34 / 0.08),
    0 14px 22px -10px rgb(36 29 34 / 0.45),
    inset 0 1px 0 #fff;
}
.chip:hover svg,
.group:hover .chip svg { transform: scale(1.1); }

/* Strokes are tuned for 20px+. Below that a 1.6 stroke falls under ~1.1px
   and starts to disappear, so small glyphs get proportionally more weight. */
.chip-sm { width: 2.25rem; height: 2.25rem; }
.chip-sm svg { width: 1rem; height: 1rem; stroke-width: 2.1; }
.chip-md { width: 2.75rem; height: 2.75rem; }
.chip-md svg { width: 1.25rem; height: 1.25rem; }
.chip-lg { width: 3.5rem; height: 3.5rem; }
.chip-lg svg { width: 1.5rem; height: 1.5rem; }

.chip-light { box-shadow: inherit; border: 1px solid rgb(255 255 255 / 0.8); }
.chip-brand   { background: linear-gradient(to bottom, #fff, var(--brand-100));   color: var(--brand-700); }
.chip-sage    { background: linear-gradient(to bottom, #fff, var(--sage-100));    color: var(--sage-700); }
.chip-azure   { background: linear-gradient(to bottom, #fff, var(--azure-100));   color: var(--azure-700); }
.chip-apricot { background: linear-gradient(to bottom, #fff, var(--apricot-100)); color: var(--apricot-700); }
.chip-blush   { background: linear-gradient(to bottom, #fff, var(--blush-100));   color: var(--blush-700); }

.chip-inverse {
  background: linear-gradient(to bottom, rgb(255 255 255 / 0.25), rgb(255 255 255 / 0.05));
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.25);
  box-shadow: 0 6px 14px -8px rgb(0 0 0 / 0.55), inset 0 1px 0 rgb(255 255 255 / 0.35);
}
.chip-solid {
  background: linear-gradient(to bottom, var(--brand-600), var(--brand-800));
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.2);
}

.chip-center { margin-inline: auto; }

/* ---------------------------------------------------------------- sections */

.section { padding-block: 3.5rem; }
@media (min-width: 1024px) { .section { padding-block: 5rem; } }
.section-tight { padding-block: 1.5rem; }
.section-soft { background: var(--surface-soft); }

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-600);
}

.lede { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }

.h-section { font-size: 1.875rem; }
@media (min-width: 640px) { .h-section { font-size: 2.5rem; } }
.h-sub { font-size: 1.5rem; }
@media (min-width: 640px) { .h-sub { font-size: 2.125rem; } }

.page-head { padding-block: 3rem; }
@media (min-width: 1024px) { .page-head { padding-block: 4rem; } }
.page-title { margin-top: 1rem; font-size: 2.25rem; }
@media (min-width: 640px) { .page-title { font-size: 3rem; } }

.stack-sm > * + * { margin-top: 0.5rem; }
.muted { color: var(--ink-muted); }
.small { font-size: 0.875rem; }
.tabular { font-variant-numeric: tabular-nums; }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--surface), var(--brand-50) 55%, var(--surface-tint));
}
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  padding-block: 2.5rem 3.5rem;
}
@media (min-width: 768px) { .hero-grid { padding-block: 3.5rem 5rem; } }
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 2rem; padding-bottom: 6rem; }
}

.hero-copy { max-width: 36rem; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem 0.375rem 0.375rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  box-shadow: var(--shadow-card);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.hero-title {
  margin-top: 1.5rem;
  font-size: 2.25rem;
  line-height: 1.06;
}
@media (min-width: 640px) { .hero-title { font-size: 3rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 4rem; } }
.hero-title span { display: block; color: var(--brand-600); }
.hero-sub { margin-top: 1.25rem; max-width: 28rem; font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }
@media (min-width: 640px) { .hero-sub { font-size: 1.125rem; } }
.hero-cta { margin-top: 2rem; }
.hero-proof { margin-top: 2.25rem; display: flex; align-items: center; gap: 0.875rem; }
.hero-proof-score { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); }

.avatar-stack { display: flex; }
.avatar-stack .avatar + .avatar { margin-left: -0.625rem; }

.avatar {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 700;
  background: var(--brand-100);
  color: var(--brand-800);
}
.avatar-ring { box-shadow: 0 0 0 2px #fff; }
.avatar-sm { width: 2rem; height: 2rem; font-size: 0.625rem; }
.avatar-md { width: 2.25rem; height: 2.25rem; font-size: 0.6875rem; }
.avatar-lg { width: 3rem; height: 3rem; font-size: 0.875rem; }
.avatar-t1 { background: var(--brand-100); color: var(--brand-800); }
.avatar-t2 { background: var(--sage-100); color: var(--sage-700); }
.avatar-t3 { background: var(--azure-100); color: var(--azure-700); }
.avatar-t4 { background: var(--blush-100); color: var(--blush-700); }

.hero-scene {
  position: relative;
  width: 100%;
  max-width: 34rem;
  margin-inline: auto;
  aspect-ratio: 4 / 3.5;
}
@media (min-width: 1024px) { .hero-scene { max-width: none; } }
.hero-halo {
  position: absolute;
  left: 10%; right: 10%; top: 1%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: linear-gradient(to bottom, #fff, var(--brand-50) 55%, rgb(243 232 239 / 0.6));
}

/* ---------------------------------------------------------------- trust bar */

.pillars {
  display: grid;
  gap: 2.25rem 2rem;
  border-top: 1px solid var(--line);
  padding-block: 3rem;
}
@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pillars { grid-template-columns: repeat(4, 1fr); padding-block: 3.5rem; } }
.pillar { display: flex; gap: 1rem; }
.pillar h3 { font-size: 0.9375rem; line-height: 1.35; }
.pillar p { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); }

/* ----------------------------------------------------------------- routine */

.panel {
  border-radius: var(--r-2xl);
  background: var(--surface-soft);
  padding: 2.5rem 1.5rem;
}
@media (min-width: 640px) { .panel { padding: 3rem 2.5rem; } }
@media (min-width: 1024px) { .panel { padding-inline: 3rem; } }

.routine-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) {
  .routine-grid { grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr); gap: 3rem; }
}
.routine-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .routine-steps { gap: 1.25rem; } }
.routine-step { display: flex; flex-direction: column; }
.routine-art {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 8rem;
}
@media (min-width: 640px) { .routine-art { height: 11rem; } }
.routine-art-bg {
  position: absolute;
  left: 0.5rem; right: 0.5rem; top: 1.5rem; bottom: 0.5rem;
  border-radius: var(--r-xl);
  background: linear-gradient(to bottom, #fff, var(--brand-50));
}
.routine-art-inner { position: relative; display: flex; align-items: flex-end; height: 100%; padding-bottom: 0.75rem; }
.routine-art-inner svg { height: 100%; width: auto; }
.routine-arrow {
  position: absolute;
  right: -0.5rem; top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 1.25rem; height: 1.25rem;
  color: var(--brand-400);
}
@media (min-width: 640px) { .routine-arrow { right: -0.875rem; width: 1.5rem; height: 1.5rem; } }
.routine-meta { margin-top: 1.25rem; display: flex; gap: 0.75rem; }
.step-num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.75rem; height: 1.75rem;
  border-radius: 999px;
  background: var(--brand-800);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.routine-meta h3 { font-size: 0.9375rem; }
.routine-meta p { margin-top: 0.25rem; font-size: 0.8125rem; line-height: 1.6; color: var(--ink-muted); }

/* ------------------------------------------------------------ brand banner */

.banner {
  overflow: hidden;
  border-radius: var(--r-2xl);
  background: linear-gradient(to right, var(--brand-600), var(--brand-700) 50%, var(--brand-800));
}
.banner-grid { display: grid; }
@media (min-width: 640px) { .banner-grid { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); } }
@media (min-width: 1024px) { .banner-grid { grid-template-columns: minmax(0, 0.34fr) minmax(0, 1fr); } }
.banner-media { position: relative; overflow: hidden; height: 14rem; }
@media (min-width: 640px) { .banner-media { height: auto; min-height: 20rem; } }
.banner-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, transparent 55%, rgb(116 63 102 / 0.55));
}
@media (min-width: 640px) {
  .banner-media::after { background: linear-gradient(to right, transparent, transparent 40%, rgb(116 63 102 / 0.8)); }
}
.banner-body { padding: 2.25rem 1.5rem; color: #fff; }
@media (min-width: 640px) { .banner-body { padding: 2.75rem 2.25rem; } }
@media (min-width: 1024px) { .banner-body { padding-inline: 3rem; } }
.banner-body h2 { color: #fff; font-size: 1.5rem; }
@media (min-width: 640px) { .banner-body h2 { font-size: 1.875rem; } }
.banner-body > p { margin-top: 0.75rem; max-width: 28rem; font-size: 0.875rem; line-height: 1.7; color: var(--brand-50); }
@media (min-width: 640px) { .banner-body > p { font-size: 0.9375rem; } }

.stats {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.2);
  padding-top: 1.75rem;
}
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.stat { display: flex; align-items: center; gap: 0.75rem; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.stat-label { display: block; margin-top: 0.25rem; font-size: 0.75rem; color: var(--brand-50); }

/* ---------------------------------------------------------------- glow cta */

.glow {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-2xl);
  background: linear-gradient(to right, var(--surface-tint), var(--brand-100) 55%, rgb(229 205 221 / 0.8));
}
.glow-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 1200px) { .glow-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); } }
.glow-body { padding: 2.25rem 1.5rem; }
@media (min-width: 640px) { .glow-body { padding: 2.75rem 2.25rem; } }
@media (min-width: 1024px) { .glow-body { padding-inline: 3rem; } }
.glow-body h2 { font-size: 1.5rem; }
@media (min-width: 640px) { .glow-body h2 { font-size: 1.75rem; } }
.glow-art { position: relative; align-self: stretch; min-height: 7rem; }

/* ------------------------------------------------------------- ingredients */

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 4rem; }
  .split-narrow { grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr); }
}
.claims { margin-top: 2rem; display: grid; gap: 1rem; max-width: 24rem; }
.claim { display: flex; align-items: center; gap: 0.875rem; }
.claim span:last-child { font-size: 0.9375rem; font-weight: 500; color: var(--ink); }

.actives { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .actives { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .actives { grid-template-columns: repeat(4, 1fr); } }
.active-card { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); padding: 1.5rem; }
.active-swatch { display: block; width: 5rem; height: 5rem; border-radius: 999px; overflow: hidden; }
.active-swatch img { width: 100%; height: 100%; object-fit: cover; }
.active-head { margin-top: 1.25rem; display: flex; align-items: baseline; gap: 0.5rem; }
.active-head h3 { font-size: 1.125rem; }
.active-pct { font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.active-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); }

/* -------------------------------------------------------------- comparison */

.scroll-x { overflow-x: auto; }
.compare { width: 100%; min-width: 34rem; border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 1rem; }
.compare thead th:first-child { padding-left: 0; }
.compare tbody tr { border-top: 1px solid var(--line); }
.compare tbody th {
  padding-left: 0;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
}
.compare .col-vitara {
  background: var(--brand-800);
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
}
.compare thead .col-vitara { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.compare tbody tr:last-child .col-vitara { border-radius: 0 0 var(--r-xl) var(--r-xl); }
.compare .col-other { text-align: center; color: var(--ink-muted); font-family: var(--font-display); font-size: 1rem; font-weight: 700; }
@media (max-width: 639px) {
  .compare { min-width: 0; }
  .compare th, .compare td { padding: 0.75rem 0.375rem; }
  .compare thead th:first-child, .compare tbody th { padding-left: 0; }
  .compare tbody th { font-size: 0.8125rem; line-height: 1.35; }
  .compare .col-vitara, .compare .col-other { font-size: 0.75rem; }
  .compare .col-vitara, .compare .cell-vitara,
  .compare .col-other, .compare .cell-other { width: 4.75rem; }
}
.compare td.cell-vitara { background: var(--brand-800); text-align: center; }
.compare td.cell-other { text-align: center; }
.mark {
  display: inline-grid;
  place-items: center;
  width: 1.5rem; height: 1.5rem;
  border-radius: 999px;
}
.mark svg { width: 0.875rem; height: 0.875rem; }
.mark-yes-on-dark { background: #fff; color: var(--brand-800); }
.mark-yes { background: var(--sage-100); color: var(--sage-700); }
.mark-no { background: #ecebec; color: var(--ink-muted); }

/* ------------------------------------------------------------------- cards */

.grid-cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-cards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1280px) { .grid-cards-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  transition: box-shadow 200ms;
}
.card:hover { box-shadow: var(--shadow-lift); }
.card:has(a:focus-visible) { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.card-pad { padding: 1rem; }

.card-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 13rem;
  overflow: hidden;
  border-radius: var(--r-lg);
  padding-block: 1rem;
}
.card-tile svg { transition: transform 500ms var(--ease); }
.card:hover .card-tile svg { transform: scale(1.05); }

.tile-brand   { background: linear-gradient(to bottom, var(--brand-50), rgb(243 232 239 / 0.7)); }
.tile-sage    { background: linear-gradient(to bottom, var(--sage-50), rgb(229 238 225 / 0.7)); }
.tile-azure   { background: linear-gradient(to bottom, var(--azure-50), rgb(221 238 244 / 0.7)); }
.tile-apricot { background: linear-gradient(to bottom, var(--apricot-50), rgb(250 234 210 / 0.7)); }
.tile-blush   { background: linear-gradient(to bottom, var(--blush-50), rgb(250 228 224 / 0.7)); }

.card-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem 0.25rem 0.25rem; }
.card-eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.text-brand   { color: var(--brand-600); }
.text-sage    { color: var(--sage-600); }
.text-azure   { color: var(--azure-600); }
.text-apricot { color: var(--apricot-600); }
.text-blush   { color: var(--blush-600); }

.card-title { margin-top: 0.5rem; font-size: 1.125rem; line-height: 1.35; }
/* Stretched link keeps one link in the tab order while the whole tile is
   clickable; the quick-add button is lifted above it. */
.card-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-xl); }
.card-title a:focus-visible { outline: none; }
.card-desc { margin-top: 0.375rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); }
.card-foot { margin-top: 1.25rem; padding-top: 0.25rem; display: flex; align-items: center; justify-content: space-between; }
.price { font-size: 1.125rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.add-btn {
  position: relative;
  z-index: 10;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.25rem; height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-800);
  color: #fff;
  cursor: pointer;
  transition: background-color 200ms;
}
.add-btn:hover { background: var(--brand-900); }
.add-btn.is-added { background: var(--brand-600); }
.add-btn svg { width: 1rem; height: 1rem; stroke-width: 2.1; }

/* ----------------------------------------------------------------- journal */

.jcard { overflow: hidden; }
.jcard-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface-tint); }
.jcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.jcard:hover .jcard-media img { transform: scale(1.06); }
.jcard-body { display: flex; flex: 1; flex-direction: column; padding: 1.25rem; }
.jcard-meta { display: flex; align-items: center; gap: 0.5rem; font-size: 0.6875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }
.jcard-body h3 { margin-top: 0.625rem; font-size: 1.125rem; line-height: 1.35; }
.jcard-body h3 a::after { content: ""; position: absolute; inset: 0; }
.jcard-excerpt { margin-top: 0.5rem; flex: 1; font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); }
.jcard-date { margin-top: 1rem; font-size: 0.75rem; color: var(--ink-muted); }

.article { max-width: 42rem; margin-inline: auto; }
.article-hero { max-width: 48rem; margin: 2.5rem auto 0; border-radius: var(--r-2xl); overflow: hidden; }
.article-hero > div { aspect-ratio: 3 / 2; background: var(--surface-tint); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body h2 { margin-top: 2.25rem; font-size: 1.5rem; }
.article-body p { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.75; color: var(--ink-soft); }
.article-body > *:first-child { margin-top: 0; }

/* ---------------------------------------------------------------- skin quiz */

.quiz-card { overflow: hidden; border-radius: var(--r-2xl); background: var(--brand-800); }
.quiz-grid { display: grid; gap: 2.5rem; align-items: center; padding: 2.5rem 1.5rem; }
@media (min-width: 640px) { .quiz-grid { padding: 3rem 2.5rem; } }
@media (min-width: 1024px) {
  .quiz-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); gap: 2rem; padding-inline: 3rem; }
}
.quiz-copy h2 { color: #fff; font-size: 1.875rem; line-height: 1.14; }
@media (min-width: 640px) { .quiz-copy h2 { font-size: 2.25rem; } }
.quiz-copy > p { margin-top: 1rem; max-width: 24rem; font-size: 0.9375rem; line-height: 1.7; color: var(--brand-100); }
.quiz-benefits { margin-top: 1.75rem; display: grid; gap: 0.875rem; }
.quiz-benefit { display: flex; align-items: center; gap: 0.75rem; }
.quiz-benefit .tick {
  display: grid; place-items: center;
  width: 1.5rem; height: 1.5rem;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-800);
  flex-shrink: 0;
}
.quiz-benefit .tick svg { width: 0.875rem; height: 0.875rem; }
.quiz-benefit span:last-child { font-size: 0.9375rem; font-weight: 500; color: var(--brand-50); }
.quiz-actions { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .quiz-actions { flex-direction: row; } }
.quiz-actions .btn-ghost { color: var(--brand-50); }
.quiz-actions .btn-ghost:hover { background: rgb(255 255 255 / 0.1); }

.phone { width: 16.5rem; margin-inline: auto; }
@media (min-width: 640px) { .phone { width: 17.5rem; } }
.phone-frame {
  border-radius: 2.25rem;
  background: var(--ink);
  padding: 0.625rem;
  box-shadow: 0 28px 60px -24px rgb(37 19 32 / 0.65);
}
.phone-screen { position: relative; overflow: hidden; border-radius: 1.85rem; background: #fff; }
.phone-notch {
  position: absolute;
  left: 50%; top: 0.5rem;
  transform: translateX(-50%);
  width: 5rem; height: 1rem;
  border-radius: 999px;
  background: rgb(36 29 34 / 0.9);
}
.phone-inner { min-height: 24rem; padding: 2.25rem 1.25rem 1.25rem; }
.quiz-head { display: flex; align-items: center; justify-content: space-between; }
.quiz-kicker { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--brand-600); }
.quiz-step { font-size: 0.6875rem; font-weight: 500; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.quiz-fieldset { margin-top: 1rem; border: 0; padding: 0; }
.quiz-legend { font-family: var(--font-display); font-size: 1rem; font-weight: 700; line-height: 1.35; color: var(--ink); }
.quiz-options { margin-top: 1rem; display: grid; gap: 0.5rem; }
.quiz-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: border-color 150ms, background-color 150ms, color 150ms;
}
.quiz-option:hover { border-color: var(--brand-300); }
.quiz-option:has(:focus-visible) { outline: 2px solid var(--brand-600); outline-offset: 2px; }
.quiz-option.is-selected { border-color: var(--brand-500); background: var(--brand-50); color: var(--brand-900); }
.quiz-radio {
  display: grid; place-items: center;
  width: 1rem; height: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  transition: background-color 150ms, border-color 150ms;
}
.quiz-radio svg { width: 0.625rem; height: 0.625rem; }
.is-selected .quiz-radio { border-color: var(--brand-600); background: var(--brand-600); color: #fff; }
.quiz-next {
  margin-top: 1.25rem;
  width: 100%;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-800);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms;
}
.quiz-next:hover { background: var(--brand-900); }
.quiz-next:disabled { background: var(--line-strong); color: var(--ink-muted); cursor: not-allowed; }
.quiz-result h3 { font-family: var(--font-display); font-size: 1rem; line-height: 1.35; }
.quiz-result h3:focus { outline: none; }
.quiz-result > p { margin-top: 0.375rem; font-size: 0.8125rem; line-height: 1.6; color: var(--ink-muted); }
.quiz-routine { margin-top: 1rem; display: grid; gap: 0.5rem; }
.quiz-routine li {
  display: flex; align-items: center; gap: 0.625rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-soft);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink);
}
.quiz-routine .n {
  display: grid; place-items: center;
  width: 1.25rem; height: 1.25rem;
  border-radius: 999px;
  background: var(--brand-700);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  flex-shrink: 0;
}
.quiz-restart {
  margin-top: 1.25rem;
  width: 100%;
  height: 2.5rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 200ms, background-color 200ms;
}
.quiz-restart:hover { border-color: var(--brand-400); background: var(--brand-50); }

/* ------------------------------------------------------------ testimonials */

.center-head { max-width: 36rem; margin-inline: auto; text-align: center; }
.rail {
  margin-top: 2.5rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
@media (min-width: 640px) {
  .rail {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
}
@media (min-width: 1024px) { .rail { grid-template-columns: repeat(3, 1fr); } }
.tcard { width: 78vw; max-width: 20rem; flex-shrink: 0; scroll-snap-align: start; padding: 1.5rem; }
@media (min-width: 640px) { .tcard { width: auto; max-width: none; } }
.tcard figure { display: flex; flex: 1; flex-direction: column; }
.tcard blockquote { margin: 0.75rem 0 0; flex: 1; }
.tcard blockquote p { font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }
.tcard figcaption { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.tcard-name { font-family: var(--font-display); font-size: 0.875rem; font-weight: 700; color: var(--ink); }
.tcard-loc { font-size: 0.75rem; color: var(--ink-muted); }

.stars { display: inline-flex; align-items: center; gap: 0.25rem; }
.stars-row { display: flex; gap: 0.125rem; }
.stars svg { width: 0.875rem; height: 0.875rem; }
.star-on { color: var(--star); }
.star-off { color: var(--line-strong); }
.stars-label { font-size: 0.875rem; font-weight: 500; color: var(--ink); }

/* --------------------------------------------------------------------- faq */

.faq-grid { display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .faq-grid { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1fr); gap: 4rem; } }
@media (min-width: 1024px) { .faq-aside { position: sticky; top: 7rem; align-self: start; } }
.faq-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.faq-list li + li { border-top: 1px solid var(--line); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.25rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-toggle {
  display: grid; place-items: center;
  flex-shrink: 0;
  width: 1.75rem; height: 1.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1;
  transition: transform 200ms;
}
details[open] .faq-toggle { transform: rotate(45deg); }
.faq-list p { padding: 0 2.75rem 1.25rem 0; font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }

/* ------------------------------------------------------------- value strip */

.values {
  display: grid;
  gap: 1.5rem;
  border-radius: var(--r-2xl);
  background: var(--surface-soft);
  padding: 2rem 1.5rem;
}
@media (min-width: 640px) { .values { grid-template-columns: repeat(3, 1fr); padding-inline: 2rem; } }
.value { display: flex; gap: 0.875rem; }
.value h3 { font-size: 0.9375rem; }
.value p { margin-top: 0.25rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); }

/* -------------------------------------------------------------- newsletter */

.news { overflow: hidden; border-radius: var(--r-2xl); background: var(--brand-800); }
.news-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 1024px) { .news-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.7fr); } }
.news-body { padding: 2.25rem 1.5rem; }
@media (min-width: 640px) { .news-body { padding: 2.75rem 2.25rem; } }
@media (min-width: 1024px) { .news-body { padding-inline: 3rem; } }
.news-body h2 { color: #fff; font-size: 1.5rem; }
@media (min-width: 640px) { .news-body h2 { font-size: 1.75rem; } }
.news-body > p { margin-top: 0.75rem; max-width: 24rem; font-size: 0.9375rem; line-height: 1.7; color: var(--brand-100); }
.news-form { margin-top: 1.5rem; max-width: 24rem; }
.news-field { position: relative; }
.news-input {
  width: 100%;
  height: 3.25rem;
  padding: 0 4rem 0 1.25rem;
  border: 2px solid transparent;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
}
.news-input[aria-invalid="true"] { border-color: #f87171; }
.news-submit {
  position: absolute;
  right: 0.5rem; top: 0.5rem;
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-800);
  color: #fff;
  cursor: pointer;
  transition: background-color 200ms;
}
.news-submit:hover { background: var(--brand-900); }
.news-submit:disabled { opacity: 0.6; }
.news-submit svg { width: 1rem; height: 1rem; }
.news-msg { margin-top: 0.625rem; min-height: 1.25rem; padding-left: 0.25rem; font-size: 0.8125rem; }
.news-msg.is-error { color: #fecaca; }
.news-msg.is-success { color: var(--brand-100); }
/* Stretched to the panel rather than a fixed height: centring a short box in
   a taller row left plum gaps above and below the photograph. */
.news-art { position: relative; align-self: stretch; min-height: 7rem; }

/* ------------------------------------------------------------------ footer */

/* The footer anchors the page in deep aubergine rather than fading out in
   white. A soft accent glow and a botanical watermark keep the dark block
   from reading as a flat slab. */
.site-footer {
  position: relative;
  isolation: isolate;
  background: linear-gradient(to bottom, var(--brand-900), var(--brand-950));
  color: var(--brand-200);
}

/* Clips the glow to the footer without clipping the button that straddles
   its top edge. */
.footer-clip {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.footer-glow {
  position: absolute;
  z-index: -1;
  top: -30%;
  left: 50%;
  width: min(52rem, 120%);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(circle, rgb(143 86 128 / 0.45), transparent 62%);
  pointer-events: none;
}

.footer-botanical {
  position: absolute;
  z-index: -1;
  right: -3rem;
  bottom: -4rem;
  width: 18rem;
  opacity: 0.07;
  transform: rotate(14deg);
  pointer-events: none;
}
.footer-botanical svg { width: 100%; height: auto; }
@media (min-width: 768px) { .footer-botanical { right: 2rem; width: 22rem; } }

/* Circular control straddling the footer's top edge — the one element that
   breaks the boundary, which is what makes the seam interesting. */
.footer-top-btn {
  position: absolute;
  top: -1.5rem;
  right: var(--gutter);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--brand-700);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 0 0 4px var(--surface), 0 10px 22px -10px rgb(36 29 34 / 0.55);
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), background-color 200ms, color 200ms;
}
/* A lone glyph with no label beside it needs more weight than the icons that
   sit in a row next to text — 1.6 reads as a hairline at this size. */
.footer-top-btn svg {
  width: 1.375rem;
  height: 1.375rem;
  stroke-width: 2.4;
  transition: transform 300ms var(--ease);
}
.footer-top-btn:hover {
  transform: translateY(-3px);
  background: var(--brand-600);
  color: #fff;
  box-shadow: 0 0 0 4px var(--surface), 0 18px 30px -12px rgb(36 29 34 / 0.6);
}
.footer-top-btn:hover svg { transform: translateY(-2px); }

.footer-top {
  position: relative;
  display: grid;
  gap: 3rem;
  padding-block: 4rem 3rem;
}
@media (min-width: 1024px) {
  .footer-top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 4rem; }
}

.footer-blurb { max-width: 22rem; }
.footer-blurb .logo-name { color: #fff; }
.footer-blurb .logo-sub { color: var(--brand-300); }
.footer-blurb p { margin-top: 1.25rem; font-size: 0.9375rem; line-height: 1.7; color: var(--brand-200); }

.footer-mail {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem 0.5rem 0.5rem;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.06);
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  transition: background-color 250ms, border-color 250ms, transform 250ms var(--ease);
}
.footer-mail .chip { width: 2rem; height: 2rem; }
.footer-mail .chip svg { width: 1rem; height: 1rem; stroke-width: 2.1; }
.footer-mail:hover {
  transform: translateY(-2px);
  background: rgb(255 255 255 / 0.12);
  border-color: rgb(255 255 255 / 0.3);
}

.footer-cols { display: grid; gap: 2.5rem; }
@media (min-width: 640px) { .footer-cols { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

.footer-col h2 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #fff;
}
/* Each column is colour-coded, and its rule extends when you enter it. */
.footer-col h2::after {
  content: "";
  display: block;
  width: 1.5rem;
  height: 2px;
  margin-top: 0.625rem;
  border-radius: 999px;
  background: currentColor;
  transition: width 320ms var(--ease);
}
.footer-col:hover h2::after { width: 3rem; }
.footer-col-sage h2::after { color: var(--sage-300); }
.footer-col-azure h2::after { color: var(--azure-300); }
.footer-col-apricot h2::after { color: var(--apricot-300); }

.footer-col ul { margin-top: 1.25rem; display: grid; gap: 0.75rem; }

/* Links slide right and grow a dash on hover, so the whole column feels
   alive rather than being a static list of blue-ish text. */
.footer-link {
  position: relative;
  display: inline-block;
  font-size: 0.9375rem;
  color: var(--brand-200);
  border-radius: var(--r-sm);
  transition: color 220ms, transform 220ms var(--ease);
}
.footer-link::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  width: 0;
  height: 1px;
  background: currentColor;
  transform: translateY(-50%);
  transition: width 220ms var(--ease);
}
.footer-link:hover { color: #fff; transform: translateX(0.75rem); }
.footer-link:hover::before { width: 0.625rem; }

.footer-bottom {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  padding-block: 1.75rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; gap: 2rem; text-align: left; }
}
.footer-copy { order: 2; font-size: 0.875rem; color: var(--brand-300); }
.footer-legal { order: 1; }
@media (min-width: 1024px) { .footer-copy { order: 1; } .footer-legal { order: 2; } }
.footer-legal ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1.5rem; }

/* Legal links get the nav's underline wipe rather than the column dash. */
.footer-legal a {
  position: relative;
  font-size: 0.875rem;
  color: var(--brand-300);
  border-radius: var(--r-sm);
  transition: color 220ms;
}
.footer-legal a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.3rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease);
}
.footer-legal a:hover { color: #fff; }
.footer-legal a:hover::after { transform: scaleX(1); }

.footer-dev { order: 3; font-size: 0.875rem; color: var(--brand-300); }
@media (min-width: 1024px) { .footer-dev { text-align: right; } }
.footer-dev a {
  position: relative;
  font-weight: 600;
  color: #fff;
  border-radius: var(--r-sm);
  transition: color 220ms;
}
.footer-dev a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -0.25rem;
  height: 1px;
  background: var(--apricot-300);
  transform: scaleX(1);
  transform-origin: right;
  transition: transform 300ms var(--ease);
}
.footer-dev a:hover { color: var(--apricot-200); }
.footer-dev a:hover::after { transform: scaleX(0); }

/* ------------------------------------------------------- shop / pdp / cart */

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-link {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  transition: border-color 200ms, background-color 200ms, color 200ms;
}
.chip-link:hover { border-color: var(--brand-400); background: var(--brand-50); color: var(--brand-800); }

.breadcrumb ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--brand-700); }
.breadcrumb .sep { color: var(--line-strong); }
.breadcrumb .current { font-weight: 500; color: var(--ink); }

.pdp-grid { margin-top: 2rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .pdp-grid { grid-template-columns: repeat(2, 1fr); gap: 3.5rem; } }
.pdp-gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20rem;
  border-radius: var(--r-2xl);
  padding-block: 2rem;
}
@media (min-width: 640px) { .pdp-gallery { height: 28rem; } }
.pdp-gallery svg { height: 84%; width: auto; }
.pdp-gallery.is-jar svg { height: 46%; }
.pdp-title { margin-top: 0.625rem; font-size: 2.25rem; }
@media (min-width: 640px) { .pdp-title { font-size: 3rem; } }
.pdp-meta { margin-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.pdp-price { font-size: 1.5rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.pdp-overview { margin-top: 1.25rem; font-size: 1rem; line-height: 1.7; color: var(--ink-soft); }
.benefits { margin-top: 1.5rem; display: grid; gap: 0.625rem; }
.benefit { display: flex; align-items: flex-start; gap: 0.75rem; }
.benefit .tick {
  margin-top: 0.125rem;
  display: grid; place-items: center;
  width: 1.25rem; height: 1.25rem;
  border-radius: 999px;
  background: var(--brand-100);
  color: var(--brand-800);
  flex-shrink: 0;
}
.benefit .tick svg { width: 0.75rem; height: 0.75rem; }
.benefit span:last-child { font-size: 0.9375rem; color: var(--ink-soft); }

.buy-actions { margin-top: 2rem; }
.buy-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.buy-buttons { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .buy-buttons { flex-direction: row; } .buy-buttons .btn { flex: 1; } }

.stepper {
  display: inline-flex;
  align-items: center;
  height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
}
.stepper button {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 0;
  background: transparent;
  border-radius: 999px;
  color: var(--ink);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 200ms;
}
.stepper button:hover:not(:disabled) { background: var(--brand-50); }
.stepper button:disabled { color: var(--ink-muted); cursor: not-allowed; }
.stepper input {
  width: 2.5rem;
  border: 0;
  background: transparent;
  text-align: center;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

.detail-grid { margin-top: 4rem; display: grid; gap: 2.5rem; border-top: 1px solid var(--line); padding-top: 3rem; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: repeat(2, 1fr); gap: 3.5rem; } }
.ing-list { margin-top: 1.25rem; }
.ing-list > div { padding-block: 0.875rem; border-bottom: 1px solid var(--line); }
.ing-list dt { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.ing-list dd { margin: 0.25rem 0 0; font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); }
.how-list { margin-top: 1.25rem; display: grid; gap: 1rem; }
.how-step { display: flex; gap: 0.875rem; }
.how-step span:last-child { padding-top: 0.25rem; font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }

.reviews-grid { margin-top: 1.5rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .reviews-grid { grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr); gap: 3.5rem; } }
.reviews-summary { border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--surface-soft); padding: 1.5rem; }
@media (min-width: 1024px) { .reviews-summary { position: sticky; top: 7rem; align-self: start; } }
.reviews-score { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.dist { margin-top: 1.25rem; display: grid; gap: 0.5rem; }
.dist li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; }
.dist-label { width: 3rem; flex-shrink: 0; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.dist-track { height: 0.5rem; flex: 1; overflow: hidden; border-radius: 999px; background: var(--line); }
.dist-fill { display: block; height: 100%; border-radius: 999px; background: var(--star); }
.dist-pct { width: 2.25rem; flex-shrink: 0; text-align: right; color: var(--ink-muted); font-variant-numeric: tabular-nums; }
.review-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.review-list li { padding-block: 1.5rem; }
.review-list li + li { border-top: 1px solid var(--line); }
.review-head { display: flex; align-items: center; gap: 0.75rem; }
.verified {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  background: var(--brand-50);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--brand-800);
}
.verified svg { width: 0.75rem; height: 0.75rem; }
.review-title { margin-top: 0.5rem; font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; color: var(--ink); }
.review-body { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }

.cart-layout { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; } }
.cart-lines { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cart-line { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-block: 1.25rem; }
.cart-line + .cart-line { border-top: 1px solid var(--line); }
@media (min-width: 640px) { .cart-line { flex-wrap: nowrap; } }
.cart-thumb {
  display: flex; align-items: center; justify-content: center;
  width: 6rem; height: 6rem;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  padding-block: 0.5rem;
}
.cart-thumb svg { height: 82%; width: auto; }
.cart-thumb.is-jar svg { height: 42%; }
.cart-info { flex: 1; min-width: 0; }
.cart-info h2 { margin-top: 0.25rem; font-size: 1.125rem; line-height: 1.35; }
.cart-info h2 a:hover { color: var(--brand-700); }
.cart-size { margin-top: 0.25rem; font-size: 0.875rem; color: var(--ink-muted); }
.link-btn {
  margin-top: 0.625rem;
  border: 0;
  background: none;
  padding: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
  border-radius: var(--r-sm);
  transition: color 200ms;
}
.link-btn:hover { color: var(--brand-700); }
.cart-qty { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 1rem; }
@media (min-width: 640px) { .cart-qty { width: auto; flex-direction: column; align-items: flex-end; } }
.cart-line-total { font-size: 1.125rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.summary { border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--surface-soft); padding: 1.5rem; }
.summary h2 { font-size: 1.25rem; }
.summary dl { margin-top: 1.25rem; display: grid; gap: 0.75rem; font-size: 0.9375rem; }
.summary-row { display: flex; align-items: center; justify-content: space-between; }
.summary-row dt { color: var(--ink-soft); }
.summary-row dd { margin: 0; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.summary-total { border-top: 1px solid var(--line); padding-top: 0.75rem; }
.summary-total dt { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); }
.summary-total dd { font-size: 1.125rem; font-weight: 700; }
.free-ship { margin-top: 1rem; border-radius: var(--r-lg); background: var(--brand-100); padding: 0.625rem 0.875rem; font-size: 0.8125rem; color: var(--brand-900); }
.summary .btn { margin-top: 1.5rem; }
.summary-link { margin-top: 1rem; display: block; text-align: center; font-size: 0.875rem; font-weight: 500; color: var(--ink-muted); text-decoration: underline; text-underline-offset: 4px; }
.summary-link:hover { color: var(--brand-700); }

.empty-state {
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface-soft);
  padding: 4rem 1.5rem;
  text-align: center;
}
.empty-state h1, .empty-state h2 { margin-top: 1.25rem; font-size: 1.25rem; }
.empty-state p { margin: 0.5rem auto 0; max-width: 24rem; font-size: 0.9375rem; color: var(--ink-muted); }
.empty-actions { margin-top: 1.75rem; display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; }
@media (min-width: 640px) { .empty-actions { flex-direction: row; } }

.skeleton { display: grid; gap: 1rem; }
.skeleton div { height: 8rem; border-radius: var(--r-xl); background: var(--surface-soft); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

/* ---------------------------------------------------------------- checkout */

.checkout-grid { margin-top: 2.25rem; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .checkout-grid { grid-template-columns: minmax(0, 1fr) 22rem; gap: 3rem; } }
.field { display: block; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; color: var(--ink); }
.field input {
  margin-top: 0.375rem;
  width: 100%;
  height: 2.75rem;
  padding-inline: 0.875rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  font: inherit;
  font-size: 0.9375rem;
  color: var(--ink);
}
.field input:focus { border-color: var(--brand-400); }
.field input[aria-invalid="true"] { border-color: #ef4444; }
.field-error { margin-top: 0.375rem; font-size: 0.8125rem; color: #b91c1c; }
.field-grid { margin-top: 1rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .field-grid { grid-template-columns: repeat(2, 1fr); } .field-wide { grid-column: 1 / -1; } }
.checkout-form fieldset { border: 0; padding: 0; margin: 0; }
.checkout-form legend { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.form-alert { min-height: 0; font-size: 0.875rem; color: #b91c1c; }
.payment-note {
  margin-top: 1rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-xl);
  background: var(--surface-soft);
  padding: 1.25rem;
}
.payment-note strong { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--ink); }
.payment-note p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); }
.order-list { margin-top: 1.25rem; display: grid; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1.25rem; }
.order-line { display: flex; align-items: center; gap: 0.75rem; }
.order-thumb {
  display: flex; align-items: center; justify-content: center;
  width: 3.5rem; height: 3.5rem;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  padding-block: 0.375rem;
}
.order-thumb svg { height: 80%; width: auto; }
.order-thumb.is-jar svg { height: 40%; }
.order-name { display: block; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.order-qty { display: block; font-size: 0.875rem; color: var(--ink-muted); }
.order-price { font-size: 0.9375rem; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.order-ref {
  margin-top: 1.25rem;
  display: inline-block;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--line);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------- concerns / misc */

.concern-panel {
  border: 1px solid;
  border-radius: var(--r-2xl);
  padding: 1.5rem;
  scroll-margin-top: 7rem;
}
@media (min-width: 640px) { .concern-panel { padding: 2.25rem; } }
.panel-brand   { border-color: var(--brand-100);   background: rgb(250 245 248 / 0.6); }
.panel-sage    { border-color: var(--sage-100);    background: rgb(243 247 241 / 0.6); }
.panel-azure   { border-color: var(--azure-100);   background: rgb(240 247 250 / 0.6); }
.panel-apricot { border-color: var(--apricot-100); background: rgb(253 246 236 / 0.6); }
.panel-blush   { border-color: var(--blush-100);   background: rgb(253 243 241 / 0.6); }

.pill-brand   { background: var(--brand-100);   color: var(--brand-700); }
.pill-sage    { background: var(--sage-100);    color: var(--sage-700); }
.pill-azure   { background: var(--azure-100);   color: var(--azure-700); }
.pill-apricot { background: var(--apricot-100); color: var(--apricot-700); }
.pill-blush   { background: var(--blush-100);   color: var(--blush-700); }

.concern-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .concern-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 3rem; } }
.concern-panel h2 { font-size: 1.5rem; }
@media (min-width: 640px) { .concern-panel h2 { font-size: 1.875rem; } }
.concern-panel h3 { margin-top: 1.5rem; font-size: 1rem; }
.sign-list { margin-top: 0.75rem; display: grid; gap: 0.5rem; }
.sign { display: flex; align-items: flex-start; gap: 0.75rem; }
.sign .tick { margin-top: 0.125rem; display: grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 999px; flex-shrink: 0; }
.sign .tick svg { width: 0.75rem; height: 0.75rem; }
.sign span:last-child { font-size: 0.9375rem; color: var(--ink-soft); }
.read-link {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.read-link svg { width: 1rem; height: 1rem; transition: transform 200ms; }
.read-link:hover svg { transform: translateX(2px); }
.pick-list { margin-top: 0.75rem; display: grid; gap: 0.75rem; }
.pick {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: 0.75rem;
  transition: box-shadow 200ms;
}
.pick:hover { box-shadow: var(--shadow-card); }
.pick-thumb {
  display: flex; align-items: center; justify-content: center;
  width: 4rem; height: 4rem;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  background: linear-gradient(to bottom, var(--surface-tint), var(--surface-soft));
  padding-block: 0.5rem;
}
.pick-thumb svg { height: 82%; width: auto; }
.pick-thumb.is-jar svg { height: 42%; }
.pick-name { display: block; font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.pick-desc { display: block; margin-top: 0.125rem; font-size: 0.875rem; color: var(--ink-muted); }
.pick-price { font-size: 0.9375rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }

.glossary { width: 100%; min-width: 42rem; border-collapse: collapse; text-align: left; }
.glossary thead tr { border-bottom: 1px solid var(--line-strong); }
.glossary th, .glossary td { padding-block: 1rem; padding-right: 1rem; }
.glossary thead th { padding-bottom: 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--ink); }
.glossary tbody tr { border-bottom: 1px solid var(--line); }
.glossary tbody th { font-family: var(--font-display); font-size: 0.9375rem; font-weight: 700; color: var(--ink); }
.glossary td { font-size: 0.875rem; color: var(--ink-soft); }
.glossary td.type { color: var(--ink-muted); }
.glossary td ul { display: flex; flex-wrap: wrap; gap: 0.25rem 0.75rem; }
.glossary td a { font-weight: 500; color: var(--brand-700); text-decoration: underline; text-underline-offset: 4px; }
/* Type is the least load-bearing column, so it is the one that goes on a
   phone; display:none drops it from the accessibility tree too, keeping the
   header and body cells in step. */
@media (max-width: 767px) {
  .glossary { min-width: 0; }
  .glossary th, .glossary td { padding-right: 0.5rem; }
  .glossary thead th:nth-child(2), .glossary tbody td.type { display: none; }
  .glossary thead th { font-size: 0.8125rem; }
  .glossary tbody th { font-size: 0.875rem; }
  .glossary td { font-size: 0.8125rem; }
}

.never-grid { margin-top: 2.25rem; display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .never-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .never-grid { grid-template-columns: repeat(3, 1fr); } }
.never-card { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface); padding: 1.5rem; }
.never-card .x { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 999px; background: var(--line); color: var(--ink-muted); }
.never-card .x svg { width: 1rem; height: 1rem; }
.never-card h3 { margin-top: 1rem; font-size: 1.125rem; }
.never-card p { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); }

.principles { margin-top: 2.5rem; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .principles { grid-template-columns: repeat(2, 1fr); } }
.principle { border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--surface-soft); padding: 1.5rem; }
.principle .n {
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 999px;
  background: var(--brand-800);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
}
.principle h3 { margin-top: 1rem; font-size: 1.125rem; }
.principle p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }

.about-media { overflow: hidden; border-radius: var(--r-2xl); }
.about-media > div { aspect-ratio: 3 / 2; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-stats {
  margin-top: 3.5rem;
  display: grid;
  gap: 1.5rem;
  border-radius: var(--r-2xl);
  background: var(--brand-800);
  padding: 2rem 1.5rem;
}
@media (min-width: 640px) { .about-stats { grid-template-columns: repeat(3, 1fr); padding-inline: 2.25rem; } }

.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem; }
.inline-links { margin-top: 2.5rem; font-size: 0.9375rem; color: var(--ink-soft); }
.inline-links a { font-weight: 600; color: var(--brand-700); text-decoration: underline; text-underline-offset: 4px; }

.notfound { max-width: 32rem; margin-inline: auto; text-align: center; padding-block: 5rem; }
.notfound .code { font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.18em; color: var(--brand-600); }
.notfound h1 { margin-top: 1rem; font-size: 2.25rem; }
@media (min-width: 640px) { .notfound h1 { font-size: 3rem; } }
.notfound p { margin-top: 1rem; font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.border-top { border-top: 1px solid var(--line); padding-top: 3rem; }

/* ------------------------------------------------- responsive corrections */

/* Grid and flex children default to min-width:auto, which stops them
   shrinking below their content and pushes them out of their track. Every
   multi-column layout here is allowed to shrink instead. */
.routine-grid > *,
.split > *,
.faq-grid > *,
.banner-grid > *,
.glow-grid > *,
.quiz-grid > *,
.pdp-grid > *,
.cart-layout > *,
.checkout-grid > *,
.concern-grid > *,
.reviews-grid > *,
.footer-top > *,
.pillar > *,
.value > *,
.stat > * {
  min-width: 0;
}

/* Three routine steps side by side collapse to ~94px columns on a phone.
   Below sm each step becomes a full-width row instead: art left, copy right. */
@media (max-width: 639px) {
  .routine-steps { grid-template-columns: 1fr; gap: 0.75rem; }
  .routine-step {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    background: var(--surface);
    padding: 0.75rem;
  }
  .routine-art { height: 5.5rem; width: 5rem; flex-shrink: 0; }
  .routine-art-bg { inset: 0; }
  .routine-art-inner { padding-bottom: 0.375rem; }
  .routine-arrow { display: none; }
  .routine-meta { margin-top: 0; flex: 1; }
}

/* --------------------------------------------------------- explore cards */

.explore { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .explore { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .explore { grid-template-columns: repeat(4, 1fr); } }

.explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: 1.5rem;
  transition: transform 300ms var(--ease), box-shadow 300ms var(--ease), border-color 300ms;
}
.explore-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.explore-card h3 { font-size: 1.125rem; }
.explore-card p { font-size: 0.875rem; line-height: 1.6; color: var(--ink-muted); }
.explore-go {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
}
.explore-go svg { width: 0.875rem; height: 0.875rem; stroke-width: 2.2; transition: transform 260ms var(--ease); }
.explore-card:hover .explore-go svg { transform: translateX(4px); }
.explore-card.tint-brand:hover   { border-color: var(--brand-300); }
.explore-card.tint-sage:hover    { border-color: var(--sage-300); }
.explore-card.tint-azure:hover   { border-color: var(--azure-300); }
.explore-card.tint-apricot:hover { border-color: var(--apricot-300); }

/* ------------------------------------------------------------- timeline */

.timeline { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.tl-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  padding: 1.75rem 1.5rem;
}
.tl-when {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}
.tl-card h3 { margin-top: 1rem; font-size: 1.125rem; }
.tl-card p { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.7; color: var(--ink-soft); }
/* The connecting rule only makes sense once the cards sit in a row. */
@media (min-width: 768px) {
  .tl-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 2.6rem;
    right: -1.25rem;
    width: 1.25rem;
    height: 1px;
    background: var(--line-strong);
  }
}

/* -------------------------------------------------------------- bundles */

.bundles { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .bundles { grid-template-columns: repeat(3, 1fr); } }
.bundle {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  overflow: hidden;
  transition: box-shadow 250ms;
}
.bundle:hover { box-shadow: var(--shadow-lift); }
.bundle-art {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  height: 11rem;
  padding: 1.25rem 1rem 0;
}
.bundle-art svg { height: 100%; width: auto; }
.bundle-art .is-jar { height: 48%; }
.bundle-body { display: flex; flex: 1; flex-direction: column; padding: 1.5rem; }
.bundle-body h3 { font-size: 1.25rem; }
.bundle-desc { margin-top: 0.5rem; font-size: 0.9375rem; line-height: 1.6; color: var(--ink-muted); }
.bundle-list { margin-top: 1rem; display: grid; gap: 0.4rem; }
.bundle-list li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--ink-soft); }
.bundle-list svg { width: 0.875rem; height: 0.875rem; stroke-width: 2.2; flex-shrink: 0; }
.bundle-price { margin-top: 1.25rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem; }
.bundle-now { font-size: 1.375rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.bundle-was { font-size: 0.9375rem; color: var(--ink-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.bundle-save {
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--sage-100);
  color: var(--sage-700);
}
.bundle-body .btn { margin-top: 1.25rem; }

/* ---------------------------------------------------------- photography */

/* Product and scene imagery are photographs now, so the sizing rules are
   object-fit rather than SVG height percentages. */
.product-img,
.fill-img,
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-scene {
  overflow: hidden;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lift);
}
.hero-ring {
  position: absolute;
  inset: 0;
  border-radius: var(--r-2xl);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.35);
  pointer-events: none;
}

.glow-art,
.news-art { overflow: hidden; }
.glow-art { border-radius: 0 var(--r-2xl) var(--r-2xl) 0; }
@media (max-width: 1199px) { .glow-art { border-radius: 0 0 var(--r-2xl) var(--r-2xl); } }
.news-art { border-radius: 0 var(--r-2xl) var(--r-2xl) 0; }
@media (max-width: 1023px) { .news-art { border-radius: 0 0 var(--r-2xl) var(--r-2xl); } }

.science-media {
  width: 100%;
  max-width: 26rem;
  margin-inline: auto;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 999px;
  box-shadow: var(--shadow-lift);
}

.active-swatch img { width: 100%; height: 100%; object-fit: cover; }

/* The footer watermark was the vector sprig; photography replaces it. */
.footer-botanical { display: none; }

/* --------------------------------------------------- branded bottle art */

/* Product surfaces draw the bottle so the Vitara label is legible; the jar
   is wide rather than tall, so it is sized against the tile separately. */
.bottle-art { height: 100%; width: auto; max-width: 100%; }
.card-tile .bottle-art.is-jar { height: 56%; }
.pdp-gallery svg.is-jar { height: 46%; }
.cart-thumb svg.is-jar,
.pick-thumb svg.is-jar { height: 42%; }
.order-thumb svg.is-jar { height: 40%; }
.bundle-shot { display: flex; align-items: flex-end; justify-content: center; height: 100%; min-width: 0; }
.bundle-shot .bottle-art.is-jar { height: 48%; }
.routine-art-inner .bottle-art.is-jar { height: 52%; }

/* ------------------------------------------------------------- hero slider */

.hero-slider { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity 1200ms var(--fade), transform 1600ms var(--fade);
}
/* The photograph is blurred back into a backdrop and a tinted veil lifts it,
   so the branded bottle in front stays the sharpest thing in the frame. */
.hero-bg { filter: blur(9px) saturate(1.05); transform: scale(1.12); }
.hero-veil {
  position: absolute;
  inset: 0;
  opacity: 0.72;
  mix-blend-mode: normal;
}
.hero-bottle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1rem 3.25rem;
}
.hero-bottle .bottle-art {
  height: 100%;
  width: auto;
  filter: drop-shadow(0 1.5rem 2rem rgb(37 19 32 / 0.28));
}
.hero-bottle .bottle-art.is-jar { height: 56%; }
@keyframes captionIn {
  from { opacity: 0; transform: translateY(-0.25rem); }
  to   { opacity: 1; transform: none; }
}
.hero-caption.is-changing { animation: captionIn 600ms var(--fade); }
.hero-caption {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 2;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  background: rgb(255 255 255 / 0.85);
  backdrop-filter: blur(6px);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}
@media (max-width: 639px) {
  .hero-bottle { padding: 1.5rem 1rem 2.75rem; }
  .hero-caption { right: 0.75rem; top: 0.75rem; font-size: 0.7rem; }
}

.hero-slide.is-active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Controls sit on the photo, so they carry their own scrim. */
.hero-controls {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0.5rem 0.4rem 0.4rem;
  border-radius: 999px;
  background: rgb(37 19 32 / 0.55);
  backdrop-filter: blur(8px);
}
@media (min-width: 640px) { .hero-controls { left: 1.25rem; bottom: 1.25rem; } }

.hero-playpause {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--brand-900);
  cursor: pointer;
  transition: background-color 200ms, transform 200ms var(--ease);
}
.hero-playpause:hover { background: #fff; transform: scale(1.06); }
.hero-playpause svg { width: 0.85rem; height: 0.85rem; }

.hero-dots { display: flex; align-items: center; gap: 0.4rem; }
.hero-dot {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.45);
  cursor: pointer;
  transition: width 320ms var(--ease), background-color 320ms;
}
.hero-dot:hover { background: rgb(255 255 255 / 0.75); }
.hero-dot[aria-current="true"] { width: 1.5rem; background: #fff; }

/* The controls are only meaningful for a sighted pointer/keyboard user; keep
   them clear of the focus ring on the dark scrim. */
.hero-controls :focus-visible { outline-color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
}
