/* Elevation 10 Thousand - site styles. No external fonts, scripts or trackers. */
:root {
  --bg: #0e0e0e;
  --bg2: #161616;
  --panel: #1c1c1c;
  --line: #2e2e2e;
  --text: #f1efea;
  --dim: #b4b0a8;
  --accent: #d9a35b;      /* warm sandstone / weathered steel */
  --accent-ink: #1a1308;
  --paper: #f6f4ef;
  --paper-ink: #1d1b18;
  --paper-dim: #55504a;
  --link-paper: #7a4a12;
  --radius: 10px;
  --wrap: 1120px;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 6px; z-index: 10; font-weight: 600; }
.skip:focus { left: 12px; }
.muted { color: var(--dim); }
.small { font-size: .875rem; }
.card p.mt { margin-top: 14px; }
.card p.mt-s { margin-top: 6px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(14,14,14,.94); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand img { width: 160px; height: auto; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 22px; }
.nav a { color: var(--text); text-decoration: none; font-size: .95rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 70% 20%, #232019 0%, var(--bg) 62%); }
.hero::before { content: ""; position: absolute; inset: 0; background: url("/assets/topo.svg") center / cover no-repeat; pointer-events: none; }
.hero .wrap { position: relative; padding-top: clamp(64px, 11vw, 132px); padding-bottom: clamp(64px, 10vw, 120px); }
.eyebrow { letter-spacing: .32em; text-transform: uppercase; font-size: .8rem; color: var(--accent); margin: 0 0 14px; font-weight: 600; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); margin: 0 0 20px; max-width: 15ch; }
.lead { font-size: clamp(1.08rem, 2.1vw, 1.3rem); color: var(--dim); max-width: 46ch; margin: 0 0 30px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--accent); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-ghost { color: var(--text); border-color: #5a554c; }
.btn:hover { filter: brightness(1.08); }

/* sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin: 0 0 14px; }
.section-intro { color: var(--dim); max-width: 60ch; margin: 0 0 36px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 24px 22px; }
.card h3 { font-size: 1.25rem; margin: 0 0 8px; }
.card p { margin: 0; color: var(--dim); }
.card .icon { width: 34px; height: 34px; margin-bottom: 14px; color: var(--accent); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.steps li { counter-increment: s; border-top: 2px solid var(--accent); padding-top: 16px; }
.steps li::before { content: "0" counter(s); font-family: var(--serif); color: var(--accent); font-size: 1.1rem; display: block; margin-bottom: 4px; }
.steps h3 { margin: 0 0 6px; font-size: 1.15rem; }
.steps p { margin: 0; color: var(--dim); }
.split { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); align-items: start; }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 10px 0 10px 30px; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.cta { text-align: center; }
.cta p { color: var(--dim); max-width: 52ch; margin: 0 auto 26px; }

/* document pages (policies) - light "paper" for long reading */
.doc-hero { padding: 54px 0 34px; border-bottom: 1px solid var(--line); background: var(--bg2); }
.doc-hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 8px; }
.doc-hero p { margin: 0; color: var(--dim); }
.doc { background: var(--paper); color: var(--paper-ink); }
.doc .wrap { max-width: 820px; padding-top: 44px; padding-bottom: 64px; }
.doc h2 { font-size: 1.55rem; margin: 2.2em 0 .5em; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; }
.doc a { color: var(--link-paper); }
.doc :focus-visible { outline-color: var(--link-paper); }
.doc p, .doc li { color: var(--paper-ink); }
.doc .note { background: #ebe6dc; border-left: 4px solid #a8742f; padding: 14px 18px; border-radius: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #d6d0c4; }
.doc th { background: #ebe6dc; font-weight: 700; }
.doc code { font-size: .86em; background: #e7e2d8; padding: 1px 5px; border-radius: 4px; word-break: break-all; }
.doc .toc { background: #ece7de; border-radius: 8px; padding: 16px 22px; }
.doc .toc ol { margin: 0; padding-left: 20px; columns: 2 240px; }
.table-scroll { overflow-x: auto; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 46px; background: var(--bg); font-size: .95rem; }
.footer-grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.footer-brand { font-family: var(--serif); font-size: 1.2rem; margin: 0 0 4px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0 0 6px; }
.footer-links a, .site-footer a { color: var(--text); }
.site-footer p { margin: 0 0 8px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .header-inner { justify-content: center; }
  .nav { justify-content: center; gap: 2px 16px; }
  .brand img { width: 140px; }
  .doc .wrap { padding-top: 32px; }
  .doc th, .doc td { padding: 8px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header, .site-footer, .skip { display: none; } body, .doc { background: #fff; color: #000; } }
.doc .big-link { font-size: 1.35rem; font-weight: 700; overflow-wrap: anywhere; }
