:root {
  --ink: #17151f;
  --muted: #667085;
  --paper: #f7f8fc;
  --panel: #ffffff;
  --line: rgba(23, 21, 31, 0.14);
  --pink: #d64f8b;
  --blue: #4157b7;
  --cyan: #2487a6;
  --green: #2f8f6f;
  --yellow: #b87900;
  --shadow: 0 24px 70px rgba(30, 20, 45, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui,
    sans-serif;
  background:
    linear-gradient(90deg, rgba(65, 87, 183, 0.06) 1px, transparent 1px),
    linear-gradient(rgba(47, 143, 111, 0.06) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  margin: 14px auto 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(23, 21, 31, 0.08);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.15;
}

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

.topnav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.topnav a {
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: #2f3b4d;
  font-size: 14px;
  text-decoration: none;
}

.topnav a:hover {
  border-color: var(--line);
  background: #f7f9fc;
}

main {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 112px);
  padding: 48px 0 38px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 58px;
  line-height: 1;
}

h1 span {
  display: block;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 24px;
  color: #344154;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.primary-action,
.test-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

#testCount {
  color: var(--muted);
  font-size: 14px;
}

.hero-board {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at center, rgba(65, 87, 183, 0.12) 0 24%, transparent 25%),
    linear-gradient(135deg, rgba(214, 79, 139, 0.12), rgba(36, 135, 166, 0.13)),
    #fff;
  box-shadow: var(--shadow);
}

.hero-board span,
.hero-board b {
  position: absolute;
  display: grid;
  min-width: 110px;
  min-height: 42px;
  place-items: center;
  border-radius: var(--radius);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.hero-board b {
  left: 50%;
  top: 50%;
  min-width: 140px;
  min-height: 86px;
  border: 2px solid #dbe3ef;
  background: #fff;
  color: var(--ink);
  transform: translate(-50%, -50%);
}

.hero-board span:nth-child(1) { left: 10%; top: 18%; background: #d64f45; }
.hero-board span:nth-child(2) { right: 10%; top: 18%; background: #4157b7; }
.hero-board span:nth-child(3) { right: 6%; top: 46%; background: #2f8f6f; }
.hero-board span:nth-child(4) { right: 18%; bottom: 15%; background: #a24da3; }
.hero-board span:nth-child(5) { left: 14%; bottom: 15%; background: #2487a6; }

.section-band {
  padding: 34px 0 18px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: 30px;
}

.test-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

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

.test-card {
  display: grid;
  gap: 12px;
  min-height: 300px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 42px rgba(23, 21, 31, 0.08);
}

.test-card.planned {
  opacity: 0.72;
}

.card-top,
.meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.card-top span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.card-top b {
  padding: 5px 8px;
  border-radius: 999px;
  background: #edf2ff;
  color: var(--blue);
  font-size: 12px;
}

.test-card h3 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.25;
}

.en-title {
  margin: -6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.test-card p:not(.en-title) {
  color: #415066;
  line-height: 1.7;
}

.meta-row span {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #344154;
  font-size: 12px;
}

.test-card.planned a {
  pointer-events: none;
  background: #dbe3ef;
  color: #667085;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  width: min(var(--max), calc(100% - 32px));
  margin: 28px auto 0;
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 800;
  text-decoration: none;
}

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

  h1 {
    font-size: 44px;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topnav {
    justify-content: flex-start;
  }

  h1 {
    font-size: 36px;
  }

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

  .hero-board {
    min-height: 330px;
  }

  .hero-board span {
    min-width: 82px;
    min-height: 34px;
    font-size: 11px;
  }
}

@media (max-width: 430px) {
  main,
  .topbar,
  .footer {
    width: min(100% - 20px, var(--max));
  }

  .brand small {
    display: none;
  }

  .topnav a {
    padding: 7px 8px;
    font-size: 13px;
  }

  .test-card {
    min-height: 260px;
  }
}
