/* ObyMe — brand tokens + site styles */

/* Fonts: Chillax + Satoshi from Fontshare, self-hosted and subset to Latin */
@font-face { font-family: "Chillax"; src: url("/assets/fonts/chillax-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Chillax"; src: url("/assets/fonts/chillax-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }
/* Fallbacks sized to match the web fonts, so text doesn't reflow when they load */
@font-face { font-family: "Satoshi Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Roboto"); size-adjust: 99.2%; ascent-override: 101.8%; descent-override: 24.2%; line-gap-override: 10.1%; }
@font-face { font-family: "Chillax Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Roboto"); size-adjust: 112.5%; ascent-override: 87.1%; descent-override: 29.3%; line-gap-override: 8%; }

:root {
  /* Palette */
  --ink: #2b2233;          /* Aubergine ink — headlines, dark surfaces */
  --ink-soft: #4a4152;     /* Body text */
  --muted: #685e6e;        /* Captions, sources */
  --clay: #b4553a;         /* Primary accent — warmth, action */
  --clay-deep: #93412b;    /* Hover / pressed */
  --clay-text: #a24b31;    /* Clay for small text: passes WCAG AA on cream and sand */
  --blush: #f2cdbd;        /* Soft accent */
  --peach: #e08c6e;        /* Accent on dark */
  --sage: #7f9c86;         /* Calm, health */
  --sage-deep: #3e5c4a;    /* Safety / success */
  --sage-mist: #dfe7df;    /* Sage tint surfaces */
  --cream: #faf4ec;        /* Page background */
  --sand: #f1e6d8;         /* Section background */
  --linen: #fffaf4;        /* Cards */
  --line: rgba(43, 34, 51, 0.12);

  /* Type */
  --font-display: "Chillax", "Chillax Fallback", system-ui, sans-serif;
  --font-body: "Satoshi", "Satoshi Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(43, 34, 51, 0.04), 0 12px 32px -12px rgba(43, 34, 51, 0.18);

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--blush); color: var(--ink); }

:focus-visible { outline: 3px solid var(--clay); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Typography ---------- */

h1, h2, h3, .display {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: -0.01em; }
/* The clay phrase: lighter weight, upright, in clay */
em, .em {
  font-style: normal;
  font-weight: 400;
  color: var(--clay);
}
p em, li em { color: var(--clay-text); }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; color: var(--ink-soft); max-width: 38ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--clay-text);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-deep); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand .logo { display: block; height: 38px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: 0.98rem; color: var(--ink); }
.nav-links a:hover { color: var(--clay); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 0.95rem; }

.menu-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 920px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  /* Keep the main call to action one tap away on phones */
  .nav { gap: 12px; }
  .nav > .btn-primary { margin-left: auto; min-height: 42px; padding: 0 16px; font-size: .9rem; }
  .nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--cream); padding: 12px var(--gutter) 28px;
    border-bottom: 1px solid var(--line);
  }
  .nav-open .nav-links a { display: block; padding: 12px 0; font-size: 1.15rem; }
}

/* ---------- Hero ---------- */

.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(64px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero h1 { text-wrap: balance; }
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; list-style: none; padding: 0; margin: 0; font-size: 0.95rem; color: var(--ink); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; color: var(--sage-deep); flex: none; }

.hero-visual { position: relative; justify-self: end; width: min(100%, 480px); }
.arch {
  /* Top corners form a half-circle; --av = half the width as a % of the height */
  border-radius: 50% 50% var(--radius) var(--radius) / var(--av, 40%) var(--av, 40%) var(--radius) var(--radius);
  overflow: hidden;
  background: var(--sand);
}
.hero-visual .arch { aspect-ratio: 4 / 5.4; --av: 37%; }
.hero-visual .arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-visual::before {
  content: ""; position: absolute; inset: -18px -18px auto auto;
  width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--blush), transparent 70%);
  z-index: -1; opacity: .9;
}

