/* PAPA palette and type, from papa-web (PAC navy/gold system). No inline styles: the CSP allows 'self' only. */
@font-face { font-family: "Plus Jakarta Sans"; font-weight: 800; font-display: swap;
             src: url("fonts/plus-jakarta-sans-800.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap;
             src: url("fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap;
             src: url("fonts/inter-600.woff2") format("woff2"); }

:root {
  --navy: #102f70;
  --navy-soft: #1b3f8f;
  --gold: #dfb01b;
  --gold-soft: #f7edd2;
  --bg: #fbfaf7;
  --ink: #1c1a15;
  --muted: #4f4b40;
  --border: #e7e3d8;
  --error: #b91c1c;
  --error-soft: #fdecec;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  padding: 24px 16px 32px;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.55 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.card {
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 22px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 6px solid var(--navy);
  border-radius: 16px;
}

.logo { display: block; width: 160px; height: auto; margin: 0 auto 18px; }

.eyebrow {
  margin: 0;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

h1, h2 { font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 800; color: var(--navy); }
h1 { margin: 6px 0 12px; font-size: 34px; line-height: 1.15; text-align: center; }
h2 { margin: 4px 0 12px; font-size: 22px; line-height: 1.3; }

.lede { margin: 0 0 22px; color: var(--muted); text-align: center; }
.offer { margin: 0 0 14px; font-weight: 600; text-align: center; }

label { display: block; margin-bottom: 6px; font-weight: 600; }
input[type="email"] {
  width: 100%;
  padding: 14px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 18px;               /* ≥16px: no zoom-on-focus on iOS */
}
input[type="email"]:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px var(--gold-soft); }
input[aria-invalid="true"] { border-color: var(--error); }

button {
  width: 100%;
  margin-top: 14px;
  padding: 15px 18px;
  border: 0;
  border-radius: 10px;
  background: var(--navy);
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
button:hover { background: var(--navy-soft); }
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
button:disabled { opacity: 0.65; cursor: default; }

.message {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--error-soft);
  color: var(--error);
  font-size: 15px;
}

.privacy { margin: 14px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

a { color: var(--navy); font-weight: 600; }

/* honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

#done, #closed, #full { text-align: left; }
#done p, #closed p, #full p { margin: 0 0 12px; }
.steps { margin: 8px 0 0; padding-left: 22px; }
.steps li { margin-bottom: 8px; }

[hidden] { display: none !important; }

footer {
  max-width: 480px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
footer p { margin: 0 0 6px; }
footer .designation { font-style: italic; }
footer .marks { margin-top: 12px; font-size: 11px; line-height: 1.45; }

@media (min-width: 560px) {
  body { padding-top: 48px; }
  .card { padding: 36px 36px; }
  h1 { font-size: 40px; }
}
