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

/* ============================================================
   CSS 变量 & 全局重置
   ============================================================ */
:root {
  --cream: #f5e6c8;
  --caramel: #d4a574;
  --ink: #262117;
  --ink-80: rgba(38,33,23,.80);
  --ink-40: rgba(38,33,23,.40);
  --ink-10: rgba(38,33,23,.10);
  --caramel-20: rgba(212,165,116,.20);
  --caramel-40: rgba(212,165,116,.40);
  --cream-80: rgba(245,230,200,.80);
  --glass-bg: rgba(245,230,200,.55);
  --glass-border: rgba(212,165,116,.45);
  --nav-w: 240px;
  --radius-card: 28px;
  --radius-sm: 12px;
  --shadow-card: 0 4px 32px rgba(38,33,23,.12);
  --shadow-hover: 0 8px 48px rgba(38,33,23,.22);
  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

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

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

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ============================================================
   SVG 胶片颗粒滤镜（内联）
   ============================================================ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23noise)' opacity='0.06'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  opacity: .5;
}

/* ============================================================
   布局骨架
   ============================================================ */
.site-wrap {
  display: flex;
  min-height: 100vh;
}

.page-body {
  flex: 1;
  min-width: 0;
  margin-left: var(--nav-w);
  display: flex;
  flex-direction: column;
}

/* ============================================================
   侧边导航
   ============================================================ */
.sidenav {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-w);
  height: 100vh;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  padding: 2rem 0 2rem;
  z-index: 100;
  overflow-y: auto;
  border-right: 1px solid var(--caramel-40);
}

.sidenav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 2rem;
  border-radius: 14px;
  background: var(--caramel);
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  flex-shrink: 0;
}

.sidenav-brand:hover {
  transform: scale(1.07);
  box-shadow: 0 0 0 3px var(--caramel-40);
}

.brand-icon { width: 36px; height: 36px; object-fit: contain; }
.brand-icon-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.sidenav ol {
  list-style: none;
  padding: 0 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidenav ol li a {
  display: block;
  padding: 0.65rem 0.9rem;
  color: var(--cream-80);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  border-radius: 10px;
  transition: background var(--transition), color var(--transition);
  line-height: 1.45;
  min-height: 40px;
}

.sidenav ol li a:hover,
.sidenav ol li a[aria-current="page"] {
  background: var(--caramel-20);
  color: var(--caramel);
}

/* ============================================================
   Hero 区域
   ============================================================ */
.hero-section,
.article-hero,
.feature-hero,
.faq-hero,
.about-hero,
.privacy-hero {
  position: relative;
  min-height: 45vh;
  padding: 4rem 3rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--ink);
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  right: -0.05em;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 14rem);
  font-weight: 700;
  color: rgba(212,165,116,.07);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: right;
  max-width: 700px;
  margin-left: auto;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 0.75rem;
}

.hero-section h1,
.article-hero-title h1,
.feature-hero .article-hero-title h1,
.faq-hero .article-hero-title h1,
.about-hero .article-hero-title h1,
.privacy-hero .article-hero-title h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-align: right;
}

.hero-lead {
  font-size: 1rem;
  color: var(--cream-80);
  margin-top: 1rem;
  max-width: 480px;
  margin-left: auto;
  line-height: 1.6;
}

.article-hero-title {
  position: relative;
  z-index: 2;
  text-align: right;
}

.article-hero-title .subtitle,
.hero-content .subtitle {
  color: var(--cream-80);
  margin-top: 0.75rem;
  font-size: 1rem;
  max-width: 500px;
  margin-left: auto;
}

/* ============================================================
   Hero Aside & Film Frame
   ============================================================ */
