:root {
  color-scheme: dark;
  --bg: #101112;
  --panel: #181a1d;
  --panel-strong: #202329;
  --text: #f3f5f7;
  --muted: #a6abb4;
  --subtle: #696f79;
  --line: rgba(255, 255, 255, 0.13);
  --blue: #2f84ff;
  --green: #2fd46b;
  --magenta: #d83fbc;
  --amber: #d7b14d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(16, 17, 18, 0.74);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 780;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-links {
  justify-self: center;
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.language-switch {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.lang-button {
  min-width: 44px;
  min-height: 30px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  cursor: pointer;
}

.lang-button.is-active {
  background: var(--text);
  color: var(--bg);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: 86vh;
  padding: 132px clamp(22px, 6vw, 88px) 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("/assets/screenshot.png");
  background-position: center top;
  background-size: cover;
  transform: scale(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(16, 17, 18, 0.98), rgba(16, 17, 18, 0.74) 42%, rgba(16, 17, 18, 0.24) 100%),
    linear-gradient(0deg, rgba(16, 17, 18, 0.94), rgba(16, 17, 18, 0.18) 44%, rgba(16, 17, 18, 0.44));
}

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

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

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

h1 {
  margin-bottom: 16px;
  font-size: clamp(72px, 12vw, 156px);
  line-height: 0.85;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.98;
  letter-spacing: 0;
}

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

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: #d9dde3;
  font-size: clamp(20px, 3vw, 32px);
  line-height: 1.18;
  font-weight: 680;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  background: var(--text);
  color: var(--bg);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #dce3ec;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
}

.release-strip {
  margin-top: 24px;
  color: var(--muted);
  font-size: 13px;
}

.release-strip span {
  border-left: 2px solid var(--line);
  padding-left: 12px;
}

.release-strip span:first-child {
  border-left-color: var(--blue);
}

.signal-band {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(280px, 760px);
  gap: clamp(20px, 5vw, 64px);
  align-items: center;
  padding: 30px clamp(22px, 6vw, 88px);
  border-bottom: 1px solid var(--line);
  background: #151719;
}

.signal-line {
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--magenta));
}

.signal-band p {
  margin: 0;
  color: #d6dae0;
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 680;
  line-height: 1.22;
}

.section {
  padding: clamp(72px, 10vw, 132px) clamp(22px, 6vw, 88px);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  color: var(--muted);
  font-size: 19px;
}

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

.product-shot {
  background: #f3f4f2;
  color: #151719;
}

.product-shot .eyebrow {
  color: #0d8c49;
}

.product-shot .section-heading p:not(.eyebrow) {
  color: #5e646b;
}

.screenshot-frame {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.24);
  background: #111;
}

.features {
  background: var(--bg);
}

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

.feature-card {
  min-height: 246px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

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

.feature-mark {
  width: 36px;
  height: 4px;
  margin-bottom: 36px;
  border-radius: 8px;
}

.feature-mark.blue {
  background: var(--blue);
}

.feature-mark.green {
  background: var(--green);
}

.feature-mark.magenta {
  background: var(--magenta);
}

.feature-mark.amber {
  background: var(--amber);
}

.download-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(28px, 7vw, 96px);
  align-items: center;
  background: #e9ecef;
  color: #121417;
}

.download-copy p:not(.eyebrow) {
  color: #5a626d;
  font-size: 19px;
}

.download-copy .eyebrow {
  color: #1e6ed7;
}

.download-panel {
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(18, 20, 23, 0.13);
}

.download-panel strong,
.download-panel span {
  display: block;
}

.download-panel span {
  margin-top: 4px;
  color: #626a75;
  font-size: 14px;
}

.download-panel .button {
  width: 100%;
  margin-top: 22px;
  background: #121417;
  color: #fff;
}

.checksum {
  margin: 18px 0 0;
  color: #66707c;
  font-size: 12px;
}

.checksum code {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  color: #232830;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 28px clamp(22px, 6vw, 88px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #101112;
  font-size: 13px;
}

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

.site-footer a {
  color: var(--text);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .language-switch {
    justify-self: end;
  }

  .hero {
    min-height: 82vh;
    padding-top: 116px;
  }

  .signal-band,
  .download-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 66px;
    padding-inline: 14px;
  }

  .brand span {
    display: none;
  }

  .hero {
    padding: 102px 18px 52px;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(16, 17, 18, 0.98), rgba(16, 17, 18, 0.72)),
      linear-gradient(0deg, rgba(16, 17, 18, 0.95), rgba(16, 17, 18, 0.36));
  }

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

  .release-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .signal-band,
  .section {
    padding-inline: 18px;
  }

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