/* ==========================================================================
   Winkie · a little window into their day
   Oat paper, cocoa ink, clay + sage accents. Arches are windows.
   ========================================================================== */

@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('/assets/fonts/figtree.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: 'Nanum Pen';
  src: url('/assets/fonts/nanum-pen.woff2') format('woff2');
  font-display: swap;
}
/* Metric-matched fallbacks keep the layout still while fonts load */
@font-face { font-family: 'Fraunces Fallback'; src: local('Georgia'); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: 'Figtree Fallback'; src: local('Arial'); size-adjust: 97%; ascent-override: 96%; descent-override: 26%; }

:root {
  color-scheme: light;
  interpolate-size: allow-keywords;

  --paper: #F6EFE8;
  --paper-2: #EFE5DA;
  --paper-3: #E6D9CA;
  --cream: #FCF8F3;
  --line: #E4D6C6;
  --line-strong: #D3C1AD;
  --clay-100: #F2E2D6;
  --clay-300: #E6C4AE;
  --clay: #D2B29B;
  --clay-ink: #8C5F45;
  --wink: #A4785C;
  --sage-100: #E5E9DC;
  --sage-300: #C5CDB8;
  --sage: #A3AD96;
  --sage-ink: #4F5C47;
  --cocoa: #3F332A;
  --cocoa-2: #54463B;
  --cocoa-soft: #6B5B4F;
  --night: #2A221D;
  --night-2: #372C25;
  --live: #E0664F;
  --glow: #FFF3D6;
  --wa: #1A9A4C;

  --serif: 'Fraunces', 'Fraunces Fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', 'Figtree Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hand: 'Nanum Pen', 'Segoe Print', 'Bradley Hand', cursive;

  --shadow-sm: 0 1px 2px rgb(63 51 42 / .06), 0 3px 10px -2px rgb(63 51 42 / .07);
  --shadow: 0 2px 6px rgb(63 51 42 / .05), 0 16px 36px -12px rgb(63 51 42 / .2);
  --shadow-lg: 0 4px 14px rgb(63 51 42 / .06), 0 34px 70px -24px rgb(63 51 42 / .34);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --gutter: clamp(20px, 5vw, 48px);
  --max: 1200px;
  --section: clamp(88px, 11vw, 168px);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .22 0 0 0 0 .16 0 0 0 .42 -.15'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--grain), var(--paper);
  color: var(--cocoa);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2.5px solid var(--cocoa); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--clay-300); color: var(--cocoa); }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 12px; background: var(--cocoa); color: var(--cream); text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.container { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Type ---------- */
.hero__title, .h2, .statement, .sheet__title, .goal__count, .moment h3, .perk h3, .invite h3, .app__title, .footer__tag {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
}
.hero__title, .h2, .statement { font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 0; text-wrap: balance; }
.hero__title em, .h2 em, .statement em, .sheet__title em {
  font-style: italic;
  font-weight: 330;
  color: var(--wink);
}
.hero__title {
  font-size: clamp(2.8rem, 1.55rem + 5vw, 5.7rem);
  font-weight: 360;
  line-height: .98;
  letter-spacing: -.028em;
}
.h2 {
  font-size: clamp(2.2rem, 1.5rem + 2.9vw, 3.9rem);
  font-weight: 370;
  line-height: 1.02;
  letter-spacing: -.022em;
}
.statement {
  font-size: clamp(2rem, 1.15rem + 3.5vw, 4.3rem);
  font-weight: 350;
  line-height: 1.05;
  letter-spacing: -.024em;
  text-align: center;
  max-width: 21ch;
  margin-inline: auto;
}
.eyebrow {
  font: 700 .76rem/1.2 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--clay-ink);
  margin-bottom: 20px;
}
.body {
  font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem);
  line-height: 1.62;
  color: var(--cocoa-soft);
  max-width: 50ch;
  margin-top: 22px;
}
.fine { font-size: .84rem; color: var(--cocoa-soft); margin-top: 22px; }
.hand { font-family: var(--hand); font-weight: 400; line-height: 1; color: var(--clay-ink); }

/* Hand-drawn squiggle under a word */
.squiggle { position: relative; display: inline-block; white-space: nowrap; }
.squiggle svg {
  position: absolute;
  left: -3%;
  bottom: -.1em;
  width: 106%;
  height: .2em;
  color: var(--clay);
  stroke-dasharray: 340;
  stroke-dashoffset: 340;
  animation: draw 1.3s 1s var(--ease) forwards;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--cocoa);
  --fg: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  min-height: 56px;
  padding: 0 1.55em;
  border: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--fg);
  font: 650 1.02rem/1 var(--sans);
  letter-spacing: .005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 10px 22px -10px rgb(63 51 42 / .55);
  transition: transform .3s var(--ease), background-color .25s, box-shadow .3s;
}
.btn:hover { transform: translateY(-1.5px); --bg: #2E241E; box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 16px 28px -12px rgb(63 51 42 / .6); }
.btn:active { transform: translateY(0) scale(.97); }
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--small { min-height: 42px; padding: 0 1.15em; font-size: .92rem; }
.btn--ghost { --bg: transparent; --fg: var(--cocoa); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.btn--ghost:hover { --bg: rgb(63 51 42 / .05); box-shadow: inset 0 0 0 1.5px var(--cocoa-soft); }
.btn--wa { --bg: var(--wa); --fg: #fff; box-shadow: 0 10px 22px -10px rgb(26 154 76 / .6); }
.btn--wa:hover { --bg: #158342; }
.btn--wa:hover .icon { transform: none; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .35s, box-shadow .35s, backdrop-filter .35s; }
.nav.is-scrolled {
  background: rgb(246 239 232 / .82);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 0 rgb(63 51 42 / .07);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.nav__logo { color: var(--cocoa); flex: none; border-radius: 8px; }
.nav__logo svg { height: 29px; width: auto; aspect-ratio: 330 / 92; }
.nav__links { display: none; gap: clamp(18px, 2.4vw, 34px); margin-left: auto; }
.nav__links a { position: relative; text-decoration: none; font-weight: 550; font-size: .95rem; color: var(--cocoa-2); }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
@media (min-width: 900px) { .nav__links { display: flex; } }

/* ---------- Sections never scroll sideways (decorative blobs bleed past the edges) ---------- */
main > section, .footer { overflow-x: clip; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(14px, 3vw, 44px) 0 clamp(80px, 9vw, 130px); }
.hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  right: -12vw;
  top: -10vw;
  width: 62vw;
  aspect-ratio: 1;
  border-radius: 47% 53% 42% 58% / 52% 44% 56% 48%;
  background: radial-gradient(circle at 40% 40%, var(--clay-100), transparent 68%);
  opacity: .9;
}
.hero__grid { display: grid; gap: clamp(64px, 8vw, 72px); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.1fr .9fr; gap: clamp(48px, 5vw, 88px); } }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 8px 12px;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm);
  font: 650 .8rem/1 var(--sans);
  letter-spacing: .03em;
  color: var(--cocoa-2);
  margin-bottom: 26px;
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--live); animation: pulse 2.2s ease-out infinite; }
.hero__lede {
  font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem);
  line-height: 1.6;
  color: var(--cocoa-soft);
  max-width: 31em;
  margin: 26px 0 34px;
}