.hero-aside {
  position: absolute;
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.film-frame {
  width: 140px;
  background: var(--ink);
  border: 2px solid var(--caramel-40);
  border-radius: 6px;
  padding: 1rem 0.75rem;
  position: relative;
  overflow: hidden;
}

.film-frame figcaption {
  font-size: 0.7rem;
  color: var(--caramel);
  letter-spacing: 0.1em;
  text-align: center;
  margin-top: 0.5rem;
}

.film-numbers {
  display: flex;
  justify-content: space-around;
  margin-bottom: 0.5rem;
}

.film-numbers span {
  font-size: 0.6rem;
  color: var(--caramel-40);
  font-family: monospace;
  letter-spacing: 0.05em;
}

/* ============================================================
   Polaroid & VHS 装饰
   ============================================================ */
.polaroid-deco {
  position: absolute;
  right: 3rem;
  top: 2rem;
  width: 110px;
  z-index: 2;
}

.polaroid-inner {
  background: var(--cream-80);
  border: 6px solid #f0e0c0;
  border-bottom-width: 28px;
  border-radius: 4px;
  height: 110px;
  position: relative;
  overflow: hidden;
  animation: polaroid-shake 6s ease-in-out infinite;
}

.polaroid-deco figcaption {
  font-size: 0.65rem;
  color: var(--ink-40);
  text-align: center;
  margin-top: -18px;
  font-family: var(--font-body);
}

@keyframes polaroid-shake {
  0%, 100% { transform: rotate(-2deg); }
  50% { transform: rotate(1.5deg); }
}

.vhs-deco {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.vhs-lines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(212,165,116,.03) 2px,
    rgba(212,165,116,.03) 4px
  );
  animation: vhs-track 8s linear infinite;
}

.vhs-lines--subtle {
  opacity: 0.4;
}

@keyframes vhs-track {
  0% { transform: translateY(0) skewX(0deg); }
  48% { transform: translateY(0) skewX(0deg); }
  50% { transform: translateY(-2px) skewX(0.4deg); }
  52% { transform: translateY(0) skewX(0deg); }
  100% { transform: translateY(0) skewX(0deg); }
}

/* ============================================================
   Film grain overlay
   ============================================================ */
.film-grain-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23g)' opacity='0.12'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  mix-blend-mode: overlay;
  opacity: .6;
}

/* ============================================================
   光晕 Light Leak
   ============================================================ */
.light-leak-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.light-leak {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .18;
  animation: leak-pulse 7s ease-in-out infinite;
}

.light-leak-frame .light-leak {
  width: 300px;
  height: 300px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, #f5e6c8 0%, #d4a574 60%, transparent 100%);
}

.light-leak-sm {
  width: 160px;
  height: 160px;
  top: -40px;
  right: -40px;
  background: radial-gradient(circle, #d4a574 0%, transparent 100%);
}

.light-leak-warm {
  width: 220px;
  height: 220px;
  bottom: -60px;
  right: -60px;
  background: radial-gradient(circle, #f5e6c8 0%, #d4a574 50%, transparent 100%);
}

.light-leak-corner {
  width: 180px;
  height: 180px;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle, #d4a574 0%, transparent 100%);
}

@keyframes leak-pulse {
  0%, 100% { opacity: .12; transform: scale(1); }
  50% { opacity: .22; transform: scale(1.1); }
}

/* ============================================================
   主内容区通用
   ============================================================ */
main {
  flex: 1;
}

article {
  padding: 3.5rem 3rem;
  position: relative;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

h3 a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

h3 a:hover { color: var(--caramel); }

h4 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 0.75rem;
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.subtitle {
  font-size: 1rem;
  color: var(--ink-80);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

/* ============================================================
   버튼
   ============================================================ */
.btn-primary {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background: var(--caramel);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 50px;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  min-height: 44px;
  line-height: 1;
  vertical-align: middle;
}

.btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,165,116,.4);
}

/* ============================================================
   태그 뱃지
   ============================================================ */
.tag-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--caramel-20);
  border: 1px solid var(--caramel-40);
  color: var(--caramel);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.tag-badge--feature { background: rgba(38,33,23,.6); color: var(--cream); border-color: var(--ink-40); }
.tag-badge--faq { background: rgba(212,165,116,.15); }
.tag-badge--about { background: var(--caramel-40); color: var(--ink); }
.tag-badge--privacy { background: rgba(38,33,23,.5); color: var(--cream); }

/* ============================================================
   首页 Hero
   ============================================================ */
.page-home .hero-section {
  background: var(--ink);
}

.article-meta-aside {
  position: absolute;
  top: 2rem;
  left: 3rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* ============================================================
   카드 그리드
   ============================================================ */
.cards-section {
  background: var(--cream);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
}

.glass-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-hover);
}

