:root {
  color-scheme: dark;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #f7f5ff;
  background: #101019;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(ellipse 860px 580px at 84% 0%, #26203d 0%, transparent 78%), #101019;
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #c5b3ff; outline-offset: 4px; }
.shell { width: min(1184px, calc(100% - 72px)); margin: 0 auto; }
main { padding-top: 24px; }

.site-header { border-bottom: 1px solid #ffffff14; }
.header {
  min-height: 76px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
  font-size: 21px;
  font-weight: 750;
  white-space: nowrap;
}
.brand img { border: 1px solid #584c6a; border-radius: 11px; }
.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
}
.navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #cec6dd;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.navigation a:hover { color: #fff; }
.admin-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 15px;
  border: 1px solid #41364f;
  border-radius: 10px;
  background: #211a2c;
  color: #e7def5;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.admin-link:hover { background: #32243f; border-color: #6a5481; }

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 476px;
  overflow: hidden;
  border: 1px solid #65477c;
  border-radius: 22px;
  background: #1b142b;
}
.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0 0 0 auto;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 43%;
}
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #1b142b 17%, #1b142b 36%, #1b142be8 45%, #1b142b60 64%, transparent 86%),
    linear-gradient(0deg, #18122566 0, transparent 40%);
}
.hero-copy { width: min(61%, 630px); padding: 48px clamp(32px, 4.7vw, 70px); }
.hero h1 {
  margin: 0;
  font-size: clamp(43px, 5.55vw, 76px);
  font-weight: 850;
  line-height: 1.11;
  letter-spacing: -.045em;
}
.hero h1 span { display: block; color: #ceb4ff; font-size: .76em; margin-bottom: 10px; }
.hero p {
  margin: 22px 0 0;
  max-width: 440px;
  color: #dfd5ea;
  font-size: 16px;
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section { margin-top: 64px; scroll-margin-top: 22px; }
.section-heading { margin-bottom: 23px; }
.section-heading h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.22;
  letter-spacing: -.035em;
}
.section-heading p { margin: 0; color: #c4bbd2; font-size: 15px; line-height: 1.75; }
.service-grid, .platforms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  position: relative;
  display: grid;
  align-items: end;
  isolation: isolate;
  min-height: 240px;
  overflow: hidden;
  border: 1px solid #524064;
  border-radius: 16px;
  background: #25203a;
}
.service-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; }
.service-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #151022 0%, #151022ef 28%, #17122855 62%, transparent);
  content: "";
}
.service-copy { padding: 20px 22px; }
.service-copy h3, .guide-card h3 { margin: 0 0 8px; font-size: 23px; line-height: 1.3; }
.service-copy p, .steps p { margin: 0; color: #ddd5e9; font-size: 14px; line-height: 1.7; }
.service-copy p { min-height: 3.4em; }
.guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.guide-card {
  padding: 24px;
  border: 1px solid #3a334e;
  border-radius: 16px;
  background: linear-gradient(155deg, #231d35, #191824 75%);
}
.steps { display: grid; gap: 16px; list-style: none; margin: 18px 0 0; padding: 0; }
.steps li { display: flex; align-items: flex-start; gap: 13px; }
.steps li + li { border-top: 1px solid #ffffff14; padding-top: 16px; }
.step-number {
  display: grid;
  flex: 0 0 32px;
  height: 32px;
  place-items: center;
  border: 1px solid #66518f;
  border-radius: 9px;
  background: #3d2d59;
  color: #ebdbff;
  font-size: 15px;
  font-weight: 750;
}
.steps h4 { margin: 0 0 4px; font-size: 16px; line-height: 1.45; }
.steps p { color: #c4bbd2; }
.download-section { padding-bottom: 50px; }
.platform {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 23px;
  border: 1px solid #373243;
  border-radius: 16px;
  background: #1a1822;
}
.platform.windows {
  border-color: #594b80;
  background: linear-gradient(138deg, #29213c, #1c1927 66%);
}
.platform-heading { display: flex; align-items: center; gap: 13px; }
.platform-icon {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #352a50;
  color: #c6b3ff;
}
.platform h3 { margin: 0; font-size: 21px; line-height: 1.25; letter-spacing: -.02em; }
.platform-heading p { margin: 4px 0 0; color: #c0b4ce; font-size: 13px; }
.android .platform-icon { color: #9ce2bd; background: #253b35; }
.ios .platform-icon { color: #b4afc2; background: #2b2834; }
.windows-icon {
  width: 19px;
  height: 19px;
  background:
    linear-gradient(currentColor 0 0) left top / 8.5px 8.5px no-repeat,
    linear-gradient(currentColor 0 0) right top / 8.5px 8.5px no-repeat,
    linear-gradient(currentColor 0 0) left bottom / 8.5px 8.5px no-repeat,
    linear-gradient(currentColor 0 0) right bottom / 8.5px 8.5px no-repeat;
}
.android-icon {
  position: relative;
  width: 24px;
  height: 13px;
  margin-top: 4px;
  border-radius: 12px 12px 3px 3px;
  background: radial-gradient(circle at 7px 7px, #253b35 1px, transparent 1.5px),
    radial-gradient(circle at 17px 7px, #253b35 1px, transparent 1.5px), currentColor;
}
.android-icon::before, .android-icon::after {
  position: absolute;
  top: -4px;
  width: 2px;
  height: 6px;
  border-radius: 1px;
  background: currentColor;
  content: "";
}
.android-icon::before { left: 5px; transform: rotate(-27deg); }
.android-icon::after { right: 5px; transform: rotate(27deg); }
.phone-icon { width: 14px; height: 22px; border: 2px solid currentColor; border-radius: 4px; }

.version { margin: 22px 0 14px; color: #c0b6ce; font-size: 13px; font-variant-numeric: tabular-nums; }
.action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}
.action span { font-size: 20px; line-height: 1; }
.download { display: flex; }
.primary { color: #fff; background: linear-gradient(105deg, #6440db, #7150ed); border-color: #957afa; }
.primary:hover { background: #7049ea; }
.secondary { color: #e9e5f5; background: #292533; border-color: #454052; }
.secondary:hover { background: #342d42; border-color: #635771; }
.availability {
  margin: auto 0 0;
  padding: 14px 0;
  color: #b7adc5;
  font-size: 14px;
}
.site-footer { border-top: 1px solid #ffffff14; background: #14131e; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 108px; }
.footer strong { font-size: 17px; }
.footer p { margin: 6px 0 0; color: #bfb5cf; font-size: 14px; line-height: 1.7; }
.footer a { color: #d8c5ff; font-size: 14px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; }
.footer a:hover { color: #fff; }

@media (max-width: 740px) {
  .shell { width: calc(100% - 32px); }
  main { padding-top: 16px; }
  .header { grid-template-columns: 1fr auto; gap: 1px 10px; padding: 12px 0 4px; }
  .brand { font-size: 18px; }
  .brand img { width: 36px; height: 36px; }
  .navigation { grid-column: 1 / -1; grid-row: 2; justify-content: space-between; gap: 10px; padding: 0 4px; }
  .navigation a { font-size: 13px; }
  .hero { align-items: end; min-height: auto; border-radius: 18px; }
  .hero-art { width: 100%; height: 270px; object-position: 50% 33%; }
  .hero::after { background: linear-gradient(0deg, #1b142b 0%, #1b142b 30%, #1b142bea 44%, #1b142b27 70%, transparent); }
  .hero-copy { width: 100%; padding: 158px 21px 23px; }
  .hero h1 { font-size: clamp(32px, 9.2vw, 46px); }
  .hero h1 span { margin-bottom: 6px; }
  .hero p { margin-top: 14px; font-size: 14px; }
  .hero-actions { margin-top: 18px; gap: 9px; }
  .hero-actions .action { padding: 0 12px; gap: 7px; }
  .section { margin-top: 40px; }
  .section-heading { margin-bottom: 16px; }
  .service-grid, .guide-grid, .platforms { grid-template-columns: 1fr; gap: 12px; }
  .service-card { min-height: 175px; }
  .service-card img { object-position: center 41%; }
  .service-copy, .guide-card, .platform { padding: 18px; }
  .service-copy h3, .guide-card h3 { font-size: 21px; }
  .download-section { padding-bottom: 30px; }
  .availability { margin-top: 10px; padding-bottom: 0; }
  .footer { align-items: flex-start; flex-direction: column; gap: 0; padding: 19px 0 9px; }
}
