:root {
  --bg: #eef5fd;
  --panel: #ffffff;
  --ink: #10233f;
  --muted: #627892;
  --line: #d9e7f7;
  --line-soft: #eaf2fb;
  --blue: #2563eb;
  --blue-deep: #1d4ed8;
  --blue-soft: #eaf3ff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 78% -8%, rgba(120, 174, 255, 0.20), transparent 65%),
    radial-gradient(700px 420px at -8% 42%, rgba(184, 212, 255, 0.18), transparent 68%),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid rgba(208, 226, 246, 0.85);
  background: rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.brand-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(145deg, #4f8dff, var(--blue-deep));
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.11);
}

.site-nav { display: flex; align-items: center; }

.site-nav a {
  padding: 8px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 550;
  transition: color 0.18s ease, background 0.18s ease;
}

.site-nav a:hover { color: var(--blue-deep); background: var(--blue-soft); }
.site-nav a[aria-current="page"] { color: var(--blue-deep); background: var(--blue-soft); }

main {
  flex: 1;
  padding: 52px 0 76px;
}

.panel {
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 20px 60px rgba(38, 83, 148, 0.08);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-soft);
}

.panel-copy { min-width: 0; }

.eyebrow {
  margin: 0 0 12px;
  color: #7e9abe;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.17em;
}

h1 {
  margin: 0;
  color: #0c2140;
  font-size: clamp(36px, 5.4vw, 52px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.lead {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.panel-mark {
  flex: 0 0 auto;
  width: 124px;
  height: 124px;
  display: grid;
  place-items: center;
  border: 1px solid #d3e5ff;
  border-radius: 30px;
  color: var(--blue);
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.95), transparent 42%),
    linear-gradient(145deg, #eff7ff, #d9eaff);
  font-size: 54px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.lab-grid {
  display: grid;
  gap: 14px;
  padding-top: 28px;
}

.lab-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid #d7e6f8;
  border-radius: 20px;
  background: #f7fbff;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.lab-card:hover {
  transform: translateY(-2px);
  border-color: #b9d6f7;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.10);
}

.lab-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 23%, rgba(255, 255, 255, 0.32), transparent 43%),
    linear-gradient(145deg, #4f8dff, var(--blue-deep));
  font-size: 27px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.24);
}

.lab-text { min-width: 0; }

.lab-title {
  display: block;
  color: #112a4d;
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.lab-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.lab-count {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #e8f2ff;
  font-size: 11px;
  font-weight: 600;
}

.lab-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid #c9dffa;
  border-radius: 999px;
  color: var(--blue-deep);
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.lab-card:hover .lab-enter {
  color: #ffffff;
  border-color: var(--blue);
  background: var(--blue);
}

.site-footer {
  border-top: 1px solid rgba(208, 226, 246, 0.85);
  padding: 24px 0;
  color: #8299b5;
  font-size: 12px;
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .header-inner { height: 60px; }
  main { padding: 28px 0 56px; }
  .panel { padding: 24px; border-radius: 22px; }
  .panel-head { padding-bottom: 26px; }
  .panel-mark { width: 78px; height: 78px; border-radius: 21px; font-size: 34px; }
  .lead { font-size: 14px; }
  .lab-card { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .lab-icon { width: 48px; height: 48px; border-radius: 14px; font-size: 23px; }
  .lab-title { font-size: 17px; }
  .lab-enter { grid-column: 2; justify-self: start; margin-top: 2px; min-height: 34px; padding: 0 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .lab-card, .lab-enter, .site-nav a { transition: none; }
}