:root {
  color-scheme: dark;
  --bg: #151515;
  --panel: #20201d;
  --panel-strong: #29271f;
  --text: #f3f0e7;
  --muted: #c7bfaa;
  --soft: #918873;
  --line: #3d392f;
  --accent: #e5b72e;
  --accent-hover: #f3ca4d;
  --accent-ink: #17140b;
  --link: #f0d27a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 78% 18%, rgba(229, 183, 46, 0.12), transparent 28%),
    linear-gradient(180deg, #1c1b17 0, var(--bg) 360px);
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(28, 27, 23, 0.96);
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 700;
  font-size: 1.08rem;
}

.brand img {
  width: 74px;
  height: 48px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a {
  padding: 7px 10px;
  border: 1px solid transparent;
}

.nav-links .support-link {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: #c69a18;
  border-radius: 4px;
  font-weight: 700;
}

.nav-links .support-link:hover {
  color: var(--accent-ink);
  background: var(--accent-hover);
  box-shadow: 0 0 18px rgba(229, 183, 46, 0.18);
}

.nav-links a:hover,
.site-footer a:hover {
  color: var(--link);
}

.nav-links .support-link:hover {
  color: var(--accent-ink);
}

.hero {
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: clamp(48px, 7vw, 78px) clamp(18px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero-copy {
  width: min(920px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(2.65rem, 7vw, 5.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 4vw, 3.15rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 1.22rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 700;
}

.button.primary {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: #c69a18;
  box-shadow: 0 0 18px rgba(229, 183, 46, 0.18);
}

.button.primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 0 24px rgba(229, 183, 46, 0.26);
}

.button.secondary {
  color: var(--text);
  background: #25241f;
}

.button.secondary:hover {
  border-color: var(--accent);
}

.download-meta {
  color: var(--soft);
  font-size: 0.94rem;
}

.section {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 6vw, 88px);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  min-height: 160px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
}

.feature p {
  color: var(--muted);
}

.requirements {
  border-top: 1px solid var(--line);
  background: #181815;
}

.requirement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.requirement {
  display: grid;
  gap: 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
}

.requirement p {
  margin-bottom: 0;
  color: var(--muted);
}

.requirement dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.requirement dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.requirement dt {
  color: var(--soft);
  font-weight: 700;
}

.requirement dd {
  margin: 0;
  color: var(--text);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 38px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .requirement-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .brand img {
    width: 58px;
    height: 42px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
