:root {
  --ink: #3f414b;
  --ink-strong: #1d2230;
  --muted: #656b7a;
  --blue: #0f5db1;
  --blue-deep: #0b4a8f;
  --teal: #1fb393;
  --teal-deep: #0b7a63;
  --teal-mid: #127f68;
  --paper: #ffffff;
  --tint: #f4f7fb;
  --tint-2: #eef3f9;
  --line: #dfe6ef;
  --shadow: 0 18px 48px -24px rgba(12, 32, 61, 0.35);
  --radius: 14px;
  --radius-sm: 8px;
  --wrap: 1120px;
  --font: "Segoe UI", "Microsoft YaHei", "PingFang SC", Geneva, Arial, Helvetica, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink-strong);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--blue);
  color: #fff;
  border-radius: 0 0 8px 8px;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 74px;
}

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

.brand__logo {
  display: block;
  width: 110px;
  height: 44px;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 6px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.primary-nav a:hover {
  color: var(--blue);
  text-decoration: none;
}

.primary-nav a:hover::after {
  transform: scaleX(1);
}

.header__os {
  flex: 0 0 auto;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink-strong);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #131a2c;
  color: #fff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 100% at 50% 0%, rgba(8, 15, 33, 0.18) 0%, rgba(8, 15, 33, 0.72) 78%),
    linear-gradient(180deg, rgba(9, 16, 34, 0.5) 0%, rgba(9, 16, 34, 0.72) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 84px;
  padding-bottom: 88px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #bfe9dd;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__eyebrow::before,
.hero__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(191, 233, 221, 0.6);
}

.hero__title {
  max-width: 900px;
  color: #fff;
  font-size: clamp(2.25rem, 4.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero__lede {
  max-width: 760px;
  margin-top: 22px;
  color: #e3e9f4;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
}

.hero__secondary {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero__secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  text-decoration: none;
}

.hero__note {
  margin-top: 24px;
  color: #c8d3e6;
  font-size: 13.5px;
  letter-spacing: 0.02em;
}

/* Primary download CTA */
[data-node-id="download.primary"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--teal-deep) 0%, var(--teal-mid) 100%);
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  box-shadow: 0 18px 44px -14px rgba(11, 122, 99, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  animation: download-cta-glow 3.4s ease-in-out infinite;
}

[data-node-id="download.primary"] svg {
  flex: 0 0 auto;
}

[data-node-id="download.primary"]:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 26px 56px -14px rgba(11, 122, 99, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  text-decoration: none;
}

[data-node-id="download.primary"]:active {
  transform: translateY(0) scale(0.99);
}

[data-node-id="download.primary"]:focus-visible {
  outline: 3px solid #7fe3cb;
  outline-offset: 3px;
}

@keyframes download-cta-glow {
  0%,
  100% {
    box-shadow: 0 18px 44px -14px rgba(11, 122, 99, 0.62), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
  50% {
    box-shadow: 0 22px 58px -10px rgba(23, 170, 137, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}


/* Facts strip */
.facts {
  background: var(--tint);
  border-bottom: 1px solid var(--line);
}

.facts__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  padding-top: 26px;
  padding-bottom: 26px;
}

.fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 16px;
  text-align: center;
  border-right: 1px solid #d9e1ec;
}

.fact:last-child {
  border-right: 0;
}

.fact strong {
  color: var(--blue);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

.fact span {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.03em;
}

/* Feature rows */
.feature {
  padding: 76px 0;
}

.feature + .feature {
  border-top: 1px solid #eef2f7;
}

.feature--lead {
  padding-top: 96px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 64px;
}

.split--reverse .split__copy {
  order: 2;
}

.split--reverse .split__media {
  order: 1;
}

.split__copy {
  max-width: 520px;
}

.kicker {
  margin-bottom: 12px;
  color: var(--teal-deep);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.split__copy h2,
.awards__head h2,
.faq__head h2,
.trial h2,
.update h2 {
  color: var(--ink-strong);
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.3;
}

.split__lede {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.checks li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.checks--browsers li {
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

.checks--browsers li::before {
  display: none;
}

.split__media {
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, var(--tint) 100%);
  box-shadow: var(--shadow);
}

.split__media img {
  display: block;
  width: 100%;
  border-radius: 10px;
  border: 1px solid #e6ebf3;
  background: #fff;
}

/* Trial */
.trial {
  position: relative;
  padding: 66px 0;
  background: url("assets/trial-bg.jpg") center / cover no-repeat, var(--tint);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trial::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.66);
}

.trial__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.trial__copy {
  max-width: 700px;
}

.trial__copy p {
  margin-top: 14px;
  color: var(--ink);
  font-size: 16px;
}

.trial__os {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.trial__os img {
  height: 34px;
  width: auto;
  border-radius: 4px;
}

.trial__link,
.update__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.trial__link span,
.update__link span {
  transition: transform 0.2s ease;
}

.trial__link:hover span,
.update__link:hover span {
  transform: translateX(4px);
}

/* Update band */
.update {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  color: #fff;
  background: #10203c;
}

.update__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.update__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 18, 38, 0.92) 0%, rgba(8, 18, 38, 0.62) 60%, rgba(8, 18, 38, 0.38) 100%);
}

.update__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin-left: 0;
}

.update__label {
  margin-bottom: 12px;
  color: #8fe0cf;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.update h2 {
  color: #fff;
}

.update p {
  margin-top: 16px;
  color: #d7e2f2;
  font-size: 16px;
  line-height: 1.8;
}

.update__link {
  margin-top: 22px;
  color: #9fe9da;
}

/* Awards */
.awards {
  padding: 82px 0;
  background: var(--paper);
}

.awards__head {
  max-width: 680px;
}

.awards__head p {
  margin-top: 14px;
  color: var(--muted);
}

.awards__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}

.awards__grid li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 132px;
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--tint);
  text-align: center;
}