/* Signup form */
.signup { position: relative; max-width: 540px; }
.signup__row {
  display: flex;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: var(--cream);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
  transition: box-shadow .25s;
}
.signup__row:focus-within { box-shadow: var(--shadow), inset 0 0 0 2px var(--cocoa); }
.signup input[type='email'] {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 8px 0 20px;
  border: 0;
  background: transparent;
  font: 500 1.05rem var(--sans);
  color: var(--cocoa);
  outline: none;
}
.signup input::placeholder { color: #9B887A; }
.signup .btn { min-height: 52px; }
.signup__fine { margin: 14px 6px 0; font-size: .9rem; color: var(--cocoa-soft); }
.signup__msg { margin: 8px 6px 0; font-size: .92rem; font-weight: 550; color: #A13A26; }
.signup__msg:empty { display: none; }
.signup.is-loading .btn span { opacity: .55; }
.signup.is-loading .btn .icon { animation: nudge .8s ease-in-out infinite; }
.signup.is-shaking .signup__row { animation: shake .45s; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 540px) {
  .signup__row { flex-direction: column; border-radius: 26px; padding: 6px; }
  .signup input[type='email'] { padding: 0 16px; text-align: center; }
  .signup .btn { width: 100%; }
}
.signup--stack .signup__row { flex-direction: column; border-radius: 24px; }
.signup--stack input[type='email'] { padding: 0 16px; text-align: center; }
.signup--stack .btn { width: 100%; }
.signup--center { margin-inline: auto; }
.signup--center .signup__fine, .signup--center .signup__msg { text-align: center; }

/* Already-joined card replaces the hero form */
.joined {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 540px;
  padding: 16px 16px 16px 18px;
  border-radius: 24px;
  background: var(--cream);
  box-shadow: var(--shadow), inset 0 0 0 1px var(--line);
}
.joined__face { width: 46px; height: 42px; flex: none; }
.joined__title { font-weight: 650; }
.joined__sub { font-size: .88rem; color: var(--cocoa-soft); margin-top: 2px; }
.joined .btn { margin-left: auto; }

/* Social proof */
.proof { display: flex; align-items: center; gap: 12px; margin-top: 26px; }
.proof__faces { display: flex; }
.proof__faces svg { width: 32px; height: 30px; margin-left: -9px; filter: drop-shadow(0 0 0 var(--paper)) drop-shadow(0 2px 3px rgb(63 51 42 / .15)); }
.proof__faces svg:first-child { margin-left: 0; }
.proof__text { font-size: .95rem; color: var(--cocoa-soft); }
.proof__text strong { color: var(--cocoa); font-weight: 700; }

/* Hero window + peek */
.hero__visual { position: relative; width: min(100%, 500px); justify-self: center; --px: 70.3%; --py: 50.1%; }
.arch {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px 30px 30px;
  background: var(--paper-3);
  box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch picture { height: 100%; }
.hero__arch { outline: 1.5px solid var(--line-strong); outline-offset: 12px; }

/* A slow push-in; the photo and anything pinned to it move together */
.kb { position: absolute; inset: 0; transform-origin: 62% 44%; animation: kenburns 24s ease-in-out infinite alternate; }
.kb picture { height: 100%; }

/* Winkie's little light, pinned to where it sits in the photo */
.status-light {
  position: absolute;
  z-index: 1;
  left: var(--lx);
  top: var(--ly);
  width: 7px;
  height: 7px;
  translate: -50% -50%;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  box-shadow: 0 0 6px 3px rgb(255 246 222 / .95), 0 0 22px 9px rgb(255 222 160 / .55);
  transition: opacity .35s;
  pointer-events: none;
}
.hero__visual.is-waking .status-light { opacity: 1; animation: glow 1s ease-in-out infinite; }
.status-light--breathe { width: 6px; height: 6px; animation: breathe 3.4s ease-in-out infinite; }

/* Optional video clips layered over their photos (see scripts/build-videos.mjs) */
.slot-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--vpos, 50% 50%); opacity: 0; transition: opacity .9s var(--ease); pointer-events: none; }
.slot-video.is-ready { opacity: 1; }
.kb .slot-video ~ .status-light { display: none; }
.peek__view {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
  background: #1a1512;
  clip-path: circle(0% at var(--px) var(--py));
  transition: clip-path 1.05s var(--ease);
}
.peek__view::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgb(10 8 6 / .42));
  pointer-events: none;
}
.peek__view img { animation: bodycam 7s ease-in-out infinite; transform-origin: 50% 60%; }
.hero__visual.is-peeking .peek__view { clip-path: circle(150% at var(--px) var(--py)); }
.peek__caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 52px;
  text-align: center;
  z-index: 1;
  color: #fff;
  font: 600 .95rem/1.3 var(--sans);
  text-shadow: 0 1px 10px rgb(0 0 0 / .45);
}
.peek__view .live-badge { top: 26%; left: 50%; translate: -50% 0; }
.peek__ring {
  position: absolute;
  z-index: 1;
  left: var(--px);
  top: var(--py);
  width: 46px;
  height: 46px;
  translate: -50% -50%;
  border-radius: 50%;
  border: 2px solid rgb(255 255 255 / .95);
  box-shadow: 0 0 0 1px rgb(63 51 42 / .15);
  animation: ring 2.6s var(--ease) infinite;
  pointer-events: none;
  transition: opacity .3s;
}
.hero__visual.is-peeking .peek__ring { opacity: 0; }

