/* website/assets/site.css */
:root {
  --space: #04030a;
  --space-2: #0b0918;
  --glass: rgba(16, 14, 30, 0.72);
  --glass-strong: rgba(20, 18, 38, 0.78);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-strong: rgba(255, 255, 255, 0.16);
  --coral: #ff6f61;
  --coral-soft: #ff9e8f;
  --coral-glow: rgba(255, 111, 97, 0.45);
  --coral-dim: rgba(255, 111, 97, 0.13);
  --violet: #8b7cff;
  --violet-glow: rgba(139, 124, 255, 0.4);
  --text: #f6f2ef;
  --text-2: #bdb5c8;
  --muted: #7f7893;
  --success: #4ade9c;
  --radius: 22px;
  --display: 'Unbounded', 'Manrope', sans-serif;
  --body: 'Manrope', ui-sans-serif, system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--space);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- the universe behind everything ---------- */
#cosmos {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  display: block;
  pointer-events: none;
}
/* Shown when WebGL isn't available: a still nebula instead of particles. */
.cosmos-fallback {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(40% 35% at 72% 38%, rgba(255, 111, 97, 0.28), transparent 70%),
    radial-gradient(45% 40% at 80% 55%, rgba(139, 124, 255, 0.22), transparent 70%),
    radial-gradient(1px 1px at 20% 30%, #fff8 50%, transparent 51%),
    radial-gradient(1px 1px at 60% 80%, #fff6 50%, transparent 51%),
    radial-gradient(1px 1px at 85% 15%, #fff7 50%, transparent 51%),
    var(--space);
  display: none;
}
.no-webgl .cosmos-fallback { display: block; }
.vignette {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, rgba(2, 1, 6, 0.75) 100%);
}
main, footer { position: relative; }

/* ---------- nav ---------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  transition: background 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
nav.scrolled {
  background: rgba(6, 5, 14, 0.92);
  border-bottom-color: var(--glass-border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 7px; display: block; }
.brand-word { font-family: var(--display); font-size: 16px; font-weight: 600; }
.brand-word span { color: var(--coral); }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-2); font-size: 14.5px; font-weight: 600; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--text);
  background: var(--coral-dim);
  border: 1px solid rgba(255, 111, 97, 0.35);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta:hover { background: rgba(255, 111, 97, 0.22); box-shadow: 0 0 24px -6px var(--coral-glow); }

/* ---------- layout ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.chapter { min-height: 100vh; padding: 140px 0; display: flex; align-items: center; }
.chapter > .wrap { width: 100%; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.copy { max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--coral-soft); margin-bottom: 22px; }
.eyebrow b { color: var(--muted); font-weight: 500; }
.eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 12px 2px var(--coral-glow);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot { 50% { box-shadow: 0 0 20px 6px var(--coral-glow); } }
.chapter h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.08; }
.lede { margin-top: 22px; color: var(--text-2); font-size: 18px; line-height: 1.7; max-width: 50ch; }
.glow-text {
  background: linear-gradient(100deg, #fff 0%, #ffd9cf 30%, var(--coral) 62%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.points { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 18px; }
.points li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; color: var(--text-2); font-size: 15.5px; }
.points li strong { color: var(--text); font-weight: 700; }
.points .ico {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--coral-dim);
  border: 1px solid rgba(255, 111, 97, 0.25);
}
.points .ico svg { width: 15px; height: 15px; stroke: var(--coral); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ---------- glass ---------- */
.glass {
  background: linear-gradient(180deg, rgba(23, 20, 40, 0.93), rgba(11, 9, 20, 0.95));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* ---------- hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
.hero .copy { max-width: 620px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -0.03em; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: 0.14s; }
@keyframes rise { to { transform: none; } }
.hero .lede { opacity: 0; animation: fade-up 1s ease 0.45s forwards; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; opacity: 0; animation: fade-up 1s ease 0.6s forwards; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 10px; opacity: 0; animation: fade-up 1s ease 0.75s forwards; }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px 2px rgba(74, 222, 156, 0.55); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  opacity: 0;
  animation: fade-up 1s ease 1.2s forwards;
}
.scroll-cue i { width: 1px; height: 44px; background: linear-gradient(var(--coral), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2s ease-in-out infinite; }
@keyframes drip { to { top: 110%; } }

.store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 11px 20px 11px 14px;
  border-radius: 16px;
  background: rgba(26, 22, 44, 0.85);
  border: 1px solid var(--glass-border-strong);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.store:hover { transform: translateY(-2px); border-color: rgba(255, 111, 97, 0.5); box-shadow: 0 14px 34px -14px var(--coral-glow); background: rgba(255, 111, 97, 0.08); }
.store.primary { background: linear-gradient(135deg, var(--coral), #d4483a); border-color: transparent; color: #1a0805; box-shadow: 0 12px 34px -12px var(--coral-glow); }
.store.primary:hover { background: linear-gradient(135deg, #ff8174, #e0513f); }
.store svg { width: 24px; height: 24px; flex-shrink: 0; }
.store span { display: flex; flex-direction: column; line-height: 1.2; }
.store small { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.75; }
.store b { font-size: 16px; font-weight: 800; }
/* Not out yet: looks like a store button, doesn't act like one. */
.store.soon { cursor: default; border-style: dashed; color: var(--text-2); }
.store.soon:hover { transform: none; box-shadow: none; background: transparent; border-color: var(--glass-border-strong); }

/* ---------- capture demo: the Remember sheet ---------- */
.demo { padding: 22px; position: relative; max-width: 470px; margin-left: auto; }
.demo::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--spin, 0deg), transparent 0 70%, var(--coral) 80%, var(--violet) 90%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.demo.listening::before { opacity: 1; animation: spin-border 2.4s linear infinite; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spin-border { to { --spin: 360deg; } }
.demo-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.demo-orb { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--coral-dim); position: relative; flex-shrink: 0; }
.demo-orb svg { width: 19px; height: 19px; stroke: var(--coral); }
.demo.saved .demo-orb { animation: orb-burst 0.9s ease; }
@keyframes orb-burst { 40% { transform: scale(1.14); box-shadow: 0 0 0 14px rgba(255, 111, 97, 0); } }
.demo-title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.demo-title b { font-family: var(--display); font-size: 17px; font-weight: 600; }
.demo-title .mono { font-size: 10.5px; color: var(--muted); transition: color 0.3s ease; }
.demo.listening .demo-title .mono { color: var(--coral-soft); }
.demo.saved .demo-title .mono { color: var(--success); }
.demo-count { color: var(--muted); font-size: 10.5px; white-space: nowrap; }
.demo-count b { color: var(--coral); font-weight: 500; }
.demo-text {
  position: relative;
  min-height: 104px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--glass-border);
  font-size: 16.5px;
  line-height: 1.55;
  transition: opacity 0.4s ease;
}
.demo-text .placeholder { color: var(--muted); }
.demo-text .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--coral); vertical-align: text-bottom; margin-left: 1px; opacity: 0; }
.demo.listening .caret { opacity: 1; animation: blink 0.85s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.demo .scan { display: none; }
/* The date phrase, marked violet once it's understood, as the app does. */
.entity { border-radius: 6px; padding: 0 3px; margin: 0 -3px; transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease; }
.entity.on { background: rgba(139, 124, 255, 0.16); color: #d2ccff; box-shadow: 0 0 0 1px rgba(139, 124, 255, 0.35); }
.demo-chips { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; min-height: 34px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 13px;
  border-radius: 999px;
  color: var(--coral-soft);
  background: var(--coral-dim);
  border: 1px solid rgba(255, 111, 97, 0.3);
  white-space: nowrap;
}
.chip svg { width: 13px; height: 13px; stroke: currentColor; flex-shrink: 0; }
.chip.ghost { color: var(--text-2); background: rgba(255, 255, 255, 0.03); border-color: var(--glass-border-strong); }
.demo .chip { opacity: 0; transform: translateY(8px) scale(0.92); transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1); }
.demo.dated .chip { opacity: 1; transform: none; }
.demo.dated .chip:nth-child(2) { transition-delay: 0.12s; }
.demo-hint { margin-top: 10px; font-size: 13px; color: var(--muted); min-height: 2.6em; line-height: 1.45; }
.demo-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.mic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border-strong); position: relative; flex-shrink: 0; transition: background 0.3s ease, border-color 0.3s ease; }
.mic svg { width: 18px; height: 18px; stroke: var(--coral); }
.demo.voice.listening .mic { background: var(--coral-dim); border-color: rgba(255, 111, 97, 0.55); }
.demo.voice.listening .mic::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--coral-glow); animation: ring 1.6s ease-out infinite; }
@keyframes ring { from { transform: scale(0.85); opacity: 0.9; } to { transform: scale(1.7); opacity: 0; } }
.save { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 800; font-size: 15px; color: #1a0805; background: linear-gradient(135deg, var(--coral), #d4483a); box-shadow: 0 10px 26px -12px var(--coral-glow); opacity: 0.45; transition: opacity 0.3s ease, transform 0.2s ease; }
.save svg { width: 15px; height: 15px; stroke: currentColor; }
.demo.ready .save { opacity: 1; }
.demo.pressing .save { transform: scale(0.94); }
.demo-saved { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(74, 222, 156, 0.07); border: 1px solid rgba(74, 222, 156, 0.28); opacity: 0; transform: translateY(6px); transition: opacity 0.45s ease, transform 0.45s ease; }
.demo.saved .demo-saved { opacity: 1; transform: none; }
.demo-saved svg { width: 17px; height: 17px; stroke: var(--success); flex-shrink: 0; }
.demo-saved div { flex: 1; min-width: 0; line-height: 1.3; }
.demo-saved b { display: block; font-size: 13.5px; }
.demo-saved span { font-size: 12px; color: var(--muted); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-saved span:empty { display: none; }
.demo-saved .undo { font-size: 13px; font-weight: 800; color: var(--coral-soft); flex-shrink: 0; }
.demo.resetting .demo-text, .demo.resetting .demo-saved, .demo.resetting .chip, .demo.resetting .demo-hint { opacity: 0; }

/* ---------- ask demo ---------- */
.chat { padding: 22px; max-width: 480px; margin-left: auto; display: flex; flex-direction: column; gap: 12px; min-height: 360px; }
.chat-head { display: flex; align-items: center; gap: 10px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--glass-border); margin-bottom: 4px; }
.chat-head .live { width: 7px; height: 7px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 10px 2px var(--violet-glow); }
.bubble {
  max-width: 86%;
  padding: 11px 15px;
  border-radius: 18px;
  font-size: 15px;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.bubble.show { opacity: 1; transform: none; }
.bubble.q { align-self: flex-end; background: linear-gradient(135deg, var(--coral), #d9503f); color: #1c0906; font-weight: 600; border-bottom-right-radius: 6px; }
.bubble.a { align-self: flex-start; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border); border-bottom-left-radius: 6px; color: var(--text); }
.bubble.a ul { margin: 0; padding-left: 18px; }
.bubble .src { display: block; margin-top: 8px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); animation: bounce 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce { 50% { transform: translateY(-4px); opacity: 0.4; } }
.prompts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.prompts span { font-size: 13px; color: var(--text-2); padding: 7px 13px; border-radius: 999px; border: 1px solid var(--glass-border-strong); background: rgba(255, 255, 255, 0.03); }
.ai-note { margin-top: 22px; padding: 18px 20px; border-radius: 18px; }
.ai-note p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; margin-top: 10px; }
.ai-note strong { color: var(--text); }
.ai-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); }
.ai-badge svg { width: 15px; height: 15px; stroke: currentColor; }

