/* =====================================================================
   MAEVY — marketing site design system  ·  v2 "Dreamscape"
   Editorial serif display (Fraunces) + Plus Jakarta Sans.
   Dreamy pastel mesh, film grain, glass cards, bento grid.
   Palette pulled from the app artwork: lavender dusk → sunset peach.
   ===================================================================== */

:root {
  /* Brand */
  --lav-900: #3d3286;
  --lav-700: #5f4fd0;
  --lav:     #7d6fe3;
  --lav-400: #a99dff;
  --lav-300: #c3baff;
  --lav-200: #ded8ff;
  --lav-100: #edeaff;
  --lav-050: #f5f3ff;

  --peach:   #ffb488;
  --rose:    #ff9aaf;
  --butter:  #ffd98a;
  --mint:    #a9dcc4;
  --sky:     #a8b5ff;
  --mist:    #88d3dd;
  --warning: #f4a93c;

  /* Neutrals — warm cream, plum ink */
  --bg:       #faf8f4;
  --surface:  #ffffff;
  --ink:      #241f3d;
  --ink-soft: #453e63;
  --muted:    #736c92;
  --line:     rgba(80, 63, 145, .12);
  --line-strong: rgba(80, 63, 145, .2);

  /* Gradients */
  --grad-brand:  linear-gradient(115deg, #7d6fe3 0%, #a394f2 45%, #e8a4c5 78%, #ffb488 100%);
  --grad-cta:    linear-gradient(135deg, #8d7ff0 0%, #6d5ce0 100%);
  --grad-dusk:   linear-gradient(160deg, #cdc2f4 0%, #e3c9ec 48%, #ffd9bd 100%);
  --grad-night:  linear-gradient(155deg, #55509e 0%, #3b3776 55%, #2b2757 100%);

  /* Elevation */
  --sh-xs:  0 1px 2px rgba(61, 50, 134, .05);
  --sh-sm:  0 2px 6px rgba(61, 50, 134, .05), 0 8px 24px -12px rgba(61, 50, 134, .12);
  --sh-md:  0 3px 8px rgba(61, 50, 134, .05), 0 24px 48px -20px rgba(61, 50, 134, .22);
  --sh-lg:  0 6px 16px rgba(61, 50, 134, .06), 0 48px 96px -32px rgba(61, 50, 134, .34);
  --sh-glow: 0 12px 40px -10px rgba(125, 111, 227, .55);

  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 40px;
  --r-pill: 999px;

  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .44, 1);

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------------------------------------------------------------- base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  margin: 0;
}
h4 { margin: 0; line-height: 1.2; }
p { margin: 0; }
::selection { background: var(--lav-200); color: var(--lav-900); }

/* film grain over everything — the subtle "printed" feel */
body::after {
  content: '';
  position: fixed; inset: -50%;
  z-index: 2000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .032;
}

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

/* accent word inside display headlines */
.hl {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--lav-700);
  background: rgba(125, 111, 227, .1);
  border: 1px solid rgba(125, 111, 227, .18);
  padding: 8px 16px; border-radius: var(--r-pill);
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--grad-brand); flex: none;
}

/* section rhythm */
section { position: relative; }
.section { padding: 110px 0; }
.section-head { max-width: 680px; margin: 0 auto 64px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 50px); text-wrap: balance; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 18px; }

