:root {
  color-scheme: dark;
  --bg: #0d0d0c;
  --surface: #191713;
  --surface-soft: #211d17;
  --ink: #fff8ee;
  --muted: #c8bcae;
  --accent: #efb36f;
  --border: rgba(239, 179, 111, 0.25);
  --warning: #ffd9ae;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { background: var(--bg); }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(239, 179, 111, 0.12), transparent 34rem),
    linear-gradient(180deg, #12100e 0%, var(--bg) 30rem);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}

a { color: var(--accent); }
a:hover { color: #ffd09a; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(13, 13, 12, 0.9);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner,
.policy {
  width: min(100% - 2rem, 920px);
  margin-inline: auto;
}

.header-inner {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.brand img { width: 32px; height: 32px; object-fit: contain; }
.launch-pill {
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.policy { padding: 2rem 0 2rem; }

.eyebrow {
  margin: 0 0 0.5rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1, h2 { line-height: 1.15; letter-spacing: 0; }
h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { margin: 2.5rem 0 0.75rem; font-size: 1.35rem; }
p, li { color: var(--muted); }
strong { color: var(--ink); }

.summary {
  max-width: 720px;
  margin: 0.75rem 0 0;
  font-size: 1.02rem;
}

.notice {
  margin: 2rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(239, 179, 111, 0.12), rgba(255, 255, 255, 0.025));
  color: var(--warning);
}

.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 0;
  padding: 0 1.35rem;
  border: 1px solid #ffd09a;
  border-radius: 999px;
  background: var(--accent);
  color: #17100a;
  font-weight: 800;
  text-decoration: none;
}

.policy-footer {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.store-button {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  min-width: 240px;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(255, 248, 238, 0.28);
  border-radius: 14px;
  background: #050505;
  color: var(--ink);
  line-height: 1.05;
  opacity: 0.9;
}

.store-icon { width: 24px; height: 24px; fill: var(--ink); }
.store-icon.play { width: 22px; height: 22px; }
.store-button-small { display: block; font-size: 0.66rem; }
.store-button strong { display: block; margin-top: 0.2rem; font-size: 1.15rem; }
.store-button-status {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.store-note { margin-top: 0.75rem; font-size: 0.9rem; }

.policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.policy-links a { font-weight: 700; }

.home-page { width: min(100% - 2rem, 1100px); padding-top: 0.7rem; padding-bottom: 0.25rem; }
.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  align-items: center;
  gap: clamp(1.2rem, 3.5vw, 3.4rem);
}
.hero-copy > .eyebrow {
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}
.hero-copy h1 { max-width: 740px; }
.home-links { margin-top: 0.65rem; padding-top: 0.55rem; justify-content: center; }
.home-page .policy-footer { margin-top: .25rem; padding-top: .25rem; text-align: center; }

.waitlist-panel {
  width: 100%;
  align-self: center;
}
.waitlist-panel .eyebrow { margin-bottom: 0.35rem; }
.waitlist-panel h2 { margin: 0; }
.waitlist-intro {
  margin: 0.25rem 0 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}
.waitlist-form,
.waitlist-success {
  display: grid;
  gap: 0.48rem;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.form-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.role-select {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid rgba(255, 248, 238, 0.14);
  border-radius: 999px;
  background: #201d19;
}

.role-select label { min-width: 0; }
.role-select input {
  position: absolute;
  width: 1px !important;
  min-height: 1px !important;
  height: 1px;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
}
.role-select span {
  display: grid;
  min-height: 40px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
}
.role-select input:checked + span {
  background: var(--accent);
  border-color: #f2c995;
  color: #17100a;
}

.waitlist-form label:not(.consent) {
  display: grid;
  gap: 0.25rem;
  color: var(--muted);
  font-weight: 800;
}

.waitlist-form input {
  width: 100%;
  min-height: 38px;
  padding: 0 0.85rem;
  border: 1px solid rgba(255, 248, 238, 0.2);
  border-radius: 8px;
  background: #0d0d0c;
  color: var(--ink);
  font: inherit;
}

.waitlist-form small {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.74rem;
  line-height: 1.3;
}

.location-field {
  position: relative;
}

.location-results {
  display: grid;
  gap: 0.35rem;
  max-height: 17rem;
  overflow: auto;
  padding: 0.4rem;
  border: 1px solid rgba(245, 190, 92, 0.38);
  border-radius: 8px;
  background: #151311;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.34);
}

.location-results[hidden] { display: none; }

.location-result,
.location-result-message {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #201d19;
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-align: left;
}

.location-result {
  cursor: pointer;
}

.location-result:hover,
.location-result:focus-visible {
  border-color: var(--accent);
  background: #2a241c;
  outline: none;
}

.location-result-message {
  color: var(--muted);
  cursor: default;
}

.location-result-message.error {
  color: #ffb0b0;
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 0.65rem;
  align-items: start;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.32;
}

.consent input {
  min-height: 20px;
  margin-top: 0.25rem;
  accent-color: var(--accent);
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px !important;
  min-height: 1px !important;
  height: 1px;
  padding: 0 !important;
  border: 0 !important;
}

.form-status {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.form-status.error {
  color: #ff8f8f;
  font-weight: 800;
}

.waitlist-action[aria-disabled="true"] {
  opacity: 0.55;
  filter: saturate(0.45);
}

.waitlist-action.is-loading {
  cursor: wait;
}

.waitlist-success h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.waitlist-success p { margin: 0; }

@media (max-width: 640px) {
  .header-inner { min-height: 64px; }
  .nav { flex-wrap: wrap; gap: 0.75rem; }
  .policy { padding-top: 1.25rem; }
  .store-button { width: 100%; }
  .launch-pill { font-size: 0.65rem; }
  .home-hero { min-height: auto; grid-template-columns: 1fr; gap: 2rem; }
  .home-links { justify-content: flex-start; }
}
