/* Kuko — marketing site
   Colour tokens mirror the app (kuko/src/kuko/theme.ts). */
:root {
  --bg: #F7F7F3;
  --surface: #FFFFFF;
  --lime: #9ADF3A;
  --lime-soft: #CDEE9F;
  --ink-on-lime: #1E3A08;
  --deep: #6FAE2E;
  --deeper: #3F6B14;
  --link: #4C7A18;
  --tint: #F1F8E6;
  --deal: #DDF3BF;
  --text: #1A1A1A;
  --text2: #6B6B6B;
  --text3: #A8A8A8;
  --hairline: #EFEFEA;
  --chip: #F3F1EC;
  --star: #F5A524;
  --coin: #F2C94C;
  --red: #E5484D;
  --dark: #1A1A1A;

  --radius: 22px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .05);
  --shadow: 0 10px 30px -12px rgba(30, 58, 8, .18), 0 2px 6px rgba(0, 0, 0, .04);
  --shadow-lg: 0 40px 80px -30px rgba(30, 58, 8, .35), 0 8px 24px rgba(0, 0, 0, .06);

  --display: "Archivo Black", "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; letter-spacing: -.03em; line-height: 1.04; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 247, 243, .78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--hairline); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.brand span { font-family: var(--display); font-size: 25px; letter-spacing: -.04em; line-height: 1; }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--link); text-decoration: none; }
@media (max-width: 860px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font: 600 16px/1 var(--body); border: 0; cursor: pointer;
  text-decoration: none !important; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s;
}
.btn:active { transform: scale(.97); }
.btn-lime { background: var(--lime); color: var(--ink-on-lime); box-shadow: 0 10px 24px -10px rgba(111, 174, 46, .8); }
.btn-lime:hover { background: #A6E64B; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline); }
.btn-ghost:hover { transform: translateY(-1px); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-sm { height: 42px; padding: 0 20px; font-size: 15px; }

/* App store badges (styled buttons, no Apple/Google artwork) */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  height: 58px; padding: 0 22px 0 18px; border-radius: 16px;
  background: var(--dark); color: #fff; text-decoration: none !important;
  transition: transform .15s, box-shadow .2s;
}
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .5); }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn small { display: block; font-size: 11px; opacity: .75; line-height: 1.2; letter-spacing: .02em; }
.store-btn strong { display: block; font-size: 18px; font-weight: 600; line-height: 1.15; }
.store-btn.soon { cursor: default; }
.store-btn.soon:hover { transform: none; box-shadow: none; }

