/* ─── RESET ────────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── BASE ─────────────────────────────────────────────────────────────────── */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

/* ─── CARD ─────────────────────────────────────────────────────────────────── */
.card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  margin: auto;
}

/* index.html uses slightly wider card and centered text */
.card--center { text-align: center; max-width: 420px; }
/* success.html uses more padding */
.card--success { padding: 48px 32px; max-width: 400px; width: 90%; }

/* ─── LOGO ─────────────────────────────────────────────────────────────────── */
.logo { width: 160px; height: auto; display: block; margin: 0 auto 20px; }
.logo--lg { width: 180px; margin-bottom: 24px; }

/* ─── TYPOGRAPHY ───────────────────────────────────────────────────────────── */
h1 { font-size: 1.3rem; margin-bottom: 6px; color: #111; }
h1.h1--lg { font-size: 1.4rem; margin-bottom: 8px; }
h1.h1--xl { font-size: 1.5rem; margin-bottom: 10px; }

p { color: #666; font-size: 0.95rem; }
p.subtitle { margin-bottom: 20px; font-size: 0.875rem; }
p.subtitle--lg { margin-bottom: 24px; }

/* ─── FORM ELEMENTS ────────────────────────────────────────────────────────── */
label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  outline: none;
  margin-bottom: 14px;
}

input[type="email"] {
  padding: 14px 16px;
  font-size: 1rem;
  margin-bottom: 16px;
}

input:focus { border-color: #001559; }

textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  outline: none;
  margin-bottom: 6px;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}
textarea:focus { border-color: #001559; }

.help-text { font-size: 0.8rem; color: #888; margin-bottom: 8px; line-height: 1.4; }
.char-hint { font-size: 0.78rem; color: #aaa; margin-bottom: 14px; }
.required { color: #dc2626; }

/* ─── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn {
  width: 100%;
  padding: 14px 32px;
  background: #001559;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 100vw;
  cursor: pointer;
}

/* index.html button doesn't need full width */
.btn--inline { width: auto; }

.btn-secondary {
  width: 100%;
  padding: 14px 32px;
  background: white;
  color: #001559;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid #001559;
  border-radius: 100vw;
  cursor: pointer;
}

.btn:disabled,
.btn-secondary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }

/* ─── ERRORS ───────────────────────────────────────────────────────────────── */
.error { color: #dc2626; margin-top: 10px; font-size: 0.875rem; }
.error--lg { margin-top: 12px; font-size: 0.9rem; }

/* ─── SUPPLEMENT LAYOUT ────────────────────────────────────────────────────── */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.row input { margin-bottom: 0; }
.row-spacer { margin-bottom: 14px; }
.field { margin-bottom: 0; }

/* ─── ADDRESS PAGE ─────────────────────────────────────────────────────────── */
.confirm-box {
  background: #f9f9f9;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  color: #333;
  white-space: pre-line;
}
.confirm-label { font-size: 0.85rem; font-weight: 600; color: #333; margin-bottom: 6px; }
.confirm-question { font-size: 0.9rem; color: #555; margin-bottom: 14px; }

#manual-form { display: none; }

/* ─── SUCCESS PAGE ─────────────────────────────────────────────────────────── */
.icon { font-size: 2.5rem; margin-bottom: 16px; }