:root {
  --bg: #f5f7fb;
  --surface: rgba(255, 255, 255, .86);
  --surface-solid: #ffffff;
  --text: #172033;
  --muted: #5c6475;
  --line: rgba(23, 32, 51, .10);
  --shadow: 0 18px 48px rgba(20, 32, 51, .10);
  --radius-lg: 28px;
  --radius-md: 20px;
  --max: 1160px;
  --blue: #2757d4;
  --navy: #1e2f78;
  --green: #21a55b;
  --orange: #f68a25;
  --pink: #db4d72;
  --gold: #f2b113;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font: 16px/1.75 "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 8% 0%, rgba(39, 87, 212, .10), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(242, 177, 19, .14), transparent 21%),
    linear-gradient(180deg, #fbfcff 0%, var(--bg) 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }

:focus-visible {
  outline: 3px solid rgba(39, 87, 212, .28);
  outline-offset: 3px;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 247, 251, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .8);
  backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

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

.brand-mark {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(244,247,255,.78));
  border: 1px solid rgba(39, 87, 212, .08);
  box-shadow: 0 10px 26px rgba(39, 87, 212, .10);
  overflow: hidden;
}

.brand-text { min-width: 0; }

.brand-title,
.brand-subtitle {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-title {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .02em;
}

.brand-subtitle {
  margin-top: 1px;
  color: var(--muted);
  font-size: .88rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-weight: 700;
  padding: 9px 13px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255,255,255,.9);
  box-shadow: 0 8px 20px rgba(20,32,51,.07);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  color: var(--text);
  background: var(--surface-solid);
  box-shadow: 0 12px 28px rgba(20,32,51,.10);
  cursor: pointer;
}

.hero { padding: clamp(28px, 6vw, 56px) 0 24px; }

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  padding: clamp(24px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,255,255,.76)),
    linear-gradient(120deg, rgba(39,87,212,.10), rgba(242,177,19,.12) 36%, rgba(33,165,91,.10) 70%);
  border: 1px solid rgba(255,255,255,.92);
  box-shadow: var(--shadow);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39,87,212,.12), transparent 66%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 800;
  background: rgba(255,255,255,.74);
  border: 1px solid rgba(39,87,212,.12);
  box-shadow: 0 10px 25px rgba(39,87,212,.08);
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.hero-wordmark {
  width: min(100%, 760px);
  margin: 22px 0 18px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 18px 40px rgba(20,32,51,.08);
}

.hero-title {
  margin: 0;
  max-width: 14em;
  font-size: clamp(2rem, 5.5vw, 3.55rem);
  line-height: 1.12;
  letter-spacing: -.03em;
}

