:root {
  --bg: #fbfaf8;
  --surface: #ffffff;
  --text: #1c2026;
  --muted: #5b6370;
  --line: #e4e1dc;
  --accent: #2f5d62;
  --accent-soft: #e6eeee;
  --max: 68rem;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171b;
    --surface: #1b1f24;
    --text: #e8eaed;
    --muted: #a3aab4;
    --line: #2c3238;
    --accent: #8cc0c4;
    --accent-soft: #1f2b2d;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

/* header */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: .6rem; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: .01em; }
.brand svg { width: 30px; height: 20px; flex: none; }
.nav { display: flex; gap: 1.25rem; font-size: .95rem; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }

/* hero */
.hero { padding: 5.5rem 0 4rem; }
.eyebrow { color: var(--accent); font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1rem; }
h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 1.25rem; max-width: 18ch; font-weight: 680; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; margin: 0; }

/* sections */
section { padding: 3.5rem 0; border-top: 1px solid var(--line); }
h2 { font-size: 1.6rem; letter-spacing: -.01em; margin: 0 0 .75rem; font-weight: 650; }
h3 { font-size: 1.1rem; margin: 0 0 .4rem; font-weight: 650; }
.intro { color: var(--muted); max-width: 42rem; margin: 0 0 2rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.25rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem; }
.card p { margin: 0; color: var(--muted); }
.icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 1rem; }
.icon svg { width: 22px; height: 22px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: "0" counter(s); display: block; color: var(--accent); font-weight: 650; font-size: .9rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--muted); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.mail img { display: block; height: 28px; width: auto; max-width: 100%; }
.mail .dark { display: none; }
@media (prefers-color-scheme: dark) { .mail .light { display: none; } .mail .dark { display: block; } }
.small { font-size: .92rem; color: var(--muted); }
dl.facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1.25rem; }
dl.facts dt { color: var(--muted); }
dl.facts dd { margin: 0; }

/* documents */
.doc { padding-top: 3.5rem; padding-bottom: 4rem; }
.doc > * { max-width: 46rem; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); max-width: none; }
.doc h2 { font-size: 1.3rem; margin-top: 2.5rem; }
.doc h3 { margin-top: 1.5rem; }
.doc p, .doc li { color: var(--text); }
.doc .updated { color: var(--muted); margin-top: -.5rem; }
.doc ul { padding-left: 1.25rem; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; font-size: .9rem; color: var(--muted); }
.foot .wrap { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; }
.foot p { margin: 0; max-width: 36rem; }
.foot nav { display: flex; gap: 1.25rem; }
.foot a { color: var(--muted); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 3.5rem 0 2.75rem; }
  section { padding: 2.75rem 0; }
  .contact { grid-template-columns: 1fr; }
  .nav { gap: 1rem; }
}
.brand .c2 { stroke: var(--accent); }
