/* ==========================================================================
   SayBloom marketing site
   Palette and dark-mode tokens match the SayBloom app prototype.
   "-ink" tokens are darker text-only variants of the palette so small colored
   text stays at WCAG 2.2 AA (4.5:1) on tinted backgrounds.
   ========================================================================== */

:root {
  --bg: #f7f8f4;
  --bg-alt: #eef2ec;
  --app: #f9fbf7;
  --card: #ffffff;
  --fg: #1f2a24;
  --muted: #5a675f;
  --line: #dbe3d9;
  --device: #1f2a24;

  --leaf: #2f7d5b;  --leafSoft: #dcefe4;  --leaf-ink: #276a4c;
  --bloom: #c2477a; --bloomSoft: #f9e3ec; --bloom-ink: #a83c68;
  --sky: #3a6ea5;   --skySoft: #e0ebf7;   --sky-ink: #335f90;
  --sun: #b7791f;   --sunSoft: #fbefd9;   --sun-ink: #8a5a12;
  --calm: #5b6fb0;  --calmSoft: #e6e9f7;  --calm-ink: #4a5c9c;
  --red: #c0473a;   --redSoft: #f8e1dd;

  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(20, 40, 30, .06), 0 12px 32px rgba(20, 40, 30, .08);
  --shadow-device: 0 30px 60px rgba(20, 40, 30, .18), 0 6px 16px rgba(20, 40, 30, .10);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1200px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1512; --bg-alt: #161e1a; --app: #161e1a; --card: #1d2722;
    --fg: #e8efea; --muted: #a3b2a9; --line: #2c3933; --device: #2c3933;
    --leaf: #6fcf9f;  --leafSoft: #1f3a2c;  --leaf-ink: #6fcf9f;
    --bloom: #f08bb4; --bloomSoft: #3a2230; --bloom-ink: #f08bb4;
    --sky: #8fb8e6;   --skySoft: #1f2d40;   --sky-ink: #8fb8e6;
    --sun: #e6b05a;   --sunSoft: #3a2e18;   --sun-ink: #e6b05a;
    --calm: #a3b1ec;  --calmSoft: #252b45;  --calm-ink: #a3b1ec;
    --red: #ef8a7e;   --redSoft: #3d2220;
    --on-accent: #0f1512;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
    --shadow-device: 0 30px 60px rgba(0, 0, 0, .5), 0 6px 16px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1512; --bg-alt: #161e1a; --app: #161e1a; --card: #1d2722;
  --fg: #e8efea; --muted: #a3b2a9; --line: #2c3933; --device: #2c3933;
  --leaf: #6fcf9f;  --leafSoft: #1f3a2c;  --leaf-ink: #6fcf9f;
  --bloom: #f08bb4; --bloomSoft: #3a2230; --bloom-ink: #f08bb4;
  --sky: #8fb8e6;   --skySoft: #1f2d40;   --sky-ink: #8fb8e6;
  --sun: #e6b05a;   --sunSoft: #3a2e18;   --sun-ink: #e6b05a;
  --calm: #a3b1ec;  --calmSoft: #252b45;  --calm-ink: #a3b1ec;
  --red: #ef8a7e;   --redSoft: #3d2220;
  --on-accent: #0f1512;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 32px rgba(0, 0, 0, .3);
  --shadow-device: 0 30px 60px rgba(0, 0, 0, .5), 0 6px 16px rgba(0, 0, 0, .35);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.125rem; /* 18px */
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
svg.lucide { width: 1.2em; height: 1.2em; flex: none; vertical-align: -.2em; stroke-width: 2; }
i[data-lucide] { display: inline-block; width: 1.2em; height: 1.2em; flex: none; }

h1, h2, h3, h4 { font-family: var(--display); line-height: 1.15; font-weight: 600; text-wrap: balance; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
p, li { max-width: 68ch; }
a { color: var(--leaf-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--bloom-ink); }
strong, b { font-weight: 700; }
em.accent, .accent { font-style: italic; color: var(--bloom-ink); }
small { font-size: .9rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--leafSoft); color: var(--fg); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 12px 18px; border-radius: 12px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--bg); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.container.narrow { max-width: 860px; }
@media (min-width: 768px) { .container { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand .say { color: var(--leaf-ink); }
.brand .bloom { color: var(--bloom-ink); }
.brand:hover { color: var(--fg); }

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--line);
  background: var(--card); color: var(--fg); font: inherit; font-weight: 700; cursor: pointer;
}
.site-nav { display: none; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--fg); font-weight: 700; }
.site-nav a[aria-current="page"] { color: var(--leaf-ink); }

