/* ============================================================
   SITE CSS — 冠竞体育 · JBO ESPORTS
   文件：/assets/site.css
   作用：全站共享样式，包含头部、页脚、按钮、卡片等基础组件
   ============================================================ */

/* ---------- CSS 变量 ---------- */
:root {
  --c-deep: #0A0F1F;
  --c-navy: #121A2A;
  --c-purple: #8B5CF6;
  --c-blue: #00E5FF;
  --c-orange: #FF6B35;
  --c-text: #E6E8EC;
  --c-muted: #A78BFA;
  --c-divider: #232B3D;

  --font-title: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --font-body: 'Inter', 'Noto Sans SC', sans-serif;
  --font-data: 'Roboto Mono', 'SFMono-Regular', monospace;

  --sp-xs: 0.5rem;
  --sp-sm: 0.75rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;

  --container-max: 1440px;
  --header-h: 72px;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 0.2s;
  --dur-med: 0.4s;
  --dur-slow: 0.8s;
}

/* ---------- Reset ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background-color: var(--c-deep);
  background-image:
    radial-gradient(ellipse 60% 40% at 85% 0%, rgba(139, 92, 246, 0.12), transparent),
    radial-gradient(ellipse 40% 30% at 10% 12%, rgba(0, 229, 255, 0.06), transparent),
    linear-gradient(180deg, #0A0F1F 0%, #0D1425 50%, #0A0F1F 100%);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  line-height: 1.25;
  font-weight: 700;
  color: var(--c-text);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
p { color: var(--c-text); }
a { color: var(--c-blue); text-decoration: none; }
a:hover { color: var(--c-purple); }

ul, ol { list-style: none; }

/* ---------- 通用工具 ---------- */
.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;
}

#main-content {
  scroll-margin-top: calc(var(--header-h) + var(--sp-md));
}

/* ---------- 跳过链接 ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-md);
  z-index: 500;
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: linear-gradient(135deg, var(--c-purple), #6D28D9);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
  transition: top var(--dur-med) var(--ease-out);
}
.skip-link:focus {
  top: 0;
}

/* ============================================================
   内容容器
   ============================================================ */
.content-shell {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--sp-xl);
}

@media (max-width: 640px) {
  .content-shell {
    padding-inline: var(--sp-md);
  }
}

/* ============================================================
   头部（HUD 顶栏）
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(10, 15, 31, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-divider);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 24px rgba(139, 92, 246, 0.06);
}

.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple) 35%, transparent 70%);
  z-index: 2;
  pointer-events: none;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.35) 25%, rgba(0, 229, 255, 0.25) 75%, transparent);
  pointer-events: none;
}

.header-frame {
  position: relative;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-lg);
  min-height: var(--header-h);
}

/* --- 品牌 --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  justify-self: start;
  min-width: 0;
  text-decoration: none;
}

.brand__mark {
  position: relative;
  display: inline-block;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--c-purple), var(--c-blue));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.45));
}

.brand__mark::after {
  content: '';
  position: absolute;
  inset: 8px;
  background: var(--c-deep);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.brand__name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand__tagline {
  font-family: var(--font-data);
  font-size: 0.688rem;
  color: var(--c-blue);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- 导航 --- */
.nav {
  justify-self: center;
}

.nav__list {
  display: flex;
  gap: var(--sp-xs);
  align-items: center;
}

.nav__link {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0.9rem;
  font-family: var(--font-title);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-muted);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--dur-fast);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--c-text);
}

@media (min-width: 901px) {
  .nav__link::before,
  .nav__link::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--dur-fast), transform var(--dur-fast);
  }

  .nav__link::before {
    top: 0;
    left: 0;
    border-top: 1px solid var(--c-blue);
    border-left: 1px solid var(--c-blue);
    transform: translate(-3px, -3px);
  }

  .nav__link::after {
    bottom: 0;
    right: 0;
    border-bottom: 1px solid var(--c-blue);
    border-right: 1px solid var(--c-blue);
    transform: translate(3px, 3px);
  }

  .nav__link:hover::before,
  .nav__link:hover::after,
  .nav__link[aria-current="page"]::before,
  .nav__link[aria-current="page"]::after {
    opacity: 1;
    transform: translate(0, 0);
  }
}

/* --- 头部右侧动作区 --- */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  justify-self: end;
}

