/* 必鹿考研 · yinlu.ltd 官方信息站
   纯静态样式，无外部依赖（面向中国大陆访问环境，无 CDN / 外链字体） */

:root {
  --ink: #16202f;
  --ink-soft: #4a5568;
  --ink-faint: #7b8794;
  --gold: #b07d3c;
  --gold-soft: #f3ead9;
  --line: #e6e8ec;
  --bg: #ffffff;
  --bg-soft: #f7f8fa;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(22, 32, 47, 0.04), 0 8px 24px rgba(22, 32, 47, 0.06);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Source Han Sans SC", "Noto Sans CJK SC", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand img { height: 34px; width: auto; }
.brand span { font-size: 13px; color: var(--ink-faint); letter-spacing: 0.04em; }

.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); text-decoration: none; }

/* ---------- 通用区块 ---------- */
section { padding: 64px 0; }
section + section { border-top: 1px solid var(--line); }

.section-alt { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}

h1, h2, h3 { line-height: 1.35; margin: 0 0 16px; font-weight: 600; }
h1 { font-size: 40px; letter-spacing: -0.01em; }
h2 { font-size: 28px; }
h3 { font-size: 17px; }

.lead { font-size: 17px; color: var(--ink-soft); max-width: 760px; }
.muted { color: var(--ink-faint); font-size: 14px; }

/* ---------- 首屏 ---------- */
.hero { padding: 88px 0 76px; background: linear-gradient(180deg, #fbfaf7 0%, #ffffff 100%); }

.hero .brand-logo { width: 220px; height: auto; margin-bottom: 28px; }

.hero h1 { max-width: 720px; }
.hero .lead { margin-bottom: 28px; }

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

.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 15px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: #fff;
  transition: opacity 0.2s ease;
}
.btn:hover { opacity: 0.88; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--gold); }
.btn.ghost:hover { background: var(--gold-soft); opacity: 1; }

/* ---------- 卡片网格 ---------- */
.grid { display: grid; gap: 20px; margin-top: 32px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h3 { margin-bottom: 8px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15px; }

.card .tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--gold-soft);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

/* ---------- 督学海报 ---------- */
.poster-col { display: grid; grid-template-columns: 340px 1fr; gap: 40px; align-items: start; }
.poster-col img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.poster-col ul { margin: 16px 0 0; padding-left: 20px; color: var(--ink-soft); }
.poster-col li { margin-bottom: 6px; }

/* ---------- 提示条 ---------- */
.notice {
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  padding: 18px 22px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: #6d4f27;
  font-size: 15px;
}
.notice p { margin: 0 0 8px; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- 信息表 ---------- */
.info-table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 15px; }
.info-table th, .info-table td { border: 1px solid var(--line); padding: 13px 16px; text-align: left; vertical-align: top; }
.info-table th { width: 190px; background: var(--bg-soft); color: var(--ink-soft); font-weight: 500; }
.info-table tr:nth-child(even) td { background: #fcfcfd; }

/* ---------- 页脚 ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 34px 0; font-size: 13px; color: var(--ink-faint); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; }
.site-footer p { margin: 0; }
.site-footer a { color: var(--ink-soft); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- 英文段落 ---------- */
.en-block { margin-top: 40px; padding-top: 28px; border-top: 1px dashed var(--line); }
.en-block h2 { font-size: 21px; }
.en-block p, .en-block li { color: var(--ink-soft); font-size: 15px; }

@media (max-width: 860px) {
  h1 { font-size: 30px; }
  h2 { font-size: 23px; }
  section { padding: 48px 0; }
  .hero { padding: 56px 0 48px; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .poster-col { grid-template-columns: 1fr; }
  .nav { gap: 18px; font-size: 14px; }
  .info-table th { width: auto; }
}

/* 窄屏下把信息表改成上下堆叠，避免首列被挤成竖排 */
@media (max-width: 560px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: auto; }
  .info-table th { border-bottom: none; padding: 14px 16px 4px; white-space: nowrap; }
  .info-table td { border-top: none; padding: 4px 16px 14px; }
  .info-table tr:nth-child(even) td { background: transparent; }
  .info-table tr + tr { border-top: 1px solid var(--line); }
}
