/* =========================================================================
   Big State AI — coming-soon styles
   Brand is centralized in --brand. Swapping the brand color is a one-line
   change here; the final logo drops into the .logo-slot in index.html.
   ========================================================================= */

:root {
  --brand: #2563EB;          /* PLACEHOLDER brand color — swap when palette is final */
  --brand-ink: #1e40af;      /* darker brand for hover */
  --ink: #0f172a;            /* primary text */
  --muted: #64748b;          /* secondary text */
  --line: #e2e8f0;           /* hairlines / borders */
  --bg: #f8fafc;             /* page background */
  --card: #ffffff;           /* card surface */
  --ok: #15803d;
  --err: #b91c1c;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.08);
  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(37, 99, 235, 0.08), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}

.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
}

.card {
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 32px;
  text-align: center;
}

/* ---- Logo slot ---- */
.logo-slot {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}
.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.5px;
}
.logo { height: 56px; width: auto; }

.wordmark {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 8px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  background: #fff;
}
.tag .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

h1 {
  margin: 16px 0 12px;
  font-size: clamp(26px, 5.2vw, 36px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0 auto 28px;
  max-width: 44ch;
  color: var(--muted);
  font-size: 17px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 20px;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-ink); }
.btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.4);
  outline-offset: 2px;
}

.signin {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}
.signin-caption {
  font-size: 13px;
  color: var(--muted);
}

/* ---- Notify / email capture ---- */
.notify {
  border-top: 1px solid var(--line);
  padding-top: 28px;
  text-align: left;
}
.notify-heading {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  color: var(--ink);
}
.field-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.field-row input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}
.field-row input[type="email"]:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.35);
  outline-offset: 1px;
  border-color: var(--brand);
}
.field-row .btn { flex: 0 0 auto; }

/* Honeypot — visually & semantically hidden from real users, present in DOM for bots */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}
.consent a, .footer a, .lede a { color: var(--brand); }

.form-status {
  margin: 12px 0 0;
  font-size: 14px;
  text-align: center;
  min-height: 1.2em;
}
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ---- Footer ---- */
.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.footer a { text-decoration: none; }

/* ---- a11y helper ---- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 480px) {
  .card { padding: 32px 22px; }
  .field-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
