@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* ===== 基础变量 ===== */
:root {
  --c-white: #ffffff;
  --c-bg: #f5f5f5;
  --c-ink: #1f1f1f;
  --c-ink-60: rgba(31,31,31,0.6);
  --c-ink-30: rgba(31,31,31,0.3);
  --c-ink-10: rgba(31,31,31,0.08);
  --c-border: rgba(31,31,31,0.12);
  --c-accent: #1f1f1f;
  --c-accent-light: #3a3a3a;

  --shadow-sm: 0 1px 3px rgba(31,31,31,0.08), 0 1px 2px rgba(31,31,31,0.06);
  --shadow-md: 0 4px 12px rgba(31,31,31,0.10), 0 2px 6px rgba(31,31,31,0.07);
  --shadow-lg: 0 8px 24px rgba(31,31,31,0.12), 0 4px 12px rgba(31,31,31,0.08);
  --shadow-xl: 0 20px 48px rgba(31,31,31,0.16), 0 8px 20px rgba(31,31,31,0.10);

  --radius: 18px;
  --radius-sm: 10px;
  --radius-xs: 6px;

  --header-h: 104px;

  --font-body: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;

  --z-base: 1;
  --z-card: 2;
  --z-aside: 3;
  --z-header: 4;
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, menu { list-style: none; }
button, summary { cursor: pointer; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

/* ===== 容器 ===== */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== 网站骨架 ===== */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: var(--z-base);
}
.site-main {
  flex: 1;
  position: relative;
  z-index: var(--z-base);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--c-white);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-brand-row {
  padding: 14px 0 10px;
  border-bottom: 1px solid var(--c-ink-10);
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--c-ink);
  text-decoration: none;
}
.brand-link:hover { text-decoration: none; opacity: 0.8; }
.brand-logo-img { width: 32px; height: 32px; border-radius: 6px; }
.brand-name { line-height: 1.2; }

.header-nav-row { padding: 8px 0; }

/* ===== 导航 details/summary/menu ===== */
.nav-details { position: relative; }
.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--c-ink);
  min-height: 40px;
  background: none;
  border: none;
}
.nav-toggle-icon {
  width: 20px; height: 14px;
  position: relative;
  flex-shrink: 0;
}
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.25s;
}
.nav-toggle-icon::before { top: 2px; }
.nav-toggle-icon::after { bottom: 2px; }
.nav-details[open] .nav-toggle-icon::before { transform: translateY(4px) rotate(45deg); }
.nav-details[open] .nav-toggle-icon::after { transform: translateY(-4px) rotate(-45deg); }

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  align-items: center;
}
.nav-menu li a {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--c-ink-60);
  border-radius: var(--radius-xs);
  transition: background 0.18s, color 0.18s;
  min-height: 40px;
  white-space: nowrap;
}
.nav-menu li a:hover,
.nav-menu li a[aria-current="page"] {
  background: var(--c-ink-10);
  color: var(--c-ink);
  text-decoration: none;
}

/* ===== Hero ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--c-white);
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(31,31,31,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,31,31,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: center center;
}
.hero-content {
  position: relative;
  z-index: var(--z-card);
  max-width: 760px;
}
.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-60);
  margin-bottom: 20px;
  padding: 4px 12px;
  border: 1px solid var(--c-border);
  display: inline-block;
  border-radius: 4px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
}
.hero-h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: 24px;
}
.hero-desc {
  font-size: 1.125rem;
  color: var(--c-ink-60);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--c-ink);
  color: var(--c-white);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  min-height: 48px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--c-accent-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  text-decoration: none;
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--c-white);
  color: var(--c-ink);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  min-height: 48px;
  transition: box-shadow 0.2s, transform 0.2s, background 0.2s;
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background: var(--c-bg);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}

/* ===== 次级页面 Hero ===== */
.page-hero {
  position: relative;
  padding: 80px 0 60px;
  background: var(--c-white);
  overflow: hidden;
  border-bottom: 1px solid var(--c-border);
}
.page-hero .hero-grid-bg {
  opacity: 0.5;
}
.page-hero .container { position: relative; z-index: var(--z-card); }
.page-hero .hero-eyebrow { margin-bottom: 16px; }
.page-h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1rem;
  color: var(--c-ink-60);
  max-width: 640px;
  line-height: 1.6;
}
.page-hero--compact { padding: 56px 0 44px; }

.page-date {
  display: inline-block;
  font-size: 0.8125rem;
  color: var(--c-ink-60);
  margin-top: 10px;
  margin-right: 12px;
}
.mod-date { color: var(--c-ink-30); }

