
:root {
  color-scheme: light;
  --ink: #262626;
  --muted: #737373;
  --line: #d4d4d4;
  --border: #e5e5e5;
  --bg: #fff;
  --danger: #dc2626;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
}
.skip:focus {
  left: 0.75rem;
  z-index: 5;
  background: #fff;
  padding: 0.5rem 0.75rem;
}
.site-header, .site-footer {
  border-color: var(--border);
  border-style: solid;
  background: #fff;
}
.site-header { border-width: 0 0 1px; }
.site-footer { border-width: 1px 0 0; margin-top: auto; }
.bar {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.site-header .bar {
  display: flex;
  align-items: center;
  height: 4.5rem;
}
.site-header img { display: block; height: 2rem; width: auto; }
main { flex: 1; }
.wrap {
  width: min(40rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: 3.5rem 0 5rem;
}
h1 {
  margin: 0;
  text-align: center;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.lede {
  margin: 0.75rem 0 0;
  text-align: center;
  color: var(--muted);
}
form { margin-top: 2.5rem; }
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) {
  .grid.two { grid-template-columns: 1fr 1fr; }
}
.field { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.25rem; }
.grid > .field { margin-top: 0; }
.grid + .field,
.field + .grid { margin-top: 1.25rem; }
label { font-size: 0.875rem; font-weight: 500; }
.req { color: var(--ink); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.375rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0 0.75rem;
}
input, select { height: 2.75rem; }
textarea {
  min-height: 8rem;
  padding: 0.75rem;
  resize: vertical;
}
input::placeholder, textarea::placeholder { color: #a3a3a3; }
select.is-empty { color: #a3a3a3; }
select option { color: var(--ink); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2.5rem; }
.select-wrap svg {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: #737373;
  pointer-events: none;
}
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid #a3a3a3;
  outline-offset: 1px;
  border-color: #a3a3a3;
}
.field-error { margin: 0; color: var(--danger); font-size: 0.875rem; }
.consent {
  margin: 1.75rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
.consent a { color: var(--ink); }
.form-error { margin: 1rem 0 0; color: var(--danger); font-size: 0.875rem; }
.actions { display: flex; justify-content: flex-end; margin-top: 1.25rem; }
button[type="submit"] {
  height: 2.75rem;
  padding: 0 2rem;
  border: 0;
  border-radius: 999px;
  background: #262626;
  color: #fff;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
}
button[type="submit"]:hover { background: #404040; }
button[type="submit"]:focus-visible { outline: 2px solid #262626; outline-offset: 2px; }
button[type="submit"]:disabled { opacity: 0.6; cursor: default; }
.hp {
  position: absolute;
  left: -9999px;
  width: 0;
  height: 0;
  overflow: hidden;
}
.thanks { padding: 4rem 0 6rem; text-align: center; }
.thanks p { color: var(--muted); font-size: 1.125rem; }
.site-footer .bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.875rem;
}
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
