:root {
  color-scheme: light;
  --ink: #17363c;
  --muted: #587077;
  --paper: #f5f8f3;
  --card: #ffffff;
  --accent: #2d725f;
  --line: #d7e1dc;
}

* { box-sizing: border-box; }

body {
  background: radial-gradient(ellipse at top left, #e1eee6, transparent 65%), var(--paper);
  background-repeat: no-repeat;
  min-height: 100dvh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  margin: 0;
}

a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.site-header,
.site-footer {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 920px;
  padding: 22px 24px;
}

.brand {
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-decoration: none;
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

main {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 55px rgba(20, 54, 60, .08);
  margin: 22px auto 48px;
  width: calc(100% - 40px);
  max-width: 920px;
  padding: clamp(28px, 6vw, 64px);
}

h1, h2 { line-height: 1.18; }
h1 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.04em; font-size: clamp(2rem, 5vw, 3.5rem); margin: 0 0 18px; }
h2 { border-top: 1px solid var(--line); padding-top: 26px; font-size: 1.25rem; margin: 36px 0 10px; }
p, li { color: var(--muted); }
.lede { font-size: 1.15rem; max-width: 70ch; }
.updated { color: var(--muted); font-size: .9rem; }

.notice {
  background: #edf6f0;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
}

form {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

label { display: grid; font-weight: 750; gap: 6px; }
input, select, textarea {
  background: #fff;
  border: 1px solid #aebfba;
  border-radius: 10px;
  color: var(--ink);
  font: inherit;
  min-height: 48px;
  min-width: 0;
  padding: 12px 14px;
  width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
button {
  background: var(--accent);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  justify-self: start;
  padding: 12px 22px;
}
.honeypot { left: -10000px; position: absolute; }

@media (max-width: 680px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .site-header, .site-footer { gap: 8px; padding: 18px 20px; }
  main { border-radius: 20px; margin-top: 4px; padding: 28px 22px; width: calc(100% - 24px); }
  button { width: 100%; }
}

.site-header nav a, .site-footer nav a {
  align-items: center;
  display: inline-flex;
  font-size: 14px;
  min-height: 44px;
  text-underline-offset: 4px;
}
.site-header nav a[aria-current="page"] { color: var(--ink); font-weight: 800; }
:is(a, input, select, textarea, button):focus-visible { outline: 3px solid #497cb3; outline-offset: 3px; }
form { border-top: 1px solid var(--line); padding-top: 26px; }
label { font-size: 14px; }
input, select, textarea { font-size: 16px; }
main a { overflow-wrap: anywhere; }
.site-footer { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