.float-card {
  position: absolute;
  background: var(--linen);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  font-size: 0.88rem; line-height: 1.35; color: var(--ink);
  animation: bob 7s ease-in-out infinite;
}
.float-card small { display: block; color: var(--muted); font-size: 0.76rem; letter-spacing: .02em; }
.float-card strong { font-weight: 600; }
.float-card .row { display: flex; align-items: center; gap: 12px; }
.float-card .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.float-card .dot svg { width: 18px; height: 18px; }
.fc-bp { left: -56px; bottom: 74px; }
.fc-bp .dot { background: var(--sage-mist); color: var(--sage-deep); }
.fc-msg { right: -28px; top: 46px; max-width: 220px; animation-delay: -3.5s; }
.fc-msg .dot { background: var(--blush); color: var(--clay-deep); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; width: min(100%, 420px); margin-top: 8px; }
  .hero-visual::before { right: 0; }
  .fc-bp { left: -6px; }
  .fc-msg { right: -6px; }
}

/* ---------- Stat band ---------- */

.band-ink { background: var(--ink); color: #e9e1ea; }
.band-ink h2, .band-ink h3 { color: var(--cream); }
.band-ink em { color: var(--peach); }
.band-ink .eyebrow { color: var(--peach); }

.stats { padding: clamp(56px, 7vw, 96px) 0; }
.stats-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 60px; align-items: end; margin-bottom: 48px; }
.stats-head p { margin: 0; color: #cfc5d2; max-width: 46ch; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.stat { padding: 28px 24px 4px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.stat .num {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.6rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -0.03em;
  color: var(--peach); margin-bottom: 12px;
}
.stat p { color: #d8cfda; font-size: .98rem; margin: 0; }
.source { font-size: .8rem; color: var(--muted); margin-top: 36px; }
.band-ink .source { color: #a197a6; }

@media (max-width: 920px) {
  .stats-head { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 520px) {
  .stat-grid { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
}

/* ---------- Generic section ---------- */

.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 20px; font-size: 1.15rem; max-width: 56ch; }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

/* ---------- Where care happens ---------- */

.places { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.place {
  background: var(--linen); border-radius: var(--radius);
  padding: 32px 28px 30px; position: relative; overflow: hidden;
}
.place .icon {
  width: 54px; height: 54px; border-radius: 999px 999px 14px 14px;
  display: grid; place-items: center; margin-bottom: 26px;
  background: var(--blush); color: var(--clay-deep);
}
.place:nth-child(3n+2) .icon { background: var(--sage-mist); color: var(--sage-deep); }
.place:nth-child(3n+3) .icon { background: #e4dde8; color: var(--ink); }
.place .icon svg { width: 26px; height: 26px; }
.place h3 { margin-bottom: 10px; }
.place p { margin: 0; }
.how-note { margin: 32px 0 0; max-width: 68ch; font-size: 1.08rem; }
.place .tag { display: inline-block; margin-bottom: 8px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1020px) { .places { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .places { grid-template-columns: 1fr; } }

/* ---------- Split (image + copy) ---------- */

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media .arch { aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-media .inset {
  position: absolute; right: -24px; bottom: -28px; width: 42%;
  border-radius: var(--radius); overflow: hidden;
  border: 6px solid var(--cream); box-shadow: var(--shadow);
  aspect-ratio: 1;
}
.section-sand .split-media .inset { border-color: var(--sand); }
.split-copy h2 { margin-bottom: 22px; }
.split-copy > p { font-size: 1.12rem; }

.checks { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 16px; }
.checks li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.checks svg { width: 28px; height: 28px; color: var(--sage-deep); }
.checks strong { color: var(--ink); font-weight: 600; }

.mini-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.mini-stat { background: var(--linen); border-radius: var(--radius-sm); padding: 20px; }
.section-sand .mini-stat { background: var(--cream); }
.mini-stat b { display: block; font-family: var(--font-display); font-weight: 500; font-size: 2.2rem; line-height: 1; color: var(--clay); margin-bottom: 8px; letter-spacing: -0.02em; }
.mini-stat span { font-size: .95rem; }
.mini-stat cite { display: block; margin-top: 10px; font-style: normal; font-size: .78rem; line-height: 1.4; color: var(--muted); }
.mini-stat cite i { font-style: italic; }
.stats-lead { margin: 28px 0 0; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 460px; }
  .split-media .inset { right: -8px; }
}

/* ---------- Journey ---------- */

.journey { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; }
.weeks { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.week-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: transparent; border: 0; border-radius: 14px;
  padding: 14px 18px; cursor: pointer; text-align: left;
  font: 500 1rem/1.3 var(--font-body); color: var(--ink-soft);
  transition: background .2s, color .2s;
}
.week-btn span:first-child { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); }
.week-btn small { font-size: .85rem; color: var(--muted); }
.week-btn:hover { background: rgba(43,34,51,.05); }
.week-btn[aria-selected="true"] { background: var(--ink); }
.week-btn[aria-selected="true"] span:first-child { color: var(--cream); }
.week-btn[aria-selected="true"] small { color: var(--peach); }

.week-panel { background: var(--linen); border-radius: var(--radius); padding: clamp(26px, 4vw, 44px); min-height: 100%; }
.week-panel[hidden] { display: none; }
.week-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 8px; }
.week-panel .intro { color: var(--muted); margin-bottom: 28px; }
.lanes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.lane { border-top: 2px solid var(--line); padding-top: 16px; }
.lane h4 { margin: 0 0 6px; font: 600 .8rem/1.2 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--clay-text); display: flex; align-items: center; gap: 8px; }
.lane h4 svg { width: 16px; height: 16px; }
.lane p { margin: 0; font-size: .98rem; }
.lane:nth-child(2) h4 { color: var(--sage-deep); }
.lane:nth-child(3) h4 { color: #6b5a7a; }
.lane:nth-child(4) h4 { color: var(--ink); }

@media (max-width: 920px) {
  .journey { grid-template-columns: 1fr; }
  .weeks { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .weeks::-webkit-scrollbar { display: none; }
  .weeks .week-btn { flex: none; width: auto; }
  .week-btn { flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 16px; background: var(--linen); }
}
@media (max-width: 560px) { .lanes { grid-template-columns: 1fr; } }

/* ---------- Safety ---------- */

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { background: var(--linen); border-radius: var(--radius); padding: 30px 28px; }
.tier .pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.tier .pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pill-green { background: var(--sage-mist); color: var(--sage-deep); }
.pill-amber { background: #f6e6c8; color: #8a5a12; }
.pill-red { background: #f6d8d0; color: #a2381f; }
.tier h3 { margin-bottom: 10px; }
.tier p { margin: 0; }
.safety-note { margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; background: var(--sage-mist); color: var(--sage-deep); border-radius: var(--radius-sm); padding: 18px 22px; font-size: .98rem; }
.safety-note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
@media (max-width: 860px) { .tiers { grid-template-columns: 1fr; } }

/* ---------- Care style ---------- */

.styles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.style-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 30px 28px; background: transparent; transition: border-color .2s, background .2s; }
.style-card:hover { border-color: var(--clay); background: var(--linen); }
.style-card h3 { margin-bottom: 10px; }
.style-card p { margin: 0; }
.style-card .who { font-size: .85rem; font-weight: 600; color: var(--clay-text); letter-spacing: .04em; margin-bottom: 14px; display: block; }
@media (max-width: 860px) { .styles { grid-template-columns: 1fr; } }

/* ---------- Story ---------- */

.story { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.story blockquote { margin: 0; }
.story blockquote p {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.25; letter-spacing: -0.015em;
  color: var(--ink);
}
.story blockquote p { text-indent: -0.4em; }
.story blockquote p::before { content: "\201C"; color: var(--clay); }
.story footer { color: var(--muted); font-size: .98rem; }
.story .arch { aspect-ratio: 4 / 5; max-width: 420px; }
.story .arch img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story blockquote p { text-indent: 0; } }

/* ---------- FAQ ---------- */

.faq { max-width: 860px; margin-inline: auto; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display); font-size: clamp(1.15rem, 2vw, 1.4rem); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--sand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2233' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 26px; max-width: 68ch; }

/* ---------- CTA band ---------- */

.cta-band { position: relative; overflow: hidden; color: var(--cream); isolation: isolate; }
.cta-band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(43,34,51,.88) 0%, rgba(43,34,51,.66) 45%, rgba(43,34,51,.12) 100%); z-index: -1; }
.cta-inner { padding: clamp(80px, 11vw, 150px) 0; max-width: 620px; }
.cta-band h2 { color: var(--cream); margin-bottom: 20px; }
.cta-band em { color: var(--blush); }
.cta-band p { color: #eee4ea; font-size: 1.15rem; max-width: 46ch; }

.cta-btn { margin-top: 18px; }

@media (max-width: 520px) {
  .hide-sm { display: none; }
  .brand .logo { height: 32px; }
  .hero { padding-top: 20px; }
  .hero-actions .btn { width: 100%; }
  .mini-stats { grid-template-columns: 1fr; }
  .cta-btn { width: 100%; }
  .site-footer ul { gap: 0; }
  .site-footer ul a { display: inline-block; padding: 10px 0; }
}

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #bdb2c1; padding: 72px 0 36px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 52px; }
.site-footer h2 { font: 600 .8rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cream); margin: 8px 0 18px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.footer-tag { margin-top: 18px; max-width: 32ch; }
.emergency { display: flex; gap: 14px; align-items: flex-start; border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-sm); padding: 18px 20px; margin-bottom: 30px; color: #e7dee9; }
.emergency svg { width: 22px; height: 22px; color: var(--peach); flex: none; margin-top: 2px; }
.legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: #a197a6; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Reveal on scroll ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Legal documents ---------- */

.doc-page { padding: clamp(32px, 6vw, 72px) 0 clamp(64px, 8vw, 104px); }
.doc { width: min(760px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.doc-head { margin-bottom: 32px; }
.doc-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.doc-meta { color: var(--muted); font-size: .95rem; margin: 0; }
.doc-lede { font-size: 1.12rem; color: var(--ink); }
.doc h2 { font-size: clamp(1.4rem, 2.6vw, 1.75rem); line-height: 1.2; margin: 48px 0 14px; scroll-margin-top: 96px; }
.doc p, .doc li { max-width: 70ch; }
.doc ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 8px; }
.doc a { color: var(--clay-text); text-underline-offset: 3px; }
.doc a:hover { color: var(--clay-deep); }
.doc strong { color: var(--ink); font-weight: 600; }
.doc .caps { font-size: .95rem; }
.doc-summary { background: var(--linen); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); margin: 28px 0 8px; }
.doc-summary h2 { margin-top: 0; font-size: 1.35rem; }
.doc-summary ul { margin: 0; }
.doc-callout { background: #f6d8d0; color: #6e2615; border-radius: var(--radius-sm); padding: 16px 20px; margin: 24px 0; }
.doc-callout strong { color: inherit; }
.doc-toc { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; margin: 28px 0 32px; }
.doc-toc summary { cursor: pointer; font-weight: 600; color: var(--ink); min-height: 44px; display: flex; align-items: center; justify-content: space-between; list-style: none; }
.doc-toc summary::-webkit-details-marker { display: none; }
.doc-toc summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--clay-text); }
.doc-toc[open] summary::after { content: "\2212"; }
.doc-toc ol { margin: 10px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.doc-toc a { display: inline-block; padding: 6px 0; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; -webkit-overflow-scrolling: touch; }
.doc table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; color: var(--ink); background: var(--sand); }
.doc-related { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.doc-related h2 { margin-top: 0; font-size: 1.2rem; }
