/* ================================================
   이직 성공 가이드 — 공통 스타일시트
   ================================================ */

:root {
  --bg: #0a0a0f;
  --gold: #f5c842;
  --gold-dim: #a8862e;
  --cream: #f0ead6;
  --rust: #c94f1a;
  --ink: #1a1a2e;
  --glow: rgba(245,200,66,0.18);
  --nav-h: 70px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Noto Serif KR', serif;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.55;
}

/* ── PROGRESS BAR ── */
#progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold), #fff8c0);
  z-index: 9998;
  transition: width 0.1s linear;
}

/* ── STARS CANVAS ── */
#stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  height: var(--nav-h);
  background: rgba(10,10,15,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245,200,66,0.12);
}

.nav-logo {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 1.15rem;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-links a {
  color: rgba(240,234,214,0.78);
  text-decoration: none;
  font-size: 0.88rem;
  font-family: 'DM Mono', monospace;
  letter-spacing: 0.04em;
  transition: color 0.25s;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s;
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(245,200,66,0.15);
  z-index: 999;
  padding: 1.5rem 2rem;
}

.nav-drawer.open { display: block; }

.nav-drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.nav-drawer a {
  color: var(--cream);
  text-decoration: none;
  font-size: 1rem;
  font-family: 'Noto Serif KR', serif;
  display: block;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(245,200,66,0.08);
  transition: color 0.2s;
}

.nav-drawer a:hover { color: var(--gold); }

/* ── HERO ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.hero-content { max-width: 780px; }

.badge {
  display: inline-block;
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(245,200,66,0.35);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 1.8rem;
  background: rgba(245,200,66,0.05);
}

.main-title {
  font-family: 'Black Han Sans', sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 1rem;
}

.highlight {
  color: var(--gold);
  position: relative;
}

.sub-text {
  font-size: 1.05rem;
  color: rgba(240,234,214,0.7);
  line-height: 1.85;
  margin-bottom: 2.2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
}

.btn-primary:hover {
  background: #ffd55a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,200,66,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid rgba(245,200,66,0.45);
}

.btn-ghost:hover {
  background: rgba(245,200,66,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ── SECTION ── */
.section {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.8rem;
  display: block;
}

.section-title {
  font-family: 'Black Han Sans', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-desc {
  color: rgba(240,234,214,0.68);
  font-size: 1rem;
  line-height: 1.85;
  max-width: 640px;
  margin-bottom: 3rem;
}

/* ── ARTICLE CARDS ── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.article-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(245,200,66,0.15);
  border-radius: 10px;
  padding: 2rem;
  text-decoration: none;
  color: var(--cream);
  transition: all 0.3s;
  display: block;
  position: relative;
  overflow: hidden;
}

.article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dim), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245,200,66,0.38);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(245,200,66,0.1);
}

.article-card:hover::before { transform: scaleX(1); }

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.card-title {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.card-desc {
  font-size: 0.9rem;
  color: rgba(240,234,214,0.68);
  line-height: 1.75;
}

.card-arrow {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-family: 'DM Mono', monospace;
  color: var(--gold-dim);
  letter-spacing: 0.05em;
}

/* ── PROSE / ARTICLE ── */
.prose {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 6rem 2rem;
}

.prose h1 {
  font-family: 'Black Han Sans', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--cream);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.prose h2 {
  font-family: 'Black Han Sans', sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  color: var(--gold);
  margin: 3rem 0 1.1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(245,200,66,0.18);
}

.prose h3 {
  font-size: 1.1rem;
  color: var(--cream);
  font-weight: 700;
  margin: 2rem 0 0.8rem;
}

.prose p {
  font-size: 1rem;
  line-height: 1.95;
  color: rgba(240,234,214,0.85);
  margin-bottom: 1.2rem;
}

.prose ul, .prose ol {
  margin: 1rem 0 1.5rem 1.5rem;
}

.prose li {
  font-size: 0.97rem;
  line-height: 1.85;
  color: rgba(240,234,214,0.82);
  margin-bottom: 0.5rem;
}

.prose ul li::marker { color: var(--gold); }
.prose ol li::marker { color: var(--gold); font-family: 'DM Mono', monospace; }

.prose blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: rgba(245,200,66,0.04);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: rgba(240,234,214,0.78);
}

.prose strong { color: var(--cream); font-weight: 700; }

/* ── TOC ── */
.toc {
  background: rgba(245,200,66,0.04);
  border: 1px solid rgba(245,200,66,0.25);
  border-radius: 8px;
  padding: 1.6rem 2rem;
  margin: 2rem 0 3rem;
}

.toc-title {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1rem;
  display: block;
}

.toc ol {
  margin-left: 1.2rem;
  counter-reset: toc-counter;
  list-style: none;
}

.toc li {
  counter-increment: toc-counter;
  margin-bottom: 0.5rem;
}

.toc li::before {
  content: counter(toc-counter, decimal-leading-zero) ". ";
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  color: var(--gold-dim);
  margin-right: 0.4rem;
}

.toc a {
  color: rgba(240,234,214,0.78);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.toc a:hover { color: var(--gold); }

/* ── TIP / WARNING BOXES ── */
.tip-box {
  background: rgba(245,200,66,0.06);
  border: 1px solid rgba(245,200,66,0.35);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

.tip-box::before {
  content: '💡 TIP';
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.tip-box p {
  margin-bottom: 0;
  font-size: 0.93rem;
}

.warning-box {
  background: rgba(201,79,26,0.06);
  border: 1px solid rgba(201,79,26,0.35);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}

.warning-box::before {
  content: '⚠️ 주의';
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--rust);
  margin-bottom: 0.6rem;
}

.warning-box p {
  margin-bottom: 0;
  font-size: 0.93rem;
  color: rgba(240,234,214,0.8);
}

/* ── STATS ── */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-item {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(245,200,66,0.15);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.stat-num {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 2.4rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.4rem;
  animation: pulse-glow 3s ease-in-out infinite;
}

.stat-label {
  font-size: 0.88rem;
  color: rgba(240,234,214,0.65);
  line-height: 1.5;
}

/* ── TIMELINE ── */
.timeline {
  position: relative;
  padding: 1rem 0;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-dim), rgba(245,200,66,0.1));
}

.timeline-item {
  display: flex;
  gap: 1.8rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-dot {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Black Han Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--ink);
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(245,200,66,0.15);
}

.timeline-content {
  flex: 1;
  padding-top: 0.6rem;
}

.timeline-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.timeline-title {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}

.timeline-desc {
  font-size: 0.9rem;
  color: rgba(240,234,214,0.65);
  line-height: 1.7;
}

/* ── CHECKLIST ── */
.checklist-section {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(245,200,66,0.12);
  border-radius: 10px;
  padding: 2rem;
  margin: 1.5rem 0;
}

.checklist-section h3 {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(245,200,66,0.06);
  font-size: 0.93rem;
  color: rgba(240,234,214,0.82);
  line-height: 1.6;
  cursor: pointer;
  transition: color 0.2s;
}

.checklist-item:last-child { border-bottom: none; }

.checklist-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  margin-top: 2px;
}

.checklist-item:hover { color: var(--cream); }

/* ── RELATED POSTS ── */
.related-posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.related-card {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(245,200,66,0.12);
  border-radius: 8px;
  padding: 1.4rem;
  text-decoration: none;
  color: var(--cream);
  transition: all 0.25s;
  display: block;
}

.related-card:hover {
  border-color: rgba(245,200,66,0.35);
  transform: translateY(-3px);
}

.related-card-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  color: var(--gold-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
}

.related-card-title {
  font-size: 0.88rem;
  color: var(--cream);
  font-weight: 700;
  line-height: 1.5;
}

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 6rem 2rem;
  background: radial-gradient(ellipse at center, rgba(245,200,66,0.06) 0%, transparent 70%);
}