/* ------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 16px; padding: 15px 28px;
  border-radius: var(--r-pill);
  transition: transform .3s var(--spring), box-shadow .3s var(--ease), background .3s;
  white-space: nowrap; overflow: hidden;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: var(--sh-glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-primary::after { /* soft top shine */
  content: ''; position: absolute; inset: 0 0 55% 0;
  background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,0));
  border-radius: inherit; pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 50px -12px rgba(109, 92, 224, .65), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-ghost { background: var(--surface); color: var(--ink); box-shadow: var(--sh-sm); border: 1px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

/* store badges */
.stores { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.store-badge-img {
  height: 52px; width: auto; display: block; border-radius: 12px;
  transition: transform .3s var(--spring), filter .3s var(--ease), opacity .3s;
}
.stores a .store-badge-img { filter: grayscale(1); opacity: .45; }
.stores a.live .store-badge-img { filter: none; opacity: 1; box-shadow: 0 14px 30px -14px rgba(36, 31, 61, .5); }
.stores a.live:hover .store-badge-img { transform: translateY(-3px) scale(1.02); }
.stores a:not(.live) { pointer-events: none; cursor: default; }
.soon-note { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.soon-note .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--warning); box-shadow: 0 0 0 4px rgba(244, 169, 60, .16); flex: none; animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(244,169,60,.16); } 50% { box-shadow: 0 0 0 7px rgba(244,169,60,.07); } }

/* ------------------------------------------------------------- header */
.header {
  position: sticky; top: 0; z-index: 100;
  padding: 14px 0;
  transition: padding .35s var(--ease);
}
.header .nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 12px 0 20px;
  border-radius: var(--r-pill);
  background: rgba(250, 248, 244, .55);
  border: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.header.scrolled { padding: 10px 0; }
.header.scrolled .nav {
  background: rgba(255, 255, 255, .78);
  border-color: var(--line);
  box-shadow: 0 12px 40px -18px rgba(61, 50, 134, .28);
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; box-shadow: var(--sh-xs); }
.brand-word { height: 30px; width: auto; display: block; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  padding: 9px 15px; border-radius: var(--r-pill);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--lav-700); background: rgba(125, 111, 227, .08); }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* language toggle */
.lang {
  display: inline-flex; background: rgba(125, 111, 227, .08);
  border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 3px;
}
.lang button {
  font-size: 12.5px; font-weight: 800; color: var(--muted); letter-spacing: .02em;
  padding: 6px 12px; border-radius: var(--r-pill); transition: color .2s, background .25s, box-shadow .25s;
}
.lang button.active { background: #fff; color: var(--lav-700); box-shadow: var(--sh-sm); }

.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); align-items: center; justify-content: center; flex: none; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ''; display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s;
}
.menu-btn span::before { position: absolute; top: -5.5px; } .menu-btn span::after { position: absolute; top: 5.5px; }

/* --------------------------------------------------------------- hero */
.hero { padding: 56px 0 80px; overflow: visible; }
/* dreamy mesh behind the whole top of the page */
.hero-mesh {
  position: absolute; inset: -140px 0 -80px; z-index: -1; overflow: hidden; pointer-events: none;
}
.hero-mesh::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(46% 42% at 12% 10%, rgba(169, 157, 255, .34), transparent 70%),
    radial-gradient(38% 40% at 88% 6%,  rgba(136, 211, 221, .26), transparent 70%),
    radial-gradient(42% 46% at 78% 62%, rgba(255, 180, 136, .22), transparent 72%),
    radial-gradient(36% 40% at 30% 78%, rgba(255, 154, 175, .14), transparent 72%);
}
.hero-mesh::after { /* fade to page bg */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 180px;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 48px; align-items: center; }
.hero h1 {
  font-size: clamp(40px, 5.8vw, 72px);
  letter-spacing: -.03em;
  margin-top: 26px;
}
.hero h1 span { display: block; text-wrap: balance; }
.hero .lead {
  font-size: clamp(17px, 1.5vw, 19.5px); color: var(--ink-soft);
  margin-top: 26px; max-width: 500px; line-height: 1.7;
}
.hero-cta { display: flex; flex-direction: column; gap: 16px; margin-top: 38px; }

