:root {
  --bg: #f6efe0;
  --surface: rgba(255,255,255,0.88);
  --surface-strong: #ffffff;
  --line: #e8d8ba;
  --ink: #1e2420;
  --muted: #617068;
  --brand: #1f6c58;
  --brand-soft: #e7f2ed;
  --gold: #b78625;
  --shadow: 0 18px 44px rgba(31, 55, 44, 0.08);
  --radius: 20px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(211, 176, 90, 0.18), transparent 36%),
    linear-gradient(180deg, #fbf7ee 0%, var(--bg) 100%);
  color: var(--ink);
}
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
.shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 72px;
}
.topbar {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.brand strong {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--gold);
}
.brand span {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.15;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 28px;
}
.card {
  background: var(--surface);
  border: 1px solid rgba(232, 216, 186, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero-copy {
  padding: 34px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--gold);
}
h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1.08;
}
.lede {
  margin: 18px 0 0;
  max-width: 680px;
  font-size: 18px;
  line-height: 1.72;
  color: var(--muted);
}
.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}
.btn,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn {
  background: var(--brand);
  color: #fff;
}
.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}
.hero-panel {
  padding: 26px;
  display: grid;
  gap: 14px;
  background: linear-gradient(180deg, rgba(233, 245, 241, 0.95), rgba(255,255,255,0.92));
}
.hero-panel h2,
.section h2,
.subsection h2,
.subsection h3 {
  margin: 0;
}
.metric-grid,
.link-grid,
.feature-grid,
.school-grid,
.faq-grid,
.article-grid,
.info-grid {
  display: grid;
  gap: 16px;
}
.metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.school-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.metric,
.feature,
.link-card,
.school-card,
.faq-card,
.table-wrap,
.highlight,
.cta-strip,
.subsection,
.empty-note {
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.metric,
.feature,
.link-card,
.school-card,
.faq-card,
.highlight,
.cta-strip,
.subsection,
.empty-note {
  padding: 18px;
}
.metric b {
  display: block;
  font-size: 30px;
  color: var(--brand);
  margin-top: 12px;
}
.metric span,
.feature p,
.link-card p,
.school-card p,
.faq-card p,
.subsection p,
.subsection li,
.table-note,
.breadcrumb,
.muted {
  color: var(--muted);
}
.section {
  margin-top: 28px;
}
.section-header {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
}
.section-header p,
.section-header h2 {
  margin: 0;
}
.section-header p {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}
.section-header h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
}
.section-copy {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.72;
  color: var(--muted);
}
.feature h3,
.school-card h3,
.link-card h3,
.faq-card h3,
.subsection h3 {
  margin: 0 0 10px;
  font-size: 21px;
}
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 0;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  background: var(--brand-soft);
  color: var(--brand);
}
.tag.gold {
  background: #fff4dc;
  color: #8d6112;
}
.highlight {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.highlight b {
  display: block;
  font-size: 18px;
}
.highlight strong {
  min-width: 64px;
  font-size: 36px;
  line-height: 1;
  color: var(--brand);
}
.table-wrap {
  overflow: hidden;
}
table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface-strong);
}
th, td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(232, 216, 186, 0.72);
  text-align: left;
  vertical-align: top;
}
th {
  background: rgba(244, 236, 218, 0.92);
  font-size: 14px;
}
tbody tr:last-child td { border-bottom: none; }
.table-wrap .table-note {
  padding: 14px 16px 18px;
  font-size: 14px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 14px;
}
.breadcrumb span::after {
  content: "/";
  margin-left: 8px;
  color: rgba(97,112,104,0.5);
}
.breadcrumb span:last-child::after { display: none; }
.content-card {
  padding: 28px;
}
.content-card p {
  font-size: 17px;
  line-height: 1.76;
  color: var(--muted);
}
.content-card ul,
.content-card ol {
  margin: 12px 0 0 22px;
  color: var(--muted);
  line-height: 1.76;
}
.cta-strip {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(135deg, rgba(31,108,88,0.09), rgba(255,255,255,0.96));
}
.cta-strip p {
  margin: 6px 0 0;
}
.footer {
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid rgba(232,216,186,0.92);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 14px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (max-width: 980px) {
  .hero,
  .metric-grid,
  .feature-grid,
  .school-grid,
  .article-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .link-grid { grid-template-columns: 1fr; }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .shell { padding: 24px 14px 48px; }
  .brand span { font-size: 26px; }
  .hero-copy,
  .hero-panel,
  .content-card { padding: 22px; }
  th, td { padding: 12px 10px; font-size: 14px; }
}
