:root {
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  color: #1c1f23;
  background: #f7f8fa;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --brand: #0666f6;
  --brand-hover: #0054d6;
  --ink: #111318;
  --muted: #626d7d;
  --surface: #ffffff;
  --surface-muted: #f7f8fa;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface-muted);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(6, 102, 246, 0.28);
  outline-offset: 3px;
}

.site-shell {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--surface-muted);
}

.site-header {
  height: 64px;
  flex: none;
  border-bottom: 1px solid rgba(17, 19, 24, 0.05);
  background: rgba(255, 255, 255, 0.96);
}

.header-inner {
  display: flex;
  width: 100%;
  height: 64px;
  align-items: center;
  padding: 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: max-content;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
}

.brand strong {
  color: #202327;
  font-size: 17px;
  font-weight: 700;
}

main {
  display: flex;
  min-height: 0;
  flex: 1;
}

.entry-section {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 72px clamp(24px, 4vw, 72px);
  background: var(--surface-muted);
}

.entry-grid {
  display: grid;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  grid-template-columns: repeat(2, minmax(0, 416px));
  justify-content: space-between;
  gap: clamp(80px, 17vw, 320px);
}

.entry-card {
  display: flex;
  min-height: 214px;
  flex-direction: column;
  padding: 25px 24px 24px;
  border: 1px solid #bfd8ff;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 18px 34px rgba(28, 47, 76, 0.08);
}

.entry-card h2 {
  margin: 0 0 14px;
  color: #05070b;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.entry-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82%;
  min-height: 48px;
  margin: auto auto 0;
  cursor: pointer;
  border-radius: 8px;
  color: white;
  background: var(--brand);
  box-shadow: 0 8px 18px rgba(6, 102, 246, 0.18);
  font-size: 17px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  background: var(--brand-hover);
  box-shadow: 0 10px 22px rgba(6, 102, 246, 0.24);
}

.primary-button:active {
  transform: translateY(0);
}

.site-footer {
  flex: none;
  padding: 24px 32px;
  border-top: 1px solid rgba(17, 19, 24, 0.06);
  background: var(--surface-muted);
}

.footer-inner {
  display: flex;
  width: 100%;
  max-width: 1480px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  margin: 0 auto;
  color: #697687;
  font-size: 12px;
  line-height: 1.75;
}

.footer-inner i {
  width: 1px;
  height: 14px;
  flex: none;
  background: #d7dce3;
}

.footer-inner a {
  transition: color 160ms ease;
}

.footer-inner a:hover {
  color: var(--brand);
}

@media (max-width: 1260px) {
  .entry-grid {
    max-width: 960px;
    gap: 96px;
  }
}

@media (max-width: 820px) {
  .header-inner {
    padding: 0 18px;
  }

  .entry-section {
    align-items: flex-start;
    padding: 36px 16px 52px;
  }

  .entry-grid {
    max-width: 520px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .entry-card {
    min-height: 202px;
    border-radius: 14px;
  }

  .site-footer {
    padding: 22px 20px;
  }

  .footer-inner {
    display: grid;
    gap: 8px;
    justify-items: center;
    text-align: center;
  }

  .footer-inner i {
    display: none;
  }
}

@media (max-width: 430px) {
  .brand img {
    width: 34px;
    height: 34px;
  }

  .brand strong {
    font-size: 16px;
  }

  .entry-card {
    padding: 22px 20px 20px;
  }

  .entry-card h2 {
    font-size: 20px;
  }

  .entry-card p {
    font-size: 13px;
  }

  .primary-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* IE 11 and older Chromium do not understand CSS grid or custom properties. */
.legacy-browser {
  color: #1c1f23;
  background: #f7f8fa;
}

.legacy-browser .site-shell,
.legacy-browser .entry-section {
  display: block;
  background: #f7f8fa;
}

.legacy-browser .site-header {
  background: #fff;
}

.legacy-browser .entry-section {
  padding: 56px 24px;
}

.legacy-browser .entry-grid {
  display: block;
  max-width: 900px;
}

.legacy-browser .entry-card {
  display: block;
  width: 100%;
  max-width: 416px;
  min-height: 0;
  margin: 0 auto 20px;
  border-color: #bfd8ff;
  background: #fff;
}

.legacy-browser .entry-card:last-child {
  margin-bottom: 0;
}

.legacy-browser .footer-inner {
  display: block;
  text-align: center;
}

.legacy-browser .primary-button {
  color: #fff;
  background: #0666f6;
  box-shadow: 0 8px 18px rgba(6, 102, 246, .18);
}

.legacy-browser .footer-inner > * {
  display: inline-block;
  margin: 0 7px;
}
