/* Momo landing page. Colors mirror Shared/Palette.swift (light and dark). */
@font-face {
  font-family: "Nunito Variable";
  src: url(/assets/fonts/nunito-latin-wght.woff2) format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

:root {
  --bg: #FFF6EC;
  --bg-2: #FCEBDD;
  --card: #FFFFFF;
  --card-soft: #FCEBDD;
  --ink: #4A2E25;
  --ink-soft: #94735F;
  --rust: #D9653B;
  --bamboo: #7FB069;
  --dew: #5CB8E0;
  --warmth: #F0776A;
  --sunshine: #F6C453;
  --blush: #F59EA0;
  --lilac: #9C8FE0;
  --line: rgba(74, 46, 37, 0.08);
  --shadow: 0 24px 60px -18px rgba(74, 46, 37, 0.28), 0 6px 18px -8px rgba(74, 46, 37, 0.12);
  --shadow-soft: 0 10px 30px -12px rgba(74, 46, 37, 0.2);
  --blob-1: #FCD9BE;
  --blob-2: #DDEFD2;
  --blob-3: #FBD3CC;
  --lock-1: #8D8892;
  --lock-2: #5E5963;
  --radius: 32px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito Variable", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #241A17;
    --bg-2: #2C201C;
    --card: #352722;
    --card-soft: #40302A;
    --ink: #F7E9DD;
    --ink-soft: #C8AFA2;
    --rust: #F08458;
    --bamboo: #93C47D;
    --dew: #8AD0EE;
    --warmth: #F49084;
    --sunshine: #F7CF6E;
    --line: rgba(247, 233, 221, 0.08);
    --shadow: 0 24px 60px -18px rgba(0, 0, 0, 0.6), 0 6px 18px -8px rgba(0, 0, 0, 0.4);
    --shadow-soft: 0 10px 30px -12px rgba(0, 0, 0, 0.5);
    --blob-1: #4A2C22;
    --blob-2: #253326;
    --blob-3: #4A2A2C;
    --lock-1: #3A3540;
    --lock-2: #241F29;
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--rust); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0; font-weight: 800; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.ic { display: inline-block; width: 1em; height: 1em; background: currentColor; flex: none;
  -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-weight: 800; font-size: 21px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: var(--shadow-soft); }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 650; font-size: 15px; white-space: nowrap; transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.lang { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--card);
  color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; box-shadow: var(--shadow-soft); }
.lang .ic { color: var(--ink-soft); }
.nav .appstore { height: 40px; }
/* Five links plus the language switch and the badge need about 910px on one line. */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .lang { margin-left: auto; }
}
@media (max-width: 480px) {
  .nav .appstore { display: none; }
}

/* ---------- app store badge ---------- */
.appstore { display: inline-block; height: 56px; border-radius: 12px; transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s; }
.appstore img { height: 100%; width: auto; }
.appstore:hover { transform: translateY(-2px); }
.appstore:active { transform: translateY(0) scale(0.97); }
.appstore:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }

/* ---------- ambient background ---------- */
.ambient { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.9; animation: drift 22s ease-in-out infinite alternate; }
.blob.b1 { width: 620px; height: 620px; background: var(--blob-1); top: -180px; right: -120px; }
.blob.b2 { width: 520px; height: 520px; background: var(--blob-2); bottom: -160px; left: -160px; animation-duration: 28s; }
.blob.b3 { width: 420px; height: 420px; background: var(--blob-3); top: 30%; left: 38%; animation-duration: 25s; animation-delay: -8s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}
.grain { position: absolute; inset: 0; opacity: 0.05; mix-blend-mode: multiply;
  background-image: 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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E"); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; padding: 56px 0 96px; overflow-x: clip; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 48px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 99px; background: var(--card);
  font-size: 14px; font-weight: 700; color: var(--ink-soft); box-shadow: var(--shadow-soft); }
.eyebrow img { width: 24px; height: 24px; border-radius: 7px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 80px); margin: 22px 0 20px; }
.hero h1 em { font-style: normal; color: var(--rust); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.18em; border-radius: 99px;
  background: linear-gradient(90deg, var(--sunshine), var(--warmth)); opacity: 0.35; z-index: -1;
  transform-origin: left; animation: underline 1.2s 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero .lede { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-soft); max-width: 34ch; }
