:root {
  --bg: #F0EFEA;
  --paper: #FAF9F5;
  --ink: #2E2F3A;
  --muted: #6B6A66;
  --line: #DCDAD2;
  --blue: #A8C8F0;
  --yellow: #F5C866;
  --rose: #C97B72;
  --hand: 'Gaegu', 'Comic Sans MS', cursive;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--sans);
}

a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 17px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--ink); }
.top nav .nav-cta { color: #fff; background: var(--ink); padding: 4px 12px; border-radius: 999px; }
.top nav .nav-cta:hover { color: #fff; }

/* hero */
.hero { text-align: center; padding: 8px 0 12px; }
.hero .mark { width: 72px; margin: 0 auto 8px; }
.hand { font-family: var(--hand); font-weight: 700; letter-spacing: .02em; }
.hero h1 { font-size: clamp(38px, 7vw, 56px); line-height: 1.05; margin: 0 0 6px; }
.hero p { font-size: 17px; color: var(--muted); max-width: 480px; margin: 0 auto 18px; }
.hero .tagline { font-family: var(--hand); font-weight: 700; font-size: 26px; color: var(--ink); max-width: none; margin-bottom: 4px; }
.hero .fineprint { font-size: 13px; margin: 10px auto 0; }
.hl { background: var(--blue); padding: 0 6px; }

/* store buttons */
.stores { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: #fff; text-decoration: none;
  padding: 8px 16px 8px 13px; border-radius: 12px; min-width: 160px;
  transition: transform .15s ease;
}
.store:hover { transform: translateY(-2px); }
.store svg { width: 22px; height: 22px; flex: none; fill: #fff; }
.store span { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.store small { font-size: 10px; opacity: .8; }
.store b { font-size: 16px; font-weight: 600; }

/* sections */
section { padding: 24px 0; }
.section-title { font-size: 32px; text-align: center; margin: 0 0 16px; }

/* story */
.story { display: grid; grid-template-columns: 250px 1fr; gap: 36px; align-items: center; max-width: 780px; margin: 0 auto; }
.story img { border-radius: 14px; box-shadow: 0 10px 30px rgba(46, 47, 58, .12); transform: rotate(-1.5deg); }
.story h2 { font-size: 32px; line-height: 1.1; margin: 0 0 10px; }
.story p { margin: 0 0 10px; }
.story .sign { font-family: var(--hand); font-size: 21px; margin: 8px 0 0; }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 820px; margin: 0 auto; }
.feature { text-align: center; }
.feature img { width: 100%; max-width: 210px; margin: 0 auto 10px; }
.feature h3 { font-family: var(--hand); font-size: 24px; margin: 0 0 2px; }
.feature p { color: var(--muted); margin: 0 auto; font-size: 15px; max-width: 250px; }

/* download nudge */
.cta { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 26px 20px; margin: 16px auto 8px; max-width: 820px; }
.cta h2 { font-size: 30px; margin: 0 0 4px; }
.cta p { color: var(--muted); margin: 0 0 16px; }

/* footer */
footer { padding: 16px 0 28px; text-align: center; color: var(--muted); font-size: 14px; }
.social { display: flex; justify-content: center; gap: 12px; margin-bottom: 12px; }
.social a {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
  transition: background .15s ease;
}
.social a:hover { background: var(--yellow); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.legal { display: flex; justify-content: center; gap: 6px 20px; flex-wrap: wrap; margin-bottom: 6px; }
.legal a { color: var(--ink); }
footer p { margin: 0; }

/* legal pages */
.doc { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px 40px; margin: 4px auto 0; }
.doc h1 { font-family: var(--hand); font-size: 42px; line-height: 1.1; margin: 0 0 6px; }
.doc .updated { color: var(--muted); margin: 0 0 20px; font-size: 14px; }
.doc h2 { font-size: 19px; margin: 28px 0 8px; }
.doc h3 { font-size: 16px; margin: 18px 0 4px; }
.doc p, .doc li { font-size: 15px; }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 4px; }
.doc .summary { background: #EEF4FC; border-radius: 14px; padding: 16px 20px; margin-bottom: 8px; }
.doc .summary p { margin: 0; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 10px 0; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.doc th { font-weight: 600; }
.doc .caps { text-transform: uppercase; font-size: 14px; }
.toc { columns: 2; column-gap: 32px; padding-left: 20px; margin-bottom: 0; }
.toc li { font-size: 15px; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding-top: 4px; }
  .story { grid-template-columns: 1fr; gap: 20px; }
  .story img { transform: none; max-width: 240px; margin: 0 auto; }
  /* a swipeable row instead of three stacked phones */
  .features {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 0 16px 8px; scrollbar-width: none;
  }
  .features::-webkit-scrollbar { display: none; }
  .feature { flex: 0 0 60%; scroll-snap-align: center; }
  .feature img { max-width: 100%; }
  .section-title, .story h2, .cta h2 { font-size: 28px; }
  .hero .tagline { font-size: 23px; }
  .story h2 { text-align: center; }
  .doc { padding: 24px 18px; border-radius: 16px; }
  .doc h1 { font-size: 36px; }
  .doc table, .doc thead, .doc tbody, .doc tr, .doc th, .doc td { display: block; }
  .doc thead { display: none; }
  .doc td { border: 0; padding: 2px 0; }
  .doc tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .doc td:first-child { font-weight: 600; }
  .toc { columns: 1; }
}
