
:root {
  --bg: #ffffff;
  --ink: #111317;
  --muted: #68707a;
  --line: #dde3ea;
  --soft: #f5f8fb;
  --soft-2: #eef6fb;
  --blue: #0b66d8;
  --blue-dark: #174b73;
  --teal: #0f9ea8;
  --gold: #9a6d18;
  --green: #0b875b;
  --red: #9a3029;
  --shadow: 0 18px 45px rgba(23, 43, 77, 0.10);
  --max: 1180px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 64px;
  padding: 10px clamp(18px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(220, 226, 232, 0.72);
  backdrop-filter: blur(18px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}
.brand-logo {
  width: auto;
  height: 40px;
  display: block;
  object-fit: contain;
}
.brand strong { display: block; font-size: 15px; line-height: 1.2; }
.brand small { display: block; color: var(--muted); font-size: 11px; line-height: 1.4; }
.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  color: #31363d;
  font-size: 14px;
  white-space: nowrap;
}
.top-nav a {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.top-nav a:hover,
.top-nav a.active {
  color: var(--blue);
  border-color: var(--blue);
}

.hero {
  max-width: none;
  min-height: clamp(620px, 78svh, 820px);
  display: grid;
  grid-template-columns: minmax(330px, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(46px, 6vw, 76px) clamp(22px, 6vw, 72px) clamp(36px, 5vw, 58px);
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, #f7fbff 78%, #fff 100%);
}
.hero-copy {
  max-width: 610px;
  width: 100%;
  justify-self: end;
  min-width: 0;
}
.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.96;
  font-weight: 760;
  letter-spacing: 0;
}
.hero-subtitle {
  margin: 18px 0 0;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.12;
  font-weight: 650;
}
.hero-lead {
  margin: 22px 0 0;
  max-width: 560px;
  color: #3f4853;
  font-size: clamp(17px, 1.65vw, 23px);
  line-height: 1.75;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.hero-actions,
.final-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.primary-action,
.secondary-action,
.text-link,
.center-link,
.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 620;
}
.primary-action {
  color: #fff;
  background: var(--blue);
  padding: 0 18px;
  box-shadow: 0 12px 26px rgba(11, 102, 216, 0.20);
}
.primary-action:hover { background: #0759bf; }
.secondary-action {
  color: var(--blue);
  background: rgba(11, 102, 216, 0.08);
  padding: 0 16px;
}
.text-link,
.center-link {
  color: var(--blue);
  margin-top: 18px;
}
.center-link { justify-content: center; }
.metrics {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 34px;
}
.metrics span {
  color: var(--muted);
  font-size: 14px;
}
.metrics b {
  display: block;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.1;
}
.hero-visual {
  position: relative;
  min-height: 440px;
  min-width: 0;
  width: 100%;
}
.hero-visual img {
  width: min(100%, 940px);
  height: auto;
  display: block;
  border-radius: 8px;
  filter: saturate(1.02);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(62px, 8vw, 110px) clamp(20px, 4vw, 36px);
}
.section + .section { border-top: 1px solid #eef1f5; }
.section-head {
  max-width: 740px;
  margin-bottom: 30px;
}
.section-head h2,
.split-section h2,
.action-list h2,
.module-preview h2,
.platform-preview h2,
.final-band h2 {
  margin: 0;
  font-size: clamp(32px, 4.6vw, 62px);
  line-height: 1.05;
  font-weight: 720;
}
.section-head p,
.split-section p,
.final-band p,
.page-hero p {
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.route-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 43, 77, 0.05);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.route-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 102, 216, 0.32);
  box-shadow: var(--shadow);
}
.route-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: var(--soft-2);
  border-radius: 8px;
  font-size: 24px;
}
.route-card strong { display: block; font-size: 18px; margin-bottom: 6px; }
.route-card small { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.route-arrow { color: var(--muted); }

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid #d7e7fb;
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr;
  gap: 24px;
  padding: 18px 0 18px 24px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 24px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--blue);
}
.timeline time { font-weight: 700; }
.timeline span { color: var(--muted); }

