/* Theme tokens mirror the light theme in src/constants/theme.ts so the site matches the mobile app. */
:root { color-scheme: light; }
:root {
  --text: #000000;
  --bg: #ffffff;
  --bg-element: #f0f0f3;
  --text-secondary: #60646c;
  --surface: rgba(255, 255, 255, 0.72);
  --border: rgba(0, 0, 0, 0.06);
  --accent: #2ba6a0;
  --accent-from: #7bd88f;
  --accent-to: #2ba6a0;
  --protein: #e5604d;
  --carbs: #e8a33d;
  --fat: #5bb26b;
  --grad-top: #fff7ee;
  --grad-bottom: #f6e9dd;
  --button-bg: #000000;
  --button-text: #ffffff;
  --shadow: 0 8px 30px rgba(60, 40, 20, 0.08);
  --radius: 22px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg) linear-gradient(180deg, var(--grad-top), var(--grad-bottom)) fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
main { flex: 1; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 10;
  background: var(--surface);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 8px 14px; border-radius: 999px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); background: var(--bg-element); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--button-bg); color: var(--button-text);
  font-weight: 700; font-size: 17px; text-decoration: none;
  padding: 16px 30px; border-radius: 999px;
}
.btn:hover { opacity: 0.88; }
.btn.ghost { background: var(--surface); color: var(--text); border: 1px solid var(--border); }

/* Landing */
.hero { text-align: center; padding-block: 72px 48px; }
.pill {
  display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent);
  background: var(--surface); border: 1px solid var(--border);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(40px, 7vw, 68px); line-height: 1.05; letter-spacing: -0.035em; margin: 0 auto 18px; max-width: 14ch; }
.grad-text { background: linear-gradient(135deg, var(--accent-from), var(--accent-to)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: 20px; color: var(--text-secondary); max-width: 540px; margin: 0 auto 32px; }
.hero .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-block: 24px 72px; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
}
.card .icon { font-size: 30px; margin-bottom: 10px; }
.card h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--text-secondary); font-size: 15px; }
.stat { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-bottom: 8px; }
.macro { display: flex; gap: 8px; margin-top: 14px; }
.macro span { flex: 1; height: 6px; border-radius: 3px; }

/* Legal documents */
.doc { padding-block: 48px 72px; }
.doc-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; padding: clamp(24px, 5vw, 56px); box-shadow: var(--shadow);
  max-width: 820px; margin: 0 auto;
}
.doc h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 8px; }
.meta { color: var(--text-secondary); font-size: 15px; margin: 0 0 28px; }
.doc h2 { font-size: 22px; letter-spacing: -0.015em; margin: 40px 0 10px; scroll-margin-top: 84px; }
.doc h3 { font-size: 17px; margin: 22px 0 6px; }
.doc p, .doc li { color: var(--text); font-size: 16px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.caps { text-transform: uppercase; font-size: 14px !important; letter-spacing: 0.01em; }
.ph { background: color-mix(in srgb, var(--carbs) 25%, transparent); border-radius: 6px; padding: 1px 6px; font-weight: 600; white-space: nowrap; }
.callout {
  background: var(--bg-element); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 14px 18px; margin: 18px 0; font-size: 15px;
}
.toc { background: var(--bg-element); border-radius: 16px; padding: 18px 22px; margin: 0 0 8px; }
.toc strong { display: block; margin-bottom: 6px; }
.toc ol { columns: 2; column-gap: 32px; margin: 0; padding-left: 20px; font-size: 15px; }
.toc li { margin: 3px 0; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* Footer */
.footer { border-top: 1px solid var(--border); background: var(--surface); }
.footer .wrap { display: flex; flex-direction: column; gap: 16px; padding-top: 28px; padding-bottom: 24px; }
.footer small { color: var(--text-secondary); font-size: 14px; }
.footer nav { display: flex; gap: 20px; }
.footer nav a { color: var(--text-secondary); font-weight: 600; font-size: 14px; text-decoration: none; }
.footer nav a:hover { color: var(--text); }

@media (max-width: 640px) {
  .toc ol { columns: 1; }
  .nav-links a { padding: 8px 10px; font-size: 14px; }
  .hero { padding-top: 48px; }
  .footer .wrap { flex-direction: column; align-items: flex-start; }
}

/* Store buttons */
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--button-bg); color: var(--button-text); text-decoration: none;
  border-radius: 14px; padding: 8px 16px; line-height: 1.1;
}
.store:hover { opacity: 0.85; }
.store svg { width: 20px; height: 20px; flex: none; }
.store small { display: block; font-size: 10px; font-weight: 500; opacity: 0.8; }
.store b { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.store.sm { padding: 6px 12px; border-radius: 12px; }
.store.sm b { font-size: 13px; }
.store.sm small { display: none; }
.store.sm svg { width: 16px; height: 16px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }

/* Landing v2 */
.hero2 { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 24px; padding-block: 64px 40px; }
.hero2 h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.035em; margin: 0 0 18px; }
.hero2 p { font-size: 19px; color: var(--text-secondary); max-width: 480px; margin: 0 0 28px; }
.hero2 .phone { display: flex; justify-content: center; }
.hero2 .phone img { width: min(300px, 70vw); filter: drop-shadow(0 30px 40px rgba(60, 40, 20, 0.25)); }
.note { margin-top: 14px; font-size: 14px; color: var(--text-secondary); }