/* Mobile/tablet portrait: disclosure menu */
.site-nav.open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 8px var(--gutter-r) 20px var(--gutter);
  max-height: calc(100vh - 72px); overflow-y: auto;
}
.site-nav.open ul { display: grid; gap: 2px; }
.site-nav.open a { display: flex; align-items: center; min-height: 52px; padding: 0 12px; border-radius: 12px; font-size: 1.15rem; }
.site-nav.open a:hover, .site-nav.open a[aria-current="page"] { background: var(--leafSoft); }
.site-nav .nav-cta { margin-top: 12px; }

.theme-toggle {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--fg); cursor: pointer; flex: none;
}
.theme-toggle .when-dark { display: none; }
:root[data-theme="dark"] .theme-toggle .when-dark { display: inline; }
:root[data-theme="dark"] .theme-toggle .when-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .when-dark { display: inline; }
  :root:not([data-theme="light"]) .theme-toggle .when-light { display: none; }
}

@media (min-width: 1080px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open { display: flex; position: static; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; max-height: none; overflow: visible; }
  .site-nav ul, .site-nav.open ul { display: flex; align-items: center; gap: 2px; }
  .site-nav a, .site-nav.open a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 1.02rem; }
  .site-nav a:hover { background: var(--bg-alt); color: var(--fg); }
  .site-nav a[aria-current="page"] { background: none; box-shadow: inset 0 -3px 0 var(--leaf); border-radius: 0; }
  .site-nav .nav-cta { margin: 0 0 0 10px; }
  .site-nav .nav-cta a, .site-nav.open .nav-cta a { padding: 0 18px; }
}

/* Without JavaScript, show the nav as a wrapped row instead of a hidden menu */
.no-js .header-inner { flex-wrap: wrap; padding-block: 8px; }
.no-js .nav-toggle { display: none; }
.no-js .site-nav { display: block; width: 100%; order: 3; }
.no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.no-js .site-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; }
.no-js .theme-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 16px; border: 2px solid transparent;
  font: inherit; font-weight: 700; font-size: 1.08rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--leaf); color: var(--on-accent); }
.btn-primary:hover { background: var(--leaf-ink); color: var(--on-accent); }
.btn-bloom { background: var(--bloom); color: var(--on-accent); }
.btn-bloom:hover { background: var(--bloom-ink); color: var(--on-accent); }
.btn-ghost { background: var(--card); color: var(--fg); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--leaf); color: var(--fg); }
.site-nav .btn-primary, .site-nav.open .btn-primary { color: var(--on-accent); background: var(--leaf); justify-content: center; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--leaf-ink); }
.text-link:hover { text-decoration: underline; }

