:root {
  color-scheme: dark;
  --bg: #000712;
  --bg-soft: #03101c;
  --surface: #071827;
  --surface-2: #0b2031;
  --border: rgba(46, 231, 224, 0.18);
  --border-hover: rgba(46, 231, 224, 0.4);
  --text: #f3f7fb;
  --muted: #91a8c0;
  --accent: #21e4dc;
  --accent-soft: #55f1e6;
  --blue: #2498c7;
  --max-width: 1540px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 82% 8%, rgba(33, 228, 220, 0.1), transparent 30rem),
    radial-gradient(circle at 10% 32%, rgba(36, 152, 199, 0.08), transparent 25rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header,
.hero,
.section,
footer {
  width: min(calc(100% - clamp(32px, 5vw, 96px)), var(--max-width));
  margin-inline: auto;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  font-weight: 760;
  letter-spacing: -0.03em;
}

.brand img,
.footer-brand img {
  display: block;
  border-radius: 10px;
}

.brand {
  font-size: 1.08rem;
}

nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.hero {
  min-height: calc(100vh - 76px);
  padding: clamp(56px, 7vw, 108px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: clamp(52px, 6vw, 112px);
}

.hero-copy {
  min-width: 0;
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

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

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.6rem, 5.4vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

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

.lead {
  max-width: 580px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 0 21px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

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

.button-primary {
  border-color: var(--accent);
  color: #001416;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-soft);
}

.button-secondary {
  background: rgba(7, 24, 39, 0.68);
}

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

.release-line {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.86rem;
}

.status-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(33, 228, 220, 0.8);
}

.hero-visual {
  min-width: 0;
  width: clamp(320px, 31vw, 520px);
  max-width: 100%;
  justify-self: end;
}

.brand-image-card {
  width: 100%;
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow:
    0 28px 80px rgba(0, 2, 12, 0.55),
    0 0 38px rgba(33, 228, 220, 0.1);
}

.brand-image-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.section {
  padding: clamp(76px, 9vw, 116px) 0;
  border-top: 1px solid var(--border);
}

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

h2 {
  margin-bottom: 16px;
  font-size: clamp(2.25rem, 4.5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

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

.section-description,
.feature-card p,
.download-card p,
footer p {
  color: var(--muted);
}

.feature-grid,
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.feature-card,
.download-card,
.download-placeholder {
  min-width: 0;
  padding: 27px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(11, 32, 49, 0.88), rgba(3, 13, 24, 0.92));
}

.feature-card {
  min-height: 218px;
}

.feature-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 38px;
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  font: 700 0.78rem/1 monospace;
}

.download-card {
  min-height: 205px;
  display: flex;
  flex-direction: column;
}

.download-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.download-card h3 {
  overflow-wrap: anywhere;
}

.asset-size {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.8rem;
}

.asset-kind {
  margin-bottom: 22px;
  font-family: monospace;
  font-size: 0.8rem;
}

.download-link {
  margin-top: auto;
  color: var(--accent-soft);
  text-decoration: none;
  font-weight: 760;
}

.download-link::after {
  content: " ↓";
}

.download-placeholder {
  grid-column: 1 / -1;
  min-height: 130px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.release-error {
  padding: 18px 20px;
  border: 1px solid rgba(255, 184, 102, 0.3);
  border-radius: 12px;
  color: #ffd2a0;
  background: rgba(120, 67, 14, 0.12);
}

.quick-start {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(34px, 6vw, 70px);
}

.code-block {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #020b14;
}

pre {
  margin: 0;
  overflow-x: auto;
}

.code-block pre {
  padding: 30px;
}

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88rem;
  line-height: 1.8;
}

.copy-button {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 7px 11px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  background: var(--surface);
  cursor: pointer;
}

.copy-button:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

footer {
  min-height: 140px;
  padding: 38px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

footer p {
  margin: 0;
  font-size: 0.88rem;
}

.footer-links {
  justify-self: end;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 48px;
  }

  .hero-visual {
    width: min(100%, 420px);
  }

  h1 {
    font-size: clamp(3.2rem, 6vw, 5.2rem);
  }

  .feature-grid,
  .download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    width: min(78vw, 520px);
    justify-self: center;
  }
}

@media (max-width: 760px) {
  .site-header,
  .hero,
  .section,
  footer {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .site-header {
    min-height: 68px;
  }

  nav {
    gap: 18px;
  }

  .hero {
    padding: 54px 0 76px;
    gap: 40px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-visual {
    width: min(88vw, 500px);
    max-width: 100%;
    justify-self: center;
  }

  .quick-start {
    grid-template-columns: 1fr;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-self: start;
  }
}

@media (max-width: 540px) {
  .site-header,
  .hero,
  .section,
  footer {
    width: min(calc(100% - 24px), var(--max-width));
  }

  nav a:not(:last-child) {
    display: none;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4rem);
  }

  .lead {
    font-size: 1rem;
  }

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

  .button {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
  }

  .brand-image-card {
    border-radius: 17px;
  }

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

  .feature-card,
  .download-card {
    min-height: auto;
  }

  .code-block pre {
    padding: 54px 20px 22px;
  }

  code {
    font-size: 0.8rem;
  }
}

::selection {
  color: #001416;
  background: var(--accent);
}


@media (max-width: 380px) {
  .hero-visual {
    width: 100%;
  }

  .brand-image-card {
    border-radius: 14px;
  }
}
