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

/* ── 变量 ── */
:root {
  --c-bg: #1a1a2e;
  --c-bg2: #16213e;
  --c-bg3: #0f3460;
  --c-primary: #ff0000;
  --c-secondary: #ff006e;
  --c-accent: #00ffff;
  --c-text: #e8e8f0;
  --c-text-muted: #9090b0;
  --c-border: rgba(255, 0, 110, 0.3);
  --c-glass: rgba(255, 255, 255, 0.04);
  --c-glass-border: rgba(255, 0, 110, 0.25);
  --nav-w: 220px;
  --radius: 0px;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-serif: 'Noto Serif JP', 'Hiragino Mincho ProN', serif;
  --transition: 0.2s ease;
}

/* ── 重置 ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background-color: var(--c-bg);
  color: var(--c-text);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── 扫描线 + 网格底纹 ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 255, 255, 0.018) 2px,
      rgba(0, 255, 255, 0.018) 4px
    ),
    radial-gradient(circle at 50% 50%, rgba(255, 0, 110, 0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 0, 110, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 0, 110, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
}

/* ── 页面骨架 ── */
.page-shell {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ── 侧边导航 ── */
.sidenav-wrap {
  width: var(--nav-w);
  min-height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  background: rgba(26, 26, 46, 0.95);
  border-right: 1px solid var(--c-border);
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.sidenav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  text-decoration: none;
  border-bottom: 1px solid var(--c-border);
  flex-shrink: 0;
}
.brand-sigil {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-primary);
  text-shadow: 0 0 12px var(--c-primary), 0 0 24px rgba(255,0,0,0.4);
  letter-spacing: 0.05em;
}
.brand-icon { width: 40px; height: 40px; object-fit: contain; }

.sidenav {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 16px 0;
  overflow-y: auto;
}
.sidenav ol {
  list-style: none;
  flex: 1;
}
.sidenav ol li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border-left: 3px solid transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  min-height: 44px;
}
.sidenav ol li a:hover,
.sidenav ol li a[aria-current="page"] {
  color: var(--c-secondary);
  border-left-color: var(--c-secondary);
  background: rgba(255, 0, 110, 0.08);
  text-shadow: 0 0 8px rgba(255, 0, 110, 0.5);
}
.nav-icon {
  color: var(--c-primary);
  font-size: 0.7rem;
  flex-shrink: 0;
  text-shadow: 0 0 6px var(--c-primary);
}
.nav-label { flex: 1; }

