:root {
  --ink: #1a2421;
  --paper: #f3f0e8;
  --line: #d5d0c4;
  --green: #0f4c3a;
  --green-soft: #e7f2ec;
  --footer: #f6f3ec;
  --error: #8a3a2a;
  --field: #fffdf8;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 1.125rem;
  line-height: 1.55;
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-150%);
  background: var(--field);
  color: var(--green);
  padding: 0.4rem 0.6rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
}

.skip:focus {
  transform: none;
  z-index: 2;
}

header {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.brand {
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  gap: 1rem;
}

nav a {
  font-weight: 600;
  text-decoration: none;
}

nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

main {
  flex: 1;
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 2.25rem 0 3rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 7vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pitch {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.45;
}

.pt {
  margin: 0 0 1.25rem;
  font-size: 1.0625rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.25rem;
}

li {
  margin: 0;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

li:last-child {
  border-bottom: 1px solid var(--line);
}

li::marker {
  color: var(--green);
}

.status {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.hint,
.form-status,
label,
legend,
button,
.button,
.choice {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

.hint {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.45;
}

a {
  color: var(--green);
  font-weight: 600;
}

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

.field {
  margin: 0 0 1rem;
}

.field > label,
legend {
  font-weight: 700;
  font-size: 1rem;
}

.field input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.field select,
.field textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.65rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--field);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field select {
  appearance: auto;
}

.consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.45;
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  flex: 0 0 auto;
  accent-color: var(--green);
}

fieldset {
  margin: 0 0 1.1rem;
  padding: 0.35rem 0.9rem 0.8rem;
  border: 1px solid var(--line);
  min-inline-size: 0;
}

legend {
  padding: 0 0.25rem;
}

.choice {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  margin: 0.45rem 0;
  font-size: 1rem;
  line-height: 1.4;
}

.choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  flex: 0 0 auto;
  accent-color: var(--green);
}

button,
a.button {
  display: inline-block;
  margin: 0.25rem 0 0;
  padding: 0.75rem 1.15rem;
  border: 0;
  background: var(--green);
  color: var(--paper);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

a.button:hover,
button:hover {
  background: #0c3d2f;
}

button:disabled {
  opacity: 0.55;
  cursor: default;
}

.form-status {
  font-size: 1rem;
  font-weight: 700;
}

.form-status.ok {
  color: var(--green);
}

.form-status.err {
  color: var(--error);
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer {
  background: var(--ink);
  color: var(--footer);
  padding: 1.5rem 1.25rem 1.75rem;
}

footer p {
  width: min(40rem, 100%);
  margin: 0 auto;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.5;
}

@media (max-width: 40rem) {
  header,
  main {
    width: min(40rem, calc(100% - 2rem));
  }

  main {
    padding: 1.75rem 0 2.5rem;
  }

  .pitch {
    font-size: 1.15rem;
  }
}
