:root {
  --bg: #ffffff;
  --bg-subtle: #f5f8ff;
  --bg-elevated: #eef3fc;
  --surface: rgba(26, 108, 255, 0.04);
  --surface-strong: rgba(26, 108, 255, 0.08);
  --border: rgba(15, 23, 42, 0.1);
  --text: #0f172a;
  --text-muted: #64748b;
  /* 品牌主色（参考 #1A6CFF） */
  --brand-primary: #1a6cff;
  --brand-primary-deep: #0f58e6;
  --brand-primary-ink: #0a3d99;
  --accent: var(--brand-primary);
  --accent-bright: #4d88ff;
  --accent-deep: #0b4fc4;
  --accent-dim: rgba(26, 108, 255, 0.12);
  --accent-2: var(--brand-primary-deep);
  --on-accent: #ffffff;
  /* 与 Logo / 标语一致 */
  --brand-logo-blue: var(--brand-primary);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 20px rgba(26, 108, 255, 0.07);
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --header-h: 68px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 70% at 50% -15%, rgba(26, 108, 255, 0.1), transparent 52%),
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(26, 108, 255, 0.07), transparent 48%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-subtle) 100%);
}

.visually-hidden {
  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;
  left: 12px;
  top: -100px;
  z-index: 1000;
  padding: 10px 16px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo {
  display: block;
  height: 50px;
  width: auto;
  max-width: min(220px, 40vw);
  object-fit: contain;
  box-shadow: none;
  filter: none;
  flex-shrink: 0;
}


/* 较导航约小一档；颜色与 Logo 主色一致 */
.brand-sep,
.brand-tagline {
  font-size: 0.8125rem;
  line-height: 1.2;
  color: var(--brand-logo-blue);
}

.brand:hover .brand-sep,
.brand:hover .brand-tagline {
  color: var(--brand-primary-deep);
}

.brand-sep {
  font-weight: 700;
  padding: 0 0.1em;
  user-select: none;
}

.brand-tagline {
  font-weight: 500;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .brand-tagline {
    letter-spacing: 0.02em;
    font-size: 0.75rem;
  }

  .brand-sep {
    font-size: 0.75rem;
  }
}

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

.tab-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.tab-btn:hover {
  color: var(--text);
  background: var(--surface);
}

.tab-btn.is-active {
  color: var(--on-accent);
  background: var(--accent);
  border-color: rgba(26, 108, 255, 0.35);
}

.tab-btn--cta {
  border-color: var(--border);
}

.tab-btn--cta.is-active {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-2));
  border-color: transparent;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

.main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 20px 80px;
}

.tab-panel[hidden] {
  display: none !important;
}

/* 默认可见，避免仅依赖入场动画（部分环境下动画未结束时整页像「空白」） */
.tab-panel {
  opacity: 1;
}

.tab-panel.is-active {
  animation: tabFadeIn 0.35s ease;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero {
  padding: 24px 0 8px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

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

.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--brand-primary), var(--accent-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lede {
  color: var(--text-muted);
  max-width: 52ch;
  margin: 0 0 28px;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: var(--on-accent);
  box-shadow: 0 8px 28px rgba(26, 108, 255, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(26, 108, 255, 0.38);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-strong);
}

.btn-block {
  width: 100%;
}

.hero-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

@media (max-width: 640px) {
  .hero-kpis {
    grid-template-columns: 1fr;
  }
}

.hero-kpis dt {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0 0 4px;
}

.hero-kpis dd {
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  min-height: 0;
}

/* 首页资质证明轮播 */
.certs-carousel {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.certs-carousel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-subtle);
}

.certs-carousel-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text);
}

.certs-carousel-toolbar {
  display: flex;
  gap: 6px;
}

.certs-carousel--single .certs-carousel-toolbar,
.certs-carousel--single .certs-dots {
  display: none;
}

.certs-nav-btn {
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 600;
  color: var(--brand-logo-blue);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.certs-nav-btn:hover {
  background: rgba(26, 108, 255, 0.08);
  border-color: rgba(26, 108, 255, 0.28);
}

.certs-nav-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.certs-viewport {
  overflow: hidden;
  background: #f8fafc;
  max-height: 540px;
}

@media (max-width: 640px) {
  .certs-viewport {
    max-height: 360px;
  }
}

.certs-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.certs-slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 0;
}

.certs-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.certs-slide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

