* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #18202f;
  background: #f7f7f2;
  font-family: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  line-height: 1.65;
}

body.modal-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 30;
  padding: 10px 14px;
  background: #1d4ed8;
  color: #fbfbf4;
}

.skip-link:focus {
  left: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 247, 242, 0.94);
  border-bottom: 1px solid rgba(29, 78, 216, 0.16);
  backdrop-filter: blur(14px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  letter-spacing: 0;
  color: #10204e;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: contain;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #ccd4e8;
  background: #fbfbf4;
  color: #10204e;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #39435a;
  font-size: 15px;
}

.site-nav a {
  padding: 9px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: #1d4ed8;
  border-color: #fde047;
}

.download-btn,
.ghost-btn,
.text-btn {
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  color: #10204e;
  background: #fde047;
  box-shadow: 0 12px 24px rgba(253, 224, 71, 0.34);
}

.download-btn:hover {
  background: #facc15;
}

.download-btn.blue {
  color: #fbfbf4;
  background: #1d4ed8;
  box-shadow: 0 14px 26px rgba(29, 78, 216, 0.26);
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  color: #1d4ed8;
  background: transparent;
  border: 1px solid rgba(29, 78, 216, 0.32);
}

.text-btn {
  color: #1d4ed8;
  background: transparent;
  padding: 0;
}

.section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(58px, 8vw, 104px) 0;
}

.section.tight {
  padding: clamp(42px, 6vw, 72px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 900;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 8px;
  background: #fde047;
}

.hero {
  min-height: calc(100vh - 74px);
  background: #fde047;
  overflow: hidden;
}

.hero-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: clamp(28px, 6vw, 76px);
  padding: clamp(48px, 8vw, 86px) 0;
}

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

.hero h1,
.page-hero h1 {
  margin: 18px 0 18px;
  color: #10204e;
  font-size: clamp(42px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 62ch;
  color: #293247;
  font-size: clamp(17px, 2vw, 21px);
}

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

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
}

.trust-row strong {
  display: block;
  color: #10204e;
  font-size: 22px;
  line-height: 1.1;
}

.trust-row span {
  color: #48546c;
  font-size: 13px;
}

.studio-panel {
  position: relative;
  min-height: 520px;
  padding: 28px;
  background: #1d4ed8;
  color: #fbfbf4;
  border-radius: 8px;
  box-shadow: 24px 24px 0 #10204e;
  overflow: hidden;
}

.studio-panel::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 1px solid rgba(253, 224, 71, 0.42);
  border-radius: 6px;
}

.logo-orbit {
  position: relative;
  z-index: 1;
  width: 176px;
  height: 176px;
  margin: 8px auto 34px;
  display: grid;
  place-items: center;
  background: #fbfbf4;
  border-radius: 8px;
}

.logo-orbit img {
  width: 136px;
  height: 136px;
  object-fit: contain;
}

