/* Last Light tokens (see CLAUDE.md). The dusk ramp is used only for the horizon line. */
:root {
  --midnight: #070810; --harbor: #0c0d1b; --causeway: #20234c; --overpass: #2c3868; --plum-hour: #4b2f54;
  --neon-cream: #fff9cb; --haze: #e5ddff; --lilac: #ccc2f5; --surf: #b8f0ea; --flamingo: #ffb2c7;
  --dusk: linear-gradient(90deg, #5a6fe0, #d1499b 55%, #ff9a52);
  --text: 'Jost', 'Futura', system-ui, sans-serif;
  --kicker: 'Big Shoulders Display', 'Jost', sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--midnight); }
body { background: var(--midnight); color: var(--neon-cream); font: 400 17px/1.55 var(--text);
       -webkit-font-smoothing: antialiased; min-height: 100svh; display: flex; flex-direction: column; }
::selection { background: var(--flamingo); color: var(--midnight); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--flamingo); outline-offset: 3px; border-radius: 12px; }

.caps { font-weight: 600; text-transform: uppercase; letter-spacing: .16em; }
.kick { font-family: var(--kicker); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }

.horizon { height: 3px; border-radius: 2px; background: var(--dusk); width: min(100%, 420px);
           box-shadow: 0 0 18px 1px rgb(209 73 155 / .55); }

.btn { min-height: 54px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
       gap: 10px; padding: 0 26px; font-size: 17px; font-weight: 600; text-decoration: none;
       transition: transform .2s ease-out, opacity .2s ease-out; }
.btn:active { transform: scale(.96); }
.btn.pink { background: var(--flamingo); color: var(--midnight); box-shadow: 0 10px 28px -8px rgb(255 178 199 / .6); }
.btn.line { border: 1px solid var(--overpass); background: var(--harbor); color: var(--neon-cream); font-weight: 500; }
.btn svg { width: 22px; height: 22px; fill: currentColor; }

/* home + preview: one screen */
.stage { flex: 1; display: grid; place-items: center; padding: 48px 16px;
         background: radial-gradient(120% 60% at 50% 0%, rgb(75 47 84 / .55), transparent 70%); }
.hero { width: min(100%, 560px); display: grid; justify-items: center; gap: 28px; text-align: center; }
.wordmark { font-size: clamp(2.6rem, 13vw, 5.5rem); line-height: .95; letter-spacing: .16em; margin-right: -.16em; }
.line { font-size: clamp(1.1rem, 4.6vw, 1.4rem); color: var(--haze); max-width: 30ch; text-wrap: balance; }
.actions { display: grid; gap: 12px; width: min(100%, 320px); }

/* share preview card */
.poster { width: min(100%, 300px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; position: relative;
          background: var(--harbor); border: 1px solid var(--causeway); }
.poster.round { width: 160px; aspect-ratio: 1; border-radius: 50%; }
.poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poster .kick { position: absolute; inset: auto 0 0; padding: 18px; font-size: 22px; text-align: left;
                background: linear-gradient(transparent, rgb(7 8 16 / .85)); }
.title { font-size: clamp(1.3rem, 5.5vw, 1.8rem); font-weight: 500; line-height: 1.25; max-width: 28ch; text-wrap: balance; }
.who { color: var(--lilac); font-size: 16px; }

/* footer */
footer { padding: 24px 16px 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px;
         font-size: 15px; color: var(--lilac); }
footer a { text-decoration: none; padding: 6px 2px; }
footer a:hover { color: var(--neon-cream); }

/* legal pages */
.doc { width: min(100%, 720px); margin: 0 auto; padding: 40px 16px 24px; flex: 1; }
.doc .home { display: inline-block; font-size: 22px; letter-spacing: .16em; text-decoration: none; margin-bottom: 36px; }
.doc h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); letter-spacing: .12em; line-height: 1.1; margin-bottom: 10px; }
.doc .date { color: var(--lilac); font-size: 15px; margin-bottom: 18px; }
.doc .horizon { margin-bottom: 36px; }
.doc h2 { font-size: 20px; font-weight: 600; margin: 36px 0 10px; }
.doc p, .doc li { color: var(--haze); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; display: grid; gap: 6px; margin-top: 10px; }
.doc a { color: var(--flamingo); }
.doc a.home { color: var(--neon-cream); }
.doc strong { color: var(--neon-cream); font-weight: 500; }

@media (prefers-reduced-motion: reduce) { .btn { transition: none; } .btn:active { transform: none; } }