/* ---------- feature bento ---------- */
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head .lede { margin-left: auto; margin-right: auto; }
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 28px; position: relative; overflow: hidden; grid-column: span 2; transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease; }
.tile.wide { grid-column: span 3; }
.tile:hover { transform: translateY(-4px); border-color: rgba(255, 111, 97, 0.3); }
.tile h3 { font-family: var(--body); font-size: 18px; font-weight: 800; margin: 18px 0 8px; letter-spacing: -0.01em; }
.tile p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.tile .art { height: 92px; display: flex; align-items: center; }

/* tile art: agenda rows */
.mini-agenda { width: 100%; display: grid; gap: 7px; }
.mini-agenda div { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--text-2); padding: 7px 10px; border-radius: 10px; background: rgba(255, 255, 255, 0.04); }
.mini-agenda div::before { content: ''; width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--muted); flex-shrink: 0; }
.mini-agenda div.done { color: var(--muted); text-decoration: line-through; }
.mini-agenda div.done::before { border-color: var(--success); background: rgba(74, 222, 156, 0.25); }
.mini-agenda div.missed { color: #ff9a8f; }
.mini-agenda div.missed::before { border-color: var(--coral); }
/* tile art: notification */
.mini-notif { width: 100%; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--glass-border); animation: notif 4s ease-in-out infinite; }
.mini-notif img { width: 26px; height: 26px; border-radius: 7px; }
.mini-notif b { display: block; font-size: 13px; }
.mini-notif span { font-size: 12px; color: var(--muted); }
@keyframes notif { 0%, 12% { transform: translateY(-16px); opacity: 0; } 22%, 78% { transform: none; opacity: 1; } 90%, 100% { transform: translateY(-16px); opacity: 0; } }
/* tile art: widget */
.mini-widget { width: 92px; height: 92px; border-radius: 22px; background: #000; border: 1px solid var(--glass-border-strong); padding: 11px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 10px 30px -10px var(--coral-glow); }
.mini-widget b { font-family: var(--display); font-size: 24px; color: var(--coral); line-height: 1; }
.mini-widget span { font-size: 9px; color: var(--muted); line-height: 1.3; }
/* tile art: lock */
.mini-lock { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 12px; color: var(--success); }
.mini-lock svg { width: 38px; height: 38px; stroke: var(--success); filter: drop-shadow(0 0 10px rgba(74, 222, 156, 0.5)); }
.mini-lock code { color: var(--muted); letter-spacing: 0.04em; }
/* tile art: recap */
.mini-bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; }
.mini-bars i { width: 14px; border-radius: 5px 5px 2px 2px; background: linear-gradient(var(--violet), rgba(139, 124, 255, 0.15)); transform-origin: bottom; animation: grow 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * 0.12s); }
@keyframes grow { 0%, 100% { transform: scaleY(0.35); } 50% { transform: scaleY(1); } }
/* tile art: theme */
.mini-theme { display: flex; gap: 10px; }
.mini-theme i { width: 54px; height: 74px; border-radius: 14px; border: 1px solid var(--glass-border-strong); }
.mini-theme i:first-child { background: linear-gradient(160deg, #1c1c1e, #000); }
.mini-theme i:last-child { background: linear-gradient(160deg, #fbfaf7, #efe9e1); }

/* ---------- privacy ---------- */
.specs { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.spec { padding: 18px 20px; }
.spec .mono { color: var(--coral-soft); display: block; margin-bottom: 8px; font-size: 11px; }
.spec p { font-size: 14.5px; color: var(--text-2); line-height: 1.55; }
.honest { margin-top: 22px; color: var(--muted); font-size: 14px; max-width: 58ch; }
.sealed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--success);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(74, 222, 156, 0.3);
  background: rgba(74, 222, 156, 0.07);
}
.sealed svg { width: 12px; height: 12px; stroke: var(--success); }

/* ---------- pricing ---------- */
.pricing { max-width: 820px; margin: 0 auto; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.pricing::before {
  content: '';
  position: absolute;
  top: -60%;
  left: 50%;
  width: 700px;
  height: 700px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(255, 111, 97, 0.22), transparent 62%);
  pointer-events: none;
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translateX(-50%) scale(1.08); opacity: 0.75; } }
.pricing > * { position: relative; }
.pricing h2 { font-size: clamp(30px, 4.4vw, 54px); line-height: 1.08; }
.timeline { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin: 44px auto 0; max-width: 620px; text-align: left; }
.timeline .step { padding: 20px 22px; border-radius: 18px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--glass-border); }
.timeline .step b { display: block; font-family: var(--display); font-size: 22px; font-weight: 600; margin: 6px 0 4px; }
.timeline .step span { color: var(--text-2); font-size: 14px; }
.timeline .arrow { width: 44px; height: 1px; background: linear-gradient(90deg, var(--coral), var(--violet)); position: relative; }
.timeline .arrow::after { content: ''; position: absolute; right: -1px; top: -4px; border: 4.5px solid transparent; border-left-color: var(--violet); border-right: 0; }
.included { list-style: none; padding: 0; margin: 36px auto 0; max-width: 620px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; text-align: left; }
.included li { display: flex; gap: 10px; color: var(--text-2); font-size: 15px; }
.included svg { width: 17px; height: 17px; stroke: var(--coral); flex-shrink: 0; margin-top: 3px; }
.pricing .actions { margin-top: 40px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- footer ---------- */
footer { padding: 72px 0 48px; border-top: 1px solid var(--glass-border); background: linear-gradient(transparent, rgba(4, 3, 10, 0.9) 40%); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-tag { color: var(--muted); font-size: 14px; max-width: 36ch; margin-top: 12px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--text); }
.footer-meta { color: var(--muted); font-size: 13px; margin-top: 14px; text-align: right; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 48px; }
  .demo, .chat { margin: 0 auto; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile.wide { grid-column: span 1; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap, .nav-inner { padding-left: 16px; padding-right: 16px; }
  .chapter { padding: 110px 0 80px; min-height: auto; }
  .hero { padding-top: 110px; }
  .bento, .specs, .included { grid-template-columns: 1fr; }
  .pricing { padding: 36px 20px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline .arrow { width: 1px; height: 28px; margin: 0 auto; background: linear-gradient(var(--coral), var(--violet)); }
  .timeline .arrow::after { display: none; }
  .footer-meta { text-align: left; }
  .scroll-cue { display: none; }
}

/* ---------- fixes and the "one mind" interlude ---------- */
.hero > .wrap { width: 100%; }
.interlude { min-height: 115vh; align-items: flex-end; padding-bottom: 12vh; position: relative; }
.interlude-line {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: center;
  max-width: 18ch;
  margin: 0 auto;
  text-wrap: balance;
}
.memories { position: absolute; inset: 8vh 0 26vh; pointer-events: none; }
.memories span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(16, 14, 30, 0.88);
  border: 1px solid var(--glass-border-strong);
  white-space: nowrap;
  animation: drift 9s ease-in-out infinite;
  animation-delay: calc(var(--d) * -1);
}
.memories span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 8px 2px var(--coral-glow); margin-right: 8px; vertical-align: 1px; }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(10px, -14px); } 66% { transform: translate(-8px, 8px); } }
@media (max-width: 640px) {
  .interlude { min-height: 90vh; }
  .memories span:nth-child(n + 4) { display: none; }
  .memories span { font-size: 12px; }
  .memories span:nth-child(1) { left: 6%; }
  .memories span:nth-child(2) { left: auto; right: 6%; }
  .memories span:nth-child(3) { left: auto; right: 10%; top: 70%; }
}


