*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light dark; }
body {
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
  max-width: 44rem;
  margin: 3rem auto;
  padding: 0 1.5rem;
  color: #222;
  background: #fafafa;
}
@media (prefers-color-scheme: dark) {
  body { color: #eee; background: #191919; }
  a { color: #7cc; }
  input, button { background: #222; color: #eee; border-color: #444; }
}
h1 { margin-top: 0; }
a { color: #06c; }
main, article { max-width: 100%; }
.callout {
  margin: 2rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid #999;
  background: rgba(128, 128, 128, 0.08);
  border-radius: 4px;
}

/* Gate form */
.gate-form { display: grid; gap: 1rem; margin: 1.5rem 0; }
.gate-field { display: grid; gap: 0.25rem; }
.gate-field span { font-weight: 600; }
input[type=email],
input[type=text],
textarea {
  padding: 0.6rem 0.8rem;
  font: inherit;
  border: 1px solid #bbb;
  border-radius: 4px;
  width: 100%;
}
textarea {
  min-height: 6rem;
  font-family: inherit;
  resize: vertical;
}
.gate-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  align-items: start;
  font-size: 0.95rem;
}
button {
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-weight: 600;
  background: #06c;
  color: white;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  justify-self: start;
}
button:hover { background: #05a; }