/* Store "coming soon" badges (plain text, no platform logos) */
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; min-height: 60px;
  border-radius: 14px; background: var(--fg); color: var(--bg); line-height: 1.15;
}
.store-badge svg.lucide { width: 26px; height: 26px; }
.store-badge small { display: block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.store-badge span { font-weight: 700; font-size: 1.05rem; }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.alt { background: var(--bg-alt); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bloom-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow.leaf { color: var(--leaf-ink); } .eyebrow.sky { color: var(--sky-ink); } .eyebrow.calm { color: var(--calm-ink); } .eyebrow.sun { color: var(--sun-ink); }
.lede { font-size: clamp(1.18rem, 1.8vw, 1.35rem); color: var(--muted); line-height: 1.55; }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.2rem; }
.muted { color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .split.wide-left { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
  .split.wide-right { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .split.flip > :first-child { order: 2; }
}

.grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .grid.g2, .grid.g3, .grid.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); min-width: 0; }
.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card.soft { box-shadow: var(--shadow); border-color: transparent; }

.icon-chip { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 16px; flex: none; }
.icon-chip svg.lucide { width: 26px; height: 26px; }
.t-leaf { background: var(--leafSoft); } .t-bloom { background: var(--bloomSoft); } .t-sky { background: var(--skySoft); }
.t-sun { background: var(--sunSoft); } .t-calm { background: var(--calmSoft); } .t-red { background: var(--redSoft); }
.c-leaf { color: var(--leaf); } .c-bloom { color: var(--bloom); } .c-sky { color: var(--sky); }
.c-sun { color: var(--sun); } .c-calm { color: var(--calm); } .c-red { color: var(--red); }

.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: 12px; }
.check-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 10px; align-items: start; }
.check-list li > svg.lucide, .check-list li > i { color: var(--leaf); width: 24px; height: 24px; margin-top: 2px; }

.tag {
  display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 700; line-height: 1.2;
  padding: 4px 10px; border-radius: 99px; background: var(--leafSoft); color: var(--leaf-ink); white-space: nowrap;
}
.tag svg.lucide { width: 14px; height: 14px; }
.tag.warn { background: var(--sunSoft); color: var(--sun-ink); }
.tag.lock { background: var(--skySoft); color: var(--sky-ink); }
.tag.bloom { background: var(--bloomSoft); color: var(--bloom-ink); }
.tag.weak { background: var(--calmSoft); color: var(--calm-ink); }
.tag.no { background: var(--redSoft); color: var(--fg); }

.placeholder {
  display: inline-block; padding: 2px 10px; border-radius: 8px; border: 1.5px dashed var(--muted);
  color: var(--muted); font-size: .95rem; font-style: italic;
}
.note {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: start;
  background: var(--sunSoft); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 1rem;
}
.note > svg.lucide, .note > i { color: var(--sun-ink); width: 24px; height: 24px; margin-top: 2px; }
.note p { margin: 0; }
.note.calm { background: var(--calmSoft); } .note.calm > svg.lucide { color: var(--calm-ink); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 104px) clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero .lede { max-width: 640px; }
.page-hero h1 { max-width: 16ch; }
.page-hero .btn-row { margin-top: 28px; }
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -80px; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--leafSoft), transparent 70%); opacity: .8; z-index: -1; pointer-events: none;
}
.page-hero.bloomy::after { background: radial-gradient(circle at 50% 50%, var(--bloomSoft), transparent 70%); }
.page-hero.skyish::after { background: radial-gradient(circle at 50% 50%, var(--skySoft), transparent 70%); }
.page-hero.calmish::after { background: radial-gradient(circle at 50% 50%, var(--calmSoft), transparent 70%); }

