:root {
  color-scheme: dark;
  --bg: #080a13;
  --surface: rgba(17, 20, 34, .82);
  --surface-strong: #111522;
  --border: rgba(157, 171, 217, .16);
  --border-bright: rgba(147, 116, 255, .42);
  --text: #f7f8ff;
  --muted: #9da6bf;
  --violet: #7c5cff;
  --violet-light: #a993ff;
  --cyan: #48d7ea;
  --green: #4be1a1;
  --shadow: 0 32px 80px rgba(0, 0, 0, .36);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px),
    radial-gradient(circle at 50% -25%, rgba(103, 68, 235, .2), transparent 48%),
    var(--bg);
  background-size: 58px 58px, 58px 58px, auto, auto;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

svg.ph-icon {
  display: block;
  flex: 0 0 auto;
  fill: currentColor;
  stroke: none;
  overflow: visible;
}

.ambient {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  opacity: .16;
}

.ambient-violet {
  width: 480px;
  height: 480px;
  top: 24%;
  left: -290px;
  background: #7654ff;
}

.ambient-cyan {
  width: 400px;
  height: 400px;
  right: -240px;
  bottom: 4%;
  background: #27c7d9;
}

.topbar,
main,
footer {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -.55px;
}

.brand img {
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(98, 72, 225, .25);
}

.brand strong {
  color: var(--violet-light);
}

.web-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  color: #c5cbe0;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: 12px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.web-link svg {
  width: 17px;
}

.web-link:hover {
  color: #fff;
  border-color: var(--border);
  background: rgba(255,255,255,.035);
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
  align-items: center;
  min-height: 420px;
  padding: 48px 0 54px;
}

.intro-copy {
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: #a8b0c8;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.75px;
}

.eyebrow span {
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  border-radius: 2px;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(46px, 5.45vw, 76px);
  line-height: .98;
  letter-spacing: -4px;
}

h1 em {
  color: transparent;
  font-style: normal;
  background: linear-gradient(105deg, #8c72ff 8%, #a993ff 47%, #59d6e6 94%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 610px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #c2c8db;
  font-size: 13px;
  font-weight: 600;
}

.trust-row svg {
  width: 24px;
  height: 24px;
  padding: 4px;
  border: 1px solid rgba(75,225,161,.16);
  border-radius: 8px;
  background: rgba(75,225,161,.065);
  color: var(--green);
}

.intro-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.intro-visual::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 290px;
  border-radius: 50%;
  background: rgba(118, 84, 255, .17);
  filter: blur(70px);
}

.intro-visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(520px, 105%);
  max-height: 390px;
  object-fit: contain;
  filter: drop-shadow(0 34px 35px rgba(0,0,0,.45));
}

.visual-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(149, 127, 255, .15);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.orbit-one {
  width: 430px;
  height: 220px;
}

.orbit-two {
  width: 340px;
  height: 165px;
  border-color: rgba(77, 215, 234, .13);
  transform: rotate(17deg);
}

.status-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: #dce1f2;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(153, 167, 211, .2);
  border-radius: 11px;
  background: rgba(12, 15, 27, .84);
  box-shadow: 0 14px 35px rgba(0,0,0,.25);
  backdrop-filter: blur(14px);
}

.status-chip i {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(75,225,161,.12);
}

.status-chip svg {
  width: 21px;
  height: 21px;
  padding: 3px;
  border: 1px solid rgba(144,118,240,.18);
  border-radius: 7px;
  background: rgba(122,91,229,.09);
  color: var(--violet-light);
}

.status-online {
  top: 23%;
  right: -8px;
}

.status-sync {
  bottom: 18%;
  left: 5px;
}

.downloads {
  padding: 32px 0 40px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

.section-heading .eyebrow {
  margin-bottom: 11px;
}

.section-heading h2,
.continue-card h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -.8px;
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  text-align: right;
}

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

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 20px;
  min-height: 390px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 23px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.045), transparent 38%),
    var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}

.download-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-bright);
  box-shadow: 0 36px 90px rgba(0,0,0,.42);
}

.card-glow {
  position: absolute;
  width: 260px;
  height: 260px;
  right: -135px;
  top: -145px;
  border-radius: 50%;
  opacity: .18;
  filter: blur(50px);
}

.windows-card .card-glow {
  background: #7b5cff;
}

.android-card .card-glow {
  background: #31d6c9;
}

.platform-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(144,118,240,.2);
  border-radius: 17px;
}

.platform-icon svg {
  width: 28px;
  height: 28px;
  stroke: none;
  fill: currentColor;
}

.windows-icon {
  color: #b2a2ff;
  background: linear-gradient(145deg, rgba(124,92,255,.28), rgba(124,92,255,.08));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 12px 32px rgba(85,59,205,.16);
}

.android-icon {
  color: #72e3c6;
  border-color: rgba(60,211,175,.2);
  background: linear-gradient(145deg, rgba(60,211,175,.25), rgba(60,211,175,.07));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 12px 32px rgba(43,177,151,.14);
}

.android-icon svg {
  fill: currentColor;
  stroke: none;
}

.card-copy,
.card-actions {
  position: relative;
  z-index: 1;
}

.card-title {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.card-title p {
  margin: 0 0 6px;
  color: #8e98b4;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
}

.card-title h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -.55px;
}

