@import url('https://fonts.googleapis.com/css2?family=Kalam:wght@400;700&family=Patrick+Hand&display=swap');

/* ===== 重置与基础 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --c-white: #ffffff;
  --c-light: #f5f5f5;
  --c-dark: #1f1f1f;
  --c-dark-80: rgba(31,31,31,0.80);
  --c-dark-60: rgba(31,31,31,0.60);
  --c-dark-20: rgba(31,31,31,0.20);
  --c-dark-10: rgba(31,31,31,0.10);
  --c-white-80: rgba(255,255,255,0.80);
  --c-white-60: rgba(255,255,255,0.60);
  --c-white-20: rgba(255,255,255,0.20);

  --shadow-sm: 0 2px 8px rgba(31,31,31,0.08);
  --shadow-md: 0 6px 20px rgba(31,31,31,0.12);
  --shadow-lg: 0 12px 40px rgba(31,31,31,0.16);
  --shadow-xl: 0 24px 64px rgba(31,31,31,0.22);

  --radius: 10px;
  --radius-lg: 20px;

  --font-hand: 'Kalam', 'Patrick Hand', cursive;
  --font-body: 'Patrick Hand', 'Kalam', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-h: 64px;
  --max-w: 1100px;
}

html {
  font-size: 17px;
  line-height: 1.65;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--c-light);
  color: var(--c-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--c-dark);
  text-decoration: none;
}

a:hover {
  opacity: 0.75;
}

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

ul, menu {
  list-style: none;
}

/* ===== 底部固定导航 ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--c-dark);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -4px 24px rgba(31,31,31,0.25);
  height: var(--nav-h);
}

.bottom-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  height: 100%;
  padding: 0 16px;
  position: relative;
}

.bottom-nav__brand {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-white);
  letter-spacing: 0.02em;
  white-space: nowrap;
  text-align: center;
  flex: 0 0 auto;
  padding: 0 12px;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.nav-dropdown {
  position: relative;
  flex: 1;
}

.nav-dropdown--left {
  display: flex;
  justify-content: flex-start;
}

.nav-dropdown--right {
  display: flex;
  justify-content: flex-end;
}

.nav-toggle {
  font-family: var(--font-hand);
  font-size: 0.95rem;
  color: var(--c-white-80);
  cursor: pointer;
  padding: 10px 14px;
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  user-select: none;
  list-style: none;
}

.nav-toggle::-webkit-details-marker {
  display: none;
}

.nav-toggle::after {
  content: '▾';
  margin-left: 4px;
  font-size: 0.75em;
  transition: transform 0.2s;
}

details[open] > .nav-toggle::after {
  transform: rotate(180deg);
}

.nav-toggle:hover {
  background: var(--c-white-20);
  color: var(--c-white);
}

.nav-menu {
  position: absolute;
  bottom: calc(var(--nav-h) + 8px);
  left: 0;
  background: var(--c-dark);
  border: 1px solid var(--c-white-20);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px;
  min-width: 220px;
  z-index: 101;
}

.nav-menu--right {
  left: auto;
  right: 0;
}

.nav-menu li a {
  display: block;
  padding: 10px 14px;
  color: var(--c-white-80);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
  min-height: 40px;
  display: flex;
  align-items: center;
}

.nav-menu li a:hover {
  background: var(--c-white-20);
  color: var(--c-white);
  opacity: 1;
}

/* ===== 网站包裹 ===== */
.site-wrapper {
  min-height: 100vh;
  padding-bottom: var(--nav-h);
}

/* ===== Hero 首页 ===== */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--c-dark);
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    135deg,
    rgba(31,31,31,0.82) 0%,
    rgba(31,31,31,0.45) 60%,
    rgba(31,31,31,0.20) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px 120px;
  text-align: left;
}

.hero__eyebrow {
  font-family: var(--font-hand);
  font-size: 0.9rem;
  color: var(--c-white-60);
  letter-spacing: 0.12em;
  margin-bottom: 16px;
  display: block;
}

.hero__h1 {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--c-white);
  line-height: 1.25;
  margin-bottom: 20px;
  max-width: 680px;
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--c-white-80);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  background: var(--c-white);
  color: var(--c-dark);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 50px;
  min-height: 48px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  opacity: 1;
}

