/* ============================================================
   精二精一导航 · Dimensional Layering 三维层叠风格
   配色: #ffffff / #f5f5f5 / #1f1f1f
   字体: Righteous + Poppins
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Righteous&display=swap');

/* ── 变量 ────────────────────────────────────────────────── */
:root {
  --c-white:   #ffffff;
  --c-light:   #f5f5f5;
  --c-dark:    #1f1f1f;
  --c-gray:    #888888;
  --c-mid:     #cccccc;
  --c-accent:  #2d2d2d;
  --c-border:  #e0e0e0;
  --c-slash:   #1f1f1f;

  --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 14px 40px rgba(31,31,31,0.18);
  --shadow-xl: 0 24px 64px rgba(31,31,31,0.26);

  --radius-card: 18px;
  --radius-btn:  8px;

  --font-head: 'Righteous', 'Poppins', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, -apple-system, sans-serif;

  --z-base: 1;
  --z-card: 2;
  --z-float: 3;
  --z-overlay: 100;
  --z-nav: 200;
  --z-menu: 300;

  --header-h: 68px;
  --announce-h: 36px;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-dark);
  background: var(--c-white);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── 公告条 ─────────────────────────────────────────────── */
.announce-bar {
  position: relative;
  z-index: var(--z-nav);
  background: var(--c-dark);
  color: var(--c-white);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0 1rem;
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── 顶部导航 ────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}

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

.nav-side {
  flex: 1;
  display: flex;
  align-items: center;
}
.nav-side--left { justify-content: flex-end; }
.nav-side--right { justify-content: flex-start; }

.header-nav ol {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.header-nav ol li a {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.6rem;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--c-dark);
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  min-height: 40px;
}
.header-nav ol li a:hover {
  background: var(--c-light);
  text-decoration: none;
}

.brand-center {
  flex-shrink: 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-img { width: 36px; height: 36px; border-radius: 8px; }
.brand-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--c-dark);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* ── 汉堡按钮 ────────────────────────────────────────────── */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--c-border);
  background: var(--c-white);
  position: relative;
  z-index: calc(var(--z-menu) + 1);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--c-dark);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 全屏遮罩菜单 ────────────────────────────────────────── */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  background: var(--c-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.fullscreen-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}
.fullscreen-menu nav ol {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-align: center;
}
.fullscreen-menu nav ol li a {
  display: block;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--c-white);
  padding: 0.75rem 2rem;
  border-radius: 8px;
  min-height: 48px;
  transition: background 0.18s;
}
.fullscreen-menu nav ol li a:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}
.menu-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 1.5rem;
  color: var(--c-white);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s;
}
.menu-close:hover { background: rgba(255,255,255,0.15); }

/* ── Hero 区域 ───────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 70vh;
  background: var(--c-light);
  overflow: hidden;
  display: flex;
  align-items: center;
  z-index: var(--z-base);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: var(--z-card);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-start;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-gray);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 0.3rem 0.9rem;
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.2;
  color: var(--c-dark);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1rem;
  color: #555;
  max-width: 480px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.hero-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: var(--z-card);
  transform: translateZ(0);
}

.hero-placeholder {
  width: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, var(--c-mid) 0%, var(--c-dark) 100%);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-xl);
}

.hero-float-card {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  z-index: var(--z-float);
  background: var(--c-dark);
  color: var(--c-white);
  border-radius: var(--radius-card);
  padding: 1rem 1.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transform: translateZ(20px);
}
.float-num {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.float-label {
  font-size: 0.72rem;
  opacity: 0.75;
  letter-spacing: 0.05em;
}

/* Hero 斜切色带 */
.hero-slash {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--c-white);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
  z-index: var(--z-card);
}

