/* Tokens mirror lib/core/theme/app_colors.dart */
@font-face { font-family: "Bricolage"; src: url("assets/fonts/BricolageGrotesque-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/Inter-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

:root {
  --ground: #f7f5fc; --surface: #fff; --ink: #1a1523; --muted: #5e5670;
  --on-ink-muted: #d7d0e6; --line: #e2dcee; --accent: #5b2ee0; --accent-soft: #e9e3fa;
  --yellow: #ffd23f; --pink: #ff7ab6; --teal: #2ec4b6; --orange: #ff8a3d;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--ground); line-height: 1.55; }
a { color: var(--accent); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: Bricolage, Inter, sans-serif; font-weight: 800; line-height: 1.05; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }

/* Header */
.nav { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: Bricolage, sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--ink); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 48px 0 96px; }
.eyebrow { display: inline-block; background: var(--accent-soft); color: var(--accent); font-weight: 600; font-size: .85rem; padding: 6px 12px; border-radius: 999px; margin-bottom: 20px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.highlight { background: linear-gradient(transparent 62%, var(--yellow) 62%); padding: 0 .08em; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; padding: 10px 18px; border-radius: 14px; min-width: 180px; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: .7rem; color: var(--on-ink-muted); line-height: 1.1; }
.store strong { display: block; font-size: 1.1rem; line-height: 1.2; }
.store:hover { background: var(--accent); }
.note { font-size: .85rem; color: var(--muted); margin-top: 12px; }

/* Sticker collage */
.collage { position: relative; aspect-ratio: 1; max-width: 460px; justify-self: center; width: 100%; }
.phone { position: absolute; inset: 6% 18%; background: var(--surface); border: 1px solid var(--line); border-radius: 36px; box-shadow: 0 30px 60px -20px rgba(26,21,35,.25); padding: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; }
.phone .title { grid-column: 1 / -1; text-align: right; font-family: Bricolage, sans-serif; font-weight: 800; font-size: 1.15rem; margin: 6px 0 4px; }
.float { position: absolute; width: 22%; aspect-ratio: 1; animation: bob 5s ease-in-out infinite; }
.float .sticker { width: 100%; height: 100%; border-width: 5px; }
.float svg { width: 100%; height: 100%; filter: drop-shadow(0 8px 14px rgba(26,21,35,.25)); rotate: 8deg; }
.f1 { top: 2%; left: 2%; }
.f2 { top: 28%; right: 0; animation-delay: -1.5s; }
.f3 { bottom: 4%; left: 6%; animation-delay: -3s; }

/* Die-cut sticker, mirrors lib/core/widgets/sticker_art.dart */
.sticker { aspect-ratio: 1; background: var(--c); border: 3px solid #fff; border-radius: 38%; box-shadow: 0 4px 12px rgba(26,21,35,.16); rotate: var(--a, 0deg); display: flex; align-items: center; justify-content: center; gap: 16%; }
.sticker.circle { border-radius: 50%; }
.sticker.drop { border-radius: 50% 50% 50% 14%; }
.sticker.pill { border-radius: 30% 60% 60% 30% / 30% 60% 60% 30%; }
.sticker i { width: 12%; height: 16%; background: var(--ink); border-radius: 999px; }
@keyframes bob { 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

/* Sections */
section { padding: 80px 0; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; counter-reset: step; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; text-align: left; }
.card .num { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-family: Bricolage, sans-serif; font-weight: 800; margin-bottom: 16px; }
.card p { color: var(--muted); margin: 0; }

.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.chip { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-weight: 600; }
.chip.live { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip span { font-weight: 400; color: var(--muted); font-size: .85rem; margin-left: 6px; }
.chip.live span { color: var(--on-ink-muted); }

.cta { background: var(--accent); color: #fff; border-radius: 32px; padding: 64px 32px; text-align: center; }
.cta .lede { color: #e9e3fa; margin-inline: auto; }
.cta .stores { justify-content: center; }
.cta .store { background: #fff; color: var(--ink); }
.cta .store small { color: var(--muted); }
.cta .store:hover { background: var(--yellow); }

footer { padding: 40px 0 56px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer a { color: var(--muted); margin-left: 20px; }

/* Legal pages */
.legal { max-width: 720px; padding: 40px 0 80px; }
.legal h1 { font-size: 2.6rem; }
.legal h2 { font-size: 1.4rem; margin-top: 2em; }
.legal .updated { color: var(--muted); }
.draft { background: #fff4d6; border: 1px solid var(--yellow); border-radius: 12px; padding: 12px 16px; margin-bottom: 24px; font-size: .9rem; }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; gap: 24px; }
  .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 56px 0; }
}
