/* Placeholder styling for preparednotscared.org (A2P opt-in + legal pages).
   Deliberately plain: fonts and colours are not signed off yet (system fonts, black/white + one dark green). */
:root {
  --ink: #16191d;
  --muted: #4a5058;
  --line: #d9dde2;
  --bg-soft: #f5f6f4;
  --accent: #24452f;
  --accent-hover: #1a3423;
  --error: #b3261e;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: #fff; font-size: 17px; line-height: 1.55; }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 560px; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 16px; padding-bottom: 16px; }
.wordmark { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }

main.wrap { padding-top: 36px; padding-bottom: 48px; }
h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 14px; }
.lede { font-size: 18px; color: var(--muted); margin: 0 0 28px; }

.card { border: 1px solid var(--line); border-radius: 10px; padding: 24px; background: #fff; }
@media (max-width: 380px) { .card { padding: 18px 14px; } }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.field input { width: 100%; font: inherit; font-size: 16px; padding: 12px 12px; border: 1px solid #b9bfc6; border-radius: 6px; background: #fff; color: var(--ink); }
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.iti { width: 100%; }

.optin { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 14px; padding: 12px; background: var(--bg-soft); border-radius: 6px; }
.optin input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); }
.optin label { font-size: 14px; line-height: 1.5; color: #2b3036; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error { color: var(--error); font-size: 15px; font-weight: 600; min-height: 0; margin: 4px 0 10px; }
.form-error:empty { margin: 0; }

.btn { display: block; width: 100%; font: inherit; font-size: 17px; font-weight: 700; padding: 14px 20px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; cursor: pointer; }
.btn:hover { background: var(--accent-hover); }
.btn:disabled { opacity: .7; cursor: default; }

.disclosure { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }

.success h2 { margin: 0 0 8px; font-size: 24px; }
.success p { margin: 0; }
.success:focus { outline: none; }

/* Legal pages */
.legal h1 { margin-bottom: 6px; }
.legal .effective { color: var(--muted); margin: 0 0 24px; }
.legal h2 { font-size: 20px; margin: 30px 0 8px; }
.legal p, .legal li { font-size: 16px; }
.legal ul { padding-left: 22px; margin: 8px 0; }
.legal li { margin-bottom: 6px; }

.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); color: var(--muted); font-size: 14px; }
.site-footer .wrap { padding-top: 20px; padding-bottom: 28px; }
.site-footer p { margin: 0 0 6px; }

/* Placeholders waiting for Charles's details (legal name, address, email…). Remove the highlight once filled in. */
.ph { background: #fff3b0; }

/* Phone widget dropdown: keep it inside small screens */
.iti__dropdown-content { max-width: calc(100vw - 40px); }
