@font-face { font-family: 'Fredoka'; src: url(fonts/fredoka.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(fonts/figtree.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }

:root {
  --mist: #F5F3FB; --ink: #2B2340; --muted: #6E6880; --line: #E6E1F3;
  --grape: #6B5CC4; --grape-deep: #5A4AB8; --grape-shadow: #3B2E8A;
  --peach: #FFB38A; --butter: #FFD27A; --mint: #7FDCB4; --pink: #FF8FA3;
  --card: #FFFFFF;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--mist); color: var(--ink); font: 17px/1.6 'Figtree', system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .display { font-family: 'Fredoka', 'Figtree', sans-serif; font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
a { color: var(--grape); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--mist) 88%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: 'Fredoka'; font-weight: 600; font-size: 21px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--grape); }
.nav-links a.btn, .nav-links a.btn:hover { color: #fff; }

/* party button — matches the app */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 17px 'Fredoka'; text-decoration: none; color: #fff; background: var(--grape);
  padding: 14px 24px; border-radius: 16px; box-shadow: 0 5px 0 var(--grape-shadow); transition: transform .08s, box-shadow .08s; border: 0; cursor: pointer; }
.btn:hover { background: var(--grape-deep); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--grape-shadow); }
.btn.light { background: #fff; color: var(--grape); box-shadow: 0 5px 0 #D9D3EE; }
.btn.small { padding: 9px 16px; font-size: 15px; border-radius: 12px; box-shadow: 0 4px 0 var(--grape-shadow); }
.soon { font-size: 13px; color: var(--muted); margin-top: 12px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero .wordmark { width: min(520px, 100%); margin: 0 0 22px -8px; }
.hero h1 { font-size: clamp(34px, 4.2vw, 50px); color: var(--ink); max-width: 13em; text-wrap: balance; }
.hero p.lead { font-size: 20px; color: var(--muted); margin: 18px 0 30px; max-width: 30em; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 500px; justify-self: center; width: 100%; }
.hero-art .icon { position: absolute; inset: 9%; border-radius: 22.5%; box-shadow: 0 40px 80px -30px rgba(59,46,138,.55); transform: rotate(-4deg); }
.confetti { position: absolute; border-radius: 50%; }

/* sections */
section { padding: 96px 0; }
.kicker { font: 600 15px 'Figtree'; color: var(--grape); margin: 0 0 10px; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); }
.section-head p { color: var(--muted); font-size: 19px; margin: 14px 0 0; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: var(--card); border-radius: 24px; padding: 28px; box-shadow: 0 6px 0 var(--line); }
.feature .badge { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; margin-bottom: 18px; }
.feature h3 { font-size: 22px; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }

/* app screenshots */
.peek { padding-top: 24px; }
.phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.phones figure { margin: 0; text-align: center; }
.phones figure:nth-child(even) { margin-top: 48px; }
.phone { border-radius: 38px; padding: 8px; background: #fff; box-shadow: 0 6px 0 var(--line), 0 30px 60px -30px rgba(59,46,138,.45); }
.phone img { border-radius: 30px; width: 100%; height: auto; }
.phones figcaption { font: 600 18px 'Fredoka'; margin-top: 16px; }

/* how it works */
.how { background: #fff; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: s; }
.step { text-align: center; padding: 0 12px; }
.step .num { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; font: 600 28px 'Fredoka'; color: var(--ink); }
.step h3 { font-size: 22px; margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }

/* rewards strip */
.rewards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.reward { border-radius: 24px; padding: 28px; color: var(--ink); }
.reward .big { font: 600 40px 'Fredoka'; }
.reward h3 { font-size: 22px; margin: 6px 0 6px; }
.reward p { margin: 0; opacity: .8; }

/* pricing */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 880px; margin: 0 auto; }
.plan { background: #fff; border-radius: 28px; padding: 34px; box-shadow: 0 6px 0 var(--line); position: relative; }
.plan.featured { background: var(--grape); color: #fff; box-shadow: 0 8px 0 var(--grape-shadow); }
.plan .tag { position: absolute; top: -14px; right: 28px; background: var(--butter); color: var(--ink); font: 600 14px 'Fredoka'; padding: 6px 14px; border-radius: 999px; }
.plan h3 { font-size: 24px; }
.plan .price { font: 600 46px 'Fredoka'; margin: 14px 0 0; }
.plan .price small { font-size: 18px; font-weight: 500; opacity: .75; }
.plan .alt { margin: 2px 0 22px; opacity: .75; font-size: 15px; }
.plan ul { list-style: none; padding: 0; margin: 0; }
.plan li { padding: 8px 0 8px 32px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%232B2340' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.plan.featured li::before { background-color: var(--butter); }
.fine { text-align: center; color: var(--muted); font-size: 14px; margin-top: 28px; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: #fff; border-radius: 18px; padding: 20px 24px; margin-bottom: 12px; box-shadow: 0 4px 0 var(--line); }
.faq summary { font: 600 19px 'Fredoka'; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--grape); font-size: 24px; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* cta + footer */
.cta { background: var(--grape); color: #fff; border-radius: 36px; padding: 64px 32px; text-align: center; position: relative; overflow: hidden; }
.cta h2 { font-size: clamp(30px, 3.6vw, 42px); }
.cta p { opacity: .85; font-size: 19px; margin: 12px 0 28px; }
footer { padding: 48px 0 56px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--grape); }

/* simple pages (support) */
.page { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.page h1 { font-size: 42px; margin-bottom: 12px; }
.page .lead { font-size: 19px; color: var(--muted); }
.contact-card { background: #fff; border-radius: 24px; padding: 28px; box-shadow: 0 6px 0 var(--line); margin: 28px 0 40px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.contact-card h2 { font-size: 22px; }
.contact-card p { margin: 4px 0 0; color: var(--muted); }

@media (max-width: 860px) {
  .hero .wrap, .features, .steps, .rewards, .plans { grid-template-columns: 1fr; }
  .phones { grid-template-columns: 1fr 1fr; gap: 18px; }
  .phones figure:nth-child(even) { margin-top: 32px; }
  .hero { padding-top: 28px; }
  .hero-art { max-width: 340px; order: -1; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 64px 0; }
}