/* ── 页面横幅 Banner ─────────────────────────────────────── */
.page-banner {
  position: relative;
  padding: 4rem 2rem 5rem;
  background: var(--c-dark);
  overflow: hidden;
}
.page-banner--compare { background: linear-gradient(135deg, #1f1f1f 60%, #3a3a3a 100%); }
.page-banner--ranking { background: linear-gradient(135deg, #1f1f1f 50%, #2d2d2d 100%); }
.page-banner--review  { background: linear-gradient(135deg, #2a2a2a 50%, #1f1f1f 100%); }
.page-banner--about   { background: var(--c-dark); }
.page-banner--privacy { background: var(--c-dark); }

.page-banner-inner {
  max-width: 860px;
  margin: 0 auto;
  position: relative;
  z-index: var(--z-card);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.page-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 0.25rem 0.8rem;
  width: fit-content;
}

.page-banner-h1 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3.5vw, 2.6rem);
  line-height: 1.25;
  color: var(--c-white);
  letter-spacing: -0.01em;
}

.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}
.article-meta time + time::before {
  content: '·';
  margin-right: 1rem;
}

.banner-slash {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--c-white);
  clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
  z-index: var(--z-card);
}

/* ── 粘性锚点条 ──────────────────────────────────────────── */
.sticky-anchor {
  position: sticky;
  top: var(--header-h);
  z-index: calc(var(--z-nav) - 1);
  background: rgba(245,245,245,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
}
.anchor-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 44px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  overflow-x: auto;
  white-space: nowrap;
}
.anchor-label {
  font-weight: 600;
  color: var(--c-gray);
  flex-shrink: 0;
}
.anchor-inner a {
  color: var(--c-dark);
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  transition: background 0.15s;
  flex-shrink: 0;
}
.anchor-inner a:hover {
  background: var(--c-border);
  text-decoration: none;
}

/* ── 主体布局 ────────────────────────────────────────────── */
.site-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}

.site-main--with-aside {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2.5rem;
  align-items: start;
}

/* 正文区 section > article */
.content-article {
  min-width: 0;
}
.content-section {
  position: relative;
  z-index: var(--z-base);
}

/* ── 内容正文样式 ────────────────────────────────────────── */
.content-section h2,
.home-article h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--c-dark);
  margin: 2rem 0 0.25rem;
  letter-spacing: -0.01em;
}
.content-section h3,
.home-article h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--c-dark);
  margin: 1.5rem 0 0.5rem;
}
.content-section p,
.home-article p {
  margin: 0.75rem 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #333;
}
.content-section ul,
.content-section ol,
.home-article ul,
.home-article ol {
  margin: 0.75rem 0 0.75rem 1.5rem;
  list-style: disc;
}
.content-section ol,
.home-article ol { list-style: decimal; }
.content-section li,
.home-article li { margin: 0.35rem 0; line-height: 1.7; }
.content-section hr,
.home-article hr {
  border: none;
  border-top: 2px solid var(--c-border);
  margin: 0.5rem 0 1.25rem;
}
.content-section a,
.home-article a {
  color: var(--c-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.content-section table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.content-section th,
.content-section td {
  border: 1px solid var(--c-border);
  padding: 0.6rem 0.9rem;
  text-align: left;
}
.content-section th {
  background: var(--c-light);
  font-weight: 600;
}
.content-section tr:nth-child(even) td { background: #fafafa; }

/* ── 侧边栏 ─────────────────────────────────────────────── */
.site-aside {
  position: sticky;
  top: calc(var(--header-h) + 1rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.aside-block {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.5rem;
  position: relative;
  z-index: var(--z-card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}
.aside-block:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.aside-block h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--c-dark);
  margin-bottom: 0.5rem;
}
.aside-block hr {
  border: none;
  border-top: 1px solid var(--c-border);
  margin: 0.5rem 0 0.75rem;
}
.aside-block ul li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--c-light);
}
.aside-block ul li:last-child { border-bottom: none; }
.aside-block ul li a {
  font-size: 0.88rem;
  color: var(--c-dark);
  display: block;
  padding: 0.2rem 0;
  transition: color 0.15s;
}
.aside-block ul li a:hover {
  color: #555;
  text-decoration: none;
}
.aside-block p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #555;
  margin: 0.5rem 0 0.75rem;
}
.aside-tip {
  background: var(--c-light);
}
.aside-cta {
  background: var(--c-dark);
  color: var(--c-white);
  border-color: var(--c-dark);
}
.aside-cta h3 { color: var(--c-white); }
.aside-cta p { color: rgba(255,255,255,0.7); }

/* ── 按钮 ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-btn);
  padding: 0.65rem 1.5rem;
  min-height: 44px;
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn--primary {
  background: var(--c-dark);
  color: var(--c-white);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: #333;
  box-shadow: var(--shadow-lg);
}
.btn--ghost {
  background: transparent;
  color: var(--c-dark);
  border: 2px solid var(--c-dark);
}
.btn--ghost:hover {
  background: var(--c-dark);
  color: var(--c-white);
}
.btn--sm {
  font-size: 0.82rem;
  padding: 0.5rem 1.1rem;
  min-height: 36px;
}

/* ── 首页专用 ────────────────────────────────────────────── */
.home-article {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.home-content-section {
  background: var(--c-white);
  padding: 2rem 0;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 1rem;
}

.home-cards-section {
  padding: 2rem 0;
}

.section-header {
  margin-bottom: 2rem;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--c-dark);
  margin-bottom: 0.25rem;
}
.section-header hr {
  border: none;
  border-top: 3px solid var(--c-dark);
  width: 48px;
  margin: 0.5rem 0 0.75rem;
}
.section-sub {
  font-size: 0.95rem;
  color: var(--c-gray);
  margin: 0;
}

/* 卡片网格 */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

.layer-card {
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-card);
  position: relative;
  z-index: var(--z-card);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s, transform 0.25s;
  overflow: hidden;
}
.layer-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px) translateZ(0);
}

