:root {
  color-scheme: light dark;
  --background: #f7f1df;
  --surface: #fffdf5;
  --text: #082f31;
  --muted: #4d6e6e;
  --accent: #00615f;
  --accent-text: #fff;
  --border: #d9dfd4;
  --notice: #e2f8ea;
  --error: #a92323;
  --error-bg: #ffeded;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #071f20;
    --surface: #0d2b2c;
    --text: #f5f0df;
    --muted: #b8ceca;
    --accent: #87e0c0;
    --accent-text: #071f20;
    --border: #315050;
    --notice: #153d33;
    --error: #ffb4ab;
    --error-bg: #4d2020;
  }
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55; }
main { width: min(760px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 80px; }
header, .card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: clamp(24px, 5vw, 44px); box-shadow: 0 18px 45px rgb(0 0 0 / 8%); }
.card { margin-top: 24px; }
h1 { margin: 0 0 10px; font-size: clamp(2.2rem, 8vw, 3.8rem); line-height: 1.05; letter-spacing: -0.04em; }
h2 { margin-top: 0; }
p { margin: 8px 0; }
li + li { margin-top: 8px; }
.eyebrow { color: var(--accent); font-size: .84rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.home-link { display: inline-block; min-height: 48px; margin-bottom: 18px; color: var(--accent); font-weight: 750; text-decoration: none; }
.muted, .help { color: var(--muted); }
nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
nav button { min-height: 48px; border: 1px solid var(--border); border-radius: 999px; padding: 9px 15px; background: transparent; color: var(--text); font: inherit; font-weight: 650; cursor: pointer; }
nav button[aria-pressed="true"] { background: var(--accent); color: var(--accent-text); border-color: var(--accent); }
form { display: grid; gap: 22px; }
label { display: block; margin-bottom: 7px; font-weight: 700; }
input, textarea { width: 100%; min-height: 48px; border: 1px solid var(--border); border-radius: 12px; padding: 13px 14px; background: var(--background); color: var(--text); font: inherit; }
textarea { min-height: 150px; resize: vertical; }
.help { margin-top: 5px; font-size: .9rem; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
button[type="submit"] { min-height: 48px; border: 0; border-radius: 999px; padding: 12px 22px; background: var(--accent); color: var(--accent-text); font: inherit; font-weight: 750; cursor: pointer; }
button:disabled { cursor: wait; opacity: .62; }
.status { display: none; border-radius: 12px; padding: 13px 15px; }
.status.success { display: block; background: var(--notice); }
.status.error { display: block; color: var(--error); background: var(--error-bg); }
footer { color: var(--muted); padding: 28px 8px 0; text-align: center; font-size: .92rem; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
