:root {
  color-scheme: light;
  --ink: #17211b;
  --muted: #526057;
  --brand: #176b3a;
  --brand-dark: #0f4e2a;
  --canvas: #f3f6f1;
  --surface: #ffffff;
  --line: #d8e1d9;
  --danger: #a12727;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", sans-serif;
  line-height: 1.75;
}

a { color: var(--brand-dark); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #e5a50a; outline-offset: 3px; }

header, main, footer { width: min(100% - 2rem, 52rem); margin-inline: auto; }
header { display: flex; align-items: center; justify-content: space-between; padding-block: 1.25rem; }
.brand { color: var(--brand); font-size: 1.35rem; font-weight: 850; letter-spacing: -.03em; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .8rem; font-size: .9rem; }
main { padding-block: 3rem 5rem; }
.hero { padding-block: 4rem; }
h1 { max-width: 18em; margin: 0 0 1rem; font-size: clamp(2rem, 7vw, 3.7rem); letter-spacing: -.045em; line-height: 1.15; }
h2 { margin-top: 2.5rem; font-size: 1.35rem; line-height: 1.4; }
p, li { max-width: 46rem; }
.lede { color: var(--muted); font-size: 1.08rem; }
.card { margin-top: 1.5rem; padding: clamp(1.25rem, 4vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: 0 16px 42px rgba(19, 53, 29, .07); }
.notice { padding: 1rem 1.2rem; border-left: .3rem solid var(--brand); background: #e8f3eb; }
.danger { border-left-color: var(--danger); background: #faeaea; }
label { display: block; margin-top: 1.15rem; font-weight: 700; }
input { width: 100%; min-height: 3rem; margin-top: .4rem; padding: .7rem .8rem; border: 1px solid #87958a; border-radius: .65rem; font: inherit; }
button { min-height: 3rem; margin-top: 1rem; padding: .7rem 1.1rem; border: 0; border-radius: 999px; background: var(--brand); color: white; font: inherit; font-weight: 750; cursor: pointer; }
button:hover { background: var(--brand-dark); }
button:disabled { opacity: .5; cursor: not-allowed; }
.secondary { background: transparent; color: var(--brand-dark); border: 1px solid var(--brand); }
.status { min-height: 1.75rem; margin-top: 1rem; font-weight: 650; }
.muted { color: var(--muted); }
footer { border-top: 1px solid var(--line); padding-block: 2rem 3rem; color: var(--muted); font-size: .9rem; }
footer nav { margin-top: .7rem; }
@media (max-width: 38rem) { header { align-items: flex-start; flex-direction: column; gap: .7rem; } main { padding-top: 1.5rem; } }
