/* Even Today. website (spec F18). One stylesheet, no build step.
   Palette: the app's closing sky (A4.2 "closing": #141a35 → #f7cf9c), the sun
   #ffd2a3 on the horizon line, cream ground (#fff0dc / #ffd2a8).
   Responsive 375 → 1440 px: fluid type with clamp(), single column on phones,
   the plates scroll horizontally inside their own strip (never the page). */

@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/GeistVF.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #161b36;
  --ink-soft: #4a4560;
  --cream: #fff6ea;
  --sand: #ffd2a8;
  --sun: #ffd2a3;
  --dot-light: #f0a77c;
  --line: rgba(255, 255, 255, 0.9);
  --max: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

/* ── Hero: the world at dusk ─────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: clamp(520px, 92vh, 860px);
  background: linear-gradient(180deg, #141a35 0%, #2d2b55 26%, #6b4a78 46%, #c4707a 60%, #f0a77c 72%, #f7cf9c 100%);
  color: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(24px, 6vw, 56px) clamp(20px, 5vw, 48px) 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.wordmark {
  font-weight: 300;
  font-size: clamp(44px, 9vw, 104px);
  letter-spacing: -0.045em;
  line-height: 1;
  margin: clamp(48px, 10vh, 120px) 0 0;
}

/* The wordmark's period is a little sun. */
.wordmark .dot { color: var(--sun); }
.light .wordmark .dot, .dot-light { color: var(--dot-light); }

.tagline {
  font-weight: 300;
  font-size: clamp(22px, 3.4vw, 36px);
  letter-spacing: -0.02em;
  margin: 16px 0 0;
  color: #f1ecff;
}

.badge {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
}

/* Sun sitting on the line, ground below (Closing.dc.html, simplified). */
.horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(120px, 22vh, 210px);
  height: 1px;
  background: var(--line);
  box-shadow: 0 0 12px rgba(255, 240, 220, 0.9);
  z-index: 1;
}

.sun {
  position: absolute;
  right: clamp(24px, 18vw, 260px);
  bottom: clamp(120px, 22vh, 210px);
  width: clamp(96px, 16vw, 180px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  transform: translateY(50%);
  z-index: 0;
}

.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(130px, 23vh, 220px);
  z-index: 1;
}

.ground svg { width: 100%; height: 100%; display: block; }

/* ── Content ─────────────────────────────────────────────────────────────── */

main, .page {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 48px);
}

.lead {
  font-size: clamp(18px, 2.2vw, 22px);
  max-width: 44em;
  margin: 0;
  color: var(--ink);
}

.plates {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 32px clamp(20px, 5vw, 48px) 24px;
  margin: 0 calc(-1 * clamp(20px, 5vw, 48px));
  -webkit-overflow-scrolling: touch;
}

.plates img {
  flex: 0 0 auto;
  width: clamp(200px, 26vw, 260px);
  height: auto;
  aspect-ratio: 1320 / 2868;
  border-radius: 20px;
  scroll-snap-align: start;
  box-shadow: 0 8px 24px rgba(22, 27, 54, 0.12);
}

footer {
  border-top: 1px solid rgba(22, 27, 54, 0.1);
  padding: 24px clamp(20px, 5vw, 48px) 40px;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 15px;
  color: var(--ink-soft);
}

footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── Text pages (/privacy, /support) ─────────────────────────────────────── */

.page-header {
  background: linear-gradient(180deg, #141a35 0%, #2d2b55 55%, #6b4a78 100%);
  color: #fff;
  padding: 24px clamp(20px, 5vw, 48px) 40px;
}

.page-header .inner { max-width: var(--max); margin: 0 auto; }

.page-header h1 {
  font-weight: 300;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -0.04em;
  margin: 40px 0 0;
  line-height: 1.05;
}

.page h2 {
  font-weight: 500;
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 36px 0 8px;
}

.page p, .page li { font-size: 17px; max-width: 42em; }
.page ul { padding-left: 1.2em; }
.muted { color: var(--ink-soft); }

@media (prefers-reduced-motion: no-preference) {
  .sun { transition: transform 0.6s ease; }
}