.module-ring {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 30px;
  align-items: center;
}
.ring-center {
  width: 210px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  background:
    conic-gradient(from 20deg, #0b66d8, #0f9ea8, #df9251, #cf5e73, #686ddf, #0b66d8);
}
.ring-center strong { display: block; font-size: 62px; line-height: 0.95; }
.ring-center span { display: block; font-size: 18px; }
.module-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.module-chips span {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #313842;
  background: #fff;
}
.module-chips b { color: var(--blue); }

.platform-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.platform-strip a {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #253141;
}
.platform-strip span { color: var(--teal); font-size: 18px; }

.final-band {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}
.final-band > div:first-child { max-width: 740px; }

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 130px) clamp(20px, 4vw, 36px) clamp(36px, 6vw, 64px);
}
.page-hero h1 {
  font-size: clamp(54px, 7vw, 92px);
}
.page-hero p { max-width: 780px; margin: 20px 0 0; }

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.timeline-card {
  min-height: 214px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.timeline-card span {
  display: block;
  color: var(--blue);
  font-size: 15px;
  font-weight: 700;
}
.timeline-card time {
  display: block;
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 740;
}
.timeline-card p { color: var(--muted); line-height: 1.7; }
.exam-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.exam-grid div {
  min-height: 132px;
  display: grid;
  align-content: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}
.exam-grid strong { font-size: 48px; line-height: 1; }
.exam-grid span { margin-top: 10px; color: var(--muted); }

.filter-shell { padding-top: 20px; }
.searchbar {
  position: sticky;
  top: 84px;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(23, 43, 77, 0.07);
}
.searchbar svg { color: var(--blue); font-size: 22px; }
.searchbar input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 18px 0 12px;
}
.filter-tabs button {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #33404d;
  background: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.filter-tabs button span { margin-left: 5px; color: var(--muted); }
.filter-tabs button.active {
  color: #fff;
  border-color: var(--blue);
  background: var(--blue);
}
.filter-tabs button.active span { color: rgba(255,255,255,.8); }
.filter-count {
  min-height: 24px;
  color: var(--muted);
  font-size: 13px;
}
.group-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: 46px 0 14px;
  border-bottom: 1px solid var(--line);
}
.group-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
}
.group-title span { color: var(--muted); }
.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.module-card {
  min-height: 142px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.module-card span {
  color: var(--red);
  font-weight: 760;
  font-size: 15px;
}
.module-card h3 {
  margin: 12px 0 0;
  font-size: 18px;
  line-height: 1.45;
}
.module-card p { margin: 12px 0 0; color: var(--muted); font-size: 13px; }

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.platform-card {
  min-height: 136px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.platform-card h3 {
  margin: 0 0 9px;
  font-size: 17px;
  line-height: 1.35;
}
.platform-card a {
  color: var(--blue-dark);
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.entry-note {
  margin: 8px 0 0;
  color: var(--gold);
  font-size: 12px;
  line-height: 1.55;
}
.icon-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--blue);
  background: #fff;
  cursor: pointer;
}
.icon-button:hover { border-color: var(--blue); background: var(--soft-2); }

.training-grid,
.type-grid,
.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.training-card,
.type-grid article {
  min-height: 166px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.training-card h3,
.type-grid h3 {
  margin: 0;
  font-size: 20px;
}
.training-card p,
.type-grid p {
  color: var(--muted);
  line-height: 1.75;
}
.strategy-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.strategy-list li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.strategy-list strong { color: var(--blue); }
.strategy-list span { color: var(--muted); line-height: 1.7; }
.check-grid button {
  min-height: 86px;
  padding: 18px 18px 18px 48px;
  position: relative;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  line-height: 1.65;
  cursor: pointer;
}
.check-grid button::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 18px;
  height: 18px;
  border: 1.5px solid #a8b5c4;
  border-radius: 50%;
}
.check-grid button.checked {
  border-color: rgba(11, 135, 91, 0.34);
  background: #f4fbf8;
}
.check-grid button.checked::before {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 4px #f4fbf8;
}

[data-filterable].is-hidden,
.module-group.is-empty,
.platform-group.is-empty { display: none; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  background: var(--soft);
  color: #3a424c;
}
.site-footer strong { display: block; margin-bottom: 6px; }
.site-footer span { color: var(--muted); font-size: 14px; }
.footer-link { color: var(--blue); min-width: max-content; }

@media (max-width: 980px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .top-nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero {
    min-height: auto;
    max-width: 100vw;
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-copy {
    justify-self: start;
    max-width: calc(100vw - 60px);
  }
  .hero-lead {
    max-width: calc(100vw - 60px);
  }
  .hero-visual { min-height: 0; }
  .route-grid,
  .timeline-grid,
  .platform-strip,
  .module-grid,
  .platform-grid,
  .training-grid,
  .type-grid,
  .check-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split-section,
  .module-ring,
  .final-band { grid-template-columns: 1fr; display: grid; }
  .final-band { align-items: start; }
}

@media (max-width: 640px) {
  .brand small { display: none; }
  .brand-logo { height: 32px; }
  .hero {
    max-width: 100vw;
  }
  .hero-copy,
  .hero-lead {
    max-width: calc(100vw - 60px);
  }
  .hero h1,
  .page-hero h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-subtitle { font-size: 25px; }
  .metrics { gap: 16px; }
  .route-grid,
  .timeline-grid,
  .platform-strip,
  .module-grid,
  .platform-grid,
  .training-grid,
  .type-grid,
  .check-grid,
  .exam-grid,
  .module-chips { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
  .searchbar { top: 110px; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
