:root {
  --bg: #edf4f9;
  --card: rgba(255, 255, 255, 0.84);
  --line: rgba(158, 186, 210, 0.38);
  --navy: #0f2d4f;
  --navy-2: #183f6a;
  --text: #15395e;
  --muted: #6c859c;
  --blue: #2491ff;
  --green: #26b56f;
  --orange: #ff9950;
  --violet: #6472ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #edf4f9;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

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

.page-shell {
  width: min(1240px, calc(100vw - 32px));
  margin: 16px auto 48px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(206, 224, 239, 0.9);
  border-radius: 22px;
  box-shadow: 0 20px 40px rgba(55, 102, 146, 0.08);
}

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

.brand-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand > span {
  display: grid;
  gap: 2px;
}

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

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 24px;
  color: #6f889f;
  font-size: 14px;
}

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

.nav-cta,
.btn {
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
}

.nav-cta {
  min-width: 132px;
  color: #fff;
  background: linear-gradient(135deg, #2491ff, #63b8ff);
  box-shadow: 0 12px 24px rgba(36, 145, 255, 0.18);
}

.is-disabled,
.btn-disabled {
  color: #7d8fa1;
  background: #e7eef5;
  border-color: rgba(158, 186, 210, 0.5);
  box-shadow: none;
  cursor: not-allowed;
}

.hero {
  position: relative;
  min-height: 656px;
  margin-top: 18px;
  padding: 44px;
  border-radius: 34px;
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(640px, 1.26fr);
  align-items: center;
  gap: 34px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(140deg, #0c2948 0%, #183f6a 100%);
  box-shadow: 0 36px 72px rgba(16, 47, 82, 0.18);
}

.hero-copy,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-wordmark {
  width: min(100%, 460px);
  margin: 0 0 18px 4px;
  display: block;
}

.eyebrow,
.section-title p {
  margin: 0 0 12px;
  color: #8fc2f4;
  font-size: 13px;
  font-weight: 700;
}

.hero h1 {
  max-width: 420px;
  margin: 0;
  color: #fff;
  font-size: 50px;
  line-height: 1.08;
}

.hero-text {
  max-width: 400px;
  margin: 24px 0 0;
  color: #d6e6f7;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2491ff, #68bbff);
  box-shadow: 0 14px 28px rgba(36, 145, 255, 0.2);
}

.btn-secondary {
  color: #d9ebfb;
  border-color: rgba(132, 180, 228, 0.58);
  background: rgba(255, 255, 255, 0.04);
}

.hero-badges {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}

.hero-badges li {
  padding: 10px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(129, 176, 221, 0.32);
  border-radius: 999px;
  font-size: 13px;
}

.hero-panel {
  padding-left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-shell {
  width: 100%;
  max-width: 940px;
}

.window {
  width: 100%;
  overflow: hidden;
  background: #f5faff;
  border: 1px solid rgba(196, 221, 243, 0.55);
  border-radius: 28px;
  box-shadow: 0 28px 54px rgba(4, 20, 35, 0.18);
}

.window-screen {
  width: 100%;
  aspect-ratio: 1229 / 768;
  overflow: hidden;
  background: #fff;
}

.window-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.preview-meta {
  margin-top: 16px;
  padding: 0 4px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.preview-label {
  margin-bottom: 6px;
  display: block;
  color: #8fb9e4;
  font-size: 11px;
}

.preview-meta strong {
  color: #fff;
  font-size: 26px;
}

.preview-meta p {
  max-width: 340px;
  margin: 0;
  color: #cce0f4;
  font-size: 14px;
  line-height: 1.7;
}

.preview-switcher {
  margin-top: 18px;
  padding: 0 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.preview-tab {
  min-height: 42px;
  padding: 0 18px;
  color: #dcecff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(137, 182, 224, 0.32);
  border-radius: 999px;
  font: inherit;
  cursor: pointer;
}

.preview-tab:hover,
.preview-tab:focus-visible,
.preview-tab.is-active {
  background: rgba(36, 145, 255, 0.18);
  border-color: rgba(102, 183, 255, 0.65);
}

.features,
.downloads {
  margin-top: 34px;
}

.section-title h2 {
  max-width: 680px;
  margin: 0;
  font-size: 38px;
  line-height: 1.15;
}

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

.feature-card,
.download-card {
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
}

.feature-card h3,
.download-card h3 {
  margin: 16px 0 10px;
  font-size: 20px;
}

.feature-card p,
.download-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.icon {
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  display: inline-block;
  border-radius: 14px;
}

.blue {
  background: linear-gradient(135deg, #2491ff, #70c0ff);
}

.green {
  background: linear-gradient(135deg, #26b56f, #74d7a0);
}

.violet {
  background: linear-gradient(135deg, #6472ff, #9ea8ff);
}

.downloads {
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(145deg, #102f52, #183f6a);
  box-shadow: 0 28px 62px rgba(16, 47, 82, 0.16);
}

.section-title.light h2 {
  color: #fff;
}

.download-grid {
  margin-top: 24px;
}

.pill {
  padding: 8px 12px;
  display: inline-block;
  color: var(--blue);
  background: rgba(36, 145, 255, 0.12);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.pill.green {
  color: var(--green);
  background: rgba(38, 181, 111, 0.14);
}

.pill.orange {
  color: #d56b25;
  background: rgba(255, 153, 80, 0.14);
}

.download-card .btn {
  width: fit-content;
  margin-top: 18px;
}

.site-footer {
  margin-top: 28px;
  padding: 20px 8px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.site-footer-brand,
.site-filing {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 12px;
  text-align: center;
}

.site-filing {
  width: 100%;
  padding-top: 16px;
  border-top: 1px solid rgba(158, 186, 210, 0.38);
}

.site-filing a {
  color: var(--muted);
}

.site-filing a:hover,
.site-filing a:focus-visible {
  color: var(--blue);
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .hero,
  .feature-grid,
  .download-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
    padding: 28px;
  }

  .preview-shell {
    max-width: 100%;
  }

  .preview-meta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 840px) {
  .page-shell {
    width: min(100vw - 16px, 1240px);
    margin-top: 8px;
  }

  .topbar {
    position: static;
    padding: 12px 14px;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    padding-top: 10px;
    overflow-x: auto;
    border-top: 1px solid rgba(206, 224, 239, 0.9);
    white-space: nowrap;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero-panel {
    padding-left: 0;
  }
}

@media (max-width: 520px) {
  .topbar {
    border-radius: 16px;
  }

  .brand small,
  .nav-cta {
    display: none;
  }

  .nav {
    justify-content: space-between;
    gap: 16px;
  }

  .hero {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .hero-wordmark {
    max-width: 280px;
  }

  .hero h1 {
    font-size: 36px;
  }

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

  .window {
    border-radius: 18px;
  }

  .preview-meta strong {
    font-size: 22px;
  }

  .preview-switcher {
    padding: 0;
    justify-content: flex-start;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .feature-card,
  .download-card {
    padding: 22px;
    border-radius: 22px;
  }

  .downloads {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .site-filing {
    gap: 8px;
  }
}