.hero__arc {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 4;
  background: var(--c-light);
  border-radius: 50% 50% 0 0 / 80px 80px 0 0;
}

/* ===== 内页 Hero ===== */
.page-hero {
  position: relative;
  background: var(--c-dark);
  padding: 80px 32px 60px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.06) 0%, transparent 70%);
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
}

.page-hero__type {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 0.82rem;
  color: var(--c-white-60);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid var(--c-white-20);
  border-radius: 20px;
}

.page-hero__h1 {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: var(--c-white);
  line-height: 1.3;
  margin-bottom: 16px;
  max-width: 760px;
}

.page-hero__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== 文章 Hero ===== */
.article-hero {
  position: relative;
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c-dark);
}

.article-hero__img-wrap {
  position: absolute;
  inset: 0;
}

.article-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31,31,31,0.9) 0%, rgba(31,31,31,0.3) 100%);
  z-index: 2;
}

.article-hero__content {
  position: relative;
  z-index: 3;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 32px 80px;
  width: 100%;
}

.article-hero__type {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 0.82rem;
  color: var(--c-white-60);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid var(--c-white-20);
  border-radius: 20px;
}

.article-hero__h1 {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  color: var(--c-white);
  line-height: 1.3;
  margin-bottom: 16px;
  max-width: 760px;
}

.article-hero__meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== 关于页 Hero ===== */
.about-hero {
  position: relative;
  background: var(--c-dark);
  padding: 80px 32px 64px;
  overflow: hidden;
}

.about-hero__deco {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  z-index: 1;
}

.about-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-hero__type {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 0.82rem;
  color: var(--c-white-60);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid var(--c-white-20);
  border-radius: 20px;
}

.about-hero__h1 {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--c-white);
  line-height: 1.3;
  margin-bottom: 16px;
}

.about-hero__desc {
  color: var(--c-white-80);
  font-size: 1rem;
  max-width: 560px;
}

/* ===== 隐私页头 ===== */
.privacy-header {
  background: var(--c-dark);
  padding: 64px 32px 48px;
}

.privacy-header__content {
  max-width: var(--max-w);
  margin: 0 auto;
}

.privacy-header__type {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 0.82rem;
  color: var(--c-white-60);
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid var(--c-white-20);
  border-radius: 20px;
}

.privacy-header__h1 {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--c-white);
  margin-bottom: 12px;
}

/* ===== 日期 ===== */
.page-date {
  font-size: 0.85rem;
  color: var(--c-white-60);
  font-family: var(--font-body);
}

.page-date--mod {
  color: var(--c-white-50);
}

/* ===== 主内容区 ===== */
.main-content {
  position: relative;
  z-index: 2;
  padding: 48px 0 64px;
}

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* 正文容器：main > article.wrap > div > section */
.content-section {
  width: 100%;
}

/* ===== 卡片布局（首页） ===== */
.cards-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  margin-top: 40px;
}

/* ===== 侧边栏（在内容左侧） ===== */
.sidebar {
  flex: 0 0 220px;
  order: -1;
  position: sticky;
  top: 20px;
}

.sidebar__inner {
  background: var(--c-white);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-dark-10);
}

.sidebar__label {
  font-family: var(--font-hand);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-dark-60);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sidebar__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 16px;
}

.sidebar__links li a {
  display: block;
  padding: 7px 10px;
  font-size: 0.88rem;
  border-radius: 7px;
  color: var(--c-dark);
  transition: background 0.15s;
  min-height: 36px;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.sidebar__links li a:hover {
  background: var(--c-light);
  opacity: 1;
}

.sidebar__tag {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  background: var(--c-light);
  border-radius: 8px;
  font-size: 0.88rem;
}

.sidebar__tag strong {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1.1rem;
}

.sidebar__divider {
  height: 1px;
  background: var(--c-dark-10);
  margin: 14px 0;
}

/* ===== 玻璃拟态卡片 ===== */
.glass-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform 0.22s cubic-bezier(.4,0,.2,1), box-shadow 0.22s;
}

.glass-card:hover {
  transform: translateY(-3px) translateZ(0);
  box-shadow: var(--shadow-lg);
}

/* ===== 层级 ===== */
.layer-1 { z-index: 1; position: relative; }
.layer-2 { z-index: 2; position: relative; }
.layer-3 { z-index: 3; position: relative; }
.layer-4 { z-index: 4; position: relative; }