.awards__grid img {
  max-height: 44px;
  width: auto;
  filter: saturate(0.9);
}

.awards__grid span {
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* FAQ */
.faq {
  padding: 86px 0 96px;
  background: var(--tint);
  border-top: 1px solid var(--line);
}

.faq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
}

.faq__head p {
  margin-top: 16px;
  color: var(--muted);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 26px -22px rgba(12, 32, 61, 0.5);
}

.faq__item summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  color: var(--ink-strong);
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.faq__item[open] summary::after {
  content: "−";
}

.faq__item p {
  padding: 0 20px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* Footer */
.site-footer {
  padding-top: 62px;
  background: #0f1726;
  color: #c2ccdc;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.6fr));
  gap: 40px;
  padding-bottom: 46px;
}

.footer__brand img {
  width: 118px;
  height: 47px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
}

.footer__brand p {
  margin-top: 16px;
  max-width: 300px;
  color: #93a1b6;
  font-size: 14px;
  line-height: 1.7;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer__col h3 {
  margin: 6px 0 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer__col a {
  color: #a9b6c9;
  font-size: 14px;
}

.footer__col a:hover {
  color: #8fe0cf;
  text-decoration: none;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: #8492a7;
  font-size: 13px;
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  color: #a9b6c9;
  font-size: 13px;
}

.footer__platform {
  color: #6f7d92;
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1024px) {
  .header__inner {
    gap: 20px;
  }

  .header__os {
    display: none;
  }

  .primary-nav {
    gap: 18px;
  }

  .split {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .primary-nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 74px;
    z-index: 55;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 24px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -20px rgba(12, 32, 61, 0.4);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 13px 4px;
    border-bottom: 1px solid #eef2f7;
    font-size: 15px;
  }

  .primary-nav a::after {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .split,
  .faq__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  .split--reverse .split__copy {
    order: 1;
  }

  .split--reverse .split__media {
    order: 2;
  }

  .split__copy {
    max-width: none;
  }

  .awards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wrap {
    padding: 0 18px;
  }

  .header__inner {
    min-height: 64px;
  }

  .brand__logo {
    width: 96px;
    height: 38px;
  }

  .primary-nav {
    top: 64px;
  }

  .hero__inner {
    padding-top: 56px;
    padding-bottom: 62px;
  }

  .hero__title {
    font-size: 2.1rem;
  }

  .hero__lede {
    font-size: 15.5px;
  }

  .hero__actions {
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-top: 28px;
  }

  [data-node-id="download.primary"] {
    width: 100%;
    min-height: 56px;
    padding: 0 24px;
    font-size: 1.0625rem;
    border-radius: 10px;
  }

  .hero__secondary {
    width: 100%;
    justify-content: center;
    min-height: 50px;
    font-size: 15px;
  }

  .hero__note {
    font-size: 12.5px;
  }

  .facts__grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }

  .fact {
    border-right: 0;
    padding: 10px 8px;
  }

  .fact strong {
    font-size: 1.45rem;
  }

  .feature {
    padding: 52px 0;
  }

  .feature--lead {
    padding-top: 58px;
  }

  .split__copy h2,
  .awards__head h2,
  .faq__head h2,
  .trial h2,
  .update h2 {
    font-size: 1.55rem;
  }

  .split__lede,
  .trial__copy p,
  .update p {
    font-size: 15px;
  }

  .split__media {
    padding: 10px;
  }

  .trial {
    padding: 46px 0;
  }

  .trial__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .update {
    padding: 58px 0;
  }

  .awards {
    padding: 56px 0;
  }

  .awards__grid {
    gap: 12px;
  }

  .awards__grid li {
    min-height: 112px;
    padding: 14px 10px;
  }

  .faq {
    padding: 56px 0 64px;
  }

  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding-bottom: 34px;
  }

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-bottom: 28px;
  }

  .footer__legal {
    flex-wrap: wrap;
    gap: 14px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-node-id="download.primary"] {
    animation: none;
    transition: none;
  }

}

.site-header.is-scrolled {
  box-shadow: 0 10px 26px -20px rgba(12, 32, 61, 0.45);
}
