:root {
  color-scheme: light;
  --blue: #8edbe5;
  --blue-deep: #1f7e90;
  --ink: #1d2a35;
  --muted: #62717c;
  --paper: #f8fcfd;
  --line: #d9eaed;
  --warm: #fff6f3;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: linear-gradient(145deg, #e8fbfc 0%, var(--paper) 47%, var(--warm) 100%); }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); }
.page-shell { width: min(100% - 32px, 560px); min-height: 100vh; margin: 0 auto; padding: max(24px, env(safe-area-inset-top)) 0 max(32px, env(safe-area-inset-bottom)); display: grid; align-content: center; gap: 22px; }
.wordmark { align-items: center; color: var(--blue-deep); display: inline-flex; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 700; letter-spacing: -.04em; min-height: 44px; text-decoration: none; width: fit-content; }
.wordmark span { color: #e59b94; }
.card { background: rgba(255, 255, 255, .9); border: 1px solid rgba(217, 234, 237, .95); border-radius: 24px; box-shadow: 0 18px 50px rgba(26, 81, 93, .09); padding: clamp(26px, 7vw, 42px); }
.hero-card { border-top: 5px solid var(--blue); }
.eyebrow { color: var(--blue-deep); font-size: .74rem; font-weight: 800; letter-spacing: .13em; margin: 0 0 13px; text-transform: uppercase; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 8vw, 3.1rem); letter-spacing: -.045em; line-height: 1.03; margin: 0; }
.lede { color: var(--muted); font-size: 1.04rem; line-height: 1.55; margin: 18px 0 26px; }
.form-stack { display: grid; gap: 18px; }
.check-row { align-items: flex-start; color: var(--ink); cursor: pointer; display: flex; font-size: 1rem; gap: 12px; line-height: 1.45; }
.check-row input { accent-color: var(--blue-deep); flex: 0 0 auto; height: 22px; margin: 1px 0 0; width: 22px; }
.button { align-items: center; background: var(--blue-deep); border: 0; border-radius: 14px; color: #fff; cursor: pointer; display: inline-flex; font: inherit; font-weight: 750; justify-content: center; min-height: 50px; padding: 12px 20px; text-decoration: none; transition: background .18s ease, transform .18s ease; width: 100%; }
.button:hover { background: #166a7c; transform: translateY(-1px); }
.button:focus-visible, .text-button:focus-visible, .wordmark:focus-visible { outline: 3px solid #f1a69e; outline-offset: 3px; }
.fine-print, .status-note { color: var(--muted); font-size: .86rem; line-height: 1.5; margin: 24px 0 0; }
.status-note { background: #eef9fa; border-radius: 12px; padding: 12px 14px; }
.text-button { color: var(--blue-deep); display: inline-flex; font: inherit; font-weight: 750; margin-top: 22px; min-height: 44px; align-items: center; background: none; border: 0; cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
.field-error, .message.error { color: #9b2b25; font-size: .9rem; margin: -8px 0 0; }
.messages { display: grid; gap: 8px; }
.message { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin: 0; padding: 12px 14px; }
@media (min-width: 640px) { .page-shell { width: min(100% - 48px, 560px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; } }