.certs-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px 14px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.certs-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: var(--border);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.certs-dot.is-active {
  background: var(--brand-logo-blue);
  transform: scale(1.15);
}

.certs-dot:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.section {
  padding: 48px 0;
}

.section--tight {
  padding-top: 24px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.section-head--hero {
  padding-top: 16px;
}

.section-head--left {
  text-align: left;
  margin: 0 0 28px;
}

.section-head h2 {
  font-size: 1.75rem;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.card-grid {
  display: grid;
  gap: 16px;
}

.card-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .card-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .card-grid--4 {
    grid-template-columns: 1fr;
  }
}

.info-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: border-color 0.2s, transform 0.2s;
}

.info-card:hover {
  border-color: rgba(26, 108, 255, 0.45);
  transform: translateY(-2px);
}

.info-card h3 {
  margin: 12px 0 8px;
  font-size: 1.05rem;
}

.info-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.info-card-icon {
  font-size: 1.25rem;
  color: var(--accent);
  opacity: 0.8;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }
}

.solution-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.solution-card h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.solution-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list li {
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--brand-primary-ink);
  font-family: var(--font-mono);
}

/* ── 交付流程 Snake Layout ── */

.delivery-flow {
  max-width: 1040px;
  margin: 0 auto;
}

.delivery-flow-snake {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.delivery-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  width: 100%;
}

.delivery-row--top {
  padding-bottom: 8px;
}

.delivery-row--bottom {
  justify-content: center;
  width: 100%;
}

.df-step {
  flex: 1 1 0;
  min-width: 140px;
  max-width: 230px;
  padding: 24px 18px 22px;
  border-radius: var(--radius);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  cursor: default;
  overflow: hidden;
}

.df-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--accent-bright));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.df-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26, 108, 255, 0.13);
  border-color: rgba(26, 108, 255, 0.25);
}

.df-step:hover::before {
  opacity: 1;
}

.df-step:nth-child(1)::before,
.df-step[data-step="1"]::before { --tint: 1; }
.df-step[data-step="2"]::before { --tint: 1; }
.df-step[data-step="3"]::before { --tint: 1; }
.df-step[data-step="4"]::before { --tint: 1; }
.df-step[data-step="5"]::before { --tint: 1; }
.df-step[data-step="6"]::before { --tint: 1; }
.df-step[data-step="7"]::before { --tint: 1; }

.df-step-badge {
  width: 36px;
  height: 36px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  box-shadow: 0 4px 12px rgba(26, 108, 255, 0.2);
}

.df-step-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--on-accent);
  letter-spacing: 0.04em;
}

.df-step-icon {
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 8px;
  filter: grayscale(0);
}

.df-step-title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.df-step-desc {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* Arrow connectors between steps */
.df-connector {
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--accent);
  opacity: 0.5;
  user-select: none;
  line-height: 1;
}

/* Snake down connector between rows */
.delivery-snake-down {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 52px;
  margin: -6px 0 -4px;
}

.delivery-snake-line {
  width: 2px;
  flex: 1;
  background: linear-gradient(to bottom, var(--accent-dim), var(--accent));
  border-radius: 1px;
  opacity: 0.5;
}

.delivery-snake-arrow-v {
  font-size: 0.9rem;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
  padding: 2px 0;
}

.delivery-snake-line-h {
  display: none;
}

/* Responsive */
@media (max-width: 860px) {
  .delivery-row {
    flex-direction: column;
    gap: 12px;
  }

  .delivery-row--bottom {
    max-width: 100%;
  }

  .df-step {
    max-width: 340px;
    min-width: 0;
    width: 100%;
    padding: 20px 16px 18px;
  }

  .df-connector {
    transform: rotate(90deg);
    font-size: 1rem;
  }

  .delivery-snake-down {
    display: none;
  }
}

/* Entrance animation for steps */
.delivery-row--top .df-step,
.delivery-row--bottom .df-step {
  animation: stepSlideIn 0.5s ease both;
}

.delivery-row--top .df-step:nth-child(1) { animation-delay: 0.05s; }
.delivery-row--top .df-step:nth-child(2) { animation-delay: 0.1s; }
.delivery-row--top .df-step:nth-child(3) { animation-delay: 0.15s; }
.delivery-row--top .df-step:nth-child(4) { animation-delay: 0.2s; }
.delivery-row--bottom .df-step:nth-child(1) { animation-delay: 0.3s; }
.delivery-row--bottom .df-step:nth-child(2) { animation-delay: 0.35s; }
.delivery-row--bottom .df-step:nth-child(3) { animation-delay: 0.4s; }