/* ===== 内容与侧边栏布局 ===== */
.content-with-aside {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.page-aside {
  flex: 0 0 220px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
  z-index: var(--z-aside);
  order: -1;
}
.aside-inner {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
}
.aside-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-60);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}
.aside-links { display: flex; flex-direction: column; gap: 4px; }
.aside-links li a {
  display: block;
  padding: 7px 10px;
  font-size: 0.875rem;
  color: var(--c-ink-60);
  border-radius: var(--radius-xs);
  transition: background 0.15s, color 0.15s;
  min-height: 40px;
  line-height: 1.5;
}
.aside-links li a:hover {
  background: var(--c-ink-10);
  color: var(--c-ink);
  text-decoration: none;
}
.aside-extra { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--c-border); }
.aside-cta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-ink);
  text-decoration: none;
}
.aside-cta:hover { text-decoration: underline; }

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

/* ===== 正文 prose ===== */
.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--c-ink);
}
.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.2em 0 0.6em;
  letter-spacing: -0.01em;
}
.prose h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.8em 0 0.5em;
}
.prose p { margin-bottom: 1.2em; }
.prose ul, .prose ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--c-ink); border-bottom: 1px solid var(--c-border); }
.prose a:hover { border-bottom-color: var(--c-ink); text-decoration: none; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-size: 0.9375rem;
}
.prose th, .prose td {
  padding: 10px 14px;
  border: 1px solid var(--c-border);
  text-align: left;
}
.prose th { background: var(--c-bg); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--c-ink);
  margin: 1.5em 0;
  padding: 12px 20px;
  background: var(--c-bg);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
}
.prose blockquote p { margin: 0; color: var(--c-ink-60); }

/* ===== 通用 div 间距 ===== */
.page-intro-section { padding: 48px 0; }
.page-content-section { padding: 48px 0 32px; }

/* ===== 区块标题 ===== */
.section-title {
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--c-ink);
}
.subtitle {
  font-size: 0.9375rem;
  color: var(--c-ink-60);
  line-height: 1.6;
  margin-bottom: 32px;
}

/* ===== 首页 Feature 卡片网格 ===== */
.features-section { padding: 64px 0; background: var(--c-bg); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.feature-card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  z-index: var(--z-card);
  overflow: hidden;
}
.feature-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px) translateZ(0);
}
.card-inner { padding: 28px 24px; }
.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}
.card-title a { color: var(--c-ink); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-desc {
  font-size: 0.875rem;
  color: var(--c-ink-60);
  line-height: 1.6;
  margin-bottom: 16px;
}
.card-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-ink-30);
}
.card-link:hover { border-bottom-color: var(--c-ink); text-decoration: none; }

/* ===== 排行预览 ===== */
.ranking-preview-section { padding: 64px 0; background: var(--c-white); }
.ranking-preview-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.rank-card {
  background: var(--c-bg);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid var(--c-border);
}
.rank-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.rank-card h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 8px; }
.rank-card h3 a { color: var(--c-ink); }
.rank-card p { font-size: 0.875rem; color: var(--c-ink-60); line-height: 1.5; }

/* ===== 子页列表（排行榜页）===== */
.children-section { padding: 64px 0; background: var(--c-bg); }
.child-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.child-card {
  background: var(--c-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 0;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
  z-index: var(--z-card);
}
.child-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px) translateZ(0);
}
.child-thumb-wrap {
  flex: 0 0 200px;
  overflow: hidden;
}
.child-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.child-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.rank-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--c-white);
  background: var(--c-ink);
  padding: 2px 10px;
  border-radius: 4px;
  display: inline-block;
  align-self: flex-start;
}
.child-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}
.child-card-title a { color: var(--c-ink); }
.child-card-title a:hover { text-decoration: underline; }
.child-card-desc {
  font-size: 0.9375rem;
  color: var(--c-ink-60);
  line-height: 1.6;
  flex: 1;
}
.child-card-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-ink);
  align-self: flex-start;
  border-bottom: 1px solid var(--c-border);
}
.child-card-link:hover { border-bottom-color: var(--c-ink); text-decoration: none; }

/* ===== Review ===== */
.review-header-section { padding: 48px 0 32px; background: var(--c-white); border-bottom: 1px solid var(--c-border); }
.breadcrumb { margin-bottom: 20px; }
.breadcrumb-link { font-size: 0.875rem; color: var(--c-ink-60); }
.breadcrumb-link:hover { color: var(--c-ink); text-decoration: none; border-bottom: 1px solid var(--c-border); }
.review-hero-wrap {
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-height: 360px;
}
.review-hero-img { width: 100%; height: 100%; object-fit: cover; }
.review-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-ink-60);
  margin-bottom: 12px;
}
.review-body-section { padding: 48px 0; }
.review-dates { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }

