/* ============================================================
   NutraSafe site v3 :: 2026-06-15 bold direction
   Locked design system. See CLAUDE.md "Public-Site Voice + Visual
   Direction (Locked 2026-06-15)" for the rules behind every choice.
   ============================================================ */

:root {
  /* Cream paper + butter highlight */
  --cream:        #FAF2D9;
  --cream-deep:   #F2E9C9;
  --butter:       #F6EAB6;
  --surface:      #FFFBEC;
  --paper:        #FAF6E5;

  /* Mustard hero block + Pro accent */
  --yellow:       #E89E2A;
  --yellow-hi:    #F2C25C;
  --yellow-pop:   #FFD370;

  /* Indigo: squiggle, hover, sticker accent */
  --indigo:       #3340E0;
  --indigo-hi:    #5B6BF5;

  /* Coral: FLAG, warnings */
  --coral:        #E84F3D;
  --coral-deep:   #C73B2A;

  /* Sage: "safer / cleaner" signal (used sparingly) */
  --sage:         #436E58;
  --sage-soft:    #C6D6CC;

  /* Ink + greys */
  --ink:          #161516;
  --ink-soft:     rgba(22, 21, 22, 0.7);
  --ink-fade:     rgba(22, 21, 22, 0.46);
  --ink-trace:    rgba(22, 21, 22, 0.16);

  --rule:         rgba(22, 21, 22, 0.14);
  --rule-soft:    rgba(22, 21, 22, 0.08);

  /* Type stacks. NO Inter, NO Roboto, NO Fraunces, NO Cabinet Grotesk. */
  --display: 'Bricolage Grotesque', 'Helvetica Neue', system-ui, sans-serif;
  --body:    'Bricolage Grotesque', 'Helvetica Neue', system-ui, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Legacy token alias kept so converter's old inline styles don't break */
  --cobalt: var(--indigo);
  --marigold: var(--yellow);
  --pink: var(--coral);

  --gutter: clamp(18px, 3.4vw, 56px);
  --section-pad: clamp(72px, 10vw, 132px);

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-back: cubic-bezier(0.34, 1.4, 0.4, 1);
}

/* ============================================================
   Reset + body
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 450;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-feature-settings: "ss01", "ss02", "cv02";
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--yellow-pop); }

/* ============================================================
   Frame + type primitives
   ============================================================ */