/* ===== 卡片主区 ===== */
.cards-main {
  flex: 1;
  min-width: 0;
}

/* ===== 区块标题 ===== */
.section-header {
  margin-bottom: 20px;
}

.section-header--spaced {
  margin-top: 48px;
}

.eyebrow-label {
  display: inline-block;
  font-family: var(--font-hand);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-dark-60);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.section-title {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
  color: var(--c-dark);
  line-height: 1.3;
}

.section-title--sm {
  font-size: 1.2rem;
}

/* ===== 卡片格栅 ===== */
.cards-grid {
  display: grid;
  gap: 18px;
}

.faq-grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.article-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.faq-card,
.article-card {
  padding: 0;
}

.card-link {
  display: flex;
  flex-direction: column;
  padding: 20px 20px 16px;
  height: 100%;
  min-height: 140px;
}

.card-link:hover {
  opacity: 1;
}

.card-eyebrow {
  font-family: var(--font-hand);
  font-size: 0.75rem;
  color: var(--c-dark-60);
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.faq-card h3,
.article-card h3 {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-dark);
  line-height: 1.4;
  margin-bottom: 8px;
  flex: 1;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--c-dark-60);
  line-height: 1.55;
  margin-bottom: 12px;
}

.card-arrow {
  font-family: var(--font-hand);
  font-size: 0.82rem;
  color: var(--c-dark-80);
  font-weight: 700;
  margin-top: auto;
}

/* ===== FAQ 布局 ===== */
.faq-main .content-section {
  padding: 0;
}

.faq-article {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.sidebar--faq {
  flex: 0 0 220px;
  order: -1;
  position: sticky;
  top: 20px;
}

.faq-body {
  flex: 1;
  min-width: 0;
}

.faq-answer-card {
  padding: 36px 36px 32px;
}

.faq-answer-inner {}

.faq-answer-title {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  color: var(--c-dark);
  margin-bottom: 24px;
}

.faq-nav-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 16px;
}

.faq-nav-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  background: var(--c-white);
  border: 1px solid var(--c-dark-20);
  border-radius: 50px;
  font-size: 0.85rem;
  font-family: var(--font-hand);
  color: var(--c-dark);
  min-height: 40px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
  max-width: 48%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.faq-nav-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  opacity: 1;
}

/* ===== 文章布局 ===== */
.article-main .content-section {}

.article-layout {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.article-body {
  flex: 1;
  min-width: 0;
}

.article-content-card {
  padding: 36px 36px 32px;
  margin-bottom: 36px;
}

.article-footer-links {
  margin-top: 8px;
}

.related-faqs {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.related-faq-item {
  padding: 0;
}

.related-faq-item a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  min-height: 48px;
}

.related-faq-item a:hover {
  opacity: 1;
}

.related-faq-label {
  font-family: var(--font-hand);
  font-size: 0.72rem;
  color: var(--c-dark-60);
  border: 1px solid var(--c-dark-20);
  border-radius: 4px;
  padding: 2px 7px;
  flex-shrink: 0;
}

.related-faq-title {
  font-size: 0.92rem;
  color: var(--c-dark);
  line-height: 1.4;
}

/* ===== 关于页布局 ===== */
.about-article {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.about-body {
  flex: 1;
  min-width: 0;
}

.about-content-card {
  padding: 36px 36px 32px;
  margin-bottom: 36px;
}

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

.stat-item {
  flex: 1;
  min-width: 100px;
  padding: 20px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 2rem;
  color: var(--c-dark);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--c-dark-60);
}

/* ===== 隐私页布局 ===== */
.privacy-article {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}

.privacy-body {
  flex: 1;
  min-width: 0;
}

.privacy-content-card {
  padding: 36px 36px 32px;
}

/* ===== 正文排版 ===== */
.prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-dark);
}

.prose h1,
.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--font-hand);
  font-weight: 700;
  color: var(--c-dark);
  margin: 1.6em 0 0.6em;
  line-height: 1.35;
}

.prose h2 { font-size: clamp(1.15rem, 2.2vw, 1.45rem); }
.prose h3 { font-size: clamp(1rem, 1.8vw, 1.22rem); }

.prose p {
  margin-bottom: 1.1em;
}

.prose ul,
.prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.1em;
}

.prose li {
  margin-bottom: 0.4em;
}

