:root {
  color: #141923;
  background: #f2f4f7;
  font-family:
    Inter, "Microsoft YaHei", "PingFang SC", system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: #f2f4f7;
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  height: 72px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dce1e8;
  background: rgba(255, 255, 255, 0.96);
}

.brand {
  display: flex;
  gap: 11px;
  align-items: center;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
}

.brand small {
  margin-top: 3px;
  color: #77808f;
  font-size: 10px;
}

.header-link {
  padding: 10px 2px;
  color: #313947;
  border-bottom: 2px solid #2678d9;
  font-size: 13px;
  font-weight: 700;
}

.hero {
  position: relative;
  height: calc(100svh - 140px);
  min-height: 430px;
  max-height: 680px;
  overflow: hidden;
  color: #fff;
  background: #070b13;
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  opacity: 0.62;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(3, 6, 12, 0.28);
  pointer-events: none;
}

.hero-copy {
  position: absolute;
  z-index: 1;
  right: max(24px, calc((100% - 1180px) / 2));
  bottom: 54px;
  left: max(24px, calc((100% - 1180px) / 2));
  max-width: 680px;
  text-shadow: 0 2px 14px #000;
}

.eyebrow,
.section-heading > span,
.release-notes span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: #74bfff;
}

h1 {
  margin: 10px 0 12px;
  font-size: 52px;
  line-height: 1.08;
}

.hero-copy p {
  max-width: 590px;
  margin: 0;
  color: #e3e9f2;
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 25px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button,
.download-button {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 800;
}

.button-primary {
  color: #fff;
  background: #1670d2;
  box-shadow: 0 8px 24px rgba(10, 65, 130, 0.34);
}

.button-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(6, 10, 18, 0.78);
}

.button:hover,
.download-button:hover {
  transform: translateY(-1px);
}

.downloads {
  padding: 70px max(24px, calc((100% - 1180px) / 2)) 78px;
  background: #f2f4f7;
}

.section-heading {
  max-width: 650px;
}

.section-heading > span {
  color: #187143;
}

.section-heading h2,
.release-notes h2 {
  margin: 8px 0 10px;
  font-size: 31px;
}

.section-heading p {
  margin: 0;
  color: #657080;
  font-size: 14px;
  line-height: 1.7;
}

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

.platform-card {
  min-width: 0;
  padding: 26px;
  border: 1px solid #d8dde5;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(28, 36, 49, 0.07);
}

.platform-card-android {
  border-top: 3px solid #198754;
}

.platform-card-windows {
  border-top: 3px solid #1670d2;
}

.platform-heading {
  display: flex;
  gap: 16px;
  align-items: center;
}

.platform-index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  color: #717b89;
  border: 1px solid #d6dce4;
  font-size: 12px;
  font-weight: 800;
}

.platform-heading h3,
.platform-heading p {
  margin: 0;
}

.platform-heading h3 {
  font-size: 22px;
}

.platform-heading p {
  margin-top: 4px;
  color: #76808f;
  font-size: 12px;
}

dl {
  margin: 25px 0 20px;
  border-top: 1px solid #e2e6ec;
}

dl > div {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e6ec;
}

dt,
dd {
  margin: 0;
  font-size: 12px;
}

dt {
  color: #7c8695;
}

dd {
  color: #29313d;
  font-weight: 700;
}

.download-button {
  width: 100%;
  color: #fff;
  background: #202733;
}

.platform-card-android .download-button {
  background: #187143;
}

.platform-card > small {
  margin-top: 11px;
  display: block;
  color: #858e9b;
  font-size: 10px;
  line-height: 1.6;
}

.release-notes {
  padding: 34px max(24px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 45px;
  align-items: center;
  color: #fff;
  background: #161b24;
}

.release-notes span {
  color: #74bfff;
}

.release-notes h2 {
  margin-bottom: 0;
}

.release-notes p {
  margin: 0;
  color: #c4cbd6;
  font-size: 14px;
  line-height: 1.8;
}

footer {
  min-height: 58px;
  padding: 0 max(24px, calc((100% - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6e7785;
  background: #0d1118;
  font-size: 10px;
}

@media (max-width: 700px) {
  .site-header {
    height: 62px;
    padding: 0 16px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand strong {
    font-size: 12px;
  }

  .header-link {
    font-size: 11px;
  }

  .hero {
    height: calc(100svh - 118px);
    min-height: 470px;
  }

  .hero-media {
    object-position: 42% top;
  }

  .hero-copy {
    right: 18px;
    bottom: 28px;
    left: 18px;
  }

  h1 {
    font-size: 35px;
  }

  .hero-copy p {
    font-size: 14px;
  }

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

  .button {
    width: 100%;
  }

  .downloads {
    padding: 48px 16px 54px;
  }

  .section-heading h2,
  .release-notes h2 {
    font-size: 25px;
  }

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

  .platform-card {
    padding: 20px;
  }

  .release-notes {
    padding: 30px 18px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  footer {
    padding: 15px 18px;
    gap: 8px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button:hover,
  .download-button:hover {
    transform: none;
  }
}
