@font-face {
  font-family: Manrope;
  src: url("/fonts/Manrope-Variable.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #111111;
  --paper: #ffffff;
  --surface: #f2f2f2;
  --muted: #5c5c5c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--ink);
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  padding: 8px 12px;
  background: var(--paper);
}

.skip:focus {
  top: 12px;
}

.site-header,
.site-footer,
.page {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.logo img {
  width: 160px;
  height: auto;
}

.header-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

.header-link:hover {
  text-decoration: underline;
}

.page {
  padding-top: 24px;
  padding-bottom: 64px;
}

.hero {
  display: grid;
  gap: 32px;
  align-items: start;
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 12em;
}

.status-label {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 600;
}

.lede {
  margin: 0;
  max-width: 28em;
  color: var(--ink);
}

.panel {
  background: var(--surface);
  border-radius: 16px;
  padding: 24px;
}

fieldset {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}

legend {
  margin-bottom: 8px;
  font-weight: 600;
}

.choice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 8px 0;
  font-weight: 400;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
  font-weight: 600;
}

input[type="email"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}

input[type="radio"],
input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.35rem 0 0;
  flex: 0 0 auto;
  accent-color: var(--ink);
}

button {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
}

button:disabled {
  opacity: 0.6;
}

.fine-print,
.status-label,
.site-footer {
  color: var(--muted);
}

.fine-print {
  margin: 8px 0 0;
  font-size: 0.95rem;
}

.status {
  min-height: 1.5em;
  margin: 0 0 12px;
}

.status:empty {
  display: none;
}

.status.is-error {
  font-weight: 600;
}

.steps {
  margin-top: 64px;
}

.steps h2,
.prose h1 {
  margin: 0 0 24px;
  font-size: 1.5rem;
  font-weight: 700;
}

.steps ol {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  padding-left: 2.5rem;
  position: relative;
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  color: var(--muted);
  font-weight: 600;
}

.steps h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 600;
}

.steps p {
  margin: 0;
}

.prose {
  max-width: 40em;
}

.prose p {
  margin: 0 0 16px;
}

.site-footer {
  padding-bottom: 32px;
}

.site-footer p {
  margin: 0 0 8px;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1fr minmax(20rem, 24rem);
    gap: 48px;
    padding-top: 24px;
  }

  .steps ol {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .steps li {
    padding-left: 0;
    padding-top: 2rem;
  }

  .steps li::before {
    top: 0;
  }
}