@keyframes stepSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── 集成生态 ── */

.integ-section {
  margin-top: 64px;
}

.integ-section .section-head {
  margin-bottom: 36px;
}

.integ-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 860px) {
  .integ-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .integ-grid {
    grid-template-columns: 1fr;
  }
}

.integ-card {
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.integ-card:hover {
  border-color: rgba(26, 108, 255, 0.3);
  box-shadow: 0 8px 28px rgba(26, 108, 255, 0.08);
  transform: translateY(-2px);
}

.integ-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.integ-card-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.integ-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.integ-desc {
  margin: 0 0 14px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.integ-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.integ-tags li {
  font-size: 0.78rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-dim);
  color: var(--brand-primary-ink);
  font-weight: 500;
}

.scenario-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 720px) {
  .scenario-list {
    grid-template-columns: 1fr;
  }
}

.scenario-block {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(26, 108, 255, 0.07), rgba(255, 255, 255, 0.92) 44%);
}

.scenario-block h3 {
  margin: 0 0 10px;
}

.scenario-block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

.case-card {
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.case-card header {
  margin-bottom: 12px;
}

.case-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 8px;
}

.case-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.case-card p {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.case-value {
  color: var(--text) !important;
  margin-top: 12px !important;
}

.faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq details {
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  padding: 4px 16px 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 12px 0;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  color: var(--accent);
}

.faq p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
  padding-top: 8px;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label span {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(26, 108, 255, 0.45);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.form-note {
  font-size: 0.88rem;
  color: var(--accent);
  min-height: 1.5em;
}

.contact-aside {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}

.contact-aside h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.contact-aside-lede {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-aside p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.contact-channels {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-channel-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 108px;
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.contact-channel-btn:hover {
  border-color: rgba(26, 108, 255, 0.35);
  box-shadow: var(--shadow-sm);
}

.contact-channel-btn:focus-visible {
  outline: none;
  border-color: rgba(26, 108, 255, 0.45);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.contact-channel-btn:active {
  transform: scale(0.98);
}

.contact-channel-icon {
  display: block;
  flex-shrink: 0;
}

.contact-channel-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.contact-qr-dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: calc(100vw - 32px);
}

.contact-qr-dialog::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(4px);
}

.contact-qr-dialog-card {
  width: min(92vw, 320px);
  padding: 20px 20px 22px;
  border-radius: var(--radius);
  background: var(--bg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-qr-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.contact-qr-dialog-header h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.contact-qr-dialog-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.contact-qr-dialog-close:hover {
  color: var(--text);
  background: var(--bg-elevated);
}

.contact-qr-dialog-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.contact-qr-dialog-body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
}

.contact-qr-dialog-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  background: #fff;
}

.contact-aside hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 20px 0;
}

.site-footer {
  width: 100%;
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0;
}

.site-footer-surface {
  width: 100%;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #0e4078 0%, #061f3d 55%, #051428 100%);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 -8px 40px rgba(6, 31, 61, 0.25);
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px 32px;
}

.footer-keywords {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-kw-row {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  gap: 12px 20px;
  align-items: start;
  font-size: 0.875rem;
}

@media (max-width: 720px) {
  .footer-kw-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

.footer-kw-label {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
  white-space: nowrap;
  padding-top: 2px;
}

.footer-kw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 1.1rem;
  line-height: 1.5;
}

.footer-kw-tags a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-kw-tags a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-divider {
  height: 1px;
  margin: 22px 0 20px;
  background: rgba(255, 255, 255, 0.14);
}

.footer-legal {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.footer-legal-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.15rem 0;
}

.footer-legal-line--meta {
  margin-top: 10px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.62);
}

.footer-legal > .footer-legal-line--meta:first-child {
  margin-top: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-vsep {
  display: inline-block;
  padding: 0 0.4rem;
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

.footer-icp,
.footer-beian {
  color: rgba(255, 255, 255, 0.68);
}

/* Mobile nav */
@media (max-width: 1024px) {
  .tab-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  body.nav-open .tab-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--header-h) 12px auto 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    z-index: 60;
    align-items: stretch;
  }

  body.nav-open .tab-btn {
    justify-content: center;
    border-radius: var(--radius-sm);
  }

  body.nav-open .nav-toggle {
    border-color: var(--accent);
  }
}

.mono {
  font-family: var(--font-mono);
}
