:root {
  color-scheme: dark;
  --bg: #111816;
  --bg-2: #151d1a;
  --surface: #1c2723;
  --surface-2: #22302b;
  --ink: #eef5f1;
  --muted: #a7b6af;
  --soft: #72827a;
  --line: #304039;
  --accent: #35dda0;
  --accent-2: #17a978;
  --warm: #f6b84a;
  --danger: #e05650;
  --code: #0b1110;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 60px);
  background: rgba(17, 24, 22, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 18px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

nav a {
  text-decoration: none;
}

nav a:hover,
.text-link:hover {
  color: var(--accent);
}

main {
  overflow: hidden;
}

.hero {
  position: relative;
  min-height: min(820px, calc(100vh - 62px));
  padding: clamp(56px, 7vw, 92px) clamp(20px, 4vw, 60px) 72px;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(17, 24, 22, 0.82);
}

.hero-visual {
  position: absolute;
  right: max(-90px, -6vw);
  bottom: 38px;
  z-index: -2;
  width: min(68vw, 980px);
  opacity: 0.88;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(97, 121, 111, 0.45);
  border-radius: 8px;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.42);
}

.hero-content,
.section {
  max-width: 1180px;
}

.hero-content {
  width: min(760px, 100%);
}

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

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

.hero-icon {
  display: block;
  width: 76px;
  height: 76px;
  margin: 0 0 18px;
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(53, 221, 160, 0.18);
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.lede {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 760;
}

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

.button.primary:hover {
  background: #64edba;
  border-color: #64edba;
}

.button.secondary {
  background: rgba(28, 39, 35, 0.86);
  color: var(--ink);
}

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

.button.wide {
  width: 100%;
}

.release-note {
  margin: 18px 0 0;
  color: var(--muted);
}

.hero-facts {
  position: absolute;
  left: clamp(20px, 4vw, 60px);
  right: clamp(20px, 4vw, 60px);
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.hero-facts span {
  padding: 6px 10px;
  background: rgba(28, 39, 35, 0.88);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 92px) 0;
}

.download-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.download-band p,
.two-column p {
  color: var(--muted);
  font-size: 17px;
}

.download-box {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 750;
}

dl {
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
}

dt {
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
}

code {
  color: #d6f7e9;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.terminal {
  background: var(--code);
  color: #dff3eb;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}

pre {
  margin: 0;
  padding: 24px;
}

pre code {
  color: inherit;
  font-size: 14px;
}

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

.feature-grid article {
  min-height: 190px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-grid p {
  margin: 0;
  color: var(--muted);
}

.cloud-callout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
  border-top: 1px solid var(--line);
}

.cloud-callout p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
}

.compatibility {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.compatibility ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compatibility li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.changelog {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 64px);
  border-top: 1px solid var(--line);
}

.release-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.release-list li {
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.release-list span {
  display: block;
  color: var(--accent);
  font-weight: 850;
}

.release-list p {
  margin: 6px 0 0;
  color: var(--muted);
}

.faq {
  border-top: 1px solid var(--line);
}

details {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 800;
  font-size: 18px;
}

details p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
}

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

.site-footer a {
  color: var(--accent);
  font-weight: 750;
  text-decoration: none;
}

@media (max-width: 1000px) {
  .hero::before {
    background: rgba(17, 24, 22, 0.9);
  }

  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    z-index: 0;
    width: min(100%, 860px);
    margin: 38px 0 28px;
    opacity: 1;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .download-band,
  .two-column,
  .cloud-callout,
  .compatibility {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 70px;
  }

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

  .changelog {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    gap: 16px;
  }

  nav {
    gap: 12px 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

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

  .site-footer {
    flex-direction: column;
  }
}
