/* Mobile-first, system fonts only: no requests to other origins. */
:root {
  --bg: #fffaf0;
  --surface: #ffffff;
  --text: #1f2933;
  --muted: #4b5563;
  --primary: #0b6e4f;
  --primary-dark: #08523b;
  --badge-bg: #fff3cd;
  --badge-text: #5c4400;
  --border: #e5ded0;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.page {
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.hero {
  margin-bottom: 1.5rem;
}

.brand {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.badge {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.95rem;
  font-weight: 600;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  line-height: 1.25;
}

h2 {
  margin: 0 0 0.5rem;
  font-size: 1.3rem;
  line-height: 1.3;
}

h3 {
  margin: 1rem 0 0.25rem;
  font-size: 1.075rem;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.125rem;
}

section {
  margin: 0 0 1.75rem;
}

p {
  margin: 0 0 0.75rem;
}

.points {
  margin: 0;
  padding-left: 1.25rem;
}

.points li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--primary);
  text-underline-offset: 0.15em;
}

.interest {
  padding: 1.25rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--surface);
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

label {
  font-weight: 600;
}

select,
button {
  min-height: 3rem;
  border-radius: 0.75rem;
  font: inherit;
}

select {
  padding: 0 0.75rem;
  border: 1px solid #8a8173;
  background: var(--surface);
  color: var(--text);
}

button {
  border: none;
  background: var(--primary);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: var(--primary-dark);
}

button:disabled {
  background: #6b7280;
  cursor: default;
}

select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}

.footer {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

@media (min-width: 40rem) {
  .page {
    padding-top: 3rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  label {
    flex-basis: 100%;
  }

  select,
  button {
    flex: 1;
  }
}