.section { padding-block: 56px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 36px; }
.section-head h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 10px; }
.section-head p { color: var(--text-secondary); font-size: 17px; margin: 0; }

.meals { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.meal { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: var(--shadow); }
.meal img { width: 100%; height: 100%; object-fit: cover; display: block; }
.meal span {
  position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700;
  background: rgba(255, 255, 255, 0.85); color: #000; padding: 5px 10px; border-radius: 999px;
}

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to)); color: #fff; font-weight: 800; margin-bottom: 12px;
}
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--text-secondary); font-size: 15px; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

.faq { max-width: 720px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 16px 20px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--text-secondary); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--text-secondary); font-size: 15px; }

.cta {
  text-align: center; border-radius: 32px; padding: 56px 24px; margin: 24px 0 72px;
  background: linear-gradient(135deg, var(--accent-from), var(--accent-to)); color: #fff;
}
.cta h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; margin: 0 0 10px; }
.cta p { margin: 0 auto 24px; opacity: 0.92; max-width: 460px; }
.cta .stores { justify-content: center; }
.cta .store { background: #000; color: #fff; }

.footer-top { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; width: 100%; }
.footer .brand { font-size: 18px; }

@media (max-width: 760px) {
  .hero2 { grid-template-columns: 1fr; text-align: center; padding-top: 40px; }
  .hero2 p { margin-left: auto; margin-right: auto; }
  .hero2 .stores { justify-content: center; }
  .nav-links { display: none; }
}

body { overflow-x: hidden; }
.hero2 > * { min-width: 0; }
.hero2 h1, .hero2 p { overflow-wrap: break-word; }

.showcase { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 24px; margin-bottom: 40px; }
.showcase.reverse { grid-template-columns: 1.1fr 1fr; }
.showcase.reverse .showcase-text { order: 2; }
.showcase > * { min-width: 0; }
.showcase img { width: 100%; height: auto; display: block; }
.showcase h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.03em; line-height: 1.1; margin: 0 0 12px; }
.showcase p { color: var(--text-secondary); font-size: 17px; margin: 0; }
@media (max-width: 760px) {
  .showcase, .showcase.reverse { grid-template-columns: 1fr; text-align: center; }
  .showcase.reverse .showcase-text { order: 0; }
}
.showcase img { object-fit: cover; }
.showcase img[src$="demo-home.png"] { aspect-ratio: 3 / 4; object-position: center 40%; max-width: 440px; margin: 0 auto; }
.showcase img[src$="demo-edit.png"] { aspect-ratio: 1 / 0.92; }

