/* ============================================================
   PiccoLumi marketing site: MEET LUMI
   The onboarding conversation, raised to a full page.
   Fonts: Fraunces (display) + Instrument Sans (text). No italics.
   Palette: the app's V3 accents around a warm cream.
   ============================================================ */

:root{
  --bg:#FDFAF6;
  --ink:#232733; --ink2:#5A5E6B; --ink3:#98A0AD;
  --card:#FFFFFF; --hairline:rgba(35,39,51,.08); --recessed:#F4F0E9;
  --lav:#7E72B8; --sky:#5E9AC6; --sage:#6FA083; --peach:#E0915A;
  --rose:#CC7C9C; --gold:#D8AE63; --social:#C77B7B;
  --gold-deep:#B08A3E; --gold-bright:#E6C489;
  --sans:"Instrument Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --serif:"Fraunces",Georgia,serif;
  --ease:cubic-bezier(.22,.61,.21,1);
}

*{ box-sizing:border-box; -webkit-tap-highlight-color:transparent; }
html{ scroll-behavior:smooth; }
html,body{ margin:0; }
body{
  font-family:var(--sans); color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
a{ color:inherit; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* ---------- ambient ---------- */
.wash{
  position:fixed; inset:0; z-index:-2; pointer-events:none;
  background:
    radial-gradient(52% 44% at 82% 0%, rgba(216,174,99,.14) 0%, rgba(216,174,99,0) 100%),
    radial-gradient(46% 42% at 4% 28%, rgba(126,114,184,.10) 0%, rgba(126,114,184,0) 100%),
    radial-gradient(50% 40% at 92% 78%, rgba(111,160,131,.08) 0%, rgba(111,160,131,0) 100%),
    var(--bg);
}
.grain{
  position:fixed; inset:0; z-index:60; pointer-events:none; opacity:.045; mix-blend-mode:multiply;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- reveal system ---------- */
[data-reveal] > *{ opacity:0; transform:translateY(16px);
  transition:opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay:var(--d,0ms); }
[data-reveal].in > *{ opacity:1; transform:none; }
[data-reveal].instant > *{ transition:none !important; }

/* ---------- nav ---------- */
.nav{
  position:fixed; top:14px; left:50%; transform:translateX(-50%); z-index:40;
  width:min(1080px, calc(100% - 28px));
  display:flex; align-items:center; gap:26px;
  padding:10px 12px 10px 20px; border-radius:999px;
  background:rgba(253,250,246,.72); border:1px solid var(--hairline);
  backdrop-filter:blur(18px) saturate(1.25); -webkit-backdrop-filter:blur(18px) saturate(1.25);
  box-shadow:0 6px 30px rgba(35,39,51,.07);
}
.wordmark{ font-family:var(--serif); font-weight:500; font-size:20px; letter-spacing:-.3px;
  text-decoration:none; margin-right:auto; }
.nav-links{ display:flex; gap:22px; }
.nav-links a{ text-decoration:none; font-size:13.5px; font-weight:600; color:var(--ink2); transition:color .25s ease; }
.nav-links a:hover{ color:var(--ink); }
.nav-cta{
  text-decoration:none; font-size:13.5px; font-weight:700;
  padding:10px 19px; border-radius:999px; color:#fff;
  background:linear-gradient(140deg, var(--gold), var(--gold-deep));
  box-shadow:0 4px 16px rgba(176,138,62,.32);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.nav-cta:hover{ transform:translateY(-1px); box-shadow:0 8px 22px rgba(176,138,62,.42); }

/* right-hand cluster: language picker + waitlist CTA */
.nav-end{ display:flex; align-items:center; gap:12px; }
.lang-switch{ display:flex; align-items:center; }
.lang-select{
  appearance:none; -webkit-appearance:none;
  font-family:inherit; font-size:13px; font-weight:600; color:var(--ink2);
  padding:7px 26px 7px 12px; border-radius:999px; cursor:pointer;
  background:rgba(35,39,51,.04); border:1px solid var(--hairline);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23788' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 9px center;
  transition:color .25s ease, border-color .25s ease, background-color .25s ease;
}
.lang-select:hover{ color:var(--ink); border-color:rgba(35,39,51,.2); }
.lang-select:focus-visible{ outline:2px solid var(--gold); outline-offset:1px; }

/* right-to-left languages (Arabic): mirror layout, flip the picker chevron */
html[dir="rtl"] .wordmark{ margin-right:0; margin-left:auto; }
html[dir="rtl"] .lang-select{
  padding:7px 12px 7px 26px;
  background-position:left 9px center;
}
html[dir="rtl"] .hero-copy,
html[dir="rtl"] .scene-head,
html[dir="rtl"] .footer{ text-align:right; }
html[dir="rtl"] .footer{ text-align:center; }
html[dir="rtl"] .line.parent{ margin-left:0; margin-right:auto; }
html[dir="rtl"] .line.lumi{ margin-right:0; margin-left:auto; }

/* ---------- hero ---------- */
.hero{ padding:138px 0 16px; }
.hero-grid{
  width:min(1120px, calc(100% - 48px)); margin:0 auto;
  display:grid; grid-template-columns:minmax(0, 1fr) minmax(400px, 470px);
  gap:64px; align-items:center;
}
.eyebrow{
  font-size:12px; font-weight:700; letter-spacing:2.6px; text-transform:uppercase;
  color:var(--gold-deep); margin:0 0 20px;
}
.hero h1{
  font-family:var(--serif); font-weight:420; font-variation-settings:"opsz" 100;
  letter-spacing:-1.8px; line-height:1.02;
  font-size:clamp(46px, 5.4vw, 78px); margin:0; color:var(--ink);
}
.hero-sub{ font-size:16.5px; line-height:1.68; color:var(--ink2); max-width:46ch; margin:22px 0 28px; }
.hero-actions{ display:flex; align-items:center; gap:14px; flex-wrap:wrap; }
.btn-primary{
  text-decoration:none; font-weight:700; font-size:15px; color:#fff;
  padding:14px 27px; border-radius:999px;
  background:linear-gradient(140deg, var(--gold), var(--gold-deep));
  box-shadow:0 8px 26px rgba(176,138,62,.32);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 34px rgba(176,138,62,.42); }
.btn-ghost{
  text-decoration:none; font-weight:600; font-size:14.5px; color:var(--ink2);
  padding:13px 22px; border-radius:999px; border:1px solid rgba(35,39,51,.16);
  transition:border-color .25s ease, color .25s ease, transform .25s var(--ease);
}
.btn-ghost:hover{ border-color:var(--gold-deep); color:var(--gold-deep); transform:translateY(-1px); }

/* ---------- the conversation ---------- */
.chat-card{
  background:var(--card); border:1px solid var(--hairline); border-radius:26px;
  box-shadow:0 30px 70px -28px rgba(35,39,51,.28);
  display:flex; flex-direction:column; overflow:hidden;
}
.chat-head{
  display:flex; flex-direction:column; align-items:center; gap:0;
  padding:18px 20px 10px; border-bottom:1px solid rgba(35,39,51,.06);
}
.lumi-canvas{ display:block; flex:0 0 auto; }
.chat-head .lumi-canvas{ margin:-6px 0 -8px; }
/* name on top, the subtext stacked under it (not on the same line) */
.chat-head-names{ display:flex; flex-direction:column; align-items:center; gap:1px; }
.chat-name{ font-family:var(--serif); font-weight:500; font-size:19px; letter-spacing:-.2px; }
.chat-status{ font-size:11.5px; font-weight:600; letter-spacing:.6px; color:var(--ink3); }

/* The card grows with the conversation instead of trapping answers in a
   short inner scroller, so nothing hides behind an inner scrollbar. */
.chat-scroll{
  height:auto; min-height:96px; padding:16px 18px 2px;
}
.chat-lines{ display:flex; flex-direction:column; gap:12px; }

.line{ max-width:88%; opacity:0; transform:translateY(12px);
  transition:opacity .5s var(--ease), transform .5s var(--ease); }
.line.shown{ opacity:1; transform:none; }
.line.parent{ align-self:flex-end; }
.line.parent .bubble{
  background:var(--recessed); border:1px solid var(--hairline);
  padding:11px 15px; border-radius:17px 17px 5px 17px;
  font-size:14px; line-height:1.55; color:var(--ink);
}
.line.lumi{ align-self:flex-start; width:88%; }
.line.lumi .bubble{
  background:linear-gradient(160deg, #FFFDF8 0%, #FBF4E6 130%);
  border:1px solid rgba(216,174,99,.32);
  padding:13px 16px; border-radius:5px 17px 17px 17px;
  font-size:14px; line-height:1.6; color:var(--ink2);
}
.line.lumi .bubble strong{ color:var(--ink); font-weight:700; }
.line.typing .bubble{ display:inline-flex; gap:5px; padding:13px 15px;
  background:linear-gradient(160deg, #FFFDF8 0%, #FBF4E6 130%); border:1px solid rgba(216,174,99,.32);
  border-radius:5px 17px 17px 17px; }
.line.typing i{ width:6px; height:6px; border-radius:50%; background:var(--gold-deep); opacity:.6;
  animation:typing 1.2s ease-in-out infinite; }
.line.typing i:nth-child(2){ animation-delay:.15s }
.line.typing i:nth-child(3){ animation-delay:.3s }
@keyframes typing{ 0%,60%,100%{ transform:translateY(0); opacity:.35 } 30%{ transform:translateY(-4px); opacity:.9 } }

/* the faithful feature preview inside Lumi's answer (as in onboarding) */
.preview{
  position:relative; margin-top:8px; padding:13px 13px 12px;
  background:rgba(255,255,255,.94); border:1px solid rgba(35,39,51,.07); border-radius:16px;
}
.preview .ptag{
  position:absolute; top:8px; right:8px;
  font-size:8px; font-weight:700; letter-spacing:1px; color:var(--ink3);
  padding:3px 7px; border-radius:999px; background:rgba(35,39,51,.045);
}
.pv-head{ display:flex; align-items:center; gap:6px; margin-bottom:7px; }
.pv-head .pdot{ width:12px; height:12px; border-radius:50%; }
.pv-head span{ font-size:11px; font-weight:700; }
.pv-title{ font-size:13px; font-weight:600; color:var(--ink); margin:0 0 7px; }
.pv-pills{ display:flex; gap:6px; flex-wrap:wrap; }
.pv-pill{ font-size:10px; font-weight:700; padding:4px 9px; border-radius:999px; }
.pv-grid2{ display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.pv-tile{ display:flex; align-items:center; gap:6px; padding:6px 7px; border-radius:10px;
  background:rgba(35,39,51,.035); font-size:11px; font-weight:600; color:var(--ink); }
.pv-ico{ width:21px; height:21px; border-radius:7px; display:grid; place-items:center; flex:0 0 auto; }
.pv-ico svg{ width:11px; height:11px; color:#fff; }
.pv-cap{ font-size:9.5px; color:var(--ink3); margin:7px 0 0; }
.pv-rows{ display:flex; flex-direction:column; gap:6px; }
.pv-row{ display:flex; align-items:center; gap:8px; }
.pv-row .pv-ico{ width:24px; height:24px; border-radius:8px; }
.pv-row .pv-ico svg{ width:12px; height:12px; }
.pv-row-name{ font-size:11.5px; font-weight:600; color:var(--ink); line-height:1.25; }
.pv-row-tag{ font-size:9.5px; font-weight:700; }
.pv-chip{ display:flex; align-items:center; gap:5px; padding:6px 8px; border-radius:9px;
  font-size:10px; font-weight:600; color:var(--ink); }
.pv-chip svg{ width:11px; height:11px; }
.pv-player{ display:flex; align-items:center; gap:8px; margin-top:7px; }
.pv-play{ width:22px; height:22px; border-radius:50%; background:var(--lav); display:grid; place-items:center; flex:0 0 auto; }
.pv-play svg{ width:9px; height:9px; color:#fff; }
.pv-track{ flex:1; height:4px; border-radius:2px; background:rgba(126,114,184,.22); position:relative; overflow:hidden; }
.pv-track::after{ content:""; position:absolute; left:0; top:0; bottom:0; width:36%; border-radius:2px; background:var(--lav); }
.pv-time{ font-size:9px; font-weight:700; color:var(--ink3); }
.pv-bars{ display:flex; flex-direction:column; gap:5px; }
.pv-bar{ display:flex; align-items:center; gap:6px; }
.pv-bar span{ font-size:9px; color:var(--ink3); width:52px; flex:0 0 auto; }
.pv-bar .track{ flex:1; height:5px; border-radius:3px; background:rgba(35,39,51,.06); overflow:hidden; }
.pv-bar .fill{ display:block; height:100%; border-radius:3px; width:0;
  transition:width 1s var(--ease); transition-delay:var(--bd,0ms); }
.preview.shown .pv-bar .fill{ width:var(--w); }
.pv-fam-head{ display:flex; align-items:center; gap:7px; margin-bottom:8px; }
.pv-avs{ display:flex; }
.pv-av{ width:20px; height:20px; border-radius:50%; display:grid; place-items:center;
  font-size:9px; font-weight:700; color:#fff; border:1.5px solid #fff; }
.pv-av + .pv-av{ margin-left:-7px; }
.pv-fam-head span{ font-size:11px; font-weight:600; color:var(--ink); }
.pv-lanes{ display:grid; grid-template-columns:1fr 1fr 1fr; gap:6px; }
.pv-lane{ text-align:center; font-size:9.5px; font-weight:700; color:var(--sky);
  padding:6px 4px; border-radius:8px; background:rgba(94,154,198,.1); }

/* question chips live inside the conversation, right under the last line */
.chat-chips{
  display:flex; flex-wrap:wrap; gap:7px;
  padding:10px 0 14px;
}
/* lines grow open so new messages push the chips down smoothly */
.line{ overflow:hidden; }
/* "Tap a question" nudge above the chips: it should be obvious they are
   tappable, so it gets its own row, a pulsing dot, and it disappears once
   the visitor taps their first question. */
.chip-hint{
  flex-basis:100%; width:100%; margin:0 0 3px;
  display:flex; align-items:center; gap:7px;
  font-size:12.5px; font-weight:700; letter-spacing:.2px; color:var(--gold-deep);
  opacity:0; transform:translateY(6px);
  transition:opacity .5s var(--ease), transform .5s var(--ease);
}
.chip-hint.shown{ opacity:1; transform:none; }
.chip-hint-dot{ width:7px; height:7px; border-radius:50%; background:var(--gold-deep);
  animation:hintPulse 1.4s ease-in-out infinite; }
.chat-chips.tapped .chip-hint{ display:none; }
@keyframes hintPulse{ 0%,100%{ transform:scale(.65); opacity:.45 } 50%{ transform:scale(1.15); opacity:1 } }

.chip{
  display:inline-flex; align-items:center; gap:7px;
  font-family:var(--sans); font-size:12.5px; font-weight:600; color:var(--ink);
  padding:8px 14px; border-radius:999px; cursor:pointer;
  background:color-mix(in srgb, var(--acc, var(--gold-deep)) 8%, #fff);
  border:1.5px solid color-mix(in srgb, var(--acc, var(--gold-deep)) 34%, transparent);
  transition:all .25s var(--ease);
  opacity:0; transform:translateY(8px);
}
.chip.shown{ opacity:1; transform:none; }
/* gentle attention pulse until the first tap, then it settles */
.chat-chips.inviting .chip.shown{ animation:chipInvite 2.4s var(--ease) infinite; }
@keyframes chipInvite{
  0%,100%{ box-shadow:0 0 0 0 color-mix(in srgb, var(--acc, var(--gold-deep)) 22%, transparent); }
  50%{ box-shadow:0 0 0 5px color-mix(in srgb, var(--acc, var(--gold-deep)) 0%, transparent); }
}
.chip svg{ width:12px; height:12px; color:var(--acc, var(--gold-deep)); }
.chip:hover{ border-color:var(--acc, var(--gold-deep)); color:var(--ink);
  background:color-mix(in srgb, var(--acc, var(--gold-deep)) 14%, #fff); transform:translateY(-1px); }
.chip.asked{ opacity:.45; pointer-events:none; animation:none; }
.chip.asked::after{ content:"✓"; font-size:10px; color:var(--sage); }
.chip[disabled]{ pointer-events:none; }

/* ---------- sections ---------- */
.measure{ width:min(720px, calc(100% - 48px)); margin-left:auto; margin-right:auto; }
.scene{ padding:64px 0; }
.scene-head{ text-align:center; margin-bottom:34px; }
.lab{ font-size:12px; font-weight:700; letter-spacing:2.6px; text-transform:uppercase;
  color:var(--gold-deep); margin:0 0 14px; }
.scene h2{ font-family:var(--serif); font-weight:420; font-variation-settings:"opsz" 90;
  letter-spacing:-1.2px; line-height:1.08;
  font-size:clamp(32px, 3.8vw, 50px); margin:0; color:var(--ink); }
.scene-sub{ font-size:16px; line-height:1.7; color:var(--ink2); max-width:52ch; margin:16px auto 0; }
/* a tasteful, breathing "tap a tile" nudge so the flip is discoverable */
.grid-hint{ font-size:13px; font-weight:700; color:var(--gold-deep); margin:18px auto 0;
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 16px 7px 13px; border-radius:999px;
  background:color-mix(in srgb, var(--gold-deep) 9%, transparent);
  animation:hintBreathe 2.4s ease-in-out infinite; }
.grid-hint::before{ content:""; width:8px; height:8px; border-radius:50%;
  background:var(--gold-deep); animation:hintPulse 1.4s ease-in-out infinite; }
@keyframes hintBreathe{ 0%,100%{ opacity:.62 } 50%{ opacity:1 } }
.grid-hint .hint-mobile{ display:none; }
@media (hover:none){
  .grid-hint .hint-desktop{ display:none; }
  .grid-hint .hint-mobile{ display:inline; }
}
/* the early-access header keeps only its label, worn as the title */
.access .scene-head h2{
  font-family:var(--sans); font-size:15px; font-weight:700;
  letter-spacing:2.8px; text-transform:uppercase; color:var(--gold-deep);
}

/* ---------- feature grid: tiles that flip into live demos ---------- */
.feature-grid{
  width:min(1120px, calc(100% - 48px)); margin:0 auto;
  display:grid; grid-template-columns:repeat(auto-fill, minmax(205px, 1fr)); gap:14px;
}
.fcard{
  position:relative; height:240px; perspective:1200px;
  z-index:1; outline:none; cursor:pointer;
}
.fcard.flipped{ z-index:12; }
.fcard-inner{
  position:relative; width:100%; height:100%;
  transform-style:preserve-3d;
  transition:transform .65s var(--ease);
}
.fcard.flipped .fcard-inner{ transform:translateX(var(--nudge, 0px)) rotateY(180deg) scale(1.32); }
.face{
  position:absolute; inset:0; border-radius:20px; overflow:hidden;
  background:var(--card); border:1px solid var(--hairline);
  backface-visibility:hidden; -webkit-backface-visibility:hidden;
}
.face.front{ padding:22px 20px 20px;
  transition:border-color .35s ease, box-shadow .35s ease; }
.fcard:hover .face.front, .fcard:focus-visible .face.front{
  border-color:color-mix(in srgb, var(--acc) 45%, transparent);
  box-shadow:0 18px 44px -22px color-mix(in srgb, var(--acc) 55%, rgba(35,39,51,.4));
}
.face.back{ transform:rotateY(180deg);
  border-color:color-mix(in srgb, var(--acc) 40%, transparent);
  box-shadow:0 26px 60px -24px color-mix(in srgb, var(--acc) 55%, rgba(35,39,51,.45)); }
.fcard .fico{
  width:36px; height:36px; border-radius:11px; display:grid; place-items:center;
  background:color-mix(in srgb, var(--acc) 14%, #fff); margin-bottom:14px;
}
.fcard .fico svg{ width:17px; height:17px; color:var(--acc); }
.fcard h3{ font-family:var(--serif); font-weight:480; font-size:19px; letter-spacing:-.3px; margin:0 0 6px; color:var(--ink); }
.fcard p{ font-size:13px; line-height:1.55; color:var(--ink2); margin:0; }
.peek{
  position:absolute; top:14px; right:14px; width:22px; height:22px; border-radius:50%;
  display:grid; place-items:center;
  background:color-mix(in srgb, var(--acc) 12%, #fff);
  border:1px solid color-mix(in srgb, var(--acc) 30%, transparent);
  animation:peekPulse 2.6s ease-in-out infinite;
}
/* a soft expanding ring keeps hinting the tile is tappable; it settles on hover */
@keyframes peekPulse{
  0%{ box-shadow:0 0 0 0 color-mix(in srgb, var(--acc) 34%, transparent); }
  70%,100%{ box-shadow:0 0 0 8px color-mix(in srgb, var(--acc) 0%, transparent); }
}
.fcard:hover .peek, .fcard:focus-visible .peek{ animation:none; }
.peek svg{ width:8px; height:8px; color:var(--acc); margin-left:1px; }

/* ---------- the demos (5-8s loops of real app actions) ---------- */
.demo{ position:absolute; inset:0; padding:13px 14px 12px; display:flex; flex-direction:column;
  background:linear-gradient(170deg, #FFFEFB 0%, #FAF6EE 130%); }
.demo-lab{ display:flex; align-items:center; justify-content:space-between;
  font-size:8.5px; font-weight:700; letter-spacing:1.6px; text-transform:uppercase;
  color:var(--ink3); margin-bottom:9px; }
.demo-lab .rec{ width:6px; height:6px; border-radius:50%; background:var(--acc, var(--gold-deep)); }
.demo.play .demo-lab .rec{ animation:recBlink 1.6s ease-in-out infinite; }
@keyframes recBlink{ 0%,100%{ opacity:.35 } 50%{ opacity:1 } }
.stage{ position:relative; flex:1; }

/* 1 · LumiCast: the tile changes state as the day moves */
.dlc-state{ position:absolute; inset:0; border-radius:14px; padding:12px 13px;
  border:1px solid var(--hairline); opacity:0; }
.dlc-lab{ font-size:8px; font-weight:700; letter-spacing:1.4px; text-transform:uppercase; color:var(--ink3); }
.dlc-time{ font-family:var(--serif); font-weight:420; font-size:34px; letter-spacing:-1.5px; margin:6px 0 4px; color:var(--ink); }
.dlc-sub{ font-size:10.5px; color:var(--ink2); }
.dlc-awake{ background:linear-gradient(150deg, #fff, #EEF1FA); }
.dlc-gold{ background:linear-gradient(150deg, #FFFBF2, #F3E3C2); border-color:rgba(216,174,99,.5); }
.dlc-gold .dlc-lab{ color:var(--gold-deep); }
.dlc-night{ background:linear-gradient(155deg, #2B2F55, #1F2244); border-color:rgba(255,255,255,.14); }
.dlc-night .dlc-lab{ color:rgba(255,250,242,.45); }
.dlc-night .dlc-time{ color:rgba(255,250,242,.95); }
.dlc-night .dlc-sub{ color:rgba(255,250,242,.55); }
.dlc-night .star{ position:absolute; width:2px; height:2px; border-radius:50%; background:#fff; opacity:.7; }
.demo.play .dlc-awake{ animation:dlcA 7.5s infinite; }
.demo.play .dlc-gold{ animation:dlcB 7.5s infinite; }
.demo.play .dlc-night{ animation:dlcC 7.5s infinite; }
@keyframes dlcA{ 0%,30%{ opacity:1 } 36%,100%{ opacity:0 } }
@keyframes dlcB{ 0%,30%{ opacity:0 } 36%,60%{ opacity:1 } 66%,100%{ opacity:0 } }
@keyframes dlcC{ 0%,60%{ opacity:0 } 66%,94%{ opacity:1 } 100%{ opacity:0 } }

/* 2 · Tracker: the bottle fills as you press, like the app */
.dtr-grid{ display:grid; grid-template-columns:1fr 1fr; gap:6px; }
.dtr-tile{ display:flex; align-items:center; gap:6px; padding:7px 8px; border-radius:10px;
  background:rgba(35,39,51,.035); font-size:10.5px; font-weight:600; color:var(--ink); }
.dtr-tile .pv-ico{ width:20px; height:20px; border-radius:7px; }
.demo.play .dtr-bottle{ animation:dtrPress 7s infinite; }
@keyframes dtrPress{ 0%,6%{ transform:scale(1); box-shadow:none }
  9%{ transform:scale(.93); box-shadow:0 0 0 3px rgba(123,179,199,.35) }
  12%,100%{ transform:scale(1); box-shadow:none } }
.dtr-sheet{ position:absolute; left:0; right:0; bottom:0; border-radius:12px;
  background:#fff; border:1px solid var(--hairline); box-shadow:0 -8px 24px rgba(35,39,51,.12);
  padding:8px 11px 9px; transform:translateY(120%); }
.dtr-sheet .t{ font-size:9px; font-weight:700; letter-spacing:1.2px; text-transform:uppercase; color:#7BB3C7; }
.demo.play .dtr-sheet{ animation:dtrSheet 7s infinite; }
@keyframes dtrSheet{ 0%,10%{ transform:translateY(120%) } 15%,52%{ transform:translateY(0) } 58%,100%{ transform:translateY(120%) } }
.dtr-srow{ display:flex; align-items:center; gap:11px; margin-top:5px; }
.dtr-bot{ position:relative; width:24px; height:42px; flex:0 0 auto; }
.dtr-teat{ position:absolute; top:0; left:50%; transform:translateX(-50%); width:9px; height:6px;
  background:#EFC9A6; border-radius:3px 3px 1px 1px; }
.dtr-collar{ position:absolute; top:5px; left:50%; transform:translateX(-50%); width:15px; height:4px;
  background:#7BB3C7; border-radius:2px; }
.dtr-body{ position:absolute; top:9px; left:0; right:0; bottom:0; overflow:hidden;
  border:1.5px solid rgba(35,39,51,.25); border-radius:5px 5px 8px 8px; background:#FDFDFC; }
.dtr-milk{ position:absolute; left:0; right:0; bottom:0; height:0;
  background:linear-gradient(180deg, #F3FAFD, #CFE7F0); }
.demo.play .dtr-milk{ animation:dtrMilk 7s infinite; }
@keyframes dtrMilk{ 0%,19%{ height:0 } 23%{ height:32% } 26%{ height:29% } 30%{ height:30% }
  33%{ height:63% } 36%{ height:58% } 40%{ height:60% }
  43%{ height:93% } 46%{ height:87% } 49%,94%{ height:90% } 100%{ height:0 } }
.dtr-amts{ position:relative; flex:1; height:28px; }
.dtr-amt{ position:absolute; left:0; top:0; font-family:var(--serif); font-weight:450; font-size:21px;
  color:var(--ink); opacity:0; white-space:nowrap; }
.dtr-amt span{ font-family:var(--sans); font-size:10px; font-weight:600; color:var(--ink3); }
.demo.play .dtr-a1{ animation:dtrA1 7s infinite; }
.demo.play .dtr-a2{ animation:dtrA2 7s infinite; }
.demo.play .dtr-a3{ animation:dtrA3 7s infinite; }
@keyframes dtrA1{ 0%,20%{ opacity:0 } 22%,31%{ opacity:1 } 33%,100%{ opacity:0 } }
@keyframes dtrA2{ 0%,31%{ opacity:0 } 33%,41%{ opacity:1 } 43%,100%{ opacity:0 } }
@keyframes dtrA3{ 0%,41%{ opacity:0 } 43%,56%{ opacity:1 } 58%,100%{ opacity:0 } }
.dtr-plus{ width:24px; height:24px; border-radius:50%; background:#7BB3C7; color:#fff;
  display:grid; place-items:center; font-size:14px; font-weight:700; flex:0 0 auto; }
.demo.play .dtr-plus{ animation:dtrPlus 7s infinite; }
@keyframes dtrPlus{ 0%,18%{ transform:scale(1) } 20%{ transform:scale(.78) } 23%{ transform:scale(1) }
  30%{ transform:scale(.78) } 33%{ transform:scale(1) } 40%{ transform:scale(.78) } 43%,100%{ transform:scale(1) } }
.dtr-toast{ position:absolute; left:0; right:0; top:-2px; display:flex; align-items:center; gap:6px;
  background:#fff; border:1px solid rgba(111,160,131,.4); border-radius:10px; padding:7px 9px;
  font-size:10.5px; font-weight:600; color:var(--ink); opacity:0; }
.dtr-toast .ck{ width:15px; height:15px; border-radius:50%; background:var(--sage); color:#fff;
  display:grid; place-items:center; font-size:9px; }
.demo.play .dtr-toast{ animation:dtrToast 7s infinite; }
@keyframes dtrToast{ 0%,58%{ opacity:0; transform:translateY(-6px) } 64%,90%{ opacity:1; transform:none } 96%,100%{ opacity:0 } }

/* 3 · Lumi Chat: a grounded answer arrives (dots overlay the answer slot,
   so there is never a hole between question and reply) */
.dch-q{ align-self:flex-end; max-width:88%; background:var(--recessed); border:1px solid var(--hairline);
  border-radius:12px 12px 4px 12px; padding:7px 10px; font-size:10.5px; color:var(--ink); opacity:0; }
.dch-slot{ position:relative; margin-top:8px; }
.dch-dots{ position:absolute; top:0; left:0; display:inline-flex; gap:4px; padding:9px 10px;
  background:#FBF4E6; border:1px solid rgba(216,174,99,.32); border-radius:4px 12px 12px 12px; opacity:0; }
.dch-dots i{ width:5px; height:5px; border-radius:50%; background:var(--gold-deep); }
.demo.play .dch-dots i{ animation:typing 1.1s ease-in-out infinite; }
.dch-a{ max-width:94%; background:#FFFDF8;
  border:1px solid rgba(216,174,99,.32); border-radius:4px 12px 12px 12px; padding:8px 10px;
  font-size:10.5px; line-height:1.5; color:var(--ink2); opacity:0; }
.dch-a strong{ color:var(--ink); }
.dch-pill{ display:inline-block; margin-top:5px; font-size:7.5px; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; color:var(--gold-deep); background:rgba(216,174,99,.14);
  border:1px solid rgba(216,174,99,.3); border-radius:999px; padding:2px 7px; }
.dch-wrap{ display:flex; flex-direction:column; }
.demo.play .dch-q{ animation:dchQ 6.5s infinite; }
.demo.play .dch-dots{ animation:dchD 6.5s infinite; }
.demo.play .dch-a{ animation:dchA 6.5s infinite; }
@keyframes dchQ{ 0%{ opacity:0; transform:translateY(6px) } 6%,92%{ opacity:1; transform:none } 98%,100%{ opacity:0 } }
@keyframes dchD{ 0%,12%{ opacity:0 } 16%,38%{ opacity:1 } 42%,100%{ opacity:0 } }
@keyframes dchA{ 0%,42%{ opacity:0; transform:translateY(6px) } 48%,92%{ opacity:1; transform:none } 98%,100%{ opacity:0 } }

/* 4 · Activities: the real cards with the real artwork, swiped like the app */
.dac-card{ position:absolute; inset:2px 0 auto 0; border-radius:12px; background:#fff;
  border:1px solid var(--hairline); overflow:hidden; box-shadow:0 8px 20px rgba(35,39,51,.12); }
.dac-card img{ display:block; width:100%; height:76px; object-fit:cover; }
.dac-meta{ display:flex; align-items:center; justify-content:space-between; gap:6px; padding:7px 10px 8px; }
.dac-name{ font-size:11px; font-weight:600; color:var(--ink); white-space:nowrap; }
.dac-tag{ font-size:8.5px; font-weight:700; padding:2px 7px; border-radius:999px; flex:0 0 auto; }
.dac-done{ position:absolute; top:6px; right:6px; display:flex; align-items:center; gap:4px;
  font-size:8.5px; font-weight:700; color:var(--sage); background:rgba(255,255,255,.94);
  border-radius:999px; padding:3px 8px; opacity:0; }
.dac-done .ck{ width:13px; height:13px; border-radius:50%; background:var(--sage); color:#fff;
  display:grid; place-items:center; font-size:8px; }
.dac-1{ z-index:2; }
.dac-2{ z-index:1; transform:translateY(12px) scale(.94); opacity:.7; }
.demo.play .dac-1{ animation:dacOut 6.5s infinite; }
.demo.play .dac-1 .dac-done{ animation:dacDone 6.5s infinite; }
.demo.play .dac-2{ animation:dacUp 6.5s infinite; }
@keyframes dacDone{ 0%,20%{ opacity:0; transform:scale(.6) } 26%,100%{ opacity:1; transform:none } }
@keyframes dacOut{ 0%,44%{ transform:none; opacity:1 } 58%,100%{ transform:translateX(-130%) rotate(-6deg); opacity:0 } }
@keyframes dacUp{ 0%,46%{ transform:translateY(12px) scale(.94); opacity:.7 } 60%,100%{ transform:none; opacity:1 } }

/* 5 · Aurora: seven skills bloom, a milestone appears */
.dau-bars .pv-bar span{ width:44px; }
.demo.play .dau-bars .fill{ animation:dauFill 7s infinite; }
@keyframes dauFill{ 0%{ width:0 } 8%{ width:0 } 40%,92%{ width:var(--w) } 100%{ width:var(--w) } }
.dau-mile{ display:flex; align-items:center; gap:6px; margin-top:9px;
  background:rgba(216,174,99,.12); border:1px solid rgba(216,174,99,.35); border-radius:10px;
  padding:6px 9px; font-size:9.5px; font-weight:600; color:var(--ink); opacity:0; }
.dau-mile .sp{ color:var(--gold-deep); font-size:11px; }
.demo.play .dau-mile{ animation:dauMile 7s infinite; }
@keyframes dauMile{ 0%,50%{ opacity:0; transform:translateY(6px) } 58%,94%{ opacity:1; transform:none } 100%{ opacity:0 } }

/* 6 · Sounds: ink in water, like the app's vessel. One luminous bead
   descends, pierces the surface with a ripple, plunges, holds its
   breath, then bursts into billows that dissolve into the pool. */
.dso-row{ display:flex; gap:12px; align-items:center; height:100%; }
.dso-vessel{ position:relative; width:92px; height:92px; border-radius:50%; overflow:hidden;
  border:1px solid var(--hairline); background:#FBFAF7; flex:0 0 auto; align-self:center; }
.dso-pool{ position:absolute; left:-30%; width:160%; height:200%; border-radius:42%; top:105%; }
.dso-p1{ background:rgba(94,154,198,.45); }
.dso-p2{ background:rgba(204,124,156,.42); }
.demo.play .dso-p1{ animation:dsoPool1 7.5s infinite, dsoSpin 7s linear infinite; }
.demo.play .dso-p2{ animation:dsoPool2 7.5s infinite, dsoSpin 9s linear infinite reverse; }
@keyframes dsoSpin{ to{ transform:rotate(360deg) } }
@keyframes dsoPool1{ 0%,20%{ top:105% } 30%,92%{ top:60% } 100%{ top:105% } }
@keyframes dsoPool2{ 0%,58%{ top:105% } 68%,92%{ top:42% } 100%{ top:105% } }
.dso-bead{ position:absolute; width:7px; height:7px; margin-left:-3.5px; border-radius:50%;
  top:-10%; opacity:0; }
.dso-b1{ left:44%; background:var(--sky); }
.dso-b2{ left:60%; background:var(--rose); }
.demo.play .dso-b1{ animation:dsoBead1 7.5s infinite; }
.demo.play .dso-b2{ animation:dsoBead2 7.5s infinite; }
@keyframes dsoBead1{ 0%,3%{ top:-10%; opacity:0 } 5%{ opacity:1 }
  11%{ top:50%; opacity:1 } 16%{ top:72%; opacity:1 } 19%{ top:74%; opacity:1 } 20%,100%{ top:74%; opacity:0 } }
@keyframes dsoBead2{ 0%,41%{ top:-10%; opacity:0 } 43%{ opacity:1 }
  49%{ top:50%; opacity:1 } 54%{ top:72%; opacity:1 } 57%{ top:74%; opacity:1 } 58%,100%{ top:74%; opacity:0 } }
.dso-rip{ position:absolute; width:26px; height:10px; margin-left:-13px; border-radius:50%;
  border:1.5px solid; top:47%; opacity:0; }
.dso-r1{ left:44%; border-color:rgba(94,154,198,.7); }
.dso-r2{ left:60%; border-color:rgba(204,124,156,.7); }
.demo.play .dso-r1{ animation:dsoRip1 7.5s infinite; }
.demo.play .dso-r2{ animation:dsoRip2 7.5s infinite; }
@keyframes dsoRip1{ 0%,10%{ transform:scale(.2); opacity:0 } 12%{ opacity:.9 }
  20%{ transform:scale(1.7); opacity:0 } 100%{ opacity:0 } }
@keyframes dsoRip2{ 0%,48%{ transform:scale(.2); opacity:0 } 50%{ opacity:.9 }
  58%{ transform:scale(1.7); opacity:0 } 100%{ opacity:0 } }
.dso-burst{ position:absolute; width:36px; height:36px; margin:-18px 0 0 -18px; border-radius:50%;
  top:72%; opacity:0; filter:blur(1px); }
.dso-x1{ left:44%; background:radial-gradient(circle, rgba(94,154,198,.75), rgba(94,154,198,0) 70%); }
.dso-x2{ left:60%; background:radial-gradient(circle, rgba(204,124,156,.7), rgba(204,124,156,0) 70%); }
.demo.play .dso-x1{ animation:dsoBurst1 7.5s infinite; }
.demo.play .dso-x2{ animation:dsoBurst2 7.5s infinite; }
@keyframes dsoBurst1{ 0%,19%{ transform:scale(.1); opacity:0 } 21%{ opacity:1 }
  30%{ transform:scale(2.2); opacity:0 } 100%{ opacity:0 } }
@keyframes dsoBurst2{ 0%,57%{ transform:scale(.1); opacity:0 } 59%{ opacity:1 }
  68%{ transform:scale(2.2); opacity:0 } 100%{ opacity:0 } }
.dso-chips{ display:flex; flex-direction:column; gap:6px; flex:1; }
.dso-chip{ display:flex; align-items:center; gap:6px; padding:6px 8px; border-radius:9px;
  font-size:10px; font-weight:600; color:var(--ink); background:rgba(35,39,51,.035);
  border:1px solid transparent; }
.dso-chip .dot{ width:8px; height:8px; border-radius:50%; }
.demo.play .dso-c1{ animation:dsoSel1 7.5s infinite; }
.demo.play .dso-c2{ animation:dsoSel2 7.5s infinite; }
@keyframes dsoSel1{ 0%,4%{ background:rgba(35,39,51,.035); border-color:transparent }
  8%,92%{ background:rgba(94,154,198,.12); border-color:rgba(94,154,198,.45) } 100%{ background:rgba(35,39,51,.035) } }
@keyframes dsoSel2{ 0%,42%{ background:rgba(35,39,51,.035); border-color:transparent }
  46%,92%{ background:rgba(204,124,156,.12); border-color:rgba(204,124,156,.45) } 100%{ background:rgba(35,39,51,.035) } }
.dso-timer{ font-size:8.5px; font-weight:700; letter-spacing:1px; color:var(--ink3);
  text-align:center; margin-top:4px; }

/* 7 · Family: a log lands on every phone */
.dfa-devices{ display:flex; align-items:center; gap:8px; }
.dfa-chip{ display:flex; align-items:center; gap:5px; font-size:9.5px; font-weight:700; color:var(--ink2);
  padding:5px 9px 5px 5px; border-radius:999px; background:rgba(35,39,51,.04); }
.dfa-av{ width:16px; height:16px; border-radius:50%; display:grid; place-items:center;
  font-size:7.5px; font-weight:700; color:#fff; }
.dfa-wire{ flex:1; height:1px; background:rgba(35,39,51,.14); position:relative; }
.dfa-pulse{ position:absolute; top:-2.5px; left:0; width:6px; height:6px; border-radius:50%;
  background:var(--gold); box-shadow:0 0 8px rgba(216,174,99,.8); opacity:0; }
.demo.play .dfa-p1{ animation:dfaP1 6.5s infinite; }
.demo.play .dfa-p2{ animation:dfaP2 6.5s infinite; }
@keyframes dfaP1{ 0%,6%{ left:0; opacity:0 } 10%{ opacity:1 } 22%{ left:calc(100% - 6px); opacity:1 } 26%,100%{ left:calc(100% - 6px); opacity:0 } }
@keyframes dfaP2{ 0%,48%{ left:calc(100% - 6px); opacity:0 } 52%{ opacity:1 } 64%{ left:0; opacity:1 } 68%,100%{ left:0; opacity:0 } }
.dfa-row{ display:flex; align-items:center; gap:6px; margin-top:8px; padding:7px 9px;
  border-radius:10px; background:#fff; border:1px solid var(--hairline);
  font-size:10px; color:var(--ink2); opacity:0; }
.dfa-row b{ color:var(--ink); font-weight:700; }
.dfa-row .st{ margin-left:auto; font-size:8.5px; color:var(--ink3); }
.demo.play .dfa-r1{ animation:dfaR1 6.5s infinite; }
.demo.play .dfa-r2{ animation:dfaR2 6.5s infinite; }
@keyframes dfaR1{ 0%,24%{ opacity:0; transform:translateY(6px) } 30%,92%{ opacity:1; transform:none } 98%,100%{ opacity:0 } }
@keyframes dfaR2{ 0%,66%{ opacity:0; transform:translateY(6px) } 72%,92%{ opacity:1; transform:none } 98%,100%{ opacity:0 } }

/* 8 · Tasks: check one off, one arrives for you */
.dta-lanes{ display:flex; gap:5px; margin-bottom:8px; }
.dta-lane{ flex:1; text-align:center; font-size:8px; font-weight:700; letter-spacing:.6px;
  color:var(--sky); background:rgba(94,154,198,.1); border-radius:7px; padding:4px 2px; }
.dta-row{ display:flex; align-items:center; gap:7px; padding:7px 9px; border-radius:10px;
  background:#fff; border:1px solid var(--hairline); font-size:10.5px; color:var(--ink);
  margin-bottom:6px; position:relative; }
.dta-box{ width:14px; height:14px; border-radius:5px; border:1.5px solid rgba(35,39,51,.25);
  display:grid; place-items:center; color:#fff; font-size:8px; flex:0 0 auto; }
.demo.play .dta-r1 .dta-box{ animation:dtaCheck 6.5s infinite; }
.demo.play .dta-r1 .dta-name{ animation:dtaStrike 6.5s infinite; }
@keyframes dtaCheck{ 0%,24%{ background:transparent; border-color:rgba(35,39,51,.25) }
  30%,100%{ background:var(--sage); border-color:var(--sage) } }
@keyframes dtaStrike{ 0%,24%{ opacity:1 } 30%,100%{ opacity:.45; text-decoration:line-through } }
.dta-r1 .dta-box::after{ content:"✓"; opacity:0; }
.demo.play .dta-r1 .dta-box::after{ animation:dtaTick 6.5s infinite; }
@keyframes dtaTick{ 0%,26%{ opacity:0 } 32%,100%{ opacity:1 } }
.dta-r2{ opacity:0; }
.demo.play .dta-r2{ animation:dtaNew 6.5s infinite; }
@keyframes dtaNew{ 0%,52%{ opacity:0; transform:translateY(8px) } 60%,94%{ opacity:1; transform:none } 100%{ opacity:0 } }
.dta-who{ margin-left:auto; display:flex; align-items:center; gap:4px; font-size:8px;
  font-weight:700; color:var(--rose); }

/* 9 · Vault: the note is filed, the lock closes */
.dva-note{ position:absolute; left:14%; right:14%; top:2px; border-radius:10px;
  background:#fff; border:1px solid var(--hairline); box-shadow:0 6px 16px rgba(35,39,51,.1);
  padding:8px 10px; font-size:10px; color:var(--ink); z-index:2; }
.dva-note .d{ font-size:8.5px; color:var(--ink3); margin-top:2px; }
.demo.play .dva-note{ animation:dvaFile 6.5s infinite; }
@keyframes dvaFile{ 0%,14%{ transform:translateY(0); opacity:1 }
  40%{ transform:translateY(46px) scale(.82); opacity:.9 }
  46%,100%{ transform:translateY(52px) scale(.7); opacity:0 } }
.dva-folder{ position:absolute; left:8%; right:8%; bottom:14px; height:52px; z-index:3; }
.dva-folder .tab{ position:absolute; top:-8px; left:0; width:36%; height:14px;
  border-radius:6px 6px 0 0; background:color-mix(in srgb, var(--lav) 28%, #fff); }
.dva-folder .body{ position:absolute; inset:0; border-radius:8px 10px 10px 10px;
  background:color-mix(in srgb, var(--lav) 20%, #fff);
  border:1px solid color-mix(in srgb, var(--lav) 35%, transparent);
  display:grid; place-items:center; }
/* the shackle hangs open, then drops in and clicks shut */
.dva-lock{ position:relative; width:18px; height:14px; border-radius:4px; background:var(--lav); margin-top:6px; }
.demo.play .dva-lock{ animation:dvaBody 6.5s infinite; }
@keyframes dvaBody{ 0%,52%{ transform:none } 55%{ transform:scale(1.14) } 59%,100%{ transform:none } }
.dva-lock::before{ content:""; position:absolute; left:3px; top:-8px; width:12px; height:12px;
  border:2.5px solid var(--lav); border-bottom:none; border-radius:7px 7px 0 0;
  transform-origin:bottom left; transform:translate(3px,-4px) rotate(28deg); }
.demo.play .dva-lock::before{ animation:dvaShackle 6.5s infinite; }
@keyframes dvaShackle{ 0%,40%{ transform:translate(3px,-4px) rotate(28deg) }
  48%{ transform:translate(0,-2px) rotate(5deg) }
  52%,100%{ transform:translate(0,0) rotate(0deg) } }
.dva-click{ position:absolute; left:50%; top:50%; width:28px; height:28px; margin:-14px 0 0 -14px;
  border-radius:50%; border:2px solid var(--gold); opacity:0; pointer-events:none; }
.demo.play .dva-click{ animation:dvaClick 6.5s infinite; }
@keyframes dvaClick{ 0%,51%{ transform:scale(.3); opacity:0 } 54%{ opacity:.9 }
  64%{ transform:scale(1.8); opacity:0 } 100%{ opacity:0 } }
.dva-cap{ position:absolute; left:0; right:0; bottom:-3px; text-align:center;
  font-size:8.5px; font-weight:700; letter-spacing:.8px; color:var(--ink3); opacity:0; }
.demo.play .dva-cap{ animation:dvaCap 6.5s infinite; }
@keyframes dvaCap{ 0%,54%{ opacity:0 } 62%,94%{ opacity:1 } 100%{ opacity:0 } }

/* 10 · Care: a supply runs low, a tap restocks it */
.dca-row{ margin-bottom:10px; }
.dca-head{ display:flex; justify-content:space-between; font-size:10px; font-weight:600;
  color:var(--ink); margin-bottom:5px; }
.dca-head .n{ font-size:8.5px; color:var(--ink3); font-weight:700; }
.dca-track{ height:7px; border-radius:4px; background:rgba(35,39,51,.06); overflow:hidden; }
.dca-fill{ display:block; height:100%; border-radius:4px; background:var(--sage); width:78%; }
.demo.play .dca-f1{ animation:dcaDrain 7s infinite; }
@keyframes dcaDrain{ 0%,6%{ width:78%; background:var(--sage) }
  30%{ width:12%; background:var(--peach) }
  54%{ width:12%; background:var(--peach) }
  74%,94%{ width:95%; background:var(--sage) } 100%{ width:78%; background:var(--sage) } }
.dca-low{ display:inline-flex; align-items:center; gap:5px; margin-top:2px;
  font-size:9px; font-weight:700; color:var(--peach);
  background:rgba(224,145,90,.12); border:1px solid rgba(224,145,90,.4);
  border-radius:999px; padding:3px 8px; opacity:0; }
.demo.play .dca-low{ animation:dcaLow 7s infinite; }
@keyframes dcaLow{ 0%,28%{ opacity:0 } 34%,52%{ opacity:1 } 58%,100%{ opacity:0 } }
.dca-restock{ display:inline-flex; align-items:center; gap:5px; margin-top:2px;
  font-size:9px; font-weight:700; color:var(--sage);
  background:rgba(111,160,131,.12); border:1px solid rgba(111,160,131,.4);
  border-radius:999px; padding:3px 8px; opacity:0; position:absolute; }
.demo.play .dca-restock{ animation:dcaRe 7s infinite; }
@keyframes dcaRe{ 0%,58%{ opacity:0 } 66%,92%{ opacity:1 } 98%,100%{ opacity:0 } }

/* ---------- waitlist ---------- */
#features{ padding-bottom:36px; }
.access{ padding:36px 0 84px; }
.waitlist{
  width:min(470px, calc(100% - 48px)); margin:0 auto;
  display:flex; gap:10px;
}
.waitlist input{
  flex:1; min-width:0; font-family:var(--sans); font-size:14.5px; color:var(--ink);
  background:#fff; border:1px solid rgba(35,39,51,.16);
  border-radius:999px; padding:14px 20px; outline:none;
  transition:border-color .3s ease, box-shadow .3s ease;
}
.waitlist input::placeholder{ color:var(--ink3); }
.waitlist input:focus{ border-color:var(--gold-deep); box-shadow:0 0 0 4px rgba(216,174,99,.16); }
.waitlist input[aria-invalid="true"]{ border-color:var(--social); }
.waitlist button{
  font-family:var(--sans); font-size:14.5px; font-weight:700; color:#fff; cursor:pointer;
  background:linear-gradient(140deg, var(--gold), var(--gold-deep));
  border:none; border-radius:999px; padding:14px 26px; white-space:nowrap;
  box-shadow:0 8px 24px rgba(176,138,62,.3);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), opacity .25s ease;
}
.waitlist button:hover{ transform:translateY(-1px); box-shadow:0 12px 30px rgba(176,138,62,.4); }
.waitlist button[disabled]{ opacity:.6; cursor:default; transform:none; }
.wl-msg{ text-align:center; font-size:13.5px; line-height:1.6; color:var(--ink2);
  width:min(470px, calc(100% - 48px)); margin:16px auto 0; min-height:1em; }
.wl-msg a{ color:var(--gold-deep); }
.wl-msg.err{ color:#B4573B; }
/* button spinner while joining */
.wl-spin{ display:none; width:15px; height:15px; border-radius:50%;
  border:2px solid rgba(255,255,255,.4); border-top-color:#fff;
  animation:wlSpin .7s linear infinite; }
@keyframes wlSpin{ to{ transform:rotate(360deg) } }
.waitlist button.busy .wl-btn-label{ opacity:.75; }
.waitlist button.busy .wl-spin{ display:inline-block; }
.waitlist button{ display:inline-flex; align-items:center; justify-content:center; gap:8px; }
/* the success moment: the form gives way to Lumi, who blooms and falls in love.
   The stage keeps its height, and she appears exactly where the form was. */
.wl-stage{ position:relative; min-height:252px; }
.waitlist.leaving{ opacity:0; transform:scale(.97);
  transition:opacity .45s var(--ease), transform .45s var(--ease); pointer-events:none; }
.wl-success{ position:absolute; left:0; right:0; top:-24px; text-align:center; }
.wl-success .lumi-canvas{ margin:0 auto; }
.wl-done{ display:block; text-align:center; font-family:var(--serif); font-weight:480;
  font-size:26px; letter-spacing:-.4px; color:var(--ink); margin:10px auto 0;
  opacity:0; transform:translateY(10px);
  transition:opacity .7s var(--ease), transform .7s var(--ease); }
.wl-sub{ text-align:center; font-size:13.5px; color:var(--ink2); margin:8px auto 0;
  opacity:0; transform:translateY(8px);
  transition:opacity .7s var(--ease) .15s, transform .7s var(--ease) .15s; }
.wl-success.told .wl-done, .wl-success.told .wl-sub{ opacity:1; transform:none; }

/* ---------- footer ---------- */
.footer{ text-align:center; padding:44px 24px 40px; border-top:1px solid var(--hairline); }
.foot-name{ font-family:var(--serif); font-weight:500; font-size:24px; letter-spacing:-.4px; margin:0; }
.foot-tag{ font-size:13px; color:var(--ink3); margin:7px 0 22px; }
.foot-links{ display:flex; justify-content:center; gap:24px; margin-bottom:20px; }
.foot-links a{ font-size:13px; font-weight:600; color:var(--ink2); text-decoration:none; transition:color .3s ease; }
.foot-links a:hover{ color:var(--gold-deep); }
.foot-fine{ font-size:11.5px; color:var(--ink3); margin:0; }

/* ---------- responsive ---------- */
@media (max-width:980px){
  .nav{ gap:12px; padding:8px 8px 8px 16px; }
  .nav-links{ display:none; }
  /* keep the nav on one line: compact the picker and the CTA */
  .nav-end{ gap:8px; }
  .lang-select{ padding:6px 22px 6px 9px; font-size:12px; background-position:right 7px center; }
  html[dir="rtl"] .lang-select{ padding:6px 9px 6px 22px; background-position:left 7px center; }
  .nav-cta{ padding:9px 14px; font-size:12.5px; }
  .hero{ padding:108px 0 4px; }
  .hero-grid{ grid-template-columns:1fr; gap:30px; }
  .hero-actions{ gap:10px; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost{
    flex:1; text-align:center; padding:13px 10px; font-size:14px; white-space:nowrap; }
  .chat-wrap{ max-width:520px; }
  .chat-head{ padding:14px 16px 8px; }
  .scene{ padding:40px 0; }
  .scene-head{ margin-bottom:20px; }
  .scene-sub{ font-size:14.5px; margin-top:12px; }
  #features{ padding-bottom:24px; }
  .access{ padding:24px 0 64px; }
  /* small tiles, two per row: eight or nine in view at once */
  .feature-grid{ grid-template-columns:1fr 1fr; gap:8px; width:calc(100% - 28px); }
  .fcard{ height:172px; }
  .face{ border-radius:16px; }
  .face.front{ padding:13px 12px 11px; }
  .fcard .fico{ width:26px; height:26px; border-radius:8px; margin-bottom:8px; }
  .fcard .fico svg{ width:13px; height:13px; }
  .fcard h3{ font-size:14px; margin-bottom:3px; }
  .fcard p{ font-size:10.5px; line-height:1.4;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
  .peek{ top:9px; right:9px; width:18px; height:18px; }
  .peek svg{ width:7px; height:7px; }
  /* the flipped tile grows but stays fully on screen (--nudge keeps it off the edges) */
  .fcard.flipped .fcard-inner{ transform:translateX(var(--nudge, 0px)) rotateY(180deg) scale(1.3); }
  .demo{ padding:9px 10px 8px; }
  .demo-lab{ font-size:7.5px; margin-bottom:6px; letter-spacing:1px; }
  /* compact demos so every state fits the small face */
  .dlc-state{ padding:9px 10px; }
  .dlc-time{ font-size:25px; margin:4px 0 3px; }
  .dlc-sub{ font-size:9px; }
  .dtr-tile{ padding:5px 6px; font-size:9px; }
  .dtr-tile .pv-ico{ width:16px; height:16px; border-radius:5px; }
  .dtr-sheet{ padding:6px 9px 7px; }
  .dtr-bot{ width:19px; height:33px; }
  .dtr-amt{ font-size:15px; }
  .dtr-plus{ width:20px; height:20px; font-size:12px; }
  .dtr-toast{ font-size:9px; padding:5px 7px; }
  .dch-q, .dch-a{ font-size:9.5px; }
  .dac-card img{ height:56px; }
  .dac-meta{ padding:5px 8px 6px; }
  .dac-name{ font-size:9.5px; }
  .pv-bars .pv-bar span, .dau-bars .pv-bar span{ width:36px; font-size:8px; }
  .dau-mile{ font-size:8.5px; padding:5px 7px; margin-top:6px; }
  .dso-vessel{ width:62px; height:62px; }
  .dso-chip{ font-size:8.5px; padding:4px 6px; }
  .dso-timer{ font-size:7px; }
  .dfa-row{ font-size:9px; padding:6px 8px; margin-top:6px; }
  .dta-row{ font-size:9.5px; padding:6px 8px; margin-bottom:5px; }
  .dta-lane{ font-size:7px; }
  .dva-note{ font-size:9px; padding:6px 8px; }
  .dva-note .d{ font-size:7.5px; }
  .dva-folder{ height:44px; bottom:12px; }
  .dca-head{ font-size:9px; }
  .dca-row{ margin-bottom:8px; }
  .waitlist{ flex-direction:column; }
}

/* On phones the nav only has room for the wordmark and the language
   picker; the waitlist CTA (whose text runs long in several languages)
   is hidden here since the hero and Early access sections both carry it. */
@media (max-width:600px){
  .nav{ padding:8px 14px; }
  .nav-cta{ display:none; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:.01ms !important; animation-iteration-count:1 !important; transition-duration:.15s !important; }
  [data-reveal] > *{ opacity:1; transform:none; }
  .line, .chip, .chip-hint{ opacity:1; transform:none; }
  .preview .pv-bar .fill{ width:var(--w); }
  .peek{ display:none; }
  .fcard{ cursor:default; }
}
