:root {
  color-scheme: dark;
  --bg: #030711;
  --bg-2: #07101f;
  --ink: #f4f8ff;
  --muted: #9dafc8;
  --soft: #c8d6eb;
  --line: rgba(106, 137, 178, 0.34);
  --line-soft: rgba(106, 137, 178, 0.18);
  --panel: rgba(8, 14, 26, 0.74);
  --panel-strong: rgba(10, 17, 31, 0.9);
  --blue: #0b72ff;
  --blue-2: #3bb1ff;
  --cyan: #26e2e8;
  --green: #65eeb2;
  --amber: #f6c970;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 86% 12%, rgba(11, 114, 255, 0.2), transparent 34%),
    linear-gradient(135deg, var(--bg), var(--bg-2) 55%, #02050c);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  content: "";
  background-image:
    linear-gradient(rgba(102, 132, 170, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 132, 170, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 88%);
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background: linear-gradient(90deg, rgba(3, 7, 17, 0.38), transparent 36%, rgba(3, 7, 17, 0.42));
  pointer-events: none;
}

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

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

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(1120px, calc(100% - 28px));
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(5, 9, 20, 0.72);
  padding: 8px 10px;
  transform: translateX(-50%);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.brand,
.site-nav,
.hero-actions,
.download-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 9px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(38, 226, 232, 0.42);
  border-radius: 7px;
  object-fit: cover;
}

.brand span {
  font-size: 17px;
}

.brand em {
  color: var(--cyan);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.site-nav {
  gap: 2px;
}

.site-nav a {
  border: 1px solid transparent;
  border-radius: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  padding: 7px 10px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: var(--line);
  background: rgba(12, 26, 47, 0.74);
  color: var(--ink);
  outline: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 86svh;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  padding: 112px max(24px, calc((100vw - 1120px) / 2)) 70px;
}

.grid-layer {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(102, 132, 170, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(102, 132, 170, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.72;
  pointer-events: none;
}

.brand-ribbon {
  position: absolute;
  top: 3vh;
  right: -18vw;
  width: min(760px, 62vw);
  height: min(390px, 34vw);
  background:
    linear-gradient(135deg, rgba(0, 114, 255, 0.94), rgba(58, 177, 255, 0.34)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
  clip-path: polygon(13% 39%, 55% 0, 100% 0, 100% 62%, 70% 58%, 31% 100%, 32% 70%);
  opacity: 0.7;
  pointer-events: none;
}

.brand-ribbon::after {
  position: absolute;
  inset: 24% 3% 18% 22%;
  content: "";
  background: rgba(255, 255, 255, 0.1);
  clip-path: polygon(0 0, 100% 0, 94% 58%, 8% 100%);
}

.hero-copy,
.hero-preview,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero-copy,
.hero-preview {
  min-width: 0;
}

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

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 590px;
  margin: 0;
  font-size: clamp(56px, 8vw, 116px);
  line-height: 0.9;
  letter-spacing: 0;
}

h1 span {
  display: block;
  color: var(--cyan);
  font-size: 0.28em;
  line-height: 1.3;
  margin-top: 8px;
}

h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 16px 0 8px;
  font-size: 20px;
  letter-spacing: 0;
}

.lede {
  width: min(560px, 100%);
  margin: 24px 0 0;
  color: var(--soft);
  font-size: 18px;
}

.hero-actions,
.download-actions {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  padding: 10px 15px;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

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

.button.primary {
  border-color: rgba(59, 177, 255, 0.42);
  background: linear-gradient(135deg, var(--blue), #0a52d6 54%, var(--blue-2));
  color: #ffffff;
}

.button.secondary,
.copy-button {
  background: rgba(8, 14, 26, 0.78);
  color: var(--soft);
}

.button.secondary:hover,
.button.secondary:focus-visible,
.copy-button:hover,
.copy-button:focus-visible {
  border-color: rgba(38, 226, 232, 0.54);
  background: rgba(13, 26, 46, 0.94);
}

.release-strip {
  display: grid;
  width: min(560px, 100%);
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 30px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line-soft);
}

.release-strip div {
  min-width: 0;
  background: rgba(8, 14, 26, 0.76);
  padding: 12px;
}

.release-strip dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.release-strip dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-weight: 850;
}

.hero-preview {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 14, 26, 0.62);
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 8px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.hero-preview img,
.app-frame img {
  width: 100%;
  border: 1px solid rgba(106, 137, 178, 0.22);
  border-radius: 6px;
}

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 76px 0;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.section-heading p,
.feature-panel p,
.download-panel p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
}

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

.feature-panel,
.download-panel,
.support-list,
.app-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.feature-panel {
  min-height: 208px;
  padding: 20px;
}

.feature-panel span {
  display: inline-grid;
  width: 38px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(38, 226, 232, 0.36);
  border-radius: 7px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.app-frame {
  margin: 0;
  padding: 8px;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.download-panel h2 {
  margin-bottom: 10px;
}

.download-actions {
  justify-content: flex-end;
  margin-top: 0;
}

.checksum-block {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(4, 8, 16, 0.72);
  padding: 10px;
}

.checksum-block span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.checksum-block code {
  min-width: 0;
  overflow: hidden;
  color: var(--green);
  font-family: Consolas, "SFMono-Regular", monospace;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 10px;
}

.support-list {
  display: grid;
  overflow: hidden;
}

.support-list div {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  border-top: 1px solid var(--line-soft);
  padding: 15px 16px;
}

.support-list div:first-child {
  border-top: 0;
}

.support-list strong {
  color: var(--ink);
}

.support-list span {
  color: var(--muted);
}

.site-footer {
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 auto;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: 14px;
}

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

  .brand-ribbon {
    right: -34vw;
    width: 720px;
    height: 360px;
  }

  .hero-preview {
    width: min(100%, 720px);
  }

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

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

@media (max-width: 660px) {
  .site-nav {
    display: none;
  }

  .site-header,
  .section,
  .site-footer {
    width: calc(100% - 24px);
  }

  .hero {
    display: flex;
    width: 100%;
    max-width: 100vw;
    flex-direction: column;
    align-items: stretch;
    padding-right: 18px;
    padding-left: 18px;
  }

  .hero-copy,
  .hero-preview,
  .hero-actions,
  .release-strip {
    width: calc(100vw - 54px);
    max-width: calc(100vw - 54px);
  }

  .lede {
    width: 100%;
    max-width: 30ch;
    font-size: 17px;
  }

  h1 {
    font-size: 54px;
  }

  h2 {
    font-size: 32px;
  }

  .release-strip,
  .checksum-block,
  .support-list div {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

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