/* ============================================================
   Cosmetry — marketing site
   "Fresh from the mochi shop": the whole page lives in Cosmi's
   world — dough cream, cocoa outlines, ube purple, blush, matcha.
   Type: Baloo 2 (display) + Nunito (body).
   ============================================================ */

:root {
  /* mochi flavors */
  --dough: #fff8ec;        /* page background — Cosmi's body, lightened */
  --cream: #fffdf7;        /* card fill */
  --crust: #f3e6c7;        /* tinted panels — mascot gradient's deep stop */
  --cocoa: #4a2e20;        /* ink — Cosmi's eyes */
  --line: #6b4a34;         /* outlines — Cosmi's stroke */
  --ube: #493069;          /* CTA purple (the app's brand, mochi-fied) */
  --ube-2: #5e4585;
  --ube-milk: #d7bfeb;
  --blush: #f49ba6;
  --blush-soft: #fdeff1;
  --matcha: #5f9e5c;
  --matcha-soft: #e9f4e6;
  --apricot: #d98a2b;
  --apricot-soft: #faefdd;
  --danger: #cf5454;

  --maxw: 1140px;
  --radius: 22px;
  --border: 2.5px solid var(--line);
  --pop: 0 6px 0 rgba(74, 46, 32, 0.16);
  --pop-up: 0 10px 0 rgba(74, 46, 32, 0.14);
  --pop-down: 0 2px 0 rgba(74, 46, 32, 0.18);

  --font: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: "Baloo 2", "Nunito", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--cocoa);
  background: var(--dough);
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: 0; text-wrap: balance; }
em { font-style: normal; color: var(--ube); font-weight: 800; }
::selection { background: var(--ube-milk); color: var(--ube); }

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

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ube); color: #fff;
  padding: 10px 16px; border-radius: 0 0 12px 0; z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons: squishy mochi ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--display); font-weight: 700; font-size: 16px;
  border-radius: 999px; padding: 12px 24px;
  border: var(--border); box-shadow: var(--pop); cursor: pointer; white-space: nowrap;
  transition: transform 0.16s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.16s ease, background 0.16s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--pop-up); }
.btn:active { transform: translateY(2px) scale(0.98); box-shadow: var(--pop-down); }
.btn--primary { background: var(--ube); color: var(--dough); }
.btn--primary:hover { background: var(--ube-2); }
.btn--ghost { background: var(--cream); color: var(--cocoa); }
.btn--ghost:hover { background: #fff; }
.btn--lg { padding: 16px 30px; font-size: 17.5px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 248, 236, 0.88);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 2.5px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.nav.is-scrolled { box-shadow: 0 5px 0 rgba(74, 46, 32, 0.1); }
.nav__inner { display: flex; align-items: center; gap: 20px; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.brand__mark { display: inline-flex; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.1); }
.brand__name { font-family: var(--display); font-size: 21px; font-weight: 800; color: var(--cocoa); }
.nav__links { display: flex; gap: 24px; margin-left: 14px; }
.nav__links a {
  color: var(--cocoa); opacity: 0.72; font-weight: 700; font-size: 15px;
  transition: opacity 0.15s;
}
.nav__links a:hover { opacity: 1; }
.nav__cta { margin-left: auto; padding: 9px 20px; font-size: 15px; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav__toggle span { width: 24px; height: 3px; background: var(--cocoa); border-radius: 3px; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 84px; position: relative; }
.hero::before,
.hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0;
}
.hero::before {
  width: 560px; height: 560px; right: -160px; top: -120px;
  background: radial-gradient(closest-side, rgba(215, 191, 235, 0.5), transparent 70%);
  transform: translateY(calc(var(--scroll-y, 0) * 0.18px));
}
.hero::after {
  width: 420px; height: 420px; left: -180px; bottom: -160px;
  background: radial-gradient(closest-side, rgba(244, 155, 166, 0.28), transparent 70%);
  transform: translateY(calc(var(--scroll-y, 0) * -0.12px));
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 44px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 14px; font-weight: 700; color: var(--ube);
  background: var(--cream); border: 2px solid var(--line); border-radius: 999px;
  padding: 5px 14px; box-shadow: 0 3px 0 rgba(74, 46, 32, 0.14); margin-bottom: 20px;
}
.hero h1 { font-size: clamp(40px, 6vw, 66px); font-weight: 800; color: var(--cocoa); }
.grad { color: var(--ube); position: relative; display: inline-block; }
.grad::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 0.08em; height: 0.3em;
  background: var(--ube-milk); z-index: -1; border-radius: 999px; transform: rotate(-0.5deg);
}
.lede { font-size: clamp(16px, 2vw, 18.5px); color: var(--cocoa); opacity: 0.78; margin: 20px 0 30px; max-width: 30em; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__badges { display: flex; gap: 20px; list-style: none; margin-top: 30px; flex-wrap: wrap; }
.hero__badges li { position: relative; padding-left: 24px; font-size: 14.5px; font-weight: 700; opacity: 0.8; }
.hero__badges li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 15px; height: 12px; border-radius: 50% 50% 46% 46%;
  background: var(--crust); border: 2px solid var(--line);
}

