:root {
  --bg: #07111e;
  --bg-2: #0d1a2d;
  --panel: rgba(10, 18, 31, 0.9);
  --panel-2: rgba(16, 28, 46, 0.9);
  --line: rgba(124, 214, 255, 0.22);
  --gold: #d9ae52;
  --gold-2: #f6df8f;
  --teal: #7cf5f2;
  --teal-2: #2ad8ff;
  --text: #eef5ff;
  --muted: #b5c4db;
  --danger: #ff8a5b;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --content: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(40, 206, 255, 0.18), transparent 30%),
    radial-gradient(circle at 20% 20%, rgba(44, 88, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #040a12 0%, #081321 35%, #09111c 100%);
  min-height: 100vh;
}

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

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

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(5, 10, 18, 0.92), rgba(5, 10, 18, 0.72));
  border-bottom: 1px solid rgba(124, 214, 255, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(217, 174, 82, 0.35), rgba(42, 216, 255, 0.28));
  border: 1px solid rgba(246, 223, 143, 0.35);
  box-shadow: inset 0 0 18px rgba(124, 245, 242, 0.2), 0 10px 25px rgba(0, 0, 0, 0.35);
  display: grid;
  place-items: center;
  color: var(--gold-2);
  font-size: 1.3rem;
}

.brand-kicker {
  display: block;
  font-size: 0.72rem;
  color: var(--teal);
  opacity: 0.9;
  text-transform: uppercase;
}

.brand-title {
  display: block;
  font-size: 1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.98rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(124, 214, 255, 0.18);
  color: var(--text);
  border-radius: 12px;
  padding: 0.6rem 0.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid rgba(246, 223, 143, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(180deg, rgba(217, 174, 82, 0.95), rgba(174, 122, 36, 0.95));
  color: #180e02;
  box-shadow: 0 12px 28px rgba(174, 122, 36, 0.28);
}

.button.secondary {
  background: rgba(11, 20, 35, 0.72);
  color: var(--text);
  border-color: rgba(124, 214, 255, 0.22);
}

.hero {
  position: relative;
  overflow: clip;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 25%, rgba(42, 216, 255, 0.17), transparent 25%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0 2rem;
}

.eyebrow,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(14, 30, 48, 0.75);
  border: 1px solid rgba(124, 214, 255, 0.16);
  color: var(--teal);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1,
.page-hero h1 {
  margin: 1rem 0;
  font-size: clamp(2.6rem, 4.8vw, 5rem);
  line-height: 0.95;
  color: #fff4c8;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.35);
}

.hero p,
.page-hero p,
.copy,
.install-list,
.note,
.copy-list,
.site-footer p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-actions,
.inline-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.hero-art {
  position: relative;
}

.hero-frame,
.card,
.copy-panel,
.download-strip,
.feature-panel,
.install-panel,
.command-panel,
.page-hero {
  background: linear-gradient(180deg, rgba(10, 18, 31, 0.92), rgba(14, 27, 45, 0.88));
  border: 1px solid rgba(124, 214, 255, 0.14);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-frame {
  padding: 1rem;
  position: relative;
}

.hero-frame::before,
.card::before,
.copy-panel::before,
.feature-panel::before,
.command-panel::before,
.download-strip::before,
.install-panel::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: calc(var(--radius) - 8px);
  border: 1px solid rgba(246, 223, 143, 0.11);
  pointer-events: none;
}

.hero-frame img,
.card-media img,
.page-hero img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.stat {
  padding: 1rem;
  background: rgba(7, 14, 23, 0.7);
  border: 1px solid rgba(124, 214, 255, 0.12);
  border-radius: 18px;
}

.stat strong {
  display: block;
  color: var(--gold-2);
  font-size: 1.55rem;
  margin-bottom: 0.3rem;
}

.section {
  padding: 1.8rem 0 2rem;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.section-head.center-head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-head.center-head .copy {
  max-width: 760px;
  margin: 0;
}

.section-head h2,
.section-head h3,
.copy-panel h2,
.command-panel h2,
.install-panel h2,
.download-strip h2,
.feature-panel h2 {
  margin: 0;
  color: #fff2be;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

.grid.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.card {
  position: relative;
  overflow: hidden;
}

.card-media {
  padding: 1rem 1rem 0;
}

.card-body {
  padding: 1rem 1.2rem 1.35rem;
}

.card h3 {
  margin: 0.45rem 0 0.55rem;
  font-size: 1.8rem;
  color: #fff5ca;
}

.card p,
.card li,
.meta-row,
.download-list li,
.command-list li,
.feature-list li,
.install-list li {
  color: var(--muted);
}

.card ul,
.download-list,
.command-list,
.feature-list,
.install-list,
.copy-list {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
}

.card li,
.command-list li,
.feature-list li,
.install-list li,
.copy-list li {
  margin: 0.35rem 0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 0.6rem 0 0.8rem;
}

.meta-chip {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(20, 35, 55, 0.85);
  border: 1px solid rgba(124, 214, 255, 0.14);
  font-size: 0.88rem;
}

.copy-panel,
.feature-panel,
.command-panel,
.install-panel,
.download-strip,
.page-hero {
  position: relative;
  padding: 1.3rem;
}

.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.download-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: center;
}

.download-list {
  padding-left: 1rem;
}

.download-list li {
  margin: 0.45rem 0;
}

.command-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.command-list code,
.breadcrumbs a,
.file-link {
  color: var(--teal);
}

.page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  align-items: center;
  margin-top: 2rem;
}

.page-hero .art {
  order: 2;
}

.page-hero .content {
  order: 1;
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 1.3rem;
}

.kicker {
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.88rem;
}

.install-list strong,
.copy-list strong,
.card strong {
  color: var(--gold-2);
}

.site-footer {
  border-top: 1px solid rgba(124, 214, 255, 0.12);
  margin-top: 2rem;
  padding: 2rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

.disclaimer {
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero-grid,
  .page-hero,
  .download-strip,
  .two-up,
  .command-grid,
  .feature-grid,
  .footer-grid,
  .grid.cards {
    grid-template-columns: 1fr;
  }

  .page-hero .art,
  .page-hero .content {
    order: initial;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    right: 1rem;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    min-width: 240px;
    background: rgba(8, 14, 24, 0.96);
    border: 1px solid rgba(124, 214, 255, 0.16);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 1rem), var(--content));
  }

  .hero-grid {
    padding-top: 2rem;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 2.3rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions,
  .inline-actions,
  .footer-links {
    flex-direction: column;
  }
}