/* --- 移动导航按钮 --- */
.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 44px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}

.nav-toggle:hover {
  border-color: var(--c-blue);
  background: rgba(0, 229, 255, 0.06);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-text);
  transition: transform var(--dur-med) var(--ease-out), opacity var(--dur-fast), background var(--dur-fast);
}

.nav-toggle:hover .nav-toggle__bar {
  background: var(--c-blue);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(6px) 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(-6px) rotate(-45deg);
}

/* --- 滚动进度条 --- */
.header-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
  z-index: 3;
  background: rgba(139, 92, 246, 0.12);
}

.header-progress__bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple), var(--c-orange));
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.5);
  transition: width 60ms linear;
}

/* ============================================================
   按钮
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-purple), #6D28D9);
  color: #fff;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.5);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  border-color: var(--c-blue);
  color: var(--c-blue);
}

.btn-secondary:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.2);
  color: var(--c-blue);
}

.btn-ghost {
  background: transparent;
  border-color: var(--c-divider);
  color: var(--c-muted);
}

.btn-ghost:hover {
  border-color: var(--c-purple);
  color: var(--c-text);
}

.btn-subscribe {
  padding: 0.75rem 1.4rem;
  border-radius: 0 14px 0 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* ============================================================
   页脚（HUD 底部信息栏）
   ============================================================ */
.site-footer {
  position: relative;
  background: var(--c-deep);
  border-top: 1px solid var(--c-divider);
  margin-top: auto;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-blue), var(--c-purple) 40%, var(--c-orange) 75%, var(--c-purple));
  z-index: 1;
}

.footer-frame {
  position: relative;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: var(--sp-2xl);
  padding-block: var(--sp-2xl);
}

.footer-col {
  min-width: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-md);
}

.brand--footer .brand__mark {
  width: 40px;
  height: 40px;
  filter: none;
}

.brand--footer .brand__mark::after {
  inset: 9px;
}

.brand--footer .brand__name {
  font-size: 1.375rem;
}

.footer-brand__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--c-muted);
  max-width: 34ch;
}

.footer-brand__note {
  font-size: 0.8125rem;
  color: rgba(167, 139, 250, 0.6);
  letter-spacing: 0.04em;
}

.footer-heading {
  position: relative;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-xs);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--c-purple), var(--c-blue));
  border-radius: 2px;
}

.footer-nav__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav__link {
  position: relative;
  display: inline-block;
  font-size: 0.9375rem;
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--dur-fast), transform var(--dur-fast);
}

.footer-nav__link:hover {
  color: var(--c-blue);
  transform: translateX(4px);
}

.footer-contact__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-contact__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.footer-contact__value {
  font-size: 0.9375rem;
  color: var(--c-text);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid var(--c-divider);
  padding-block: var(--sp-md);
}

.footer-bottom__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-lg);
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--c-muted);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm) var(--sp-md);
}

.footer-legal__link {
  font-size: 0.875rem;
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.footer-legal__link:hover {
  color: var(--c-blue);
}

.footer-icp {
  margin-left: auto;
  font-family: var(--font-data);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(167, 139, 250, 0.55);
}

/* ============================================================
   面包屑
   ============================================================ */
.breadcrumb {
  padding: var(--sp-lg) 0;
}

.breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-xs);
}

.breadcrumb__link {
  font-size: 0.875rem;
  color: var(--c-muted);
  text-decoration: none;
  transition: color var(--dur-fast);
}

.breadcrumb__link:hover {
  color: var(--c-blue);
}

.breadcrumb__item + .breadcrumb__item::before {
  content: '/';
  margin-right: var(--sp-xs);
  color: var(--c-divider);
  font-size: 0.875rem;
}

.breadcrumb__item[aria-current="page"] {
  color: var(--c-text);
  font-size: 0.875rem;
}

/* ============================================================
   页面标题与导语
   ============================================================ */
.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--sp-md);
}

.page-desc {
  font-size: 1.125rem;
  color: var(--c-muted);
  max-width: 60ch;
  line-height: 1.7;
}

/* ============================================================
   卡片与面板
   ============================================================ */
.card {
  background: linear-gradient(160deg, rgba(18, 26, 42, 0.95), rgba(10, 15, 31, 0.92));
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-md);
  padding: var(--sp-lg);
  transition: border-color var(--dur-med), box-shadow var(--dur-med), transform var(--dur-med);
}