.wrap {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.label {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.tnum { font-variant-numeric: tabular-nums; }

/* Tilted yellow-on-yellow pill highlight (the brand-distinguishing word) */
.hl-tilt {
  display: inline-block;
  background: var(--yellow-pop);
  color: var(--ink);
  font-style: italic;
  font-weight: 800;
  font-variation-settings: "wdth" 100, "opsz" 96;
  padding: 0.02em 0.18em 0.08em;
  border-radius: 9px;
  transform: rotate(-3.4deg);
  box-shadow: 5px 5px 0 var(--ink);
  margin: 0 0.18em 0 0.05em;
  position: relative;
  z-index: 2;
}
.hl-tilt::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9px;
  box-shadow: inset 0 0 0 2px var(--ink);
}

.hl-black {
  background: var(--ink);
  color: var(--cream);
  padding: 0.02em 0.16em 0.08em;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
  margin: 0 0.04em;
}

.hl-coral {
  background: var(--coral);
  color: var(--cream);
  padding: 0.02em 0.16em 0.08em;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
}

/* Indigo squiggle SVG underline */
.squiggle {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.squiggle::after {
  content: "";
  position: absolute;
  left: -0.1em; right: -0.1em;
  bottom: -0.22em;
  height: 14px;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 240 14' xmlns='http://www.w3.org/2000/svg' fill='none'><path d='M2 8 C 20 -2, 40 14, 60 6 S 100 0, 120 8 S 160 14, 180 4 S 220 12, 238 6' stroke='%233340E0' stroke-width='4' stroke-linecap='round' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-size: 100% 14px;
  pointer-events: none;
}
.squiggle--coral::after {
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 240 14' xmlns='http://www.w3.org/2000/svg' fill='none'><path d='M2 8 C 20 -2, 40 14, 60 6 S 100 0, 120 8 S 160 14, 180 4 S 220 12, 238 6' stroke='%23E84F3D' stroke-width='4' stroke-linecap='round' fill='none'/></svg>");
}

/* Chip badges */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
}
.chip--coral { background: var(--coral); }
.chip--indigo { background: var(--indigo); }
.chip--yellow { background: var(--yellow); color: var(--ink); }
.chip--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 24px 14px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.btn .arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #000; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn--yellow {
  background: var(--yellow-pop); color: var(--ink);
  border: 1.5px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.btn--yellow:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn--coral { background: var(--coral); color: var(--cream); }
.btn--coral:hover { background: var(--coral-deep); transform: translateY(-2px); }

/* ============================================================
   Topbar (existing megamenu nav structure, restyled bold)
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: color-mix(in srgb, var(--cream) 92%, transparent);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 14px var(--gutter);
  max-width: 1400px;
  margin: 0 auto;
}
.topbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 24, "wdth" 100;
  font-size: 22px;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.brand-mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  overflow: hidden;
  display: inline-flex;
  flex-shrink: 0;
  box-shadow: 0 2px 0 var(--ink-trace);
}
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.ampersand {
  width: 8px; height: 8px;
  background: var(--coral);
  border-radius: 50%;
  display: inline-block;
  margin-left: 2px;
}

.topbar-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav-item { position: relative; }
.nav-trigger {
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
  padding: 6px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.25s var(--ease);
}
.nav-trigger:hover { color: var(--indigo); }
.topbar-nav > a, .topbar-nav .nav-item > a {
  padding: 6px 0;
  transition: color 0.25s var(--ease);
  position: relative;
  color: var(--ink);
}
.topbar-nav a:hover { color: var(--indigo); }
.caret {
  width: 7px; height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

/* Megamenu dropdown */
.nav-megamenu {
  display: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  top: 100%;
  min-width: 540px;
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  box-shadow: 0 30px 50px -20px rgba(0,0,0,0.18);
  padding: 28px;
  z-index: 100;
}
/* Invisible buffer above the menu so the cursor doesn't fall off the :hover
   target when it traverses the 8px visual gap between the nav button and the
   dropdown. Without this the menu closes mid-drag-down. */
.nav-megamenu::before {
  content: "";
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}
.nav-item:hover .nav-megamenu { display: block; }
/* keyboard a11y: open when Tab focuses a child (mouse click doesn't trigger :focus-visible) */
.nav-item:has(:focus-visible) .nav-megamenu { display: block; }
.megamenu-inner {
  display: grid;
  gap: 32px;
}
/* minmax(0, 1fr) forces TRUE equal columns. minmax(160px, 1fr) lets columns
   grow when content needs it, which makes uneven column widths whenever one
   heading is longer than the others. (0, 1fr) keeps every column the same
   width and column headings should be shortened if they overflow. */
.megamenu-3col { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.megamenu-4col { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.megamenu-5col { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.nav-item:has(.megamenu-4col) .nav-megamenu { min-width: 780px; }
.nav-item:has(.megamenu-5col) .nav-megamenu { min-width: 920px; }
.megamenu-col__title, .megamenu-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin-bottom: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.megamenu-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.megamenu-col li a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.megamenu-col li a:hover { color: var(--indigo); }
.all-link {
  color: var(--indigo) !important;
  font-weight: 600 !important;
}

.topbar-cta, .nav-get {
  padding: 11px 18px 10px;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.topbar-cta:hover, .nav-get:hover { background: #000; transform: translateY(-1px); }

/* Mobile burger — hidden on desktop, shown ≤900px */
.nav-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.nav-burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .topbar-inner { grid-template-columns: 1fr auto auto; gap: 10px; }
  .nav-burger { display: inline-flex; }
  /* Keep the CTA on a single line in the tight phone header */
  .topbar-brand { min-width: 0; font-size: 20px; }
  .topbar-cta { padding: 9px 14px 8px; font-size: 13.5px; }

  /* Reuse the desktop nav markup as a slide-down mobile panel.
     Anchored to .topbar with position:absolute (NOT fixed): the header's
     backdrop-filter makes it the containing block for fixed descendants, which
     would trap a fixed panel inside the ~72px header box. top:100% drops the
     panel right below the header; calc(100dvh - 100%) fills the rest of the
     viewport (100% here = header height, the containing-block height). */
  .topbar-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    max-height: calc(100dvh - 100%);
    padding: 6px var(--gutter) 48px;
    background: var(--cream);
    border-top: 1.5px solid var(--ink);
    box-shadow: 0 24px 40px -24px rgba(0,0,0,0.25);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 55; /* below the sticky .topbar (z-index 60) so header + burger stay on top */
  }
  .topbar-nav.open { display: flex; }

  .nav-item { width: 100%; border-bottom: 1px solid var(--rule); position: static; }
  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 17px 2px;
    font-size: 17px;
    font-weight: 600;
  }
  .nav-trigger .caret { transition: transform 0.25s var(--ease); }
  .nav-item.open .nav-trigger .caret { transform: rotate(-135deg) translateY(2px); }

  /* Megamenu → static single-column accordion drawer */
  .nav-megamenu {
    position: static;
    transform: none;
    min-width: 0 !important;
    width: 100%;
    padding: 0 0 14px 2px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }
  .nav-item:has(.megamenu-4col) .nav-megamenu,
  .nav-item:has(.megamenu-5col) .nav-megamenu { min-width: 0 !important; }
  .nav-megamenu::before { display: none; }
  /* Only the JS-set .open controls visibility on mobile — neutralise hover/focus */
  .nav-item:hover .nav-megamenu,
  .nav-item:has(:focus-visible) .nav-megamenu { display: none; }
  .nav-item.open .nav-megamenu { display: block; }
  .megamenu-inner,
  .megamenu-3col,
  .megamenu-4col,
  .megamenu-5col { grid-template-columns: 1fr !important; gap: 20px; }
  .megamenu-col__title { margin-bottom: 8px; }
  .megamenu-col li a { font-size: 16px; padding: 3px 0; display: inline-block; }
}

/* ============================================================
   Hero (homepage)
   ============================================================ */
.hero {
  padding: var(--gutter) var(--gutter);
  padding-top: clamp(20px, 3vw, 32px);
}
.hero__block {
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 28px;
  padding: clamp(40px, 5.5vw, 76px) clamp(28px, 4vw, 64px) clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
  position: relative;
  box-shadow: 0 24px 0 -16px var(--cream-deep), 0 32px 60px -28px rgba(0,0,0,0.35);
  overflow: hidden;
}
.hero__sun {
  position: absolute;
  top: -120px; right: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: var(--yellow-hi);
  opacity: 0.55;
  pointer-events: none;
}
.hero__sun-2 {
  position: absolute;
  bottom: -80px; left: -60px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--yellow-hi);
  opacity: 0.45;
  pointer-events: none;
}
.hero__content { position: relative; z-index: 1; }
.hero__headline {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 96, "wdth" 100;
  font-size: clamp(42px, 7.2vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero__headline em { font-style: italic; font-weight: 700; }
.hero__lede {
  font-size: clamp(16px, 1.4vw, 19.5px);
  line-height: 1.5;
  color: var(--ink);
  max-width: 38ch;
  font-weight: 500;
  margin-bottom: 32px;
}
.hero__lede strong { font-weight: 700; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 18px; }
.hero__note {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(22, 21, 22, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero__note .dot { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }

/* Real-screen phone shots (pre-cropped, used in <img>) */
.real-screen { display: block; width: 100%; }
.real-screen img { display: block; width: 100%; height: auto; }
.hero__real-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.hero__real-screen {
  width: clamp(260px, 30vw, 380px);
  transform: rotate(2.4deg);
  transition: transform 0.6s var(--ease);
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.35));
}
.hero__real-screen:hover { transform: rotate(0deg) translateY(-6px); }

.phone__sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px 9px;
  background: var(--indigo);
  color: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 4px 4px 0 var(--ink);
  transform: rotate(-8deg);
}
.hero__real-wrap .phone__sticker {
  position: absolute;
  bottom: 12%;
  left: -6%;
}

@media (max-width: 900px) {
  .hero__block { grid-template-columns: 1fr; }
  .hero__real-wrap { order: -1; }
  .hero__real-screen { transform: rotate(0deg); }
}

/* ============================================================
   Marquee
   ============================================================ */
.marquee {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  padding: 18px 0;
}
.marquee__inner {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee-scroll 38s linear infinite;
  font-family: var(--display);
  font-weight: 600;
  font-variation-settings: "opsz" 96;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.02em;
}
.marquee__inner span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee__inner i { font-style: italic; color: var(--yellow-pop); }
.marquee__dot {
  width: 12px; height: 12px;
  background: var(--coral);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ============================================================
   Section frame (used across all pages, not just homepage)
   ============================================================ */
.section {
  padding: var(--section-pad) 0;
  position: relative;
}
.section--ink { background: var(--ink); color: var(--cream); }
.section--paper { background: var(--paper); }
.section--cream-deep { background: var(--cream-deep); }
.section--indigo { background: var(--indigo); color: var(--cream); }

.section__head {
  margin-bottom: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: end;
}
.section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.section__eyebrow .num {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  padding: 4px 8px 3px;
  background: var(--ink);
  color: var(--cream);
  border-radius: 4px;
}
.section--ink .section__eyebrow .num { background: var(--yellow-pop); color: var(--ink); }
.section__eyebrow .l {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section--ink .section__eyebrow .l { color: rgba(250, 242, 217, 0.7); }
.section__title {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 96, "wdth" 100;
  font-size: clamp(36px, 5.4vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.034em;
  color: var(--ink);
  max-width: 16ch;
}
.section--ink .section__title,
.section--indigo .section__title { color: var(--cream); }
.section__title em { font-style: italic; font-weight: 700; }
.section__lede {
  font-size: clamp(15.5px, 1.2vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 46ch;
  justify-self: end;
  align-self: end;
  padding-bottom: 6px;
  font-weight: 500;
}
.section--ink .section__lede { color: rgba(250, 242, 217, 0.7); }
.section--indigo .section__lede { color: rgba(250, 242, 217, 0.8); }
@media (max-width: 800px) {
  .section__head { grid-template-columns: 1fr; gap: 24px; }
  .section__lede { justify-self: start; }
}

/* ============================================================
   Tile grid
   ============================================================ */
.tiles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.tile {
  border: 1.5px solid var(--ink);
  border-radius: 22px;
  padding: 26px 26px 24px;
  background: var(--surface);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
  min-height: 280px;
}
.tile:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.tile__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.tile__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--yellow-pop);
  display: flex;
  align-items: center;
  justify-content: center;
}
.tile__icon svg { width: 22px; height: 22px; }
.tile__num {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-fade);
  font-weight: 500;
}
.tile__title {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.05;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.tile__title em { font-style: italic; }
.tile__body {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 32ch;
}
.tile__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tile--food  { grid-column: span 7; background: var(--yellow); }
.tile--add   { grid-column: span 5; background: var(--ink); color: var(--cream); }
.tile--micro { grid-column: span 5; background: var(--butter); }
.tile--train { grid-column: span 4; }
.tile--fast  { grid-column: span 3; background: var(--indigo); color: var(--cream); }
.tile--react { grid-column: span 7; background: var(--coral); color: var(--cream); }
.tile--note  { grid-column: span 5; background: var(--sage-soft); }

.tile--add .tile__title, .tile--fast .tile__title, .tile--react .tile__title { color: var(--cream); }
.tile--add .tile__body, .tile--fast .tile__body, .tile--react .tile__body { color: rgba(250, 242, 217, 0.78); }
.tile--add .tile__num, .tile--fast .tile__num, .tile--react .tile__num { color: rgba(250, 242, 217, 0.55); }
.tile--add .tile__icon { background: var(--cream); color: var(--ink); }
.tile--fast .tile__icon { background: var(--cream); color: var(--indigo); }
.tile--react .tile__icon { background: var(--cream); color: var(--coral); }
.tile--note .tile__title { color: var(--ink); }

/* Food tile preview (diary mini-card) */
.tile--food .preview {
  margin-top: 6px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 16px;
  padding: 14px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tile--food .preview .row {
  display: grid;
  grid-template-columns: 1fr auto;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--rule);
}
.tile--food .preview .row:last-child { border-bottom: 0; }
.tile--food .preview .row .name { color: var(--ink); font-weight: 600; }
.tile--food .preview .row .name small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-fade);
  margin-top: 1px;
}
.tile--food .preview .row .kcal {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}

/* Additive tile preview (E-number card) */
.tile--add .preview {
  margin-top: 4px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tile--add .preview .pname {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  color: var(--cream);
  letter-spacing: -0.012em;
}
.tile--add .preview .pdetail {
  font-size: 12.5px;
  color: rgba(250, 242, 217, 0.7);
  line-height: 1.45;
}
.tile--add .preview .ptag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 10px 3px;
  background: var(--coral);
  color: var(--cream);
  border-radius: 999px;
  width: fit-content;
}

/* Micronutrient tile bars */
.tile--micro .preview { margin-top: 4px; display: flex; flex-direction: column; gap: 8px; }
.tile--micro .preview .row {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
}
.tile--micro .preview .row .lbl { color: var(--ink); }
.tile--micro .preview .row .pct {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-fade);
}
.tile--micro .preview .bar {
  height: 8px;
  background: rgba(22, 21, 22, 0.08);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.tile--micro .preview .bar .fill {
  display: block;
  height: 100%;
  background: var(--indigo);
  border-radius: 999px;
  transition: width 0.8s var(--ease);
}
.tile--micro .preview .bar .fill.warn { background: var(--coral); }
.tile--micro .preview .bar .fill.sage { background: var(--sage); }

/* Training tile PB widget */
.tile--train .mini-pb {
  margin-top: 6px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}
.tile--train .mini-pb .exercise {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
}
.tile--train .mini-pb .exercise small {
  display: block;
  font-size: 11px;
  color: var(--ink-fade);
  font-weight: 500;
  margin-top: 2px;
}
.tile--train .mini-pb .weight {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  color: var(--indigo);
  letter-spacing: -0.02em;
}
.tile--train .mini-pb .weight sup { font-size: 11px; color: var(--ink-fade); font-weight: 600; }

/* Fasting tile timer */
.tile--fast .timer {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--cream);
}
.tile--fast .timer .lbl {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin-left: 8px;
  color: rgba(250, 242, 217, 0.6);
}

/* Reactions tile pattern */
.tile--react .pattern {
  margin-top: 6px;
  background: rgba(255,255,255,0.09);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tile--react .pattern .row {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--cream);
}
.tile--react .pattern .row .dots { display: flex; gap: 3px; }
.tile--react .pattern .row .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(250, 242, 217, 0.18);
}
.tile--react .pattern .row .dot.on { background: var(--yellow-pop); }
.tile--react .pattern .row .pct { font-family: var(--mono); font-size: 11px; }

.tile--note .tile__title { font-size: 22px; }
.tile--note .note-content { font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.tile--note .source-line {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

@media (max-width: 1100px) {
  .tile--food  { grid-column: span 12; }
  .tile--add   { grid-column: span 12; }
  .tile--micro { grid-column: span 7; }
  .tile--train { grid-column: span 5; }
  .tile--fast  { grid-column: span 5; }
  .tile--react { grid-column: span 7; }
  .tile--note  { grid-column: span 12; }
}
@media (max-width: 720px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { grid-column: span 1 !important; min-height: auto; }
}

/* ============================================================
   Worked example
   ============================================================ */
.example {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.example__copy h3 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 60;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin-bottom: 22px;
  max-width: 16ch;
}
.example__copy h3 em { font-style: italic; }
.example__copy p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 14px;
  max-width: 46ch;
}
.example__steps { margin-top: 26px; display: grid; gap: 0; }
.example__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-top: 1.5px solid var(--ink);
  align-items: start;
}
.example__step:last-child { border-bottom: 1.5px solid var(--ink); }
.example__step .num {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 24;
  font-size: 22px;
  font-style: italic;
  color: var(--indigo);
  letter-spacing: -0.02em;
}
.example__step .t { font-size: 15px; color: var(--ink); font-weight: 600; }
.example__step .t small {
  display: block;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-top: 2px;
  line-height: 1.45;
}
.example__product {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
}
.example__product .top {
  background: var(--coral);
  color: var(--cream);
  padding: 22px 26px;
  border-bottom: 2px solid var(--ink);
}
.example__product .top .stamp {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  opacity: 0.85;
  margin-bottom: 8px;
}
.example__product .top h4 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 60;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.1;
  letter-spacing: -0.016em;
}
.example__product .top .sub {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.85;
}
.example__product .panel { padding: 24px 26px 26px; }
.example__product .panel h5 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.example__product .panel h5 .unit {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-soft);
}
.example__product .nutri {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-bottom: 22px;
}
.example__product .nutri .cell {
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 12px;
  padding: 14px 8px 12px;
  text-align: center;
}
.example__product .nutri .cell .v {
  font-family: var(--display);
  font-weight: 700;
  font-feature-settings: "tnum";
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.025em;
}
.example__product .nutri .cell .l {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin-top: 6px;
}
.example__product .nutri .cell.hot { background: var(--yellow-pop); }
.example__product .ingr {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 22px;
}
.example__product .ingr .hl {
  background: var(--yellow-pop);
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1.5px solid var(--ink);
}
.example__product .flag {
  background: var(--coral);
  color: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 14px;
  padding: 16px 18px 18px;
}
.example__product .flag .tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: var(--cream);
  color: var(--coral-deep);
  padding: 3px 8px 2px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.example__product .flag h6 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.014em;
  margin-bottom: 8px;
}
.example__product .flag p { font-size: 13.5px; line-height: 1.5; margin-bottom: 12px; }
.example__product .flag .source {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  padding: 5px 10px 4px;
  background: rgba(255,255,255,0.16);
  border-radius: 6px;
}
@media (max-width: 900px) { .example { grid-template-columns: 1fr; } }