.banner { position: relative; margin: 24px 0 72px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.banner img { width: 100%; height: auto; display: block; }
.banner .hot { position: absolute; border-radius: 14px; }
.banner .hot:focus-visible { outline: 3px solid var(--accent-from); outline-offset: 2px; }

.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.doc th { background: var(--bg-element); font-size: 13px; }
.doc td:first-child { font-weight: 700; white-space: nowrap; }

/* Flip meal cards */
.flip { all: unset; box-sizing: border-box; display: block; cursor: pointer; perspective: 1000px; aspect-ratio: 3 / 4; border-radius: var(--radius); -webkit-tap-highlight-color: transparent; }
.flip:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.flip-inner { position: relative; display: block; width: 100%; height: 100%; transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); transform-style: preserve-3d; }
.flip[aria-pressed="true"] .flip-inner { transform: rotateY(180deg); }
.flip:hover .flip-inner { transform: translateY(-4px); }
.flip[aria-pressed="true"]:hover .flip-inner { transform: rotateY(180deg) translateY(-4px); }
.face { position: absolute; inset: 0; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.front img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chip { position: absolute; left: 10px; top: 10px; font-size: 12px; font-weight: 700; background: rgba(255,255,255,0.88); color: #000; padding: 5px 10px; border-radius: 999px; }
.tap { position: absolute; left: 10px; right: 10px; bottom: 10px; text-align: center; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 7px 10px; border-radius: 999px; }
.back { transform: rotateY(180deg); background: var(--surface); background-color: #fffaf5; border: 1px solid var(--border); padding: 18px 16px; display: flex; flex-direction: column; justify-content: center; gap: 12px; color: var(--text); text-align: left; }
.bname { font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: -0.01em; }
.kcal { display: block; font-size: 44px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin: 2px 0 4px; }
.kcal small { font-size: 14px; font-weight: 700; color: var(--text-secondary); margin-left: 4px; letter-spacing: 0; }
.mrow { display: grid; grid-template-columns: 48px 1fr 34px; align-items: center; gap: 8px; font-size: 12px; }
.ml { color: var(--text-secondary); font-weight: 600; }
.mv { text-align: right; font-weight: 700; }
.track { display: block; height: 8px; border-radius: 4px; background: var(--bg-element); overflow: hidden; }
.fill { display: block; height: 100%; width: 0; border-radius: 4px; transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.35s; }
.flip[aria-pressed="true"] .fill { width: var(--w); }
.fill.p { background: var(--protein); } .fill.c { background: var(--carbs); } .fill.f { background: var(--fat); }
.score { margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 7px 10px; border-radius: 999px; text-align: center; }
.note.center { text-align: center; }
@media (prefers-reduced-motion: reduce) { .flip-inner, .fill { transition: none; } }

/* Top banner: first thing on the page */
.top-banner .banner { margin: 20px 0 0; }
.banner-inner { position: relative; }
@media (max-width: 760px) {
  /* The artwork has its text baked in, so on phones show its central 62% enlarged to keep it readable. */
  .banner { border-radius: 22px; }
  .banner-inner { width: 161%; margin-left: -30.5%; }
}

@media (max-width: 520px) {
  .nav .wrap { gap: 8px; }
  .brand { font-size: 18px; gap: 6px; }
  .brand img { width: 30px; height: 30px; }
  .nav-right { gap: 6px; }
  .nav-right .store.sm { padding: 6px 9px; gap: 5px; border-radius: 10px; }
  .nav-right .store.sm b { font-size: 12px; }
  .nav-right .store.sm svg { width: 13px; height: 13px; }
}
@media (max-width: 360px) { .nav-right .store.sm svg { display: none; } }

/* Hero banner (food photo) with live text */
.hero-wrap { padding-top: 20px; }
.hero-banner {
  position: relative; display: grid; place-items: center; text-align: center; overflow: hidden;
  min-height: clamp(460px, 62vh, 640px); border-radius: 32px; box-shadow: var(--shadow);
  background: #0f2a22 url("images/banner.png") center / cover no-repeat;
  color: #fff; isolation: isolate;
}
/* Soft dark-green wash behind the text; also hides the text baked into the artwork. */
.hero-banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 56% 80% at 50% 55%, #0c261e 0%, #0c261e 72%, rgba(12,38,30,0.6) 88%, rgba(12,38,30,0) 100%);
}
.hero-content { padding: 48px 24px; max-width: 760px; }
.hero-content h1 { font-size: clamp(44px, 7.4vw, 88px); line-height: 1.02; letter-spacing: -0.04em; margin: 0 0 18px; }
.hero-content p { margin: 0 auto; font-size: clamp(17px, 2.2vw, 22px); opacity: 0.92; max-width: 560px; }
.hero-stores { justify-content: center; gap: 24px; margin-top: 34px; }
.hero-stores .store { padding: 12px 24px; border-radius: 16px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.hero-stores .store svg { width: 24px; height: 24px; }
.hero-stores .store b { font-size: 18px; }
.hero-stores .store small { font-size: 11px; }
.hero-content .hero-note { margin-top: 26px; font-size: 14px; opacity: 0.7; }
@media (max-width: 520px) {
  .hero-banner { min-height: 520px; border-radius: 24px; }
  .hero-stores { gap: 14px; flex-direction: column; align-items: center; }
  .hero-stores .store { width: 220px; justify-content: center; }
}

@media (max-width: 760px) {
  .hero-banner::before {
    background: linear-gradient(180deg, rgba(12,38,30,0) 0%, #0c261e 16%, #0c261e 86%, rgba(12,38,30,0) 100%);
  }
}

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

/* Rotating headline: lines slide in and out one after the other */
.rotator { display: grid; overflow: hidden; padding: 0.06em 0 0.12em; }
.rot-line { grid-area: 1 / 1; display: block; animation: rot-slide 8s cubic-bezier(0.6, 0, 0.2, 1) infinite both; }
.rot-line:nth-child(2) { animation-delay: 4s; }
@keyframes rot-slide {
  0%   { transform: translateY(110%); opacity: 0; }
  8%   { transform: translateY(0);    opacity: 1; }
  42%  { transform: translateY(0);    opacity: 1; }
  50%  { transform: translateY(-110%); opacity: 0; }
  100% { transform: translateY(-110%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rot-line { animation: none; }
  .rot-line:nth-child(2) { display: none; }
}

/* AI-powered pill with twinkling sparkles and a sweeping shimmer */
.ai-pill {
  position: relative; display: inline-flex; align-items: center; gap: 8px; overflow: hidden;
  margin-bottom: 18px; padding: 8px 16px 8px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 700; color: var(--accent);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  animation: pill-in 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.ai-pill::after {
  content: ""; position: absolute; inset: 0; transform: translateX(-120%);
  background: linear-gradient(100deg, transparent 30%, color-mix(in srgb, var(--accent-from) 45%, transparent) 50%, transparent 70%);
  animation: pill-shimmer 3.6s ease-in-out 1s infinite;
}
.ai-pill span { position: relative; z-index: 1; }
.spark { width: 22px; height: 22px; flex: none; position: relative; z-index: 1; overflow: visible; }
.spark path { fill: url(#none); fill: var(--accent); transform-box: fill-box; transform-origin: center; }
.spark .s1 { animation: twinkle 2.4s ease-in-out infinite; }
.spark .s2 { animation: twinkle 2.4s ease-in-out 0.8s infinite; fill: var(--accent-from); }
.spark .s3 { animation: twinkle 2.4s ease-in-out 1.6s infinite; fill: var(--accent-to); }
@keyframes twinkle { 0%, 100% { transform: scale(1) rotate(0); opacity: 1; } 50% { transform: scale(0.55) rotate(25deg); opacity: 0.55; } }
@keyframes pill-shimmer { 0% { transform: translateX(-120%); } 55%, 100% { transform: translateX(120%); } }
@keyframes pill-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ai-pill, .ai-pill::after, .spark path { animation: none; } }

/* Slider controls (phones only) */
.slider-ctrl { display: none; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 760px) {
  .slider {
    display: flex; gap: 14px; position: relative;
    overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -20px; padding: 8px 20px 20px; scroll-padding-inline: 20px;
  }
  .slider::-webkit-scrollbar { display: none; }
  .slider > * { flex: 0 0 78%; scroll-snap-align: center; scroll-snap-stop: always;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.45s ease; transform: scale(0.93); opacity: 0.6; }
  .slider > .is-active { transform: none; opacity: 1; }
  .meals.slider > * { flex-basis: 70%; }
  .slider > .reveal, .slider > .reveal.in { transform: scale(0.93); opacity: 0.6; }
  .slider > .reveal.is-active, .slider > .reveal.in.is-active { transform: none; opacity: 1; }
  .slider-ctrl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 2px; }
  .slider-ctrl .arrow {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface);
    color: var(--text); font-size: 24px; line-height: 1; padding: 0 0 3px; cursor: pointer; box-shadow: var(--shadow);
  }
  .slider-ctrl .arrow:disabled { opacity: 0.35; cursor: default; }
  .dots { display: flex; gap: 8px; align-items: center; }
  .dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--text-secondary); opacity: 0.35; cursor: pointer; transition: width 0.3s, opacity 0.3s, background 0.3s; }
  .dot.on { width: 22px; opacity: 1; background: linear-gradient(135deg, var(--accent-from), var(--accent-to)); }
}
@media (prefers-reduced-motion: reduce) { .slider > * { transition: none; } }

/* Refresh to match the new landing page (home.css) */
:root { --grad-top: #fbf5ee; --grad-bottom: #f4e9dc; --display: "Bricolage Grotesque", var(--font); }
body { background: #fbf5ee; }
.brand { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; }
.doc h1 { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.doc h2 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }
.doc h2:target { animation: hl 1.6s ease-out; }
@keyframes hl { 0% { background: #fff1c9; } 100% { background: transparent; } }
.toc a { transition: color 0.2s, padding 0.25s; }
.toc a:hover { padding-left: 4px; }
.store { transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.store:hover { transform: translateY(-2px); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 20; background: #2ba6a0; transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: reduce) { .doc h2:target { animation: none; } }