/* ---------- The living Cosmi ---------- */
.hero__stage { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.cosmi-hero {
  position: absolute; z-index: 4; left: -30px; bottom: -18px;
  width: clamp(180px, 22vw, 250px); border: 0; background: none; padding: 0; cursor: pointer;
  filter: drop-shadow(0 14px 22px rgba(74, 46, 32, 0.25));
  translate: 0 calc(var(--scroll-y, 0) * -0.06px);
}
.cosmi-hero svg { overflow: visible; }
.cosmi__body { transform-origin: 50% 92%; animation: cosmiBreathe 4.2s ease-in-out infinite; }
.cosmi-hero.is-poked .cosmi__body { animation: cosmiSquish 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
.cosmi__pupil { transform: translate(calc(var(--look-x, 0) * 1px), calc(var(--look-y, 0) * 1px)); transition: transform 0.18s ease-out; }
.cosmi__eyes { transform-origin: 120px 132px; }
.cosmi-hero.is-blinking .cosmi__eyes { animation: cosmiBlink 0.16s ease-in-out; }
.cosmi__burst { opacity: 0; }
.cosmi-hero.is-poked .cosmi__burst { animation: cosmiBurst 0.6s ease-out; }
.cosmi-hero__hint {
  position: absolute; left: 50%; bottom: -34px; transform: translateX(-50%) rotate(-2deg);
  font-family: var(--display); font-size: 13.5px; font-weight: 700; color: var(--line);
  opacity: 0.75; white-space: nowrap;
}
@keyframes cosmiBreathe {
  0%, 100% { transform: scale(1, 1); }
  50% { transform: scale(1.015, 0.985) translateY(1px); }
}
@keyframes cosmiSquish {
  0% { transform: scale(1, 1); }
  30% { transform: scale(1.16, 0.8); }
  60% { transform: scale(0.94, 1.08); }
  100% { transform: scale(1, 1); }
}
@keyframes cosmiBlink {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.08); }
}
@keyframes cosmiBurst {
  0% { opacity: 0; transform: scale(0.6); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.25); }
}

/* Floating ingredient chips around the phone */
.float-chip {
  position: absolute; z-index: 3;
  font-family: var(--display); font-size: 13px; font-weight: 700;
  border: 2px solid var(--line); border-radius: 999px; padding: 6px 13px;
  box-shadow: 0 4px 0 rgba(74, 46, 32, 0.15);
  animation: chipBob 5s ease-in-out infinite;
}
.float-chip--ok { background: var(--matcha-soft); color: var(--matcha); right: -14px; top: 96px; }
.float-chip--warn { background: var(--blush-soft); color: var(--danger); right: 6px; top: 300px; animation-delay: -1.8s; }
.float-chip--info { background: var(--cream); color: var(--ube); left: -6px; top: 170px; animation-delay: -3.2s; }
@keyframes chipBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-9px) rotate(2deg); }
}

