/* ── Mealendar · design tokens ── */
:root {
  --n0: #FFFFFF; --n50: #F9F8FB; --n100: #F2F1F6; --n200: #E7E5EC; --n300: #D6D3DB; --n400: #A9A6AF;
  --n500: #7F7B86; --n600: #5C5863; --n700: #413D47; --n800: #2B2830; --n900: #1C1A1F; --n950: #121014;
  --b50: #F5F2FE; --b100: #ECE6FC; --b200: #DCD4FB; --b300: #C3B7F8; --b400: #A99BF7; --b500: #8B7CF6;
  --b600: #6E5ED8; --b900: #2C2460;
  --peach50: #FDEBE3; --peach500: #F4977F; --peach900: #7A3A24;
  --sky50: #E9EEFB; --sky900: #1E2F66;
  --green50: #E8F8EF; --green500: #2FB973; --green900: #14532D;
  --amber50: #FFF5E1; --amber500: #E8A93A; --amber900: #78350F;
  --red50: #FDECEC; --red500: #E5484D; --red900: #7F1D1D;

  --radius-element: 8px; --radius-chip: 16px; --radius-component: 20px; --radius-container: 32px; --radius-pill: 999px;
  --ease-fast: ease-out; --ease-medium: cubic-bezier(0.22, 1, 0.36, 1); --ease-slow: cubic-bezier(0.34, 1.3, 0.64, 1);
  --duration-fast: 140ms; --duration-medium: 260ms; --duration-slow: 420ms;

  --bg: var(--n50);
  --text1: var(--n900); --text2: var(--n600); --text3: var(--n500);
  --ink: var(--n900); --ink-hover: var(--n800);
  --shadow-1: 0 2px 12px rgba(44, 36, 96, 0.06);
  --shadow-2: 0 8px 28px rgba(44, 36, 96, 0.10);
  --shadow-3: 0 20px 56px rgba(44, 36, 96, 0.16);

  /* landing-only */
  --page: #FBF9F7;
  --peach-text: #C9583C; /* peach that passes AA on cream, for small text */
  /* SF Pro on Apple devices (the system picks the Display or Text cut by size); Inter, with optical sizes, everywhere else */
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;
  --wrap: 1200px;
}

/* ── Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--body); font-size: 17px; line-height: 1.5; letter-spacing: -0.012em; font-optical-sizing: auto;
  background: var(--page); color: var(--text1);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
i[class^="iconoir-"] { display: inline-flex; line-height: 1; }
em { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--b400); outline-offset: 3px; border-radius: 8px; }

.t2 { color: var(--text2); } .t3 { color: var(--text3); }
.cap { font-size: 13px; line-height: 1.35; }
.sm { font-size: 15px; } .w6 { font-weight: 600; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; }
.center { text-align: center; }
.nowrap { white-space: nowrap; }
.ink-soft { color: var(--text3); } /* the second clause of a headline, in grey */

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: var(--radius-pill); border: 0; cursor: pointer;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform var(--duration-fast) var(--ease-fast), background var(--duration-fast), box-shadow var(--duration-medium);
}
.btn-ink { background: var(--ink); color: #fff; box-shadow: 0 6px 18px rgba(28, 26, 31, 0.18); }
.btn-ink:hover { background: var(--ink-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(28, 26, 31, 0.22); }
.btn-ink:active { transform: translateY(0) scale(0.98); }
.btn-sm { height: 44px; padding: 0 20px; font-size: 15px; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ── Nav ── */
.nav { position: sticky; top: 0; z-index: 50; padding: 14px 24px; transition: background var(--duration-medium), box-shadow var(--duration-medium); }
.nav.scrolled { background: rgba(251, 249, 247, 0.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--n200); }
.nav-inner { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: auto; color: var(--b500); }
.brand-word { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.nav-links { display: flex; gap: 32px; margin: 0 auto; font-size: 15px; font-weight: 500; color: var(--text2); }
.nav-links a { transition: color var(--duration-fast); }
.nav-links a:hover { color: var(--text1); }

/* ── Hero ── */
.hero { position: relative; padding: 48px 24px 40px; isolation: isolate; overflow-x: clip; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: 0.7; pointer-events: none; }
.blob-a { width: 620px; height: 520px; left: -180px; top: 220px; background: radial-gradient(circle, var(--b200), transparent 70%); }
.blob-b { width: 640px; height: 560px; right: -200px; top: 120px; background: radial-gradient(circle, var(--peach50), transparent 70%); }
.hero::after { /* soft floor */
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 280px;
  background: linear-gradient(to bottom, transparent, var(--b50));
}

.hero-copy { position: relative; max-width: 920px; margin: 0 auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px;
  background: rgba(255, 255, 255, 0.7); border: 1px solid var(--b100); border-radius: var(--radius-pill);
  font-size: 14px; font-weight: 500; color: var(--text2); box-shadow: var(--shadow-1);
}
.faces { display: inline-flex; }
.face {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-size: 12px; font-weight: 700; color: #fff; border: 2px solid #fff; margin-left: -8px;
}
.face:first-child { margin-left: 0; }
.f1 { background: var(--b500); } .f2 { background: var(--peach500); } .f3 { background: var(--green500); }

.hero-title {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(40px, 6.2vw, 84px); line-height: 1.04; margin: 24px auto 20px;
  text-wrap: balance;
}
.hero-title > span { display: block; }
.hero-sub { max-width: 620px; margin: 0 auto; font-size: 19px; color: var(--text2); text-wrap: pretty; }
.hero-note { margin-top: 10px; font-size: 14px; color: var(--text3); }

.scribble { position: absolute; font-family: var(--hand); font-size: 28px; font-weight: 500; line-height: 1; color: var(--b600); width: 150px; }
.scribble svg { display: block; width: 44px; height: 52px; margin-top: 6px; }
.scribble-l { left: -150px; top: 120px; transform: rotate(-8deg); text-align: left; }
.scribble-l svg { margin-left: 30px; }
.scribble-r { right: -160px; top: 96px; transform: rotate(7deg); text-align: right; }
.scribble-r svg { margin-left: auto; margin-right: 30px; }

/* ── Waitlist form ── */
.waitlist { max-width: 520px; margin: 30px auto 0; }
.waitlist-field {
  position: relative; display: flex; align-items: center; padding: 6px 6px 6px 18px;
  background: #fff; border: 1.5px solid var(--n200); border-radius: var(--radius-pill);
  box-shadow: var(--shadow-2); transition: border-color var(--duration-fast), box-shadow var(--duration-medium);
}
.waitlist-field:focus-within { border-color: var(--b400); box-shadow: 0 0 0 4px var(--b100), var(--shadow-2); }
.waitlist-field > i { color: var(--text3); font-size: 20px; margin-right: 8px; }
.waitlist-field > .btn { margin-left: 8px; }
/* Password managers inject their own elements here; keep them out of the flex flow so the button never shifts */
.waitlist-field > :not(i, input, .btn) { position: absolute; }
.waitlist input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.waitlist input::placeholder { color: var(--n400); }
.waitlist.is-error .waitlist-field { border-color: var(--red500); }
.waitlist-msg { min-height: 22px; margin-top: 10px; font-size: 14px; font-weight: 500; }
.waitlist.is-error .waitlist-msg { color: var(--red500); }
.waitlist.is-done .waitlist-msg { color: var(--green900); }
.waitlist.is-done .waitlist-field { border-color: var(--green500); }
.waitlist.is-loading .btn-label::after { content: "…"; }

/* ── Stage ── */
.stage { position: relative; max-width: var(--wrap); margin: 44px auto 0; height: 660px; }

/* Phone */
/* Real iPhone frame (assets/iphone-frame.png, 712×1464, screen cut out) laid over the HTML screen.
   The inset and radius values below are measured from that image, so the screen sits just under the bezel. */
.phone {
  position: relative; width: 320px; aspect-ratio: 712 / 1464; container-type: inline-size;
  border-radius: 18% / 8.8%;
  box-shadow: 0 40px 80px rgba(44, 36, 96, 0.28), 0 12px 24px rgba(44, 36, 96, 0.12);
}
.phone::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url("assets/iphone-frame.png") 0 0 / 100% 100% no-repeat;
}
.phone-screen {
  position: absolute; inset: 1.84% 4.35% 1.81%; overflow: hidden; border-radius: 14.8cqw; background: var(--n50);
  padding: 0 16px; font-size: 14px; line-height: 1.35; text-align: left;
}
.phone-hero { position: absolute; left: 50%; top: 0; transform: translateX(-50%); z-index: 3; }
/* centred on the frame's Dynamic Island, which sits 7.6cqw below the screen's top edge */
.statusbar { display: flex; justify-content: space-between; align-items: center; height: 26px; margin-top: calc(7.6cqw - 13px); padding: 0 12px; font-size: 14px; font-weight: 600; }
.island { width: 23cqw; height: 28px; visibility: hidden; } /* spacer: the island is drawn by the frame */
.sb-icons { display: flex; gap: 4px; }
.sb-icons i { width: 16px; height: 9px; border-radius: 3px; background: var(--n900); opacity: 0.85; }
.sb-icons i:nth-child(2) { width: 12px; }
.sb-icons i:last-child { width: 22px; border-radius: 3px; }
.app-head { display: flex; justify-content: space-between; align-items: flex-end; margin: 14px 2px 12px; }
.app-date { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text3); }
.app-title { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--b100); color: var(--b600); font-weight: 700; font-size: 14px; }

.card { background: #fff; border-radius: var(--radius-component); padding: 14px; box-shadow: var(--shadow-1); margin-bottom: 10px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.pill-peach { background: var(--peach50); color: var(--peach900); }
.pill-lav { background: var(--b100); color: var(--b600); }
.pill-green { background: var(--green50); color: var(--green900); }
.countdown { font-family: var(--display); font-size: 36px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.q { margin-top: 10px; font-weight: 600; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 8px; }
.seg span { height: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; background: var(--n100); font-weight: 600; font-size: 13px; color: var(--text2); }
.seg .on { background: var(--ink); color: #fff; }

.dish { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.dish-name { font-weight: 600; font-size: 14px; line-height: 1.25; }
.thumb { flex: none; width: 42px; height: 42px; border-radius: 12px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04); }
/* food swatches drawn in CSS */
.th-pork   { background: radial-gradient(circle at 35% 40%, #9B4A22 0 22%, transparent 23%), radial-gradient(circle at 64% 58%, #7A3A1A 0 20%, transparent 21%), radial-gradient(circle at 50% 50%, #4E6B2E 0 46%, #F6EDE2 47%); }
.th-greens { background: radial-gradient(ellipse 30% 14% at 40% 40%, #3A8A3E 0 98%, transparent), radial-gradient(ellipse 30% 14% at 58% 60%, #5BAA4C 0 98%, transparent), radial-gradient(circle at 50% 50%, #EAF3DC 0 50%, #F3F7EC 51%); }
.th-bun    { background: radial-gradient(circle at 36% 44%, #F7D79B 0 18%, transparent 19%), radial-gradient(circle at 64% 44%, #F4C27A 0 18%, transparent 19%), radial-gradient(circle at 50% 70%, #fff 0 14%, #F2E6C9 15% 18%, transparent 19%), #FFF5E1; }
.th-rice   { background: radial-gradient(circle at 60% 42%, #E9B15C 0 22%, transparent 23%), radial-gradient(circle at 40% 58%, #fff 0 26%, transparent 27%), #F7EFE2; }
.th-fish   { background: radial-gradient(ellipse 36% 18% at 50% 50%, #D9C3A5 0 98%, transparent), radial-gradient(ellipse 40% 6% at 50% 36%, #5BAA4C 0 98%, transparent), #E9EEFB; }
.th-chilli { background: radial-gradient(circle at 36% 40%, #C2341C 0 16%, transparent 17%), radial-gradient(circle at 62% 60%, #A92A14 0 18%, transparent 19%), radial-gradient(circle at 50% 50%, #7A2E14 0 46%, #F3E1D6 47%); }

.tabbar {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  display: flex; gap: 4px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px); box-shadow: var(--shadow-2);
}
.tab { width: 58px; height: 42px; display: grid; place-items: center; border-radius: 999px; font-size: 20px; color: var(--text2); }
.tab.on { background: var(--ink); color: #fff; }

/* Notifications (left) */
.notifs { position: absolute; left: 0; top: 70px; width: 330px; z-index: 2; }
.notifs-label { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text3); margin: 0 0 10px 6px; }
.notifs-label i { color: var(--peach-text); }
.notif {
  display: flex; gap: 12px; padding: 12px 14px; margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.9); border-radius: 20px; box-shadow: var(--shadow-2); font-size: 14px; line-height: 1.35;
}
.notif:nth-child(3) { margin-left: 28px; }
.notif:nth-child(4) { margin-left: 8px; }
.notif-icon { flex: none; width: 38px; height: 38px; border-radius: 10px; background: var(--n900); display: grid; place-items: center; }
.notif-icon svg { width: 26px; color: #fff; }
.notif-head { display: flex; justify-content: space-between; margin-bottom: 1px; }
.notif-head span { font-size: 12px; color: var(--text3); }

/* Sister card (right) */
.sister-card {
  position: absolute; right: 10px; top: 250px; width: 310px; z-index: 4;
  background: #fff; border-radius: 26px; padding: 18px; box-shadow: var(--shadow-3); font-size: 14px; line-height: 1.35;
  border: 1px solid var(--b100);
}
.dots { display: flex; gap: 5px; margin-bottom: 12px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--green500); }
.dots i.off { background: var(--n200); }
.label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); }
.sister-head { margin-top: 4px; font-size: 16px; }
.sister-dish { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.watch { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 7px 12px; border-radius: 999px; background: var(--b100); color: var(--b600); font-weight: 600; font-size: 13px; }
.sister-note { margin-top: 12px; padding: 10px 12px; border-radius: 14px; background: var(--n100); }
.sister-note .cap { display: block; margin-bottom: 2px; }

/* Stickers */
.sticker {
  position: absolute; z-index: 5; font-weight: 700; line-height: 1.05; text-align: center;
  border: 4px solid #fff; box-shadow: var(--shadow-2);
}
.st-dabao { left: 30%; top: 470px; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; background: var(--peach500); color: #fff; font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; transform: rotate(-12deg); }
.st-cur { right: 23%; top: 70px; padding: 10px 16px; border-radius: 14px; background: var(--ink); color: #fff; font-size: 17px; transform: rotate(8deg); }
.st-square { left: 4%; top: 470px; padding: 10px 16px; border-radius: 999px; background: var(--green50); color: var(--green900); font-size: 15px; transform: rotate(-5deg); display: inline-flex; gap: 6px; align-items: center; }
.bubble-ico { position: absolute; z-index: 1; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #fff; box-shadow: var(--shadow-2); }
.bi-1 { right: 1%; top: 80px; background: var(--b500); }
.bi-2 { right: 20%; top: 560px; background: var(--peach500); width: 54px; height: 54px; font-size: 24px; }
.bi-3 { left: 26%; top: 40px; background: #fff; color: var(--b500); width: 52px; height: 52px; font-size: 24px; }
.spark { position: absolute; width: 18px; height: 18px; background: var(--b300); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.sp-1 { left: 33%; top: 300px; }
.sp-2 { right: 31%; top: 200px; background: var(--peach500); width: 14px; height: 14px; }

/* Float motion */
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.float-1 { animation: bob 6s var(--ease-medium) infinite; }
.float-2 { animation: bob 7s var(--ease-medium) infinite -2s; }
.float-3 { animation: bob 6.5s var(--ease-medium) infinite -4s; }
.sticker, .bubble-ico { animation: bob 8s ease-in-out infinite; }
.st-cur { animation-delay: -3s; } .bi-1 { animation-delay: -5s; } .bi-2 { animation-delay: -1s; } .st-square { animation-delay: -6s; }

/* ── Sections ── */
.section { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 120px 24px 40px; }
.section-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.kicker { font-family: var(--hand); font-size: 30px; color: var(--b600); margin-bottom: 4px; transform: rotate(-2deg); }
.h2 { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.025em; text-wrap: balance; }
.lede { margin-top: 16px; font-size: 18px; color: var(--text2); text-wrap: pretty; }

/* Two-up */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 980px; margin: 0 auto 56px; }
.duo-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.phone-sm { width: 300px; }
.duo-item:nth-child(1) .phone-sm { transform: rotate(-3deg); }
.duo-item:nth-child(2) .phone-sm { transform: rotate(3deg); }
.duo-item figcaption { margin-top: 40px; max-width: 400px; }
.duo-title { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.bracket { position: relative; padding: 0 8px; margin-right: 2px; color: var(--text3); }
.bracket::before, .bracket::after { content: ""; position: absolute; top: 4px; bottom: 0; width: 8px; border: 3px solid var(--n300); }
.bracket::before { left: -2px; border-right: 0; border-radius: 6px 0 0 6px; }
.bracket::after { right: -2px; border-left: 0; border-radius: 0 6px 6px 0; }
.duo-text { margin-top: 12px; font-size: 16px; color: var(--text2); }

.bubble-me { margin: 0 0 10px auto; max-width: 84%; width: fit-content; padding: 10px 14px; border-radius: 18px 18px 4px 18px; background: var(--ink); color: #fff; font-size: 14px; }
.plan-card { padding: 12px 14px; }
.plan-lead { font-size: 13.5px; margin-bottom: 4px; }
.meal-label { display: flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text3); }
.plan-card .dish { padding: 4px 0; }
.plan-card .thumb { width: 36px; height: 36px; border-radius: 10px; }
.mini-btn { display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--n100); font-size: 13px; font-weight: 600; white-space: nowrap; }
.mini-btn.ink { background: var(--ink); color: #fff; }
.mini-btn.xs { height: 28px; padding: 0 12px; font-size: 12px; }
.mini-btn.wide { display: flex; margin-top: 10px; height: 42px; }
.composer {
  position: absolute; left: 12px; right: 12px; bottom: 16px; display: flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 16px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-2); color: var(--text3); font-size: 13px;
}
.composer span { flex: 1; }
.composer > i { font-size: 18px; }
.composer b { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 16px; }

.sub-head { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 10px; font-weight: 600; font-size: 16px; }
.sub-head i { font-size: 22px; } .sub-head span { width: 22px; }
.scan-frame { position: relative; height: 170px; border-radius: 18px; background: linear-gradient(160deg, #D9D2C5, #BDB4A6); display: grid; place-items: center; overflow: hidden; }
.receipt { width: 120px; padding: 12px 12px 14px; background: #FFFDF8; transform: rotate(-4deg); box-shadow: 0 6px 14px rgba(0,0,0,0.15); display: flex; flex-direction: column; gap: 6px; font-size: 9px; letter-spacing: 0.06em; }
.receipt b { text-align: center; }
.receipt .tot { text-align: right; margin-top: 2px; }
.receipt i { height: 4px; border-radius: 2px; background: #DCD6CB; }
.receipt i.s { width: 64%; }
.corner { position: absolute; width: 26px; height: 26px; border: 4px solid var(--b500); }
.c1 { left: 40px; top: 16px; border-right: 0; border-bottom: 0; border-radius: 8px 0 0 0; }
.c2 { right: 40px; top: 16px; border-left: 0; border-bottom: 0; border-radius: 0 8px 0 0; }
.c3 { left: 40px; bottom: 16px; border-right: 0; border-top: 0; border-radius: 0 0 0 8px; }
.c4 { right: 40px; bottom: 16px; border-left: 0; border-top: 0; border-radius: 0 0 8px 0; }
.scanline { position: absolute; left: 46px; right: 46px; top: 22px; height: 3px; border-radius: 2px; background: var(--b400); box-shadow: 0 0 14px 4px rgba(139,124,246,0.55); animation: scan 2.6s ease-in-out infinite alternate; }
@keyframes scan { to { top: calc(100% - 25px); } }
.lines { list-style: none; margin-top: 8px; background: #fff; border-radius: 16px; padding: 4px 12px; box-shadow: var(--shadow-1); }
.lines li { display: flex; justify-content: space-between; padding: 7px 0; font-size: 13px; border-bottom: 1px solid var(--n100); }
.lines li:last-child { border-bottom: 0; }
.lines li b { font-weight: 600; font-variant-numeric: tabular-nums; }
.lines li.more { color: var(--text3); }
.adds-up { display: flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--green900); }
.adds-up i { width: 18px; height: 18px; border-radius: 50%; background: var(--green500); color: #fff; display: grid; place-items: center; font-size: 12px; }

/* ── Day line (polaroids) ── */
.day { max-width: none; padding-left: 0; padding-right: 0; }
.day .section-head { padding: 0 24px; }
.line-wrap:focus-visible { outline: 3px solid var(--b400); outline-offset: -6px; border-radius: 0; }
.string-shadow { stroke: rgba(110, 94, 216, 0.10); stroke-width: 6; transform: translateY(4px); }
.string-line { stroke: var(--b300); stroke-width: 3; }
.swipe-hint { display: none; }
.line-wrap[data-rc-ready] .swipe-hint {
  position: absolute; left: 50%; top: 62px; translate: -50% 0; rotate: -3deg; z-index: 0;
  display: flex; align-items: center; gap: 10px; white-space: nowrap; pointer-events: none;
  font-family: var(--hand); font-size: 34px; font-weight: 500; line-height: 1; color: var(--b600);
}
.swipe-hint svg { width: 36px; height: 22px; flex: none; }
@media (max-width: 1100px) { .line-wrap[data-rc-ready] .swipe-hint { top: 34px; } }
.polaroid {
  background: #fff; border-radius: 16px; padding: 10px 10px 16px;
  box-shadow: var(--shadow-2);
  transition: scale var(--duration-slow) var(--ease-slow), translate var(--duration-slow) var(--ease-slow), box-shadow var(--duration-medium);
}
.polaroid:hover { box-shadow: var(--shadow-3); translate: 0 -8px; scale: 1.025; z-index: 2; }
.polaroid .pic svg { transition: scale 600ms var(--ease-medium); }
.polaroid:hover .pic svg { scale: 1.06; }
.polaroid::before { content: ""; position: absolute; top: 0; left: 50%; translate: -50% 0; width: 30px; height: 10px; background: radial-gradient(ellipse at 50% 0%, rgba(43, 40, 48, 0.16), rgba(43, 40, 48, 0) 70%); pointer-events: none; z-index: 1; }
.clip { position: absolute; top: -14px; left: 50%; translate: -50% 0; width: 16px; height: 30px; border-radius: 4px; background: var(--c); box-shadow: inset 0 -3px 0 rgba(0,0,0,0.1); }
.pic { aspect-ratio: 4 / 3; border-radius: 10px; display: grid; place-items: center; }
.pic svg { width: 86%; height: auto; }
.tint-peach { background: var(--peach50); } .tint-lav { background: var(--b100); } .tint-amber { background: var(--amber50); }
.tint-sky { background: var(--sky50); } .tint-green { background: var(--green50); }
.time { margin-top: 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--b600); }
.p-title { margin-top: 2px; font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.p-text { margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--text2); }

/* ── Bento ── */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-bottom: 56px; }
.tile {
  grid-column: span 4; position: relative; background: #fff; border-radius: var(--radius-container);
  padding: 24px; border: 1px solid var(--n100); box-shadow: var(--shadow-1); overflow: hidden;
  display: flex; flex-direction: column; transition: transform var(--duration-medium) var(--ease-medium), box-shadow var(--duration-medium);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.tile-vis { margin-bottom: 20px; }
.tile-title { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.02em; line-height: 1.2; margin-top: auto; }
.tile-text { margin-top: 8px; font-size: 15px; color: var(--text2); }
.t-tutor { grid-column: span 7; background: linear-gradient(170deg, var(--b50), #fff 60%); }
.t-trans { grid-column: span 5; background: linear-gradient(170deg, var(--peach50), #fff 70%); }
.t-split, .t-fridge, .t-spend { grid-column: span 4; }
.tile.small { grid-column: span 3; padding: 22px; }
.tile.small .tile-title { font-size: 20px; }

.vid { display: flex; gap: 14px; padding: 14px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-2); }
.vid + .vid { margin-top: 12px; }
.vid.bad { opacity: 0.72; box-shadow: var(--shadow-1); margin-left: 28px; }
.vid-thumb { flex: none; width: 112px; aspect-ratio: 16 / 10; border-radius: 12px; display: grid; place-items: center; }
.vid-thumb i { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--n900); display: grid; place-items: center; font-size: 16px; }
.vid-body { min-width: 0; }
.score { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.s-good { background: var(--green50); color: var(--green900); }
.s-bad { background: var(--red50); color: var(--red900); }

.t-trans .tile-vis { display: flex; flex-direction: column; justify-content: center; gap: 8px; flex: 1; }
.tr-bubble { width: fit-content; padding: 10px 16px; border-radius: 18px 18px 18px 4px; background: #fff; box-shadow: var(--shadow-1); font-size: 17px; }
.tr-bubble.en { margin-left: auto; border-radius: 18px 18px 4px 18px; background: var(--ink); color: #fff; }
.tr-pair { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,0.7); font-size: 13px; font-weight: 600; }
.tr-pair i { color: var(--peach-text); flex: none; }
.tr-arrow { align-self: center; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--peach500); color: #fff; font-size: 18px; }

.split-vis { display: flex; align-items: center; gap: 16px; }
.donut { width: 92px; height: 92px; flex: none; rotate: -90deg; }
.split-amt { margin: 4px 0 10px; font-size: 17px; }
.split-amt b { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.025em; }

.pantry { list-style: none; display: grid; grid-template-columns: 1fr; gap: 6px; }
.pantry li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--n50); border-radius: 14px; font-size: 14px; font-weight: 600; }
.pantry em { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--text3); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.d-green { background: var(--green500); } .d-amber { background: var(--amber500); } .d-sky { background: #6AA6F8; } .d-red { background: var(--red500); }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; padding: 0 4px; border-bottom: 2px solid var(--n100); }
.bars span { flex: 1; height: var(--h); border-radius: 10px 10px 4px 4px; background: var(--b100); }
.bars .now { background: linear-gradient(var(--b400), var(--b500)); }
.bar-labels { display: flex; gap: 10px; padding: 6px 4px 0; margin: -14px 0 20px; font-size: 12px; color: var(--text3); }
.bar-labels span { flex: 1; text-align: center; }
.bar-labels span:last-child { color: var(--b600); font-weight: 700; }
.taste { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 16px; }
.taste span:not(.cap) { padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--b200); font-size: 13px; font-weight: 600; color: var(--b600); }
.taste .cap { margin-right: 4px; }

.tile-ico { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.t-events .tile-ico { background: var(--sky50); color: #3E62C7; }
.t-sync .tile-ico { background: var(--green50); color: var(--green900); }
.t-roles .tile-ico { background: var(--b100); color: var(--b600); }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.langs span { padding: 5px 10px; border-radius: 999px; background: var(--n100); font-size: 12.5px; font-weight: 600; }
.langs span:nth-child(2) { background: var(--peach50); color: var(--peach900); }

/* ── FAQ ── */
.faq { max-width: 820px; padding-top: 80px; }
.faq .section-head { margin-bottom: 32px; }
.faq-list { display: grid; gap: 10px; }
details { background: #fff; border-radius: var(--radius-component); border: 1px solid var(--n100); box-shadow: var(--shadow-1); }
summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 600; font-size: 17px; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; translate: 0 -50%; width: 28px; height: 28px; border-radius: 50%; background: var(--b100); color: var(--b600); display: grid; place-items: center; font-size: 18px; transition: rotate var(--duration-medium) var(--ease-medium); }
details[open] summary::after { rotate: 45deg; }
details p { padding: 0 24px 22px; color: var(--text2); font-size: 16px; }

/* ── Final ── */
.final { position: relative; margin-top: 80px; padding: 140px 24px 120px; text-align: center; overflow: hidden; background: linear-gradient(to bottom, var(--page), var(--b50) 40%, var(--b100)); }
.giant {
  position: absolute; left: 50%; top: 40px; translate: -50% 0; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--display); font-size: clamp(64px, 15vw, 240px); font-weight: 800; line-height: 0.9; letter-spacing: -0.055em; white-space: nowrap;
  color: transparent; background: linear-gradient(to bottom, rgba(139,124,246,0.18), rgba(139,124,246,0.04)); -webkit-background-clip: text; background-clip: text;
}
.final-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.mascot { position: relative; width: 180px; margin: 0 auto 36px; }
.mascot-tile { width: 180px; height: 180px; border-radius: 48px; background: var(--n900); display: grid; place-items: center; box-shadow: 0 30px 60px rgba(44,36,96,0.3); rotate: -6deg; border: 6px solid #fff; }
.mascot-tile svg { width: 112px; color: var(--b500); }
.speech {
  position: absolute; right: -150px; top: -30px; padding: 14px 18px; background: #fff; border: 4px solid var(--n900); border-radius: 26px;
  font-family: var(--hand); font-weight: 700; font-size: 26px; line-height: 0.95; rotate: 8deg; box-shadow: var(--shadow-2);
}
.speech::after { content: ""; position: absolute; left: 6px; bottom: -14px; width: 22px; height: 22px; background: #fff; border-left: 4px solid var(--n900); border-bottom: 4px solid var(--n900); transform: skewY(-30deg) rotate(-10deg); border-radius: 0 0 0 6px; }

/* ── Footer ── */
.footer { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 24px 36px; max-width: var(--wrap); margin: 0 auto; }
.footer .brand-word { font-size: 22px; } .footer .brand-mark { width: 28px; }
.footer-links { margin-left: auto; display: flex; gap: 24px; font-size: 14px; color: var(--text2); }
.footer-links a:hover { color: var(--text1); }
.footer-links a[aria-current="page"] { color: var(--text1); font-weight: 600; }

/* ── Legal pages (terms.html) ── */
.legal-hero { position: relative; padding: 64px 24px 56px; text-align: center; isolation: isolate; overflow-x: clip; }
.legal-hero .blob-a { left: 50%; top: -120px; translate: -50% 0; opacity: 0.55; }
.legal-hero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(to bottom, transparent, var(--b50)); }
.legal-title { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -0.025em; }
.legal-meta { margin-top: 16px; font-size: 15px; color: var(--text3); }

.legal-wrap { max-width: 1080px; margin: 0 auto; padding: 48px 24px 96px; display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 64px; align-items: start; }

.toc { position: sticky; top: 96px; }
.toc-label { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text3); margin-bottom: 12px; }
.toc ol { list-style: none; counter-reset: toc; display: grid; gap: 2px; border-left: 1.5px solid var(--n200); }
.toc li { counter-increment: toc; }
.toc a {
  display: flex; gap: 10px; padding: 6px 12px; margin-left: -1.5px; border-left: 1.5px solid transparent;
  font-size: 14px; line-height: 1.35; color: var(--text2); transition: color var(--duration-fast), border-color var(--duration-fast);
}
.toc a::before { content: counter(toc, decimal-leading-zero); font-variant-numeric: tabular-nums; color: var(--text3); }
.toc a:hover { color: var(--text1); }
.toc a[aria-current] { color: var(--b600); border-left-color: var(--b500); font-weight: 600; }
.toc a[aria-current]::before { color: var(--b500); }

.legal-body { max-width: 68ch; color: var(--n700); font-size: 17px; line-height: 1.7; }
.legal-body a { color: var(--b600); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--b300); }
.legal-body a:hover { text-decoration-color: var(--b600); }
.legal-body b { color: var(--text1); font-weight: 600; }
.legal-lead { font-size: 19px; line-height: 1.6; color: var(--text1); text-wrap: pretty; }

.gist { margin: 40px 0 16px; padding: 28px 28px 22px; background: #fff; border: 1px solid var(--n100); border-radius: var(--radius-container); box-shadow: var(--shadow-2); }
.legal-body .gist-title { font-size: 28px; margin-bottom: 18px; }
.gist-list { list-style: none; display: grid; gap: 14px; }
.gist-list li { display: flex; gap: 14px; align-items: flex-start; }
.gist-list p { font-size: 16px; line-height: 1.55; }
.gist-ico { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--b100); color: var(--b600); font-size: 18px; }
.gist-list li:nth-child(2n) .gist-ico { background: var(--peach50); color: var(--peach-text); }
.gist-foot { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--n100); font-size: 13px; color: var(--text3); }

.legal-body section { padding-top: 48px; }
.legal-body h2 { display: flex; align-items: baseline; gap: 14px; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -0.025em; color: var(--text1); margin-bottom: 14px; text-wrap: balance; }
.legal-body .num { flex: none; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--b500); font-variant-numeric: tabular-nums; translate: 0 -4px; }
.legal-body section > p + p, .legal-body section > ul + p, .legal-body section > p + ul { margin-top: 14px; }
.legal-body section ul { list-style: none; display: grid; gap: 10px; }
.legal-body section ul li { position: relative; padding-left: 22px; }
.legal-body section ul li::before { content: ""; position: absolute; left: 4px; top: 0.72em; width: 7px; height: 7px; border-radius: 50%; background: var(--b300); }

.note { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--radius-component); background: var(--b50); border: 1px solid var(--b100); font-size: 16px; line-height: 1.6; color: var(--n700); }
.note > i { flex: none; font-size: 20px; color: var(--b600); margin-top: 2px; }

.legal-body ul.vendors { gap: 0; border: 1px solid var(--n200); border-radius: var(--radius-component); background: #fff; overflow: hidden; }
.legal-body ul.vendors li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 18px; font-size: 15px; }
.legal-body ul.vendors li + li { border-top: 1px solid var(--n100); }
.legal-body ul.vendors li::before { content: none; }
.legal-body ul.vendors span { color: var(--text3); text-align: right; }

/* Unfilled details: visible on purpose until replaced */
.todo { padding: 1px 6px; border-radius: 6px; background: var(--amber50); color: var(--amber900); box-shadow: inset 0 0 0 1px var(--amber500); font-weight: 600; white-space: nowrap; }

/* ── Reveal ── */
.reveal { opacity: 0; translate: 0 18px; transition: opacity 700ms var(--ease-medium), translate 700ms var(--ease-medium); }
.reveal.in { opacity: 1; translate: 0 0; }
.no-js .reveal { opacity: 1; translate: none; }

/* ── Motion ──
   Entrances only, and only when the visitor allows motion.
   Hero: plays on first paint through @starting-style, so it needs no JS and never flashes.
   Below the fold: main.js adds .in to each group as it scrolls into view and numbers the group's items
   with --i in on-screen order. Keyframes use fill-mode "backwards", so once an entrance ends the element's
   own hover transitions and the clothesline's per-frame transforms take over untouched.
   Elements that already move (bobbing cards, swinging polaroids) enter on a property they don't use. */
@keyframes m-rise { from { opacity: 0; translate: 0 26px; filter: blur(6px); } }
@keyframes m-fade { from { opacity: 0; } }
@keyframes m-slide { from { opacity: 0; translate: -22px 0; } }
@keyframes m-pop { from { opacity: 0; scale: 0.5; } }
@keyframes m-spin { from { opacity: 0; scale: 0.4; rotate: -180deg; } }
@keyframes m-drop { from { opacity: 0; translate: 0 -80px; rotate: -10deg; } }
@keyframes m-tilt { from { opacity: 0; translate: 0 70px; rotate: var(--m-tilt, 0deg); } }
@keyframes m-grow { from { scale: 1 0; } }
@keyframes m-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes m-arc { from { stroke-dasharray: 0 100; } }
@keyframes m-giant { from { opacity: 0; translate: -50% 60px; } }
@keyframes m-mascot { from { opacity: 0; scale: 0.4; rotate: -32deg; } }
@keyframes m-speech { from { opacity: 0; scale: 0.3; rotate: 28deg; } }

@media (prefers-reduced-motion: no-preference) {
  :root { --m-ease: cubic-bezier(0.16, 1, 0.3, 1); --m-spring: cubic-bezier(0.34, 1.5, 0.64, 1); }

  /* Hero: copy cascades in, then the phone rises and the cards and stickers settle around it */
  .nav-inner, .eyebrow, .hero-title, .hero-title > span, .hero-sub, .hero .waitlist, .hero-note, .notifs-label, .phone-hero {
    transition: opacity 900ms var(--m-ease), translate 1100ms var(--m-ease), filter 900ms var(--m-ease);
  }
  .eyebrow { transition-delay: 80ms; }
  .hero-title { transition-delay: 160ms; }
  .hero-title > span { transition-delay: 380ms; }
  .hero-sub { transition-delay: 500ms; }
  .hero .waitlist { transition-delay: 600ms; }
  .hero-note { transition-delay: 700ms; }
  .phone-hero { transition-duration: 900ms, 1400ms; transition-delay: 420ms; }
  .notifs-label { transition-delay: 760ms; }
  .notif, .sister-card { transition: opacity 800ms var(--m-ease), transform 1000ms var(--m-ease); }
  .notif:nth-child(2) { transition-delay: 820ms; }
  .notif:nth-child(3) { transition-delay: 940ms; }
  .notif:nth-child(4) { transition-delay: 1060ms; }
  .sister-card { transition-delay: 1000ms; }
  .sticker, .bubble-ico, .spark { transition: opacity 500ms var(--m-ease), scale 900ms var(--m-spring), rotate 900ms var(--m-spring); }
  .bi-3 { transition-delay: 1150ms; } .st-dabao { transition-delay: 1250ms; } .bi-1 { transition-delay: 1300ms; }
  .st-cur { transition-delay: 1350ms; } .bi-2 { transition-delay: 1400ms; } .st-square { transition-delay: 1450ms; }
  .sp-1 { transition-delay: 1500ms; } .sp-2 { transition-delay: 1600ms; }
  .scribble { transition: opacity 700ms var(--m-ease) 1100ms; }
  .scribble path { stroke-dasharray: 140; transition: stroke-dashoffset 1100ms var(--m-ease) 1300ms; }

  @starting-style {
    .nav-inner { opacity: 0; translate: 0 -14px; }
    .eyebrow, .hero-title, .hero-title > span, .hero-sub, .hero .waitlist, .hero-note { opacity: 0; translate: 0 24px; filter: blur(8px); }
    .notifs-label { opacity: 0; }
    .phone-hero { opacity: 0; translate: 0 110px; }
    .notif { opacity: 0; transform: translateX(-40px); }
    .sister-card { opacity: 0; transform: translateX(40px); }
    .sticker, .bubble-ico { opacity: 0; scale: 0.4; }
    .spark { opacity: 0; scale: 0; rotate: -120deg; }
    .scribble { opacity: 0; }
    .scribble path { stroke-dashoffset: 140; }
  }

  /* Section heads: kicker, title and lede follow one another */
  .section-head.reveal { opacity: 1; translate: none; }
  :root:not(.no-js) .section-head:not(.in) > * { opacity: 0; }
  .section-head.in > * { animation: m-rise 1000ms var(--m-ease) backwards; animation-delay: calc(var(--i, 0) * 110ms); }

  /* Ask it / Snap it: phones swing upright, then the app fills in like it's being used */
  .duo-item:nth-child(1) { --m-tilt: -9deg; }
  .duo-item:nth-child(2) { --m-tilt: 9deg; }
  .duo-item.in .phone-sm { animation: m-tilt 1300ms var(--m-ease) backwards; }
  .duo-item.in :is(.bubble-me, .plan-card > *, .scan-frame, .lines li, .adds-up, .mini-btn.wide) {
    animation: m-rise 700ms var(--m-ease) backwards; animation-delay: calc(550ms + var(--i, 0) * 85ms);
  }

  /* Clothesline: the rope draws across, then each polaroid is pegged on, left to right */
  :root:not(.no-js) .line-wrap:not(.in) :is(.polaroid, .swipe-hint) { opacity: 0; }
  :root:not(.no-js) .line-wrap:not(.in) .string path { stroke-dashoffset: 1; }
  .line-wrap .string path { stroke-dasharray: 1; }
  .line-wrap.in .string path { animation: m-draw 1400ms var(--m-ease) backwards; }
  .line-wrap.in .polaroid { animation: m-drop 1100ms var(--m-spring) backwards; animation-delay: calc(300ms + var(--i, 0) * 110ms); }
  .line-wrap.in .swipe-hint { animation: m-fade 900ms var(--m-ease) 1100ms backwards; }

  /* Bento: each tile's demo plays once the tile is in */
  .t-tutor.in .vid { animation: m-slide 800ms var(--m-ease) backwards; animation-delay: calc(250ms + var(--i, 0) * 150ms); }
  .t-tutor.in .taste > span { animation: m-pop 600ms var(--m-spring) backwards; animation-delay: calc(300ms + var(--i, 0) * 60ms); }
  .t-trans.in .tile-vis > * { animation: m-rise 800ms var(--m-ease) backwards; animation-delay: calc(250ms + var(--i, 0) * 200ms); }
  .t-trans.in .tr-arrow { animation-name: m-spin; animation-timing-function: var(--m-spring); }
  .t-split.in .donut circle + circle { animation: m-arc 1300ms var(--m-ease) 300ms backwards; }
  .t-split.in .donut circle:last-child { animation-delay: 650ms; }
  .t-split.in .split-vis > div { animation: m-rise 800ms var(--m-ease) 400ms backwards; }
  .t-fridge.in .pantry li { animation: m-slide 700ms var(--m-ease) backwards; animation-delay: calc(250ms + var(--i, 0) * 90ms); }
  .bars span { transform-origin: 50% 100%; }
  .t-spend.in .bars span { animation: m-grow 900ms var(--m-spring) backwards; animation-delay: calc(250ms + var(--i, 0) * 70ms); }
  .tile.in .tile-ico { animation: m-spin 900ms var(--m-spring) 250ms backwards; }
  .t-lang.in .langs span { animation: m-pop 600ms var(--m-spring) backwards; animation-delay: calc(250ms + var(--i, 0) * 55ms); }

  /* FAQ */
  .faq-list.in details { animation: m-rise 800ms var(--m-ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }

  /* Final CTA: the giant word surfaces, the app icon spins up and the bubble pops */
  :root:not(.no-js) .final:not(.in) .giant { opacity: 0; }
  .final.in .giant { animation: m-giant 1600ms var(--m-ease) backwards; }
  .mascot.in .mascot-tile { animation: m-mascot 1100ms var(--m-spring) 150ms backwards; }
  .mascot.in .speech { animation: m-speech 800ms var(--m-spring) 700ms backwards; }
}

/* ── Responsive ── */
@media (max-width: 1240px) {
  .scribble { display: none; }
}
@media (max-width: 1100px) {
  .stage { height: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }
  .phone-hero { position: relative; left: auto; transform: none; order: 1; }
  .sister-card { position: relative; right: auto; top: auto; order: 2; width: min(360px, 100%); margin-top: -120px; margin-left: 220px; }
  .notifs { position: relative; left: auto; top: auto; order: 3; width: min(420px, 100%); }
  .notif:nth-child(n) { margin-left: 0; }
  .sticker, .bubble-ico, .spark { display: none; }
  .bento { grid-template-columns: repeat(6, 1fr); }
  .t-tutor, .t-trans, .t-split, .t-fridge, .t-spend { grid-column: span 6; grid-row: auto; }
  .tile.small { grid-column: span 3; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { padding: 10px 16px; }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .brand-word { font-size: 22px; } .brand-mark { width: 28px; }
  .hero { padding: 24px 16px 24px; }
  .hero-title { margin: 20px auto 16px; }
  .hero-title .nowrap { white-space: normal; }
  .hero-sub { font-size: 17px; }
  .waitlist-field { flex-wrap: wrap; padding: 6px; border-radius: 26px; }
  .waitlist-field > i { display: none; }
  .waitlist input { padding: 0 12px; flex-basis: 100%; }
  .waitlist .btn { width: 100%; margin: 8px 0 0; }
  .stage { margin-top: 36px; }
  .phone-hero { width: 300px; }
  .sister-card { margin: -100px 0 0 0; width: calc(100% - 24px); max-width: 340px; align-self: flex-end; }
  .section { padding: 80px 16px 24px; }
  .section-head { margin-bottom: 40px; }
  .duo { grid-template-columns: 1fr; gap: 64px; }
  .phone-sm { width: 280px; }
  .day { padding-left: 0; padding-right: 0; } /* the clothesline runs edge to edge */
  .line-wrap { --rc-fade: 7%; }
  .line-wrap [data-rc-card] { flex-basis: min(46vw, 220px); } /* static fallback matches the smaller cards */
  .polaroid { padding: 8px 8px 12px; border-radius: 14px; }
  .time { margin-top: 10px; font-size: 11px; }
  .p-title { font-size: 16px; }
  .p-text { font-size: 13px; }
  .line-wrap[data-rc-ready] .swipe-hint { top: 20px; font-size: 28px; gap: 8px; }
  .swipe-hint svg { width: 28px; height: 18px; }
  .bento { grid-template-columns: 1fr 1fr; gap: 12px; }
  .t-tutor, .t-trans, .t-split, .t-fridge, .t-spend { grid-column: span 2; }
  .tile.small { grid-column: span 1; padding: 18px; }
  .tile { padding: 20px; border-radius: 26px; }
  .tile.small .tile-title { font-size: 18px; }
  .tile-text { font-size: 14px; }
  .vid.bad { margin-left: 0; }
  .vid-thumb { width: 84px; }
  .pantry { grid-template-columns: 1fr; }
  .final { padding: 100px 16px 80px; }
  .speech { right: -64px; top: -56px; font-size: 20px; padding: 10px 14px; }
  .mascot, .mascot-tile { width: 140px; } .mascot-tile { height: 140px; border-radius: 38px; } .mascot-tile svg { width: 88px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { margin-left: 0; flex-wrap: wrap; gap: 12px 24px; }
  .legal-hero { padding: 40px 16px 36px; }
  .legal-wrap { grid-template-columns: 1fr; gap: 32px; padding: 24px 16px 64px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: 1fr 1fr; border-left: 0; gap: 0 12px; }
  .toc a { padding: 6px 0; margin-left: 0; border-left: 0; }
  .legal-body { font-size: 16px; }
  .legal-lead { font-size: 17px; }
  .gist { padding: 22px 18px 18px; border-radius: 26px; }
  .legal-body h2 { font-size: 25px; gap: 10px; }
  .legal-body ul.vendors li { flex-direction: column; gap: 2px; }
  .legal-body ul.vendors span { text-align: left; }
  .todo { white-space: normal; }
}
@media (max-width: 420px) {
  .tile.small { grid-column: span 2; }
}

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