.card-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--caramel-20);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--caramel);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: letter-spacing var(--transition), color var(--transition);
  min-height: 40px;
  line-height: 40px;
}

.card-link:hover {
  letter-spacing: 0.1em;
  color: var(--ink);
}

/* ============================================================
   Guide DL 列表
   ============================================================ */
.guides-section,
.faq-guides-section,
.related-section,
.cta-section,
.privacy-nav-section,
.about-links-section {
  background: var(--cream);
  border-top: 1px solid var(--ink-10);
}

.guide-dl {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.guide-dl dt {
  padding: 0.9rem 0 0.2rem;
  border-top: 1px solid var(--ink-10);
}

.guide-dl dt:first-child { border-top: none; }

.guide-dl dt a {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--transition);
  display: block;
}

.guide-dl dt a:hover { color: var(--caramel); }

.guide-dl dd {
  padding: 0 0 0.9rem;
  font-size: 0.92rem;
  color: var(--ink-80);
  line-height: 1.55;
  margin: 0;
}

.guide-dl--compact dt { padding-top: 0.6rem; }
.guide-dl--compact dd { padding-bottom: 0.6rem; }

/* ============================================================
   Features Section
   ============================================================ */
.features-section {
  background: var(--ink);
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.features-aside {
  flex: 1;
  position: relative;
  z-index: 2;
}

.features-aside h2 { color: var(--cream); }
.features-aside .subtitle { color: var(--cream-80); }

.feature-ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.feature-ul li a {
  display: block;
  padding: 0.6rem 1rem;
  background: var(--caramel-20);
  border: 1px solid var(--caramel-40);
  border-radius: var(--radius-sm);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.92rem;
  transition: background var(--transition), color var(--transition);
  min-height: 40px;
  line-height: 1.5;
}

.feature-ul li a:hover {
  background: var(--caramel-40);
  color: var(--cream);
}

.section-figure {
  width: 120px;
  height: 200px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--caramel-20);
  overflow: hidden;
  position: relative;
}

/* ============================================================
   文章正文区（guide / feature / faq / about / privacy）
   ============================================================ */
.article-body-section,
.faq-body-section,
.about-body-section,
.privacy-body-section {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  background: var(--cream);
}

.article-figure {
  width: 80px;
  flex-shrink: 0;
  min-height: 200px;
  background: var(--caramel-20);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.faq-figure {
  width: 80px;
  min-height: 240px;
}

.privacy-figure {
  width: 60px;
  min-height: 180px;
}

.about-figure {
  position: absolute;
  left: 3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 140px;
  border-radius: var(--radius-sm);
  background: var(--caramel-20);
  overflow: hidden;
  z-index: 2;
}

.film-strip-deco {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0.75rem 0.5rem;
  position: relative;
  z-index: 2;
}

.film-strip-deco span {
  font-size: 0.6rem;
  color: var(--caramel-40);
  font-family: monospace;
  letter-spacing: 0.05em;
}

.article-sidebar {
  width: 220px;
  flex-shrink: 0;
  position: sticky;
  top: 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-card);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-card);
}

.sidebar-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--caramel);
  margin-bottom: 0.5rem;
}

.sidebar-title--mt { margin-top: 1.5rem; }

.sidebar-title + .subtitle {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.article-sidebar ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article-sidebar ul li a {
  display: block;
  padding: 0.45rem 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-80);
  text-decoration: none;
  border-radius: 6px;
  transition: background var(--transition), color var(--transition);
  min-height: 40px;
  line-height: 1.4;
}

.article-sidebar ul li a:hover {
  background: var(--caramel-20);
  color: var(--ink);
}

.article-content {
  flex: 1;
  min-width: 0;
  max-width: 760px;
}

.article-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.article-content h2:first-child { margin-top: 0; }

.article-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.4rem;
}

.article-content p {
  line-height: 1.75;
  color: var(--ink);
}

.article-content ul,
.article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-content li { margin-bottom: 0.4rem; line-height: 1.65; }

.article-content a {
  color: var(--ink);
  text-decoration-color: var(--caramel);
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.article-content a:hover { color: var(--caramel); }

.article-content blockquote {
  border-left: 3px solid var(--caramel);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--ink-80);
  font-style: italic;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.92rem;
}

