:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #111827;
  --muted: #5d6678;
  --line: #dbe3ef;
  --primary: #246bfe;
  --primary-strong: #1453d9;
  --accent: #00a884;
  --dark: #0b1220;
  --shadow: 0 18px 50px rgba(16, 32, 64, 0.12);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -56px;
  z-index: 100;
  border-radius: 6px;
  background: var(--dark);
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(219, 227, 239, 0.84);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.nav-shell,
.container {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #2e3748;
  font-size: 15px;
  font-weight: 600;
}

.nav-menu a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--primary);
}

.nav-cta {
  border: 1px solid rgba(36, 107, 254, 0.2);
  border-radius: 8px;
  background: #eef4ff;
  color: var(--primary) !important;
  padding: 0 16px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 4px;
  background: var(--text);
}

.nav-toggle span:nth-child(1) {
  transform: translateY(-6px);
}

.nav-toggle span:nth-child(3) {
  transform: translateY(6px);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100dvh - 72px);
  background-image: linear-gradient(90deg, rgba(246, 248, 251, 0.98) 0%, rgba(246, 248, 251, 0.9) 46%, rgba(238, 244, 255, 0.66) 100%), url("/assets/hero-background.png");
  background-size: cover;
  background-position: center;
}

.hero-grid {
  display: grid;
  min-height: calc(100dvh - 72px);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 48px;
  padding: 56px 0 64px;
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
}

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

h1 {
  margin-bottom: 22px;
  color: #08111f;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 16px;
  color: #101827;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.18;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.3;
}

.hero-lede,
.section-heading p,
.section-text {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0 22px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

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

.button-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 26px rgba(36, 107, 254, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--primary-strong);
}

.button-hero-download {
  min-width: 248px;
  min-height: 68px;
  padding: 0 32px;
  font-size: 20px;
  box-shadow: 0 18px 34px rgba(36, 107, 254, 0.28);
}

.button-hero-download svg {
  width: 24px;
  height: 24px;
}

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: #172033;
}

.button-dark {
  background: #05070c;
  color: #fff;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 36px 0 0;
}

.hero-stats div {
  border-left: 3px solid var(--primary);
  padding-left: 14px;
}

.hero-stats dt {
  color: var(--dark);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.1;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-media img {
  width: min(100%, 560px);
  aspect-ratio: 1120 / 1060;
  object-fit: contain;
  filter: drop-shadow(0 28px 35px rgba(30, 64, 120, 0.16));
}

.section {
  padding: 92px 0;
  background: var(--surface);
}

.band {
  background: #f2f6fc;
}

.section-heading {
  width: min(100%, 760px);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0;
  text-align: left;
}

.feature-grid,
.download-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.download-card,
.compact-list div,
.benefit-grid div,
details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 8px 28px rgba(16, 32, 64, 0.06);
}

.feature-card,
.download-card {
  padding: 28px;
}

.feature-card svg {
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  fill: var(--primary);
}

.feature-card p,
.download-card p,
.benefit-grid span,
.compact-list span,
details p {
  color: var(--muted);
}

.split,
.security-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 18px;
  border-bottom: 1px solid var(--line);
  padding: 0 0 18px;
}

.steps span {
  grid-row: span 2;
  color: var(--primary);
  font-weight: 900;
}

.steps strong {
  font-size: 19px;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

.compact-list {
  display: grid;
  gap: 14px;
}

.compact-list div,
.benefit-grid div {
  padding: 24px;
}

.compact-list strong,
.compact-list span,
.benefit-grid strong,
.benefit-grid span {
  display: block;
}

.compact-list strong,
.benefit-grid strong {
  margin-bottom: 8px;
  color: var(--text);
}

.cta-section {
  background: var(--dark);
  color: #fff;
}

.cta-section h2,
.cta-section .eyebrow {
  color: #fff;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-inner h2 {
  margin-bottom: 0;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.feature-pills span {
  border: 1px solid rgba(36, 107, 254, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #174cc6;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
}

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

.download-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
}

.download-card .button {
  width: 100%;
  margin-top: auto;
}

.primary-download {
  border-color: rgba(36, 107, 254, 0.32);
  background: linear-gradient(180deg, #f9fbff, #eef4ff);
}

.platform-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 8px;
  background: #eef4ff;
  color: var(--primary);
  margin-bottom: 18px;
}

.platform-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.benefit-grid div {
  min-height: 150px;
}

.faq-shell {
  width: min(100% - 40px, 860px);
}

details {
  padding: 0;
  margin-bottom: 14px;
}

summary {
  min-height: 58px;
  cursor: pointer;
  padding: 18px 22px;
  color: var(--text);
  font-weight: 800;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
}

.site-footer {
  background: #e9eef6;
  padding: 40px 0 20px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 12px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 22px;
}

.footer-links a {
  color: #24314a;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}

.copyright {
  margin-top: 26px !important;
  text-align: center;
  font-size: 14px;
}

:focus-visible {
  outline: 3px solid rgba(36, 107, 254, 0.36);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .security-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 16px;
    padding-top: 42px;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    width: min(100%, 430px);
  }

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

@media (max-width: 760px) {
  .nav-shell,
  .container,
  .faq-shell {
    width: min(100% - 32px, var(--container));
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
  }

  .nav-menu {
    position: absolute;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow);
  }

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

  .nav-menu a {
    padding: 0 12px;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    min-height: auto;
    padding: 34px 0 56px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-lede,
  .section-heading p,
  .section-text {
    font-size: 16px;
  }

  .hero-actions,
  .cta-inner,
  .footer-grid {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .hero-stats,
  .feature-grid,
  .download-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading,
  .section-heading.align-left {
    margin-bottom: 28px;
    text-align: left;
  }

  .feature-card,
  .download-card,
  .compact-list div,
  .benefit-grid div {
    padding: 22px;
  }

  .download-card {
    min-height: 0;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 34px;
  }

  .hero-stats dt {
    font-size: 23px;
  }
}
