:root {
  --bg: #0D0D0D; --text: #F2F2F2; --text-2: #C8C1BA; --text-muted: #8C837B; --line-field: #736D67;
  --champagne: #E8C27A; --champagne-light: #F5D89A; --gold-end: #FFC857; --ink-on-gold: #1B1615;
  --field: rgba(255, 255, 255, 0.04); --rule: rgba(255, 255, 255, 0.08); --foot: #8C837B;
  --font-display: 'Jost', 'Century Gothic', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 16px/1.5 var(--font-body); }
body::before { content: ""; position: fixed; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 55% at 50% 0%,rgba(97,56,99,.14),transparent 70%); }
[hidden] { display: none !important; }
.hidden-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a { color: var(--champagne); }
a:hover { color: var(--champagne-light); }
input:focus { outline: none; border-color: var(--champagne); box-shadow: 0 0 0 3px rgba(232, 194, 122, 0.25); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--champagne-light); outline-offset: 2px; }
button { cursor: pointer; font-family: var(--font-body); }
button:disabled { opacity: 0.6; cursor: default; }

body.signin { display: flex; flex-direction: column; align-items: center; padding: 0 24px 28px; }
.stack { flex-grow: 1; width: 100%; max-width: 380px; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 48px 0 32px; }
.brand { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.wordmark { margin: 0; font: 200 40px/1.1 var(--font-display); letter-spacing: 0.32em; padding-left: 0.32em; color: var(--text); }
.subline { margin: 0; font: 300 18px/1.3 var(--font-display); color: var(--text-2); }
.step, .fields { display: flex; flex-direction: column; gap: 14px; }
.google { display: flex; justify-content: center; min-height: 48px; }
.or { display: flex; align-items: center; gap: 16px; margin: 0; padding: 4px 0; color: var(--text-muted); font-size: 13px; }
.or::before, .or::after { content: ""; flex-grow: 1; height: 1px; background: var(--rule); }
#email { height: 52px; padding: 0 18px; background: var(--field); border: 1px solid var(--line-field); border-radius: 10px; color: var(--text); font: 400 16px var(--font-body); }
#email::placeholder { color: var(--text-muted); }
.main { height: 52px; border: 0; border-radius: 6px; background: linear-gradient(90deg, var(--champagne), var(--gold-end)); color: var(--ink-on-gold); font-size: 16px; font-weight: 600; }
.lead { margin: 0; text-align: center; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.digits { display: flex; justify-content: space-between; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.digit { width: 100%; max-width: 52px; height: 60px; padding: 0; text-align: center; background: var(--field); border: 1px solid var(--line-field); border-radius: 10px; color: var(--text); font: 400 26px var(--font-mono); }
.links { display: flex; justify-content: center; flex-wrap: wrap; column-gap: 24px; }
.text { min-height: 44px; padding: 0; background: none; border: 0; color: var(--text-2); font-size: 14px; }
.text.gold { color: var(--champagne); }
.note { margin: 0; text-align: center; color: var(--text-2); font-size: 14px; }
.note:empty { display: none; }
.foot { display: flex; gap: 20px; font-size: 13px; }
.foot a { color: var(--foot); min-height: 44px; display: inline-flex; align-items: center; }
.foot a:hover { color: var(--text-2); }

body.welcome { display: flex; flex-direction: column; padding: 24px 16px; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark.small { font-size: 24px; padding-left: 0; }
.outline { min-height: 44px; padding: 0 18px; background: none; border: 1px solid var(--line-field); border-radius: 6px; color: var(--text); font-size: 14px; font-weight: 500; }
.hero { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 48px 0; text-align: center; }
.eyebrow { margin: 0; font: 400 12px var(--font-mono); letter-spacing: 0.18em; color: var(--champagne); }
.headline { margin: 0; font: 300 36px/1.15 var(--font-display); letter-spacing: -0.01em; color: var(--text); }
.lede { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.5; color: var(--text-2); }
.lede span { display: block; }

@media (min-width: 720px) {
  .wordmark { font-size: 48px; }
  .subline { font-size: 20px; }
  .stack { gap: 36px; }
  body.welcome { padding: 40px 96px; }
  .headline { font-size: 52px; }
  .lede { font-size: 18px; }
}
