:root {
  --blue: #1f4bff;
  --navy: #0b1640;
  --ground: #f4f6ff;
  --ink-2: #33406b;
  --ink-3: #4a5680;
  --line: #d9def5;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--ground);
  color: var(--navy);
  font-family: Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.card { width: 100%; max-width: 520px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.mark { width: 96px; height: 96px; }
@media (prefers-reduced-motion: no-preference) {
  .mark { animation: bob 4s ease-in-out infinite; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
}
h1 {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 14vw, 104px);
  line-height: 0.9;
  letter-spacing: -0.05em;
}
.tag { margin: 0; font-size: 20px; line-height: 1.5; color: var(--ink-2); }

form { width: 100%; display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
input[type="email"], select {
  flex: 1 1 240px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--navy);
}
select {
  flex: 1 1 100%;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b1640' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 44px;
}
input:focus, select:focus { outline: 3px solid rgba(31, 75, 255, 0.25); border-color: var(--blue); }
button {
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
}
button:hover { background: #163bd6; }
button:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
button[disabled] { opacity: 0.6; cursor: default; }
.hp { display: none; }
.status { margin: 0; min-height: 22px; font-size: 15px; font-weight: 500; }
.status.ok { color: #0b7a6e; }
.status.err { color: #b42318; }
.fine { margin: 0; font-size: 13px; color: var(--ink-3); }
.fine a { color: inherit; }

footer { padding: 24px; text-align: center; font-size: 13px; color: var(--ink-3); }
footer a { color: inherit; }
@media (max-width: 520px) { button { flex: 1 1 100%; } }

/* The privacy page. */
.page { max-width: 640px; margin: 0 auto; padding: 48px 24px; line-height: 1.6; }
.page h1 { font-size: clamp(40px, 9vw, 56px); margin-bottom: 24px; }
.page h2 { font-size: 18px; margin: 28px 0 8px; }
.page p, .page li { color: var(--ink-2); }
.back { display: inline-flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 600; text-decoration: none; margin-bottom: 32px; }
.back img { width: 32px; height: 32px; }