.sidenav-cta {
  display: block;
  margin: 12px 14px 16px;
  padding: 12px 8px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 0 16px rgba(255, 0, 0, 0.5);
  transition: box-shadow var(--transition), transform var(--transition);
  min-height: 44px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidenav-cta:hover {
  box-shadow: 0 0 28px rgba(255, 0, 0, 0.8);
  transform: translateY(-1px);
}

/* ── 页面主体 ── */
.page-body {
  margin-left: var(--nav-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

main {
  flex: 1;
  padding: 32px 24px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* ── 正文容器：main > div > section 三层直接嵌套 ── */
div { width: 100%; }
div > section { width: 100%; margin-bottom: 40px; }

/* ── 面包屑 ── */
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-bottom: 16px;
}
.breadcrumb ol li + li::before { content: '›'; margin-right: 6px; color: var(--c-primary); }
.breadcrumb ol li a { color: var(--c-text-muted); text-decoration: none; }
.breadcrumb ol li a:hover { color: var(--c-secondary); }

/* ── Hero（首页） ── */
.hero-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  min-height: 70vh;
  padding: 40px 0;
}
.hero-media {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--c-border);
  box-shadow: 0 0 40px rgba(255, 0, 110, 0.25);
}
.hero-placeholder {
  width: 100%;
  min-height: 360px;
  background: linear-gradient(135deg, rgba(255,0,0,0.1) 0%, rgba(255,0,110,0.08) 50%, rgba(0,255,255,0.05) 100%);
  border: 1px solid var(--c-border);
  position: relative;
  overflow: hidden;
}
.hero-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,0,110,0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,0,110,0.12) 1px, transparent 1px);
  background-size: 30px 30px;
}
.hero-text {
  flex: 1;
  min-width: 0;
  text-align: right;
}
.eyebrow-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--c-secondary);
  text-shadow: 0 0 8px rgba(255, 0, 110, 0.6);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.hero-text h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3.5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-text);
  text-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
  margin-bottom: 16px;
}
.hero-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.btn-primary {
  padding: 12px 24px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
  transition: box-shadow var(--transition), transform var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.btn-primary:hover {
  box-shadow: 0 0 36px rgba(255, 0, 0, 0.8);
  transform: translateY(-2px);
}
.btn-ghost {
  padding: 12px 24px;
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  background: var(--c-glass);
  transition: border-color var(--transition), color var(--transition);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.btn-ghost:hover {
  border-color: var(--c-secondary);
  color: var(--c-secondary);
}
.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* ── 内容区（aside 左侧 + main-content 右侧） ── */
.content-section {
  display: flex;
  flex-direction: row;
  gap: 32px;
  align-items: flex-start;
}

/* aside 在内容左侧 */
.sidebar-left {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
}
.sidebar-block {
  background: var(--c-glass);
  border: 1px solid var(--c-glass-border);
  padding: 20px 16px;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.sidebar-block h2 {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-primary);
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.sidebar-block p.subtitle {
  font-size: 0.75rem;
  color: var(--c-text-muted);
  margin-bottom: 12px;
  line-height: 1.4;
}
.sidebar-block ul {
  list-style: none;
}
.sidebar-block ul li {
  border-bottom: 1px solid rgba(255,0,110,0.1);
}
.sidebar-block ul li:last-child { border-bottom: none; }
.sidebar-block ul li a {
  display: block;
  padding: 8px 0;
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color var(--transition);
  min-height: 40px;
  display: flex;
  align-items: center;
}
.sidebar-block ul li a:hover { color: var(--c-secondary); }

.main-content {
  flex: 1;
  min-width: 0;
}

/* ── 标题装饰（h2 + p.subtitle） ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.35;
  color: var(--c-text);
}
h1 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 4px;
  padding-left: 12px;
  border-left: 3px solid var(--c-primary);
  color: var(--c-text);
}
h2 + p.subtitle,
h2 + p.subhead,
h2 + p.desc,
h2 + p.lead {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  margin-bottom: 20px;
  padding-left: 15px;
}
h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
p { margin-bottom: 16px; font-size: 1rem; line-height: 1.75; }

/* ── 玻璃拟态卡片 ── */
.glass-card {
  background: var(--c-glass);
  border: 1px solid var(--c-glass-border);
  padding: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-secondary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.glass-card:hover {
  border-color: rgba(255, 0, 110, 0.5);
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.2), inset 0 0 20px rgba(255, 0, 0, 0.04);
  transform: translateY(-2px);
}
.glass-card:hover::before { opacity: 1; }
.glass-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-title, .article-title, .cta-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text);
  line-height: 1.4;
  display: block;
}
.glass-card small {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  line-height: 1.5;
  display: block;
}
.glass-card small time { color: var(--c-secondary); }

/* ── 卡片网格 ── */
.card-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

/* ── 文章列表 ── */
.article-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.article-item {
  padding: 16px 20px;
}
.article-item a {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-item .article-title { font-size: 1rem; }
.article-item small { font-size: 0.8rem; }

/* ── 页面头部区域 ── */
.page-header-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-border);
}
.page-h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-top: 12px;
  margin-bottom: 10px;
  text-shadow: 0 0 16px rgba(255, 0, 0, 0.2);
}
.page-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