/* ---------- ask demo: answers as the app shows them ---------- */
.bubble.a .ans-label { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.bubble.a .ans-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px 1px var(--violet-glow); }
.bubble.a .ans-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; }
.bubble.a .ans-foot .src { margin-top: 0; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 10px; color: var(--success); background: rgba(74, 222, 156, 0.07); border: 1px solid rgba(74, 222, 156, 0.3); }
.badge svg { width: 11px; height: 11px; stroke: currentColor; }

/* ---------- split, mirrored: the demo on the left ---------- */
.split.flip > .copy { justify-self: end; }

/* ---------- Home: a phone running the Glass look ---------- */
.phone-col { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone {
  /* Colors from src/theme/colors.ts, dark first. */
  --p-ground: #000;
  --p-ground-2: #000;
  --p-glow: rgba(255, 111, 97, 0.2);
  --p-tile-top: rgba(30, 30, 33, 0.8);
  --p-tile-bottom: rgba(18, 18, 20, 0.88);
  --p-border: rgba(255, 255, 255, 0.08);
  --p-highlight: rgba(255, 255, 255, 0.06);
  --p-control: rgba(39, 39, 42, 0.8);
  --p-control-border: rgba(255, 255, 255, 0.12);
  --p-text: #fafafa;
  --p-text-2: #d4d4d8;
  --p-muted: #a1a1aa;
  --p-faint: #8a8a8e;
  --p-ink: #ff9e8f;
  --p-outline: rgba(255, 255, 255, 0.14);
  --p-saved: #4ade9c;
  --p-toast: rgba(24, 26, 25, 0.96);
  width: min(340px, 100%);
  padding: 11px;
  border-radius: 54px;
  background: linear-gradient(160deg, #2a2733, #0d0c12 40%, #1b1922);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 90px -30px rgba(0, 0, 0, 0.9), 0 0 80px -30px var(--coral-glow);
}
.phone[data-theme="light"] {
  --p-ground: #fbfaf7;
  --p-ground-2: #efe9e1;
  --p-glow: rgba(255, 111, 97, 0.16);
  --p-tile-top: rgba(255, 255, 255, 0.88);
  --p-tile-bottom: rgba(255, 255, 255, 0.72);
  --p-border: rgba(28, 25, 20, 0.08);
  --p-highlight: rgba(255, 255, 255, 0.9);
  --p-control: rgba(255, 255, 255, 0.78);
  --p-control-border: rgba(28, 25, 20, 0.1);
  --p-text: #1c1917;
  --p-text-2: #44403c;
  --p-muted: #57534e;
  --p-faint: #78716c;
  --p-ink: #b93a2e;
  --p-outline: rgba(28, 25, 20, 0.1);
  --p-saved: #047857;
  --p-toast: rgba(255, 255, 255, 0.97);
}
.phone-screen {
  position: relative;
  overflow: hidden;
  height: 690px;
  border-radius: 44px;
  padding: 58px 14px 0;
  color: var(--p-text);
  font-family: var(--body);
  background:
    radial-gradient(280px 280px at 85% 12%, var(--p-glow), transparent 70%),
    radial-gradient(240px 240px at 4% 88%, var(--p-glow), transparent 70%),
    linear-gradient(var(--p-ground), var(--p-ground-2));
  transition: background 0.4s ease, color 0.4s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* The Dynamic Island. */
.phone-screen::before { content: ''; position: absolute; top: 12px; left: 50%; width: 104px; height: 30px; transform: translateX(-50%); border-radius: 999px; background: #000; }
.ph-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 4px 4px; }
.ph-date { display: block; font-size: 12.5px; font-weight: 600; color: var(--p-muted); }
.ph-headline { display: block; font-family: var(--display); font-size: 23px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-top: 2px; }
.ph-buttons { display: flex; gap: 8px; }
.ph-buttons i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--p-control); border: 1px solid var(--p-control-border); }
.ph-buttons svg { width: 16px; height: 16px; stroke: var(--p-text-2); }
.ph-tile {
  position: relative;
  padding: 14px 15px;
  border-radius: 22px;
  background: linear-gradient(var(--p-tile-top), var(--p-tile-bottom));
  border: 1px solid var(--p-border);
  box-shadow: inset 0 1px 0 var(--p-highlight), 0 18px 30px -22px rgba(0, 0, 0, 0.35);
  transition: background 0.4s ease, border-color 0.4s ease;
}
.ph-label { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--p-faint); }
.ph-label.coral { color: var(--p-ink); }
.ph-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 8px 1px var(--coral-glow); }
.ph-next { border-color: rgba(255, 111, 97, 0.3); box-shadow: inset 0 1px 0 var(--p-highlight), 0 0 26px -8px rgba(255, 111, 97, 0.45); }
.ph-next-body { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; min-height: 84px; }
.ph-next-title { display: block; font-family: var(--display); font-size: 19px; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.ph-next-time { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--p-muted); }
.ph-ring { width: 84px; height: 84px; flex-shrink: 0; }
.ph-ring circle { fill: none; stroke-width: 7; }
.ph-ring .track { stroke: var(--p-outline); }
.ph-ring .arc { stroke: var(--coral); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 46px 46px; stroke-dasharray: 238.76; transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease; }
.ph-ring .ring-value { fill: var(--p-text); font-family: var(--display); font-size: 22px; font-weight: 600; text-anchor: middle; }
.ph-ring .ring-unit { fill: var(--p-muted); font-family: var(--mono); font-size: 9px; letter-spacing: 0.12em; text-anchor: middle; text-transform: uppercase; }
.ph-actions { display: flex; gap: 8px; margin-top: 10px; }
.ph-actions button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 12px; border-radius: 999px; font: 800 14px var(--body); cursor: pointer; transition: transform 0.15s ease, opacity 0.3s ease; }
.ph-actions button:active { transform: scale(0.95); }
.ph-actions svg { width: 14px; height: 14px; stroke: currentColor; }
.ph-done { color: #1a0805; border: 0; background: linear-gradient(135deg, var(--coral), #d4483a); }
.ph-snooze { color: var(--p-text); background: var(--p-control); border: 1px solid var(--p-control-border); }
.ph-next.empty .ph-ring, .ph-next.empty .ph-actions { opacity: 0; pointer-events: none; }
.ph-next.empty .ph-next-body { min-height: 84px; }
.ph-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ph-big { display: block; font-family: var(--display); font-size: 30px; font-weight: 600; color: var(--p-ink); line-height: 1.15; margin-top: 4px; }
.ph-note { display: block; font-size: 12px; line-height: 1.4; color: var(--p-muted); margin-top: 4px; }
.ph-when { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; color: var(--p-muted); }
.ph-when.coral { color: var(--p-ink); }
.ph-item { display: block; font-size: 13px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-rule { display: block; height: 1px; background: var(--p-border); margin-top: 8px; }
.ph-days { display: grid; grid-template-columns: repeat(7, 1fr); margin: 8px 0 4px; text-align: center; }
.ph-days span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ph-days i { font-style: normal; font-family: var(--mono); font-size: 9px; color: var(--p-faint); }
.ph-days b { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; font-weight: 700; }
.ph-days b.today { background: var(--coral); color: #1a0805; }
.ph-days em { width: 4px; height: 4px; border-radius: 50%; background: transparent; }
.ph-days em.on { background: var(--coral); }
.ph-bar { position: absolute; left: 14px; right: 14px; bottom: 22px; display: flex; gap: 10px; align-items: center; }
.ph-remember { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 50px; padding: 0 6px 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--p-muted); background: var(--p-control); border: 1px solid var(--p-control-border); }
.ph-remember i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--coral), #d4483a); }
.ph-remember svg { width: 16px; height: 16px; stroke: #1a0805; }
.ph-ask { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--p-control); border: 1px solid var(--p-control-border); flex-shrink: 0; }
.ph-ask svg { width: 19px; height: 19px; stroke: var(--p-text-2); }
.ph-toast { position: absolute; left: 14px; right: 14px; bottom: 84px; display: flex; align-items: center; gap: 10px; padding: 11px 12px 11px 14px; border-radius: 18px; background: var(--p-toast); border: 1px solid var(--p-border); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.ph-toast.show { opacity: 1; transform: none; pointer-events: auto; }
.ph-toast svg { width: 17px; height: 17px; stroke: var(--p-saved); flex-shrink: 0; }
.ph-toast span { flex: 1; min-width: 0; line-height: 1.25; }
.ph-toast b { display: block; font-size: 13px; }
.ph-toast small { display: block; font-size: 11.5px; color: var(--p-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-toast button { border: 0; background: none; padding: 4px 2px; font: 800 13px var(--body); color: var(--p-ink); cursor: pointer; }
.theme-switch { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(16, 14, 30, 0.88); border: 1px solid var(--glass-border-strong); }
.theme-switch button { border: 0; background: none; color: var(--text-2); font: 700 13px var(--body); padding: 7px 16px; border-radius: 999px; cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.theme-switch button[aria-pressed="true"] { background: var(--coral-dim); color: var(--text); box-shadow: inset 0 0 0 1px rgba(255, 111, 97, 0.35); }

/* ---------- gift ideas demo ---------- */
.gifts { padding: 22px; max-width: 470px; margin-right: auto; display: flex; flex-direction: column; gap: 10px; }
.gifts-head { display: flex; align-items: center; gap: 10px; color: var(--muted); padding-bottom: 12px; border-bottom: 1px solid var(--glass-border); margin-bottom: 4px; }
.gifts-head .live { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 10px 2px var(--coral-glow); }
.gifts [data-step] { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1); }
.gifts [data-step].on { opacity: 1; transform: none; }
.gifts.fading [data-step] { opacity: 0; transform: none; }
.gift-step { padding: 11px 14px; border-radius: 14px; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--glass-border); }
.gift-step p { font-size: 14.5px; line-height: 1.45; color: var(--text); }
.gift-when { display: block; font-size: 9.5px; color: var(--muted); margin-bottom: 4px; }
.gift-step mark { background: none; color: inherit; border-radius: 5px; padding: 0 3px; margin: 0 -3px; transition: background 0.5s ease 0.3s, color 0.5s ease 0.3s, box-shadow 0.5s ease 0.3s; }
.gift-step.on mark { background: rgba(139, 124, 255, 0.16); color: #d2ccff; box-shadow: 0 0 0 1px rgba(139, 124, 255, 0.35); }
.gift-step .chip { margin-top: 9px; font-size: 12px; padding: 5px 11px; }
.gift-week { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 14px; background: var(--coral-dim); border: 1px solid rgba(255, 111, 97, 0.3); }
.gift-week .mono { font-size: 9.5px; color: var(--coral-soft); }
.gift-week b { font-size: 13.5px; font-weight: 700; text-align: right; }
.gift-q { align-self: flex-end; margin-top: 4px; }
.gift-answer { padding: 13px 15px; border-radius: 18px; border-bottom-left-radius: 6px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border); max-width: 92%; }
.gift-answer > .mono { display: flex; align-items: center; gap: 7px; font-size: 10px; color: var(--muted); margin-bottom: 6px; }
.gift-answer > .mono i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 8px 1px var(--violet-glow); }
.gift-answer p { font-size: 14.5px; }
.gift-answer ul { margin: 4px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.5; }
.gift-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 10px; }
.gift-foot .src { font-size: 10px; color: var(--muted); letter-spacing: 0.08em; }
/* .bubble.q is hidden until .show; inside the gifts demo, .on drives it. */
.gifts .bubble { opacity: 0; }
.gifts .bubble.on { opacity: 1; transform: none; }

/* ---------- bento art for the new tiles ---------- */
.mini-stack { position: relative; width: 100%; max-width: 300px; height: 76px; }
.mini-stack > i, .mini-stack > div { position: absolute; left: 0; right: 0; border-radius: 14px; border: 1px solid var(--glass-border-strong); }
.mini-stack > i:nth-child(1) { top: 0; margin: 0 22px; height: 60px; background: rgba(255, 255, 255, 0.03); }
.mini-stack > i:nth-child(2) { top: 6px; margin: 0 11px; height: 60px; background: rgba(255, 255, 255, 0.05); }
.mini-stack > div { top: 12px; padding: 10px 14px; background: #141416; animation: stack-out 4.5s ease-in-out infinite; }
.mini-stack .mono { display: block; font-size: 9.5px; color: var(--coral-soft); }
.mini-stack b { display: block; font-size: 14px; margin-top: 2px; }
@keyframes stack-out { 0%, 55% { transform: none; opacity: 1; } 75% { transform: translateX(60px) rotate(6deg); opacity: 0; } 76% { transform: translateY(-8px); opacity: 0; } 92%, 100% { transform: none; opacity: 1; } }
.mini-search { width: 100%; display: grid; gap: 9px; }
.mini-search > span { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--glass-border-strong); }
.mini-search svg { width: 13px; height: 13px; stroke: var(--muted); }
.mini-search div { display: flex; gap: 6px; }
.mini-search i { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: var(--text-2); border: 1px solid var(--glass-border); }
.mini-search i.on { color: var(--text); background: var(--coral-dim); border-color: rgba(255, 111, 97, 0.35); }
.mini-toast { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 16px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--glass-border-strong); font-size: 13px; animation: notif 4s ease-in-out infinite; animation-delay: -1s; }
.mini-toast svg { width: 16px; height: 16px; stroke: var(--success); flex-shrink: 0; }
.mini-toast span { flex: 1; }
.mini-toast b { color: var(--coral-soft); font-weight: 800; }

/* ---------- responsive, for the new sections ---------- */
@media (max-width: 960px) {
  .split.flip > .copy { order: -1; justify-self: start; }
  .gifts { margin: 0 auto; }
}
@media (max-width: 640px) {
  .demo, .chat, .gifts { padding: 18px; }
  .demo-count { display: none; }
}