/* ---------- Home hero ---------- */
.hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 112px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }
.hero h1 .line2 { display: block; color: var(--leaf-ink); }
.hero h1 em { font-style: italic; color: var(--bloom-ink); font-weight: 600; }
.hero .lede { max-width: 560px; }
.hero .btn-row { margin-top: 32px; }
.hero-status { margin-top: 18px; font-size: 1rem; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.hero-status svg.lucide { color: var(--leaf); }

.hero-visual { position: relative; min-height: 420px; display: flex; justify-content: center; align-items: center; }
.hero-visual .blob { position: absolute; inset: 6% 2% 4% 8%; z-index: 0; color: var(--leafSoft); }
.hero-visual .blob svg { width: 100%; height: 100%; }
.hero-visual .tablet-frame { position: relative; z-index: 1; width: min(520px, 92%); margin-left: auto; }
.hero-visual .phone-frame { position: absolute; z-index: 2; left: 0; bottom: -24px; width: min(230px, 42%); }
@media (max-width: 599px) {
  .hero-visual { min-height: 0; }
  .hero-visual .tablet-frame { display: none; }
  .hero-visual .phone-frame { position: relative; left: auto; bottom: auto; width: min(280px, 80%); }
  .hero-visual .blob { inset: 4% 0; }
}

/* ---------- Device mockups (pure CSS) ---------- */
.phone-frame, .tablet-frame {
  background: var(--device); box-shadow: var(--shadow-device); position: relative; max-width: 100%;
}
:root[data-theme="dark"] .phone-frame, :root[data-theme="dark"] .tablet-frame { outline: 1px solid #3d4b44; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .phone-frame, :root:not([data-theme="light"]) .tablet-frame { outline: 1px solid #3d4b44; } }
.phone-frame { width: min(280px, 100%); aspect-ratio: 9 / 19; border-radius: 42px; padding: 9px; }
.phone-frame::before {
  content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 30%; height: 18px; border-radius: 12px; background: var(--device); z-index: 3;
}
.tablet-frame { width: min(560px, 100%); aspect-ratio: 4 / 3; border-radius: 30px; padding: 14px; }
.tablet-frame.portrait { aspect-ratio: 3 / 4; }
.tablet-frame::before {
  content: ""; position: absolute; top: 50%; left: 5px; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: #55645c;
}
.device-screen {
  background: var(--app); color: var(--fg); width: 100%; height: 100%; overflow: hidden;
  display: flex; flex-direction: column; font-size: 13px; line-height: 1.35;
}
.phone-frame .device-screen { border-radius: 34px; padding: 36px 12px 10px; gap: 9px; }
.tablet-frame .device-screen { border-radius: 18px; padding: 14px 16px; gap: 10px; }
.device-screen h4, .device-screen .ds-title { font-family: var(--display); font-size: 16px; margin: 0; line-height: 1.2; }
.device-screen p { margin: 0; max-width: none; }

/* Mock app UI pieces */
.ds-top { display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.ds-top .ds-title { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-iconbtn { width: 28px; height: 28px; border-radius: 9px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; flex: none; }
.ds-iconbtn svg.lucide { width: 15px; height: 15px; }
.ds-hello { display: flex; align-items: center; gap: 8px; }
.ds-hello svg.bloo { width: 44px; height: 44px; flex: none; }
.ds-hello b { font-family: var(--display); font-size: 17px; display: block; }
.ds-hello span { color: var(--muted); font-size: 11.5px; }
.ds-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ds-tile { border-radius: 14px; padding: 9px 9px 8px; min-height: 76px; display: flex; flex-direction: column; justify-content: space-between; }
.ds-tile .ib { width: 30px; height: 30px; border-radius: 10px; background: var(--card); display: grid; place-items: center; }
.ds-tile .ib svg.lucide { width: 17px; height: 17px; }
.ds-tile b { font-size: 12.5px; display: block; }
.ds-tile small { font-size: 10.5px; color: var(--muted); display: block; }
.ds-need { display: flex; align-items: center; gap: 8px; background: var(--card); border: 2px solid var(--bloom); border-radius: 14px; padding: 8px 10px; font-weight: 700; font-size: 12.5px; }
.ds-need svg.lucide { color: var(--bloom); width: 18px; height: 18px; }
.ds-nav { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 7px; text-align: center; font-size: 10.5px; font-weight: 700; color: var(--muted); }
.ds-nav span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ds-nav svg.lucide { width: 17px; height: 17px; }
.ds-nav .on { color: var(--leaf); } .ds-nav .calm { color: var(--calm); }
.ds-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; }
.ds-bubble { background: var(--card); border: 1.5px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 7px 10px; max-width: 86%; font-size: 12.5px; }
.ds-bubble.me { align-self: flex-end; background: var(--leafSoft); border-color: transparent; border-radius: 14px 14px 4px 14px; }
.ds-choice { display: flex; gap: 8px; align-items: center; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 7px 9px; font-size: 12.5px; }
.ds-choice .ib { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.ds-choice .ib svg.lucide { width: 14px; height: 14px; }
.ds-trail { display: flex; gap: 4px; } .ds-trail span { flex: 1; height: 6px; border-radius: 6px; background: var(--line); } .ds-trail span.done { background: var(--leaf); }
.ds-word { font-family: var(--display); font-size: 40px; text-align: center; line-height: 1; margin-top: 4px; }
.ds-pacer { display: flex; justify-content: center; gap: 22px; margin: 8px 0 2px; }
.ds-pacer i { width: 18px; height: 18px; border-radius: 50%; background: var(--line); display: block; }
.ds-pacer i.on { background: var(--bloom); transform: scale(1.3); }
.ds-syl { display: flex; justify-content: center; gap: 22px; color: var(--muted); font-size: 12px; }
.ds-mic { width: 64px; height: 64px; border-radius: 50%; margin: 6px auto; display: grid; place-items: center; background: var(--bloomSoft); color: var(--bloom); }
.ds-mic svg.lucide { width: 28px; height: 28px; }
.ds-tip { background: var(--sunSoft); border-radius: 10px; padding: 7px 9px; font-size: 11.5px; display: flex; gap: 6px; }
.ds-tip svg.lucide { color: var(--sun); width: 14px; height: 14px; margin-top: 1px; }
.ds-tabs { display: flex; gap: 4px; flex-wrap: wrap; }
.ds-tabs span { border: 1.5px solid var(--line); border-radius: 99px; padding: 3px 8px; font-size: 10.5px; font-weight: 700; background: var(--card); }
.ds-tabs span.on { background: var(--fg); color: var(--app); border-color: var(--fg); }
.ds-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ds-sym { background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; padding: 7px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 700; text-align: center; }
.ds-sym svg.lucide { width: 20px; height: 20px; }
.ds-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.ds-scale span { border-radius: 8px; text-align: center; font-weight: 700; font-size: 11px; padding: 4px 0; background: var(--card); border: 1.5px solid var(--line); }
.ds-scale span.on { background: var(--bloom); color: var(--app); border-color: var(--bloom); }
.ds-strip { display: flex; align-items: center; gap: 6px; border: 2px solid var(--leaf); background: var(--card); border-radius: 12px; padding: 6px 8px; font-weight: 700; font-size: 12px; }
.ds-strip span { flex: 1; } .ds-strip svg.lucide { color: var(--leaf); width: 16px; height: 16px; }
.ds-flower { display: grid; place-items: center; padding: 6px 0; }
.ds-flower svg { width: 140px; height: 140px; }
.ds-sched { display: grid; gap: 6px; }
.ds-sched div { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px; font-size: 12px; }
.ds-sched div.now { border: 2px solid var(--sky); }
.ds-sched div.done { opacity: .6; }
.ds-sched .ib { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.ds-sched .ib svg.lucide { width: 15px; height: 15px; }
.ds-sched .t { margin-left: auto; color: var(--muted); font-size: 10.5px; }
.ds-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; text-align: center; font-size: 10px; font-weight: 700; }
.ds-steps span { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--muted); }
.ds-steps span i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); }
.ds-steps span.done i { background: var(--leaf); color: var(--app); }
.ds-steps span.now i { background: var(--sun); color: var(--app); }
.ds-steps span svg.lucide { width: 14px; height: 14px; }
.ds-garden { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; background: linear-gradient(var(--leafSoft), var(--card)); border-radius: 14px; padding: 10px; }
.ds-garden span { aspect-ratio: 1; border-radius: 10px; background: var(--card); display: grid; place-items: center; }
.ds-garden svg.lucide { width: 20px; height: 20px; }
.ds-meter { display: grid; grid-template-columns: 70px 1fr 34px; gap: 6px; align-items: center; font-size: 11px; }
.ds-meter div { height: 7px; background: var(--line); border-radius: 6px; overflow: hidden; }
.ds-meter div b { display: block; height: 100%; background: var(--leaf); border-radius: 6px; }
.ds-row { display: flex; gap: 8px; align-items: center; } .ds-row > * { min-width: 0; }
.ds-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; flex: 1; min-height: 0; }
.ds-side { display: grid; gap: 8px; align-content: start; }
.ds-chart svg { width: 100%; height: auto; display: block; }
.ds-tag { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--leafSoft); color: var(--leaf-ink); white-space: nowrap; }
.ds-tag svg.lucide { width: 11px; height: 11px; }
.ds-tag.lock { background: var(--skySoft); color: var(--sky-ink); }
.ds-tag.warn { background: var(--sunSoft); color: var(--sun-ink); }
.ds-tag.weak { background: var(--calmSoft); color: var(--calm-ink); }
.ds-small { font-size: 11px; color: var(--muted); }
.ds-big { font-family: var(--display); font-size: 26px; font-weight: 700; line-height: 1; }