/* ── 文章页 ── */
.article-hero { margin-bottom: 24px; }
.article-hero-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border: 1px solid var(--c-border);
  box-shadow: 0 0 30px rgba(255, 0, 110, 0.2);
  display: block;
}
.article-h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 0 0 16px rgba(255, 0, 0, 0.2);
}
.article-desc {
  font-size: 1rem;
  color: var(--c-text-muted);
  margin-bottom: 12px;
}
.article-meta {
  display: flex;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  flex-wrap: wrap;
}
.article-meta time { color: var(--c-secondary); }

/* ── 正文排版 ── */
.prose { font-size: 1rem; line-height: 1.8; }
.prose h2 { margin-top: 32px; margin-bottom: 4px; }
.prose h3 { margin-top: 24px; margin-bottom: 8px; color: var(--c-secondary); }
.prose p { margin-bottom: 16px; }
.prose ul, .prose ol { padding-left: 1.5em; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--c-secondary); text-decoration: underline; text-decoration-color: rgba(255,0,110,0.4); }
.prose a:hover { color: var(--c-primary); text-decoration-color: var(--c-primary); }
.prose blockquote {
  border-left: 3px solid var(--c-primary);
  padding: 12px 20px;
  background: rgba(255,0,0,0.05);
  color: var(--c-text-muted);
  margin: 20px 0;
}
.prose code {
  font-family: 'Courier New', monospace;
  background: rgba(0, 255, 255, 0.08);
  color: var(--c-accent);
  padding: 2px 6px;
  font-size: 0.88em;
}
.prose pre {
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--c-border);
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 16px;
}
.prose pre code { background: none; padding: 0; }
.prose img { max-width: 100%; height: auto; display: block; margin: 16px 0; }

/* ── 标签云 ── */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.tag-pill {
  display: inline-block;
  padding: 5px 12px;
  border: 1px solid var(--c-border);
  color: var(--c-text-muted);
  font-size: 0.78rem;
  text-decoration: none;
  letter-spacing: 0.04em;
  background: var(--c-glass);
  transition: border-color var(--transition), color var(--transition), box-shadow var(--transition);
  min-height: 30px;
  display: inline-flex;
  align-items: center;
}
.tag-pill:hover, .tag-pill.active {
  border-color: var(--c-secondary);
  color: var(--c-secondary);
  box-shadow: 0 0 10px rgba(255, 0, 110, 0.3);
}

/* ── 精选/相关区块 ── */
.featured-section, .related-section, .child-list-section, .tag-article-list {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}
.featured-section h2,
.related-section h2,
.child-list-section h2,
.tag-article-list h2 {
  margin-bottom: 4px;
}

/* ── 关于页 CTA ── */
.about-cta-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--c-border);
}
.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
}
.cta-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cta-card .cta-title { font-size: 1rem; }
.cta-card small { font-size: 0.78rem; color: var(--c-text-muted); }

.about-highlight .promise-list,
.sidebar-block .policy-summary {
  list-style: none;
}
.about-highlight .promise-list li,
.sidebar-block .policy-summary li {
  padding: 7px 0;
  font-size: 0.82rem;
  color: var(--c-text-muted);
  border-bottom: 1px solid rgba(255,0,110,0.08);
  padding-left: 14px;
  position: relative;
}
.about-highlight .promise-list li::before,
.sidebar-block .policy-summary li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--c-primary);
  font-size: 0.7rem;
}

/* ── 隐私页 ── */
.policy-date {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-top: 8px;
  margin-bottom: 8px;
}
.policy-date time { color: var(--c-secondary); }