/* ============================================================
   Ledger
   ============================================================ */
.ledger {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.ledger__cell {
  background: var(--cream);
  border: 1.5px solid var(--cream);
  border-radius: 22px;
  padding: 32px 28px 28px;
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.ledger__cell:nth-child(1) { background: var(--yellow); border-color: var(--ink); }
.ledger__cell:nth-child(2) { background: var(--indigo); border-color: var(--ink); color: var(--cream); }
.ledger__cell:nth-child(3) { background: var(--coral); border-color: var(--ink); color: var(--cream); }
.ledger__cell:nth-child(4) { background: var(--cream); border-color: var(--ink); color: var(--ink); }
.section--ink .ledger__cell:nth-child(1),
.section--ink .ledger__cell:nth-child(2),
.section--ink .ledger__cell:nth-child(3),
.section--ink .ledger__cell:nth-child(4) {
  border-color: var(--cream);
}
.section--ink .ledger__cell:nth-child(4) .l { color: var(--ink-soft); }
.section--ink .ledger__cell:nth-child(4) .v { color: var(--ink); }
.section--ink .ledger__cell:nth-child(4) .n { color: var(--ink-soft); }
.ledger__cell .l {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.ledger__cell:nth-child(2) .l,
.ledger__cell:nth-child(3) .l { color: rgba(250, 242, 217, 0.85); }
.ledger__cell .v {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 96, "wdth" 100;
  font-feature-settings: "tnum";
  font-size: clamp(54px, 6.8vw, 100px);
  line-height: 0.88;
  letter-spacing: -0.04em;
}
.ledger__cell .v em { font-style: italic; font-weight: 700; font-size: 0.65em; }
.ledger__cell .v .small {
  font-size: 0.4em;
  vertical-align: 0.5em;
  font-weight: 700;
  margin-left: 0.04em;
}
.ledger__cell .n {
  margin-top: 18px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-soft);
}
.ledger__cell:nth-child(2) .n,
.ledger__cell:nth-child(3) .n { color: rgba(250, 242, 217, 0.85); }
@media (max-width: 980px) { .ledger { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ledger { grid-template-columns: 1fr; } }

/* ============================================================
   AI Coach
   ============================================================ */
.coach-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.coach__copy {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(250, 242, 217, 0.85);
  max-width: 42ch;
  margin-top: 20px;
}
.coach__notes {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.coach__note {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.coach__note .n {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--yellow-pop);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}
.coach__note .t {
  font-size: 15px;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.4;
}
.coach__note .t span {
  display: block;
  margin-top: 2px;
  font-weight: 500;
  font-size: 13.5px;
  color: rgba(250, 242, 217, 0.7);
}
.coach__real-wrap { position: relative; max-width: 380px; margin: 0 auto; }
.coach__real-shadow {
  position: absolute;
  top: 18px;
  left: 18px;
  right: -18px;
  bottom: -18px;
  background: var(--yellow);
  border-radius: 64px;
  z-index: 0;
}
.coach__real-screen {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,0.3));
}
@media (max-width: 900px) { .coach-wrap { grid-template-columns: 1fr; gap: 40px; } }

/* ============================================================
   Pricing
   ============================================================ */
.price {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.price__card {
  background: var(--surface);
  border: 2px solid var(--ink);
  border-radius: 24px;
  padding: clamp(28px, 3.6vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  transition: transform 0.4s var(--ease-back), box-shadow 0.4s var(--ease);
}
.price__card:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--ink); }
.price__card.pro { background: var(--ink); color: var(--cream); }
.price__head { display: flex; justify-content: space-between; align-items: flex-start; }
.price__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.price__card.pro .price__label { color: var(--yellow-pop); }
.price__stamp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 5px;
  background: var(--yellow-pop);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transform: rotate(3deg);
}
.price__num { display: flex; align-items: baseline; gap: 10px; }
.price__num .big {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 96, "wdth" 100;
  font-feature-settings: "tnum";
  font-size: clamp(56px, 6vw, 88px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}
.price__num .per { font-size: 14px; font-weight: 600; color: var(--ink-fade); }
.price__card.pro .price__num .per { color: rgba(250, 242, 217, 0.6); }
.price__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  max-width: 16ch;
}
.price__name em { font-style: italic; }
.price__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}
.price__card.pro .price__list { border-color: rgba(250, 242, 217, 0.15); }
.price__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  line-height: 1.4;
  font-size: 14.5px;
  font-weight: 500;
}
.price__list li::before {
  content: "→";
  font-family: var(--display);
  font-weight: 800;
  font-size: 16px;
  color: var(--indigo);
  line-height: 1.4;
}
.price__card.pro .price__list li::before { color: var(--yellow-pop); }
.price__list li strong { font-weight: 700; }
.price__list li small {
  display: block;
  font-size: 12.5px;
  margin-top: 2px;
  color: var(--ink-fade);
  font-weight: 500;
}
.price__card.pro .price__list li small { color: rgba(250, 242, 217, 0.62); }
.price__cta { margin-top: auto; }
.price__note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-fade);
}
.price__card.pro .price__note { color: rgba(250, 242, 217, 0.62); }
@media (max-width: 800px) { .price { grid-template-columns: 1fr; } }