/* ---------- Pills / eyebrows ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  font-size: 13.5px; font-weight: 600; color: var(--deeper);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px var(--tint); }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--tint); color: var(--deeper);
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.hl { color: var(--deep); position: relative; white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .26em;
  background: var(--lime); opacity: .45; border-radius: 6px; z-index: -1;
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 56px 0 90px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: -140px 0 0; z-index: -2;
  background:
    radial-gradient(640px 420px at 82% 18%, rgba(154, 223, 58, .38), transparent 70%),
    radial-gradient(520px 380px at 8% 0%, rgba(205, 238, 159, .55), transparent 70%);
}
.hero .wrap { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(44px, 6.4vw, 78px); margin: 22px 0 22px; }
.hero .lead { font-size: 19px; color: var(--text2); max-width: 540px; }
.hero .stores { margin-top: 32px; }
.hero .meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 26px; color: var(--text2); font-size: 14.5px; }
.hero .meta b { color: var(--text); font-weight: 600; }
.hero .meta .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--text3); }
@media (max-width: 960px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
}

/* ---------- Phone mockup ---------- */
.phone-stage { position: relative; display: flex; justify-content: center; padding: 20px 0; }
.mascot {
  position: absolute; top: -34px; right: 6%; width: 118px; height: 118px; z-index: 3;
  border-radius: 30px; box-shadow: var(--shadow);
  animation: bob 5s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.phone {
  position: relative; z-index: 2;
  width: 310px; height: 640px; border-radius: 52px; padding: 11px;
  background: #121212; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2a2a2a;
}
.screen {
  position: relative; width: 100%; height: 100%; border-radius: 42px; overflow: hidden;
  background: var(--bg); padding: 46px 16px 16px; font-size: 12px;
}
.screen::before { /* dynamic island */
  content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; border-radius: 20px; background: #121212;
}
.status { position: absolute; top: 14px; left: 26px; right: 22px; display: flex; justify-content: space-between; font-weight: 700; font-size: 12.5px; }
.status i { font-style: normal; letter-spacing: 1px; }
.s-greet { font-size: 10px; font-weight: 700; letter-spacing: .12em; color: var(--text2); }
.s-title { font-family: var(--display); font-size: 23px; letter-spacing: -.03em; line-height: 1.1; margin: 2px 0 12px; }
.s-days { display: flex; gap: 5px; margin-bottom: 12px; }
.s-days span {
  flex: 1; text-align: center; padding: 6px 0; border-radius: 12px; background: var(--surface);
  box-shadow: var(--shadow-sm); font-weight: 600; font-size: 10.5px; color: var(--text2);
}
.s-days span b { display: block; font-size: 14px; color: var(--text); }
.s-days span.on { background: var(--lime); color: var(--ink-on-lime); }
.s-days span.on b { color: var(--ink-on-lime); }
.s-hero {
  border-radius: 22px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm);
}
.s-dish {
  height: 138px; display: grid; place-items: center; font-size: 66px; position: relative;
  background: radial-gradient(circle at 50% 60%, #FFE9B8 0%, #F6D98E 38%, #E8F5D3 72%);
}
.s-dish .tag {
  position: absolute; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); font-size: 9.5px; font-weight: 800; letter-spacing: .08em;
}
.s-dish .save {
  position: absolute; top: 10px; right: 10px; padding: 4px 9px; border-radius: 999px;
  background: var(--lime); color: var(--ink-on-lime); font-size: 10px; font-weight: 700;
}
.s-body { padding: 12px 13px 13px; }
.s-body h4 { margin: 0 0 8px; font-family: var(--display); font-weight: 400; font-size: 15px; letter-spacing: -.02em; line-height: 1.15; }
.s-stats { display: flex; gap: 6px; }
.s-stats span { flex: 1; background: var(--chip); border-radius: 10px; padding: 5px 0; text-align: center; font-size: 9px; color: var(--text2); font-weight: 600; }
.s-stats span b { display: block; font-size: 13px; color: var(--text); }
.s-cta { margin-top: 10px; height: 36px; border-radius: 999px; background: var(--lime); color: var(--ink-on-lime); display: grid; place-items: center; font-weight: 700; font-size: 12.5px; }
.s-budget {
  margin-top: 10px; background: var(--surface); border-radius: 18px; padding: 11px 13px; box-shadow: var(--shadow-sm);
}
.s-budget .row { display: flex; justify-content: space-between; font-weight: 700; font-size: 11.5px; }
.s-budget .row span { color: var(--text2); font-weight: 600; }
.s-bar { height: 7px; border-radius: 9px; background: var(--hairline); margin-top: 7px; overflow: hidden; }
.s-bar i { display: block; height: 100%; width: 72%; border-radius: 9px; background: linear-gradient(90deg, var(--deep), var(--lime)); }
.s-tabs {
  position: absolute; left: 12px; right: 12px; bottom: 12px; height: 54px; border-radius: 999px;
  background: rgba(255, 255, 255, .96); box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
  display: flex; align-items: center; justify-content: space-around; font-size: 8.5px; font-weight: 700; color: var(--text2);
}
.s-tabs span { display: grid; justify-items: center; gap: 1px; padding: 5px 9px; border-radius: 999px; }
.s-tabs span em { font-style: normal; font-size: 15px; line-height: 1.1; }
.s-tabs span.on { background: var(--tint); color: var(--deeper); }