.hero .cta { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 34px; }
.hero .note { font-size: 14px; font-weight: 650; color: var(--ink-soft); display: flex; align-items: center; gap: 6px; }
.hero .note .ic { color: var(--bamboo); }
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 99px; background: var(--card);
  font-size: 14px; font-weight: 700; box-shadow: var(--shadow-soft); }
.pill .ic { font-size: 16px; }

.stage { position: relative; height: 660px; display: grid; place-items: center; }
.stage .halo { position: absolute; width: min(520px, 110vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--sunshine) 45%, transparent), transparent 66%);
  animation: pulse 6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: 0.8; } }
.phone { position: relative; width: 300px; aspect-ratio: 402 / 874; padding: 10px; border-radius: 54px;
  background: #241A17; box-shadow: var(--shadow), inset 0 0 0 2px #3a2c27, 0 0 0 1px rgba(0,0,0,0.04); }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #FFF6EC; transform: translateZ(0); }
.phone .screen video, .phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.stage .phone { z-index: 2; animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(0.4deg); } }

.float { position: absolute; z-index: 3; animation: bob 5s ease-in-out infinite; }
.float.friend { width: 96px; filter: drop-shadow(0 12px 18px rgba(74, 46, 37, 0.22)); }
.float.f1 { left: 2%; top: 14%; animation-delay: -1s; }
.float.f2 { right: 0; top: 52%; width: 84px; animation-delay: -2.4s; }
.float.f3 { left: 6%; bottom: 8%; width: 78px; animation-delay: -3.6s; }
.float.chip { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: var(--card);
  box-shadow: var(--shadow-soft); font-weight: 800; font-size: 15px; white-space: nowrap; }
.float.c1 { right: 4%; top: 12%; animation-delay: -0.6s; }
.float.c2 { left: -2%; top: 50%; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-14px) rotate(-2deg); } }

.leaves { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.leaves img { position: absolute; top: -60px; width: 30px; opacity: 0; animation: fall linear infinite; }
@keyframes fall {
  0% { transform: translate(0, 0) rotate(0); opacity: 0; }
  10% { opacity: 0.9; }
  85% { opacity: 0.9; }
  100% { transform: translate(var(--dx, 80px), 760px) rotate(var(--rot, 300deg)); opacity: 0; }
}

@media (max-width: 960px) {
  .hero { padding-top: 32px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .lede { margin-inline: auto; }
  .hero .cta, .pills { justify-content: center; }
  .stage { height: 600px; }
}
@media (max-width: 480px) {
  .stage { height: 540px; }
  .phone { width: 252px; border-radius: 46px; padding: 9px; }
  .phone .screen { border-radius: 38px; }
  .float.friend { width: 70px; }
  .float.f2 { width: 62px; }
  .float.f3 { width: 58px; }
  .float.chip { font-size: 13px; padding: 8px 12px; }
  .float.c2 { left: 0; }
}

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 110px 0; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--rust); font-weight: 800; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.08em; }
.section h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 14px 0 16px; }
.section .sub { font-size: 19px; color: var(--ink-soft); max-width: 46ch; }
.center { text-align: center; }
.center .sub { margin-inline: auto; }

/* ---------- pause ---------- */
.pause .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.pause h2 em { font-style: normal; color: var(--rust); }
.pause .sub + .sub { margin-top: 14px; }
.rush { position: relative; height: 460px; border-radius: 40px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start; gap: 16px; padding-top: 52px;
  background: linear-gradient(160deg, var(--card-soft), color-mix(in srgb, var(--lilac) 18%, var(--bg))); box-shadow: var(--shadow); }
.rush-row { transform: rotate(-4deg); transition: filter 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.rush-track { display: flex; gap: 12px; padding-right: 12px; width: max-content; animation: rush var(--dur, 9s) linear infinite; }
.rush-row:nth-child(2) .rush-track { animation-direction: reverse; }
@keyframes rush { to { transform: translateX(-50%); } }
.note-chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border-radius: 16px; background: var(--card);
  box-shadow: var(--shadow-soft); font-size: 15px; font-weight: 750; white-space: nowrap; }
.note-chip .ic { font-size: 19px; }
.rush-calm { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; align-items: center; pointer-events: none; }
.rush-calm .momo { width: 240px; margin-bottom: -18px; opacity: 0; transform: translateY(60%) scale(0.85);
  transition: transform 1s 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s 0.5s; }
