/* Allo by Josh Puckett, SIL Open Font License 1.1 (fonts/OFL.txt). Subset: Latin + PT-BR, wght 400-700. */
@font-face {
  font-family: "Allo";
  src: url("/fonts/allo.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --ink: #111827;
  --muted: #5b6472;
  --line: #e5e7eb;
  --blue: #1a73e8;
  --blue-dark: #1558b0;
  --error: #b42318;
  color-scheme: light;
}

* { box-sizing: border-box; }

html, body { margin: 0; background: var(--bg); }

body {
  font-family: "Allo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
}

.card {
  width: 100%;
  max-width: 480px;
  padding: 40px 36px 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 12px 32px rgba(17, 24, 39, .06);
}

.kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--blue);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 6vw, 32px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.01em;
  text-wrap: balance;
}

.lead { margin: 0 0 12px; color: var(--muted); }
.lead strong { color: var(--ink); font-weight: 600; }

form { margin-top: 24px; }

input[type="email"] {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 16px;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid #d1d5db;
  border-radius: 12px;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
input[type="email"]::placeholder { color: #9aa1ac; }
input[type="email"]:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(26, 115, 232, .15); }

button {
  display: block;
  width: 100%;
  height: 54px;
  margin-top: 12px;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  background: var(--blue);
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  transition: background .15s, transform .05s;
}
button:hover { background: var(--blue-dark); }
button:active { transform: translateY(1px); }
button:disabled { opacity: .7; cursor: default; }
button:focus-visible { outline: 3px solid rgba(26, 115, 232, .35); outline-offset: 2px; }

.msg { margin: 12px 0 0; font-size: 15px; color: var(--error); }

.fine { margin: 20px 0 0; font-size: 13px; line-height: 1.5; color: #8a919c; }

/* The bot check runs on its own in the background; nobody needs to see it. */
altcha-widget { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.trap, .sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { place-items: start center; padding-top: max(40px, env(safe-area-inset-top)); }
  .card { padding: 28px 22px 24px; border-radius: 16px; }
}