/* ============================================================
   Finale CTA
   ============================================================ */
.finale {
  margin: 0 var(--gutter);
  margin-bottom: var(--gutter);
  background: var(--ink);
  color: var(--cream);
  border-radius: 28px;
  padding: clamp(60px, 8vw, 110px) clamp(28px, 5vw, 80px);
  position: relative;
  overflow: hidden;
}
.finale::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.18;
}
.finale__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: end;
}
.finale__title {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 96;
  font-size: clamp(40px, 6.2vw, 96px);
  line-height: 0.94;
  letter-spacing: -0.036em;
}
.finale__title em { font-style: italic; color: var(--yellow-pop); }
.finale__copy {
  margin-top: 28px;
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(250, 242, 217, 0.78);
  max-width: 48ch;
}
.finale__cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}
.finale__note {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 242, 217, 0.55);
}
.finale__deco {
  position: absolute;
  bottom: -32px;
  left: -2%;
  right: -2%;
  font-family: var(--display);
  font-weight: 800;
  font-style: italic;
  font-variation-settings: "opsz" 96;
  font-size: clamp(120px, 18vw, 280px);
  letter-spacing: -0.05em;
  line-height: 1;
  white-space: nowrap;
  color: rgba(250, 242, 217, 0.05);
  pointer-events: none;
  user-select: none;
}
@media (max-width: 900px) { .finale__inner { grid-template-columns: 1fr; } }