.hero-title .accent {
  background: linear-gradient(90deg, var(--blue), var(--green), var(--orange), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.08rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(20,32,51,.12);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(90deg, var(--blue), #3a7fff 58%, #47a0ff);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,.84);
  border-color: rgba(20,32,51,.08);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--text);
  font-weight: 700;
  background: rgba(255,255,255,.76);
  border: 1px solid var(--line);
}

.section { padding: clamp(22px, 5vw, 40px) 0; }

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.section-kicker {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.section-title {
  margin: 0;
  font-size: clamp(1.55rem, 3.4vw, 2.3rem);
  line-height: 1.22;
  letter-spacing: -.02em;
}

.section-subtitle {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
}

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

.card,
.panel {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.card {
  padding: clamp(20px, 3vw, 26px);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 16px;
  color: white;
  font-size: 1.08rem;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(20,32,51,.12);
}

.icon-purpose { background: linear-gradient(135deg, var(--blue), #3aa2ff); }
.icon-core { background: linear-gradient(135deg, var(--gold), var(--orange)); }
.icon-method { background: linear-gradient(135deg, var(--green), #48c37a); }

.card h3 {
  margin: 0 0 8px;
  font-size: 1.16rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  border: 1px solid var(--line);
  font-weight: 800;
  color: var(--text);
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.panel {
  padding: clamp(22px, 3.5vw, 30px);
}

.info-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.info-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: rgba(246,247,251,.86);
  border: 1px solid rgba(20,32,51,.06);
}

.info-no {
  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 17px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  box-shadow: 0 12px 24px rgba(39,87,212,.16);
}

.info-item h4 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.info-item p {
  margin: 0;
  color: var(--muted);
  font-size: .96rem;
}

.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 900;
  background: linear-gradient(90deg, rgba(39,87,212,.08), rgba(242,177,19,.11), rgba(219,77,114,.09));
}

.logo-layout {
  display: grid;
  grid-template-columns: minmax(118px, 188px) 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

.logo-frame {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 16px;
  border-radius: 24px;
  background: linear-gradient(180deg, #fff, #f8f9fd);
  border: 1px solid rgba(20,32,51,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), 0 14px 34px rgba(20,32,51,.06);
  overflow: hidden;
}

.logo-points {
  display: grid;
  gap: 12px;
}

.logo-point {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(246,247,251,.86);
  border: 1px solid rgba(20,32,51,.06);
}

.logo-point strong {
  display: block;
  margin-bottom: 3px;
}

.logo-point span {
  display: block;
  color: var(--muted);
  font-size: .95rem;
}

.council-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.council-card {
  min-width: 0;
  padding: 22px 18px;
  text-align: center;
  border-radius: 22px;
  background: var(--surface-solid);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .22s ease;
}

.council-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 44px rgba(20,32,51,.14);
}

.council-avatar {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 22px;
  color: #fff;
  font-weight: 900;
  font-size: 1.16rem;
  background: linear-gradient(135deg, var(--blue), var(--green), var(--orange), var(--pink));
  box-shadow: 0 16px 30px rgba(39,87,212,.16);
}

.council-name {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 900;
  word-break: break-word;
}

.council-role {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
}

.footer { padding: 30px 0 46px; }

.footer-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: clamp(24px, 4vw, 34px);
  color: white;
  background: linear-gradient(135deg, rgba(30,47,120,.96), rgba(39,87,212,.94) 45%, rgba(33,165,91,.86) 72%, rgba(242,138,37,.88));
  box-shadow: 0 24px 50px rgba(24, 35, 91, .24);
}

.footer-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -120px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  pointer-events: none;
}

.footer-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: center;
}

.footer h3 {
  margin: 0 0 8px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.footer p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255,255,255,.88);
}

.official-links,
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.official-links { margin-top: 18px; }

.footer-meta {
  justify-content: flex-end;
  align-items: center;
}

.official-link,
.footer-badge,
.footer-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 800;
}

.official-link,
.footer-badge {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
}

.official-link {
  transition: transform .18s ease, background .2s ease;
}

.official-link:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,.22);
}

.footer-visit {
  min-height: 48px;
  padding-inline: 20px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 14px 30px rgba(13, 24, 73, .18);
  transition: transform .18s ease, box-shadow .2s ease;
}

.footer-visit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(13, 24, 73, .24);
}

@media (max-width: 1080px) {
  .feature-layout,
  .footer-layout { grid-template-columns: 1fr; }
  .council-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-meta { justify-content: flex-start; }
}

@media (max-width: 860px) {
  .nav { min-height: 70px; }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 10px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.98);
    box-shadow: 0 20px 45px rgba(20,32,51,.12);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    padding: 12px 14px;
    border-radius: 14px;
  }

  .grid-3,
  .logo-layout { grid-template-columns: 1fr; }
  .logo-frame { max-width: 220px; }
  .council-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 20px), var(--max)); }
  .brand { gap: 10px; }
  .brand-mark { width: 44px; height: 44px; border-radius: 14px; }
  .brand-title { font-size: .98rem; }
  .brand-subtitle { font-size: .80rem; }
  .hero-card,
  .card,
  .panel,
  .footer-card { border-radius: 22px; }
  .hero-actions .btn { width: 100%; }
  .hero-tags .tag { width: 100%; justify-content: center; }
  .info-item { grid-template-columns: 48px 1fr; padding: 12px; }
  .info-no { width: 48px; height: 48px; border-radius: 15px; }
  .council-grid { grid-template-columns: 1fr; }
  .official-links,
  .footer-meta { flex-direction: column; align-items: stretch; }
  .official-link,
  .footer-badge,
  .footer-visit { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