.related-section { padding: 64px 0; background: var(--c-bg); }
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}
.related-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1px solid var(--c-border);
}
.related-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.related-card h3 { font-size: 0.9375rem; font-weight: 600; margin-bottom: 8px; }
.related-card h3 a { color: var(--c-ink); }
.related-card p { font-size: 0.875rem; color: var(--c-ink-60); }

/* ===== Compare ===== */
.compare-hero { background: var(--c-white); }
.compare-intro-section { padding: 48px 0; }
.compare-summary-section { padding: 64px 0; background: var(--c-bg); }
.compare-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}
.compare-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.compare-card:hover { box-shadow: var(--shadow-xl); transform: translateY(-4px); }
.compare-card--paid {
  background: var(--c-ink);
  color: var(--c-white);
  border-color: var(--c-ink);
}
.compare-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.7;
}
.compare-card-points { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.compare-card-points li {
  font-size: 0.9375rem;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.compare-card-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.5;
}

/* ===== FAQ ===== */
.faq-hero { background: var(--c-white); }
.faq-body-section { padding: 48px 0; }
.faq-nav-section { padding: 64px 0; background: var(--c-bg); }
.faq-nav-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.faq-nav-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: var(--c-ink);
}
.faq-nav-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  text-decoration: none;
}
.faq-nav-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-60);
}
.faq-nav-card-title { font-size: 1rem; font-weight: 600; }

/* ===== About ===== */
.about-hero { background: var(--c-white); }
.about-body-section { padding: 48px 0; }
.about-links-section { padding: 64px 0; background: var(--c-bg); }
.about-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.about-info-card {
  background: var(--c-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-border);
  transition: box-shadow 0.2s, transform 0.2s;
}
.about-info-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.about-info-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  color: var(--c-ink-60);
}
.about-info-card p:last-child { font-size: 0.9375rem; line-height: 1.6; color: var(--c-ink); }

/* ===== Privacy ===== */
.privacy-hero { background: var(--c-white); }
.privacy-body-section { padding: 48px 0; }

/* ===== Footer ===== */
.site-footer {
  background: var(--c-ink);
  color: var(--c-white);
  position: relative;
  z-index: var(--z-base);
}
.footer-cta {
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}
.footer-cta-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--c-white);
}
.footer-cta .subtitle {
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}
.footer-cta-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--c-white);
  color: var(--c-ink);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  min-height: 48px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-md);
}
.footer-cta-btn:hover {
  background: var(--c-bg);
  box-shadow: var(--shadow-xl);
  transform: translateY(-2px);
  text-decoration: none;
}
.footer-cols { padding: 48px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.footer-col ul li a:hover { color: var(--c-white); text-decoration: none; }
.footer-bottom { padding: 20px 0; }
.footer-copy { font-size: 0.8125rem; color: rgba(255,255,255,0.4); }

/* ===== Reveal 动效 ===== */
.reveal-card {
  opacity: 0;
  transform: translateY(24px) translateZ(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.25s, transform 0.25s;
}
.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

/* ===== 面包屑 ===== */
.breadcrumb { font-size: 0.875rem; }

/* ===== 滚动条 ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--c-bg); }
::-webkit-scrollbar-thumb { background: var(--c-ink-30); border-radius: 3px; }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .content-with-aside { flex-direction: column; }
  .page-aside {
    flex: none;
    width: 100%;
    position: static;
    order: 0;
  }
  .aside-inner { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
  .aside-heading { width: 100%; }
  .aside-links { flex-direction: row; flex-wrap: wrap; }
  .aside-links li a { white-space: nowrap; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .child-thumb-wrap { flex: 0 0 140px; }
}

@media (max-width: 640px) {
  .nav-toggle { display: inline-flex; }
  .nav-details:not([open]) .nav-menu { display: none; }
  .nav-details[open] .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-white);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    z-index: var(--z-header);
    margin-top: 4px;
  }
  .nav-details[open] .nav-menu li a { padding: 10px 14px; min-height: 44px; width: 100%; }
  .header-nav-row { position: relative; }

  .hero-section { padding: 80px 0 60px; min-height: auto; }
  .hero-h1 { font-size: 1.75rem; }
  .hero-desc { font-size: 1rem; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; min-height: 48px; }

  .page-hero { padding: 56px 0 40px; }
  .features-section, .ranking-preview-section, .children-section, .related-section,
  .compare-summary-section, .faq-nav-section, .about-links-section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .child-card { flex-direction: column; }
  .child-thumb-wrap { flex: none; height: 180px; }
  .compare-cards-row { grid-template-columns: 1fr; }
  .footer-cta { padding: 48px 0 40px; }
  .section-title { font-size: 1.3rem; }
}

/* ===== prefers-reduced-motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
  .reveal-card {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.01ms !important;
  }
}
