/* 智能时代超级个体 · 官方主站 — distinct from Chainfir corporate */

:root {
  --bg: #080c10;
  --bg-card: #121a22;
  --bg-card-hover: #182230;
  --text: #eef1f4;
  --text-secondary: #a8b0bb;
  --text-muted: #6b7580;
  --accent: #3d9a8b;
  --accent-soft: rgba(61, 154, 139, 0.14);
  --accent-glow: rgba(61, 154, 139, 0.35);
  --gold: #c9a962;
  --gold-soft: rgba(201, 169, 98, 0.12);
  --border: rgba(255, 255, 255, 0.07);
  --font-serif: 'Noto Serif SC', Georgia, serif;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --radius: 12px;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 300;
  padding: 0.5rem 1rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  font-size: 0.85rem;
}

.skip-link:focus {
  top: 0;
}

html { scroll-behavior: smooth; scroll-padding-top: 4.75rem; }

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

body.nav-open { overflow: hidden; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, var(--accent-soft), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 20%, var(--gold-soft), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* lang */
.lang-switch {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  z-index: 200;
  display: flex;
}

.lang-btn {
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.8);
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.2s;
}

.lang-btn:first-child { border-radius: 8px 0 0 8px; }
.lang-btn:last-child { border-radius: 0 8px 8px 0; }

.lang-btn.active,
.lang-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* nav */
.topbar {
  position: sticky;
  top: 0;
  z-index: 150;
  padding: 1rem 0;
  margin: 0 -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: rgba(8, 12, 16, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}

.topbar.is-scrolled {
  border-bottom-color: var(--border);
  background: rgba(8, 12, 16, 0.92);
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.topbar-nav {
  display: flex;
  align-items: center;
}

.topbar-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}

.topbar-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  white-space: nowrap;
}

.topbar-links a:hover,
.topbar-links a.active {
  color: var(--accent);
}

.topbar-cta {
  display: none;
  margin-left: 1rem;
  white-space: nowrap;
}

