/* signup/styles.css — shared styles for all three pages */
:root {
  --ink: #111827;
  --muted: #6b7280;
  --bg: #fafafa;
  --card: #ffffff;
  --border: #e5e7eb;
  --accent: #1a4fa0;
  --ok: #1f7a3a;
  --warn: #b33a00;
}
* { box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  margin: 0;
  line-height: 1.5;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 40px 24px; min-height: calc(100vh - 80px); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 32px; }
.brand-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  grid-column: 1 / -1;
}
.brand-header-icon { display: block; border-radius: 10px; }
.brand-header-text { line-height: 1; }
.brand-header-name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.brand-header-tagline { font-size: 12px; color: var(--muted); margin-top: 4px; }
h1 { font-size: 28px; margin: 0 0 8px; font-weight: 600; letter-spacing: -0.01em; }
h2 { font-size: 20px; margin: 0 0 12px; font-weight: 600; }
p { margin: 0 0 12px; color: var(--ink); }
.muted { color: var(--muted); font-size: 14px; }
.form-subtitle { font-size: 13px; color: var(--muted); margin: 0 0 24px; }
.trust-row { font-size: 13px; color: var(--muted); margin-top: 12px; }

@media (max-width: 600px) {
  .wrap { padding: 16px 12px; }
  .card { padding: 20px; }
  .brand-header { margin-bottom: 16px; padding-bottom: 16px; }
}
.form label { display: block; font-size: 13px; font-weight: 500; margin: 12px 0 4px; }
.form input[type="text"],
.form input[type="email"],
.form input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 16px;
  font-family: inherit;
}
.form input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.form .turnstile { margin: 16px 0 8px; }
.form .legal { font-size: 12px; color: var(--muted); margin: 12px 0; }
.form .legal a { color: var(--muted); text-decoration: underline; }
.form .error { background: #fde6dc; border: 1px solid #f0a585; border-radius: 6px; padding: 8px 12px; color: var(--warn); font-size: 13px; margin: 8px 0; display: none; }
.form .error.show { display: block; }
.promo-section { margin: 8px 0 16px; }
.promo-toggle { background: none; border: none; padding: 0; color: var(--accent); font-size: 13px; cursor: pointer; text-decoration: underline; }
.promo-input-row { display: flex; gap: 8px; align-items: center; }
.promo-input-row input { flex: 1; padding: 10px; border: 1px solid var(--border); border-radius: 6px; font-size: 14px; text-transform: uppercase; }
.promo-input-row button { padding: 10px 16px; border: 1px solid var(--ink); background: #fff; color: var(--ink); border-radius: 6px; font-size: 14px; cursor: pointer; }
.promo-input-row button:disabled { opacity: 0.6; cursor: not-allowed; }
.promo-status { font-size: 13px; margin-top: 6px; min-height: 18px; }
.promo-status.applied { color: #2a7a3a; }
.promo-status.error { color: var(--warn); }
.btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-secondary {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  background: #fff;
}
.footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 40px;
}
.footer-attribution { margin-bottom: 6px; }
.footer-attribution a { color: var(--accent); text-decoration: none; font-weight: 500; }
.footer-links a { color: var(--muted); text-decoration: none; margin: 0 4px; }
.success-check {
  width: 48px; height: 48px;
  background: var(--ok);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  margin-bottom: 16px;
}
.cta-row { display: flex; gap: 12px; margin: 24px 0; flex-wrap: wrap; }
@media (max-width: 600px) { .cta-row { flex-direction: column; } }
.whats-next { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 24px 0; }