.version {
  flex: 0 0 auto;
  padding: 5px 8px;
  color: #b9afd9;
  font-size: 10px;
  font-weight: 800;
  border: 1px solid rgba(158,140,226,.2);
  border-radius: 7px;
  background: rgba(136,110,235,.08);
}

.card-description {
  min-height: 66px;
  margin: 20px 0 17px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.download-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.download-card li {
  position: relative;
  padding-left: 21px;
  color: #c5cbdd;
  font-size: 12px;
}

.download-card li::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 5px;
  top: 3px;
  left: 1px;
  border: solid var(--green);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg);
}

.card-actions {
  grid-column: 1 / -1;
  align-self: end;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 27px;
}

.primary-button,
.secondary-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 0 17px;
  font-size: 12px;
  font-weight: 750;
  border-radius: 12px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.primary-button {
  color: #fff;
  background: linear-gradient(135deg, #7452f2, #6547dc);
  box-shadow: 0 13px 27px rgba(93,64,212,.24), inset 0 1px rgba(255,255,255,.16);
}

.android-card .primary-button {
  background: linear-gradient(135deg, #248f78, #1e7767);
  box-shadow: 0 13px 27px rgba(28,126,105,.2), inset 0 1px rgba(255,255,255,.13);
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(93,64,212,.32), inset 0 1px rgba(255,255,255,.16);
}

.android-card .primary-button:hover {
  box-shadow: 0 16px 32px rgba(28,126,105,.28), inset 0 1px rgba(255,255,255,.13);
}

.primary-button svg,
.secondary-button svg,
.outline-button svg {
  width: 17px;
  height: 17px;
}

.secondary-button {
  color: #bcc4d9;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
}

.secondary-button:hover,
.outline-button:hover {
  color: #fff;
  border-color: rgba(158,140,226,.38);
  background: rgba(139,112,237,.08);
}

.continue-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin: 20px 0 40px;
  padding: 23px 25px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: rgba(16,19,31,.63);
}

.continue-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--violet-light);
  border: 1px solid rgba(144,118,240,.2);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(76,134,255,.09), rgba(122,91,229,.15));
  box-shadow: inset 0 1px rgba(255,255,255,.045);
}

.continue-icon svg {
  width: 25px;
}

.continue-card h2 {
  font-size: 17px;
  letter-spacing: -.25px;
}

.continue-card p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.outline-button {
  min-width: 190px;
  color: #ddd8f2;
  border: 1px solid rgba(154,137,216,.25);
  background: rgba(255,255,255,.02);
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  min-height: 100px;
  color: #727b96;
  font-size: 11px;
  border-top: 1px solid rgba(152,163,198,.1);
}

.footer-brand {
  gap: 8px;
  color: #aeb6cb;
  font-size: 13px;
  letter-spacing: -.2px;
}

.footer-brand img {
  border-radius: 7px;
}

footer p {
  margin: 0;
  text-align: center;
}

footer > span {
  text-align: right;
}

@media (max-width: 980px) {
  .intro {
    grid-template-columns: minmax(0, 1.1fr) minmax(290px, .9fr);
    min-height: 370px;
  }

  .intro-visual {
    min-height: 310px;
  }

  .status-online {
    right: 0;
  }

  .download-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 0 15px;
    min-height: 420px;
    padding: 23px;
  }

  .platform-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .platform-icon svg {
    width: 23px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar,
  main,
  footer {
    width: min(100% - 28px, 560px);
  }

  .topbar {
    height: 74px;
  }

  .brand {
    font-size: 20px;
  }

  .brand img {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .web-link {
    width: 42px;
    height: 42px;
    padding: 0;
    justify-content: center;
    border-color: var(--border);
    background: rgba(255,255,255,.025);
  }

  .web-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .intro {
    display: block;
    min-height: auto;
    padding: 48px 0 38px;
  }

  .intro-visual {
    display: none;
  }

  h1 {
    font-size: clamp(43px, 13.5vw, 62px);
    letter-spacing: -3px;
  }

  .lead {
    margin-top: 21px;
    font-size: 15px;
  }

  .trust-row {
    gap: 10px 17px;
    margin-top: 22px;
  }

  .trust-row span {
    font-size: 11px;
  }

  .downloads {
    padding-top: 25px;
  }

  .section-heading {
    display: block;
    margin-bottom: 18px;
  }

  .section-heading h2 {
    font-size: 22px;
  }

  .section-heading > p {
    margin-top: 10px;
    text-align: left;
  }

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

  .android-card {
    order: -1;
  }

  .download-card {
    min-height: 0;
    padding: 21px;
    border-radius: 19px;
  }

  .card-copy {
    min-width: 0;
  }

  .card-title h3 {
    font-size: 18px;
  }

  .card-description {
    min-height: 0;
    margin-top: 16px;
  }

  .card-actions {
    margin-top: 23px;
  }

  .continue-card {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 19px;
  }

  .continue-card .outline-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr auto;
    min-height: 88px;
  }

  footer p {
    display: none;
  }
}

@media (max-width: 420px) {
  .download-card {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 0 12px;
    padding: 18px;
  }

  .platform-icon {
    width: 43px;
    height: 43px;
  }

  .version {
    display: none;
  }

  .card-description,
  .download-card ul,
  .card-actions {
    grid-column: 1 / -1;
  }

  .download-card ul {
    margin-top: 0;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }
}

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