/* Narrow tablet mockups: show one column so the screen stays legible */
.tablet-frame { container-type: inline-size; }
@container (max-width: 470px) {
  .ds-cols { grid-template-columns: minmax(0, 1fr); }
  .ds-cols { align-content: start; }
  .ds-top .ds-tag { display: none; }
}

@media (max-width: 599px) { .tablet-frame { aspect-ratio: 3 / 4; } }

/* Gentle motion inside mockups (disabled for reduced motion) */
@keyframes breathe { 0%, 100% { transform: scale(.82); } 50% { transform: scale(1); } }
.breathe { animation: breathe 10s ease-in-out infinite; transform-origin: 50% 50%; transform-box: fill-box; }
@keyframes hop { 0%, 30% { background: var(--bloom); transform: scale(1.3); } 34%, 100% { background: var(--line); transform: scale(1); } }
.ds-pacer.animate i { animation: hop 3.6s ease-in-out infinite; }
.ds-pacer.animate i:nth-child(2) { animation-delay: 1.2s; }
.ds-pacer.animate i:nth-child(3) { animation-delay: 2.4s; }
@keyframes wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-10deg); } }
.wave { animation: wave 2.4s ease-in-out infinite; transform-origin: 70% 80%; transform-box: fill-box; }

/* ---------- Problem / promise ---------- */
.promise-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.promise-list li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start; max-width: none; }
.promise-list .icon-chip { margin: 0; }
.promise-list h3 { font-size: 1.25rem; margin: 4px 0 4px; }
.promise-list p { margin: 0; color: var(--muted); }
.quote-panel {
  border-left: 4px solid var(--bloom); padding: 8px 0 8px 24px; margin: 0;
  font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; font-weight: 600;
}
.quote-panel span { color: var(--leaf-ink); }

