:root { color-scheme: dark; --bg: #232931; --panel: #1c2027; --text: #f7f7f8; --muted: #bfc3cb; --accent: #ff5047; --line: #3b424e; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Saira Semi Condensed', system-ui, sans-serif; font-size: 18px; line-height: 1.6; }
a { color: var(--accent); text-underline-offset: 4px; }
a:hover { color: #ff8d86; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffd166; outline-offset: 5px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--panel); padding: 12px; }
.skip-link:focus { top: 12px; }
.site-header { background: var(--panel); border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1200px; margin: auto; padding: 18px 28px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 12px; align-items: center; color: white; font-weight: 800; font-size: 25px; text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: white; font-size: 17px; font-weight: 700; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current='page'] { color: var(--accent); }
.nav-toggle { display: none; background: transparent; color: white; border: 1px solid var(--line); border-radius: 8px; padding: 8px 13px; font: inherit; }
main { max-width: 1144px; padding: 44px 28px 70px; margin: auto; }
.breadcrumb { display: inline-block; color: var(--muted); text-decoration: none; margin-bottom: 24px; font-size: 16px; }
.hero { text-align: center; max-width: 880px; margin: 0 auto 36px; }
.eyebrow { color: var(--accent); font-weight: 800; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; margin: 0 0 12px; }
h1 { margin: 0; font-size: clamp(36px, 5vw, 62px); line-height: 1.12; font-weight: 900; text-transform: uppercase; }
h1 span { display: block; color: var(--accent); }
.hero p:not(.eyebrow) { color: var(--muted); font-size: 20px; margin: 20px auto; }
.platform-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 27px; }
.platform-nav a { padding: 8px 17px; border: 1px solid var(--line); border-radius: 6px; text-decoration: none; color: var(--muted); font-size: 16px; font-weight: 700; }
.platform-nav a:hover { border-color: var(--accent); color: white; }
.platform-nav a[aria-current='page'] { background: var(--accent); border-color: var(--accent); color: white; }
.quick-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; margin: 34px 0; overflow: hidden; }
.quick-facts div { padding: 18px 24px; background: var(--panel); }
.quick-facts div + div { border-left: 1px solid var(--line); }
.quick-facts small { display: block; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.quick-facts strong { font-size: 20px; }
.section-heading { font-size: 28px; font-weight: 800; margin: 32px 0 7px; line-height: 1.3; }
.section-intro { color: var(--muted); margin: 0 0 22px; max-width: 800px; }
.download-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.download-card { background: var(--panel); border: 1px solid var(--line); padding: 25px; border-radius: 12px; }
.download-card h3 { margin: 10px 0 7px; font-size: 25px; line-height: 1.3; }
.download-card p { margin: 7px 0; color: var(--muted); }
.tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 4px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; background: #303846; color: var(--muted); }
.tag.stable { background: #173e36; color: #a6e9d6; }
.tag.tester { background: #483419; color: #ffe0a2; }
.server-links { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 20px; }
.download-link, .action-button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 17px; background: var(--accent); color: white; border: 0; border-radius: 6px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.download-link:hover, .action-button:hover { background: #e9443d; color: white; }
.download-link.secondary { background: #343d4c; }
.download-link.secondary:hover { background: #46536a; }
.pending { border-style: dashed; }
.pending p { margin-top: 12px; }
.checksum { overflow-wrap: anywhere; margin-top: 18px; }
.checksum summary { font-size: 14px; }
.history { margin-top: 24px; }
.history > summary { color: var(--muted); }
.guide { margin-top: 36px; }
.guide > details { margin-top: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.guide > details > summary { padding: 18px 23px; font-size: 22px; font-weight: 700; cursor: pointer; }
.guide > details[open] > summary { border-bottom: 1px solid var(--line); }
.guide-content { padding: 7px 23px 21px; }
.guide-content p, .guide-content li { color: var(--muted); }
.guide-content strong { color: var(--text); }
.guide-content h3 { margin-top: 23px; font-size: 21px; }
.guide-content ul, .guide-content ol { padding-left: 25px; }
.guide-content li { margin-bottom: 9px; }
.table-wrap { overflow-x: auto; margin: 18px 0; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { border-bottom: 1px solid var(--line); padding: 11px 12px; text-align: left; vertical-align: top; }
th { color: white; background: #272e39; }
td { color: var(--muted); }
code { font-family: ui-monospace, monospace; font-size: .85em; background: #303846; padding: 2px 5px; border-radius: 3px; }
pre { overflow-x: auto; padding: 18px; background: #10151c; border-radius: 8px; }
pre code { background: transparent; padding: 0; color: #dfe8f7; }
.tutorial { margin-top: 28px; padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); }
.tutorial h2 { margin: 0 0 10px; font-size: 25px; }
.tutorial p { color: var(--muted); }
.tutorial-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.tiktok-embed { margin: 24px auto 0; max-width: 605px; width: 100%; min-width: 0 !important; }
.tiktok-embed iframe { max-width: 100%; width: 100% !important; min-width: 0 !important; }
[data-load-tiktok], [data-copy-downloader] { display: none; }
.js-ready [data-load-tiktok], .js-ready [data-copy-downloader] { display: inline-flex; }
.downloader { display: flex; align-items: center; flex-wrap: wrap; gap: 15px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.downloader code { font-size: 28px; letter-spacing: 3px; }
.copy-feedback { font-size: 14px; }
.site-footer { background: var(--panel); border-top: 1px solid var(--line); padding: 30px 28px; text-align: center; color: var(--muted); font-size: 16px; }
.site-footer a { color: white; }
.site-footer p { margin: 5px; }
.landing-download-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; }
@media (max-width: 760px) {
  .header-inner { padding: 15px 20px; flex-wrap: wrap; gap: 16px; }
  .js-ready .nav-toggle { display: block; }
  .site-nav { width: 100%; display: flex; flex-wrap: wrap; gap: 17px; }
  .js-ready .site-nav { display: none; }
  .js-ready .site-nav.is-open { display: flex; }
  main { padding: 25px 18px 45px; }
  .hero p:not(.eyebrow) { font-size: 18px; }
  .quick-facts { grid-template-columns: 1fr; margin: 28px 0; }
  .quick-facts div { padding: 13px 20px; }
  .quick-facts div + div { border-left: 0; border-top: 1px solid var(--line); }
  .download-grid { grid-template-columns: 1fr; }
  .guide > details > summary { font-size: 20px; padding: 17px; }
  .guide-content { padding: 3px 17px 17px; }
  .brand { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
