:root {
  color-scheme: light;
  --navy-950: #04131f;
  --navy-900: #071a2b;
  --navy-800: #0b2944;
  --ink: #102638;
  --text: #425466;
  --muted: #718292;
  --paper: #f3f7f8;
  --white: #fff;
  --line: #d7e1e8;
  --teal: #16cfc2;
  --teal-dark: #0d8e91;
  --mint: #8ef0c8;
  --red: #d9292f;
  --blue: #2f7ed8;
  --shadow: 0 18px 50px rgba(7, 26, 43, 0.09);
  --content: 1320px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: #fff;
  padding: 10px 14px;
  color: var(--navy-900);
  font-weight: 800;
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(142, 240, 200, 0.16);
  background: rgba(6, 23, 37, 0.97);
  padding: 0 max(24px, calc((100vw - var(--content)) / 2));
  color: #fff;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 750;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.22;
}

.brand b {
  color: var(--mint);
  font-size: 12px;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 38px;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--teal);
  border-radius: 11px 11px 14px 14px;
  color: var(--mint);
  font-size: 16px;
  font-weight: 850;
}

.brand-mark.small {
  width: 28px;
  height: 31px;
  font-size: 12px;
}

.global-nav {
  display: flex;
  align-self: stretch;
  align-items: stretch;
  gap: clamp(20px, 2.8vw, 42px);
}

.global-nav a {
  display: inline-flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  color: #d5e0e8;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.18s ease;
}

.global-nav a:hover,
.global-nav a:focus-visible,
.global-nav a.active {
  border-color: var(--teal);
  color: var(--teal);
  outline: none;
}

