/* Generated by scripts/build-site.mjs from docs/src/. Edit those files, then run `bun run site`. */

/* Tokens, reset and the shared pieces every section uses. */
:root {
  --bg: #282e22;
  --bg-deep: #20261c;
  --panel: #4c5844;
  --list: #3e4637;
  --line: #74826a;
  --dark-line: #171d15;
  --text: #d8ded3;
  --bright: #ffffff;
  --accent: #c4b550;
  --muted: #a0aa95;
  --font: Tahoma, "MS Sans Serif", Verdana, sans-serif;
  --mono: Consolas, "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 var(--font); overflow-x: hidden; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--bright); line-height: 1.12; }
h2 { margin-bottom: 16px; font-size: clamp(34px, 4.1vw, 52px); letter-spacing: -.05em; }
h3 { margin-bottom: 10px; font-size: 21px; letter-spacing: -.025em; }
kbd, code { padding: 1px 5px; font: 12px/1.4 var(--mono); color: var(--bright); background: var(--bg-deep); border: 1px solid var(--line); border-bottom-width: 2px; }
code { border-bottom-width: 1px; }

.skip-link { position: absolute; top: -80px; left: 16px; z-index: 20; padding: 8px 12px; background: var(--accent); color: var(--bg); }
.skip-link:focus { top: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.shell { width: min(100% - 48px, 1160px); margin-inline: auto; }

/* The raised GoldSrc bevel: light top-left edge, dark bottom-right edge. */
.button, .header-inner, .feature, .download-panel {
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
  border-right: 1px solid var(--dark-line); border-bottom: 1px solid var(--dark-line);
}

.eyebrow { margin: 0 0 16px; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.point-index { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.section { padding-block: 100px; scroll-margin-top: 20px; }
.section-intro { max-width: 690px; margin-bottom: 42px; }
.section-intro > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 17px; }

.button { min-height: 44px; padding: 10px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; color: var(--bright); background: var(--panel); text-decoration: none; font-size: 14px; font-weight: 700; }
.button:hover { background: #5b6a50; }
.button-primary { color: var(--bg-deep); background: var(--accent); border-top-color: #e5d673; border-left-color: #e5d673; }
.button-primary:hover { background: #d7c75d; }

@media (max-width: 760px) {
  .shell { width: min(100% - 32px, 1160px); }
  .section { padding-block: 68px; }
}
@media (max-width: 520px) {
  h2 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.site-header { padding-top: 22px; }
.header-inner { min-height: 60px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; gap: 22px; background: var(--list); }
.wordmark { flex: none; color: var(--bright); font-size: 18px; font-weight: 700; letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.brand-mark { color: var(--accent); font-size: 22px; vertical-align: -1px; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 2vw, 26px); }
.main-nav > a:not(.github-stars) { text-decoration: none; font-size: 13px; color: var(--text); white-space: nowrap; }
.main-nav > a:not(.github-stars):hover { color: var(--accent); }
.github-stars { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; color: var(--bright); background: var(--bg); border: 1px solid var(--line); font-size: 12px; line-height: 1; text-decoration: none; white-space: nowrap; }
.github-stars:hover { border-color: var(--accent); }
.github-stars svg { flex: none; }
.github-stars strong { font-weight: 700; color: var(--accent); }
.star-divider { height: 15px; border-left: 1px solid var(--line); margin-inline: 2px; }

@media (max-width: 640px) {
  .site-header { padding-top: 8px; }
  .header-inner { flex-wrap: wrap; justify-content: center; row-gap: 10px; padding-block: 12px; }
  .main-nav { flex-wrap: wrap; justify-content: center; gap: 10px 16px; }
}
.hero { padding-top: 92px; text-align: center; }
.hero-copy { max-width: 850px; margin-inline: auto; }
.status-light { display: inline-block; width: 7px; height: 7px; margin-right: 8px; background: var(--accent); vertical-align: 1px; }
h1 { margin-bottom: 23px; font-size: clamp(48px, 6vw, 78px); letter-spacing: -.065em; }
h1 span { color: var(--accent); }
.hero-lede { max-width: 640px; margin: 0 auto 28px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 11px; }
.hero-meta { margin: 14px 0 0; color: var(--muted); font-size: 12px; }
.app-showcase { margin: 64px auto 0; max-width: 1070px; }
.screenshot-frame { padding: 8px; background: var(--panel); border-top: 1px solid var(--line); border-left: 1px solid var(--line); border-right: 2px solid var(--dark-line); border-bottom: 2px solid var(--dark-line); box-shadow: 17px 20px 0 #1b2118; }
.screenshot-frame img { width: 100%; height: auto; background: var(--list); }
.screenshot-caption { margin-top: 15px; color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
  .hero { padding-top: 64px; }
  h1 { font-size: clamp(40px, 9vw, 64px); }
  .hero-lede { font-size: 16px; }
  .app-showcase { margin-top: 44px; }
  .screenshot-frame { box-shadow: 7px 9px 0 #1b2118; padding: 4px; }
}
@media (max-width: 520px) {
  .hero { padding-top: 48px; }
  h1 { font-size: 40px; }
  .hero-actions .button { flex: 1 1 100%; }
}
.problem-section { margin-top: 100px; background: var(--panel); border-block: 1px solid var(--line); }
.problem-layout { display: grid; grid-template-columns: .95fr 1.05fr; align-items: start; gap: 10%; }
.problem-copy { position: sticky; top: 34px; }
.problem-copy h2 { max-width: 490px; }
.problem-copy > p:not(.eyebrow) { max-width: 490px; margin-bottom: 0; color: var(--text); font-size: 17px; line-height: 1.7; }
.problem-points { border-top: 1px solid var(--line); }
.problem-points > div { padding: 20px 4px 22px; border-bottom: 1px solid var(--line); }
.problem-points h3 { margin: 8px 0; }
.problem-points p { max-width: 470px; margin: 0; color: var(--text); font-size: 15px; line-height: 1.65; }

@media (max-width: 760px) {
  .problem-section { margin-top: 68px; }
  .problem-layout { grid-template-columns: 1fr; gap: 30px; }
  .problem-copy { position: static; }
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.feature { padding: 22px; background: var(--list); }
.feature-symbol { display: block; margin-bottom: 20px; color: var(--accent); font-size: 28px; line-height: 1; }
.feature h3 { font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}
.faq-section { border-block: 1px solid var(--line); background: var(--bg-deep); }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8%; align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.faq-list summary { position: relative; padding: 18px 36px 18px 2px; color: var(--bright); font-size: 17px; font-weight: 700; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 14px; color: var(--accent); font-size: 22px; line-height: 1.3; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { color: var(--accent); }
.faq-list p { max-width: 620px; margin: 0; padding: 0 2px 20px; color: var(--text); font-size: 15px; line-height: 1.7; }
.faq-list a { color: var(--accent); text-underline-offset: 3px; }

@media (max-width: 760px) {
  .faq-layout { grid-template-columns: 1fr; gap: 12px; }
  .faq-list summary { font-size: 16px; }
}
.download-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; align-items: center; padding: 53px; background: var(--panel); border-right-width: 2px; border-bottom-width: 2px; }
.download-main h2 { max-width: 460px; margin-bottom: 28px; }
.button-large { min-height: 52px; padding-inline: 24px; font-size: 16px; }
.download-meta { margin: 12px 0 0; color: var(--text); font-size: 13px; }
.download-source { margin: 28px 0 0; color: var(--muted); font-size: 13px; }
.download-source a, .install-steps a { color: var(--accent); text-underline-offset: 3px; }

.install-steps { margin: 0; padding: 0; list-style: none; counter-reset: step; border-top: 1px solid var(--line); }
.install-steps li { position: relative; padding: 18px 0 18px 52px; border-bottom: 1px solid var(--line); counter-increment: step; }
.install-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 19px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.install-steps h3 { margin-bottom: 4px; font-size: 18px; }
.install-steps p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.6; }

@media (max-width: 760px) {
  .download-panel { grid-template-columns: 1fr; gap: 34px; padding: 28px; }
}
@media (max-width: 520px) {
  .button-large { width: 100%; }
}
.site-footer { border-top: 1px solid var(--line); background: var(--bg-deep); }
.footer-inner { min-height: 90px; padding-block: 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; color: var(--muted); font-size: 12px; }
.footer-inner p { margin: 0; }
.footer-credit { flex: none; color: var(--text); font-size: 13px; }
.footer-credit a { color: var(--bright); font-weight: 700; text-underline-offset: 3px; }
.footer-credit a:hover { color: var(--accent); }
.heart { color: var(--accent); }
.footer-legal { max-width: 560px; text-align: right; line-height: 1.6; }

@media (max-width: 640px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-legal { text-align: left; }
}
