:root {
  color-scheme: light;
  --forest: #173f36;
  --ink: #22362f;
  --muted: #54695e;
  --paper: #f1f4ed;
  --panel: #fcfdfb;
  --wash: #edf3e9;
  --line: #d8e2da;
  --gold: #ead0a5;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.5 'Malgun Gothic', 'Apple SD Gothic Neo', system-ui, sans-serif;
}

h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; }
.shell { width: min(66rem, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 1;
  inset: .5rem auto auto .5rem;
  transform: translateY(-200%);
  padding: .5rem 1rem;
  background: #fff;
}

.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid #886334; outline-offset: 4px; }

main { padding-block: 1.65rem 2rem; }
.intro { margin-bottom: 1rem; }
.intro h1 {
  color: var(--forest);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: -.06em;
}
.intro p { margin-top: .3rem; color: var(--muted); font-size: .9rem; }

h2 { font-size: 1.2rem; letter-spacing: -.025em; }
h3 { font-size: 1rem; letter-spacing: -.015em; }

.field { margin-top: 1.25rem; }
.field label { display: block; margin-bottom: .35rem; font-weight: 700; }

select {
  appearance: none;
  width: 100%;
  min-height: 3rem;
  padding: .5rem 2.2rem .5rem .8rem;
  border: 1px solid #9bafa2;
  border-radius: .55rem;
  background: #f8faf6;
  color: var(--ink);
  font: inherit;
}

select:disabled { color: var(--muted); opacity: 1; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 32rem) {
  .shell { width: calc(100% - 1.25rem); }
  main { padding-top: 1rem; }
}

@media (forced-colors: active) {
  select { appearance: auto; }
}
