:root {
  --bg: #111114;
  --bg-2: #18181d;
  --line: #2a2a31;
  --text: #f1ede6;
  --muted: #a3a1a8;
  --accent: #ff6b1a;
  --accent-2: #ffb02e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif; }
a { color: var(--accent-2); }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.top { position: sticky; top: 0; z-index: 5; background: rgba(17, 17, 20, .88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img { display: block; height: 44px; width: auto; }
nav a { color: var(--text); text-decoration: none; margin-left: 24px; font-weight: 600; opacity: .85; }
nav a:hover { opacity: 1; color: var(--accent-2); }
.hero { padding: 96px 0 72px; background: radial-gradient(ellipse at 20% 0%, rgba(255, 107, 26, .18), transparent 60%); }
.kicker { color: var(--accent-2); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 0 0 14px; }
h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin: 0 0 20px; letter-spacing: -.02em; }
.lead { font-size: 20px; color: var(--muted); max-width: 640px; margin: 0 0 32px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 700; background: var(--bg-2); }
.btn:hover { border-color: var(--accent); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #1a0d05; }
.btn.primary:hover { background: #ff7f38; }
section { padding: 40px 0; }
h2 { font-size: 30px; margin: 24px 0 22px; letter-spacing: -.01em; }
h3 { margin: 0 0 8px; font-size: 19px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.card p { color: var(--muted); margin: 0; }
.dl p { margin-bottom: 18px; }
.ver { font-size: 14px; color: var(--accent-2); font-weight: 700; margin-left: 6px; }
.sum { font-size: 13px; margin: 16px 0 0 !important; word-break: break-all; }
code, kbd, pre { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 14px; }
code { background: #0b0b0e; border: 1px solid var(--line); padding: 1px 6px; border-radius: 6px; }
pre { background: #0b0b0e; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; overflow-x: auto; margin: 10px 0 0; }
pre code { background: none; border: 0; padding: 0; }
kbd { background: var(--bg-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 20px; padding-left: 6px; }
.steps li::marker { color: var(--accent); font-weight: 800; }
.note { color: var(--muted); font-size: 15px; border-left: 3px solid var(--accent); padding-left: 14px; }
details { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 28px 0 40px; }
footer .wrap { display: flex; gap: 16px; align-items: flex-start; }
footer img { border-radius: 9px; }
footer p { margin: 0; font-size: 14px; }
.shot { margin: 0 0 18px; }
.shot img { display: block; width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .45); }
.shot a:hover img { border-color: var(--accent); }
.shot figcaption { color: var(--muted); font-size: 15px; margin-top: 10px; }
.req { color: var(--muted); margin: 0; padding-left: 18px; }
.req li { margin-bottom: 6px; }
.req b { color: var(--text); }
.credits { margin-top: 14px; font-size: 14px; }
.credits ul { color: var(--muted); margin: 10px 0 0; padding-left: 20px; }
.muted { color: var(--muted); font-size: 13px; }
@media (max-width: 820px) {
  .grid, .grid.two { grid-template-columns: 1fr; }
  nav a { margin-left: 14px; font-size: 15px; }
  .hero { padding: 64px 0 48px; }
}
@media (max-width: 520px) {
  nav a:nth-child(n+3) { display: none; }
  .logo img { height: 36px; }
}
[id] { scroll-margin-top: 84px; }
#contribute .card h3 { margin-top: 0; }
#contribute .btn { margin: 14px 0 10px; }
/* discBURN section */
.dlogo { max-width: 100%; height: auto; display: block; margin: -10px 0 6px; }
.grid.gap-top { margin-top: 18px; }
/* long file names and commands wrap or scroll on phones instead of widening the page */
.grid > * { min-width: 0; }
.card code { overflow-wrap: anywhere; }
/* donate: a quiet pill in the header, a thank-you line under the downloads */
nav a.nav-donate { background: #ffc439; border-radius: 999px; padding: 5px 14px; color: #111; font-weight: 600; opacity: 1; }
nav a.nav-donate:hover { background: #f2ba36; color: #111; }
.thanks { color: var(--muted); margin: 22px 0 0; text-align: center; }
@media (max-width: 520px) {
  nav a.nav-donate { display: inline-block; padding: 4px 11px; font-size: 14px; }
  nav a:nth-child(2) { display: none; }
  nav .nav-dw { display: none; }
}
nav { white-space: nowrap; }
nav a { margin-left: 18px; }
@media (max-width: 1100px) { nav a { margin-left: 12px; font-size: 15px; } }
@media (max-width: 960px) { nav a:nth-child(5), nav a:nth-child(6) { display: none; } }
@media (max-width: 760px) { nav a:nth-child(2), nav a:nth-child(4) { display: none; } }
@media (max-width: 620px) { nav a:nth-child(-n+7):not(:first-child) { display: none; } }
/* download cards: same layout, buttons and checksums line up across a row */
.card.dl { display: flex; flex-direction: column; }
.card.dl .btn { margin-top: auto; align-self: flex-start; }
/* PayPal-style donate buttons (PayPal gold, two-tone wordmark text) */
.btn.btn-paypal { background: #ffc439; border-color: #ffc439; color: #111; font-weight: 600; }
.btn.btn-paypal:hover { background: #f2ba36; border-color: #f2ba36; }
.pp { font-style: italic; font-weight: 800; letter-spacing: -0.2px; }
.pp-pay { color: #003087; }
.pp-pal { color: #0070e0; }
.thanks-btn { text-align: center; margin: 14px 0 0; }
/* contact form */
form.contact { display: grid; gap: 12px; margin-top: 16px; }
form.contact label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
form.contact label .muted { font-weight: 400; }
form.contact input, form.contact select, form.contact textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; width: 100%; box-sizing: border-box; }
form.contact textarea { resize: vertical; min-height: 110px; }
form.contact input, form.contact select, form.contact textarea { font-weight: 400; }
#contribute .grid { align-items: start; }
form.contact input:focus, form.contact select:focus, form.contact textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
form.contact .btn { justify-self: start; cursor: pointer; font: inherit; font-weight: 700; }
form.contact .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sent-page { padding: 80px 0; max-width: 640px; }
.sent-page .btn { margin-top: 18px; }
