:root {
  --navy-deep: #173f82;
  --navy-mid: #2f5ea5;
  --navy-soft: #3c6db5;
  --line-soft: rgba(18, 48, 96, 0.12);
  --surface: #ffffff;
  --surface-soft: #f4f7fc;
  --text-main: #20314c;
  --text-muted: #53627b;
  --shadow-lg: 0 18px 46px rgba(44, 73, 125, 0.16);
  --shadow-md: 0 10px 26px rgba(44, 73, 125, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at center, rgba(55, 98, 170, 0.12), transparent 28%),
    linear-gradient(180deg, #f6f8fc 0%, #eef2f9 48%, #f8f9fc 100%);
}

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

.topbar {
  background: linear-gradient(135deg, #1f4687 0%, #2f5ea5 42%, #355fab 100%);
  box-shadow: 0 10px 30px rgba(20, 49, 92, 0.2);
}

.topbar-inner {
  width: min(1460px, calc(100% - 48px));
  min-height: 116px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand-mark {
  width: 62px;
  height: 62px;
  flex: 0 0 auto;
}

.brand-mark img,
.brand-mark svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
  color: #ffffff;
}

.brand-copy h1 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.topbar-meta {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  white-space: nowrap;
}

.main-stage {
  min-height: calc(100vh - 182px);
  display: grid;
  place-items: start center;
  padding: 136px 24px 72px;
}

.entry-grid {
  width: min(1060px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.entry-card {
  min-height: 310px;
  padding: 40px 46px 34px;
  border-radius: 12px;
  border: 1px solid rgba(30, 57, 104, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 255, 0.94));
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.entry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(44, 73, 125, 0.2);
}

.entry-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.entry-icon {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.entry-icon svg {
  width: 38px;
  height: 38px;
  fill: #ffffff;
}

.entry-icon-check {
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.entry-icon-blue {
  background: linear-gradient(180deg, #5d86cb 0%, #2a5ca7 100%);
}

.entry-icon-green {
  background: linear-gradient(180deg, #9fc260 0%, #4e8a54 100%);
}

.entry-card h2 {
  margin: 0;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.entry-card p {
  margin: 48px 0 40px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-muted);
}

.entry-button {
  min-width: min(284px, 100%);
  min-height: 48px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(180deg, var(--navy-soft) 0%, var(--navy-deep) 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: var(--shadow-md);
}

.site-footer {
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.56);
  color: #4d607e;
  font-size: 14px;
  text-align: center;
}

@media (max-width: 1100px) {
  .topbar-inner {
    width: min(100% - 32px, 100%);
  }

  .brand-copy h1 {
    font-size: 30px;
  }
}

@media (max-width: 900px) {
  .topbar-inner {
    padding: 20px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar-meta {
    gap: 12px;
    flex-wrap: wrap;
  }

  .main-stage {
    padding-top: 72px;
  }

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

@media (max-width: 640px) {
  .topbar-inner {
    width: min(100% - 24px, 100%);
    min-height: 0;
  }

  .brand-block {
    align-items: flex-start;
  }

  .brand-mark {
    width: 54px;
    height: 54px;
  }

  .brand-copy h1 {
    font-size: 22px;
  }

  .topbar-meta,
  .site-footer {
    font-size: 13px;
  }

  .main-stage {
    padding: 40px 16px 48px;
  }

  .entry-card {
    min-height: 0;
    padding: 30px 22px 24px;
  }

  .entry-head {
    flex-direction: column;
    gap: 12px;
  }

  .entry-card p {
    margin: 28px 0 24px;
  }

  .entry-button {
    min-width: 100%;
  }
}
