@font-face {
  font-family: "Roboto";
  src: url("roboto-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --background: #090d14;
  --surface: #111722;
  --surface-strong: #161d2a;
  --line: #283142;
  --text: #f5f7fb;
  --muted: #a9b1c0;
  --purple: #8257f4;
  --purple-light: #aa8cff;
  --red: #ff334f;
  --green: #57d5a1;
  --radius: 24px;
  --container: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 14% 13%, rgba(130, 87, 244, .16), transparent 28rem),
    radial-gradient(circle at 92% 78%, rgba(71, 49, 145, .16), transparent 32rem),
    var(--background);
  color: var(--text);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #111;
  transform: translateY(-160%);
}

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

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 86px;
  margin-top: 28px;
  padding: 13px 18px 13px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(17, 23, 34, .88);
  box-shadow: 0 16px 60px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  display: block;
  width: 198px;
  height: auto;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-size: .93rem;
}

.header-meta a {
  padding: 12px 16px;
  border: 1px solid #394458;
  border-radius: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.header-meta a:hover,
.header-meta a:focus-visible {
  border-color: var(--purple-light);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.availability span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(87, 213, 161, .12);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, .65fr);
  gap: 64px;
  align-items: center;
  min-height: calc(100vh - 166px);
  padding: 76px 0 68px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--purple-light);
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.eyebrow span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(170, 140, 255, .45);
  border-radius: 50%;
  font-size: .72rem;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 5.3vw, 5rem);
  font-weight: 500;
  letter-spacing: -.045em;
  line-height: 1.02;
}

.intro {
  max-width: 700px;
  margin-bottom: 36px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.65;
}

.intro strong {
  color: var(--text);
}

.download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-card {
  display: flex;
  min-height: 318px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(25, 32, 46, .96), rgba(14, 19, 29, .96));
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.download-card:hover,
.download-card.is-recommended {
  border-color: rgba(170, 140, 255, .62);
  box-shadow: 0 22px 60px rgba(45, 28, 104, .25);
  transform: translateY(-3px);
}

.download-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
}

.os-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #323d51;
  border-radius: 14px;
  background: #0d121c;
}

.os-icon svg {
  width: 24px;
  fill: currentColor;
}

.recommended {
  display: none;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(130, 87, 244, .16);
  color: #c6b6ff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.is-recommended .recommended {
  display: inline-flex;
}

.download-card h2 {
  margin: 22px 0 6px;
  font-size: 1.55rem;
  line-height: 1.2;
}

.download-card p {
  min-height: 50px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: .92rem;
}

.download-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 13px;
  background: #f5f7fb;
  color: #10141d;
  font-weight: 800;
  text-decoration: none;
  transition: background .2s ease, transform .2s ease;
}

.download-button:hover,
.download-button:focus-visible {
  background: #ded4ff;
  transform: translateY(-1px);
}

.download-button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.alternate-link {
  margin-top: 12px;
  color: var(--muted);
  font-size: .78rem;
  text-align: center;
  text-underline-offset: 3px;
}

.download-status {
  min-height: 24px;
  margin: 17px 2px 0;
  color: #778195;
  font-size: .82rem;
}

.download-status.is-active {
  color: var(--green);
}

.steps-panel {
  position: relative;
  overflow: hidden;
  padding: 42px 38px 34px;
  border: 1px solid #352c5d;
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(130, 87, 244, .24), transparent 17rem),
    linear-gradient(150deg, #1a1932, #111622 70%);
  box-shadow: 0 28px 90px rgba(0, 0, 0, .34);
}

.panel-orbit {
  position: absolute;
  top: -94px;
  right: -88px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(170, 140, 255, .32);
  border-radius: 50%;
}

.panel-orbit::before,
.panel-orbit::after {
  position: absolute;
  border: 1px solid rgba(170, 140, 255, .18);
  border-radius: inherit;
  content: "";
}

.panel-orbit::before {
  inset: 23px;
}

.panel-orbit::after {
  inset: 48px;
}

.panel-orbit span {
  position: absolute;
  top: 62%;
  left: 1px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 22px var(--red);
}

.panel-label {
  margin-bottom: 10px;
  color: var(--purple-light);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.steps-panel h2 {
  max-width: 330px;
  margin-bottom: 32px;
  font-size: clamp(1.8rem, 2.8vw, 2.55rem);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.12;
}

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

.steps-list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: rgba(130, 87, 244, .18);
  color: #cabaff;
  font-size: .85rem;
  font-weight: 800;
}

.steps-list strong,
.steps-list span {
  display: block;
}

.steps-list strong {
  margin-bottom: 3px;
  font-size: .96rem;
}

.steps-list div > span {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.5;
}

.safety-note {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  margin-top: 24px;
  padding: 16px;
  border: 1px solid rgba(87, 213, 161, .19);
  border-radius: 14px;
  background: rgba(87, 213, 161, .07);
}

.safety-note svg {
  width: 23px;
  fill: none;
  stroke: var(--green);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.safety-note p {
  margin: 0;
  color: #b7c7c2;
  font-size: .82rem;
}

.safety-note strong {
  color: #e9fffa;
}

.security-strip {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: center;
  margin-bottom: 44px;
  padding: 24px 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.security-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-size: 1.8rem;
  font-weight: 900;
}

.security-strip strong {
  display: block;
  margin-bottom: 3px;
  font-size: .95rem;
}

.security-strip p {
  margin: 0;
  color: var(--muted);
  font-size: .88rem;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 4px 36px;
  color: #717b8e;
  font-size: .8rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  gap: 20px;
}

.site-footer a {
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--purple-light);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    min-height: 0;
  }

  .steps-panel {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .page-shell {
    width: min(calc(100% - 24px), var(--container));
  }

  .site-header {
    min-height: 74px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 16px;
  }

  .brand img {
    width: 154px;
  }

  .availability {
    display: none;
  }

  .header-meta {
    gap: 8px;
  }

  .header-meta a {
    padding: 9px 10px;
    font-size: .77rem;
  }

  .hero {
    padding: 52px 0 46px;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.7rem);
  }

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

  .download-card {
    min-height: 0;
  }

  .download-card p {
    min-height: 0;
  }

  .steps-panel {
    padding: 34px 24px 24px;
    border-radius: 24px;
  }

  .security-strip {
    grid-template-columns: 44px 1fr;
    padding: 20px 8px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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