:root {
  --blue: #0d4f8b;
  --blue-dark: #0a3a68;
  --sky: #e8f1f9;
  --sand: #f6f0e6;
  --terra: #b94a2f;
  --ink: #1d2733;
  --muted: #5a6776;
  --line: #d9e2ec;
  --white: #ffffff;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --blue: #7db4e6;
    --blue-dark: #a9cdf0;
    --sky: #14222f;
    --sand: #1b1f24;
    --terra: #e58a6e;
    --ink: #e8edf2;
    --muted: #a3afbc;
    --line: #2a3643;
    --white: #10161d;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--white);
}
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); margin: 0 0 .6em; }
h3 { font-size: 1.25rem; margin: 0 0 .4em; }
a { color: var(--blue); }
a:hover { color: var(--terra); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }

header.site { border-bottom: 1px solid var(--line); background: var(--white); position: sticky; top: 0; z-index: 5; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { font: 700 1.2rem Georgia, serif; color: var(--blue); text-decoration: none; letter-spacing: .2px; }
.brand span { color: var(--terra); }
nav.main { display: flex; gap: 4px 18px; flex-wrap: wrap; }
nav.main a { text-decoration: none; color: var(--ink); font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
nav.main a:hover, nav.main a[aria-current="page"] { border-color: var(--terra); color: var(--ink); }

.hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, #3a86c8 100%); color: #fff; padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero h1 { color: #fff; max-width: 14em; }
.hero p { font-size: 1.15rem; max-width: 34em; color: #e9f2fb; }
.hero .wave { position: absolute; inset: auto 0 0 0; height: 36px; background: var(--white); border-radius: 100% 100% 0 0 / 100% 100% 0 0; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; margin: 6px 10px 6px 0; border: 2px solid transparent; }
.btn.primary { background: #fff; color: var(--blue-dark); }
.btn.primary:hover { background: var(--sand); color: var(--blue-dark); }
.btn.ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.btn.ghost:hover { background: rgba(255,255,255,.15); color: #fff; }
.btn.solid { background: var(--blue); color: #fff; }
.btn.solid:hover { background: var(--terra); color: #fff; }

section { padding: 52px 0; }
section.alt { background: var(--sand); }
section.sky { background: var(--sky); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
section.alt .card { background: var(--white); }
.card p { margin: .3em 0 0; color: var(--muted); }
.card .tag { display: inline-block; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--terra); font-weight: 700; margin-bottom: 6px; }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 4px 54px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.note { border-left: 4px solid var(--terra); background: var(--sand); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; margin: 22px 0; }
.note.sky { background: var(--sky); border-color: var(--blue); }
table.t { width: 100%; border-collapse: collapse; margin: 18px 0; }
table.t th, table.t td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.t th { background: var(--sky); font-weight: 600; }
.slot { border: 2px dashed var(--line); border-radius: var(--radius); padding: 22px; text-align: center; color: var(--muted); background: var(--white); }
.slot strong { display: block; color: var(--ink); font-family: Georgia, serif; font-size: 1.15rem; }
.label { display: inline-block; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line); color: var(--muted); border-radius: 999px; padding: 2px 10px; }
.regions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.regions span { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; }

footer.site { background: var(--blue-dark); color: #cfe0f1; padding: 40px 0 28px; font-size: .95rem; }
footer.site a { color: #fff; }
footer.site .cols { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer.site h4 { margin: 0 0 8px; color: #fff; font-family: Georgia, serif; }
footer.site .fine { border-top: 1px solid rgba(255,255,255,.2); margin-top: 26px; padding-top: 16px; font-size: .85rem; }
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 48px 0 60px; }
  nav.main { gap: 2px 14px; }
}

a.give { display: inline-block; background: var(--terra); color: #fff; font-weight: 600; text-decoration: none; padding: 8px 18px; border-radius: 999px; font-size: .95rem; border: 2px solid transparent; }
a.give:hover { background: var(--blue); color: #fff; }
footer.site a.give { color: #fff; background: var(--terra); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) a.give { color: #10161d; } :root:not([data-theme="light"]) footer.site a.give { color: #10161d; } }
