@font-face { font-family: Inter; src: url(fonts/Inter-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/Inter-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/Inter-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: Inter; src: url(fonts/Inter-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(fonts/PlusJakartaSans-ExtraBold.ttf) format("truetype"); font-weight: 800; font-display: swap; }

/* The app's own palette: ink, paper, marigold. */
:root {
  --ink: #15131F;
  --paper: #F6F5F2;
  --surface: #FFFFFF;
  --marigold: #FFB020;
  --note: #FFF6DF;
  --muted: #6B6879;
  --line: #E4E2DC;
  --on-ink: #F6F5F2;
  --on-ink-muted: #ABA8BC;
  --display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #F3F2EE;
    --paper: #15131F;
    --surface: #201E2D;
    --note: #2C2618;
    --muted: #A9A6B8;
    --line: #2E2C3C;
    --on-ink: #15131F;
    --on-ink-muted: #56536A;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Plus Jakarta's full stop carries a wide right side at display sizes. */
.dot { letter-spacing: -0.14em; }

h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; margin: 0; }

/* Header */
header.site { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
nav.site { display: flex; gap: 26px; }
nav.site a { font-weight: 500; font-size: 15px; text-decoration: none; color: var(--muted); }
nav.site a:hover { color: var(--ink); }

/* Hero: the note field is the headline's answer. */
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 56px; align-items: center; padding: 48px 0 88px; }
.hero h1 { font-size: clamp(44px, 7vw, 88px); line-height: 0.98; letter-spacing: -0.04em; }
.note {
  margin: 34px 0 30px; max-width: 560px;
  background: var(--note); border: 2.5px solid var(--marigold); border-radius: 22px;
  padding: 22px 26px; min-height: 86px;
  font-size: clamp(21px, 2.4vw, 27px); font-weight: 500; line-height: 1.35;
}
.note .caret { display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -0.18em; background: var(--ink); animation: blink 1.05s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .note .caret { animation: none; } }
.lead { font-size: 19px; color: var(--muted); max-width: 30em; margin: 0 0 30px; }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 54px; padding: 0 24px; border-radius: 16px;
  background: var(--ink); color: var(--paper);
  font-weight: 600; text-decoration: none;
}
.store:hover { opacity: 0.9; }
.store.secondary { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.store svg { width: 20px; height: 20px; flex: none; }
.terms { margin: 16px 0 0; font-size: 15px; color: var(--muted); }

.phone { width: min(330px, 100%); margin: 0 auto; border-radius: 48px; padding: 9px; background: #000; box-shadow: 0 40px 80px -30px rgba(21, 19, 31, 0.45); }
.phone img { border-radius: 40px; width: 100%; height: auto; aspect-ratio: 9 / 20; object-fit: cover; }
.hero .phone { transform: rotate(2deg); }

/* Sections */
section.band { padding: 96px 0; }
section.band > h2, .section-head h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; max-width: 15em; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); max-width: 26em; }

/* How it works: a real sequence, so it is numbered. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; counter-reset: step; }
.steps li { counter-increment: step; border-top: 2.5px solid var(--ink); padding-top: 20px; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-weight: 800; font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.steps h3 { font-size: 25px; margin-bottom: 10px; }
.steps p { margin: 0; color: var(--muted); }

/* Screens strip */
.screens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.screens figure { margin: 0; }
.screens .phone { width: 100%; border-radius: 38px; padding: 7px; }
.screens .phone img { border-radius: 31px; }
.screens figcaption { margin-top: 18px; font-size: 15px; color: var(--muted); }
.screens figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: 16px; }

/* Privacy: a dark band of plain statements. */
.private { background: var(--ink); color: var(--on-ink); border-radius: 36px; padding: 72px 64px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; }
.private h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.04; }
.private > div > p { color: var(--on-ink-muted); margin: 18px 0 0; max-width: 24em; }
.private dl { margin: 0; display: grid; gap: 26px; }
.private dt { font-weight: 600; font-size: 18px; }
.private dd { margin: 4px 0 0; color: var(--on-ink-muted); }

/* Explainer video */
.film { position: relative; border-radius: 28px; overflow: hidden; background: #000; box-shadow: 0 40px 80px -40px rgba(21, 19, 31, 0.45); }
.film video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.film .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--marigold); color: #15131F;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px -8px rgba(21, 19, 31, 0.5);
  transition: transform 0.15s;
}
.film .play:hover { transform: translate(-50%, -50%) scale(1.06); }
.film .play svg { width: 38px; height: 38px; margin-left: 4px; }
.film .play[hidden] { display: none; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-of-type { padding-top: 0; }
.faq summary { font-weight: 600; font-size: 18px; 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(--muted); font-weight: 400; font-size: 22px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 10px 0 0; color: var(--muted); max-width: 36em; }

footer.site { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
footer.site div:last-child { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* Privacy policy and support pages */
article.doc { max-width: 700px; padding: 40px 0 96px; }
article.doc h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.04; margin: 0 0 10px; }
article.doc h2 { font-size: 23px; margin: 40px 0 8px; }
article.doc .meta { color: var(--muted); margin: 0 0 32px; }
article.doc p, article.doc li { color: var(--muted); }
article.doc strong { color: var(--ink); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 48px; padding-top: 16px; }
  .hero .phone { width: min(290px, 80%); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .screens { grid-template-columns: repeat(4, 62%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; scroll-padding: 24px; }
  .screens figure { scroll-snap-align: start; }
  .private { grid-template-columns: 1fr; padding: 48px 28px; gap: 36px; border-radius: 28px; }
  .film { border-radius: 18px; }
  .film .play { width: 68px; height: 68px; }
  .film .play svg { width: 28px; height: 28px; }
  .faq { grid-template-columns: 1fr; gap: 28px; }
  section.band { padding: 72px 0; }
}
@media (max-width: 560px) {
  nav.site a:not(:last-child) { display: none; }
}