.float-card {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 11px;
  background: var(--surface); border-radius: 18px; padding: 11px 15px 11px 11px;
  box-shadow: var(--shadow); font-size: 13.5px; line-height: 1.25;
}
.float-card .ic { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: var(--tint); flex: none; }
.float-card b { display: block; font-weight: 700; }
.float-card small { color: var(--text2); font-size: 12px; }
.fc-1 { left: -4%; top: 22%; animation: floaty 6s ease-in-out infinite; }
.fc-2 { right: -8%; top: 55%; animation: floaty 7s ease-in-out -2s infinite; }
.fc-3 { left: 2%; bottom: 8%; animation: floaty 6.5s ease-in-out -4s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 1100px) { .fc-2 { right: -2%; } }
@media (max-width: 520px) {
  .phone { width: 280px; height: 580px; }
  .mascot { width: 88px; height: 88px; right: 0; top: -20px; border-radius: 24px; }
  .float-card { font-size: 12px; padding: 8px 11px 8px 8px; }
  .float-card .ic { width: 30px; height: 30px; font-size: 15px; }
  .fc-1 { left: -2%; } .fc-2 { right: -2%; } .fc-3 { display: none; }
}

/* ---------- Store logo marquee ---------- */
.logos { padding: 8px 0 40px; }
.logos p { text-align: center; color: var(--text2); font-size: 14.5px; margin-bottom: 20px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.logo-chip {
  width: 132px; height: 64px; flex: none; border-radius: 16px; background: var(--surface);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  display: grid; place-items: center; padding: 12px 18px;
}
.logo-chip img { max-height: 38px; max-width: 100%; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(34px, 4.6vw, 54px); margin: 18px 0 16px; }
.section-head p { color: var(--text2); font-size: 18px; }
@media (max-width: 600px) { .section { padding: 72px 0; } }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step {
  position: relative; background: var(--surface); border-radius: var(--radius); padding: 30px 28px 32px;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
}
.step .num { font-family: var(--display); font-size: 15px; color: var(--deep); letter-spacing: .02em; }
.step .emo { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 30px; background: var(--tint); margin: 16px 0 20px; }
.step h3 { font-size: 23px; margin-bottom: 10px; }
.step p { color: var(--text2); font-size: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Features grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature {
  background: var(--surface); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .ic { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; font-size: 24px; background: var(--tint); margin-bottom: 20px; }
.feature h3 { font-family: var(--body); font-weight: 700; font-size: 19px; letter-spacing: -.01em; margin-bottom: 8px; }
.feature p { color: var(--text2); font-size: 15.5px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* Spotlights */
.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.spot + .spot { margin-top: 110px; }
.spot.flip .spot-copy { order: 2; }
.spot h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 18px 0 18px; }
.spot .lead { color: var(--text2); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.ticks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--lime); color: var(--ink-on-lime); display: grid; place-items: center; font-size: 13px; font-weight: 800;
}
.spot-visual {
  position: relative; min-height: 400px; border-radius: 32px; padding: 34px;
  background: linear-gradient(145deg, #EAF6D6, #F7FBEF 60%, #fff);
  box-shadow: inset 0 0 0 1px var(--hairline); display: grid; place-items: center;
}
@media (max-width: 900px) {
  .spot { grid-template-columns: 1fr; gap: 36px; }
  .spot.flip .spot-copy { order: 0; }
  .spot + .spot { margin-top: 80px; }
  .spot-visual { min-height: 0; padding: 26px 18px; }
}

.card { background: var(--surface); border-radius: 22px; box-shadow: var(--shadow); padding: 20px; width: 100%; max-width: 380px; }
.card-title { font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.card-sub { color: var(--text2); font-size: 13.5px; margin-top: 2px; }

/* scan card */
.scan-photo {
  height: 170px; border-radius: 16px; margin-bottom: 16px; position: relative; overflow: hidden;
  display: grid; place-items: center; font-size: 76px;
  background: radial-gradient(circle at 50% 55%, #FFF3D6, #F9E1A8 45%, #EEDDB8 75%);
}
.scan-photo::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--lime);
  box-shadow: 0 0 18px 4px rgba(154, 223, 58, .8); animation: scanline 2.6s ease-in-out infinite;
}
@keyframes scanline { 0% { top: 8%; } 50% { top: 90%; } 100% { top: 8%; } }
.corner { position: absolute; width: 22px; height: 22px; border: 3px solid #fff; }
.corner.tl { top: 12px; left: 12px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.corner.tr { top: 12px; right: 12px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.corner.bl { bottom: 12px; left: 12px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.corner.br { bottom: 12px; right: 12px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.macros { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 14px; }
.macros div { background: var(--chip); border-radius: 12px; padding: 9px 4px; text-align: center; font-size: 11px; color: var(--text2); font-weight: 600; }
.macros b { display: block; font-size: 17px; color: var(--text); font-family: var(--display); font-weight: 400; }
.macros div:first-child { background: var(--lime); color: var(--ink-on-lime); }
.macros div:first-child b { color: var(--ink-on-lime); }

/* price-check card */
.pc-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--hairline); }
.pc-row:first-of-type { border-top: 0; }
.pc-logo { width: 44px; height: 30px; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--hairline); display: grid; place-items: center; padding: 4px; flex: none; }
.pc-logo img { max-height: 22px; object-fit: contain; }
.pc-name { flex: 1; font-weight: 600; font-size: 15px; }
.pc-name small { display: block; color: var(--text2); font-weight: 500; font-size: 12px; }
.pc-price { font-weight: 700; font-size: 16px; }
.pc-best { background: var(--deal); border-radius: 14px; padding: 11px 12px; margin: 4px -6px; border-top: 0; }
.pc-best + .pc-row { border-top: 0; }
.badge { display: inline-block; padding: 3px 8px; border-radius: 999px; background: var(--lime); color: var(--ink-on-lime); font-size: 10.5px; font-weight: 800; letter-spacing: .04em; margin-left: 6px; vertical-align: 2px; }
.pc-foot { margin-top: 12px; padding: 12px; border-radius: 14px; background: var(--tint); color: var(--deeper); font-weight: 600; font-size: 14px; text-align: center; }

/* savings card */
.sav-big { font-family: var(--display); font-size: 52px; letter-spacing: -.04em; line-height: 1; margin: 12px 0 4px; }
.sav-sub { color: var(--deeper); font-weight: 600; font-size: 14px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; margin-top: 22px; }
.bars div { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; justify-content: flex-end; font-size: 11px; font-weight: 700; color: var(--text2); }
.bars i { display: block; width: 100%; border-radius: 10px 10px 6px 6px; background: var(--lime-soft); transform-origin: bottom; }
.bars div:last-child i { background: var(--lime); }
.reveal.in .bars i { animation: grow 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes grow { from { transform: scaleY(0); } }
.sav-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.sav-stats div { background: var(--chip); border-radius: 12px; padding: 10px 6px; text-align: center; font-size: 11px; color: var(--text2); font-weight: 600; line-height: 1.3; }
.sav-stats b { display: block; font-size: 17px; color: var(--text); }

/* grocery list card */
.gl-aisle { font-size: 11px; font-weight: 800; letter-spacing: .12em; color: var(--text3); margin: 14px 0 4px; }
.gl-item { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 500; font-size: 15px; }
.gl-item .box { width: 22px; height: 22px; border-radius: 7px; box-shadow: inset 0 0 0 2px var(--outline, #E0DDD5); flex: none; display: grid; place-items: center; font-size: 12px; font-weight: 900; }
.gl-item.done { color: var(--text3); text-decoration: line-through; }
.gl-item.done .box { background: var(--lime); box-shadow: none; color: var(--ink-on-lime); }
.gl-item span:last-child { margin-left: auto; color: var(--text2); font-size: 14px; text-decoration: none; }

/* Banner band */
.band { padding: 20px 0 96px; }
.band-inner {
  position: relative; border-radius: 36px; overflow: hidden; min-height: 320px;
  background: #EEF6D8 url("assets/banner.jpg") center / cover no-repeat;
  box-shadow: var(--shadow);
}
.band-inner .band-copy {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 34px;
  background: linear-gradient(0deg, rgba(247, 247, 243, .96), rgba(247, 247, 243, .75) 70%, transparent);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.band-copy h3 { font-size: clamp(22px, 2.6vw, 30px); max-width: 560px; }
@media (max-width: 700px) {
  .band-inner { min-height: 0; aspect-ratio: auto; background-size: 170% auto; background-position: 18% 0; padding-top: 58%; }
  .band-inner .band-copy { position: relative; background: var(--bg); padding: 20px; }
}

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  padding: 0 24px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 17.5px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--deeper);
  display: grid; place-items: center; font-size: 20px; font-weight: 500; transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime); }
.faq details p { padding: 0 0 22px; color: var(--text2); font-size: 16px; }

/* Final CTA */
.cta {
  position: relative; border-radius: 40px; padding: 76px 32px; text-align: center; overflow: hidden;
  background: radial-gradient(600px 300px at 50% 0%, #B5EA6A, var(--lime) 60%, #8ED12F);
  color: var(--ink-on-lime);
}
.cta img { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 24px; box-shadow: 0 16px 30px -12px rgba(30, 58, 8, .5); }
.cta h2 { font-size: clamp(36px, 5vw, 60px); }
.cta p { font-size: 18px; margin: 16px auto 32px; max-width: 520px; color: #2F5410; }
.cta .stores { justify-content: center; }

/* Footer */
.footer { padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer .brand { margin-bottom: 14px; }
.footer p { color: var(--text2); font-size: 15px; max-width: 320px; }
.footer h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--text3); margin: 6px 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer ul a { color: var(--text); font-size: 15px; }
.footer-bottom {
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hairline);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--text2); font-size: 14px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* Reveal on scroll (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Legal / document pages ---------- */
.doc-hero { padding: 64px 0 36px; text-align: center; }
.doc-hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin: 18px 0 12px; }
.doc-hero p { color: var(--text2); }
.doc {
  max-width: 800px; margin: 0 auto 80px; background: var(--surface); border-radius: 32px;
  padding: 56px 64px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--hairline);
  font-size: 16.5px; line-height: 1.7;
}
.doc h2 { font-size: 26px; margin: 48px 0 14px; scroll-margin-top: 90px; }
.doc h2:first-of-type { margin-top: 32px; }
.doc h3 { font-family: var(--body); font-weight: 700; font-size: 18px; letter-spacing: -.01em; margin: 28px 0 8px; }
.doc p, .doc ul, .doc ol, .doc table { margin: 0 0 14px; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin-bottom: 6px; }
.doc li::marker { color: var(--deep); }
.doc a { text-decoration: underline; text-underline-offset: 2px; }
.doc .summary { background: var(--tint); border-radius: 20px; padding: 22px 26px; margin-bottom: 8px; }
.doc .summary h3 { margin-top: 0; }
.doc .summary ul { margin: 0; }
.doc .toc { border-radius: 20px; padding: 20px 26px; box-shadow: inset 0 0 0 1px var(--hairline); margin: 20px 0 0; }
.doc .toc ol { margin: 8px 0 0; columns: 2; column-gap: 32px; font-size: 15px; }
.doc .toc a { text-decoration: none; }
.doc .caps { text-transform: uppercase; font-size: 15px; letter-spacing: .01em; }
.doc .todo { background: #FFF4D6; box-shadow: inset 0 0 0 1px #F2C94C; border-radius: 6px; padding: 1px 6px; font-weight: 600; color: #7A5B00; }
.table-wrap { overflow-x: auto; margin: 0 0 16px; -webkit-overflow-scrolling: touch; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--hairline); }
.doc th { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text2); background: var(--bg); }
.doc .contact-card { display: flex; gap: 16px; align-items: center; background: var(--bg); border-radius: 20px; padding: 20px 22px; margin-top: 10px; }
.doc .contact-card img { width: 52px; height: 52px; border-radius: 14px; }
@media (max-width: 700px) {
  .doc { padding: 32px 20px; border-radius: 24px; font-size: 16px; margin-bottom: 56px; }
  .doc .toc ol { columns: 1; }
}
.steps-list { counter-reset: s; list-style: none; padding: 0 !important; display: grid; gap: 14px; }
.steps-list li { counter-increment: s; display: flex; gap: 14px; align-items: flex-start; }
.steps-list li::before {
  content: counter(s); flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--lime); color: var(--ink-on-lime); font-weight: 800; display: grid; place-items: center; font-size: 14px;
}
@media (max-width: 600px) { .hero .meta { flex-direction: column; align-items: flex-start; } .hero .meta .sep { display: none; } }