.live-badge {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 10px;
  border-radius: 999px;
  background: rgb(20 16 14 / .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: #fff;
  font: 750 .7rem/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.live-badge b { font-weight: 600; letter-spacing: .04em; font-variant-numeric: tabular-nums; opacity: .92; }
.live-badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 8px var(--live); animation: blink 1.2s steps(2, jump-none) infinite; }

.peek__btn {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: -28px;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--cream);
  color: var(--cocoa);
  font: 650 1rem/1 var(--sans);
  white-space: nowrap;
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  cursor: pointer;
  transition: transform .3s var(--ease), background-color .3s, color .3s;
}
.peek__btn:hover { transform: translateY(-2px); }
.peek__btn .icon { width: 1.3em; height: 1.3em; }
.hero__visual.is-peeking .peek__btn { background: var(--cocoa); color: var(--cream); }

.hero__product {
  position: absolute;
  z-index: 3;
  left: -3%;
  bottom: 12%;
  width: clamp(84px, 24%, 150px);
  rotate: -9deg;
  filter: drop-shadow(0 20px 22px rgb(63 51 42 / .3)) drop-shadow(0 4px 6px rgb(63 51 42 / .15));
  animation: float 6.5s ease-in-out infinite;
}
@media (min-width: 1000px) {
  .hero__product { left: -15%; bottom: 3%; width: 132px; }
}

/* ---------- A day, from three feet tall ---------- */
.day { padding: var(--section) 0 clamp(64px, 8vw, 110px); background: var(--grain), var(--paper-2); overflow: hidden; }
.strip {
  margin-top: clamp(44px, 6vw, 84px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 24px 0 36px;
}
.strip::-webkit-scrollbar { display: none; }
.strip__track { display: flex; gap: clamp(16px, 2vw, 30px); width: max-content; margin: 0; padding: 0 var(--gutter); list-style: none; }
.strip.is-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip.is-marquee .strip__track { animation: marquee 70s linear infinite; }
.strip.is-marquee:hover .strip__track { animation-play-state: paused; }
.polaroid {
  width: clamp(208px, 21vw, 272px);
  padding: 10px 10px 16px;
  border-radius: 6px;
  background: var(--cream);
  box-shadow: var(--shadow);
  rotate: var(--tilt, 0deg);
  scroll-snap-align: center;
  transition: rotate .5s var(--ease), translate .5s var(--ease), box-shadow .5s;
}
.polaroid:hover { rotate: 0deg; translate: 0 -8px; box-shadow: var(--shadow-lg); }
.polaroid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: var(--paper-3); }
.polaroid p { margin: 14px 4px 0; font-size: 1.65rem; color: var(--cocoa-2); }
.polaroid time { display: block; margin-bottom: 6px; font: 700 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--clay-ink); }
.day__caption { text-align: center; font: 400 1.9rem/1.2 var(--hand); color: var(--cocoa-2); }
.day__caption span { display: block; margin-top: 8px; font: 500 .82rem/1.4 var(--sans); color: var(--cocoa-soft); }

/* ---------- How a peek works ---------- */
.how { padding: var(--section) 0; }
.how__grid { display: grid; gap: clamp(56px, 7vw, 96px); align-items: center; }
@media (min-width: 1000px) { .how__grid { grid-template-columns: 1fr 1fr; } }
.steps { display: grid; gap: 6px; list-style: none; margin: 36px 0 0; padding: 0; }
.step { display: flex; gap: 18px; padding: 18px 20px; border-radius: 22px; transition: background-color .45s, box-shadow .45s; }
.step.is-active { background: var(--cream); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.step__num {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--paper-3);
  font: 500 1.1rem/1 var(--serif);
  transition: background-color .45s, color .45s;
}
.step.is-active .step__num { background: var(--cocoa); color: var(--cream); }
.step h3 { font: 700 1.1rem/1.3 var(--sans); margin: 6px 0 4px; }
.step p { color: var(--cocoa-soft); }
.how__note { display: flex; gap: 12px; align-items: flex-start; margin-top: 26px; padding: 16px 18px; border-radius: 18px; background: var(--sage-100); color: var(--sage-ink); font-size: .95rem; line-height: 1.5; max-width: 34em; }
.how__note .icon { margin-top: 1px; }

