:root {
  color-scheme: light;
  --ink: #101936;
  --muted: #5f6f91;
  --subtle: #e6edf9;
  --panel: rgba(255, 255, 255, 0.78);
  --blue: #1f6fff;
  --blue-dark: #0d4ed8;
  --cyan: #37b7e5;
  --green: #18b66a;
  --shadow: 0 24px 70px rgba(30, 78, 160, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  min-width: 320px;
  font-family:
    ui-sans-serif,
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Display",
    "SF Pro Text",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 8%, rgba(72, 141, 255, 0.2), transparent 36%),
    linear-gradient(180deg, #f6f9ff 0%, #eef5ff 48%, #ffffff 100%);
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-actions,
.download-actions,
.hero-meta,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.nav-links {
  gap: 28px;
  color: #425174;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a {
  transition: color 160ms ease;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-download {
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid rgba(31, 111, 255, 0.2);
  border-radius: 8px;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 760;
  box-shadow: 0 10px 28px rgba(31, 111, 255, 0.08);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  gap: 42px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 76px auto 0;
  min-height: min(720px, calc(100svh - 132px));
}

.hero-copy {
  padding-bottom: 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 850;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-size: clamp(44px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-text {
  max-width: 580px;
  margin-bottom: 32px;
  color: #374765;
  font-size: 19px;
  line-height: 1.85;
}

.hero-actions,
.download-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 820;
  line-height: 1.2;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 18px 34px rgba(31, 111, 255, 0.3);
}

.button.secondary,
.button.ghost {
  color: #172445;
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(108, 132, 176, 0.24);
}

.button.secondary:hover,
.button.ghost:hover {
  border-color: rgba(31, 111, 255, 0.42);
  box-shadow: 0 16px 34px rgba(31, 111, 255, 0.1);
}

.button-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  font-weight: 900;
}

.hero-meta {
  gap: 22px;
  flex-wrap: wrap;
  margin: 34px 0 0;
}

.hero-meta div {
  min-width: 116px;
  padding: 14px 16px;
  border: 1px solid rgba(135, 159, 203, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.58);
}

.hero-meta dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.hero-meta dd {
  margin: 0;
  font-size: 18px;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  min-width: 0;
  margin-right: min(-70px, -4vw);
}

.hero-visual img {
  width: min(760px, 100%);
  margin-left: auto;
  border-radius: 18px;
  filter: drop-shadow(0 34px 42px rgba(21, 55, 113, 0.2));
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: 30px auto 96px;
  overflow: hidden;
  border: 1px solid rgba(123, 152, 205, 0.22);
  border-radius: 8px;
  background: rgba(148, 172, 211, 0.2);
  box-shadow: var(--shadow);
}

.feature-strip div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 4px 14px;
  align-items: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.line-icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-size: 20px;
  font-weight: 900;
}

.feature-strip strong {
  font-size: 17px;
}

.feature-strip span:last-child {
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 96px;
  scroll-margin-top: 96px;
}

.section-heading {
  max-width: 620px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-heading p:last-child,
.download-panel p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.feature-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid rgba(128, 154, 199, 0.22);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 44px rgba(32, 68, 126, 0.08);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--blue);
  background: #edf4ff;
  font-weight: 900;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
  letter-spacing: 0;
}

.feature-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.privacy-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 42px;
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 96px;
  scroll-margin-top: 96px;
}

.privacy-panel .section-heading {
  margin-bottom: 0;
}

.privacy-panel .section-heading p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.privacy-grid {
  display: grid;
  gap: 12px;
}

.privacy-grid div {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(128, 154, 199, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(32, 68, 126, 0.07);
}

.privacy-grid strong {
  font-size: 18px;
}

.privacy-grid span {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.download-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 54px;
  padding: 40px;
  scroll-margin-top: 96px;
  border: 1px solid rgba(117, 150, 209, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(232, 242, 255, 0.84)),
    #fff;
  box-shadow: var(--shadow);
}

.download-panel p {
  max-width: 720px;
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.8;
}

.site-footer {
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 40px;
  color: #667592;
  font-size: 14px;
}

.site-footer span:first-child {
  color: var(--ink);
  font-weight: 850;
}

@media (max-width: 980px) {
  .site-header {
    width: min(720px, calc(100% - 28px));
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    width: min(720px, calc(100% - 28px));
    min-height: 0;
    margin-top: 42px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-visual {
    margin-right: 0;
  }

  .hero-visual img {
    width: 100%;
  }

  .feature-strip,
  .feature-grid,
  .privacy-panel,
  .download-panel {
    width: min(720px, calc(100% - 28px));
  }

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

  .privacy-panel,
  .download-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 0;
  }

  .brand span {
    display: none;
  }

  .nav-download {
    min-height: 38px;
    padding: 9px 12px;
  }

  .hero {
    gap: 28px;
    margin-top: 28px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 17px;
    line-height: 1.76;
  }

  .hero-actions .button,
  .download-actions .button {
    width: 100%;
  }

  .hero-meta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .feature-strip {
    margin-bottom: 72px;
  }

  .section {
    width: min(720px, calc(100% - 28px));
    margin-bottom: 72px;
  }

  .feature-grid article {
    min-height: 0;
  }

  .download-panel {
    padding: 26px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    width: min(720px, calc(100% - 28px));
  }
}
