/* ============================================================
   Wanderlist: shared styles for the landing and legal pages.
   Tokens mirror the app's design spec (wanderlist-design/DESIGN.md).
   ============================================================ */

:root {
  color-scheme: light;
  --ink:        #1c1917;
  --ink-2:      #44403c;
  --ink-3:      #57534e;
  --muted:      #78716c;
  --coral:      #f97362;
  --coral-deep: #e2503c;
  --coral-text: #c2410c;
  --peach:      #ffc9bf;
  --blush:      #fff1ee;
  --paper:      #fafaf9;
  --line:       #e7e5e4;
  --white:      #ffffff;
  --done-bg:    #d1fae5;
  --done:       #047857;
  --ring:       inset 0 0 0 1px rgba(28, 25, 23, 0.06);
  --btn-shadow: 0 10px 15px -3px rgba(249, 115, 98, 0.3), 0 4px 6px -4px rgba(249, 115, 98, 0.3);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--coral-text); }

h1, h2, h3 {
  font-family: "Lexend", "Inter", sans-serif;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral-text);
}

/* ---- Wordmark: "Wander" in ink, "list" in coral, no gap ---- */
.wordmark {
  font-family: "Lexend", sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.025em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark span { color: var(--coral); }

/* ---- Header ---- */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; box-shadow: var(--ring); }
header.site nav { display: flex; gap: 20px; }
header.site nav a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600; }
header.site nav a:hover, header.site nav a[aria-current] { color: var(--coral-text); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 56px; padding: 0 28px;
  border-radius: 9999px;
  font-weight: 600; font-size: 16px;
  text-decoration: none;
}
.btn-primary { background: var(--coral); color: var(--white); box-shadow: var(--btn-shadow); }
.btn-primary:hover { background: var(--coral-deep); }
.btn svg { width: 20px; height: 20px; }

/* ---- Hero ---- */
.hero { position: relative; text-align: center; padding: 88px 0 56px; overflow: hidden; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); margin: 16px auto 20px; max-width: 12ch; }
.hero .lede { font-size: 19px; color: var(--ink-3); max-width: 30rem; margin: 0 auto 32px; }
.hero .fine { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero .deco { position: absolute; pointer-events: none; }
.hero .cloud-a { top: 56px; left: 6%; width: 110px; }
.hero .cloud-b { top: 120px; right: 8%; width: 84px; }
.hero .plane { top: 260px; right: 10%; width: 150px; }
@media (max-width: 720px) {
  .hero { padding-top: 120px; }
  .hero .cloud-a { top: 28px; left: 16px; width: 72px; }
  .hero .cloud-b { top: 48px; right: 16px; width: 56px; }
  .hero .plane { top: 70px; right: 30%; width: 90px; }
}

/* ---- Screenshot gallery: horizontal scroll-snap strip ---- */
.gallery {
  display: flex; gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 28px;
  scroll-padding: 0 24px;
  scrollbar-width: thin;
}
.gallery figure { flex: 0 0 auto; width: clamp(220px, 26vw, 280px); scroll-snap-align: start; }
.gallery img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 1320 / 2868;
  border-radius: 24px;
  box-shadow: var(--ring);
  background: var(--paper);
}
@media (min-width: 1128px) {
  .gallery { padding-left: calc((100vw - 1080px) / 2 + 24px); scroll-padding-left: calc((100vw - 1080px) / 2 + 24px); }
}

/* ---- Sections ---- */
.section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(28px, 4vw, 36px); margin-top: 8px; }
.section-head p { color: var(--ink-3); margin-top: 8px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.step { background: var(--paper); box-shadow: var(--ring); border-radius: 16px; padding: 24px; }
.step .num {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px; border-radius: 9999px;
  background: var(--coral); color: var(--white);
  font-family: "Lexend", sans-serif; font-weight: 700; font-size: 14px;
}
.step h3 { font-size: 18px; margin: 14px 0 6px; font-weight: 600; letter-spacing: 0; }
.step p { color: var(--ink-3); font-size: 15px; line-height: 1.6; }

.privacy-band { background: var(--blush); border-radius: 28px; padding: 48px 32px; text-align: center; }
.privacy-band h2 { font-size: clamp(26px, 4vw, 34px); margin: 8px 0 12px; }
.privacy-band > p { color: var(--ink-2); max-width: 36rem; margin: 0 auto; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 24px 0; }
.pill {
  background: var(--white); box-shadow: inset 0 0 0 1px rgba(28, 25, 23, 0.08);
  border-radius: 9999px; padding: 6px 16px;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
}

.pricing { text-align: center; max-width: 34rem; margin: 0 auto; }
.pricing p { color: var(--ink-3); margin-top: 12px; }

/* ---- Legal pages ---- */
.legal { max-width: 720px; margin: 0 auto; padding: 64px 24px 80px; }
.legal h1 { font-size: clamp(32px, 5vw, 40px); margin: 8px 0 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal .summary { background: var(--blush); border-radius: 16px; padding: 20px 24px; color: var(--ink-2); margin-bottom: 40px; }
.legal .summary strong { color: var(--ink); }
.legal section { margin-bottom: 36px; }
.legal h2 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.01em; }
.legal h3 { font-size: 16px; margin: 20px 0 4px; letter-spacing: 0; font-weight: 600; }
.legal p, .legal li { color: var(--ink-2); }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 10px 0 0 20px; }
.legal li { margin-bottom: 6px; }
.legal li::marker { color: var(--coral); }
.legal .toc { margin: 0 0 40px; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.legal .toc a {
  display: inline-block; padding: 4px 14px; border-radius: 9999px;
  background: var(--paper); box-shadow: var(--ring);
  color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 600;
}

/* ---- Footer ---- */
footer.site { border-top: 1px solid var(--line); padding: 32px 0 48px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 20px; }
footer.site a { color: var(--ink-2); text-decoration: none; }
footer.site a:hover { color: var(--coral-text); }

@media (max-width: 520px) {
  header.site nav { gap: 14px; }
  header.site nav a { font-size: 13px; }
  .brand img { display: none; }
}
