/* premak.app waiting list page. Colors follow app/lib/theme/app_theme.dart. */
:root {
  --bg: #0e0f12;
  --surface: #17181d;
  --surface-high: #1c1e23;
  --outline: #33363f;
  --text: #eceef2;
  --muted: #9ca3af;
  --primary: #b8a8e8;
  --primary-bright: #cebdff;
  --on-primary: #1d152a;
  --ok: #4ade80;
  --err: #f87171;
}

* { box-sizing: border-box; }

html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-bright); }

.page {
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 16px 40px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 18px;
  letter-spacing: .2px;
}
.brand img { border-radius: 10px; }

.hero { padding: 72px 0 48px; max-width: 640px; }

h1 {
  font-size: clamp(34px, 7vw, 56px);
  line-height: 1.08;
  letter-spacing: -1px;
  margin: 0 0 18px;
}

.lead { color: var(--muted); font-size: 18px; margin: 0 0 32px; }

.waitlist .row { display: flex; gap: 10px; }

.waitlist input[type="email"] {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--outline);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}
.waitlist input[type="email"]:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }

.waitlist button {
  height: 48px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: var(--primary);
  color: var(--on-primary);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
}
.waitlist button:hover { background: var(--primary-bright); }
.waitlist button:disabled { opacity: .6; cursor: default; }

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--primary); flex: none; }

.status { min-height: 1.5em; margin: 12px 0 0; font-size: 15px; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }

.note { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 48px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 20px;
}
.step .num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--surface-high);
  color: var(--primary-bright);
  font-weight: 650;
  font-size: 14px;
}
.step h2 { font-size: 17px; margin: 12px 0 6px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

.foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--outline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 16px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }

@media (max-width: 640px) {
  .hero { padding: 48px 0 36px; }
  .waitlist .row { flex-direction: column; }
  .waitlist button { width: 100%; }
  .steps { grid-template-columns: 1fr; }
}
