:root {
  --rose: #e8375a;
  --plum: #702a8e;
  --ink: #2a1b24;
  --muted: #6f5d67;
  --bg: #ffffff;
  --tint: #fbf1f4;
  --card: #ffffff;
  --line: #f0dde4;
  --link: #c4204a;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f6eef2;
    --muted: #bfaab5;
    --bg: #17101a;
    --tint: #21162a;
    --card: #2a1d31;
    --line: #3a2a42;
    --link: #ff7d9a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Rounded", "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.2; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; }
.brand img { border-radius: 9px; }
.topbar nav { display: flex; gap: 4px; }
.topbar nav a { color: var(--ink); text-decoration: none; padding: 6px 12px; border-radius: 99px; font-size: 15px; font-weight: 600; }
.topbar nav a:hover { background: var(--tint); }
.topbar nav a[aria-current="page"] { background: var(--rose); color: #fff; }
@media (max-width: 560px) {
  .brand span { display: none; }
  .topbar nav a { padding: 6px 10px; }
}

/* Hero */
.hero { background: linear-gradient(180deg, var(--rose), var(--plum)); color: #fff; text-align: center; padding: 64px 0 120px; position: relative; overflow: hidden; }
.hero-inner { position: relative; }
.hero-icon { margin: 0 auto 20px; border-radius: 28px; box-shadow: 0 12px 40px rgba(40, 8, 40, .35); }
.hero h1 { font-size: clamp(38px, 7vw, 64px); margin: 0; letter-spacing: -.5px; }
.hero-sub { font-size: clamp(20px, 3vw, 26px); margin: 4px 0 18px; color: #ffd6e0; font-weight: 600; }
.hero-lead { max-width: 560px; margin: 0 auto 28px; font-size: 19px; color: rgba(255, 255, 255, .92); }
.hero-note { margin: 18px 0 0; font-size: 15px; color: rgba(255, 255, 255, .8); }

/* Store buttons */
.stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.store { display: inline-flex; flex-direction: column; align-items: flex-start; min-width: 180px; padding: 8px 20px 9px; border-radius: 14px; background: #111; color: #fff; text-decoration: none; font-weight: 700; font-size: 20px; line-height: 1.15; border: 1px solid rgba(255, 255, 255, .25); }
.store small { font-weight: 500; font-size: 12px; opacity: .85; }
.store:hover { background: #000; }
.store-soon { background: rgba(255, 255, 255, .14); cursor: default; }
.private .store-soon { background: var(--tint); color: var(--muted); border-color: var(--line); }

/* Screenshots: all seven fit side by side on wide screens; on narrower ones they swipe, with the next one peeking in */
.screens { margin-top: -84px; position: relative; }
.screens-track { --gap: clamp(10px, 1.4vw, 18px); display: flex; gap: var(--gap); overflow-x: auto; padding: 0 20px 24px; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; max-width: 1720px; margin: 0 auto; }
.screens-track::-webkit-scrollbar { display: none; }
.screens-track img { flex: 0 0 auto; width: clamp(150px, calc((100vw - 40px - 6 * var(--gap)) / 7), 230px); border-radius: clamp(16px, 2vw, 26px); box-shadow: 0 14px 34px rgba(40, 8, 40, .22); scroll-snap-align: start; }
@media (min-width: 1250px) { .screens-track { justify-content: center; } }
@media (max-width: 1249px) { .screens-track img { width: clamp(150px, 27vw, 230px); } }
@media (max-width: 560px) { .screens-track img { width: 44vw; } }

/* Sections */
.section { padding: 64px 0; }
.section-tint { background: var(--tint); }
.section-title { font-size: clamp(26px, 4vw, 36px); margin: 0 0 12px; }
.section-lead { font-size: 19px; color: var(--muted); max-width: 680px; margin: 0 0 32px; }

/* Nine features: one column on phones, three on wider screens, so no row is left with a single card */
.features { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; color: var(--rose); }
.feature p { margin: 0; color: var(--muted); font-size: 16px; }

.story { display: grid; grid-template-columns: 1fr; gap: 32px; align-items: center; }
@media (min-width: 960px) { .story { grid-template-columns: 1fr 1fr; gap: 40px; } }
.story-text p { margin: 0 0 14px; }
.story-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.story-cards img { border-radius: 10px; box-shadow: 0 6px 18px rgba(40, 8, 40, .18); }
.story-cards a:nth-child(odd) img { transform: rotate(-1.5deg); }
.story-cards a:nth-child(even) img { transform: rotate(1.5deg); }
/* Between phone and desktop the story is full width, so the six cards sit in one row under it */
@media (min-width: 600px) and (max-width: 959px) { .story-cards { grid-template-columns: repeat(6, 1fr); } }

/* Small phones: a shorter hero so the screenshots come into view sooner */
@media (max-width: 560px) {
  .hero { padding: 40px 0 108px; }
  .hero-icon { width: 96px; height: 96px; border-radius: 22px; margin-bottom: 16px; }
  .hero-lead { font-size: 17px; }
  .section { padding: 48px 0; }
  .section-lead { font-size: 17px; }
  .doc { padding-top: 28px; }
  .doc-lead { font-size: 17px; }
}

.private { text-align: center; }
.private .section-lead { margin-left: auto; margin-right: auto; }
.adult-note { font-size: 15px; color: var(--muted); max-width: 560px; margin: -12px auto 28px; }

/* Policy and support pages */
.doc { max-width: 720px; padding-top: 40px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(32px, 5vw, 42px); margin: 0 0 6px; }
.doc h2 { font-size: 22px; margin: 34px 0 8px; }
.doc p, .doc ul { margin: 0 0 12px; }
.doc-date { color: var(--muted); margin-bottom: 24px; }
.doc-lead { font-size: 19px; }
.faq details { border: 1px solid var(--line); background: var(--card); border-radius: 14px; padding: 0 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style-position: outside; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Error pages */
.error-page { text-align: center; padding-top: 72px; padding-bottom: 96px; max-width: 640px; }
.error-page .error-code { font-size: clamp(72px, 16vw, 120px); font-weight: 800; line-height: 1; margin: 0 0 8px; background: linear-gradient(180deg, var(--rose), var(--plum)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { font-size: clamp(26px, 5vw, 36px); margin: 0 0 10px; }
.error-page p { color: var(--muted); margin: 0 0 28px; }
.error-links { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; }
.button { display: inline-block; padding: 10px 22px; border-radius: 99px; background: var(--rose); color: #fff; font-weight: 700; text-decoration: none; }
.button:hover { filter: brightness(1.08); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 24px 0; font-size: 15px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer p { margin: 0; }
.footer nav { display: flex; gap: 18px; }
.footer a { color: var(--muted); }
