:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --text: #172033;
  --muted: #657084;
  --line: #dfe4ec;
  --accent: #1f7a5a;
  --accent-soft: #e5f4ee;
  --shadow: 0 18px 50px rgba(23, 32, 51, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei",
    "PingFang SC", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(246, 247, 251, 0.96)),
    var(--bg);
}

.shell {
  width: min(920px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(28px, 7vw, 72px) 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
}

.header {
  text-align: center;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.subtitle {
  margin: 14px auto 0;
  max-width: 24rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
}

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

.nav-link {
  min-height: 96px;
  padding: 18px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  border-color: rgba(31, 122, 90, 0.55);
  box-shadow: 0 20px 54px rgba(31, 122, 90, 0.14);
  transform: translateY(-2px);
}

.nav-link:focus-visible {
  outline: 3px solid rgba(31, 122, 90, 0.22);
  outline-offset: 3px;
}

.nav-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  font-size: 1.35rem;
  font-weight: 700;
}

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

.nav-title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 750;
  line-height: 1.25;
}

.nav-desc {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

@media (min-width: 760px) {
  .nav-link:first-child {
    grid-column: span 2;
  }
}

@media (max-width: 640px) {
  .shell {
    justify-content: flex-start;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .header {
    text-align: left;
  }

  .subtitle {
    margin-left: 0;
  }

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

  .nav-link {
    min-height: 86px;
    padding: 16px;
  }
}