/* ---------- Phone mockup (sticker edition) ---------- */
.phone {
  position: relative; width: 292px; height: 590px; border-radius: 48px;
  background: var(--cocoa); padding: 12px; z-index: 2;
  border: 3px solid var(--line); box-shadow: 0 12px 0 rgba(74, 46, 32, 0.18);
}
.phone__island {
  position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 25px; background: #241209; border-radius: 999px; z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 38px; overflow: hidden;
  background: linear-gradient(180deg, #fdf6e9, #f6ead1);
  padding: 48px 15px 16px; display: flex; flex-direction: column; gap: 11px;
}
.app-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2px; }
.app-hi { font-size: 12px; font-weight: 600; opacity: 0.6; }
.app-title { font-family: var(--display); font-size: 22px; font-weight: 800; color: var(--ube); }
.app-badge {
  background: var(--ube); color: var(--dough); font-family: var(--display);
  font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 999px;
  border: 2px solid var(--line);
}
.app-card {
  display: flex; align-items: center; gap: 11px; background: var(--cream);
  border: 2px solid var(--line); border-radius: 16px; padding: 10px;
  box-shadow: 0 3px 0 rgba(74, 46, 32, 0.12);
}
.app-thumb { width: 42px; height: 42px; border-radius: 12px; background: var(--crust); border: 2px solid var(--line); flex: none; }
.app-card__body { flex: 1; min-width: 0; }
.app-card__name { font-size: 13.5px; font-weight: 800; }
.app-card__meta { font-size: 11px; font-weight: 600; opacity: 0.6; }
.pill { font-family: var(--display); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; flex: none; border: 2px solid var(--line); }
.pill--warn { background: var(--apricot-soft); color: var(--apricot); }
.pill--ok { background: var(--matcha-soft); color: var(--matcha); }
.app-warn {
  display: flex; align-items: center; gap: 8px; background: var(--blush-soft); color: var(--danger);
  border: 2px solid var(--line); font-size: 11.5px; font-weight: 700; padding: 9px 11px; border-radius: 14px;
}
.app-warn b { font-weight: 900; }
.app-chat {
  margin-top: auto; display: flex; align-items: center; gap: 9px;
  background: var(--cream); border: 2px solid var(--line); font-size: 12px; font-weight: 600;
  opacity: 0.9; padding: 11px 13px; border-radius: 999px; box-shadow: 0 3px 0 rgba(74, 46, 32, 0.12);
}
.app-chat__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ube-milk); border: 2px solid var(--ube); }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 2.5px solid var(--line); border-bottom: 2.5px solid var(--line);
  background: var(--crust); overflow: hidden; padding: 15px 0;
}
.marquee__track { display: flex; gap: 34px; width: max-content; animation: marquee 32s linear infinite; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 34px;
  font-family: var(--display); font-size: 15.5px; font-weight: 700; color: var(--line);
  white-space: nowrap;
}
.marquee__item::after { content: "✦"; color: var(--blush); font-size: 13px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 92px 0; position: relative; }
.section--tint { background: var(--crust); }
.section--dark { background: linear-gradient(165deg, #3d2517, #2a1810); color: var(--dough); }
.section__head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section__head h2, .split__copy h2, .cta__inner h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; color: var(--cocoa); }
.section--dark h2 { color: var(--dough); }
.section__sub { opacity: 0.75; margin-top: 14px; font-size: 17px; font-weight: 600; }

/* ---------- Feature grid: sticker sheet ---------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.feature {
  position: relative; background: var(--cream); border: var(--border); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--pop);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}
.feature:hover { transform: translateY(-5px) rotate(-0.5deg); box-shadow: var(--pop-up); }
.feature__icon {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  background: var(--crust); border: 2px solid var(--line); color: var(--ube);
  margin-bottom: 18px; transform: rotate(-3deg);
}
.feature h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.feature p { opacity: 0.75; font-size: 15px; font-weight: 600; }
.feature__cosmi { position: absolute; top: -20px; right: 16px; width: 56px; transform: rotate(6deg); filter: drop-shadow(0 4px 6px rgba(74, 46, 32, 0.2)); }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: var(--cream); border: var(--border); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--pop);
}
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50% 50% 46% 46%;
  background: var(--ube); border: 2.5px solid var(--line); color: var(--dough);
  font-family: var(--display); font-weight: 700; font-size: 19px; margin-bottom: 16px;
}
.step h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.step p { opacity: 0.75; font-size: 15px; font-weight: 600; }

/* ---------- Split sections ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split--reverse .split__copy { order: 2; }
.split__copy h2 { margin: 14px 0 16px; }
.split__copy p { opacity: 0.78; font-size: 16px; font-weight: 600; }
.section--dark .split__copy p.muted { color: var(--dough); opacity: 0.75; }
.checklist { list-style: none; margin-top: 24px; display: grid; gap: 13px; }
.checklist li { position: relative; padding-left: 32px; font-size: 15.5px; font-weight: 700; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 21px; height: 21px;
  display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 800;
  background: var(--matcha-soft); color: var(--matcha); border: 2px solid var(--line);
}
.checklist--light li::before { background: rgba(215, 191, 235, 0.22); color: var(--ube-milk); border-color: rgba(215, 191, 235, 0.6); }

/* AI chat demo */
.chat-demo {
  background: var(--cream); border: var(--border); border-radius: 26px; padding: 24px;
  box-shadow: var(--pop); display: flex; flex-direction: column; gap: 14px;
  transform: rotate(1deg);
}
.bubble { padding: 13px 16px; border-radius: 18px; font-size: 14.5px; font-weight: 600; max-width: 88%; border: 2px solid var(--line); }
.bubble--user { align-self: flex-end; background: var(--ube); color: var(--dough); border-bottom-right-radius: 6px; }
.bubble--ai { align-self: flex-start; background: var(--dough); border-bottom-left-radius: 6px; position: relative; }
.bubble--ai b { color: var(--ube); font-weight: 900; }
.bubble__cosmi { position: absolute; top: -26px; left: -12px; width: 44px; transform: rotate(-8deg); }
.chip {
  display: inline-block; margin: 8px 6px 0 0; background: var(--cream); border: 2px solid var(--line);
  color: var(--ube); font-family: var(--display); font-size: 12.5px; font-weight: 700;
  padding: 4px 11px; border-radius: 999px; box-shadow: 0 2px 0 rgba(74, 46, 32, 0.12);
}

/* Privacy media: Cosmi keeping a secret */
.hush {
  display: grid; place-items: center; padding: 30px;
}
.hush svg { width: min(300px, 70%); filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.35)); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq__item {
  background: var(--cream); border: var(--border); border-radius: 18px; padding: 4px 22px;
  box-shadow: var(--pop);
}
.faq__item summary {
  cursor: pointer; list-style: none; font-family: var(--display); font-weight: 700;
  font-size: 17px; padding: 16px 38px 16px 0; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center;
  background: var(--blush-soft); border: 2px solid var(--line); border-radius: 50%;
  font-size: 17px; color: var(--danger); transition: transform 0.2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { opacity: 0.78; font-size: 15px; font-weight: 600; padding-bottom: 18px; }

/* ---------- CTA ---------- */
.cta { padding: 40px 0 100px; }
.cta__inner {
  position: relative; text-align: center; background: var(--crust);
  border: 3px solid var(--line); border-radius: 34px; padding: 72px 32px 64px;
  box-shadow: 0 10px 0 rgba(74, 46, 32, 0.16);
}
.cta__cosmi { position: absolute; top: -46px; left: 50%; transform: translateX(-50%) rotate(-4deg); width: 92px; filter: drop-shadow(0 8px 12px rgba(74, 46, 32, 0.25)); }
.cta__inner p { opacity: 0.78; margin: 14px 0 30px; font-size: 18px; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #2a1810; color: #e9d9c4; padding: 56px 0 32px; border-top: 3px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer__brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.footer__brand .brand__name { color: var(--dough); font-size: 20px; }
.footer__tag { width: 100%; color: #b9a68e; font-size: 14px; font-weight: 600; margin-top: 4px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer__links a { color: #e9d9c4; font-size: 14.5px; font-weight: 700; transition: color 0.15s; }
.footer__links a:hover { color: #fff; }
.footer__legal { margin-top: 36px; padding-top: 24px; border-top: 2px solid rgba(233, 217, 196, 0.15); display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: flex-end; }
.footer__legal p { color: #a08b71; font-size: 12.5px; font-weight: 600; margin-top: 6px; }
.footer__cosmi { width: 58px; flex: none; opacity: 0.9; }

/* ---------- Legal pages (privacy / terms / support) ---------- */
.legal { padding: 44px 0 84px; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; color: var(--ube); font-weight: 800; margin-bottom: 22px; }
.legal__back:hover { text-decoration: underline; }
.legal__card {
  background: var(--cream); border: var(--border); border-radius: var(--radius);
  padding: 42px; box-shadow: var(--pop);
}
.legal__card h1 { font-size: clamp(30px, 4vw, 40px); color: var(--ube); }
.legal__meta { opacity: 0.65; font-size: 14px; font-weight: 600; margin-top: 6px; }
.legal__toc { background: var(--dough); border: 2px solid var(--line); border-radius: 16px; padding: 22px 24px; margin: 26px 0 8px; }
.legal__toc h2 { font-size: 17px; color: var(--ube); margin-bottom: 12px; }
.legal__toc ul { columns: 2; column-gap: 30px; list-style: none; }
.legal__toc li { font-size: 13.5px; color: var(--ube); opacity: 0.85; font-weight: 700; padding: 3px 0; break-inside: avoid; }
.legal__body { margin-top: 8px; }
.legal__body > p { margin-top: 16px; font-size: 15.5px; font-weight: 600; opacity: 0.9; }
.legal__body section { margin-top: 30px; }
.legal__body h2 { font-size: 21px; color: var(--ube); margin-bottom: 10px; }
.legal__body h3 { font-size: 17px; color: var(--ube); margin: 16px 0 6px; }
.legal__body p { font-size: 15.5px; font-weight: 600; opacity: 0.9; margin-bottom: 8px; }
.legal__body ul { margin: 8px 0 0 22px; display: grid; gap: 6px; }
.legal__body li { font-size: 15px; font-weight: 600; opacity: 0.9; }
.legal__body a { color: var(--ube); text-decoration: underline; }
.callout {
  background: var(--dough); border: 2px solid var(--line); border-left: 6px solid var(--ube);
  padding: 14px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 600; margin: 12px 0;
}
.callout--warn { border-left-color: var(--apricot); background: var(--apricot-soft); }
.pricebox { background: var(--dough); border: 2px solid var(--line); border-radius: 14px; padding: 16px 20px; margin: 12px 0; }
.pricebox .row { display: flex; justify-content: space-between; font-size: 14.5px; font-weight: 600; padding: 4px 0; }
.pricebox .row b { color: var(--ube); }
@media (max-width: 640px) { .legal__toc ul { columns: 1; } .legal__card { padding: 26px 20px; } }

/* ---------- Reveal animation: stickers being placed ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.965) rotate(0.6deg);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.34, 1.45, 0.64, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav.open .nav__links {
    display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column;
    gap: 4px; background: var(--dough); padding: 14px 24px 22px; border-bottom: 2.5px solid var(--line); margin: 0;
  }
  .nav.open .nav__links a { padding: 10px 0; font-size: 17px; }
  .hero__grid { grid-template-columns: 1fr; text-align: center; }
  .hero__copy { order: 2; }
  .hero__stage { order: 1; margin-bottom: 30px; }
  .cosmi-hero { left: 4px; width: 160px; }
  .lede { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__badges { justify-content: center; }
  .eyebrow { margin-left: auto; margin-right: auto; }
  .grid--3, .steps { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .split--reverse .split__copy { order: 0; }
  .float-chip { display: none; }
}
@media (max-width: 480px) {
  .section { padding: 64px 0; }
  .phone { width: 252px; height: 514px; }
  .cosmi-hero { width: 132px; left: 0; bottom: -10px; }
  .cta__inner { padding: 60px 20px 48px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .cosmi__body, .float-chip, .marquee__track { animation: none; }
  .cosmi__pupil { transition: none; }
  .btn, .feature, .brand__mark { transition: none; }
  .hero::before, .hero::after { transform: none; }
  .cosmi-hero { translate: none; }
}