.card-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.card-tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--c-gray);
  border: 1px solid var(--c-border);
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  width: fit-content;
}
.card-inner h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
}
.card-inner h3 a {
  color: var(--c-dark);
  text-decoration: none;
  transition: color 0.15s;
}
.card-inner h3 a:hover { color: #555; }
.card-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.65;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  font-size: 0.78rem;
  color: var(--c-gray);
  margin-top: 0.25rem;
}
.card-meta time { display: inline; }

/* 浮动卡片 */
.layer-float {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.layer-float:hover {
  transform: translateY(-6px) translateZ(24px);
  box-shadow: var(--shadow-xl);
}

/* ── 子页列表（ranking用ol > li > a + small 契约） ───────── */
.children-list-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-border);
}
.children-list-section h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}
.children-list-section hr {
  border: none;
  border-top: 2px solid var(--c-border);
  margin: 0.4rem 0 1.25rem;
}
.children-ol {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  list-style: decimal;
  padding-left: 1.5rem;
}
.children-ol li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.children-ol li a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.children-ol li small {
  font-size: 0.78rem;
  color: var(--c-gray);
}

/* ── 页脚 ────────────────────────────────────────────────── */
.site-footer {
  background: var(--c-dark);
  color: var(--c-white);
  padding: 3rem 2rem 0;
  margin-top: 4rem;
  position: relative;
  z-index: var(--z-base);
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand {
  margin-bottom: 0.75rem;
}
.footer-brand .brand-text {
  color: var(--c-white);
  font-size: 1.1rem;
}

.footer-col address {
  font-style: normal;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--c-white);
  margin-bottom: 0.9rem;
  letter-spacing: 0.04em;
}
.footer-col ul li {
  margin: 0.35rem 0;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}
.footer-col ul li a:hover {
  color: var(--c-white);
  text-decoration: none;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
}
.footer-links li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.15s;
}
.footer-links li a:hover { color: var(--c-white); }

/* ── hr 装饰（契约：h2/h3后紧跟hr） ─────────────────────── */
h2 + hr, h3 + hr {
  border: none;
  border-top: 2px solid var(--c-border);
  margin: 0.4rem 0 1.25rem;
}

/* ── 站点包装器 ─────────────────────────────────────────── */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-wrapper .site-main { flex: 1; }

/* ── Scroll Reveal 动效 ──────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .layer-card,
  .aside-block,
  .layer-float,
  .btn { transition: none; }
  html { scroll-behavior: auto; }
}

/* ── 响应式断点 ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .site-main--with-aside {
    grid-template-columns: 1fr 260px;
    gap: 1.75rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .nav-side { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
    --announce-h: 32px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 3rem 1.25rem 4rem;
    gap: 2rem;
  }
  .hero-media { order: -1; }
  .hero-h1 { font-size: 1.6rem; }
  .hero-float-card { left: auto; right: 1rem; bottom: -1rem; }

  .site-main--with-aside {
    grid-template-columns: 1fr;
  }
  .site-aside {
    position: static;
  }

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

  .page-banner {
    padding: 3rem 1.25rem 4rem;
  }
  .page-banner-h1 { font-size: 1.4rem; }

  .site-main {
    padding: 2rem 1.25rem 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .anchor-inner { padding: 0 1.25rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; justify-content: center; }
  .header-inner { padding: 0 1rem; }
  .brand-text { font-size: 0.95rem; }
}

/* ── 桌面也显示汉堡（规格要求） ──────────────────────────── */
@media (min-width: 1025px) {
  .hamburger { display: flex; }
  .nav-side { display: none; }
}
