:root {
  color-scheme: dark;
  --bg: #01040b;
  --panel: rgba(5, 10, 24, 0.88);
  --panel-strong: #061024;
  --text: #f4f8ff;
  --muted: #8fa6cf;
  --line: rgba(44, 121, 255, 0.3);
  --blue: #1475ff;
  --blue-hot: #2f8cff;
  --cyan: #66d9ff;
  --ice: #d9ecff;
  --shadow: 0 24px 80px rgba(0, 20, 90, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(rgba(1, 4, 11, 0.18), rgba(1, 4, 11, 0.96)),
    repeating-linear-gradient(
      90deg,
      rgba(58, 132, 255, 0.08) 0 1px,
      transparent 1px 64px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(78, 157, 255, 0.055) 0 1px,
      transparent 1px 64px
    );
}

body::after {
  position: fixed;
  inset: auto 0 0;
  z-index: -2;
  height: 34vh;
  content: "";
  background:
    linear-gradient(135deg, transparent 0 46%, rgba(20, 117, 255, 0.22) 46% 47%, transparent 47%),
    linear-gradient(28deg, transparent 0 50%, rgba(102, 217, 255, 0.14) 50% 51%, transparent 51%);
  opacity: 0.75;
}

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

button {
  font: inherit;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(1, 4, 11, 0.84);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.brand-mark {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 1px solid rgba(47, 140, 255, 0.7);
  border-radius: 8px;
  background: #02050d;
  box-shadow:
    0 0 20px rgba(20, 117, 255, 0.55),
    inset 0 0 18px rgba(102, 217, 255, 0.18);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  color: var(--muted);
  font-size: 0.95rem;
}

.main-nav a {
  padding: 8px 0;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.panel-row a:hover,
.info-card a:hover {
  color: var(--cyan);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  align-items: start;
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  gap: clamp(22px, 5vw, 72px);
  padding: clamp(14px, 2.6vw, 28px) 0 clamp(18px, 4vw, 34px);
}

.hero-copy {
  max-width: 820px;
  padding-top: clamp(4px, 2vh, 18px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 8ch;
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(4.8rem, 16vw, 10.5rem);
  line-height: 0.78;
  letter-spacing: 0;
  text-shadow:
    0 0 38px rgba(20, 117, 255, 0.48),
    0 0 5px rgba(102, 217, 255, 0.72);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.hero-text {
  max-width: 720px;
  margin-bottom: 24px;
  color: #d7e6ff;
  font-size: clamp(1.04rem, 2vw, 1.34rem);
  line-height: 1.5;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 18px;
  cursor: pointer;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

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

.primary {
  background: linear-gradient(135deg, var(--blue-hot), #7fcaff);
  color: #020612;
  box-shadow: 0 14px 38px rgba(20, 117, 255, 0.34);
}

.secondary {
  border-color: var(--line);
  background: rgba(47, 140, 255, 0.08);
  color: var(--text);
}

.scroll-hint {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(102, 217, 255, 0.4);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(5, 10, 24, 0.78);
  color: var(--ice);
  font-weight: 800;
  transition: transform 160ms ease;
}

.arrow-down {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 117, 255, 0.28);
  color: var(--cyan);
  font-size: 1.25rem;
  line-height: 1;
}

.hero-visual {
  display: grid;
  gap: 12px;
  justify-items: stretch;
}

.profile-frame {
  position: relative;
  width: min(100%, 330px);
  justify-self: center;
  border-radius: 28px;
  overflow: hidden;
  box-shadow:
    0 0 22px rgba(20, 117, 255, 0.42),
    0 0 56px rgba(0, 68, 255, 0.28);
  user-select: none;
}

.profile-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  background: transparent;
}

.profile-art {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  pointer-events: none;
}

.protected-media {
  -webkit-touch-callout: none;
  user-select: none;
}

.status-panel,
.link-section,
.info-card,
.requirements {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.status-panel {
  display: grid;
  gap: 1px;
  overflow: hidden;
}

.panel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(47, 140, 255, 0.055);
}

.panel-row span {
  color: var(--muted);
}

.panel-row strong,
.panel-row a {
  color: var(--ice);
  font-weight: 900;
  text-align: right;
  text-shadow: 0 0 14px rgba(20, 117, 255, 0.7);
  overflow-wrap: anywhere;
}

.link-section {
  display: grid;
  gap: 22px;
  margin-bottom: 28px;
  padding: clamp(20px, 4vw, 34px);
}

.section-heading {
  display: grid;
  gap: 2px;
}

.app-list {
  display: grid;
  gap: 12px;
}

.app-row {
  display: grid;
  grid-template-columns: 130px minmax(170px, 0.75fr) minmax(310px, 1.15fr) minmax(240px, 0.9fr);
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(44, 121, 255, 0.28);
  border-radius: 8px;
  background: rgba(47, 140, 255, 0.055);
  padding: 14px;
}

.app-action .button {
  width: 100%;
}

.file-name {
  margin: 4px 0 0;
  color: #eef6ff;
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.file-meta,
.spec-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(44, 121, 255, 0.24);
  border-radius: 8px;
  background: rgba(44, 121, 255, 0.18);
}

.file-meta {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.required-downloads {
  display: grid;
  gap: 10px;
}

.resource-buttons {
  display: grid;
  gap: 8px;
}

.resource-link {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(102, 217, 255, 0.34);
  border-radius: 8px;
  background: rgba(20, 117, 255, 0.12);
  color: var(--ice);
  font-weight: 900;
  text-align: center;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.resource-link:hover,
.resource-link:focus-visible {
  border-color: rgba(102, 217, 255, 0.68);
  background: rgba(47, 140, 255, 0.2);
  transform: translateY(-1px);
}

.file-meta div,
.spec-list div {
  padding: 14px;
  background: rgba(1, 7, 18, 0.72);
}

.file-meta div {
  min-height: 78px;
}

.file-meta dt,
.spec-list dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.file-meta dd,
.spec-list dd {
  margin: 0;
  color: var(--text);
  font-weight: 900;
}

.download-status {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.muted {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

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

.content-grid .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.info-card {
  min-height: 230px;
  padding: 22px;
}

.info-card p {
  color: #c7d7f4;
  line-height: 1.55;
}

.info-card a {
  color: var(--cyan);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.tag {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(102, 217, 255, 0.42);
  border-radius: 999px;
  padding: 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 900;
}

.requirements {
  margin: 28px 0 64px;
  padding: clamp(20px, 4vw, 34px);
}

.requirement-app {
  margin-top: 22px;
}

.spec-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.spec-list div {
  min-height: 112px;
}

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

@media (max-width: 1120px) {
  .app-row {
    grid-template-columns: 120px minmax(0, 1fr) minmax(300px, 1.2fr);
  }

  .required-downloads {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 24px;
  }

  .profile-frame {
    width: min(100%, 280px);
  }

  .app-row {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .file-meta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    gap: 12px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
    font-size: 0.88rem;
  }

  h1 {
    font-size: clamp(4rem, 28vw, 8.5rem);
  }

  .content-grid,
  .spec-list,
  .file-meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  main {
    width: min(100% - 24px, 1180px);
  }

  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav,
  .hero-actions {
    justify-content: flex-start;
  }

  .button,
  .scroll-hint {
    width: 100%;
  }

  .app-row {
    grid-template-columns: 1fr;
  }

  .panel-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .panel-row strong,
  .panel-row a {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
