@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/assets/fonts/barlow-condensed-700.woff2") format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #101114;
  --alt: #16181c;
  --panel: #1d2026;
  --line: #2f333b;
  --text: #e8e9ec;
  --muted: #a4a9b3;
  --amber: #f5a800;
  --amber-hi: #ffc23a;
  --radius: 10px;
  --head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--text); background: var(--bg); font: 400 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--amber); text-underline-offset: 2px; }
a:hover { color: var(--amber-hi); }
:focus-visible { outline: 3px solid var(--amber-hi); outline-offset: 2px; }
h1, h2, h3, .h3 { margin: 0 0 .5em; font-family: var(--head); font-weight: 700; line-height: 1.1; color: #fff; }
h1 { font-size: clamp(2.75rem, 6.5vw, 4.75rem); text-transform: uppercase; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); }
h3, .h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
code { padding: .1em .4em; border-radius: 4px; background: #000; color: var(--amber-hi); font-size: .92em; overflow-wrap: anywhere; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-alt { background: var(--alt); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.section-head h2 { margin: 0; }
.stack > * + * { margin-top: clamp(2.25rem, 5vw, 3.25rem); }
.split { display: grid; gap: 2.5rem; align-items: start; }
.split > * { min-width: 0; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr 1fr; gap: 3.5rem; } }
.muted { color: var(--muted); font-size: .95rem; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 100; padding: .5rem 1rem; background: #000; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .55rem 1.2rem; border: 2px solid transparent; border-radius: 8px; font: 600 1.15rem/1.15 var(--head); letter-spacing: .02em; text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.btn-lg { min-height: 52px; padding-inline: 1.6rem; font-size: 1.3rem; }
.btn-primary { background: var(--amber); color: #111; }
.btn-primary:hover { background: var(--amber-hi); color: #111; }
.btn-ghost { border-color: #5a606b; color: #fff; }
.btn-ghost:hover { border-color: #fff; color: #fff; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgb(16 17 20 / .97); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; font: 700 1.45rem/1 var(--head); text-decoration: none; white-space: nowrap; }
.brand:hover { color: #fff; }
.nav { display: none; }
.nav.is-open { position: absolute; inset: 100% 0 auto; display: flex; flex-direction: column; gap: .15rem; padding: .75rem 1.25rem 1.25rem; background: var(--bg); border-bottom: 1px solid var(--line); }
.nav a { padding: .6rem .35rem; color: #fff; font: 600 1.25rem/1.2 var(--head); text-decoration: none; }
.nav a:hover { color: var(--amber-hi); }
.nav a[aria-current="page"] { color: var(--amber); box-shadow: inset 0 -2px 0 var(--amber); }
.nav-toggle { display: grid; gap: 5px; padding: 11px; border: 0; background: none; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 1.25rem; }
}

.hero { border-bottom: 3px solid var(--amber); background: radial-gradient(circle at 78% 40%, rgb(245 168 0 / .2), transparent 42%), #0b0c0e; }
.hero-inner { display: grid; gap: 2rem; align-items: center; padding-block: clamp(3rem, 8vw, 6rem); }
.hero h1 { max-width: 14ch; }
.hero-logo { order: -1; width: min(180px, 50vw); }
@media (min-width: 820px) {
  .hero-inner { grid-template-columns: 1.5fr 1fr; }
  .hero-logo { order: 0; width: 320px; justify-self: end; }
}
.eyebrow { margin-bottom: .6rem; font: 600 1.25rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.hero-lead { max-width: 54ch; font-size: 1.15rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 0; }

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); }
.cards-2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.card { display: block; padding: 1.25rem 1.4rem; color: inherit; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, transform .15s; }
.card:hover { color: inherit; border-color: var(--amber); transform: translateY(-2px); }
.card h3, .card .h3 { margin-bottom: .35rem; }
.card p { margin: 0; color: var(--muted); }
.card time { display: block; margin-bottom: .4rem; font-size: .9rem; color: var(--amber); }

.page-head { padding-block: clamp(2.25rem, 5vw, 3.5rem); background: #0b0c0e; border-bottom: 3px solid var(--amber); }
.page-head h1 { margin: 0; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.lead { max-width: 60ch; margin: .6rem 0 0; font-size: 1.15rem; color: var(--muted); }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin-bottom: .4rem; }
.operator { margin-bottom: 1em; }
.back, .more { margin-top: 1.25rem; }
.panel { padding: clamp(1.25rem, 3vw, 2rem); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h2 { font-size: 1.6rem; }
.ts-list { margin: 0 0 1rem; padding: 0; list-style: none; }
.ts-list li { margin-bottom: .45rem; }

.site-footer { padding-block: 2.25rem; background: #0b0c0e; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; margin: 0; font: 700 1.3rem/1.1 var(--head); color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
