/* The colors and type match the app's screens (the design canvas):
   warm paper, deep ink, and the purple of the app's buttons. */

@font-face { font-family: "Nunito"; font-weight: 400; font-display: swap; src: url("../fonts/nunito-400.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/nunito-700.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/nunito-800.woff2") format("woff2"); }

:root {
  --paper: #fff6e9;
  --card: #ffffff;
  --ink: #2a2140;
  --muted: #6d6585;
  --line: #eadcc6;
  --purple: #6b4eff;
  --purple-dark: #4b31d1;
  --purple-soft: #efeaff;
  --yellow: #ffcf3a;
  --pink: #ff6f91;
  --radius: 24px;
  --wrap: 1120px;
  --gutter: clamp(18px, 4vw, 40px);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
svg { display: block; }
a { color: var(--purple-dark); }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 6.4vw, 68px); }
h2 { font-size: clamp(32px, 4.6vw, 48px); }
h3 { font-size: 22px; line-height: 1.2; }
strong { font-weight: 800; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 28px; border-radius: 18px;
  background: var(--purple); color: #fff; box-shadow: 0 5px 0 var(--purple-dark);
  font: 800 20px/1.1 var(--font); text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--purple-dark); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--purple-dark); }
.btn small { display: block; margin-top: 4px; font-size: 14px; font-weight: 700; opacity: .9; }
.btn--big { min-height: 68px; padding: 14px 34px; font-size: 22px; flex-direction: column; gap: 0; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 10; background: rgba(255, 246, 233, .94); border-bottom: 2px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 21px; font-weight: 800; text-decoration: none; }
.logo svg { width: 36px; height: 36px; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.top nav a:not(.btn) { padding: 8px 12px; border-radius: 999px; color: var(--ink); font-weight: 700; text-decoration: none; }
.top nav a:not(.btn):hover { background: var(--purple-soft); }
.top .btn { min-height: 44px; padding: 8px 18px; font-size: 17px; box-shadow: 0 4px 0 var(--purple-dark); }
@media (max-width: 760px) { .top nav a:not(.btn) { display: none; } }

/* ---------- hero ---------- */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(60px, 8vw, 100px); }
.hero .wrap { display: grid; gap: 40px; align-items: center; grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }
.chip { display: inline-block; margin-bottom: 18px; padding: 6px 14px; border-radius: 999px; background: var(--purple-soft); color: var(--purple-dark); font-size: 15px; font-weight: 800; }
.lede { margin: 22px 0 30px; max-width: 34em; color: var(--muted); font-size: clamp(19px, 2vw, 22px); }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 700; }
.ticks li::before { content: "\2713"; margin-right: 8px; color: var(--purple); font-weight: 800; }

/* A call with four faces, drawn in CSS: the picture of "together". */
.call { position: relative; padding: 18px; border-radius: 32px; background: var(--ink); box-shadow: 0 18px 40px rgba(42, 33, 64, .25); }
.call-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.face { aspect-ratio: 4 / 3; border-radius: 18px; display: flex; align-items: flex-end; padding: 10px 12px; color: #fff; font-size: 15px; font-weight: 800; }
.face--1 { background: linear-gradient(160deg, #8f7bff, var(--purple-dark)); }
.face--2 { background: linear-gradient(160deg, #ff9db4, #e0577a); }
.face--3 { background: linear-gradient(160deg, #ffe07a, #e9a922); color: var(--ink); }
.face--4 { background: linear-gradient(160deg, #8fe0c9, #2f9f86); }
.call-bar { margin-top: 14px; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 15px; font-weight: 700; }
.call-bar b { padding: 6px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); }

/* ---------- sections ---------- */
.pad { padding: clamp(64px, 8vw, 110px) 0; }
.band { background: var(--card); border-block: 2px solid var(--line); }
.kicker { display: inline-block; margin-bottom: 12px; color: var(--purple-dark); font-size: 15px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.section-lede { max-width: 38em; margin: 16px auto 0; color: var(--muted); font-size: 20px; }

.cards { display: grid; gap: 22px; margin-top: 44px; grid-template-columns: repeat(3, 1fr); text-align: left; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card { padding: 26px 26px 20px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 2px var(--line); }
.band .card { background: var(--paper); }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); }
.card .ico { width: 52px; height: 52px; margin-bottom: 16px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: var(--purple-soft); color: var(--purple-dark); }

.steps { display: grid; gap: 22px; margin: 44px auto 0; max-width: 880px; grid-template-columns: 1fr 1fr; counter-reset: step; text-align: left; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding: 26px 26px 22px 84px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 2px var(--line); counter-increment: step; }
.step::before { content: counter(step); position: absolute; left: 24px; top: 24px; width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--purple); color: #fff; font-size: 20px; font-weight: 800; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); }

.privacy-line { margin: 34px 0 0; text-align: center; font-weight: 700; }

/* ---------- get it ---------- */
.stores { display: grid; gap: 18px; margin: 40px auto 0; max-width: 720px; grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .stores { grid-template-columns: 1fr; } }
.store { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 2px var(--line); text-align: left; }
.store svg { flex: none; color: var(--purple-dark); }
.store b { display: block; font-size: 20px; }
.store span { color: var(--muted); font-size: 16px; }
.store .soon { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: var(--purple-soft); color: var(--purple-dark); font-size: 14px; font-weight: 800; white-space: nowrap; }

/* ---------- questions ---------- */
.faq { max-width: 780px; margin: 40px auto 0; }
.faq details { margin-bottom: 12px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 2px var(--line); }
.band .faq details { background: var(--paper); }
.faq summary { padding: 18px 22px; cursor: pointer; font-size: 19px; font-weight: 800; }
.faq .a { padding: 0 22px 6px; color: var(--muted); }

/* ---------- last call ---------- */
.last { padding: clamp(64px, 8vw, 100px) 0; background: var(--purple); color: #fff; text-align: center; }
.last p { max-width: 32em; margin: 16px auto 28px; font-size: 20px; opacity: .92; }
.last .btn { background: #fff; color: var(--purple-dark); box-shadow: 0 5px 0 var(--purple-dark); }

/* ---------- footer ---------- */
.foot { padding: 34px 0 40px; background: var(--ink); color: #e9e4f7; font-size: 16px; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.foot .logo { color: #fff; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot a { color: #fff; font-weight: 700; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .fine { width: 100%; margin: 6px 0 0; font-size: 14px; opacity: .8; }

/* ---------- privacy and support ---------- */
.page-head { padding: clamp(48px, 7vw, 80px) 0 36px; background: var(--purple-soft); }
.page-head .wrap, .doc .wrap { max-width: 780px; }
.page-head h1 { font-size: clamp(38px, 5.6vw, 56px); }
.page-head p { margin: 12px 0 0; color: var(--muted); font-weight: 700; }
.doc { padding: 44px 0 80px; }
.doc h2 { margin: 44px 0 14px; font-size: clamp(25px, 3vw, 32px); }
.doc h3 { margin: 28px 0 10px; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 6px 0; }
.doc .tldr { padding: 22px 26px; border-radius: var(--radius); background: var(--card); box-shadow: inset 0 0 0 2px var(--line); font-weight: 700; }
.doc .tldr p:last-child { margin: 0; }
.doc table { width: 100%; margin: 14px 0; border-collapse: collapse; font-size: 16px; }
.doc th, .doc td { padding: 10px 12px; border-bottom: 2px solid var(--line); text-align: left; vertical-align: top; }

/* ---------- not found ---------- */
.lost { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.lost p { margin: 16px auto 28px; color: var(--muted); font-size: 20px; }