/* ============================================================
   Site footer
   ============================================================ */
.site-footer {
  padding: clamp(56px, 7vw, 88px) var(--gutter) 32px;
  background: var(--cream-deep);
}
.site-footer__top {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1.5px solid var(--ink);
}
.site-footer__tag {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 60;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  letter-spacing: -0.022em;
  margin-bottom: 24px;
  max-width: 22ch;
}
.site-footer__tag em { font-style: italic; }
.site-footer__cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.site-footer__col h3, .site-footer__col h6 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-fade);
  margin-bottom: 18px;
}
.site-footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.site-footer__col li a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.site-footer__col li a:hover { color: var(--indigo); }
.site-footer__base {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 28px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.site-footer__base strong {
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  margin-right: 8px;
  color: var(--ink);
}
@media (max-width: 1000px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; }
  .site-footer__col-tag { grid-column: span 2; }
}
@media (max-width: 600px) {
  .site-footer__top { grid-template-columns: 1fr; }
  .site-footer__col-tag { grid-column: span 1; }
  .site-footer__base { grid-template-columns: 1fr; }
}

/* ============================================================
   Legacy-body (converted pages) typography
   The converter wraps each non-homepage page's body in
   <main class="legacy-body">. Existing copy gets bold-direction
   typography until the per-page voice rewrite lands.
   ============================================================ */