/* ---------- Module tour (tabs) ---------- */
.tour { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 960px) { .tour { grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 48px; align-items: start; } }
.tour-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 4px 10px; margin: 0 -4px; scrollbar-width: thin; }
@media (min-width: 960px) { .tour-tabs { flex-direction: column; overflow: visible; padding: 0; margin: 0; } }
.tour-tab {
  display: flex; align-items: center; gap: 12px; text-align: left; flex: none;
  min-height: 56px; padding: 8px 16px 8px 8px; border-radius: 16px; border: 1.5px solid var(--line);
  background: var(--card); color: var(--fg); font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.tour-tab .ib { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none; }
.tour-tab .ib svg.lucide { width: 22px; height: 22px; }
.tour-tab small { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }
.tour-tab[aria-selected="true"] { border-color: var(--leaf); box-shadow: inset 4px 0 0 var(--leaf); background: var(--card); }
.tour-tab:hover { border-color: var(--leaf); }
.tour-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; }
.tour-panel[hidden] { display: none; }
@media (min-width: 700px) { .tour-panel { grid-template-columns: minmax(0, 1fr) auto; } }
.tour-panel .phone-frame { width: min(260px, 100%); justify-self: center; }
.tour-panel h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.tour-panel .kpi { margin-top: 12px; font-size: 1rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.tour-panel .kpi svg.lucide { color: var(--sky); margin-top: 3px; }
.no-js .tour-tabs { display: none; }

/* ---------- Audience split ---------- */
.audience { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 900px) { .audience { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.audience-card { display: flex; flex-direction: column; border-radius: 24px; padding: clamp(24px, 3vw, 32px); border: 1px solid var(--line); background: var(--card); position: relative; overflow: hidden; }
.audience-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; }
.audience-card.schools::before { background: var(--sky); }
.audience-card.clinics::before { background: var(--calm); }
.audience-card.families::before { background: var(--bloom); }
.audience-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.audience-card .pitch { font-family: var(--display); font-style: italic; color: var(--muted); font-size: 1.15rem; margin-bottom: 18px; }
.audience-card .check-list { flex: 1; }
.audience-card .text-link { margin-top: auto; }

/* ---------- IEP chart ---------- */
.chart-legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .95rem; color: var(--muted); margin-top: 12px; }
.chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.chart-legend i { width: 18px; height: 3px; border-radius: 2px; display: inline-block; }
.audit-chain { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .9rem; }
.audit-chain span { display: inline-flex; align-items: center; gap: 4px; background: var(--skySoft); color: var(--sky-ink); border-radius: 8px; padding: 4px 8px; font-weight: 700; }
.audit-chain svg.lucide { width: 14px; height: 14px; }
.audit-chain .link { color: var(--muted); background: none; padding: 0; }

.feature-rows { display: grid; gap: 22px; margin: 28px 0 0; }
.feature-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; }
.feature-row .icon-chip { width: 48px; height: 48px; margin: 0; border-radius: 14px; }
.feature-row h3 { font-size: 1.2rem; margin: 2px 0 4px; font-family: var(--body); font-weight: 700; letter-spacing: 0; }
.feature-row p { margin: 0; color: var(--muted); }