.article-content th,
.article-content td {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--ink-10);
  text-align: left;
}

.article-content th {
  background: var(--caramel-20);
  font-weight: 600;
}

/* ============================================================
   페이지별 사이드바 aside
   ============================================================ */
.cta-aside,
.about-nav-aside,
.privacy-nav-aside {
  flex: 1;
  min-width: 0;
}

.cta-section,
.about-links-section,
.privacy-nav-section {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
}

/* ============================================================
   FAQ 정렬
   ============================================================ */
.faq-content :where(h2, h3) {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ============================================================
   日期标签
   ============================================================ */
.page-date {
  display: block;
  font-size: 0.78rem;
  color: var(--caramel);
  letter-spacing: 0.06em;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ============================================================
   페이지네이션 / 콘텐츠 섹션 (홈)
   ============================================================ */
.content-section {
  background: var(--cream);
  border-top: 1px solid var(--ink-10);
}

.content-prose {
  max-width: 760px;
  margin-top: 1.5rem;
  line-height: 1.75;
}

.content-prose h2 { margin-top: 2rem; }
.content-prose h3 { margin-top: 1.5rem; }
.content-prose a {
  color: var(--ink);
  text-decoration-color: var(--caramel);
  text-underline-offset: 3px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  padding: 3rem 3rem 2rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--caramel-20);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col ul li a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.88rem;
  color: var(--cream-80);
  text-decoration: none;
  transition: color var(--transition);
  min-height: 40px;
  line-height: 40px;
}

.footer-col ul li a:hover { color: var(--caramel); }

.footer-bottom {
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom address {
  font-style: normal;
  font-size: 0.88rem;
  color: var(--caramel);
  margin-bottom: 0.4rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--ink-40);
  color: rgba(245,230,200,.4);
}

/* ============================================================
   반응형 브레이크포인트
   ============================================================ */
@media (max-width: 960px) {
  :root { --nav-w: 200px; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); }

  .article-body-section,
  .faq-body-section,
  .about-body-section,
  .privacy-body-section {
    flex-wrap: wrap;
  }

  .article-figure,
  .faq-figure,
  .privacy-figure { display: none; }

  .article-sidebar {
    width: 100%;
    position: static;
  }
}

@media (max-width: 768px) {
  :root { --nav-w: 0px; }

  .site-wrap { flex-direction: column; }

  .page-body { margin-left: 0; }

  .sidenav {
    position: static;
    width: 100%;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 0.75rem 1rem;
    gap: 0;
    border-right: none;
    border-bottom: 1px solid var(--caramel-40);
    overflow-x: auto;
  }

  .sidenav-brand {
    margin: 0 1rem 0 0;
    flex-shrink: 0;
  }

  .sidenav ol {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2px;
    padding: 0;
    overflow-x: auto;
  }

  .sidenav ol li a {
    white-space: nowrap;
    font-size: 0.78rem;
    padding: 0.5rem 0.75rem;
  }

  .hero-section,
  .article-hero,
  .feature-hero,
  .faq-hero,
  .about-hero,
  .privacy-hero {
    min-height: auto;
    padding: 2.5rem 1.5rem 2rem;
  }

  .hero-aside { display: none; }
  .polaroid-deco { display: none; }
  .about-figure { display: none; }

  article { padding: 2.5rem 1.5rem; }

  .hero-bg-text {
    font-size: 5rem;
    opacity: 0.5;
  }

  .hero-section h1,
  .article-hero-title h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

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

  .article-meta-aside { left: 1.5rem; top: 1.25rem; }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

  .site-footer { padding: 2rem 1.5rem 1.5rem; }

  .features-section { flex-direction: column; }
  .section-figure { display: none; }

  .cta-section,
  .about-links-section,
  .privacy-nav-section { flex-direction: column; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }

  .sidenav ol li a { font-size: 0.72rem; padding: 0.4rem 0.55rem; }

  .guide-dl dt a { font-size: 1rem; }

  article { padding: 2rem 1rem; }

  .hero-section,
  .article-hero,
  .feature-hero,
  .faq-hero,
  .about-hero,
  .privacy-hero {
    padding: 2rem 1rem 1.75rem;
  }

  .article-meta-aside { left: 1rem; }
}

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

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