/* Sticker Book, from Design.md: white stickers with thick white borders on a dotted lilac field. */

@font-face {
  font-family: 'Fredoka';
  src: url('fonts/Fredoka_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand_600SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: 'Quicksand';
  src: url('fonts/Quicksand_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --field: #f1ebff;
  --dot: rgba(59, 49, 96, 0.1);
  --surface: #ffffff;
  --ink: #3b3160;
  --ink-soft: #6d5f9c;
  --ink-muted: #9b8fcb;
  --rule: #ede6ff;
  --mint: #7ddcb6;
  --purple: #7a5cd9;
  --pink: #ff8fa9;
  --yellow: #ffde7d;
  --shadow-card: 0 14px 26px rgba(59, 49, 96, 0.16);
  --shadow-chip: 0 8px 18px rgba(59, 49, 96, 0.14);
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  background-color: var(--field);
  background-image: radial-gradient(var(--dot) 1px, transparent 1.5px);
  background-size: 24px 24px;
  color: var(--ink);
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.55;
}

a { color: var(--purple); font-weight: 700; }

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 26px;
}

.sticker {
  background: var(--surface);
  border: 8px solid var(--surface);
  border-radius: 36px;
  box-shadow: var(--shadow-card);
}

/* --- logo lockup ---------------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 30px 16px 22px;
  transform: rotate(-2deg);
  text-decoration: none;
  color: var(--ink);
}
.logo.small { padding: 10px 22px 10px 14px; gap: 12px; border-radius: 28px; }
.logo.small .mark { width: 56px; height: 50px; }
.logo.small .word-top { font-size: 13px; }
.logo.small .word { font-size: 26px; }

.mark { width: 96px; height: 84px; flex: none; }
.word-top, .word { font-family: 'Fredoka', sans-serif; font-weight: 600; display: block; line-height: 1; }
.word-top { font-size: 24px; letter-spacing: 0.06em; color: var(--ink-soft); }
.word { font-size: 46px; }

/* --- landing -------------------------------------------------------------- */

header.wrap { padding-top: 64px; text-align: center; }

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 56px 0 24px;
}
h1 {
  font-weight: 700;
  font-size: clamp(34px, 5vw, 50px);
  line-height: 1.12;
  margin: 0 0 18px;
}
.lead { font-size: 20px; color: var(--ink-soft); margin: 0 0 28px; }

.soon {
  display: inline-block;
  background: var(--mint);
  color: var(--surface);
  border: 8px solid var(--surface);
  border-radius: 32px;
  box-shadow: 0 14px 26px rgba(59, 49, 96, 0.2);
  padding: 14px 26px;
  font-size: 20px;
  font-weight: 700;
}
.soon small { display: block; font-size: 14px; font-weight: 600; opacity: 0.95; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  margin: 0;
  padding: 4px;
  border-radius: 28px;
}
.card img { width: 100%; height: auto; display: block; border-radius: 20px; }
.card:nth-child(odd) { transform: rotate(-2deg); }
.card:nth-child(even) { transform: rotate(2deg) translateY(10px); }

section { padding: 48px 0; }
h2 { font-size: 34px; font-weight: 700; margin: 0 0 24px; text-align: center; }

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.steps li { padding: 22px 22px 18px; }
.steps .num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--surface);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
}
.steps li:nth-child(1) .num { background: var(--purple); }
.steps li:nth-child(2) .num { background: var(--pink); }
.steps li:nth-child(3) .num { background: var(--mint); }
.steps h3 { margin: 0 0 6px; font-size: 20px; font-weight: 700; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}
.facts li {
  background: var(--surface);
  border-radius: 999px;
  box-shadow: var(--shadow-chip);
  padding: 12px 22px;
  font-weight: 700;
}
.facts li::before { content: '★ '; color: var(--yellow); -webkit-text-stroke: 1px #e8bf45; }

footer {
  padding: 40px 0 56px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 15px;
}
footer nav { display: flex; justify-content: center; gap: 24px; margin-bottom: 8px; }

/* --- privacy policy ------------------------------------------------------- */

.doc { max-width: 760px; margin: 40px auto 0; padding: 40px 48px; }
.doc h1 { font-size: clamp(30px, 4vw, 40px); }
.doc h2 { text-align: left; font-size: 24px; margin: 32px 0 10px; }
.doc .updated { color: var(--ink-muted); margin-top: -8px; }
.doc .short {
  background: var(--field);
  border-radius: 24px;
  padding: 18px 24px;
  font-weight: 700;
}
.doc .short h2 { margin-top: 0; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }

/* --- narrow --------------------------------------------------------------- */

@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  header.wrap { padding-top: 40px; }
  .mark { width: 72px; height: 63px; }
  .word-top { font-size: 18px; }
  .word { font-size: 36px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; text-align: center; }
  .lead { font-size: 18px; }
  .steps { grid-template-columns: 1fr; }
  .doc { padding: 26px 22px; margin-top: 24px; border-radius: 28px; }
}
