/* ─── homerun — "sunrise" design system ────────────────────────────────── */
:root {
  --ink: #1d1830;
  --ink-2: #3a3450;
  --muted: #6b6480;
  --faint: #9a93ad;
  --line: #efe8e2;
  --line-2: #f6f1ec;
  --cream: #fffaf5;
  --paper: #ffffff;

  --orange: #ff8a3d;
  --coral: #ff5e6c;
  --violet: #9b6bff;
  --orange-50: #fff3e9;
  --coral-50: #fff0f1;
  --violet-50: #f4efff;
  --green: #22c55e;
  --green-50: #eafbf0;
  --amber-50: #fff8e6;

  /* household member colors (match the demo household) */
  --sam: #6366f1;
  --alex: #14b8a6;
  --maya: #f43f5e;
  --leo: #f59e0b;

  --grad: linear-gradient(120deg, #ff9a3d 0%, #ff5e7a 50%, #9b6bff 100%);
  --grad-soft: linear-gradient(160deg, #fff4ea 0%, #fff0f3 50%, #f5f0ff 100%);

  --night: #1b1530;
  --night-2: #241c3d;
  --night-3: #2e2549;
  --night-line: rgba(255, 255, 255, .09);
  --night-muted: #b4abcb;

  --shadow-sm: 0 1px 2px rgba(40, 24, 60, .05), 0 2px 6px rgba(40, 24, 60, .06);
  --shadow: 0 16px 40px -18px rgba(60, 30, 80, .28), 0 3px 8px rgba(60, 30, 80, .05);
  --shadow-lg: 0 44px 90px -30px rgba(70, 30, 90, .38), 0 14px 28px -14px rgba(70, 30, 90, .16);
  --glow: 0 18px 44px -14px rgba(255, 94, 108, .6);

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --display: 'Outfit', 'Inter', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { flex-shrink: 0; }
:focus-visible { outline: 2.5px solid var(--coral); outline-offset: 3px; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 128px 0; position: relative; }
.section-white { background: var(--paper); }
.center { text-align: center; }

/* ── Type ──────────────────────────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--display); letter-spacing: -.03em; line-height: 1.04; font-weight: 700; }
h1 { font-size: clamp(3rem, 7vw, 5.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
h3 { font-size: 1.25rem; line-height: 1.25; font-weight: 650; letter-spacing: -.015em; }
h1 em, h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.night h2 em { background: linear-gradient(120deg, #ffc08a, #ff9aa8 50%, #c9b0ff); -webkit-background-clip: text; background-clip: text; }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.24rem); color: var(--muted); max-width: 580px; }
.night .lead { color: var(--night-muted); }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--coral); margin-bottom: 18px; }
.kicker::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.night .kicker { color: #ffb08f; }
.section-head { max-width: 740px; margin: 0 auto 72px; text-align: center; }
.section-head .lead { margin: 20px auto 0; }

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px; font-size: 15px; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .25s ease, background .2s, border-color .2s;
}
.btn svg { width: 16px; height: 16px; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { color: #fff; background: linear-gradient(120deg, #ff8a3d, #ff5e6c 60%, #f0508f); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 10px 26px -10px rgba(255, 94, 108, .8); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), var(--glow); }
.btn-soft { color: var(--ink); background: var(--paper); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-soft:hover { transform: translateY(-1px); border-color: #e4d9d0; }
.btn-glass { color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.btn-glass:hover { background: rgba(255,255,255,.15); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }

/* ── Nav ───────────────────────────────────────────────────────────────── */
.nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 16px; }
.nav-bar {
  max-width: 1100px; margin: 0 auto; height: 62px; display: flex; align-items: center; gap: 20px; padding: 0 10px 0 16px;
  border-radius: 999px; background: rgba(255, 252, 248, .74); border: 1px solid rgba(60, 30, 60, .07);
  backdrop-filter: saturate(170%) blur(16px); -webkit-backdrop-filter: saturate(170%) blur(16px);
  box-shadow: 0 8px 30px -14px rgba(60, 30, 60, .2); transition: background .25s, box-shadow .25s;
}
.nav.scrolled .nav-bar { background: rgba(255, 252, 248, .93); box-shadow: 0 14px 40px -16px rgba(60, 30, 60, .3); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -.03em; }
.logo img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 2px; list-style: none; margin: 0 auto; }
.nav-links a { display: block; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s, background .15s; }
.nav-links a:hover { color: var(--ink); background: rgba(60, 30, 60, .05); }
.nav-links a[aria-current="page"] { color: var(--ink); background: rgba(60, 30, 60, .07); }
.nav-actions { display: flex; gap: 6px; align-items: center; }
.nav-login { padding: 8px 12px; font-size: 14px; font-weight: 500; color: var(--muted); border-radius: 999px; }
.nav-login:hover { color: var(--ink); }
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; place-items: center; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); box-shadow: 0 -6px 0 var(--ink), 0 6px 0 var(--ink); }
.mobile-menu { display: none; max-width: 1100px; margin: 8px auto 0; padding: 12px; border-radius: 24px; background: rgba(255, 252, 248, .97); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mobile-menu a { display: block; padding: 12px 16px; border-radius: 14px; font-weight: 500; }
.mobile-menu a:hover { background: var(--line-2); }
.nav.open .mobile-menu { display: block; }

/* ── Backdrops ─────────────────────────────────────────────────────────── */
.sunrise { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.sunrise::before {
  content: ''; position: absolute; left: -15%; right: -15%; top: -35%; height: 1100px;
  background:
    radial-gradient(36% 42% at 22% 32%, rgba(255, 154, 61, .34), transparent 70%),
    radial-gradient(34% 40% at 78% 24%, rgba(155, 107, 255, .28), transparent 70%),
    radial-gradient(30% 36% at 52% 55%, rgba(255, 94, 122, .2), transparent 70%);
  filter: blur(26px);
}
.sunrise::after {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(60, 30, 60, .1) 1px, transparent 1px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 0%, #000 25%, transparent 75%);
}

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 176px 0 0; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; text-align: center; }
.hero h1 { max-width: 12ch; margin: 24px auto; }
.hero .lead { margin: 0 auto 38px; }
.actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-note { margin-top: 22px; font-size: 13.5px; color: var(--faint); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-note span { display: inline-flex; gap: 6px; align-items: center; }
.hero-note svg { width: 14px; height: 14px; color: var(--green); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255,255,255,.86); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13px; font-weight: 500; color: var(--ink-2); }
.pill b { padding: 3px 10px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11px; font-weight: 700; }
.avatars { display: inline-flex; }
.avatars i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; color: #fff; }
.avatars i:first-child { margin-left: 0; }

.stage { position: relative; max-width: 1060px; margin: 80px auto 0; padding: 0 24px; perspective: 2200px; }
.stage::before { content: ''; position: absolute; left: 10%; right: 10%; top: 6%; bottom: 8%; background: radial-gradient(closest-side, rgba(255, 94, 122, .45), transparent); filter: blur(60px); }
.stage .tablet { transform: rotateX(14deg) scale(.95); transform-origin: 50% 0; transition: transform 1.3s var(--ease); }
.stage.in .tablet { transform: none; }
.stage-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: 4; pointer-events: none; background: linear-gradient(rgba(255, 250, 245, 0), var(--cream) 92%); }