/* ---------- Nutrition ---------- */
.rec-card { display: grid; gap: 8px; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.rec-card p { margin: 0; font-size: 1rem; }
.rec-stack { display: grid; gap: 12px; }
.wellness-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow); }
.wellness-card .big { font-family: var(--display); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--leaf-ink); }

/* ---------- Devices strip ---------- */
.devices { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: clamp(20px, 4vw, 48px); }
.devices .phone-frame { width: min(220px, 100%); }
.devices .tablet-frame { width: min(520px, 100%); }
.device-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.device-list li { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: 1rem; }
.device-list svg.lucide { color: var(--leaf); }

/* ---------- Research ---------- */
.research-strip { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .research-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .research-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.research-strip .card { padding: 20px; }
.research-strip .where { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--sky-ink); margin-bottom: 6px; }
.research-strip h3 { font-size: 1.15rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; margin-bottom: 6px; }
.research-strip p { font-size: 1rem; color: var(--muted); margin: 0; }

.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline-offset: 2px; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; min-width: 640px; }
caption { text-align: left; padding: 16px 20px 0; font-weight: 700; color: var(--muted); caption-side: top; }
th, td { text-align: left; vertical-align: top; padding: 14px 20px; border-bottom: 1px solid var(--line); }
thead th { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--bg-alt); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 700; }
td .cite { display: block; color: var(--muted); font-size: .92rem; margin-top: 4px; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1180px) { .price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.price-card { display: flex; flex-direction: column; gap: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px; position: relative; }
.price-card.featured { border: 2px solid var(--leaf); box-shadow: var(--shadow); }
.price-card .ribbon { position: absolute; top: -14px; left: 24px; }
.price-card h3 { font-size: 1.5rem; margin: 0; }
.price-card .who { color: var(--muted); font-size: 1rem; margin: 0 0 8px; }
.price { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: 1.05; letter-spacing: -.02em; }
.price small { font-family: var(--body); font-weight: 400; font-size: 1rem; color: var(--muted); letter-spacing: 0; }
.price-alt { color: var(--muted); font-size: 1rem; margin: 0 0 14px; min-height: 1.6em; }
.price-card .check-list { flex: 1; font-size: 1.02rem; }
.price-card .btn { width: 100%; margin-top: 8px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0 20px; }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 64px; font-weight: 700; font-size: 1.1rem; padding: 12px 0;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 1.6rem; color: var(--leaf); line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Forms ---------- */
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .form-grid .full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: 1.02rem; }
.field .hint { font-size: .95rem; color: var(--muted); margin: 0; }
.field .req { color: var(--bloom-ink); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--muted);
  background: var(--bg); color: var(--fg); font: inherit; font-size: 1.08rem;
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--fg) 50%), linear-gradient(135deg, var(--fg) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--sky); outline-offset: 1px; border-color: var(--sky); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--red); border-width: 2px; }
.field .error { color: var(--red); font-weight: 700; font-size: .95rem; margin: 0; display: none; }
.field.invalid .error { display: flex; gap: 6px; align-items: center; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice-pill { position: relative; }
.choice-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice-pill span { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--line); background: var(--bg); cursor: pointer; font-weight: 700; }
.choice-pill input:checked + span { background: var(--leafSoft); border-color: var(--leaf); color: var(--leaf-ink); }
.choice-pill input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.check-field { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 1rem; }
.check-field input { width: 22px; height: 22px; margin: 3px 0 0; accent-color: var(--leaf); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-actions small { color: var(--muted); }
.form-success {
  display: none; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: start;
  background: var(--leafSoft); border-radius: 18px; padding: 22px;
}
.form-success.show { display: grid; }
.form-success .icon-chip { background: var(--card); margin: 0; color: var(--leaf); }
.form-success h3 { margin: 4px 0 6px; }
.form-success p { margin: 0; }
.inline-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.inline-form .field { flex: 1 1 240px; }

/* Waitlist band */
.waitlist { position: relative; overflow: hidden; }
.waitlist .form-card { position: relative; z-index: 1; }

/* ---------- Prose (privacy etc.) ---------- */
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.draft-banner { display: flex; gap: 12px; align-items: center; background: var(--sunSoft); color: var(--fg); border: 1.5px dashed var(--sun); border-radius: 14px; padding: 14px 18px; font-weight: 700; margin-bottom: 32px; }
.draft-banner svg.lucide { color: var(--sun-ink); }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 6px 12px; border-left: 2px solid var(--line); text-decoration: none; color: var(--muted); }
.toc a:hover { color: var(--leaf-ink); border-left-color: var(--leaf); }
.with-toc { display: grid; gap: 40px; }
@media (min-width: 1000px) { .with-toc { grid-template-columns: 220px minmax(0, 1fr); } .with-toc aside { position: sticky; top: 96px; align-self: start; } }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; max-width: none; }
.steps li::before {
  content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--leafSoft); color: var(--leaf-ink); font-family: var(--display); font-weight: 700; font-size: 1.2rem;
}
.steps h3 { font-size: 1.15rem; font-family: var(--body); font-weight: 700; letter-spacing: 0; margin: 8px 0 4px; }
.steps p { margin: 0; color: var(--muted); }

