:root {
  color-scheme: dark;
  --night: #0b0d1c;
  --ink: #11162b;
  --paper: #eef2ff;
  --muted: #abb5cd;
  --line: #30364e;
  --light: #dce8ff;
  font-family: Geist, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  background: var(--night);
  color: var(--paper);
  text-rendering: optimizeLegibility;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
html { scroll-behavior: smooth; }
p, h1, h2, h3 { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2px solid #b4cdff;
  outline-offset: 4px;
}

.layout {
  width: min(1200px, calc(100% - 96px));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  color: #131a2d;
  background: var(--light);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.site-header {
  border-bottom: 1px solid rgba(177, 190, 232, .17);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--paper);
  font-size: 20px;
  font-weight: 660;
  letter-spacing: -.04em;
  white-space: nowrap;
  text-decoration: none;
}

.header-inner nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-inner nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 560;
  text-decoration: none;
}

.header-inner nav a:hover { color: var(--paper); }

.header-inner nav .nav-install {
  color: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 14px;
}

.header-inner nav .nav-install:hover {
  border-color: #778bb5;
  background: #171e35;
}

.hero {
  display: grid;
  grid-template-columns: .96fr 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 76px);
  padding-block: clamp(67px, 8vw, 118px);
}

.hero-copy h1 {
  font-size: clamp(41px, 4.3vw, 67px);
  font-weight: 690;
  line-height: 1.18;
  letter-spacing: -.075em;
}

.hero-copy h1 span { white-space: nowrap; }
.hero-copy p {
  width: min(100%, 350px);
  margin: 24px 0 30px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding-inline: 17px;
  font-size: 15px;
  font-weight: 670;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.button-primary {
  color: #131a2d;
  background: var(--light);
}

.button-primary:hover { background: #fff; }
.button:active { transform: translateY(1px); }

.hero-art {
  overflow: hidden;
  border: 1px solid #2a2d57;
  border-radius: 12px;
  background: #06071c;
  box-shadow: 0 24px 80px rgba(36, 37, 100, .25);
}

.hero-art img {
  width: 100%;
  height: auto;
}

.about {
  display: grid;
  grid-template-columns: minmax(140px, .54fr) 2fr;
  align-items: start;
  gap: clamp(28px, 4vw, 58px);
  border-top: 1px solid var(--line);
  padding-block: 40px 67px;
}

.about h2, .install h2 {
  font-weight: 660;
  letter-spacing: -.05em;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.24;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.features article {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-inline: clamp(14px, 3vw, 38px);
}

.features article:first-child { padding-inline-start: 0; }
.features article:last-child {
  border-left: 1px solid var(--line);
  padding-inline-end: 0;
}

.feature-marker {
  display: flex;
  width: 36px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid #485e9c;
  border-radius: 5px;
  background: #171f40;
}

.feature-marker span {
  z-index: 1;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c4daff;
  box-shadow: 0 0 7px #829dff;
}

.feature-marker-pair {
  position: relative;
  gap: 10px;
  border-color: #5e5098;
  background: #231a41;
}

.feature-marker-pair::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 1px;
  background-color: #a9a5dc;
}

.features h3 { font-size: 18px; font-weight: 650; }
.features p, .install p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.install-band {
  background: var(--ink);
  border-block: 1px solid var(--line);
}

.install {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: clamp(32px, 7vw, 92px);
  align-items: start;
  padding-block: 57px;
}

.install h2 { margin-bottom: 14px; }
.install > div:first-child p { max-width: 390px; }

.install .availability {
  margin-top: 14px;
  color: #c7d3ef;
  font-size: 14px;
}

.download {
  min-width: 0;
}

.download label {
  display: block;
  margin-bottom: 9px;
  color: var(--paper);
  font-size: 14px;
  font-weight: 600;
}

.link-control { display: flex; gap: 8px; }

.link-control input {
  display: block;
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  height: 48px;
  color: var(--paper);
  background: var(--night);
  border: 1px solid #535e82;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 13px;
}

.install .copy-status {
  min-height: 21px;
  margin-block: 3px 7px;
  color: #cad8ff;
  font-size: 13px;
  line-height: 21px;
}

.download-details {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 24px;
  color: var(--muted);
  font-size: 14px;
}

.download-link {
  color: var(--paper);
  font-weight: 600;
  text-underline-offset: 4px;
}

.download-link:hover { color: #b4cdff; }
.install .compatibility { margin-top: 6px; font-size: 13px; }
.site-footer { min-height: 74px; }
.site-footer .brand { font-size: 16px; }

@media (max-width: 1040px) {
  .layout { width: calc(100% - 64px); }
  .hero-copy h1 { font-size: clamp(36px, 4.65vw, 52px); }
}

@media (max-width: 760px) {
  .layout { width: calc(100% - 44px); }
  .header-inner { min-height: 65px; }
  .header-inner nav { gap: 17px; }
  .header-inner nav a { font-size: 13px; }
  .header-inner nav .nav-install { padding: 7px 10px; }
  .brand { font-size: 18px; gap: 5px; }
  .brand img { width: 34px; height: auto; }
  .hero, .about, .install { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 34px; padding-block: 52px; }
  .hero-copy h1 { font-size: clamp(33px, 7.2vw, 47px); max-width: 520px; }
  .hero-copy p { margin: 19px 0 24px; }
  .about { gap: 27px; padding-block: 33px 42px; }
  .install { gap: 30px; padding-block: 39px; }
}

@media (max-width: 360px) {
  .layout { width: calc(100% - 32px); }
  .header-inner nav a:first-child { display: none; }
  .features { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .features article, .features article:last-child { border: 0; padding: 0; }
  .features article:last-child { padding-top: 19px; border-top: 1px solid var(--line); }
  .link-control .button { padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button:active { transform: none; }
}