/* Devices */
.tablet { position: relative; z-index: 1; padding: 14px; border-radius: 34px; background: linear-gradient(145deg, #2b2438, #15111f); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.06); }
.tablet img { border-radius: 22px; width: 100%; }
.tablet::after { content: ''; position: absolute; top: 50%; left: 5px; width: 4px; height: 4px; border-radius: 50%; background: #3d3450; transform: translateY(-50%); }
.laptop { position: relative; }
.laptop-screen { padding: 10px 10px 0; border-radius: 18px 18px 0 0; background: #1b1626; box-shadow: var(--shadow-lg); }
.laptop-screen img { border-radius: 8px 8px 0 0; }
.laptop-base { height: 16px; margin: 0 -7%; border-radius: 0 0 14px 14px; background: linear-gradient(#e8e2ee, #cfc7d9); box-shadow: 0 18px 30px -18px rgba(40,20,60,.5); }
.laptop-base::before { content: ''; display: block; width: 16%; height: 6px; margin: 0 auto; border-radius: 0 0 8px 8px; background: #bdb3c9; }
.phone { position: relative; width: 270px; padding: 10px; border-radius: 44px; background: linear-gradient(145deg, #2b2438, #15111f); box-shadow: var(--shadow-lg); }
.phone-screen { position: relative; overflow: hidden; height: 540px; border-radius: 34px; background: linear-gradient(160deg, #ffd9bd, #ffb9c6 45%, #c9b3ff); }
.phone-notch { position: absolute; top: 10px; left: 50%; width: 84px; height: 24px; border-radius: 99px; background: #0e0b15; transform: translateX(-50%); z-index: 2; }
.media { position: relative; }
.media::before { content: ''; position: absolute; inset: 12% 8%; background: radial-gradient(closest-side, rgba(255, 138, 61, .32), transparent); filter: blur(50px); }
.frame { position: relative; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid rgba(60, 30, 60, .08); box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255,255,255,.6); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; background: linear-gradient(#fdfbf9, #f5f0eb); border-bottom: 1px solid var(--line); }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e5ddd6; }
.frame-bar i:nth-child(1) { background: #ff5f57; } .frame-bar i:nth-child(2) { background: #febc2e; } .frame-bar i:nth-child(3) { background: #28c840; }
.frame-bar span { margin: 0 auto; transform: translateX(-24px); font-size: 12px; color: var(--faint); }

/* Mockups are pictures, not text: normal cursor, no selecting or dragging */
.stage, .frame, .tablet, .laptop, .phone, .devices, .media, .float, .chip-card,
.tile-vis, .tile-shot, .chat, .chat-dots, .voice, .reward, .rotate, .sort, .room,
.wall-fig, .size .scr, .avatars {
  cursor: default; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
:is(.stage, .frame, .tablet, .laptop, .phone, .devices, .media, .tile-shot, .tile-vis, .chat, .float) img {
  -webkit-user-drag: none; user-drag: none; pointer-events: none;
}

/* Floating UI */
.float { position: absolute; z-index: 5; animation: bob 7s ease-in-out infinite; }
.float-1 { left: -8px; top: 22%; }
.float-2 { right: -14px; top: 10%; animation-delay: -2.4s; }
.float-3 { right: 4%; top: 56%; animation-delay: -4.7s; }
.float-4 { left: 6%; top: 60%; animation-delay: -1.2s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.chip-card { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(255,255,255,.95); border: 1px solid rgba(60,30,60,.07); box-shadow: var(--shadow-lg); font-size: 13.5px; text-align: left; white-space: nowrap; backdrop-filter: blur(10px); }
.chip-card b { display: block; font-weight: 650; color: var(--ink); }
.chip-card small { display: block; font-size: 12px; color: var(--muted); }
.ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 17px; }
.ico svg { width: 18px; height: 18px; }
.ico.o { background: var(--orange-50); color: var(--orange); }
.ico.c { background: var(--coral-50); color: var(--coral); }
.ico.v { background: var(--violet-50); color: var(--violet); }
.ico.g { background: var(--green-50); color: #16a34a; }
.pts { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ── Ticker ────────────────────────────────────────────────────────────── */
.ticker { padding: 36px 0 18px; }
.ticker p { text-align: center; font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; padding: 4px 0; animation: scroll 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tag { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 14px; white-space: nowrap; color: var(--ink-2); }
.tag .who { display: inline-flex; }
.tag .who i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; margin-left: -5px; font-style: normal; font-size: 9px; font-weight: 700; color: #fff; display: grid; place-items: center; }
.tag .who i:first-child { margin-left: 0; }
.tag small { color: var(--faint); font-size: 13px; }

/* ── Split ─────────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split h2 { margin-bottom: 20px; }
.checks { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 28px 0 34px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5e6c' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.night .checks li { color: rgba(255,255,255,.88); }
.night .checks li::before { background-color: rgba(255, 154, 61, .16); }

/* ── Chat scene ("Sound familiar?") ────────────────────────────────────── */
.chat { position: relative; max-width: 380px; margin: 0 auto; padding: 18px; border-radius: 32px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 4px 6px 14px; border-bottom: 1px solid var(--line-2); }
.chat-head b { font-size: 14px; }
.chat-head small { display: block; font-size: 12px; color: var(--faint); }
.chat-body { display: flex; flex-direction: column; gap: 8px; min-height: 330px; padding: 16px 4px 4px; justify-content: flex-end; }
.bubble { max-width: 80%; padding: 9px 14px; border-radius: 20px; font-size: 14.5px; line-height: 1.4; animation: pop .35s var(--ease) both; }
.bubble.them { align-self: flex-start; background: #f1edf2; color: var(--ink); border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: #3b82f6; color: #fff; border-bottom-right-radius: 6px; }
.bubble.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.bubble.typing i { width: 7px; height: 7px; border-radius: 50%; background: #b3aabd; animation: dot 1s infinite; }
.bubble.typing i:nth-child(2) { animation-delay: .15s; } .bubble.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
.answer { position: absolute; left: 50%; bottom: -34px; width: 88%; transform: translate(-50%, 20px) scale(.96); opacity: 0; transition: opacity .45s ease, transform .55s var(--ease); z-index: 2; }
.chat.solved .answer { opacity: 1; transform: translate(-50%, 0) scale(1); }
.chat.solved .chat-body { filter: saturate(.6); opacity: .55; transition: opacity .5s; }
.answer .chip-card { white-space: normal; border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; }
.answer .brand { font-size: 11px; font-weight: 700; color: var(--coral); letter-spacing: .02em; }
.chat-dots { display: flex; gap: 6px; justify-content: center; margin-top: 64px; }
.chat-dots i { width: 7px; height: 7px; border-radius: 99px; background: #e2d8d0; transition: width .3s, background .3s; }
.chat-dots i.on { width: 22px; background: var(--coral); }

/* ── Night showcase ────────────────────────────────────────────────────── */
.night { position: relative; overflow: hidden; margin: 0 16px; padding: 120px 0; border-radius: 42px; background: var(--night); color: #fff; }
.night::before, .night::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.night::before { width: 720px; height: 720px; left: -240px; top: -320px; background: radial-gradient(closest-side, rgba(255, 138, 61, .35), transparent); }
.night::after { width: 640px; height: 640px; right: -220px; bottom: -300px; background: radial-gradient(closest-side, rgba(155, 107, 255, .4), transparent); }
.night .container { position: relative; z-index: 1; }

/* Voice scene */
.voice { padding: 26px; border-radius: 30px; background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid var(--night-line); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.voice-top { display: flex; align-items: center; gap: 16px; }
.mic { position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); box-shadow: 0 10px 30px -8px rgba(255, 94, 108, .7); }
.mic svg { width: 24px; height: 24px; color: #fff; }
.mic::before, .mic::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255, 138, 110, .6); opacity: 0; }
.voice.listen .mic::before { animation: ring 1.6s ease-out infinite; }
.voice.listen .mic::after { animation: ring 1.6s ease-out .55s infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.wave { display: flex; align-items: center; gap: 3px; height: 28px; }
.wave i { width: 3px; height: 6px; border-radius: 3px; background: rgba(255,255,255,.4); }
.voice.listen .wave i { animation: wave .9s ease-in-out infinite; background: #ffb58c; }
.wave i:nth-child(2n) { animation-delay: .12s !important; } .wave i:nth-child(3n) { animation-delay: .25s !important; } .wave i:nth-child(5n) { animation-delay: .38s !important; }
@keyframes wave { 50% { height: 26px; } }
.voice-label { font-size: 12.5px; color: var(--night-muted); }
.transcript { min-height: 64px; margin: 22px 0 18px; font-family: var(--display); font-size: 23px; font-weight: 500; letter-spacing: -.01em; line-height: 1.3; }
.transcript .caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -3px; background: #ffb58c; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.parsed { display: flex; flex-wrap: wrap; gap: 8px; min-height: 76px; }
.parsed span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 12px; font-size: 13px; background: rgba(255,255,255,.07); border: 1px solid var(--night-line); opacity: 0; transform: translateY(8px) scale(.94); transition: opacity .35s ease, transform .45s var(--ease); }
.parsed span b { color: var(--night-muted); font-weight: 500; }
.parsed span.on { opacity: 1; transform: none; }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--night-line); }
.day { padding: 10px 4px 12px; border-radius: 14px; text-align: center; background: rgba(255,255,255,.04); border: 1px solid transparent; font-size: 11.5px; color: var(--night-muted); transition: background .3s, border-color .3s; }
.day b { display: block; font-size: 15px; color: #fff; margin-top: 2px; }
.day .slot { width: 26px; height: 26px; margin: 8px auto 0; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .3s, transform .45s var(--ease); }
.day.hit { background: rgba(255, 138, 61, .12); border-color: rgba(255, 170, 120, .35); }
.day.hit .slot { opacity: 1; transform: none; }

/* ── Reward scene ──────────────────────────────────────────────────────── */
.reward { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.panel-title { font-size: 12px; font-weight: 600; color: var(--faint); margin-bottom: 12px; display: flex; justify-content: space-between; }
.todo { display: flex; flex-direction: column; gap: 8px; }
.todo-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line-2); font-size: 14px; transition: background .3s, opacity .3s; }
.todo-row .tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d9cfd7; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s; }
.todo-row .tick svg { width: 12px; height: 12px; color: #fff; opacity: 0; transition: opacity .2s; }
.todo-row .name { flex: 1; }
.todo-row .p { font-size: 12px; font-weight: 700; color: var(--coral); }
.todo-row.done { background: var(--green-50); border-color: #c9f0d6; }
.todo-row.done .tick { background: var(--green); border-color: var(--green); transform: scale(1.1); }
.todo-row.done .tick svg { opacity: 1; }
.todo-row.done .name { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(0,0,0,.25); }
.goal { padding: 18px; border-radius: 20px; background: var(--grad-soft); border: 1px solid var(--line-2); display: flex; flex-direction: column; }
.goal-emoji { font-size: 34px; line-height: 1; }
.goal h3 { font-size: 1.15rem; margin: 12px 0 2px; }
.goal small { color: var(--muted); font-size: 13px; }
.goal-num { font-family: var(--display); font-size: 40px; font-weight: 700; letter-spacing: -.04em; margin: 16px 0 10px; font-variant-numeric: tabular-nums; }
.goal-num span { font-size: 16px; color: var(--faint); font-weight: 500; }
.bar { height: 10px; border-radius: 99px; background: rgba(255,255,255,.8); overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--grad); transition: width .7s var(--ease); }
.goal-done { margin-top: 14px; font-size: 13px; font-weight: 600; color: #16a34a; opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s; }
.reward.reached .goal-done { opacity: 1; transform: none; }
.reward.reached .goal { box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); }
.flyer { position: absolute; z-index: 5; pointer-events: none; font-weight: 700; font-size: 15px; padding: 4px 10px; border-radius: 99px; color: #fff; background: var(--grad); box-shadow: var(--glow); transition: transform .8s var(--ease), opacity .8s ease; }
.confetti { position: absolute; width: 8px; height: 8px; border-radius: 2px; pointer-events: none; z-index: 6; animation: confetti 1.1s ease-out forwards; }
@keyframes confetti { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* ── Bento ─────────────────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 340px; padding: 30px; border-radius: 30px; background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.s2 { grid-column: span 2; } .s3 { grid-column: span 3; } .s4 { grid-column: span 4; }
.tile h3 { font-size: 1.4rem; margin-bottom: 6px; }
.tile p { color: var(--muted); font-size: 15px; max-width: 44ch; }
.tile .ico { margin-bottom: 20px; }
.tile-vis { margin-top: auto; padding-top: 24px; }
.tile.warm { background: var(--grad-soft); }
.tile.dark { background: var(--night); color: #fff; border-color: transparent; }
.tile.dark p { color: var(--night-muted); }
.tile.dark::after { content: ''; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(closest-side, rgba(155, 107, 255, .45), transparent); }
.tile.dark > * { position: relative; z-index: 1; }
.tile-shot { margin: 24px -30px -30px; padding: 0 0 0 30px; }
.tile-shot img { border-radius: 14px 0 0 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; box-shadow: var(--shadow); }
.soon { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; padding: 5px 11px; border-radius: 99px; background: var(--violet-50); color: #7c4ddf; font-size: 12.5px; font-weight: 600; }

.shop { display: flex; flex-direction: column; gap: 7px; }
.shop-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .03em; color: var(--ink-2); margin-bottom: 4px; }
.shop-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line-2); font-size: 13.5px; animation: pop .4s var(--ease) both; transition: opacity .4s; }
.shop-row .box { width: 18px; height: 18px; border-radius: 6px; border: 2px solid #d9cfd7; transition: background .25s, border-color .25s; }
.shop-row .n { flex: 1; }
.shop-row.got { opacity: .45; }
.shop-row.got .box { background: var(--green); border-color: var(--green); }
.shop-row.got .n { text-decoration: line-through; }
.urg { padding: 3px 8px; border-radius: 99px; font-size: 11px; font-weight: 700; }
.urg.now { background: #ffe4e6; color: #e11d48; } .urg.soon { background: #fff1d6; color: #b45309; } .urg.stock { background: #dcfce7; color: #15803d; }

.ask { display: flex; flex-direction: column; gap: 8px; }
.ask .bubble { max-width: 92%; font-size: 13.5px; animation: none; }
.ask .q { align-self: flex-end; background: var(--grad); color: #fff; border-radius: 18px 18px 6px 18px; }
.ask .a { align-self: flex-start; background: rgba(255,255,255,.08); border: 1px solid var(--night-line); color: #fff; border-radius: 18px 18px 18px 6px; opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.ask .a.on { opacity: 1; transform: none; }
.ask .q:empty { visibility: hidden; }

.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tgl { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line-2); font-size: 13px; font-weight: 500; transition: background .3s; }
.tgl .sw { width: 34px; height: 20px; border-radius: 99px; background: #e2d9df; position: relative; transition: background .3s; }
.tgl .sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.tgl.on { background: var(--amber-50); }
.tgl.on .sw { background: linear-gradient(120deg, #ffb13d, #ff8a3d); }
.tgl.on .sw::after { transform: translateX(14px); }

.profiles { display: flex; gap: 10px; flex-wrap: wrap; }
.prof { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted); transition: transform .3s var(--ease); }
.prof i { width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 18px; color: #fff; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.prof.on { transform: translateY(-4px); color: var(--ink); }
.prof.on i { box-shadow: 0 0 0 3px #fff, 0 0 0 5.5px var(--coral); }

/* ── Recap phone ───────────────────────────────────────────────────────── */
.lock-time { position: absolute; top: 58px; left: 0; right: 0; text-align: center; color: #fff; text-shadow: 0 2px 10px rgba(80, 30, 60, .25); }
.lock-time b { display: block; font-family: var(--display); font-size: 62px; font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.lock-time small { font-size: 14px; font-weight: 500; }
.notif { position: absolute; left: 12px; right: 12px; top: 200px; padding: 12px 14px; border-radius: 20px; background: rgba(255,255,255,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px -10px rgba(60,20,60,.35); font-size: 12.5px; opacity: 0; transform: translateY(-16px) scale(.97); transition: opacity .5s, transform .6s var(--ease); }
.notif.on { opacity: 1; transform: none; }
.notif-head { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); margin-bottom: 4px; }
.notif-head img { width: 18px; height: 18px; }
.notif-head span { margin-left: auto; }
.notif b { font-size: 13.5px; }
.notif p { color: var(--ink-2); line-height: 1.4; }
.notif + .notif { top: 300px; }

/* ── Recap by text (SMS thread) ────────────────────────────────────────── */
.phone.light .phone-screen.sms { display: flex; flex-direction: column; gap: 6px; padding: 42px 12px 14px; height: 560px; }
.sms-head { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.sms-head img { width: 32px; height: 32px; }
.sms-head b { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.sms-time { text-align: center; font-size: 10.5px; color: var(--faint); margin: 4px 0 2px; }
.sms .bubble { max-width: 88%; padding: 8px 12px; font-size: 12.5px; line-height: 1.38; white-space: pre-line; animation: none; }
.sms .bubble.me { background: #34c759; }
.sms-soon { display: flex; align-items: center; gap: 8px; margin: 8px 0 2px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #7c4ddf; }
.sms-soon::before, .sms-soon::after { content: ''; flex: 1; height: 1px; background: #e4d9fb; }
.sms-soon ~ .bubble { opacity: .85; }
.text-link { color: var(--coral); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ── Devices ───────────────────────────────────────────────────────────── */
.devices { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: end; max-width: 1080px; margin: 0 auto; }
.devices .tablet { padding: 10px; border-radius: 26px; transform: translateY(40px); }
.devices .tablet img { border-radius: 17px; }

/* ── Steps ─────────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 30px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.step-n { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff; background: var(--grad); margin-bottom: 22px; box-shadow: var(--glow); }
.step h3 { margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }
.time { position: absolute; top: 30px; right: 26px; padding: 4px 10px; border-radius: 99px; background: var(--line-2); font-size: 12px; font-weight: 600; color: var(--muted); }

/* ── Plans teaser ──────────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { display: flex; flex-direction: column; padding: 32px; border-radius: 30px; background: #fff; border: 1px solid var(--line); }
.plan.pop { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow-lg); }
.plan-name { display: flex; justify-content: space-between; align-items: center; font-family: var(--display); font-size: 22px; font-weight: 700; }
.plan-name small { font-family: var(--font); font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--grad); color: #fff; }
.plan-who { margin: 6px 0 22px; color: var(--muted); font-size: 15px; }
.plan ul { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.plan li { display: flex; gap: 10px; font-size: 14.5px; color: var(--ink-2); }
.plan li::before { content: '✓'; color: var(--coral); font-weight: 800; }
.plan .btn { margin-top: auto; }

/* ── Audience ──────────────────────────────────────────────────────────── */
.homes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.home { padding: 32px; border-radius: 30px; background: var(--grad-soft); border: 1px solid var(--line-2); }
.home .avatars { margin-bottom: 22px; }
.home .avatars i { width: 40px; height: 40px; font-size: 15px; border-width: 3px; margin-left: -10px; }
.home .avatars i:first-child { margin-left: 0; }
.home h3 { font-size: 1.35rem; margin-bottom: 8px; }
.home p { color: var(--muted); font-size: 15px; }
.home .quote { margin-top: 18px; padding-top: 18px; border-top: 1px dashed #e8d9d2; font-size: 14px; color: var(--ink-2); font-style: italic; }

/* ── CTA ───────────────────────────────────────────────────────────────── */
.cta { padding: 40px 16px 120px; }
.cta-card { position: relative; overflow: hidden; max-width: 1180px; margin: 0 auto; padding: 104px 32px; border-radius: 42px; text-align: center; color: #fff;
  background: radial-gradient(60% 80% at 25% 0%, rgba(255, 138, 61, .55), transparent 70%), radial-gradient(50% 70% at 85% 100%, rgba(155, 107, 255, .55), transparent 70%), var(--night); }
.cta-card::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 70% at 50% 30%, #000 20%, transparent 75%); }
.cta-card > * { position: relative; z-index: 1; }
.cta-card h2 { max-width: 15ch; margin: 0 auto 20px; }
.cta-card h2 em { background: linear-gradient(120deg, #ffc08a, #ff9aa8 50%, #c9b0ff); -webkit-background-clip: text; background-clip: text; }
.cta-card p { max-width: 460px; margin: 0 auto 36px; color: var(--night-muted); font-size: 1.1rem; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--paper); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 12px; max-width: 280px; }
.footer h4 { font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--muted); }
.footer ul a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--faint); }

/* ── Motion ────────────────────────────────────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s var(--ease); }
.js .stagger.in > * { opacity: 1; transform: none; }
.stagger.in > :nth-child(2) { transition-delay: .07s; } .stagger.in > :nth-child(3) { transition-delay: .14s; }
.stagger.in > :nth-child(4) { transition-delay: .21s; } .stagger.in > :nth-child(5) { transition-delay: .28s; }
.stagger.in > :nth-child(6) { transition-delay: .35s; } .stagger.in > :nth-child(7) { transition-delay: .42s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .stage .tablet { transform: none; }
}

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 1020px) {
  .float { display: none; }
  .split, .devices { grid-template-columns: 1fr; gap: 56px; }
  .split.flip > :first-child { order: 0; }
  .devices .tablet { transform: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .s2, .s3 { grid-column: span 1; } .s4 { grid-column: span 2; }
  .steps, .plans, .homes { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 88px 0; }
  .nav-links, .nav-login { display: none; }
  .nav-toggle { display: grid; }
  .nav-bar { justify-content: space-between; }
  .bento, .reward { grid-template-columns: 1fr; }
  .s4 { grid-column: auto; }
  .night { margin: 0 8px; padding: 88px 0; border-radius: 30px; }
  .cta-card { padding: 72px 22px; border-radius: 30px; }
  .transcript { font-size: 19px; }
  .week { gap: 4px; }
}

/* ═══ Inner pages ═══════════════════════════════════════════════════════ */
.page-hero { position: relative; overflow: hidden; padding: 184px 0 96px; text-align: center; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); max-width: 14ch; margin: 22px auto; }
.page-hero .lead { margin: 0 auto 34px; }
.page-hero .ico-lg { width: 64px; height: 64px; margin: 0 auto 22px; border-radius: 22px; display: grid; place-items: center; font-size: 30px; background: #fff; box-shadow: var(--shadow); }
.page-hero .ico-lg svg { width: 30px; height: 30px; color: var(--coral); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 13.5px; color: var(--ink-2); }
.chip b { color: var(--coral); font-weight: 600; }
.night .chip { background: rgba(255,255,255,.07); border-color: var(--night-line); color: #fff; box-shadow: none; }
.caption { text-align: center; font-size: 14px; color: var(--faint); margin-top: 18px; }
.note { display: flex; gap: 12px; align-items: flex-start; max-width: 640px; margin: 0 auto; padding: 16px 20px; border-radius: 18px; background: var(--violet-50); color: #5b3fb0; font-size: 14.5px; }

/* Views strip (chores page) */
.views { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.view { padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.view .ico { margin-bottom: 14px; }
.view h3 { font-size: 1.05rem; margin-bottom: 4px; }
.view p { font-size: 14px; color: var(--muted); }

/* ── Fair rotation scene ───────────────────────────────────────────────── */
.rotate { padding: 24px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.rot-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.rot-head b { font-family: var(--display); font-size: 18px; }
.rot-head small { color: var(--faint); font-size: 13px; }
.rot-grid { display: grid; grid-template-columns: 70px repeat(4, 1fr); gap: 8px; align-items: center; }
.rot-grid > span { font-size: 12px; color: var(--faint); text-align: center; }
.rot-grid > span:first-child { text-align: left; }
.rot-who { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.rot-who i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; color: #fff; }
.rot-cell { height: 42px; border-radius: 12px; background: var(--line-2); display: grid; place-items: center; font-size: 13px; font-weight: 600; color: transparent; transition: background .35s, color .35s, transform .45s var(--ease); transform: scale(.9); }
.rot-cell.on, .rot-cell:not([data-c]) { color: #fff; transform: none; }
.rot-cell.on[data-c="sam"] { background: var(--sam); } .rot-cell.on[data-c="maya"] { background: var(--maya); }
.rot-cell.on[data-c="alex"] { background: var(--alex); } .rot-cell.on[data-c="leo"] { background: var(--leo); }
.rot-tally { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--muted); opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s var(--ease); }
.rot-tally.on { opacity: 1; transform: none; }
.rot-tally b { color: var(--ink); }

/* ── Aisle sort scene ──────────────────────────────────────────────────── */
.sort { padding: 24px; border-radius: 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.sort-label { font-size: 12.5px; font-weight: 600; color: var(--coral); margin-bottom: 14px; }
.sort-raw { display: flex; flex-wrap: wrap; gap: 8px; transition: opacity .4s, max-height .5s var(--ease), margin .5s; max-height: 200px; }
.chipi { padding: 7px 12px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); font-size: 13.5px; opacity: 0; transform: translateY(8px) scale(.95); transition: opacity .3s, transform .4s var(--ease); }
.chipi.on { opacity: 1; transform: none; }
.sort.sorted .sort-raw { opacity: 0; max-height: 0; margin: 0; overflow: hidden; }
.sort-out { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sort:not(.sorted) .sort-out { display: none; }
.sort-group { padding: 14px; border-radius: 16px; background: var(--cream); border: 1px solid var(--line-2); opacity: 0; transform: translateY(10px); transition: opacity .35s, transform .45s var(--ease); }
.sort-group.on { opacity: 1; transform: none; }
.sort-group h4 { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted); margin-bottom: 8px; }
.sort-group div { font-size: 14px; padding: 3px 0; }

/* ── Shopping-mode phone ───────────────────────────────────────────────── */
.phone.light .phone-screen { background: #fff; padding: 46px 16px 16px; height: 540px; }
.ck-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 4px; }
.ck-top b { font-family: var(--display); font-size: 21px; }
.ck-left { font-size: 13px; font-weight: 600; color: var(--coral); }
.ck-sub { font-size: 12.5px; color: var(--faint); margin-bottom: 16px; }
.ck-row { display: flex; align-items: center; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line-2); font-size: 15px; font-weight: 500; transition: opacity .35s; }
.ck-row .box { width: 24px; height: 24px; border-radius: 8px; border: 2px solid #d9cfd7; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s; }
.ck-row .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; }
.ck-row .n { flex: 1; }
.ck-row .by { font-size: 11.5px; color: var(--faint); opacity: 0; transition: opacity .3s; }
.ck-row.got { opacity: .5; }
.ck-row.got .box { background: var(--green); border-color: var(--green); transform: scale(1.08); }
.ck-row.got .box svg { opacity: 1; }
.ck-row.got .n { text-decoration: line-through; }
.ck-row.got .by { opacity: 1; }

/* ── Smart home room scene ─────────────────────────────────────────────── */
.room { --glow-a: .85; position: relative; overflow: hidden; padding: 24px; border-radius: 30px; background: var(--night-2); border: 1px solid var(--night-line); color: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.room::before { content: ''; position: absolute; left: 10%; right: 10%; top: -40%; height: 90%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 190, 110, var(--glow-a)), transparent); opacity: .55; transition: background .8s ease; pointer-events: none; }
.room > * { position: relative; }
.room-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 13px; color: var(--night-muted); }
.room-head b { color: #fff; font-family: var(--display); font-size: 18px; }
.devs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dev { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid var(--night-line); transition: background .4s, border-color .4s; }
.dev .t { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.dev .val { display: block; margin-top: 6px; font-size: 12.5px; color: var(--night-muted); }
.dev.on { background: rgba(255, 176, 90, .14); border-color: rgba(255, 190, 120, .35); }
.dev.on .val { color: #ffcf9e; }
.lvl { height: 6px; margin-top: 8px; border-radius: 99px; background: rgba(255,255,255,.1); overflow: hidden; }
.lvl span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffb13d, #ff8a3d); transition: width .8s var(--ease); }
.scenes-row { display: flex; gap: 8px; margin-top: 16px; }
.scene-btn { flex: 1; padding: 12px; border-radius: 14px; text-align: center; font-size: 13.5px; font-weight: 600; background: rgba(255,255,255,.07); border: 1px solid var(--night-line); transition: background .3s, transform .2s; }
.scene-btn.active { background: var(--grad); border-color: transparent; }
.scene-btn.press { transform: scale(.94); }

/* ── Pricing ───────────────────────────────────────────────────────────── */
.price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0 4px; }
.price b { font-family: var(--display); font-size: 3.2rem; font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.price span { color: var(--muted); font-size: 15px; }
.plan .plan-who { margin: 2px 0 22px; }
.plan li.no { color: var(--faint); }
.plan li.no::before { content: '—'; color: #d3c8cf; }
.table-wrap { overflow-x: auto; border-radius: 26px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-sm); }
.ctable { width: 100%; min-width: 620px; border-collapse: collapse; }
.ctable th { padding: 20px 16px; font-size: 14px; font-weight: 600; text-align: center; background: var(--cream); border-bottom: 1px solid var(--line); }
.ctable td { padding: 15px 16px; text-align: center; font-size: 15px; border-bottom: 1px solid var(--line-2); }
.ctable th:first-child, .ctable td:first-child { text-align: left; padding-left: 26px; }
.ctable tr:last-child td { border-bottom: 0; }
.ctable .us { background: rgba(255, 94, 108, .04); }
.ctable th.us { background: var(--coral-50); color: var(--coral); }
.ctable .group td { padding-top: 26px; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); background: #fff; }
.y { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--green-50); color: #16a34a; font-size: 13px; font-weight: 800; }
.n { color: #d3c8cf; font-weight: 600; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 740px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.faq-item.open { border-color: #ffd2c4; box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; text-align: left; font-size: 16px; font-weight: 600; }
.faq-icon { width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: var(--muted); font-size: 18px; transition: transform .25s, background .2s, color .2s; }
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--coral-50); color: var(--coral); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; padding: 0 24px; color: var(--muted); font-size: 15px; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > div { padding-bottom: 22px; }

/* ── Related features ──────────────────────────────────────────────────── */
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel { display: flex; gap: 16px; align-items: center; padding: 22px; border-radius: 22px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.rel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rel b { display: block; font-family: var(--display); font-size: 17px; }
.rel small { color: var(--muted); font-size: 13.5px; }
.rel .arrow { margin-left: auto; color: var(--faint); }

@media (max-width: 1020px) {
  .views, .related { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .views, .related, .sort-out, .devs { grid-template-columns: 1fr; }
  .rot-grid { grid-template-columns: 56px repeat(4, 1fr); gap: 6px; }
  .phone { width: 250px; }
}

/* ── Legal pages ───────────────────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 44px; border-radius: 30px; background: #fff; border: 1px solid var(--line); }
.legal h2 { font-size: 1.5rem; margin: 40px 0 12px; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--ink-2); font-size: 16px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 20px; display: flex; flex-direction: column; gap: 8px; }
.legal a { color: var(--coral); text-decoration: underline; text-underline-offset: 3px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14.5px; }
.legal th, .legal td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.legal th { font-weight: 600; background: var(--cream); }
.updated { text-align: center; font-size: 14px; color: var(--faint); margin-top: -14px; }
@media (max-width: 720px) { .legal { padding: 26px 20px; border-radius: 22px; } .legal table { font-size: 13.5px; } }

/* ── Setup guide ───────────────────────────────────────────────────────── */
.setup-hero { padding-bottom: 120px; }
.setup-hero .stage::before { top: 12%; bottom: 12%; filter: blur(70px); opacity: .7; }
.setup-hero .tablet { box-shadow: 0 30px 60px -28px rgba(70, 30, 90, .35), 0 10px 20px -12px rgba(70, 30, 90, .18), inset 0 0 0 1px rgba(255,255,255,.06); }
.jump { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; max-width: 720px; margin: 0 auto; }
.jump .chip { transition: transform .2s, box-shadow .2s; }
.jump .chip:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
[id] { scroll-margin-top: 96px; }

.picks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pick { display: flex; flex-direction: column; padding: 26px; border-radius: 26px; background: #fff; border: 1px solid var(--line); }
.pick.top { border: 1.5px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.pick-tag { align-self: flex-start; margin-bottom: 16px; padding: 4px 10px; border-radius: 99px; background: var(--line-2); font-size: 12px; font-weight: 600; color: var(--muted); }
.pick.top .pick-tag { background: var(--grad); color: #fff; }
.pick h3 { font-size: 1.2rem; margin-bottom: 2px; }
.pick .meta { margin-bottom: 16px; font-size: 13px; color: var(--faint); }
.pick ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pick li { display: flex; gap: 8px; font-size: 14px; color: var(--ink-2); }
.pick li::before { content: '✓'; color: var(--coral); font-weight: 800; }
.pick li.con { color: var(--muted); }
.pick li.con::before { content: '–'; color: var(--faint); }

.sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.size { padding: 26px; border-radius: 26px; background: var(--grad-soft); border: 1px solid var(--line-2); }
.size.best { border-color: #ffd2c4; box-shadow: var(--shadow-sm); }
.size .scr { display: block; aspect-ratio: 16 / 10; margin-bottom: 20px; border: 6px solid #2b2438; border-radius: 12px; background: linear-gradient(160deg, #ffd9bd, #ffb9c6 45%, #c9b3ff); }
.size b { display: block; font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
.size h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.size p { font-size: 14px; color: var(--muted); }

.plats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.plat { padding: 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); }
.plat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.plat-head h3 { font-size: 1.15rem; }
.plat-head small { display: block; font-size: 13px; color: var(--faint); }
.plat ol { counter-reset: s; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.plat ol li { counter-increment: s; position: relative; padding-left: 38px; font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.plat ol li::before { content: counter(s); position: absolute; left: 0; top: -1px; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: #fff; background: var(--grad); }
.plat .path { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; color: var(--muted); }
.plat b { font-weight: 600; color: var(--ink); }
.plat .tip { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }
.note b { font-weight: 650; }

.wall-fig { margin: 0; padding: 20px; border-radius: 30px; background: #fff; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.wall-fig svg { display: block; width: 100%; height: auto; }
.wall-fig figcaption { margin-top: 12px; text-align: center; font-size: 13px; color: var(--muted); }

@media (max-width: 1020px) {
  .picks { grid-template-columns: 1fr 1fr; }
  .sizes, .plats { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .picks { grid-template-columns: 1fr; }
  .phone.light .phone-screen.sms { height: 540px; }
}
