:root {
  color-scheme: dark;
  --bg: #05080f;
  --surface: #0b111c;
  --surface-raised: #101827;
  --brand: #0a68d6;
  --brand-bright: #3d9cff;
  --brand-soft: #73b7ff;
  --text: #f5f8fc;
  --muted: #98a5b7;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.17);
  --success: #3ddc97;
  --shell: 1120px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 12% 38%, rgba(10, 104, 214, 0.08), transparent 26%),
    radial-gradient(circle at 88% 75%, rgba(61, 156, 255, 0.05), transparent 28%);
  content: "";
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, p { margin-top: 0; }

.shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: white;
  color: black;
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  background: rgba(5, 8, 15, 0.74);
  backdrop-filter: blur(18px) saturate(140%);
}

.nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 19px;
  font-weight: 730;
  letter-spacing: -0.03em;
}

.brand img {
  border-radius: 9px;
  box-shadow: 0 8px 24px rgba(10, 104, 214, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a { transition: color 180ms ease, border-color 180ms ease, background 180ms ease; }
.nav-links a:hover { color: white; }

.nav-links .nav-cta {
  padding: 9px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  color: #e8eef8;
}

.nav-links .nav-cta:hover {
  border-color: rgba(61, 156, 255, 0.48);
  background: rgba(10, 104, 214, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 166px 0 100px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

.hero-glow {
  position: absolute;
  top: -290px;
  left: 50%;
  width: 1050px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10, 104, 214, 0.3) 0, rgba(10, 104, 214, 0.09) 40%, transparent 72%);
  filter: blur(14px);
  transform: translateX(-50%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black 0, transparent 82%);
}

.hero-inner {
  position: relative;
  text-align: center;
}

.eyebrow,
.kicker {
  color: var(--brand-soft);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 22px;
  padding: 7px 12px;
  border: 1px solid rgba(61, 156, 255, 0.25);
  border-radius: 999px;
  background: rgba(10, 104, 214, 0.09);
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-bright);
  box-shadow: 0 0 18px var(--brand-bright);
}

h1 {
  max-width: 840px;
  margin: 0 auto;
  font-size: clamp(54px, 7vw, 88px);
  font-weight: 760;
  letter-spacing: -0.062em;
  line-height: 0.99;
}

h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(100deg, #f7fbff 10%, #70baff 58%, #2d86ed 100%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-copy {
  max-width: 650px;
  margin: 28px auto 0;
  color: #aab6c7;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.75;
}

.release-line {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

.release-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 14px rgba(61, 220, 151, 0.7);
}

.downloads { padding: 94px 0 88px; }

.section-heading {
  max-width: 650px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin: 13px 0 14px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.section-heading p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

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

.platform-card {
  position: relative;
  display: flex;
  min-height: 375px;
  flex-direction: column;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(155deg, rgba(16, 24, 39, 0.88), rgba(7, 11, 19, 0.96));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.platform-card::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 12% 0, rgba(61, 156, 255, 0.1), transparent 45%);
  content: "";
  pointer-events: none;
}

.platform-card:hover,
.platform-card.is-match {
  border-color: rgba(61, 156, 255, 0.34);
  box-shadow: 0 30px 90px rgba(4, 24, 48, 0.36);
  transform: translateY(-3px);
}

.platform-card.is-match {
  outline: 1px solid rgba(61, 156, 255, 0.08);
}

.platform-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.platform-mark {
  display: inline-grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border: 1px solid rgba(61, 156, 255, 0.25);
  border-radius: 14px;
  background: rgba(10, 104, 214, 0.1);
  color: #9dceff;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.match-badge {
  display: none;
  padding: 6px 9px;
  border: 1px solid rgba(61, 220, 151, 0.25);
  border-radius: 999px;
  background: rgba(61, 220, 151, 0.08);
  color: #8ce9bd;
  font-size: 11px;
  font-weight: 650;
}

.is-match .match-badge { display: inline-block; }

.platform-card h3 {
  position: relative;
  margin: 28px 0 10px;
  font-size: 27px;
  letter-spacing: -0.035em;
}

.platform-card > p {
  position: relative;
  min-height: 52px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.download-button {
  position: relative;
  display: inline-flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: linear-gradient(180deg, #1479e8, #0962ca);
  box-shadow: 0 12px 34px rgba(10, 104, 214, 0.23), inset 0 1px rgba(255, 255, 255, 0.18);
  color: white;
  font-size: 14px;
  font-weight: 650;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.download-button:hover {
  box-shadow: 0 16px 42px rgba(10, 104, 214, 0.34);
  transform: translateY(-2px);
}

.download-button.secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  color: #dce5f2;
}

.download-button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.065);
}

.download-button.is-loading {
  cursor: wait;
  opacity: 0.55;
  pointer-events: none;
}

.download-pair {
  position: relative;
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 8px;
  margin-top: auto;
}

.download-pair .download-button { margin-top: 0; }

.platform-card small {
  position: relative;
  display: block;
  min-height: 45px;
  margin-top: 16px;
  color: #718097;
  font-size: 11px;
  line-height: 1.5;
}

.trust-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.025);
}