.demo { position: relative; display: grid; place-items: center; padding: 10px 0 20px; }
.demo::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: min(118%, 600px);
  aspect-ratio: 1;
  border-radius: 46% 54% 51% 49% / 55% 47% 53% 45%;
  background: radial-gradient(circle at 50% 50%, var(--sage-100) 0 40%, rgb(229 233 220 / 0) 70%);
}
.phone {
  position: relative;
  width: min(300px, 74vw);
  aspect-ratio: 9 / 19.3;
  padding: 10px;
  border-radius: 50px;
  background: linear-gradient(150deg, #3a302a, #17120f 55%);
  box-shadow: inset 0 0 0 1.5px #574a41, var(--shadow-lg), 0 60px 90px -40px rgb(40 30 24 / .5);
}
.phone::before {
  content: '';
  position: absolute;
  z-index: 10;
  top: 21px;
  left: 50%;
  translate: -50% 0;
  width: 30%;
  height: 25px;
  border-radius: 20px;
  background: #0d0b0a;
}
.phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: 40px; background: var(--cream); }
.app { position: absolute; inset: 0; font-family: var(--sans); color: var(--cocoa); }
.app__status {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
  padding: 8px 26px 0 30px;
  font: 700 .78rem/1 var(--sans);
  transition: color .4s;
}
.app__status-icons { display: flex; align-items: center; gap: 6px; }
.app__status-icons svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.app__batt { position: relative; width: 22px; height: 11px; border-radius: 3.5px; box-shadow: inset 0 0 0 1.4px currentColor; }
.app__batt::after { content: ''; position: absolute; inset: 2.5px 6px 2.5px 2.5px; border-radius: 1.5px; background: currentColor; }
[data-app-state='live'] .app__status { color: #fff; }

.app__home { display: flex; flex-direction: column; gap: 10px; padding: 10px 16px 16px; transition: opacity .45s, transform .45s var(--ease); }
[data-app-state='connecting'] .app__home, [data-app-state='live'] .app__home { opacity: 0; transform: scale(.94); }
.app__bar { display: flex; align-items: center; justify-content: space-between; }
.app__logo { width: auto; height: 17px; aspect-ratio: 330 / 92; color: var(--cocoa); }
.app__avatar { width: 30px; height: 28px; }
.app__hello { margin-top: 6px; font-size: .72rem; color: var(--cocoa-soft); }
.app__title { font-size: 1.55rem; line-height: 1.05; font-weight: 400; margin-top: -6px; }
.app__card { border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgb(63 51 42 / .05), 0 8px 18px -8px rgb(63 51 42 / .16); }
.app__device { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.app__device-icon { width: 24px; height: 35px; flex: none; }
.app__device strong { display: block; font-size: .8rem; }
.app__device span { display: flex; align-items: center; font-size: .68rem; color: var(--cocoa-soft); }
.app__on { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: #5DA86C; }
.app__lte { margin-left: auto; padding: 5px 7px; border-radius: 8px; background: var(--sage-100); color: var(--sage-ink); font: 800 .58rem/1 var(--sans); letter-spacing: .1em; }
.app__map { position: relative; height: 128px; overflow: hidden; }
.app__map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.app__pin { position: absolute; left: 60%; top: 40%; display: grid; place-items: center; width: 36px; height: 36px; translate: -50% -50%; border-radius: 50%; background: #fff; box-shadow: 0 5px 12px rgb(63 51 42 / .22); }
.app__pin::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--clay); animation: ring 2.4s var(--ease) infinite; }
.app__pin svg { width: 24px; height: 22px; }
.app__place { position: absolute; left: 10px; bottom: 10px; padding: 6px 10px; border-radius: 12px; background: rgb(255 255 255 / .94); line-height: 1.25; }
.app__place strong { display: block; font-size: .74rem; }
.app__place span { font-size: .62rem; color: var(--cocoa-soft); }
.app__watch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 16px;
  background: var(--cocoa);
  color: var(--cream);
  font: 700 .95rem/1 var(--sans);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s;
  box-shadow: 0 10px 18px -10px rgb(63 51 42 / .7);
}
.app__watch.is-pressed { transform: scale(.94); box-shadow: none; }
.app__rec { width: 9px; height: 9px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px rgb(224 102 79 / .28); }
.app__last { text-align: center; font-size: .64rem; color: var(--cocoa-soft); }

.app__connecting { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; font-size: .84rem; color: var(--cocoa-soft); opacity: 0; pointer-events: none; transition: opacity .35s; }
[data-app-state='connecting'] .app__connecting { opacity: 1; }
.app__waking { width: 66px; height: 61px; animation: bounce 1s ease-in-out infinite; }

.app__live { position: absolute; inset: 0; background: #14100d; opacity: 0; pointer-events: none; transition: opacity .6s; }
[data-app-state='live'] .app__live { opacity: 1; pointer-events: auto; }
.app__feed { position: absolute; inset: 0; overflow: hidden; }
.app__feed img { width: 100%; height: 100%; object-fit: cover; animation: bodycam 7s ease-in-out infinite; transform-origin: 50% 60%; }
.app__feed::after { content: ''; position: absolute; inset: 0; background: linear-gradient(rgb(0 0 0 / .45), transparent 22%, transparent 70%, rgb(0 0 0 / .5)); }
.app__live-top { position: absolute; z-index: 2; top: 56px; left: 14px; right: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.app__live-top .live-badge { position: static; }
.app__who { color: #fff; font: 650 .72rem/1.2 var(--sans); text-shadow: 0 1px 6px rgb(0 0 0 / .5); text-align: right; }
.app__live-bottom { position: absolute; z-index: 2; left: 0; right: 0; bottom: 24px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.app__round { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .92); cursor: pointer; transition: transform .2s var(--ease); }
.app__round:active, .app__round.is-pressed { transform: scale(.9); }
.app__round svg { width: 22px; height: 22px; fill: none; stroke: var(--cocoa); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.app__end { height: 52px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--live); color: #fff; font: 700 .88rem/1 var(--sans); cursor: pointer; }
.app__flash { position: absolute; inset: 0; z-index: 3; background: #fff; opacity: 0; pointer-events: none; }
.app.is-snap .app__flash { animation: flash .55s ease-out; }
.app__saved {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 94px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgb(255 255 255 / .94);
  font: 700 .7rem/1 var(--sans);
  white-space: nowrap;
  translate: -50% 12px;
  opacity: 0;
  transition: opacity .35s, translate .35s var(--ease);
}
.app__saved svg { width: 14px; height: 14px; fill: none; stroke: #4E8B5B; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.app.is-saved .app__saved { opacity: 1; translate: -50% 0; }

.demo__device { position: absolute; right: max(0px, calc(50% - 250px)); bottom: 2%; width: clamp(84px, 24%, 128px); rotate: 9deg; --lx: 49.8%; --ly: 63.7%; }
.demo__device picture { filter: drop-shadow(0 16px 18px rgb(63 51 42 / .3)); }
.demo__light {
  position: absolute;
  left: var(--lx);
  top: var(--ly);
  width: 9%;
  aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  box-shadow: 0 0 10px 5px rgb(255 246 222 / .95), 0 0 34px 14px rgb(255 222 160 / .6);
  transition: opacity .5s;
}
.demo.is-live .demo__light { opacity: 1; animation: glow 1.8s ease-in-out infinite; }
.demo__note { position: absolute; bottom: 100%; left: 50%; width: 150px; margin: 0 0 10px -75px; font-size: 1.4rem; line-height: 1.05; text-align: center; rotate: -8deg; }
@media (max-width: 520px) { .demo__device { right: 0; width: 86px; } .demo__note { width: 120px; margin-left: -80px; font-size: 1.2rem; } }

/* ---------- Meet Winkie ---------- */
.meet { padding: var(--section) 0; background: var(--grain), linear-gradient(var(--paper), var(--paper-2) 60%, var(--paper)); }
.meet__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .meet__grid { grid-template-columns: 1fr 1fr; gap: clamp(56px, 6vw, 96px); } }
.meet__stage { position: relative; display: grid; place-items: center; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; }
.meet__halo { position: absolute; inset: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 42%, var(--cream) 0 34%, var(--clay-100) 58%, rgb(242 226 214 / 0) 71%); }
.meet__halo::after { content: ''; position: absolute; inset: 7%; border-radius: 50%; border: 1.5px dashed var(--line-strong); animation: spin 90s linear infinite; }
.meet__product { --reach: clamp(8px, 2.4vw, 22px); position: relative; width: 44%; aspect-ratio: .58; container-type: inline-size; animation: float 7s ease-in-out infinite; }
@media (max-width: 560px) {
  .meet__stage { width: calc(100% + 2 * var(--gutter)); max-width: none; margin-inline: calc(-1 * var(--gutter)); }
  .meet__product { width: 40%; --reach: 6px; }
  .pin .hand[data-short] { max-width: none; font-size: 0; }
  .pin .hand[data-short]::after { content: attr(data-short); font-size: 1.2rem; }
}
.meet__product picture { position: absolute; inset: 0; opacity: 0; scale: .94; transition: opacity .6s var(--ease), scale .6s var(--ease); }
.meet__product picture.is-active { opacity: 1; scale: 1; }
.meet__product img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 34px 30px rgb(63 51 42 / .22)) drop-shadow(0 6px 8px rgb(63 51 42 / .12)); }
/* Hand-drawn callouts pinned to features on the product (1cqw = 1% of product width) */
.pin {
  position: absolute;
  z-index: 2;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: rgb(252 248 243 / .92);
  box-shadow: 0 0 0 2px var(--clay-ink), 0 2px 6px rgb(63 51 42 / .25);
}
.pin::before { content: ''; position: absolute; top: 50%; height: 1.5px; margin-top: -.75px; border-radius: 2px; background: var(--clay-ink); opacity: .85; }
.pin--left::before { right: 100%; margin-right: 4px; width: calc(var(--x) * 1cqw + var(--reach)); }
.pin--right::before { left: 100%; margin-left: 4px; width: calc((100 - var(--x)) * 1cqw + var(--reach)); }
.pin .hand { position: absolute; top: 50%; translate: 0 -52%; width: max-content; max-width: 9em; font-size: clamp(1.1rem, .8rem + 1vw, 1.6rem); line-height: .95; color: var(--clay-ink); }
.pin--left .hand { right: calc(100% + var(--x) * 1cqw + var(--reach) + 12px); text-align: right; }
.pin--right .hand { left: calc(100% + (100 - var(--x)) * 1cqw + var(--reach) + 12px); text-align: left; }

.colors { margin-top: 30px; }
.colors__label { font-weight: 650; }
.colors__label span { font-family: var(--hand); font-weight: 400; font-size: 1.5rem; color: var(--clay-ink); margin-left: 6px; }
.colors__row { display: flex; gap: 14px; margin-top: 12px; }
.swatch {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgb(255 255 255 / .55), transparent 55%), var(--swatch);
  box-shadow: inset 0 0 0 1px rgb(63 51 42 / .12), 0 0 0 3px var(--paper), 0 0 0 4.5px transparent;
  cursor: pointer;
  transition: box-shadow .3s, transform .3s var(--spring);
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed='true'] { box-shadow: inset 0 0 0 1px rgb(63 51 42 / .12), 0 0 0 3px var(--paper), 0 0 0 5px var(--cocoa); }
.colors__hint { margin-top: 10px; font-size: .86rem; color: var(--cocoa-soft); }

.features { display: grid; gap: 22px 28px; list-style: none; margin: 34px 0 0; padding: 0; }
@media (min-width: 560px) { .features { grid-template-columns: 1fr 1fr; } }
.features li { display: flex; gap: 14px; }
.features .icon { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); color: var(--clay-ink); stroke-width: 1.7; }
.features h3 { font: 700 1rem/1.3 var(--sans); margin-top: 2px; }
.features p { font-size: .95rem; color: var(--cocoa-soft); margin-top: 2px; }

/* In the box */
.inbox { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding: 12px 18px 12px 12px; border-radius: 22px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.inbox__img { flex: none; width: clamp(110px, 30%, 170px); aspect-ratio: 3 / 2; overflow: hidden; border-radius: 14px; }
.inbox__img img { width: 100%; height: 100%; object-fit: cover; }
.inbox__title { font: 700 .76rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--clay-ink); }
.inbox__list { margin-top: 6px; font-size: .95rem; line-height: 1.5; color: var(--cocoa-2); }

/* ---------- Moments ---------- */
.moments { padding: var(--section) 0 calc(var(--section) + 20px); }
.moments__head { text-align: center; max-width: 860px; margin: 0 auto clamp(44px, 6vw, 76px); }
.moments__grid { display: grid; gap: 22px; }
.moment__img { overflow: hidden; aspect-ratio: 3 / 2; border-radius: 26px; background: var(--paper-3); box-shadow: var(--shadow); }
.moment__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.2s var(--ease); }
.moment:hover .moment__img img { scale: 1.04; }
.moment h3 { font-size: clamp(1.5rem, 1.3rem + .6vw, 1.85rem); font-weight: 400; line-height: 1.15; margin-top: 22px; }
.moment p { margin-top: 6px; color: var(--cocoa-soft); max-width: 40ch; }
@media (max-width: 719px) {
  .moments__grid {
    grid-auto-flow: column;
    grid-auto-columns: 84%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 8px;
    scroll-padding-inline: var(--gutter);
  }
  .moments__grid::-webkit-scrollbar { display: none; }
  .moment { scroll-snap-align: start; }
}
@media (min-width: 720px) {
  .moments__grid { grid-template-columns: 1fr 1fr; gap: 44px 32px; }
  .moment:nth-child(even) { translate: 0 64px; }
  .moment.reveal:nth-child(even) { translate: 0 82px; }
  .moment.reveal.is-in:nth-child(even) { translate: 0 64px; }
}