.cta-section h2 {
  font-family: 'Black Han Sans', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--cream);
  margin-bottom: 0.8rem;
}

.cta-section p {
  color: rgba(240,234,214,0.68);
  margin-bottom: 2rem;
  font-size: 1rem;
}

/* ── DIVIDER ── */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,200,66,0.2), transparent);
  margin: 0 2rem;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ── */
footer {
  position: relative;
  z-index: 1;
  background: rgba(0,0,0,0.45);
  border-top: 1px solid rgba(245,200,66,0.1);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .nav-logo {
  font-size: 1.05rem;
  display: block;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  font-size: 0.82rem;
  color: rgba(240,234,214,0.45);
  line-height: 1.7;
  max-width: 260px;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-nav-group h4 {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.8rem;
}

.footer-nav-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-group a {
  color: rgba(240,234,214,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-nav-group a:hover { color: var(--gold); }

.footer-copy {
  border-top: 1px solid rgba(245,200,66,0.08);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  color: rgba(240,234,214,0.35);
  font-family: 'DM Mono', monospace;
}

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── PROSE META ── */
.prose-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0.8rem 0 2rem;
}

.prose-meta span {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  color: var(--gold-dim);
  letter-spacing: 0.08em;
}

/* ── DISQUS WRAPPER ── */
.disqus-wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.disqus-wrap h3 {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 8rem 2rem 3rem;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.page-hero .badge { margin-bottom: 1.2rem; }

.page-hero h1 {
  font-family: 'Black Han Sans', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  color: var(--cream);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-hero .sub-text { margin-bottom: 1rem; }

/* ── AD UNIT ── */
.ad-unit {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 1.5rem auto;
  padding: 0 2rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fall {
  0%   { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 8px rgba(245,200,66,0.3); }
  50%       { text-shadow: 0 0 20px rgba(245,200,66,0.7); }
}

.fade-up { animation: fadeUp 0.8s ease forwards; }

/* ── DIALOG / SCRIPT COMPARE ── */
.script-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.script-box {
  padding: 1.2rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.7;
}

.script-box.good {
  background: rgba(245,200,66,0.07);
  border: 1px solid rgba(245,200,66,0.3);
}

.script-box.bad {
  background: rgba(201,79,26,0.07);
  border: 1px solid rgba(201,79,26,0.3);
}

.script-box-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.script-box.good .script-box-label { color: var(--gold); }
.script-box.bad .script-box-label  { color: var(--rust); }

/* ── STEP BOXES ── */
.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.step-box {
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(245,200,66,0.12);
  border-radius: 8px;
  padding: 1.4rem;
}

.step-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--gold-dim);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.step-title {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.87rem;
  color: rgba(240,234,214,0.65);
  line-height: 1.7;
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .section { padding: 4rem 1.2rem; }
  .prose   { padding: 4rem 1.2rem; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .stat-num  { font-size: 1.9rem; }

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

  .timeline::before { left: 16px; }
  .timeline-dot { width: 34px; height: 34px; min-width: 34px; font-size: 0.65rem; }

  .script-compare { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; }
  .footer-nav { gap: 1.5rem; }

  .page-hero { padding: 7rem 1.2rem 2rem; }

  .cta-row { flex-direction: column; align-items: center; }

  .toc { padding: 1.2rem; }
}

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