.track-window {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.track {
  min-height: 58px;
  border: 1px solid rgba(251, 251, 244, 0.24);
  background:
    linear-gradient(90deg, rgba(251, 251, 244, 0.12) 1px, transparent 1px) 0 0 / 32px 100%,
    rgba(16, 32, 78, 0.34);
  overflow: hidden;
}

.track span {
  display: block;
  height: 58px;
  background:
    linear-gradient(90deg, transparent 0 4%, #fde047 4% 7%, transparent 7% 10%, #f97316 10% 12%, transparent 12% 16%, #fde047 16% 19%, transparent 19% 23%, #fbfbf4 23% 25%, transparent 25% 30%, #fde047 30% 34%, transparent 34% 38%, #f97316 38% 43%, transparent 43% 100%);
  clip-path: polygon(0 54%, 5% 12%, 9% 72%, 14% 20%, 19% 84%, 23% 18%, 28% 64%, 33% 9%, 39% 78%, 44% 28%, 49% 70%, 55% 14%, 61% 88%, 67% 24%, 72% 72%, 78% 12%, 83% 82%, 90% 34%, 100% 56%, 100% 100%, 0 100%);
  opacity: 0.94;
}

.transport {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(251, 251, 244, 0.22);
  font-size: 14px;
}

.transport-controls {
  display: flex;
  gap: 8px;
}

.transport-controls i {
  width: 28px;
  height: 28px;
  background: #fde047;
  border-radius: 50%;
}

.split {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.section h2,
.page-hero h1 {
  margin: 12px 0 16px;
}

.section h2 {
  color: #10204e;
  font-size: clamp(30px, 4.7vw, 54px);
  line-height: 1.05;
}

.lead {
  max-width: 64ch;
  color: #48546c;
  font-size: 18px;
}

.feature-list,
.scenario-grid,
.quote-grid,
.download-grid,
.tutorial-grid,
.faq-grid,
.source-list {
  display: grid;
  gap: 18px;
}

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

.feature-item,
.scenario-card,
.quote-card,
.download-card,
.tutorial-card,
.faq-item,
.source-card {
  border: 1px solid rgba(16, 32, 78, 0.14);
  background: #fbfbf4;
  border-radius: 8px;
}

.feature-item {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.feature-item::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 86px;
  height: 86px;
  border: 1px solid rgba(29, 78, 216, 0.1);
  border-radius: 50%;
}

.card-icon {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #1d4ed8;
  background: #fde047;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(16, 32, 78, 0.08);
}

.card-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-item b,
.scenario-card h3,
.download-card h2,
.tutorial-card h2,
.faq-item h2,
.source-card h2 {
  color: #10204e;
}

.feature-item b {
  display: block;
  margin-bottom: 8px;
  font-size: 19px;
}

.feature-item p,
.scenario-card p,
.quote-card p,
.download-card p,
.tutorial-card p,
.faq-item p,
.source-card p {
  color: #536078;
}

.band {
  background: #10204e;
  color: #fbfbf4;
}

.band .section h2,
.band .feature-item b {
  color: #fbfbf4;
}

.band .lead,
.band .feature-item p {
  color: #d7dded;
}

.band .feature-item {
  background: rgba(251, 251, 244, 0.08);
  border-color: rgba(251, 251, 244, 0.16);
}

.scenario-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.scenario-card {
  min-height: 260px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scenario-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.scenario-card:nth-child(2) {
  margin-top: 34px;
}

.scenario-card:nth-child(3) {
  margin-top: 68px;
}

.scenario-card mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #10204e;
  background: #fde047;
  border-radius: 6px;
  font-weight: 900;
}

.scenario-card .card-icon {
  width: 74px;
  height: 74px;
  margin: 0;
  color: #fde047;
  background: #1d4ed8;
}

.scenario-card .card-icon svg {
  width: 44px;
  height: 44px;
}

.quote-grid {
  grid-template-columns: 1.2fr 0.8fr;
  margin-top: 28px;
}

.quote-card {
  padding: 28px;
}

.quote-card blockquote {
  margin: 0;
  color: #10204e;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.25;
}

.quote-card cite {
  display: block;
  margin-top: 18px;
  color: #536078;
  font-style: normal;
}

.page-hero {
  background: #fde047;
}

.page-hero .section {
  padding-top: clamp(54px, 8vw, 92px);
  padding-bottom: clamp(46px, 7vw, 82px);
}

.page-hero p {
  max-width: 68ch;
  color: #293247;
  font-size: 19px;
}

.download-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.download-card,
.tutorial-card,
.faq-item,
.source-card {
  padding: 24px;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-card h2,
.tutorial-card h2,
.faq-item h2,
.source-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.25;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 26px;
  overflow: hidden;
  border-radius: 8px;
  background: #fbfbf4;
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(16, 32, 78, 0.1);
}

.spec-table th {
  color: #10204e;
  background: rgba(253, 224, 71, 0.34);
}

.tutorial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.tutorial-card {
  min-height: 220px;
}

.steps {
  margin: 18px 0 0;
  padding-left: 22px;
  color: #536078;
}

.steps li + li {
  margin-top: 8px;
}

.faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 30px;
}

.source-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.source-card a {
  display: inline-flex;
  margin-top: 14px;
  color: #1d4ed8;
  font-weight: 800;
}

.cta-strip {
  background: #1d4ed8;
  color: #fbfbf4;
}

.cta-strip .section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 42px;
  padding-bottom: 42px;
}

.cta-strip h2 {
  margin: 0 0 8px;
  color: #fbfbf4;
  font-size: clamp(26px, 4vw, 42px);
}

.cta-strip p {
  color: #d7dded;
}

.site-footer {
  background: #f1f2ea;
  border-top: 1px solid rgba(16, 32, 78, 0.12);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 28px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 12px;
  color: #10204e;
}

.footer-grid a {
  display: block;
  color: #536078;
  margin: 7px 0;
}

.footer-grid a:hover {
  color: #1d4ed8;
}

.footer-note {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 32px;
  color: #667189;
  border-top: 1px solid rgba(16, 32, 78, 0.1);
  font-size: 13px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 32, 78, 0.58);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 28px));
  margin: min(9vh, 70px) auto;
  padding: clamp(22px, 4vw, 34px);
  background: #fbfbf4;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(16, 32, 78, 0.28);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(16, 32, 78, 0.16);
  background: #fbfbf4;
  color: #10204e;
  border-radius: 6px;
  cursor: pointer;
  font-size: 24px;
}

.modal-panel h2 {
  margin: 0 44px 8px 0;
  color: #10204e;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
}

.modal-panel > p {
  color: #536078;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.qr-card {
  padding: 18px;
  border: 1px solid rgba(16, 32, 78, 0.12);
  border-radius: 8px;
  background: #f7f7f2;
  text-align: center;
}

.qr-card img {
  width: 180px;
  height: 180px;
  margin: 0 auto 14px;
  border: 8px solid #fbfbf4;
}

.qr-card h3 {
  margin: 0 0 6px;
  color: #10204e;
}

.qr-card p {
  color: #536078;
  font-size: 14px;
}

.direct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.direct-links a {
  color: #1d4ed8;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid #fde047;
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fbfbf4;
    border: 1px solid rgba(16, 32, 78, 0.14);
    border-radius: 8px;
  }

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

  .site-nav a,
  .site-nav button {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
  }

  .hero-grid,
  .split,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding-top: 36px;
  }

  .studio-panel {
    min-height: 430px;
    box-shadow: 12px 12px 0 #10204e;
  }

  .feature-list,
  .download-grid,
  .tutorial-grid,
  .faq-grid,
  .source-list {
    grid-template-columns: 1fr;
  }

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

  .scenario-card:nth-child(2),
  .scenario-card:nth-child(3) {
    margin-top: 0;
  }

  .cta-strip .section {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .nav-shell,
  .hero-grid,
  .section,
  .footer-grid,
  .footer-note {
    width: min(100% - 24px, 1180px);
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .trust-row,
  .scenario-grid,
  .qr-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .direct-links {
    flex-direction: column;
  }

  .download-btn,
  .ghost-btn {
    width: 100%;
  }

  .spec-table {
    display: block;
    overflow-x: auto;
  }
}
