:root {
  color-scheme: light dark;
  --ink: #172026;
  --muted: #53616a;
  --surface: #ffffff;
  --soft: #edf7f3;
  --accent: #087f5b;
  --line: #d7e2dd;
  --page: #f6f9f7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
a:focus-visible { outline: .2rem solid var(--accent); outline-offset: .2rem; }

.shell { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }

header {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
}

.brand { color: var(--ink); font-weight: 760; font-size: 1.15rem; text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; gap: .9rem; }

main {
  margin-block: 2rem;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--surface);
  box-shadow: 0 1rem 3rem rgb(25 60 45 / 8%);
}

h1, h2 { line-height: 1.2; letter-spacing: -.025em; }
h1 { max-width: 18ch; margin-top: 0; font-size: clamp(2.15rem, 7vw, 4.75rem); }
h2 { margin-top: 2.5rem; font-size: clamp(1.35rem, 3vw, 1.8rem); }
p, li { max-width: 74ch; }
.eyebrow { color: var(--accent); font-weight: 750; text-transform: uppercase; letter-spacing: .08em; }
.lede { color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.notice { margin-block: 1.5rem; padding: 1rem 1.2rem; border-left: .3rem solid var(--accent); background: var(--soft); }
.meta { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { display: inline-block; padding: .75rem 1rem; border-radius: 999px; background: var(--accent); color: white; font-weight: 700; text-decoration: none; }
footer { padding: 1rem 0 3rem; color: var(--muted); }

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef6f2;
    --muted: #b5c4bd;
    --surface: #15201c;
    --soft: #19342b;
    --accent: #6ee7b7;
    --line: #34463e;
    --page: #0d1512;
  }
  .button { color: #092017; background: var(--accent); }
}