.legacy-body {
  max-width: 820px;
  margin: 56px auto;
  padding: 0 var(--gutter);
}
.legacy-body h1 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 96, "wdth" 100;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}
.legacy-body h2 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 60;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 36px 0 14px;
}
.legacy-body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: "opsz" 36;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 24px 0 10px;
}
.legacy-body h4 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.005em;
  margin: 20px 0 8px;
}
.legacy-body p {
  margin-bottom: 16px;
  font-size: 17.5px;
  line-height: 1.65;
}
.legacy-body ul, .legacy-body ol { margin: 12px 0 18px 22px; }
.legacy-body li { margin-bottom: 6px; }
.legacy-body strong { font-weight: 700; }
.legacy-body em { font-style: italic; }
.legacy-body a {
  color: var(--indigo);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.legacy-body a:hover { color: var(--ink); }
.legacy-body img {
  max-width: 100%;
  height: auto;
  margin: 18px 0;
  border-radius: 12px;
  border: 2px solid var(--ink);
}
.legacy-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 15px;
}
.legacy-body th, .legacy-body td {
  border: 1.5px solid var(--ink);
  padding: 10px 12px;
  text-align: left;
}
.legacy-body th { background: var(--yellow); }
.legacy-body blockquote {
  border-left: 5px solid var(--yellow);
  padding: 14px 20px;
  margin: 24px 0;
  background: var(--surface);
  font-style: italic;
  border-radius: 4px;
}
.legacy-body .hero-cta,
.legacy-body .cta-button,
.legacy-body .btn-primary {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  background: var(--ink);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: 999px;
  text-decoration: none;
  margin: 8px 8px 8px 0;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}
