:root {
  --bg: #0f120e;
  --bg-2: #161a14;
  --panel: #1c2119;
  --line: #2c3327;
  --text: #e8ebe3;
  --muted: #a3ab99;
  --accent: #f5b301;
  --accent-ink: #1a1400;
  --olive: #6b7d3a;
  --radius: 12px;
  --max: 1120px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #ffd04d; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); font-weight: 750; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 10; }

/* header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(15, 18, 14, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.logo b { color: var(--accent); }
.logo-mark { width: 22px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, var(--accent), #c98a00); box-shadow: inset 0 0 0 3px rgba(0,0,0,0.25); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: var(--panel); }
.menu-btn { display: none; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 12px; font: inherit; font-size: 0.95rem; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 60px; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; flex-direction: column; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; }
}

/* hero */
.hero { border-bottom: 1px solid var(--line); background:
  radial-gradient(900px 300px at 85% -10%, rgba(245, 179, 1, 0.14), transparent 60%),
  repeating-linear-gradient(135deg, rgba(107, 125, 58, 0.06) 0 14px, transparent 14px 28px),
  var(--bg-2); padding: 48px 0 40px; }
.hero-home { padding: 72px 0 56px; }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.hero-actions { margin: 24px 0 12px; }
.meta { font-size: 0.85rem; color: var(--muted); margin: 0; }
.crumbs { font-size: 0.9rem; color: var(--muted); margin-bottom: 16px; display: flex; gap: 8px; }
.crumbs a { color: var(--muted); }

/* buttons */
.btn { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 700; text-decoration: none; padding: 13px 22px; border-radius: 10px; transition: transform 0.15s ease, background 0.15s ease; }
.btn:hover { background: #ffc629; color: var(--accent-ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-ghost:hover { background: rgba(245, 179, 1, 0.1); color: var(--accent); }

/* content */
.content > section { padding: 44px 0 4px; }
.content > section + section { border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin-top: 20px; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; color: var(--text); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.card:hover { border-color: var(--accent); transform: translateY(-2px); color: var(--text); }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--olive); font-weight: 700; margin-bottom: 6px; filter: brightness(1.6); }
.card-link { color: var(--accent); font-weight: 600; font-size: 0.95rem; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 16px 0 20px; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
thead th { background: var(--panel); color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: rgba(255, 255, 255, 0.02); }
td:last-child { font-variant-numeric: tabular-nums; }

.note { color: var(--muted); font-size: 0.95rem; }
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps { padding-left: 1.3em; }
.steps li { margin-bottom: 10px; }
.steps li::marker { color: var(--accent); font-weight: 700; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 6px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 16px; }
.stats div { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stats b { display: block; font-size: 1.3rem; color: var(--accent); }
.stats span { color: var(--muted); font-size: 0.92rem; }

.faq { padding: 44px 0 4px; border-top: 1px solid var(--line); }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 650; list-style: none; position: relative; padding-right: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--accent); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 20px 16px; margin: 0; color: var(--muted); }

.cta-band { display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 48px 0 64px; padding: 28px; border-radius: var(--radius); background: linear-gradient(120deg, rgba(245, 179, 1, 0.16), rgba(107, 125, 58, 0.18)); border: 1px solid rgba(245, 179, 1, 0.35); }
.cta-band h2 { margin-bottom: 0.3em; }
.cta-band p { margin: 0; color: var(--muted); max-width: 560px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 36px 0 20px; font-size: 0.93rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.footer-grid p { color: var(--muted); max-width: 420px; margin-top: 12px; }
.footer-grid nav { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 28px; align-content: start; justify-content: end; }
.footer-grid nav a { color: var(--muted); text-decoration: none; }
.footer-grid nav a:hover { color: var(--text); }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } .footer-grid nav { justify-content: start; } }
.fine { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; }
.fine p { color: var(--muted); font-size: 0.82rem; margin: 0; }
.notfound { padding: 96px 16px; text-align: center; }