.stat-placeholder { display: grid; gap: 4px; padding: 22px; border-radius: 18px; border: 1.5px dashed var(--line); background: var(--card); }
.stat-placeholder b { font-family: var(--display); font-size: 1.4rem; }
.stat-placeholder span { color: var(--muted); font-size: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--leaf); color: var(--on-accent); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 24px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 860px) { .cta-band { grid-template-columns: minmax(0, 1fr) auto; } }
.cta-band h2 { margin: 0 0 8px; }
.cta-band p { margin: 0; opacity: .95; }
.cta-band .btn-ghost { background: var(--app); color: var(--fg); border-color: transparent; }
.cta-band .btn-ghost:hover { background: var(--card); }
.cta-band .petals { position: absolute; right: -40px; bottom: -60px; width: 220px; opacity: .14; pointer-events: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: 56px 32px; margin-top: 0; font-size: 1rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); } }
.site-footer h2 { font-family: var(--body); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--fg); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: var(--leaf-ink); text-decoration: underline; }
.footer-tagline { font-family: var(--display); font-style: italic; font-size: 1.25rem; margin: 10px 0 8px; }
.footer-legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }
.footer-legal p { max-width: 90ch; margin: 0; }

/* ---------- Reveal on scroll (only when motion is OK and JS is on) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .breathe, .wave, .ds-pacer.animate i { animation: none !important; }
  .btn:hover { transform: none; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .skip-link, .theme-toggle, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; }
}
