:root {
  color-scheme: dark;
  --bg: #05080d;
  --bg-2: #08111a;
  --panel: #0b1420;
  --panel-2: #101c2a;
  --line: rgba(124, 218, 255, 0.18);
  --line-strong: rgba(124, 218, 255, 0.34);
  --text: #eff8ff;
  --muted: #9fb1c2;
  --cyan: #62d9ff;
  --cobalt: #2f86ff;
  --amber: #d7b166;
  --shadow: rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Bahnschrift", "Segoe UI", Arial, sans-serif;
  background:
    linear-gradient(180deg, rgba(8, 17, 26, 0.72), var(--bg) 34rem),
    var(--bg);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(98, 217, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(98, 217, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 76%);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 22px;
  align-items: center;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 54px);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 8, 13, 0.88);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(98, 217, 255, 0.72);
  background:
    radial-gradient(circle at 58% 42%, rgba(215, 177, 102, 0.9) 0 9%, transparent 10%),
    linear-gradient(135deg, rgba(98, 217, 255, 0.18), rgba(47, 134, 255, 0.12));
  box-shadow: 0 0 24px rgba(98, 217, 255, 0.28);
}

.brand-text strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand-text em {
  color: var(--cyan);
  font-style: normal;
  margin-left: 4px;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

.site-nav a:hover {
  color: var(--cyan);
}

.header-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.header-link-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(124, 218, 255, 0.42);
  border-radius: 8px;
  color: #03111d;
  font-weight: 900;
  white-space: nowrap;
  background: linear-gradient(180deg, #67dcff, #2376c9);
  box-shadow: 0 0 32px rgba(98, 217, 255, 0.18);
}

.header-link-button:hover {
  border-color: rgba(124, 218, 255, 0.76);
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.language-switch {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(13, 24, 36, 0.84);
}

.language-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.language-button.is-active {
  color: #03111d;
  background: linear-gradient(180deg, var(--cyan), var(--cobalt));
}

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

.lang-panel {
  display: none;
}

.lang-panel.is-active {
  display: block;
}

.lang-panel:not(.is-active) {
  display: none !important;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(460px, 1.14fr);
  gap: 42px;
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: 54px 0 66px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 0.98;
}

h1 {
  max-width: 720px;
  font-size: clamp(52px, 8vw, 98px);
}

h1 span {
  color: var(--cyan);
}

h2 {
  font-size: clamp(32px, 4.6vw, 60px);
}

.no-break {
  white-space: nowrap;
  font-size: clamp(30px, 4vw, 52px);
}

.compact-no-break {
  white-space: nowrap;
  font-size: clamp(28px, 3.4vw, 46px);
}

.lead {
  max-width: 650px;
  color: #c9d9e7;
  font-size: 18px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 16px;
}

.button,
.download-card,
.soundcloud-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(16, 28, 42, 0.88), rgba(8, 17, 26, 0.9));
  box-shadow: 0 18px 34px var(--shadow);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 800;
}

.button.primary,
.download-card.featured {
  border-color: var(--line-strong);
  background: linear-gradient(180deg, var(--cyan), var(--cobalt));
  color: #03111d;
}

.button:hover,
.download-card:hover,
.soundcloud-card:hover {
  border-color: rgba(98, 217, 255, 0.74);
  transform: translateY(-1px);
}

.note,
.section-copy,
.section-heading p,
.requirements-list p,
article p {
  color: var(--muted);
  line-height: 1.65;
}

.hero-image,
.wide-shot {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #02060a;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.hero-image img,
.wide-shot img {
  width: 100%;
}

.download-strip,
.split,
.image-section,
.browser-section,
.workflow,
.requirements,
.audio-section,
.series-section,
.version-log {
  padding: 78px 0;
  border-top: 1px solid rgba(124, 218, 255, 0.12);
}

.download-strip {
  background: linear-gradient(180deg, rgba(11, 20, 32, 0.8), rgba(8, 17, 26, 0.58));
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(210px, 0.8fr) repeat(3, minmax(180px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.download-grid.lang-panel.is-active {
  display: grid;
}

.download-card {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}

.download-card span,
.soundcloud-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.download-card strong,
.soundcloud-card strong {
  font-size: 20px;
}

.download-card small {
  color: rgba(238, 248, 255, 0.78);
}

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

.split,
.requirements,
.audio-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
}

.mode-grid,
.workflow-grid,
.log-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

article,
.requirements-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(16, 28, 42, 0.88), rgba(8, 17, 26, 0.88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

article span,
article strong {
  display: block;
  color: var(--text);
  font-weight: 900;
}

.browser-section {
  padding-top: 42px;
}

.workflow .lang-panel.is-active {
  display: block;
  grid-column: 1 / -1;
}

.audio-section {
  align-items: end;
}

.series-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: 42px;
  align-items: center;
  background: linear-gradient(180deg, rgba(8, 17, 26, 0.36), rgba(5, 8, 13, 0.12));
}

.series-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.series-card {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(16, 28, 42, 0.88), rgba(8, 17, 26, 0.9));
  box-shadow: 0 18px 34px var(--shadow);
}

.series-card:hover {
  border-color: rgba(98, 217, 255, 0.74);
  transform: translateY(-1px);
}

.series-card span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.series-card strong {
  overflow-wrap: anywhere;
  font-size: 17px;
}

.soundcloud-card {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 22px;
}

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

@media (max-width: 980px) {
  .site-header,
  .hero,
  .download-grid,
  .split,
  .requirements,
  .audio-section,
  .series-section {
    grid-template-columns: 1fr;
  }

  .site-nav {
    order: 3;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero {
    min-height: auto;
  }

  .mode-grid,
  .workflow-grid,
  .series-links,
  .log-list {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(46px, 12vw, 76px);
  }

  .no-break {
    white-space: normal;
  }

  .compact-no-break {
    font-size: clamp(26px, 7vw, 42px);
  }
}

@media (max-width: 620px) {
  .section-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    gap: 14px;
    padding: 12px;
  }

  .site-nav {
    gap: 12px;
    font-size: 12px;
  }

  .hero,
  .download-strip,
  .split,
  .image-section,
  .browser-section,
  .workflow,
  .requirements,
  .audio-section,
  .series-section,
  .version-log {
    padding: 46px 0;
  }
}