.rush-calm .say { position: relative; margin-bottom: 8px; padding: 12px 18px; border-radius: 20px; background: var(--card); color: var(--ink);
  font-weight: 700; font-size: 16px; white-space: nowrap; box-shadow: var(--shadow-soft); opacity: 0; transform: translateY(12px) scale(0.85);
  transition: transform 0.5s 1.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s 1.4s; }
.rush-calm .say::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 16px; height: 16px; background: inherit;
  transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.rush.calm .rush-row { filter: blur(3px); opacity: 0.32; }
.rush.calm .momo { opacity: 1; transform: none; }
.rush.calm .say { opacity: 1; transform: none; }
@media (max-width: 860px) {
  .pause .wrap { grid-template-columns: 1fr; gap: 40px; }
  .rush { height: 420px; border-radius: 34px; padding-top: 40px; }
  .rush-calm .momo { width: 200px; }
}

/* ---------- streaks ---------- */
.streaks .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.lock { position: relative; height: 460px; border-radius: 40px; overflow: hidden;
  background: linear-gradient(180deg, var(--lock-1), var(--lock-2)); box-shadow: var(--shadow); }
.lock .time { position: absolute; left: 0; right: 0; top: 40px; text-align: center; color: rgba(255, 255, 255, 0.92); }
.lock .time b { display: block; font-size: 88px; line-height: 1; letter-spacing: -0.03em; }
.lock .time span { font-size: 17px; font-weight: 650; }
.notif { position: absolute; left: 24px; right: 24px; top: 196px; display: flex; gap: 14px; align-items: center; padding: 16px 18px;
  border-radius: 24px; background: rgba(255, 255, 255, 0.92); color: #2B2523; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  transition: transform 0.7s cubic-bezier(0.7, 0, 0.84, 0), opacity 0.5s 0.2s; }
.notif .app { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 26px;
  background: linear-gradient(160deg, #FF9A4D, #F2542D); flex: none; }
.notif b { display: block; font-size: 16px; }
.notif span { font-size: 15px; color: #4A4542; }
.notif small { margin-left: auto; align-self: flex-start; color: #8B8580; font-size: 13px; }
.lock .momo { position: absolute; left: 50%; bottom: -10px; width: 260px; transform: translate(-50%, 70%) scale(0.8); opacity: 0;
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s; }
.lock .say { position: absolute; left: 50%; bottom: 240px; transform: translate(-50%, 12px) scale(0.85); opacity: 0; white-space: nowrap;
  background: var(--card); color: var(--ink); padding: 12px 18px; border-radius: 20px; font-weight: 700; font-size: 16px;
  box-shadow: var(--shadow-soft); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s; }
.lock .say::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 16px; height: 16px; background: inherit;
  transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.lock.run .notif { transform: translateX(-130%) rotate(-6deg); opacity: 0; transition-delay: 1.4s, 1.6s; }
.lock.run .momo { transform: translate(-50%, 0) scale(1); opacity: 1; transition-delay: 2s; }
.lock.run .say { transform: translate(-50%, 0) scale(1); opacity: 1; transition-delay: 2.7s; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; }
.checks .ic { font-size: 26px; color: var(--bamboo); margin-top: -1px; }
@media (max-width: 860px) {
  .streaks .wrap { grid-template-columns: 1fr; gap: 40px; }
  .lock { height: 420px; }
  .lock .time b { font-size: 72px; }
  .notif { left: 14px; right: 14px; }
}

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding: 30px 28px 32px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-soft); overflow: hidden; }
.step .num { position: absolute; right: 22px; top: 12px; font-size: 92px; font-weight: 900; color: var(--card-soft); line-height: 1; }
.step .badge { position: relative; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; }
.step h3 { position: relative; font-size: 23px; margin: 22px 0 8px; }
.step p { position: relative; color: var(--ink-soft); font-size: 17px; }
.warmbar { position: relative; height: 12px; border-radius: 99px; background: var(--card-soft); margin-top: 22px; overflow: hidden; }
.warmbar i { position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: 99px; background: linear-gradient(90deg, var(--sunshine), var(--warmth));
  transition: width 1.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.in .warmbar i { width: 88%; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- features bento ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 56px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-soft);
  padding: 30px; display: flex; flex-direction: column; min-height: 300px; }
.tile h3 { font-size: 25px; margin: 14px 0 8px; }
.tile p { color: var(--ink-soft); font-size: 16.5px; max-width: 36ch; }
.tile .tag { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 800; color: var(--rust);
  text-transform: uppercase; letter-spacing: 0.06em; }
.tile .tag .ic { font-size: 18px; }
.tile.wide { grid-column: span 4; }
.tile.half { grid-column: span 3; }
.tile.third { grid-column: span 2; }
.tile .shot { margin-top: auto; align-self: center; width: 220px; border-radius: 30px 30px 0 0; overflow: hidden;
  box-shadow: 0 -2px 0 8px #241A17, var(--shadow); transform: translateY(46px); transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.tile:hover .shot { transform: translateY(30px); }
.tile .shot img { width: 100%; height: auto; aspect-ratio: 600 / 1304; }
.tile.side { flex-direction: row; gap: 26px; align-items: flex-start; }
.tile.side .copy { flex: 1; display: flex; flex-direction: column; align-self: center; }
.tile.side .shot { flex: none; margin: 0 0 -76px; align-self: flex-end; }
.tile.nest { background: linear-gradient(180deg, color-mix(in srgb, var(--card) 70%, transparent), var(--card) 46%), url(/assets/img/nest-room.webp) center / cover; }
.tile.privacy-mini { background: linear-gradient(160deg, var(--rust), #B84E2A); color: #fff; }
.tile.privacy-mini p, .tile.privacy-mini .tag { color: rgba(255, 255, 255, 0.86); }
.tile .big-ic { font-size: 64px; margin-top: auto; opacity: 0.9; }
.breath { position: relative; width: 150px; height: 150px; margin: auto auto 0; display: grid; place-items: center; }
.breath i { position: absolute; inset: 0; border-radius: 50%; background: color-mix(in srgb, var(--dew) 26%, transparent); animation: breathe 8s ease-in-out infinite; }
.breath i:nth-child(2) { inset: 22px; background: color-mix(in srgb, var(--dew) 40%, transparent); animation-delay: -0.4s; }
.breath span { position: relative; font-weight: 800; font-size: 15px; color: var(--ink); }
@keyframes breathe { 0%, 100% { transform: scale(0.62); } 45%, 55% { transform: scale(1); } }
@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile.wide, .tile.half { grid-column: span 2; }
  .tile.third { grid-column: span 1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .tile.wide, .tile.half, .tile.third { grid-column: span 1; }
  .tile.side { flex-direction: column; }
  .tile.side .shot { align-self: center; margin: 0 0 -76px; }
}

/* ---------- friends marquee ---------- */
.friends { overflow: hidden; }
.marquee { margin-top: 48px; display: flex; gap: 22px; width: max-content; animation: marquee 48s linear infinite; padding: 12px 0 24px; }
.marquee:hover { animation-play-state: paused; }
.friend-card { width: 170px; flex: none; text-align: center; padding: 18px 12px 16px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow-soft); }
.friend-card img { width: 112px; height: 112px; object-fit: contain; margin: 0 auto 10px; transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.friend-card:hover img { transform: translateY(-6px) scale(1.06) rotate(-3deg); }
.friend-card b { font-size: 15px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- film ---------- */
.film .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.film-card { position: relative; justify-self: center; width: min(340px, 100%); aspect-ratio: 9 / 16; border-radius: 36px; overflow: hidden;
  box-shadow: var(--shadow); background: #000; }
.film-card video { width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; inset: 0; display: grid; place-items: center; border: 0; background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35));
  cursor: pointer; color: #fff; font: inherit; transition: opacity 0.3s; }
.play .btn { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 34px;
  background: rgba(255, 255, 255, 0.24); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.6); transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
.play:hover .btn { transform: scale(1.08); }
.play .lbl { position: absolute; bottom: 22px; font-weight: 750; font-size: 15px; display: flex; gap: 6px; align-items: center; }
.film-card.playing .play { opacity: 0; pointer-events: none; }
@media (max-width: 860px) { .film .wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; } .film .sub { margin-inline: auto; } }

/* ---------- privacy ---------- */
.trio { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.promise { padding: 30px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-soft); }
.promise .badge { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; font-size: 30px;
  background: color-mix(in srgb, var(--rust) 13%, transparent); color: var(--rust); }
.promise h3 { font-size: 22px; margin: 20px 0 8px; }
.promise p { color: var(--ink-soft); font-size: 16.5px; }
.privacy-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 30px; font-weight: 750; text-decoration: none; }
.privacy-link:hover { text-decoration: underline; }
@media (max-width: 1060px) { .trio { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .trio { grid-template-columns: 1fr; } }

/* ---------- premium ---------- */
.premium h2 em { font-style: normal; color: var(--rust); }
.premium-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; margin-top: 52px; align-items: start; }
.reasons { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plans { position: sticky; top: 100px; padding: 30px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px; }
.plan { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px;
  border-radius: 22px; background: var(--card-soft); border: 2px solid transparent; }
.plan.best { border-color: var(--rust); background: color-mix(in srgb, var(--rust) 8%, var(--card)); margin-top: 10px; }
.plan b { display: block; font-size: 18px; }
.plan small { display: block; color: var(--ink-soft); font-size: 14px; font-weight: 650; }
.plan .price { text-align: right; }
.plan .price b { font-size: 24px; }
.plan .save { position: absolute; top: -12px; left: 18px; padding: 3px 10px; border-radius: 99px; background: var(--rust); color: #fff;
  font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; }
.plans .trial { display: flex; align-items: center; gap: 8px; margin: 6px 0 4px; font-weight: 750; }
.plans .trial .ic { color: var(--bamboo); }
.plans .appstore { align-self: center; }
.plan-fine { color: var(--ink-soft); font-size: 13.5px; line-height: 1.5; text-align: center; }
@media (max-width: 960px) { .premium-grid { grid-template-columns: 1fr; } .plans { position: static; } }
@media (max-width: 600px) { .reasons { grid-template-columns: 1fr; } }

/* ---------- final cta ---------- */
.final { padding: 40px 0 120px; }
.final .card { position: relative; isolation: isolate; overflow: hidden; border-radius: 44px; padding: 72px 56px 0; text-align: center;
  background: url(/assets/img/bg-valley_evening.webp) center 70% / cover; color: #4A2E25; box-shadow: var(--shadow); }
.final .card::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(255, 241, 230, 0.88), rgba(255, 241, 230, 0.55) 55%, rgba(255, 241, 230, 0.1)); }
.final h2 { font-size: clamp(34px, 4.8vw, 58px); }
.final p { font-size: 19px; color: #6E4F42; margin: 14px auto 30px; max-width: 40ch; }
.final .momo { width: 300px; margin: 36px auto -6px; animation: bob 6s ease-in-out infinite; }
@media (max-width: 600px) { .final .card { padding: 52px 22px 0; border-radius: 34px; } .final .momo { width: 230px; } }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; color: var(--ink-soft); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 36px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; }
footer a { color: var(--ink-soft); text-decoration: none; font-weight: 650; }
footer a:hover { color: var(--ink); }
footer .brand { font-size: 17px; }
footer .brand img { width: 30px; height: 30px; border-radius: 8px; }
footer .fine { width: 100%; font-size: 13px; }
@media (max-width: 600px) { footer nav { margin-left: 0; } }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px) scale(0.98); transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
.hero .intro > * { animation: rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.hero .stage { animation: rise 1.1s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(26px) scale(0.98); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .leaves { display: none; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- about page ---------- */
.story-hero { padding-bottom: 72px; }
.story-hero .stage { height: auto; width: 100%; }
.scene { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); isolation: isolate; }
.scene .bg { width: 100%; height: 100%; object-fit: cover; }
.scene .pet { height: auto; position: absolute; left: 50%; bottom: 4%; width: 40%; transform: translateX(-50%); animation: bob 6s ease-in-out infinite; }
.scene .friend { height: auto; position: absolute; width: 18%; animation: bob 7s ease-in-out infinite; }
.scene .f1 { left: 8%; bottom: 8%; animation-delay: -2s; }
.scene .f2 { right: 10%; top: 14%; width: 14%; animation-delay: -4s; }
.story-hero .scene { aspect-ratio: 4 / 5; max-width: 480px; margin-inline: auto; }
.story-hero .scene .pet { width: 62%; bottom: 2%; }

.chapter { padding: 72px 0; }
.chapter .wrap { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; }
.chapter.flip .art { order: 2; }
.chapter .sub + .sub { margin-top: 14px; }
.chapter .art .scene { aspect-ratio: 3 / 2; }
.chapter:not(.flip) .scene .pet { width: 30%; bottom: 6%; }
.chapter.flip .art .scene { aspect-ratio: 4 / 5; max-width: 460px; margin-inline: auto; }
.chapter.flip .scene .pet { left: auto; right: 4%; bottom: 0; width: 46%; transform: none; }
.portrait { position: relative; display: grid; place-items: center; max-width: 440px; margin-inline: auto; aspect-ratio: 1; }
.portrait::before { content: ""; position: absolute; inset: 6%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle at 35% 30%, var(--blob-1), var(--blob-3) 60%, var(--blob-2)); }
.portrait img { width: 86%; height: auto; animation: bob 6s ease-in-out infinite; }
.chapter .say { position: relative; display: inline-block; margin-top: 26px; padding: 12px 18px; border-radius: 20px 20px 20px 6px;
  background: var(--card); box-shadow: var(--shadow-soft); font-weight: 750; font-size: 16px; max-width: 34ch; }

.grow { padding: 72px 0; }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; align-items: end; }
.stage-card { margin: 0; padding: 22px 16px 18px; border-radius: 28px; background: var(--card); box-shadow: var(--shadow-soft); text-align: center;
  display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; }
.stage-card img { margin: 0 auto 12px; width: 62%; height: auto; }
.stage-card:nth-child(2) img { width: 72%; }
.stage-card:nth-child(3) img { width: 84%; }
.stage-card:nth-child(4) img { width: 96%; }
.stage-card figcaption { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 16px; }
.stage-card figcaption span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px;
  background: color-mix(in srgb, var(--rust) 16%, transparent); color: var(--rust); }

.places-section { padding: 0 0 72px; }
.places-note { color: var(--ink-soft); font-weight: 700; margin-bottom: 28px; }
.places { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.postcard { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: 22px; background: var(--card); box-shadow: var(--shadow-soft); }
.postcard img { width: 56px; height: auto; flex: none; transform: rotate(-4deg); }
.postcard:nth-child(even) img { transform: rotate(3deg); }
.postcard h3 { font-size: 16px; margin-bottom: 4px; }
.postcard p { font-size: 15px; line-height: 1.45; color: var(--ink-soft); }

.about-friends { padding: 72px 0; }
.friend-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 48px; }
.friend-grid .friend-card { width: auto; }
.friend-grid .friend-card img { width: 88px; height: 88px; }
.friend-grid .friend-card b { display: block; line-height: 1.25; }

@media (max-width: 960px) {
  .places { grid-template-columns: repeat(2, 1fr); }
  .friend-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .chapter { padding: 48px 0; }
  .chapter .wrap { grid-template-columns: 1fr; gap: 36px; }
  .chapter.flip .art { order: 0; }
  .portrait { max-width: 320px; }
  .stages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .places { grid-template-columns: 1fr; }
  .friend-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .friend-grid .friend-card { padding: 14px 6px 12px; border-radius: 22px; }
  .friend-grid .friend-card img { width: 64px; height: 64px; }
  .friend-grid .friend-card b { font-size: 13px; }
}

/* ---------- time out ---------- */
.timeout .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.nook { position: relative; aspect-ratio: 4 / 5; max-height: 560px; width: 100%; border-radius: 40px; overflow: hidden;
  box-shadow: var(--shadow); isolation: isolate; }
.nook .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: bottom; }
.nook .tree { position: absolute; left: 4%; bottom: 10%; width: 58%; height: auto; transform-origin: 50% 100%;
  animation: sway 7s ease-in-out infinite; }
.nook .momo { position: absolute; right: 6%; bottom: 8%; width: 42%; height: auto; opacity: 0; transform: translateX(40%);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s; }
.nook .say { position: absolute; left: 8%; right: 8%; top: 7%; padding: 12px 18px; border-radius: 20px; background: var(--card);
  color: var(--ink); font-weight: 700; font-size: 16px; text-align: center; box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(12px) scale(0.92); transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s; }
.nook .left { position: absolute; left: 50%; bottom: 3.5%; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: 999px; background: color-mix(in srgb, var(--card) 88%, transparent); color: var(--ink-soft);
  font-weight: 700; font-size: 14px; transform: translateX(-50%); box-shadow: var(--shadow-soft); }
.nook .left .ic { color: var(--bamboo); font-size: 18px; }
.nook.run .momo { opacity: 1; transform: none; transition-delay: 0.3s; }
.nook.run .say { opacity: 1; transform: none; transition-delay: 1.5s; }
@keyframes sway { 50% { transform: rotate(0.8deg); } }
@media (max-width: 860px) {
  .timeout .wrap { grid-template-columns: 1fr; gap: 40px; }
  .nook { max-width: 460px; margin-inline: auto; }
}