/* ---------- Promise (night) ---------- */
.promise {
  position: relative;
  overflow: hidden;
  padding: var(--section) 0;
  background:
    radial-gradient(900px 520px at 85% 15%, rgb(255 214 160 / .09), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgb(163 173 150 / .08), transparent 70%),
    var(--night);
  color: #F3EADF;
}
.promise::after { content: ''; position: absolute; inset: 0; background: var(--grain); opacity: .5; mix-blend-mode: screen; pointer-events: none; }
.promise__grid { position: relative; z-index: 1; display: grid; gap: 64px; align-items: center; }
@media (min-width: 1000px) { .promise__grid { grid-template-columns: 1.2fr .8fr; gap: clamp(56px, 6vw, 96px); } }
.eyebrow--light { color: var(--clay-300); }
.promise .h2 { color: #F7EFE6; }
.promise .h2 em { color: var(--clay-300); }
.promise .body { color: #CDBEB0; }
.promises { display: grid; gap: 26px 32px; list-style: none; margin: 44px 0 0; padding: 0; }
@media (min-width: 640px) { .promises { grid-template-columns: 1fr 1fr; } }
.promises li { display: flex; gap: 16px; }
.promises__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 15px; background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09); }
.promises__icon svg { width: 22px; height: 22px; fill: none; stroke: #EBDDCF; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.promises__icon--glow { background: rgb(255 243 214 / .12); box-shadow: inset 0 0 0 1px rgb(255 243 214 / .22), 0 0 30px -4px rgb(255 226 170 / .45); }
.promises__icon--glow svg { stroke: var(--glow); animation: glowline 2.4s ease-in-out infinite; }
.promises h3 { font: 700 1.04rem/1.3 var(--sans); color: #F7EFE6; margin-top: 2px; }
.promises p { margin-top: 4px; font-size: .96rem; line-height: 1.55; color: #BFAFA1; }
.promise__visual { position: relative; width: min(100%, 420px); justify-self: center; }
.arch--glow { box-shadow: 0 0 0 1px rgb(255 255 255 / .07), 0 44px 90px -34px rgb(0 0 0 / .7), 0 0 140px -30px rgb(255 214 150 / .3); background: var(--night-2); }
.promise__note { position: absolute; left: max(-8%, -40px); bottom: -44px; display: flex; align-items: center; gap: 8px; font-size: 1.7rem; color: var(--clay-300); rotate: -4deg; }
.promise__note svg { width: 30px; height: 27px; color: var(--clay-300); }
@media (max-width: 999px) { .promise__note { left: 4%; } }

/* ---------- Founding families ---------- */
.founding { padding: var(--section) 0; }
.founding__head { max-width: 780px; }
.goal { margin-top: 52px; padding: clamp(24px, 4vw, 42px); border-radius: 30px; background: var(--cream); box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.goal__numbers { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.goal__count { font-size: clamp(2.5rem, 1.7rem + 3vw, 4.2rem); font-weight: 360; line-height: 1; letter-spacing: -.025em; font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 0; }
.goal__of { font: 550 1rem/1 var(--sans); letter-spacing: 0; color: var(--cocoa-soft); }
.goal__left { color: var(--cocoa-soft); }
.goal__bar { position: relative; height: 18px; border-radius: 999px; background: var(--paper-2); box-shadow: inset 0 1px 3px rgb(63 51 42 / .13); }
.goal__fill { position: absolute; inset: 0 auto 0 0; width: 0; min-width: 18px; border-radius: inherit; background: linear-gradient(90deg, var(--sage), var(--clay) 70%, var(--wink)); transition: width 1.8s var(--ease); }
.goal.is-in .goal__fill { width: var(--pct, 1.5%); }
.goal__rider { position: absolute; right: -18px; top: 50%; width: 40px; height: 37px; translate: 0 -50%; filter: drop-shadow(0 3px 6px rgb(63 51 42 / .28)); animation: bob 2.4s ease-in-out infinite; }
.goal__marks { display: flex; justify-content: space-between; list-style: none; margin: 14px 0 0; padding: 0; font-size: .76rem; font-weight: 550; color: var(--cocoa-soft); }
.goal__marks li:last-child { color: var(--cocoa); font-weight: 750; }
@media (max-width: 640px) { .goal__marks li:nth-child(2), .goal__marks li:nth-child(3), .goal__marks li:nth-child(4) { display: none; } }

.perks { display: grid; gap: 16px; list-style: none; margin: 18px 0 0; padding: 0; }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { padding: 28px 26px; border-radius: 26px; background: var(--paper-2); }
.perk__num { font: 750 .76rem/1 var(--sans); letter-spacing: .14em; color: var(--clay-ink); }
.perk h3 { font-size: 1.5rem; font-weight: 400; line-height: 1.15; margin-top: 14px; }
.perk p { margin-top: 8px; color: var(--cocoa-soft); }
.invite { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 16px; padding: 26px 28px; border-radius: 26px; background: var(--sage-100); }
.invite__face { width: 58px; height: 53px; flex: none; --m-face: var(--sage); }
.invite > div { flex: 1 1 280px; }
.invite h3 { font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
.invite p { margin-top: 4px; color: var(--sage-ink); }
.invite strong { color: var(--cocoa); }

.roadmap { margin-top: 64px; }
.roadmap__title { font: 700 .76rem/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--clay-ink); }
.roadmap__steps { display: grid; list-style: none; margin: 26px 0 0; padding: 0; }
.roadmap__steps li { position: relative; padding: 0 0 26px 38px; color: var(--cocoa-soft); font-weight: 550; }
.roadmap__steps li::before { content: ''; position: absolute; left: 9px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.roadmap__steps li:last-child::before { display: none; }
.roadmap__steps span { position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line-strong); }
.roadmap__steps .is-done { color: var(--cocoa-2); }
.roadmap__steps .is-done span { background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-8.5'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.roadmap__steps .is-done::before { background: var(--sage); }
.roadmap__steps .is-now { color: var(--cocoa); font-weight: 750; }
.roadmap__steps .is-now span { background: var(--wink); box-shadow: 0 0 0 6px rgb(164 120 92 / .18); animation: pulse-clay 2.2s ease-out infinite; }
.roadmap__steps em { display: inline-block; margin-left: 10px; font: 400 1.45rem/1 var(--hand); color: var(--clay-ink); rotate: -4deg; }
@media (min-width: 900px) {
  .roadmap__steps { grid-template-columns: repeat(5, 1fr); }
  .roadmap__steps li { padding: 38px 18px 0 0; }
  .roadmap__steps li::before { left: 22px; right: 0; top: 9px; bottom: auto; width: auto; height: 2px; }
  .roadmap__steps span { top: 0; }
  .roadmap__steps em { display: block; margin: 8px 0 0; }
}

/* ---------- FAQ ---------- */
.faq { padding: var(--section) 0; background: var(--grain), var(--paper-2); }
.faq__grid { display: grid; gap: 40px; }
@media (min-width: 1000px) {
  .faq__grid { grid-template-columns: .85fr 1.15fr; gap: clamp(56px, 7vw, 110px); align-items: start; }
  .faq__grid > div:first-child { position: sticky; top: 120px; }
}
.faq__list details { border-bottom: 1px solid var(--line-strong); }
.faq__list details:first-child { border-top: 1px solid var(--line-strong); }
.faq__list summary {
  position: relative;
  padding: 22px 52px 22px 0;
  list-style: none;
  font: 600 1.1rem/1.4 var(--sans);
  cursor: pointer;
  transition: color .2s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: '';
  position: absolute;
  right: 2px;
  top: 50%;
  width: 34px;
  height: 34px;
  translate: 0 -50%;
  border-radius: 50%;
  background: var(--cream) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F332A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6.5v11M6.5 12h11'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: inset 0 0 0 1px var(--line);
  transition: rotate .4s var(--ease), background-color .3s;
}
.faq__list details[open] summary::after { rotate: 45deg; background-color: var(--clay-100); }
.faq__list summary:hover { color: var(--clay-ink); }
.faq__list details p { padding: 0 52px 24px 0; color: var(--cocoa-soft); max-width: 62ch; }
.faq__list details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }

/* ---------- Final CTA ---------- */
.final { padding: var(--section) 0; }
.final__card {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 7vw, 100px) clamp(22px, 5vw, 80px);
  border-radius: clamp(30px, 4vw, 44px);
  text-align: center;
  background:
    radial-gradient(circle at 50% -10%, rgb(255 255 255 / .6), transparent 55%),
    radial-gradient(600px 300px at 0% 100%, rgb(163 173 150 / .28), transparent 70%),
    var(--clay-100);
  box-shadow: inset 0 0 0 1px rgb(164 120 92 / .14);
}
.final__face { width: 100px; height: 92px; margin: 0 auto 22px; }
.final .body { margin: 18px auto 34px; }

/* ---------- Footer ---------- */
.footer { padding: 64px 0 calc(48px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 34px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.2fr 1fr; align-items: start; } .footer__links { justify-content: flex-end; } }
.footer__logo { width: auto; height: 36px; aspect-ratio: 330 / 92; color: var(--cocoa); }
.footer__tag { margin-top: 16px; font-size: 1.3rem; font-style: italic; font-weight: 350; }
.footer__words { margin-top: 8px; font: 700 .7rem/1.4 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--cocoa-soft); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer__links a { text-decoration: none; font-weight: 600; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { grid-column: 1 / -1; font-size: .82rem; line-height: 1.6; color: var(--cocoa-soft); max-width: 88ch; }

/* ---------- Sticky mobile CTA ---------- */
.sticky {
  position: fixed;
  z-index: 60;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 9px 9px 14px;
  border-radius: 24px;
  background: rgb(252 248 243 / .9);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px var(--line);
  translate: 0 160%;
  transition: translate .55s var(--ease);
}
.sticky.is-visible { translate: 0 0; }
.sticky__face { width: 34px; height: 31px; flex: none; }
.sticky__text { flex: 1; font: 700 .9rem/1.25 var(--sans); }
@media (min-width: 900px) { .sticky { display: none; } }

/* ---------- Sheet (join / share / survey) ---------- */
.sheet {
  width: min(100% - 24px, 480px);
  max-width: none;
  max-height: min(92dvh, 880px);
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: var(--grain), var(--cream);
  color: var(--cocoa);
  box-shadow: var(--shadow-lg);
  overscroll-behavior: contain;
}
.sheet[open] { animation: sheet-in .55s var(--ease); }
.sheet::backdrop { background: rgb(42 34 29 / .48); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: fade-in .4s; }
@media (max-width: 600px) {
  .sheet { width: 100%; margin: auto 0 0; border-radius: 28px 28px 0 0; max-height: 94dvh; padding-bottom: env(safe-area-inset-bottom); }
  .sheet[open] { animation: sheet-up .55s var(--ease); }
}
.sheet__close { position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--paper-2); cursor: pointer; }
.sheet__close svg { width: 18px; height: 18px; fill: none; stroke: var(--cocoa); stroke-width: 2; stroke-linecap: round; }
.sheet__view { position: relative; padding: 42px 26px 28px; text-align: center; }
.sheet__face { width: 86px; height: 79px; margin: 0 auto 14px; }
.sheet__title { font-size: clamp(1.8rem, 1.5rem + 1vw, 2.1rem); font-weight: 380; line-height: 1.08; letter-spacing: -.015em; font-variation-settings: 'opsz' 144, 'SOFT' 100, 'WONK' 0; }
.sheet__title .hand { font-size: 1.1em; }
.sheet__sub { max-width: 36ch; margin: 10px auto 22px; color: var(--cocoa-soft); }
.sheet .signup { margin-inline: auto; }

.share { padding: 20px; border-radius: 24px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); text-align: left; }
.share__lead { font-size: .95rem; line-height: 1.5; color: var(--cocoa-2); }
.share__progress { display: flex; align-items: center; gap: 10px; margin: 12px 0 16px; font-size: .86rem; font-weight: 600; color: var(--cocoa-soft); }
.share__dots { display: flex; gap: 5px; }
.share__dots i { width: 22px; height: 8px; border-radius: 99px; background: var(--paper-3); transition: background-color .4s; }
.share__dots i.is-on { background: var(--sage); }
.share__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.share__buttons .btn { width: 100%; min-height: 50px; padding: 0 1em; font-size: .95rem; }
.share__buttons .btn--wa { grid-column: 1 / -1; min-height: 56px; font-size: 1.02rem; }
.share__buttons > :only-of-type, .share__buttons .btn:last-child:nth-child(odd):not(.btn--wa) { grid-column: 1 / -1; }
.share__link { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 6px 6px 14px; border-radius: 16px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.share__link input { flex: 1; min-width: 0; border: 0; background: transparent; font: 600 .88rem var(--sans); color: var(--cocoa-2); outline: none; }
.share__link .btn { box-shadow: none; }
.sheet [data-view='thanks'] .share__buttons { margin-top: 6px; }
.survey-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: 12px; padding: 16px 18px; border: 0; border-radius: 20px; background: var(--clay-100); text-align: left; font-size: .95rem; line-height: 1.4; cursor: pointer; transition: background-color .25s; }
.survey-cta:hover { background: #EDD6C6; }
.survey-cta .icon { color: var(--clay-ink); }

.survey { text-align: left; }
.survey fieldset { margin: 0 0 20px; padding: 0; border: 0; }
.survey legend { margin-bottom: 10px; padding: 0; font: 700 .97rem/1.35 var(--sans); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); font: 550 .88rem/1.2 var(--sans); transition: background-color .2s, color .2s, box-shadow .2s; }
.chips input:hover + span { box-shadow: inset 0 0 0 1.5px var(--cocoa-soft); }
.chips input:checked + span { background: var(--cocoa); color: var(--cream); box-shadow: none; }
.chips input:focus-visible + span { outline: 2.5px solid var(--cocoa); outline-offset: 2px; }
.chips--color i { width: 14px; height: 14px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(63 51 42 / .15); }
.survey__pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin: 4px 0 20px; }
.survey__pair label { display: grid; gap: 6px; font: 700 .85rem/1.2 var(--sans); }
.survey__pair input { height: 48px; padding: 0 14px; border: 0; border-radius: 14px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-strong); font: 500 1rem var(--sans); color: var(--cocoa); outline: none; }
.survey__pair input:focus { box-shadow: inset 0 0 0 2px var(--cocoa); }

/* Confetti on joining */
.confetti { position: absolute; inset: 0 0 auto; height: 200px; pointer-events: none; overflow: hidden; }
.confetti i { position: absolute; top: -12px; width: 9px; height: 13px; border-radius: 3px; background: var(--clay); opacity: 0; animation: confetti 1.9s var(--ease) forwards; }
.confetti i:nth-child(3n) { background: var(--sage); border-radius: 50%; width: 10px; height: 10px; }
.confetti i:nth-child(3n+1) { background: var(--clay-300); }
.confetti i:nth-child(1) { left: 12%; animation-delay: .05s; }
.confetti i:nth-child(2) { left: 24%; animation-delay: .2s; }
.confetti i:nth-child(3) { left: 36%; animation-delay: .1s; }
.confetti i:nth-child(4) { left: 48%; animation-delay: .28s; }
.confetti i:nth-child(5) { left: 60%; animation-delay: .06s; }
.confetti i:nth-child(6) { left: 71%; animation-delay: .22s; }
.confetti i:nth-child(7) { left: 82%; animation-delay: .14s; }
.confetti i:nth-child(8) { left: 90%; animation-delay: .32s; }

/* Mascot that blinks */
.mascot-live__eye { transform-box: fill-box; transform-origin: center; animation: blinkeye 4.8s infinite; }
.mascot-live.is-happy { animation: hop .9s var(--spring) both; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; translate: 0 22px; transition: opacity 1s var(--ease), translate 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in, .js.reveal-all .reveal { opacity: 1; translate: 0 0; }
.js .hero .reveal { opacity: 1; translate: none; transition: none; animation: rise .95s var(--ease) var(--d, 0s) both; }
.hero__copy > .reveal:nth-child(1) { --d: .05s; }
.hero__copy > .reveal:nth-child(2) { --d: .12s; }
.hero__copy > .reveal:nth-child(3) { --d: .22s; }
.hero__copy > .reveal:nth-child(4) { --d: .32s; }
.hero__copy > .reveal:nth-child(5), .hero__copy > .reveal:nth-child(6) { --d: .42s; }
.hero__visual.reveal { --d: .25s; }

/* ---------- Keyframes ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { from { opacity: 0; translate: 0 22px; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(224 102 79 / .55); } 70%, 100% { box-shadow: 0 0 0 10px rgb(224 102 79 / 0); } }
@keyframes pulse-clay { 0% { box-shadow: 0 0 0 0 rgb(164 120 92 / .45); } 70%, 100% { box-shadow: 0 0 0 12px rgb(164 120 92 / 0); } }
@keyframes ring { 0% { scale: .8; opacity: 1; } 80%, 100% { scale: 1.9; opacity: 0; } }
@keyframes blink { 50% { opacity: .25; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes bob { 0%, 100% { translate: 0 -50%; } 50% { translate: 0 calc(-50% - 4px); } }
@keyframes bounce { 50% { translate: 0 -7px; } }
@keyframes bodycam {
  0%, 100% { transform: scale(1.08) translate(0, 0) rotate(0deg); }
  22% { transform: scale(1.09) translate(-1.2%, .8%) rotate(-.7deg); }
  48% { transform: scale(1.08) translate(1%, -.5%) rotate(.5deg); }
  74% { transform: scale(1.09) translate(-.5%, 1%) rotate(-.35deg); }
}
@keyframes glow { 0%, 100% { scale: 1; opacity: 1; } 50% { scale: 1.25; opacity: .85; } }
@keyframes glowline { 0%, 100% { filter: drop-shadow(0 0 2px rgb(255 226 170 / .6)); } 50% { filter: drop-shadow(0 0 8px rgb(255 226 170 / .95)); } }
@keyframes flash { 0% { opacity: .95; } 100% { opacity: 0; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
@keyframes breathe { 0%, 100% { opacity: .3; scale: .8; } 50% { opacity: 1; scale: 1.15; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes nudge { 50% { transform: translateX(4px); } }
@keyframes shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
@keyframes sheet-in { from { opacity: 0; translate: 0 26px; scale: .98; } }
@keyframes sheet-up { from { translate: 0 100%; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes confetti { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(190px) rotate(320deg); } }
@keyframes blinkeye { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@keyframes hop { 0% { opacity: 0; transform: scale(.55) rotate(-10deg); } 60% { opacity: 1; transform: scale(1.08) rotate(4deg); } 100% { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; translate: none; }
  .squiggle svg { stroke-dashoffset: 0; }
}