/* ── 页脚（三栏 footer address + ul） ── */
footer {
  background: rgba(15, 15, 30, 0.9);
  border-top: 1px solid var(--c-border);
  padding: 40px 24px 0;
  margin-top: auto;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-col address {
  font-style: normal;
  line-height: 1.6;
}
.footer-brand {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--c-primary);
  text-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
  display: block;
  margin-bottom: 6px;
}
.footer-slogan {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  line-height: 1.5;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li { margin-bottom: 4px; }
.footer-col ul li a {
  color: var(--c-text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color var(--transition);
  display: inline-block;
  min-height: 28px;
  line-height: 28px;
}
.footer-col ul li a:hover { color: var(--c-secondary); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 0, 110, 0.1);
  flex-wrap: wrap;
  gap: 8px;
}
.copyright { font-size: 0.78rem; color: var(--c-text-muted); }
.footer-links { font-size: 0.78rem; }
.footer-links a {
  color: var(--c-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--c-secondary); }

/* ── 动效 ── */
@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 1px) skewX(-1deg); }
  40% { transform: translate(2px, -1px) skewX(1deg); }
  60% { transform: translate(-1px, 2px); }
  80% { transform: translate(1px, -2px) skewX(-0.5deg); }
  100% { transform: translate(0); }
}
@keyframes neon-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
@keyframes stagger-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.sidenav-brand .brand-sigil {
  animation: neon-pulse 3s ease-in-out infinite;
}
.card-grid .glass-card {
  animation: stagger-in 0.4s ease both;
}
.card-grid .glass-card:nth-child(1) { animation-delay: 0.05s; }
.card-grid .glass-card:nth-child(2) { animation-delay: 0.1s; }
.card-grid .glass-card:nth-child(3) { animation-delay: 0.15s; }
.card-grid .glass-card:nth-child(4) { animation-delay: 0.2s; }
.card-grid .glass-card:nth-child(5) { animation-delay: 0.25s; }
.card-grid .glass-card:nth-child(6) { animation-delay: 0.3s; }
.article-list .glass-card {
  animation: stagger-in 0.4s ease both;
}
.article-list .glass-card:nth-child(1) { animation-delay: 0.05s; }
.article-list .glass-card:nth-child(2) { animation-delay: 0.1s; }
.article-list .glass-card:nth-child(3) { animation-delay: 0.15s; }
.article-list .glass-card:nth-child(4) { animation-delay: 0.2s; }

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

/* ── 响应式 ── */
@media (max-width: 960px) {
  .hero-section { flex-direction: column; min-height: auto; }
  .hero-text { text-align: left; }
  .hero-actions { justify-content: flex-start; }
  .tag-row { justify-content: flex-start; }
  .content-section { flex-direction: column; }
  .sidebar-left { width: 100%; position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-w: 0px; }
  .sidenav-wrap {
    width: 100%;
    min-height: auto;
    position: relative;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    border-right: none;
    border-bottom: 1px solid var(--c-border);
  }
  .sidenav-brand {
    height: 50px;
    width: 50px;
    border-bottom: none;
    border-right: 1px solid var(--c-border);
  }
  .sidenav {
    flex-direction: row;
    flex: 1;
    padding: 0;
    align-items: center;
    overflow-x: auto;
  }
  .sidenav ol {
    display: flex;
    flex-direction: row;
    flex: 1;
  }
  .sidenav ol li a {
    padding: 8px 10px;
    border-left: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    font-size: 0.75rem;
    min-height: 44px;
  }
  .sidenav ol li a:hover,
  .sidenav ol li a[aria-current="page"] {
    border-left-color: transparent;
    border-bottom-color: var(--c-secondary);
  }
  .nav-icon { display: none; }
  .sidenav-cta {
    margin: 6px 10px;
    padding: 8px 12px;
    white-space: nowrap;
    font-size: 0.75rem;
  }
  .page-body { margin-left: 0; }
  main { padding: 20px 16px; }
  .hero-section { min-height: auto; padding: 24px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-shell { flex-direction: column; }
}

@media (max-width: 480px) {
  .card-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
  .hero-text h1 { font-size: 1.4rem; }
  .article-h1, .page-h1 { font-size: 1.3rem; }
}
