/* Wander website. Colors follow the app's palette (Helpers/Palette.swift). */
:root {
  --bg: #f8f5f4;
  --surface: #ffffff;
  --text: #1d1b26;
  --muted: #5e5a6b;
  --accent: #52489c;       /* ultraViolet */
  --accent-soft: #ebe8f6;
  --teal: #59c3c3;         /* robinEggBlue */
  --border: #e4e0e8;
  --radius: 16px;
  --max: 720px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-wrap: break-word;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

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

[hidden] { display: none !important; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header { padding: 20px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }

/* Main */
main { padding: 8px 0 48px; }

h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(30px, 7vw, 46px); margin: 24px 0 16px; }
h2 { font-size: 22px; margin: 36px 0 10px; }
h3 { font-size: 18px; margin: 24px 0 8px; }

.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; }

/* Hero */
.hero { text-align: center; padding: 32px 0 8px; }
.hero-logo { width: 112px; height: 112px; border-radius: 26px; margin: 0 auto 8px; box-shadow: 0 10px 30px rgba(82, 72, 156, 0.18); }
.hero .lead { max-width: 34em; margin-left: auto; margin-right: auto; }

/* Loop steps */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 14px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.step h3 { margin: 0 0 6px; display: flex; align-items: baseline; gap: 10px; }
.step-num { color: var(--accent); font-variant-numeric: tabular-nums; }
.step p { margin: 0; color: var(--muted); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 8px 0 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 2px solid transparent;
}
.button-primary { background: var(--text); color: #fff; }
.button-secondary { background: transparent; color: var(--accent); border-color: var(--accent); }
.store-badge.is-soon { background: var(--accent-soft); color: var(--accent); cursor: default; }
.store-badge img { height: 48px; width: auto; }
.store-badge.has-badge { padding: 0; min-height: 0; background: none; }

/* Cards and callouts */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; margin: 16px 0; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.note { color: var(--muted); font-size: 15px; }

/* Legal documents */
.legal .updated { color: var(--muted); font-size: 15px; margin: -8px 0 8px; }
.legal section h2 { color: var(--accent); font-size: 19px; }
.legal section p { margin: 0 0 12px; }
.legal section ul { margin: 0 0 12px; padding-left: 22px; }
.legal section li { margin: 0 0 4px; }

/* Spot teaser */
.teaser { text-align: center; padding-top: 24px; }
.teaser .pin { width: 72px; height: 72px; margin: 0 auto; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; }
.teaser .pin svg { width: 36px; height: 36px; fill: var(--accent); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 24px 0 40px; color: var(--muted); font-size: 15px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 8px; }
.site-footer a { color: var(--muted); }

@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
