:root {
  color-scheme: light;
  --blue-50: #eef9ff;
  --blue-100: #d9f2ff;
  --blue-300: #7bd1fb;
  --blue-500: #30a9ed;
  --blue-600: #168fd4;
  --blue-700: #0d70b1;
  --ink: #172432;
  --muted: #67798b;
  --line: #e5eef4;
  --surface: #ffffff;
  --page: #f7fbfd;
  --shadow: 0 20px 55px rgba(31, 100, 140, 0.12);
  font-family:
    Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.site-header {
  position: relative;
  height: 258px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(16, 126, 199, 0.15), transparent 52%),
    linear-gradient(110deg, #29a4ec 0%, #53bdf1 55%, #68c8f0 100%);
}

.nav-shell {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1100px, calc(100% - 40px));
  height: 74px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #fff;
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(10, 92, 143, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-actions > a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-actions > a:hover {
  color: #fff;
}

.language-switch {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.language-switch button {
  min-width: 44px;
  padding: 6px 10px;
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.75);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.language-switch button.active {
  color: var(--blue-700);
  background: #fff;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
}

.hero-glow-one {
  right: 7%;
  bottom: -170px;
  width: 420px;
  height: 420px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-glow-two {
  top: -180px;
  left: 12%;
  width: 350px;
  height: 350px;
  background: rgba(255, 255, 255, 0.08);
}

main {
  display: block;
}

.app-hero {
  width: min(830px, calc(100% - 40px));
  margin: -116px auto 0;
  text-align: center;
}

.icon-frame {
  position: relative;
  z-index: 3;
  width: 166px;
  height: 166px;
  margin: 0 auto 30px;
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.icon-frame img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 28px;
}

.eyebrow {
  margin: 0 0 11px;
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-hero h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 66px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 600px;
  margin: 20px auto 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.meta-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  min-height: 35px;
  padding: 7px 13px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #53677a;
  background: #fff;
  font-size: 13px;
  box-shadow: 0 7px 20px rgba(27, 94, 132, 0.05);
}

.pill-blue {
  border-color: #c8ebfd;
  color: var(--blue-700);
  background: var(--blue-50);
}

.pill svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: #26b875;
  box-shadow: 0 0 0 4px rgba(38, 184, 117, 0.11);
}

.download-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-width: 174px;
  min-height: 50px;
  padding: 13px 20px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  box-shadow: 0 13px 26px rgba(27, 150, 216, 0.25);
}

.button-secondary {
  border-color: #cfe9f7;
  color: var(--blue-700);
  background: #fff;
}

.button:not(.disabled):hover {
  transform: translateY(-2px);
}

.button-primary:not(.disabled):hover {
  box-shadow: 0 17px 32px rgba(27, 150, 216, 0.32);
}

.button.disabled {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
}

.download-hint {
  min-height: 22px;
  margin: 13px 0 0;
  color: #8293a2;
  font-size: 12px;
}

.release-card {
  display: grid;
  margin-top: 34px;
  padding: 28px;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 24px;
  text-align: left;
  background: #fff;
  box-shadow: 0 16px 40px rgba(36, 93, 124, 0.07);
}

.release-card[hidden] {
  display: none;
}

.release-label {
  color: var(--blue-600);
  font-size: 12px;
  font-weight: 800;
}

.release-card h2 {
  margin: 7px 0 9px;
  font-size: 23px;
}

.release-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-line;
}

.release-details {
  display: grid;
  margin: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.release-details div {
  padding: 13px 15px;
  border-radius: 14px;
  background: var(--page);
}

.release-details .checksum {
  grid-column: 1 / -1;
}

.release-details dt {
  margin-bottom: 5px;
  color: #8697a5;
  font-size: 11px;
}

.release-details dd {
  margin: 0;
  color: #32475a;
  font-size: 13px;
  font-weight: 700;
}

.checksum dd {
  overflow: hidden;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  text-overflow: ellipsis;
}

.feature-section,
.notice-section {
  width: min(1040px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.feature-section {
  padding: 106px 0 82px;
}

.section-heading {
  text-align: center;
}

.section-heading h2,
.notice-section h2 {
  margin: 0;
  font-size: clamp(28px, 5vw, 38px);
  letter-spacing: -0.03em;
}

.feature-grid {
  display: grid;
  margin-top: 35px;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(35, 90, 121, 0.055);
}

.feature-icon {
  display: grid;
  width: 45px;
  height: 45px;
  place-items: center;
  border-radius: 14px;
  color: var(--blue-600);
  background: var(--blue-50);
}

.feature-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-card h3 {
  margin: 19px 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.notice-section {
  display: grid;
  margin-bottom: 82px;
  padding: 34px;
  grid-template-columns: auto 1fr;
  gap: 22px;
  border: 1px solid #cdeaf9;
  border-radius: 25px;
  background: linear-gradient(135deg, #f0faff, #fff);
}

.notice-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue-500);
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
}

.notice-section h2 {
  font-size: 26px;
}

.notice-section p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.85;
}

.notice-section .ota-note {
  font-size: 12px;
}

footer {
  display: flex;
  width: min(1040px, calc(100% - 40px));
  min-height: 75px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #8495a4;
  font-size: 12px;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  color: var(--blue-600);
}

@media (max-width: 720px) {
  .site-header {
    height: 205px;
  }

  .nav-shell {
    width: min(100% - 28px, 1100px);
  }

  .nav-actions {
    gap: 13px;
  }

  .nav-actions > a {
    display: none;
  }

  .app-hero {
    width: calc(100% - 28px);
    margin-top: -83px;
  }

  .icon-frame {
    width: 132px;
    height: 132px;
    margin-bottom: 26px;
    padding: 10px;
    border-radius: 31px;
  }

  .icon-frame img {
    border-radius: 23px;
  }

  .hero-copy {
    font-size: 15px;
  }

  .download-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .release-card {
    padding: 22px;
    grid-template-columns: 1fr;
  }

  .feature-section {
    width: calc(100% - 28px);
    padding: 82px 0 62px;
  }

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

  .notice-section {
    width: calc(100% - 28px);
    margin-bottom: 58px;
    padding: 25px;
    grid-template-columns: 1fr;
  }

  footer {
    width: calc(100% - 28px);
    padding: 20px 0;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
  }
}
