:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: #101820;
  --panel-2: #151d25;
  --panel-3: #1b2530;
  --ink: #f8fafc;
  --muted: #a8b3bf;
  --soft: #778492;
  --line: #283746;
  --line-strong: #3f5265;
  --teal: #5fffe0;
  --cyan: #22c7d8;
  --blue: #2563eb;
  --green: #48c774;
  --shadow: 0 28px 90px rgb(0 0 0 / 54%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    linear-gradient(180deg, #0b1118 0, var(--bg) 620px),
    var(--bg);
  color: var(--ink);
  margin: 0;
  min-width: 320px;
}

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

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgb(5 7 11 / 78%);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 70px;
  padding: 0 clamp(18px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  gap: 12px;
}

.brand img {
  border-radius: 8px;
}

nav {
  align-items: center;
  display: flex;
  gap: clamp(14px, 2.4vw, 28px);
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

nav a:hover {
  color: var(--teal);
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(28px, 4.6vw, 64px);
  grid-template-columns: minmax(0, 0.68fr) minmax(420px, 1.32fr);
  padding: clamp(38px, 6vw, 78px) clamp(18px, 5vw, 72px) 50px;
}

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

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

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

h1 {
  font-size: clamp(58px, 7.2vw, 100px);
  letter-spacing: 0;
  line-height: 0.88;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(31px, 4.5vw, 56px);
  letter-spacing: 0;
  line-height: 1.04;
  margin-bottom: 18px;
}

h3 {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-text,
.download-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.62;
}

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

.button {
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  display: inline-flex;
  font-weight: 780;
  min-height: 48px;
  padding: 0 20px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border-color: transparent;
  color: #031014;
}

.button.secondary {
  background: rgb(255 255 255 / 5%);
  color: var(--ink);
}

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

.hero-screen,
.workflow-card,
.screenshot-grid figure {
  background: #07090d;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-screen {
  margin: 0;
}

.hero-screen img {
  background: #050607;
  width: 100%;
}

.signal-strip {
  border-block: 1px solid rgb(255 255 255 / 8%);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-inline: clamp(18px, 5vw, 72px);
}

.signal-strip div {
  background: rgb(255 255 255 / 4%);
  min-height: 126px;
  padding: 24px;
}

.signal-strip span,
.workflow-card span,
.download-card .os {
  color: var(--teal);
  display: block;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.signal-strip strong {
  display: block;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.22;
}

.section {
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 910px;
}

.section-heading.compact {
  max-width: 760px;
}

.workflow {
  background: linear-gradient(180deg, rgb(255 255 255 / 2%), transparent);
}

.workflow-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 38px;
}

.workflow-card {
  display: grid;
}

.workflow-card.wide {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.workflow-card img {
  aspect-ratio: 16 / 9;
  background: #050607;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.workflow-card img.focus-right {
  object-position: 78% 50%;
}

.workflow-card div {
  background: var(--panel);
  border-top: 1px solid rgb(255 255 255 / 8%);
  padding: 24px;
}

.workflow-card.wide div {
  border-left: 1px solid rgb(255 255 255 / 8%);
  border-top: 0;
}

.workflow-card p,
.feature-grid p {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.feature-section {
  background: var(--panel);
  border-block: 1px solid rgb(255 255 255 / 8%);
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
}

.feature-grid article {
  background: linear-gradient(180deg, rgb(255 255 255 / 6%), rgb(255 255 255 / 3%));
  border: 1px solid rgb(255 255 255 / 10%);
  border-radius: 8px;
  min-height: 236px;
  padding: 25px;
}

.feature-icon {
  align-items: center;
  background: #071d23;
  border: 1px solid rgb(95 255 224 / 32%);
  border-radius: 8px;
  color: var(--teal);
  display: inline-flex;
  font-size: 24px;
  height: 44px;
  justify-content: center;
  margin-bottom: 22px;
  width: 44px;
}

.screenshots {
  background: #080b10;
}

.screenshot-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 38px;
}

.screenshot-grid figure {
  box-shadow: 0 18px 54px rgb(0 0 0 / 34%);
  margin-bottom: 0;
}

.screenshot-grid figure.large {
  grid-column: span 2;
  grid-row: span 2;
}

.screenshot-grid img {
  aspect-ratio: 16 / 10;
  background: #050607;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.screenshot-grid figcaption {
  background: var(--panel-2);
  border-top: 1px solid rgb(255 255 255 / 8%);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  padding: 13px 15px;
}

.download {
  background:
    linear-gradient(135deg, rgb(95 255 224 / 14%), transparent 42%),
    linear-gradient(180deg, var(--panel-2), #090d13);
  border-top: 1px solid rgb(255 255 255 / 10%);
  padding: clamp(72px, 10vw, 128px) clamp(18px, 5vw, 72px);
}

.download-copy {
  max-width: 780px;
}

.download-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.download-card {
  background: rgb(5 7 11 / 72%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  min-height: 188px;
  padding: 26px;
  transition: transform 180ms ease, border-color 180ms ease;
}

.download-card:hover {
  border-color: rgb(95 255 224 / 54%);
}

.download-card strong {
  font-size: clamp(25px, 3vw, 32px);
  line-height: 1.12;
}

.download-card small {
  color: var(--muted);
  font-size: 15px;
}

.all-releases {
  color: var(--teal);
  display: inline-block;
  font-weight: 780;
  margin-top: 22px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / 8%);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  min-height: 86px;
  padding: 0 clamp(18px, 5vw, 72px);
}

.site-footer span {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 1080px) {
  .hero,
  .workflow-card.wide {
    grid-template-columns: 1fr;
  }

  .workflow-card.wide div {
    border-left: 0;
    border-top: 1px solid rgb(255 255 255 / 8%);
  }

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

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

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-block: 14px;
    position: static;
  }

  nav {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    width: 100%;
  }

  nav::-webkit-scrollbar {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    justify-content: center;
  }

  .workflow-grid,
  .feature-grid,
  .download-grid,
  .signal-strip,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-grid figure.large {
    grid-column: auto;
    grid-row: auto;
  }

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