/*
 * deenspot.app
 *
 * The palette and type scale are lifted from the app's own tokens
 * (apps/mobile/src/theme/tokens.ts) so the site and the thing it is advertising
 * look like one product. Keep them in step: the blues come from the logo — the
 * pin is #5980A6, the wordmark's "Spot" is #416180, the icon ground is #1D2D3D.
 *
 * No build step and no framework. This is a landing page and a privacy policy;
 * everything below is plain CSS with custom properties, and the only JavaScript
 * on the site decides whether a store button exists yet.
 */

:root {
  --spot-100: #e4ecf4;
  --spot-200: #bfd2e4;
  --spot-400: #5980a6;
  --spot-600: #416180;
  --spot-700: #33506b;
  --spot-800: #1d2d3d;

  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-alt: #eef1f5;
  --border: #dfe4ea;
  --text: #1d1f20;
  --text-muted: #5b6672;
  --text-faint: #8a939e;
  --brand: var(--spot-600);
  --brand-soft: var(--spot-100);
  --brand-border: var(--spot-200);
  --on-brand: #ffffff;
  --accent: #b57a26;

  --radius: 20px;
  --radius-lg: 26px;
  --measure: 62ch;
  --shadow: 0 2px 8px rgb(42 40 35 / 5%), 0 14px 32px rgb(42 40 35 / 6%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1015;
    --surface: #161e27;
    --surface-alt: #1e2833;
    --border: #28343f;
    --text: #eef2f7;
    --text-muted: #a7b4c1;
    --text-faint: #7e8b99;
    --brand: #84b6e8;
    --brand-soft: #17293a;
    --brand-border: #2f4c68;
    --on-brand: #0a141d;
    --accent: #efc776;
    --shadow: 0 2px 8px rgb(0 0 0 / 40%), 0 14px 32px rgb(0 0 0 / 45%);
  }
}

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* ── layout ───────────────────────────────────────────────────────────── */

.wrap { width: min(100% - 40px, 980px); margin-inline: auto; }
.narrow { width: min(100% - 40px, 720px); margin-inline: auto; }

section { padding-block: clamp(48px, 8vw, 88px); }
section + section { border-top: 1px solid var(--border); }

/* ── header ───────────────────────────────────────────────────────────── */

.site-head {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: saturate(180%) blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 16px;
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -0.03em; font-size: 18px; color: var(--text); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.site-head nav { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
.site-head nav a { color: var(--text-muted); text-decoration: none; font-weight: 500; }
.site-head nav a:hover { color: var(--text); }

/* ── hero ─────────────────────────────────────────────────────────────── */

.hero { padding-block: clamp(56px, 10vw, 112px) clamp(40px, 7vw, 72px); }
.hero h1 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  font-size: clamp(42px, 7vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  max-width: 15ch;
}
.hero p.lede {
  font-size: clamp(18px, 2.4vw, 21px);
  color: var(--text-muted);
  max-width: 46ch;
  margin: 0 0 32px;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--brand);
  background: var(--brand-soft); border: 1px solid var(--brand-border);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 22px;
}

/* ── store buttons ────────────────────────────────────────────────────── */

.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-btn {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--spot-800); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 15px; font-weight: 600;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease;
}
.store-btn:hover { transform: translateY(-1px); }
.store-btn small { display: block; font-size: 11px; font-weight: 500; opacity: 0.72; letter-spacing: 0.02em; }
.store-btn span { font-size: 16px; line-height: 1.15; }
.store-btn svg { width: 24px; height: 24px; flex: none; fill: currentColor; }

@media (prefers-color-scheme: dark) {
  .store-btn { background: var(--surface-alt); border: 1px solid var(--border); }
}

/* Shown in place of the buttons until a listing exists — see config.js. */
.stores-soon {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border);
  padding: 13px 18px; border-radius: 15px; color: var(--text-muted); font-size: 15px;
}

/* ── cards ────────────────────────────────────────────────────────────── */

h2 {
  font-size: clamp(26px, 3.6vw, 34px); letter-spacing: -0.03em; line-height: 1.2;
  margin: 0 0 14px; font-weight: 800;
}
h3 { font-size: 19px; letter-spacing: -0.02em; margin: 0 0 6px; font-weight: 700; }
.section-lede { color: var(--text-muted); max-width: var(--measure); margin: 0 0 34px; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.card p { color: var(--text-muted); margin: 0; font-size: 15.5px; }

.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 11px; margin-bottom: 14px;
  background: var(--brand-soft); border: 1px solid var(--brand-border);
  color: var(--brand); font-weight: 800; font-size: 14px;
}

/* ── highlight panel ──────────────────────────────────────────────────── */

.panel {
  background: var(--brand-soft); border: 1px solid var(--brand-border);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
}
.panel h2 { margin-bottom: 10px; }
.panel p { color: var(--text-muted); max-width: 54ch; }

.number {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--brand-border);
  border-radius: 14px; padding: 12px 18px; margin-block: 18px 6px;
  font-size: 21px; font-weight: 700; letter-spacing: -0.01em; color: var(--brand);
  user-select: all;
}

/* ── prose, for privacy and terms ─────────────────────────────────────── */

.prose { max-width: var(--measure); }
.prose h1 { font-size: clamp(32px, 5vw, 44px); letter-spacing: -0.03em; margin: 0 0 8px; font-weight: 800; }
.prose .updated { color: var(--text-faint); font-size: 14.5px; margin: 0 0 40px; }
.prose h2 { font-size: 22px; margin-top: 44px; margin-bottom: 10px; }
.prose h3 { font-size: 17px; margin-top: 26px; }
.prose p, .prose li { color: var(--text-muted); }
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--brand); }
.prose strong { color: var(--text); font-weight: 600; }

.callout {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 12px; padding: 16px 20px; margin-block: 20px;
}
.callout p { margin: 0; }

/* ── footer ───────────────────────────────────────────────────────────── */

.site-foot {
  border-top: 1px solid var(--border); padding-block: 40px 56px;
  color: var(--text-faint); font-size: 14.5px;
}
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.site-foot nav { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.site-foot a { color: var(--text-muted); text-decoration: none; }
.site-foot a:hover { color: var(--text); text-decoration: underline; }

/* ── shared-event landing ─────────────────────────────────────────────── */

.event-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 34px); box-shadow: var(--shadow);
}
.event-card .when { color: var(--brand); font-weight: 700; font-size: 15px; letter-spacing: 0.01em; }
.event-card h1 { font-size: clamp(26px, 4.5vw, 38px); letter-spacing: -0.03em; margin: 8px 0 10px; font-weight: 800; }
.event-card .where { color: var(--text-muted); margin: 0 0 24px; }
.skeleton { color: var(--text-faint); }