.trust-row p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.trust-row a {
  flex: 0 0 auto;
  color: var(--brand-soft);
  font-size: 13px;
  font-weight: 650;
}

.client-section {
  padding: 96px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.055);
  background:
    radial-gradient(circle at 18% 45%, rgba(10, 104, 214, 0.1), transparent 32%),
    #070b13;
}

.client-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: start;
  gap: 72px;
}

.client-copy h2 {
  margin: 14px 0 18px;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.client-copy > p {
  max-width: 440px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.client-release {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
}

.install-grid {
  display: grid;
  gap: 12px;
}

.install-card {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(16, 24, 39, 0.9), rgba(7, 11, 19, 0.96));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.install-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.install-label {
  color: var(--brand-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.install-head h3 {
  margin: 6px 0 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.install-head button {
  min-width: 62px;
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: #dce5f2;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 650;
  transition: border-color 180ms ease, background 180ms ease;
}

.install-head button:hover,
.install-head button:focus-visible {
  border-color: rgba(61, 156, 255, 0.5);
  background: rgba(10, 104, 214, 0.1);
}

.install-card pre {
  margin: 18px 0 0;
  padding: 15px 16px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  background: #03060b;
  color: #c9e4ff;
  font: 12px/1.65 "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.client-links {
  display: flex;
  gap: 22px;
  padding: 7px 4px 0;
}

.client-links a {
  color: var(--brand-soft);
  font-size: 13px;
  font-weight: 650;
}

footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: #03060b;
}

.footer-inner {
  display: grid;
  min-height: 110px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-brand { font-size: 16px; }
.footer-links { display: flex; gap: 24px; color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: white; }
.footer-company {
  display: grid;
  justify-self: end;
  justify-items: end;
  gap: 5px;
  color: #68758a;
  font-size: 11px;
  white-space: nowrap;
}

.footer-company small { color: #4d596b; font-size: 11px; }

@media (max-width: 820px) {
  .platform-grid { grid-template-columns: 1fr; }
  .platform-card { min-height: 330px; }
  .platform-card > p,
  .platform-card small { min-height: auto; }
  .client-layout { grid-template-columns: 1fr; gap: 42px; }
  .client-copy > p { max-width: 620px; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .nav { min-height: 64px; }
  .nav-links > a:not(.nav-cta) { display: none; }
  .hero { padding: 136px 0 78px; }
  h1 { font-size: clamp(48px, 15vw, 64px); }
  .hero-copy { font-size: 17px; line-height: 1.65; }
  .downloads { padding: 72px 0 64px; }
  .platform-card { padding: 22px; }
  .trust-row { align-items: flex-start; flex-direction: column; }
  .client-section { padding: 72px 0; }
  .install-head { align-items: flex-start; }
  .install-card pre { font-size: 11px; }
  .client-links { align-items: flex-start; flex-direction: column; gap: 12px; }
  .footer-inner {
    min-height: 150px;
    grid-template-columns: 1fr auto;
    gap: 18px;
  }
  .footer-company {
    grid-column: 1 / -1;
    justify-self: start;
    justify-items: start;
    white-space: normal;
  }
}

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