/* ══════════════════════════════════════════════════════════════
   WAH Pro — Shared Public Styles
   For: /t/, /receive/, /register/ pages
   These pages are loaded from SMS/email links — self-contained
   for reliability but share a common design language.
   ══════════════════════════════════════════════════════════════ */

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --orange: #F4622A;
  --orange-hover: #e0551f;
  --offwhite: #FFF9F4;
  --dark: #1a1a1a;
  --mid: #555;
  --light: #888;
  --border: #e5e0d8;
  --error: #c0392b;
  --success: #16A34A;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ── Body ────────────────────────────────────────────────── */
html, body {
  height: 100%;
}
body {
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Orange Header ────────────────────────────────────────── */
.header {
  background: var(--orange);
  color: #fff;
  padding: 16px 20px;
}
.header-brand {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.85;
  margin-bottom: 4px;
}
.header h1 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
}
.header-sub {
  font-size: 13px;
  opacity: 0.8;
  margin-top: 4px;
}

/* ── Content ──────────────────────────────────────────────── */
.content {
  flex: 1;
  padding: 20px;
  max-width: 540px;
  margin: 0 auto;
  width: 100%;
}

/* ── Shared footer ──────────────────────────────────────────── */
.wah-shared-footer {
  max-width: 480px;
  margin: 24px auto 32px;
  padding: 20px 20px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.wah-shared-footer .wah-wordmark {
  font-size: 15px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.wah-shared-footer p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.55;
  margin: 0;
}

/* ── State cards ──────────────────────────────────────────── */
.state-card {
  background: #fff;
  border-radius: 14px;
  padding: 32px 24px;
  text-align: center;
  margin: 0;
  border: 1.5px solid var(--border);
}
.state-card h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.state-card p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
  margin-bottom: 20px;
}
.state-card .emoji {
  font-size: 40px;
  margin-bottom: 16px;
  display: block;
}

/* ── Primary Button ──────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  padding: 12px 24px;
  border-radius: 10px;
  font-family: var(--font-family);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s;
}
.btn-primary:hover { opacity: 0.9; }

/* ── Spinner ──────────────────────────────────────────────── */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--orange);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