.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(22, 207, 194, 0.16), transparent 30%),
    radial-gradient(circle at 15% 82%, rgba(47, 126, 216, 0.13), transparent 25%),
    linear-gradient(145deg, var(--navy-950), #082b47 68%, #0a3c55);
  color: #fff;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.7;
  background-image:
    linear-gradient(rgba(78, 169, 193, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(78, 169, 193, 0.07) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(120deg, #000, transparent 78%);
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(142, 240, 200, 0.16);
  border-radius: 50%;
}

.orbit-one {
  width: 460px;
  height: 460px;
  top: -170px;
  right: -80px;
}

.orbit-two {
  width: 660px;
  height: 660px;
  right: -190px;
  bottom: -500px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.7fr);
  gap: clamp(42px, 7vw, 100px);
  align-items: center;
  padding: 76px max(28px, calc((100vw - var(--content)) / 2)) 82px;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.18em;
}

.hero h1 {
  max-width: 780px;
  margin: 18px 0 20px;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 790px;
  margin: 0;
  color: #dce9ef;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.75;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 34px;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 11px 22px;
  font-weight: 800;
}

.primary-action {
  background: linear-gradient(135deg, #17b9b3, #0d8e91);
  box-shadow: 0 12px 28px rgba(9, 178, 171, 0.2);
}

.secondary-action {
  color: var(--teal);
}

.secondary-action span {
  margin-left: 8px;
  transition: transform 0.18s ease;
}

.secondary-action:hover span {
  transform: translateX(4px);
}

.scope-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  max-width: 790px;
  margin-top: 38px;
  border-top: 1px solid rgba(213, 224, 232, 0.18);
  padding-top: 20px;
  color: #b9cad4;
  font-size: 14px;
}

.scope-note strong {
  color: var(--mint);
}

.hero-panel {
  border: 1px solid rgba(142, 240, 200, 0.2);
  border-radius: 20px;
  background: rgba(3, 19, 31, 0.56);
  box-shadow: 0 30px 70px rgba(1, 11, 19, 0.25);
  padding: 24px;
  backdrop-filter: blur(18px);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
  color: #9eb3c0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.panel-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 6px rgba(22, 207, 194, 0.1);
}

.hero-panel article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border-bottom: 1px solid rgba(213, 224, 232, 0.12);
  padding: 19px 0;
}

.hero-panel article:last-child {
  border-bottom: 0;
  padding-bottom: 5px;
}

.hero-panel article > b {
  color: var(--teal);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.hero-panel article strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.hero-panel article p {
  margin: 0;
  color: #b9cad4;
  font-size: 14px;
  line-height: 1.65;
}

.tool-section,
.workflow-section,
.boundary {
  max-width: var(--content);
  margin: 0 auto;
}

.tool-section {
  padding: 88px 28px 42px;
}

.workflow-section {
  padding: 62px 28px 76px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.78fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading.compact {
  margin-bottom: 28px;
}

.section-heading h2,
.boundary h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.section-heading > p {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
}

.tool-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 525px;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 26, 43, 0.05);
  padding: 26px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.tool-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
  content: "";
}

.tool-card.safety::before {
  background: var(--blue);
}

.tool-card.strategy::before {
  background: var(--red);
}

.tool-card.evidence::before {
  background: #8b5cf6;
}

.tool-card.immunogenicity::before {
  background: #16a673;
}

.tool-card:hover,
.tool-card:focus-visible {
  transform: translateY(-5px);
  border-color: #b8cbd5;
  box-shadow: var(--shadow);
  outline: none;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tool-index {
  color: #8ba0ad;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.tool-status {
  border-radius: 999px;
  background: #edf8f7;
  padding: 5px 10px;
  color: #087f78;
  font-size: 12px;
  font-weight: 750;
}

.safety .tool-status {
  background: #edf4fb;
  color: #2467ad;
}

.strategy .tool-status {
  background: #fff0f0;
  color: #b52229;
}

.evidence .tool-status {
  background: #f2edff;
  color: #6d42bc;
}

.immunogenicity .tool-status {
  background: #eaf8f1;
  color: #087c55;
}

.tool-icon {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  margin: 30px 0 22px;
  border: 1px solid #b9e3df;
  border-radius: 18px;
  background: linear-gradient(145deg, #eefaf8, #fff);
  color: #087f78;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
}

.safety .tool-icon {
  border-color: #c8daed;
  background: linear-gradient(145deg, #edf5fd, #fff);
  color: #2467ad;
}

.strategy .tool-icon {
  border-color: #f0c5c7;
  background: linear-gradient(145deg, #fff1f1, #fff);
  color: #b52229;
}

.evidence .tool-icon {
  border-color: #d8cbf3;
  background: linear-gradient(145deg, #f5f1ff, #fff);
  color: #6d42bc;
}

.immunogenicity .tool-icon {
  border-color: #bfe4d2;
  background: linear-gradient(145deg, #ecfaf3, #fff);
  color: #087c55;
}

.tool-kicker {
  margin: 0;
  color: #7d919f;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.tool-card h3 {
  margin: 8px 0 13px;
  font-size: 25px;
  line-height: 1.3;
  letter-spacing: -0.025em;
}

.tool-summary {
  min-height: 89px;
  margin: 0;
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
  overflow-wrap: break-word;
}

.tool-card ul {
  display: grid;
  gap: 8px;
  margin: 22px 0 26px;
  padding: 18px 0 0;
  border-top: 1px solid #e8eef2;
  color: #4e6575;
  font-size: 14px;
  list-style: none;
}

.tool-card li {
  position: relative;
  padding-left: 18px;
}

.tool-card li::before {
  position: absolute;
  top: 0.55em;
  left: 1px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-dark);
  content: "";
}

.safety li::before {
  background: var(--blue);
}

.strategy li::before {
  background: var(--red);
}

.evidence li::before {
  background: #8b5cf6;
}

.immunogenicity li::before {
  background: #16a673;
}

.card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  color: #087f78;
  font-size: 15px;
  font-weight: 850;
}

.safety .card-action {
  color: #2467ad;
}

.strategy .card-action {
  color: #b52229;
}

.evidence .card-action {
  color: #6d42bc;
}

.immunogenicity .card-action {
  color: #087c55;
}

.card-action b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: transform 0.18s ease;
}

.tool-card:hover .card-action b {
  transform: translateX(3px);
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(7, 26, 43, 0.045);
  list-style: none;
}

.workflow li {
  min-width: 0;
  border-right: 1px solid var(--line);
  padding: 28px 24px;
}

.workflow li:last-child {
  border-right: 0;
}

.workflow li > span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.workflow strong {
  display: block;
  margin-bottom: 9px;
  font-size: 18px;
}

.workflow p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
}

.boundary {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
  gap: 52px;
  align-items: center;
  margin-bottom: 74px;
  border-radius: 20px;
  background: linear-gradient(135deg, #08233a, #0b3653);
  padding: 42px 46px;
  color: #fff;
}

.boundary h2 {
  font-size: clamp(25px, 2.4vw, 34px);
}

.boundary > p {
  margin: 0;
  color: #c8d7df;
  font-size: 15px;
  line-height: 1.8;
}

footer {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #061725;
  padding: 22px max(28px, calc((100vw - var(--content)) / 2));
  color: #d4e0e7;
}

footer > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

footer p {
  margin: 0;
  color: #91a8b5;
  font-size: 13px;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    max-width: 760px;
  }

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

  .tool-card {
    min-height: auto;
  }

  .tool-summary {
    min-height: auto;
  }

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

  .workflow li:nth-child(2) {
    border-right: 0;
  }

  .workflow li:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 128px;
  }

  .topbar {
    min-height: auto;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 14px 8px;
  }

  .brand {
    width: 100%;
    font-size: 14px;
  }

  .global-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    align-self: auto;
  }

  .global-nav a {
    min-height: 38px;
    justify-content: center;
    border: 0;
    border-radius: 8px;
    font-size: 11px;
    text-align: center;
    white-space: normal;
  }

  .global-nav a.active {
    background: rgba(22, 207, 194, 0.13);
  }

  .hero {
    padding: 58px 20px 62px;
  }

  .tool-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-lead {
    font-size: 17px;
  }

  .scope-note {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .hero-panel {
    padding: 20px;
  }

  .tool-section,
  .workflow-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .tool-card {
    padding: 24px 21px;
  }

  .workflow {
    grid-template-columns: 1fr;
  }

  .workflow li,
  .workflow li:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workflow li:last-child {
    border-bottom: 0;
  }

  .boundary {
    grid-template-columns: 1fr;
    gap: 18px;
    margin: 0 16px 54px;
    padding: 30px 24px;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px 20px;
  }
}

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