.legacy-body .hero-cta:hover,
.legacy-body .cta-button:hover,
.legacy-body .btn-primary:hover {
  background: var(--sage);
  transform: translateY(-2px);
  color: var(--cream);
}
.legacy-body .warning-box {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
}
.legacy-body .warning-box h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
}
.legacy-body .hero,
.legacy-body .cta-section,
.legacy-body section.cta,
.legacy-body section.hero {
  background: transparent;
  color: inherit;
}

/* ============================================================
   Reveal animations
   ============================================================ */
@keyframes rise {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.rise { opacity: 0; animation: rise 0.9s var(--ease) forwards; }
.rise.d1 { animation-delay: 0.05s; }
.rise.d2 { animation-delay: 0.18s; }
.rise.d3 { animation-delay: 0.32s; }
.rise.d4 { animation-delay: 0.46s; }
.rise.d5 { animation-delay: 0.6s; }
.rise.d6 { animation-delay: 0.74s; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.26s; }
.reveal.d4 { transition-delay: 0.36s; }

/* ────────── FAQ (shared across landing + hub pages) ────────── */
.enum-faq {
  display: grid;
  gap: 18px;
}
.enum-faq__item {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 22px 26px;
}
.enum-faq__q {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.014em;
  margin-bottom: 10px;
}
.enum-faq__a p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.enum-faq__a p + p { margin-top: 10px; }

/* ────────── Explainer cards (educational content tiles, shared) ────────── */
.explainer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.explainer-card {
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 18px;
  padding: 24px 22px;
}
.explainer-card.is-warning { background: var(--coral); color: var(--cream); }
.explainer-card.is-yellow  { background: var(--yellow); }
.explainer-card.is-sage    { background: var(--sage-soft); }
.explainer-card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -0.014em;
  margin-bottom: 10px;
}
.explainer-card p { font-size: 14.5px; line-height: 1.55; }
.explainer-card.is-warning p { color: rgba(250,242,217,0.92); }
