/* ELEVN promo site. Colours and fonts follow the ELEVN design system (src/lib/brand-tokens.ts, CCR-016):
   gold only for the logo, the one primary action and small accents. Fonts are self-hosted (SIL OFL, see fonts/). */
@font-face {
  font-family: "Manrope Variable";
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Inter Variable";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --black: #08090B;
  --surface-alt: #111214;
  --surface: #1A1C20;
  --line: #2E3238;
  --ivory: #F5F5F2;
  --muted: #A6A6A6;
  --gold: #D4AF37;
  --gold-hover: #E2C25A;
  --gold-subtle: #6E5A28;
  --display: "Manrope Variable", system-ui, sans-serif;
  --body: "Inter Variable", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; max-width: 18ch; margin-inline: auto; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

a { color: var(--gold); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--gold); color: var(--black); padding: 0.6rem 1rem; border-radius: 6px; font-weight: 600; z-index: 10; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

main > section, .hero, .footer { padding-inline: 1.25rem; }
main > section { max-width: 68rem; margin: 0 auto; padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* Hero */
.hero { text-align: center; padding-top: clamp(3rem, 8vw, 5.5rem); }
/* The logo file's background is pure black; "lighten" blends it into the page so no box shows (as the app's
   elevn-logo-blend class does). The file itself is never edited. */
.logo { display: block; margin: 0 auto; width: min(26rem, 80vw); height: auto; mix-blend-mode: lighten; }
.status {
  display: inline-flex; align-items: center; gap: 0.55rem; margin: 1.75rem 0 0;
  padding: 0.4rem 0.95rem; border: 1px solid var(--gold-subtle); border-radius: 999px;
  color: var(--muted); font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase;
}
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--gold); }

.intro { text-align: center; padding-top: 2.5rem !important; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 40rem; margin-inline: auto; }

.button {
  display: inline-block; margin-top: 1rem; padding: 0.85rem 1.6rem; border-radius: 8px;
  background: var(--gold); color: var(--black); font-weight: 600; text-decoration: none;
}
.button:hover { background: var(--gold-hover); }

/* Film */
.film { padding-top: 0 !important; }
.film video {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
}
.note { color: var(--muted); font-size: 0.92rem; margin-top: 0.85rem; text-align: center; }
.transcript { max-width: 46rem; margin: 0.5rem auto 0; color: var(--muted); }
.transcript summary { cursor: pointer; color: var(--ivory); font-weight: 600; text-align: center; padding: 0.4rem; }
.transcript[open] summary { margin-bottom: 0.75rem; }

/* Who it's for */
.who h2, .principles h2, .soon h2 { text-align: center; }
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-top: 1.5rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--gold-subtle); border-radius: 12px; padding: 1.6rem; }
.card p { color: var(--muted); margin: 0; }

/* Principles */
.principles ul { list-style: none; padding: 0; margin: 1.5rem auto 0; max-width: 46rem; display: grid; gap: 1rem; }
.principles li { padding: 1rem 1.25rem; background: var(--surface-alt); border-left: 3px solid var(--gold-subtle); border-radius: 0 8px 8px 0; color: var(--muted); }
.principles strong { color: var(--ivory); }

/* Not open yet */
.soon { text-align: center; }
.soon p { color: var(--muted); max-width: 36rem; margin-inline: auto; }

/* Footer */
.footer { border-top: 1px solid var(--line); background: var(--surface-alt); text-align: center; padding-block: 2.5rem; margin-top: 2rem; }
.tagline { font-family: var(--display); font-weight: 700; font-size: 1.15rem; }
.privacy { color: var(--muted); font-size: 0.9rem; max-width: 40rem; margin-inline: auto; }
.copy { color: var(--muted); font-size: 0.85rem; margin: 0; }