/* hero visual — phone in a soft aura with floating characters & glass cards */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 640px; }
.aura {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: var(--grad-dusk);
  filter: blur(56px); opacity: .8; z-index: 0;
  animation: breathe 9s ease-in-out infinite;
}
.aura::after {
  content: ''; position: absolute; inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 30%, rgba(255, 232, 200, .9), transparent 65%);
}
@keyframes breathe { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
/* dotted orbit ring */
.orbit {
  position: absolute; width: 560px; height: 560px; border-radius: 50%;
  border: 1.5px dashed rgba(125, 111, 227, .28);
  z-index: 1; animation: spin 90s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.float-mood {
  position: absolute; z-index: 5;
  filter: drop-shadow(0 16px 24px rgba(61, 50, 134, .25));
  animation: bob 7s var(--ease) infinite;
  will-change: transform;
}
.float-mood img { width: 100%; height: 100%; object-fit: contain; }
.fm-1 { top: 7%;  left: 4%;   width: 76px; height: 76px; animation-delay: -.4s; }
.fm-2 { top: 2%;  right: 10%; width: 62px; height: 62px; animation-delay: -1.8s; }
.fm-3 { bottom: 20%; left: 0;  width: 68px; height: 68px; animation-delay: -3s; }
.fm-4 { bottom: 5%; right: 6%; width: 80px; height: 80px; animation-delay: -4.2s; }
.fm-5 { top: 46%; right: -2%;  width: 56px; height: 56px; animation-delay: -2.4s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%      { transform: translateY(-18px) rotate(4deg); }
}

/* glass stat cards floating over the phone */
.float-card {
  position: absolute; z-index: 6;
  display: flex; align-items: center; gap: 11px;
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .95);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-radius: 18px; padding: 12px 18px 12px 12px;
  box-shadow: 0 20px 44px -16px rgba(61, 50, 134, .35);
  animation: bob-soft 8s var(--ease) infinite;
}
@keyframes bob-soft { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.float-card img { width: 38px; height: 38px; object-fit: contain; }
.float-card .fc-emoji { font-size: 26px; line-height: 1; }
.float-card b { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.float-card span { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); }
.fc-1 { top: 17%; left: -4%; animation-delay: -1.2s; }
.fc-2 { bottom: 13%; right: -3%; animation-delay: -3.6s; }

/* ------------------------------------------------------ phone device */
.device {
  position: relative; z-index: 4;
  width: 314px; border-radius: 56px;
  background: linear-gradient(160deg, #2b2545, #17132a 60%);
  padding: 12px;
  box-shadow:
    var(--sh-lg),
    0 0 0 1.5px rgba(255, 255, 255, .16) inset,
    0 80px 120px -50px rgba(61, 50, 134, .5);
  transform: rotate(-2.5deg);
  transition: transform .6s var(--ease);
}
.hero-visual:hover .device { transform: rotate(-1deg) translateY(-6px); }
.device::before { /* dynamic island */
  content: ''; position: absolute; top: 24px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #0e0b1c; border-radius: 999px; z-index: 7;
}
.screen {
  border-radius: 44px; overflow: hidden; background: #f6f4f0;
  height: 648px; position: relative;
}
.screen::after { /* glass glare */
  content: ''; position: absolute; inset: 0; z-index: 8; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 34%);
}

/* in-phone Today screen — faithful to lib/screens/today_screen.dart */
.app { height: 100%; display: flex; flex-direction: column; font-size: 13px; }
.app-status { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px 2px; font-size: 12px; font-weight: 700; color: var(--ink); }
.app-status .sig { display: flex; gap: 4px; align-items: center; }
.app-status .sig i { width: 4px; height: 9px; background: var(--ink); border-radius: 1px; display: inline-block; opacity: .85; }
.app-body { flex: 1; overflow: hidden; padding: 8px 18px 16px; }
.app-hd { display: flex; align-items: flex-start; justify-content: space-between; margin-top: 8px; }
.app-hd .hi { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.02em; line-height: 1.1; }
.app-hd .gr { font-size: 12px; color: var(--muted); margin-top: 3px; }
.app-inbox { width: 34px; height: 34px; border-radius: 12px; background: #fff; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft); flex: none; }
.app-aff { margin-top: 13px; border-radius: 16px; padding: 11px 14px; display: flex; gap: 9px; align-items: center;
  background: linear-gradient(135deg, #e7e3f6, #cfc7e8); }
.app-aff .q { font-size: 20px; font-weight: 800; color: #7a6bb0; line-height: 1; }
.app-aff .txt { font-size: 11px; font-style: italic; color: var(--ink); line-height: 1.35; }
.mcard { margin-top: 13px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 15px 12px 12px; }
.mcard .q { text-align: center; font-size: 15px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.mgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 13px; }
.mcell { border-radius: 15px; padding: 9px 3px 7px; text-align: center; }
.mcell img { width: 31px; height: 31px; margin: 0 auto; object-fit: contain; }
.mcell span { display: block; font-size: 8.5px; font-weight: 800; color: var(--ink); margin-top: 4px; }
.app-sec { font-size: 13px; font-weight: 800; color: var(--ink); margin: 16px 2px 8px; }
.rec-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 9px; display: flex; align-items: center; gap: 10px; }
.rec-art { width: 52px; height: 52px; border-radius: 15px; flex: none; display: flex; align-items: center; justify-content: center;
  font-size: 21px; background: linear-gradient(135deg, #5bc2b4, #2e9e91); }
.rec-txt { flex: 1; min-width: 0; }
.rec-txt .r-fmt { font-size: 9.5px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-txt .r-ttl { font-size: 13px; font-weight: 700; color: var(--ink); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-txt .r-rsn { font-size: 9.5px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-play2 { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.rec-play2::after { content: ''; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 2px; }

/* ------------------------------------------------- interactive demo */
#how .section-head { margin-bottom: 48px; }
.demo {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
}
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; }
.demo-left { padding: 52px 48px; }
.demo-left h3 { font-size: clamp(24px, 2.4vw, 31px); }
.demo-left p.sub { color: var(--muted); margin-top: 12px; font-size: 15.5px; }
.demo-moods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 30px; }
.dm {
  background: var(--bg); border: 2px solid transparent; border-radius: var(--r-md);
  padding: 14px 6px 10px; text-align: center;
  transition: transform .25s var(--spring), border-color .2s, background .2s, box-shadow .25s;
}
.dm img { width: 46px; height: 46px; object-fit: contain; margin: 0 auto; transition: transform .35s var(--spring); }
.dm span { display: block; font-size: 11.5px; font-weight: 700; color: var(--ink-soft); margin-top: 6px; }
.dm:hover { transform: translateY(-4px); }
.dm:hover img { transform: scale(1.14) rotate(-5deg); }
.dm.active { border-color: var(--lav); background: var(--lav-050); box-shadow: 0 14px 30px -16px rgba(125, 111, 227, .55); }
.demo-right {
  position: relative;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(169, 157, 255, .16), transparent 60%),
    radial-gradient(100% 80% at 0% 100%, rgba(255, 180, 136, .12), transparent 60%),
    var(--lav-050);
  border-left: 1px solid var(--line);
  padding: 52px 48px; display: flex; flex-direction: column; justify-content: center;
}
.demo-result { transition: opacity .35s, transform .35s; }
.demo-result.swap { opacity: 0; transform: translateY(10px); }
.dr-head { display: flex; gap: 16px; align-items: center; }
.dr-head img { width: 56px; height: 56px; object-fit: contain; flex: none; filter: drop-shadow(0 10px 18px rgba(61, 50, 134, .25)); }
.dr-tag { font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lav-700); }
.dr-line { font-size: clamp(19px, 1.8vw, 23px); font-weight: 800; letter-spacing: -.02em; margin-top: 6px; line-height: 1.25; }
.tones-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tone-chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700;
  color: var(--lav-900); background: var(--lav-100); border-radius: var(--r-pill); padding: 6px 14px; }
.tone-chip.soft { background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }
.dr-sub-label { font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 24px 0 12px; }
.dr-card {
  margin-top: 2px; background: var(--grad-cta); color: #fff;
  border-radius: var(--r-lg); padding: 22px 22px 20px;
  box-shadow: var(--sh-glow); position: relative; overflow: hidden;
}
.dr-card::before {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 217, 189, .5), transparent 70%);
  top: -110px; right: -60px;
}
.dr-card .k { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .85; position: relative; }
.dr-card .t { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin-top: 6px; position: relative; }
.dr-card .m { font-size: 13px; opacity: .9; margin-top: 4px; position: relative; }
.dr-card .pin { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px -8px rgba(0,0,0,.3); }
.dr-card .pin::after { content: ''; border-left: 14px solid var(--lav-700); border-top: 9px solid transparent; border-bottom: 9px solid transparent; margin-left: 3px; }
.dr-bundle { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.dr-item { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 15px; padding: 10px 14px; box-shadow: var(--sh-xs); }
.dr-item img { width: 30px; height: 30px; object-fit: contain; }
.dr-item .it { font-size: 13px; font-weight: 700; }
.dr-item .is { font-size: 11px; color: var(--muted); }

/* -------------------------------------------- compact feature chips */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 48px; }
.tile {
  position: relative;
  display: flex; align-items: center; gap: 13px;
  border-radius: 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform .35s var(--spring), box-shadow .35s var(--ease);
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.tile .fe { width: 38px; height: 38px; flex: none; object-fit: contain; transition: transform .4s var(--spring); }
.tile:hover .fe { transform: scale(1.14) rotate(-5deg); }
.tile > span { font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.3; letter-spacing: -.01em; }
.tile::before { /* pastel wash */
  content: ''; position: absolute; width: 110px; height: 110px; border-radius: 50%;
  top: -45px; right: -40px; opacity: .7; filter: blur(2px);
}
.tile:nth-child(8n+1)::before { background: radial-gradient(circle, var(--lav-200), transparent 70%); }
.tile:nth-child(8n+2)::before { background: radial-gradient(circle, #ffe4c9, transparent 70%); }
.tile:nth-child(8n+3)::before { background: radial-gradient(circle, #cdeee0, transparent 70%); }
.tile:nth-child(8n+4)::before { background: radial-gradient(circle, #ffd9e2, transparent 70%); }
.tile:nth-child(8n+5)::before { background: radial-gradient(circle, #d4e6ff, transparent 70%); }
.tile:nth-child(8n+6)::before { background: radial-gradient(circle, #ffeebc, transparent 70%); }
.tile:nth-child(8n+7)::before { background: radial-gradient(circle, #ddf2f4, transparent 70%); }
.tile:nth-child(8n+8)::before { background: radial-gradient(circle, var(--lav-100), transparent 70%); }
/* cascade the grid in, row by row */
.bento .tile.reveal:nth-child(4n+2) { transition-delay: .06s; }
.bento .tile.reveal:nth-child(4n+3) { transition-delay: .12s; }
.bento .tile.reveal:nth-child(4n)   { transition-delay: .18s; }

/* ---------------------------------------------------- feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; padding: 64px 0; }
.feature.flip .f-media { order: 2; }
.f-copy .eyebrow { margin-bottom: 22px; }
.f-copy h2 { font-size: clamp(28px, 3.5vw, 42px); text-wrap: balance; }
.f-copy p { color: var(--muted); font-size: 17.5px; margin-top: 18px; line-height: 1.7; max-width: 460px; }
.f-media { position: relative; }
.f-illus { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); transform: rotate(-1.2deg); transition: transform .5s var(--ease); }
.feature.flip .f-illus { transform: rotate(1.2deg); }
.f-media:hover .f-illus { transform: rotate(0deg) scale(1.015); }
.f-illus img { width: 100%; height: auto; display: block; }
.f-illus::after { /* inner glass edge */
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35);
  pointer-events: none;
}
/* little sticker floating on each illustration */
.f-sticker {
  position: absolute; z-index: 2; width: 72px; height: 72px;
  filter: drop-shadow(0 14px 22px rgba(61, 50, 134, .3));
  animation: bob 7s var(--ease) infinite;
}
.f-sticker.tl { top: -26px; left: -20px; }
.f-sticker.br { bottom: -24px; right: -16px; animation-delay: -3s; }

/* --------------------------------------- calm library panel (CSS art) */
.calm-panel {
  position: relative; width: 100%;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 100% at 85% 0%, rgba(169, 157, 255, .3), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(255, 180, 136, .14), transparent 60%),
    var(--grad-night);
  padding: 34px 32px 30px;
  box-shadow: var(--sh-lg);
  transform: rotate(-1.2deg);
  transition: transform .5s var(--ease);
  overflow: hidden;
}
.f-media:hover .calm-panel { transform: rotate(0deg) scale(1.015); }
.calm-panel::after { /* glass edge, like the illustrations */
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  pointer-events: none;
}
.cp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--r-pill); padding: 7px 15px 7px 9px;
  color: #efeaff; font-size: 12.5px; font-weight: 700;
}
.cp-chip img { width: 22px; height: 22px; object-fit: contain; }
.cp-player {
  margin-top: 24px; display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .97); border-radius: 20px; padding: 14px;
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, .55);
}
.cp-art {
  width: 58px; height: 58px; border-radius: 16px; flex: none;
  background: linear-gradient(135deg, #8d7ff0, #5f4fd0);
  display: flex; align-items: center; justify-content: center;
}
.cp-art img { width: 38px; height: 38px; object-fit: contain; }
.cp-txt { flex: 1; min-width: 0; }
.cp-txt b { display: block; font-size: 15.5px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.cp-txt span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.cp-play {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--grad-cta); box-shadow: var(--sh-glow);
  display: flex; align-items: center; justify-content: center;
}
.cp-play::after { content: ''; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.cp-bar { margin: 22px 4px 0; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .16); position: relative; }
.cp-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 34%; border-radius: 3px; background: linear-gradient(90deg, #a99dff, #d9d4ff); }
.cp-times { display: flex; justify-content: space-between; margin: 9px 4px 0; font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .6); }

/* -------------------------------------------------------------- FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.qa {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); margin-bottom: 14px; overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.qa.open { box-shadow: var(--sh-md); border-color: var(--line-strong); }
.qa button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px; text-align: left; font-size: 17px; font-weight: 700; color: var(--ink);
}
.qa .ic {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: var(--lav-100); color: var(--lav-700);
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 600;
  transition: transform .35s var(--spring), background .3s, color .3s;
}
.qa.open .ic { transform: rotate(45deg); background: var(--lav); color: #fff; }
.qa .ans { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.qa .ans p { padding: 0 26px 24px; color: var(--muted); font-size: 15.5px; line-height: 1.75; }

/* --------------------------------------------------------- final CTA */
.cta-band {
  position: relative; overflow: hidden;
  background:
    radial-gradient(90% 120% at 85% 100%, rgba(255, 195, 145, .55), transparent 55%),
    radial-gradient(80% 110% at 8% 0%, rgba(146, 130, 235, .5), transparent 58%),
    var(--grad-dusk);
  border-radius: 48px;
  padding: 96px 40px 90px;
  text-align: center;
  box-shadow: var(--sh-lg);
}
.cta-band::before { /* soft sun */
  content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 240, 214, .95), rgba(255, 214, 170, 0) 70%);
  bottom: -160px; left: 50%; transform: translateX(-50%);
}
.cta-band h2 { font-size: clamp(30px, 4.6vw, 52px); color: #2f2757; position: relative; text-wrap: balance; }
.cta-band p { color: #4a4173; font-size: 18px; margin-top: 18px; position: relative; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-band .stores { justify-content: center; margin-top: 34px; position: relative; }
.cta-band .soon-note { justify-content: center; margin-top: 18px; color: #5a517f; position: relative; }
.cta-floats { position: absolute; inset: 0; pointer-events: none; }
.cta-floats img { position: absolute; width: 62px; filter: drop-shadow(0 12px 20px rgba(47, 39, 87, .3)); animation: bob 8s var(--ease) infinite; }

/* ------------------------------------------------------------ footer */
.footer { padding: 72px 0 44px; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; }
.foot-bottom + .foot-bottom { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.foot-links { display: flex; gap: 6px 26px; flex-wrap: wrap; }
.foot-links a { font-size: 14px; font-weight: 600; color: var(--ink-soft); transition: color .2s; }
.foot-links a:hover { color: var(--lav-700); }
.foot-bottom p { font-size: 13px; color: var(--muted); }
.foot-bottom .made { display: inline-flex; align-items: center; gap: 6px; }
.footer .brand-word { height: 26px; }

/* --------------------------------------------------------- reveal fx */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .1s; }
.reveal[data-d="2"] { transition-delay: .2s; }
.reveal[data-d="3"] { transition-delay: .3s; }

/* -------------------------------------------------------- legal pages */
.legal { max-width: 740px; margin: 0 auto; padding: 56px 0 40px; }
.legal .back { display: inline-flex; align-items: center; gap: 6px; color: var(--lav-700); font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.legal h1 { font-size: clamp(32px, 4vw, 46px); }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 12px; }
.legal h2 { font-size: 23px; margin-top: 38px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; line-height: 1.75; margin-top: 12px; }
.legal ul { padding-left: 20px; margin-top: 6px; }
.legal a { color: var(--lav-700); font-weight: 600; }
.legal .note { background: var(--lav-050); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; font-size: 14px; color: var(--muted); margin-top: 24px; }

/* ------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .hero { padding: 32px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-cta { align-items: center; }
  .hero-badges { justify-content: center; }
  .stores { justify-content: center; }
  .soon-note { justify-content: center; }
  .hero-visual { min-height: 0; margin-top: 34px; transform: scale(.92); }
  .fc-1 { left: 2%; } .fc-2 { right: 2%; }

  .demo-grid { grid-template-columns: 1fr; }
  .demo-right { border-left: none; border-top: 1px solid var(--line); }

  .bento { grid-template-columns: repeat(2, 1fr); }

  .feature { grid-template-columns: 1fr; gap: 44px; padding: 44px 0; }
  .feature.flip .f-media { order: 0; }
  .f-copy p { max-width: none; }

  .nav-links { display: none; }
  .nav-right > .btn-primary { display: none; }
  .menu-btn { display: flex; }
  .header.open .nav { border-radius: 28px; }
  .header.open .nav-links {
    display: flex; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
    border: 1px solid var(--line); border-radius: 24px;
    padding: 12px; box-shadow: var(--sh-md);
  }
  .header.open .nav-links a { padding: 13px 16px; border-radius: 14px; }
  .header .wrap { position: relative; }
}
@media (max-width: 620px) {
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }
  .wrap { padding: 0 18px; }
  .hero h1 { font-size: clamp(38px, 11vw, 46px); }
  .hero-visual { transform: scale(.86); margin: 10px -20px 0; }
  .fm-3, .fm-5 { display: none; }
  .demo-left, .demo-right { padding: 34px 24px; }
  .demo-moods { gap: 9px; }
  .bento { grid-template-columns: 1fr; gap: 9px; }
  .tile { padding: 10px 14px; }
  .tile .fe { width: 34px; height: 34px; }
  .tile > span { font-size: 13.5px; }
  .cta-band { padding: 64px 22px; border-radius: 36px; }
  .cta-floats img { width: 46px; }
  .f-sticker { width: 56px; height: 56px; }
  .f-sticker.tl { top: -16px; left: -8px; }
  .f-sticker.br { bottom: -14px; right: -6px; }
  .foot-bottom { justify-content: center; text-align: center; }
  .foot-links { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
}
