:root {
  --lit-1: #FF7386;
  --lit-2: #FF9D30;
  --lit-3: #FFEB43;
  --lit-4: #29E898;
  --lit-5: #4FB0FF;
  --lit-6: #B185FF;
}
.accent-1 { --tone: #FF7386; --tone-glow: rgba(255, 115, 134, 0.5); --tone-soft: rgba(255, 115, 134, 0.22); }
.accent-2 { --tone: #FF9D30; --tone-glow: rgba(255, 157, 48, 0.5); --tone-soft: rgba(255, 157, 48, 0.22); }
.accent-3 { --tone: #FFEB43; --tone-glow: rgba(255, 235, 67, 0.5); --tone-soft: rgba(255, 235, 67, 0.22); }
.accent-4 { --tone: #29E898; --tone-glow: rgba(41, 232, 152, 0.5); --tone-soft: rgba(41, 232, 152, 0.22); }
.accent-5 { --tone: #4FB0FF; --tone-glow: rgba(79, 176, 255, 0.5); --tone-soft: rgba(79, 176, 255, 0.22); }
.accent-6 { --tone: #B185FF; --tone-glow: rgba(177, 133, 255, 0.5); --tone-soft: rgba(177, 133, 255, 0.22); }
:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --text: #14151a;
  --muted: #5a5e6b;
  --card: #f1f2f6;
  --line: #d5d8e0;
  --accent: #6c45a8;
  --on-accent: #ffffff;
  --header-bg: rgba(255, 255, 255, 0.86);
  --glass: #0b0c11;
  --night-top: #10131c;
  --night-bottom: #05060a;
  --lead: #B7C2DC;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17181d;
    --text: #edeef2;
    --muted: #b3b7c3;
    --card: #212329;
    --line: #3a3e49;
    --accent: #c4a8ef;
    --on-accent: #17181d;
    --header-bg: rgba(23, 24, 29, 0.86);
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
.wrap { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 20; padding: 8px 14px; border-radius: 8px; background: var(--bg); }
section[id], .cta { scroll-margin-top: 76px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 10; background: var(--header-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
header.site .wrap { display: flex; gap: 12px 24px; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 900; letter-spacing: 0.12em; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
nav.site { display: flex; align-items: center; gap: 4px 20px; }
nav.site a { color: var(--muted); text-decoration: none; font-weight: 600; }
nav.site a:hover { color: var(--text); }
nav.site a.nav-cta { padding: 8px 16px; border-radius: 999px; background: var(--accent); color: var(--on-accent); }
nav.site a.nav-cta:hover { filter: brightness(1.08); color: var(--on-accent); }
@media (max-width: 720px) { nav.site a.nav-link { display: none; } }

/* Hero */
.hero { display: grid; gap: 32px; align-items: center; padding: 32px 0 40px; }
@media (min-width: 760px) { .hero { grid-template-columns: 1.1fr 1fr; padding-top: 56px; } }
.hero h1 { font-size: clamp(2.4rem, 7vw, 3.6rem); line-height: 1.05; margin: 0 0 12px; font-weight: 900; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 8px; max-width: 34em; }
.hero .window { max-width: 420px; justify-self: center; width: 100%; }

/* Store badges */
.store-row { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-top: 20px; }
.store-badge { display: inline-flex; border-radius: 10px; transition: transform 180ms ease, filter 180ms ease; }
.store-badge:hover { transform: translateY(-2px); filter: brightness(1.08); }
.store-badge:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.store-badge img { height: 54px; width: auto; }
.store-badge.google img { height: 80px; width: auto; margin: -13px -12px; }

/* Showcase: three phones in the night room */
.showcase { position: relative; display: flex; justify-content: center; align-items: flex-start; margin: 8px 0 48px; padding: 48px 12px 0; overflow: hidden; border-radius: 32px;
  background:
    radial-gradient(circle at 50% 55%, rgba(176, 132, 255, 0.30), transparent 55%),
    radial-gradient(circle at 8% 12%, rgba(84, 174, 255, 0.22), transparent 40%),
    radial-gradient(circle at 94% 80%, rgba(255, 160, 64, 0.18), transparent 40%),
    linear-gradient(var(--night-top), var(--night-bottom)); }
.showcase .phone { position: relative; width: 28%; max-width: 250px; margin-bottom: 48px; filter: drop-shadow(0 0 26px var(--tone-glow)) drop-shadow(0 18px 24px rgba(0, 0, 0, 0.55)); }
.showcase .center { z-index: 2; width: 32%; max-width: 290px; }
/* The side phones sit lower and tilt out; the room's edge crops their feet. */
.showcase .left { margin: 9% -4% -14% 0; transform: rotate(-6deg); }
.showcase .right { margin: 9% 0 -14% -4%; transform: rotate(6deg); }

/* Sections */
section { padding: 40px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 1.6rem; margin: 0 0 24px; }
.section-lead { color: var(--muted); margin: -12px 0 24px; max-width: 40em; }
.rules { display: grid; gap: 16px; }
@media (min-width: 760px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rule { display: flex; gap: 16px; align-items: center; background: var(--card); border-radius: 16px; padding: 16px; }
.rule img { width: 72px; flex: none; }
.rule p { margin: 0; }

/* Feature cards */
.features { display: grid; gap: 16px; padding: 0; margin: 0; list-style: none; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
.features li { background: var(--card); border-radius: 16px; padding: 18px 20px; }
.feature-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 4px; }
.feature-head strong { padding-top: 8px; }
.card-art { flex: none; width: 112px; height: 64px; margin: -4px -6px 0 0; }

/* Screenshot gallery */
section.screens { border-top: 0; padding-top: 0; }
section.screens > .wrap:first-child { border-top: 1px solid var(--line); padding-top: 40px; }
.screens-head { text-align: center; }
.screens-head .section-lead { margin-left: auto; margin-right: auto; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shot { display: flex; flex-direction: column; margin: 0; padding: 20px 16px 22px; border-radius: 24px; text-align: center;
  background: radial-gradient(circle at 50% 78%, var(--tone-soft), transparent 62%), linear-gradient(var(--night-top), var(--night-bottom)); }
.shot strong { display: block; color: #ffffff; font-size: 1.3rem; line-height: 1.15; font-weight: 800; }
.shot .lit { display: block; color: var(--tone); text-shadow: 0 0 14px var(--tone-glow); }
.shot .sub { display: block; margin-top: 8px; color: var(--lead); font-size: 0.92rem; line-height: 1.45; min-height: 2.9em; }
.shot img { display: block; width: 78%; margin: 14px auto 0; filter: drop-shadow(0 0 18px var(--tone-soft)) drop-shadow(0 12px 16px rgba(0, 0, 0, 0.5)); }
@media (max-width: 820px) {
  .gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(230px, 30%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; }
  .shot { scroll-snap-align: start; }
}
@media (max-width: 640px) { .gallery { grid-auto-columns: 74%; } }

/* FAQ */
.faq { max-width: 780px; }
.faq details { background: var(--card); border-radius: 14px; padding: 0 20px; margin-bottom: 10px; }
.faq details[open] { padding-bottom: 18px; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus { outline: none; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.faq summary::after { content: "+"; flex: none; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform 180ms ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; color: var(--muted); }

/* Download box */
section.cta { position: relative; overflow: hidden; width: calc(100% - 32px); max-width: 1100px; margin: 24px auto 48px; padding: 72px 24px; border: 0; border-radius: 36px; text-align: center; color: #ffffff;
  background:
    radial-gradient(circle at 50% 120%, rgba(176, 132, 255, 0.45), transparent 55%),
    radial-gradient(circle at 12% 10%, rgba(84, 174, 255, 0.22), transparent 38%),
    linear-gradient(var(--night-top), var(--night-bottom)); }
.cta h2 { position: relative; margin: 0 0 12px; font-size: clamp(2rem, 5.5vw, 3.4rem); line-height: 1.1; font-weight: 900; }
.cta p { position: relative; max-width: 34em; margin: 0 auto; color: var(--lead); font-size: 1.1rem; }
.cta .store-row { position: relative; justify-content: center; margin-top: 28px; }
.float-pane { position: absolute; width: 44px; height: 44px; border-radius: 9px; background: var(--tone); box-shadow: 0 0 28px var(--tone-glow); }
.float-pane.p1 { --tone: var(--lit-1); --tone-glow: rgba(255, 92, 120, 0.55); top: 34px; left: 8%; transform: rotate(-12deg); }
.float-pane.p2 { --tone: var(--lit-5); --tone-glow: rgba(70, 170, 255, 0.55); top: 56px; right: 9%; width: 32px; height: 32px; transform: rotate(10deg); }
.float-pane.p3 { --tone: var(--lit-3); --tone-glow: rgba(255, 236, 60, 0.5); bottom: 44px; left: 14%; width: 28px; height: 28px; transform: rotate(14deg); }
.float-pane.p4 { --tone: var(--lit-6); --tone-glow: rgba(176, 132, 255, 0.55); bottom: 30px; right: 6%; transform: rotate(-8deg); }
@media (max-width: 640px) { .float-pane.p2, .float-pane.p3 { display: none; } section.cta { padding: 64px 20px; } }

/* Legal pages */
.legal { max-width: 720px; padding-bottom: 56px; }
.legal h1 { font-size: 2rem; line-height: 1.15; }
.legal h2 { margin-top: 2rem; font-size: 1.15rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin: 0.25rem 0; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 0.95rem; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
footer.site p { margin: 0; flex-basis: 100%; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-badge, .faq summary::after { transition: none; }
}