.prose a {
  color: var(--c-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  opacity: 0.7;
}

.prose strong {
  font-weight: 700;
}

.prose blockquote {
  border-left: 3px solid var(--c-dark-20);
  padding-left: 18px;
  color: var(--c-dark-60);
  font-style: italic;
  margin: 1.2em 0;
}

.prose code {
  background: var(--c-light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}

.prose pre {
  background: var(--c-dark);
  color: var(--c-white);
  padding: 18px 20px;
  border-radius: var(--radius);
  overflow-x: auto;
  margin-bottom: 1.2em;
}

/* ===== 首页正文内容 ===== */
.page-content {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--c-dark);
}

.prose-article {
  padding: 0;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--c-dark);
  margin-bottom: var(--nav-h);
}

.footer__cta-block {
  text-align: center;
  padding: 48px 24px 40px;
  border-bottom: 1px solid var(--c-white-20);
}

.footer__cta-text {
  font-family: var(--font-hand);
  font-size: 1.1rem;
  color: var(--c-white-80);
  margin-bottom: 18px;
}

.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--c-white);
  color: var(--c-dark);
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 50px;
  min-height: 48px;
  box-shadow: var(--shadow-md);
  transition: transform 0.2s, box-shadow 0.2s;
}

.footer__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  opacity: 1;
}

.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__brand {
  display: flex;
  align-items: center;
}

.footer__logo {
  border-radius: 6px;
}

.footer__brand-text {
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--c-white-80);
}

.footer__nav {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.footer__nav a {
  color: var(--c-white-60);
  font-size: 0.85rem;
  padding: 8px 12px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}

.footer__nav a:hover {
  color: var(--c-white);
  background: var(--c-white-20);
  opacity: 1;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--c-white-60);
  white-space: nowrap;
}

/* ===== 动效 ===== */
@media (prefers-reduced-motion: no-preference) {
  .glass-card {
    transition: transform 0.22s cubic-bezier(.4,0,.2,1), box-shadow 0.22s;
  }

  .hero__content {
    animation: fadeUp 0.7s cubic-bezier(.4,0,.2,1) both;
  }

  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .page-hero__content,
  .article-hero__content,
  .about-hero__content,
  .privacy-header__content {
    animation: fadeUp 0.5s cubic-bezier(.4,0,.2,1) both;
  }
}

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

/* ===== 响应式断点 ===== */
@media (max-width: 860px) {
  .cards-layout {
    flex-direction: column;
  }

  .sidebar {
    position: static;
    flex: 0 0 auto;
    width: 100%;
    order: 0;
  }

  .sidebar__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
  }

  .sidebar__links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
  }

  .faq-article,
  .article-layout,
  .about-article,
  .privacy-article {
    flex-direction: column;
  }

  .sidebar--faq {
    position: static;
    width: 100%;
    flex: 0 0 auto;
  }

  .faq-answer-card,
  .article-content-card,
  .about-content-card,
  .privacy-content-card {
    padding: 24px 20px 20px;
  }
}

@media (max-width: 600px) {
  :root {
    --nav-h: 60px;
  }

  .hero__content {
    padding: 60px 20px 100px;
  }

  .hero__h1 {
    font-size: 1.8rem;
  }

  .page-hero {
    padding: 60px 20px 40px;
  }

  .article-hero__content {
    padding: 40px 20px 70px;
  }

  .about-hero {
    padding: 60px 20px 48px;
  }

  .privacy-header {
    padding: 48px 20px 36px;
  }

  .wrap {
    padding: 0 14px;
  }

  .main-content {
    padding: 32px 0 48px;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .article-grid {
    grid-template-columns: 1fr;
  }

  .stats-row {
    flex-direction: row;
  }

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

  .faq-nav-btn {
    max-width: 100%;
    justify-content: center;
  }

  .footer__bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 16px;
  }

  .bottom-nav__brand {
    font-size: 0.9rem;
    padding: 0 8px;
  }

  .nav-toggle {
    font-size: 0.85rem;
    padding: 8px 10px;
  }
}

@media (max-width: 375px) {
  .hero__h1 {
    font-size: 1.55rem;
  }

  .page-hero__h1,
  .article-hero__h1,
  .about-hero__h1,
  .privacy-header__h1 {
    font-size: 1.35rem;
  }
}
