:root {
  color-scheme: light dark;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #18212b;
  --muted: #56606c;
  --line: #e2ddd2;
  --brand: #0e5a5f;
  --brand-ink: #ffffff;
  --brand-soft: #e2eeee;
  --accent: #a8481a;
  --accent-soft: #fbede3;
  --ok: #1f6f43;
  --err: #a3261f;
  --radius: 12px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1316;
    --surface: #151c20;
    --ink: #e7ecee;
    --muted: #9ba7b0;
    --line: #26323a;
    --brand: #5fc0c2;
    --brand-ink: #0b1a1c;
    --brand-soft: #142b2c;
    --accent: #f0a15c;
    --accent-soft: #2c2018;
    --ok: #6fd39a;
    --err: #ff8f87;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 4.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
}
img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 12px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 5;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 1.1rem/1 var(--serif); flex-shrink: 0; }
.brand .tld { color: var(--muted); font-weight: 400; }
.mark { width: 30px; height: 30px; }
.mark rect { fill: var(--brand); }
.mark path { fill: var(--brand-ink); }
.mark path:nth-child(2) { opacity: .8; }
.mark path:nth-child(3) { opacity: .62; }
.site-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a { color: var(--muted); text-decoration: none; font-size: .92rem; padding: 6px 10px; border-radius: 999px; white-space: nowrap; }
.site-nav a:hover { color: var(--ink); background: var(--brand-soft); }
@media (max-width: 640px) {
  .site-nav a:not(:last-child) { display: none; }
  .site-nav a:last-child { color: var(--brand-ink); background: var(--brand); }
}

/* Hero */
.hero {
  padding: 56px 0 48px;
  background:
    radial-gradient(60rem 24rem at 85% -10%, var(--brand-soft), transparent 70%),
    var(--bg);
}
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: .9rem; letter-spacing: .01em; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.2vw, 3.3rem); margin: 0 0 18px; max-width: 22ch; font-weight: 600; }
.lede { font-size: 1.15rem; color: var(--ink); max-width: 42rem; margin: 0 0 32px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.facts strong { display: block; font: 600 1.5rem/1.2 var(--serif); color: var(--brand); margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: .92rem; line-height: 1.45; display: block; }

/* Sections */
.section { padding: 56px 0; border-top: 1px solid var(--line); }
.section.alt { background: var(--surface); }
.prose { max-width: 44rem; }
/* A section that is both wrap and prose keeps the wide wrap's left edge; only its children narrow. */
.wrap.prose { max-width: 68rem; }
.wrap.prose > * { max-width: 44rem; }
.prose > :first-child { margin-top: 0; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin: 0 0 16px; font-weight: 600; }
h3 { font-size: 1.25rem; margin: 32px 0 10px; font-weight: 600; }
p { margin: 0 0 16px; }
.small, .aside { font-size: .94rem; color: var(--muted); }

ul.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
ul.ticks li { position: relative; padding-left: 26px; margin: 8px 0; }
ul.ticks li::before {
  content: ""; position: absolute; left: 4px; top: .62em;
  width: 9px; height: 9px; transform: rotate(45deg);
  background: var(--brand); border-radius: 1px;
}
ol.numbered { padding-left: 1.4rem; margin: 0 0 18px; }
ol.numbered li { margin: 8px 0; padding-left: 4px; }

.grid-2 { display: grid; gap: 16px; margin: 24px 0; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 8px; }
.section:not(.alt) .card { background: var(--surface); }
.card h3 { margin-top: 0; }
.step { margin: 0 0 4px; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); font-weight: 700; }

.callout { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.callout.urgent { border-left-color: var(--accent); background: var(--accent-soft); margin: 0 0 22px; }
.callout.urgent p { margin: 0; }
.callout.urgent strong { color: var(--accent); }

dl.defs { margin: 0; }
dl.defs dt { font-weight: 700; margin-top: 18px; }
dl.defs dd { margin: 4px 0 0; }

/* Contact */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; } }
.contact-form { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px;
  padding: 10px 12px;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--brand); outline-offset: 0; border-color: var(--brand); }
.field.invalid input, .field.invalid textarea { border-color: var(--err); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile { min-height: 65px; margin: 4px 0 12px; }
.btn {
  appearance: none; border: 0; cursor: pointer;
  background: var(--brand); color: var(--brand-ink);
  font: 600 1rem/1 var(--sans); padding: 14px 22px; border-radius: 999px;
}
.btn:hover { filter: brightness(1.08); }
.btn:disabled { opacity: .6; cursor: default; }
.form-status { min-height: 1.4em; margin: 12px 0 0; font-size: .95rem; }
.form-status.err { color: var(--err); }
.fine { font-size: .85rem; color: var(--muted); margin: 8px 0 0; }
.sent h3 { margin-top: 0; color: var(--ok); }

/* Sources and footer */
ol.sources { padding-left: 1.4rem; font-size: .95rem; color: var(--muted); }
ol.sources li { margin: 8px 0; }
.site-foot { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: .9rem; color: var(--muted); }
.site-foot p { max-width: 50rem; }
.foot-links a { color: var(--muted); }

/* Privacy and 404 */
.legal { padding: 48px 16px 64px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.legal h2 { font-size: 1.3rem; margin-top: 32px; }