@media (min-width: 960px) {
  .topbar-cta {
    display: inline-flex;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* hero */
.hero {
  padding: 2.5rem 0 3rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
}

.badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
}

.badge-brand {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.badge-gia {
  border-color: rgba(61, 154, 139, 0.4);
  color: var(--accent);
  background: var(--accent-soft);
}

.badge-gold {
  border-color: rgba(201, 169, 98, 0.35);
  color: var(--gold);
  background: var(--gold-soft);
}

.hero-motto {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.45rem;
}

.hero .hero-principal {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 0.85rem;
}

.hero-manifesto {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2.5vw, 1.2rem);
  color: var(--text);
  max-width: 34rem;
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.hero .tagline {
  font-size: 0.98rem;
  color: var(--text-secondary);
  max-width: 36rem;
  margin-bottom: 1.75rem;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.hero-pill {
  font-size: 0.78rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.2s;
}

.hero-pill:hover {
  border-color: rgba(61, 154, 139, 0.35);
  color: var(--accent);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  max-width: 36rem;
}

.hero-stat {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.hero-stat::before {
  content: '·';
  margin-right: 0.45rem;
  color: var(--accent);
}

.hero-stat:first-child::before {
  content: none;
  margin: 0;
}

.hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.hero-social-link {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: 0.2s;
}

.hero-social-link:hover {
  border-color: rgba(61, 154, 139, 0.35);
  color: var(--accent);
  background: var(--accent-soft);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #4db3a3;
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  opacity: 0.85;
}

.btn-share {
  cursor: pointer;
  font-family: inherit;
}

.btn-sm {
  font-size: 0.78rem;
  padding: 0.45rem 0.9rem;
}

.track-cta {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0.85rem;
  width: 100%;
  text-align: center;
}

/* cases */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.85rem;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.25s, background 0.25s;
}

.case-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-card:hover {
  border-color: rgba(201, 169, 98, 0.35);
  background: var(--bg-card-hover);
}

.case-track {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}

.case-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.case-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex: 1;
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.case-proof {
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.case-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.case-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* evidence zone */
.evidence-tabs {
  position: sticky;
  top: 3.5rem;
  z-index: 120;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
  padding: 0.65rem;
  background: rgba(8, 12, 16, 0.88);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.evidence-tab {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: 0.2s;
}

.evidence-tab:hover,
.evidence-tab.active {
  border-color: rgba(61, 154, 139, 0.4);
  color: var(--accent);
  background: var(--accent-soft);
}

.section-jump {
  margin-top: 1.25rem;
  text-align: center;
}

.section-jump a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.section-jump a:hover {
  color: var(--accent);
}

.case-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.case-filter {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: 0.2s;
}

.case-filter:hover,
.case-filter.active {
  border-color: rgba(201, 169, 98, 0.45);
  color: var(--gold);
  background: var(--gold-soft);
}

.case-card.is-hidden {
  display: none;
}

main section { padding: 2.5rem 0; }

.page-main {
  padding-top: 0.5rem;
}

.page-main > section {
  padding-top: 1.5rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--text-secondary);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-hero {
  margin-bottom: 1.5rem;
}

.page-title {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.hub-section {
  padding: 2rem 0 3rem;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.hub-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.25s, background 0.25s;
}

.hub-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hub-card:hover {
  border-color: rgba(61, 154, 139, 0.35);
  background: var(--bg-card-hover);
}

.hub-card-accent {
  border-color: rgba(61, 154, 139, 0.25);
  background: linear-gradient(145deg, rgba(61, 154, 139, 0.08), transparent 55%);
}

.hub-icon {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hub-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.hub-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex: 1;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.hub-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* flow */
.flow-section {
  padding: 2rem 0 2.5rem;
}

/* methodology chain · home */
.methodology-section {
  padding: 1.5rem 0 2.5rem;
}

.methodology-chain {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.35rem 0.25rem;
  margin-bottom: 1.15rem;
}

.methodology-step {
  flex: 1 1 140px;
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.05rem;
  min-width: 0;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.2s, background 0.2s;
}

.methodology-step:hover {
  border-color: rgba(61, 154, 139, 0.35);
  background: var(--bg-card-hover);
}

.methodology-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.methodology-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.methodology-step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  font-family: var(--font-serif);
}

.methodology-step p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.methodology-arrow {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-size: 1rem;
  padding: 0 0.15rem;
  flex: 0 0 auto;
}

.methodology-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-wechat-hint {
  margin-top: 1.15rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-wechat-hint a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.hero-wechat-hint a:hover {
  text-decoration: underline;
}

.home-wechat-cta {
  margin: 0.5rem 0 2rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 169, 98, 0.22);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.1), rgba(61, 154, 139, 0.06));
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.home-wechat-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-wechat-title {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  margin-bottom: 0.5rem;
}

.home-wechat-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 36rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.home-wechat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-contact {
  margin-top: 0.55rem;
  font-size: 0.78rem;
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (max-width: 720px) {
  .methodology-arrow {
    display: none;
  }

  .methodology-chain {
    flex-direction: column;
  }

  .methodology-step {
    flex: 1 1 auto;
  }
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.flow-step {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease, border-color 0.2s, background 0.2s;
}

.flow-step:hover {
  border-color: rgba(61, 154, 139, 0.35);
  background: var(--bg-card-hover);
}

.flow-step.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.flow-step h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.flow-step p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .flow-steps { grid-template-columns: 1fr; }
}

/* track accents */
.track-a { border-top: 2px solid rgba(61, 154, 139, 0.45); }
.track-b { border-top: 2px solid rgba(201, 169, 98, 0.4); }
.track-c { border-top: 2px solid rgba(120, 160, 220, 0.35); }

.track-card.track-highlight {
  border-color: rgba(61, 154, 139, 0.65);
  box-shadow: 0 0 0 1px rgba(61, 154, 139, 0.35), 0 0 28px var(--accent-glow);
  animation: trackPulse 2.8s ease;
}

@keyframes trackPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(61, 154, 139, 0.35), 0 0 28px var(--accent-glow); }
  50% { box-shadow: 0 0 0 2px rgba(61, 154, 139, 0.55), 0 0 36px var(--accent-glow); }
}

@media (prefers-reduced-motion: reduce) {
  .track-card.track-highlight { animation: none; }
}

.track-card,
.cap-card,
.demo-card {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.25s, background 0.25s;
}

.track-card.is-visible,
.cap-card.is-visible,
.demo-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* demos */
.demo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.85rem;
}

.demo-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
}

.demo-card:hover {
  border-color: rgba(61, 154, 139, 0.35);
  background: var(--bg-card-hover);
}

.demo-card.demo-soon {
  opacity: 0.72;
  border-style: dashed;
  cursor: default;
}

.demo-card.demo-soon.is-visible {
  opacity: 0.72;
}

.demo-pillar {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.demo-card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.4rem;
}

.demo-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex: 1;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.demo-action {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.demo-soon .demo-action {
  color: var(--text-muted);
}

/* social */
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.social-chip {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: 0.2s;
  min-height: 100%;
}

.social-chip:hover {
  border-color: rgba(61, 154, 139, 0.35);
  background: var(--bg-card-hover);
}

.social-chip-muted {
  opacity: 0.72;
  border-style: dashed;
  cursor: default;
}

.social-chip-muted:hover {
  border-color: var(--border);
  background: var(--bg-card);
}

.social-chip strong {
  font-size: 0.82rem;
  color: var(--text);
}

.social-handle {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
}

.social-badge {
  align-self: flex-start;
  margin-top: 0.25rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.15rem 0.45rem;
}

.social-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.65rem 0 0.85rem;
}

.social-chip-compact {
  flex-direction: row;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  min-height: auto;
  border-radius: 999px;
}

.social-chip-compact .social-handle {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.social-chip-compact .social-badge {
  margin-top: 0;
}

/* contact layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.wechat-panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  display: flex;
  flex-direction: column;
}

.wechat-panel-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.wechat-qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.wechat-qr {
  width: 140px;
  height: 140px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  object-fit: contain;
}

.wechat-qr-hint {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.wechat-panel-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.wechat-panel-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.wechat-keywords {
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.wechat-keywords li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
}

.keyword-copy {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: pointer;
  transition: 0.2s;
}

.keyword-copy:hover {
  border-color: rgba(61, 154, 139, 0.35);
  color: var(--accent);
}

.wechat-keywords li:last-child { border-bottom: none; }

.wechat-keywords code {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-right: 0.35rem;
}

.wechat-panel-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: auto;
}

.copy-btn {
  margin-left: 0.45rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  cursor: pointer;
  vertical-align: middle;
}

.copy-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* floating ui */
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 180;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 12, 16, 0.88);
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: 0.2s;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 170;
  transform: translateX(-50%);
  padding: 0.65rem 1.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .mobile-cta { display: inline-flex; }
  .back-top { bottom: 4.25rem; }
  body { padding-bottom: 4rem; }
}

/* sections */
section {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}

.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-desc {
  color: var(--text-secondary);
  max-width: 32rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

/* tracks */
.track-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.track-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}

.track-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(61, 154, 139, 0.25);
  transform: translateY(-2px);
}