.card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
  transform: translateY(-3px);
}

.card--glow {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.12);
}

.card--glow:hover {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 32px rgba(139, 92, 246, 0.25);
  transform: translateY(-2px);
}

.panel {
  background: rgba(18, 26, 42, 0.82);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-sm);
  padding: var(--sp-md);
}

/* ============================================================
   数据组件
   ============================================================ */
.data-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-lg);
}

.data-number {
  display: block;
  font-family: var(--font-data);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-blue);
}

.data-number--purple {
  color: var(--c-purple);
}

.data-number--orange {
  color: var(--c-orange);
}

.data-label {
  display: block;
  margin-top: var(--sp-xs);
  font-size: 0.8125rem;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   徽章与标签
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.06em;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--c-muted);
  border: 1px solid rgba(139, 92, 246, 0.25);
}

.badge--hot {
  background: rgba(255, 107, 53, 0.14);
  color: var(--c-orange);
  border-color: rgba(255, 107, 53, 0.32);
}

.tag-box {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
}

/* ============================================================
   区块标题
   ============================================================ */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-md);
  margin-bottom: var(--sp-lg);
}

.section-head__title {
  position: relative;
  padding-left: var(--sp-md);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
}

.section-head__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 4px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--c-purple), var(--c-blue));
}

.section-head__note {
  font-size: 0.875rem;
  color: var(--c-muted);
  text-align: right;
}

/* ============================================================
   图片容器
   ============================================================ */
.media-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--c-divider);
  background:
    linear-gradient(135deg, rgba(139, 92, 246, 0.14) 0%, transparent 50%),
    linear-gradient(315deg, rgba(0, 229, 255, 0.08) 0%, transparent 50%),
    var(--c-navy);
  aspect-ratio: 16 / 9;
}

.media-frame__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(167, 139, 250, 0.45);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-data);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.media-frame:hover img {
  transform: scale(1.04);
}

.media-frame__caption {
  position: absolute;
  left: var(--sp-sm);
  bottom: var(--sp-sm);
  z-index: 1;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  color: var(--c-text);
  background: rgba(10, 15, 31, 0.72);
  border: 1px solid var(--c-divider);
  border-radius: var(--radius-sm);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.media-frame--portrait {
  aspect-ratio: 3 / 4;
}

.media-frame--wide {
  aspect-ratio: 21 / 9;
}

/* ============================================================
   返回顶部
   ============================================================ */
.back-top {
  position: fixed;
  right: var(--sp-lg);
  bottom: var(--sp-lg);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px 0 12px 0;
  background: linear-gradient(135deg, var(--c-purple), #6D28D9);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity var(--dur-med), visibility var(--dur-med), transform var(--dur-med), box-shadow var(--dur-med);
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.55);
}

.back-top__icon {
  display: block;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid #fff;
}

/* ============================================================
   滚动渐入
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   响应式：平板与移动端
   ============================================================ */
@media (max-width: 1080px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-xl);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-sm);
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    padding: calc(var(--header-h) + var(--sp-xl)) var(--sp-xl) var(--sp-xl);
    background: rgba(10, 15, 31, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--c-divider);
    box-shadow: -20px 0 40px rgba(0, 0, 0, 0.5);
    transform: translateX(100%);
    transition: transform var(--dur-med) var(--ease-out);
    z-index: 95;
    overflow-y: auto;
  }

  .nav[data-open] {
    transform: translateX(0);
  }

  .nav::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--c-blue), var(--c-purple) 50%, var(--c-orange));
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: var(--sp-sm);
  }

  .nav__link {
    display: block;
    padding: var(--sp-sm) var(--sp-md);
    font-size: 1.125rem;
    border-bottom: 1px solid var(--c-divider);
  }

  .nav__link::before,
  .nav__link::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .brand__name {
    font-size: 1.125rem;
  }

  .brand__tagline {
    font-size: 0.625rem;
  }

  .btn-subscribe {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
    padding-block: var(--sp-xl);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-sm);
  }

  .footer-icp {
    margin-left: 0;
  }
}

/* ============================================================
   可访问性
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--c-blue);
  outline-offset: 2px;
  border-radius: 2px;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .nav {
    transition: none;
  }
}