.track-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.track-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.track-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 1rem;
}

.track-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.track-tags span {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
  color: var(--text-muted);
}

.track-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.track-link:hover { text-decoration: underline; }

.track-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.track-links a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.track-links a::before {
  content: '→';
  opacity: 0.7;
}

.track-links a:hover { text-decoration: underline; }

.ans-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.contact-tracks {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.prescreen-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.prescreen-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  text-decoration: none;
  transition: 0.2s;
}

.prescreen-chip:hover {
  border-color: rgba(61, 154, 139, 0.4);
  color: var(--accent);
  background: var(--accent-soft);
}

.cap-flow {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.cap-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}

.cap-card:hover {
  border-color: rgba(61, 154, 139, 0.28);
  background: var(--bg-card-hover);
}

.cap-icon {
  font-size: 1.25rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.cap-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cap-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex: 1;
  margin-bottom: 0.85rem;
  line-height: 1.55;
}

/* principal */
.principal-card {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.principal-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

.principal-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.principal-meta {
  font-size: 0.9rem;
  color: var(--accent);
}

.principal-credit {
  margin-top: 0.65rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* identity table */
.identity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 768px) {
  .lang-switch {
    top: 0.75rem;
    right: 0.75rem;
  }

  .nav-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 0.25rem;
  }

  .topbar-nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    padding: 4.5rem 1.5rem 1.5rem;
    background: rgba(8, 12, 16, 0.98);
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s, opacity 0.25s;
  }

  .topbar-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .topbar-links {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .topbar-links li {
    border-bottom: 1px solid var(--border);
  }

  .topbar-links a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
  }

  .topbar-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-cta {
    display: inline-flex;
    margin: 0.75rem 0 0;
    width: 100%;
    justify-content: center;
  }

  .evidence-tabs {
    top: 3.25rem;
  }

  .identity-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 1.5rem; }
  .brand { max-width: calc(100% - 7rem); line-height: 1.3; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 1rem; }
  .topbar { margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; }
}

.identity-col {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
}

.identity-col h4 {
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.identity-col ul {
  list-style: none;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.identity-col li {
  padding: 0.35rem 0;
  padding-left: 1rem;
  position: relative;
}

.identity-col li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.identity-col.yes li::before { content: '✓'; color: var(--accent); font-size: 0.75rem; }
.identity-col.no li::before { content: '×'; color: #8a6a6a; font-size: 0.85rem; }

/* ecosystem */
.eco-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.eco-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: 0.2s;
}

.eco-chip:hover {
  border-color: var(--accent);
  color: var(--text);
}

.eco-chip strong { color: var(--text); font-weight: 600; }

/* contact */
.contact-box {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(61, 154, 139, 0.08) 100%);
  border: 1px solid rgba(61, 154, 139, 0.2);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
}

.contact-box p {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-meta span strong,
.contact-meta a {
  color: var(--text-secondary);
  text-decoration: none;
}

.contact-meta a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* footer */
footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-credit {
  margin-top: 0.45rem;
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
}

.footer-nav a {
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-disclaimer {
  margin-top: 0.85rem;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
  font-size: 0.72rem;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer a:hover { color: var(--accent); }
