/* SleepWise — Design Tokens */
:root {
  --midnight: #0D1117;
  --deep-navy: #141B2D;
  --dusk: #1E2A45;
  --twilight: #2A3A5C;
  --moonbeam: #C8D8F0;
  --starlight: #E8EFF8;
  --ivory: #F5F2ED;
  --accent-gold: #D4A843;
  --accent-teal: #4ABFB5;
  --accent-rose: #C46A7A;
  --text-primary: #1A1A2E;
  --text-secondary: #4A5568;
  --text-muted: #718096;
  --text-light: #A0AEC0;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --border-dark: #CBD5E0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-display: 'Crimson Pro', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --max-width: 1200px;
  --content-width: 760px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography Scale */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.25;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p { margin-bottom: 1.25rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }
a { color: var(--twilight); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--accent-teal); }
strong { color: var(--text-primary); font-weight: 600; }
em { font-style: italic; }

img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.5rem; color: var(--text-secondary); }
li { margin-bottom: 0.4rem; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.content-container { max-width: var(--content-width); margin: 0 auto; padding: 0 1.5rem; }

/* ===================== SITE HEADER ===================== */
.site-header {
  background: var(--midnight);
  border-bottom: 1px solid rgba(200,216,240,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-icon {
  width: 36px;
  height: 36px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--accent-teal); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.site-nav a {
  color: var(--moonbeam);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}
.site-nav a:hover {
  background: rgba(200,216,240,0.1);
  color: var(--white);
}
.nav-cta {
  background: var(--accent-teal) !important;
  color: var(--midnight) !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: #5DCFC5 !important;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--moonbeam);
}

/* ===================== HERO ===================== */
.hero {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--deep-navy) 50%, #1A2744 100%);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(74,191,181,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: -10%;
  width: 40%;
  height: 120%;
  background: radial-gradient(ellipse, rgba(212,168,67,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(74,191,181,0.12);
  border: 1px solid rgba(74,191,181,0.3);
  color: var(--accent-teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero h1 {
  color: var(--white);
  max-width: 760px;
  margin: 0 auto 1.25rem;
}
.hero h1 em {
  color: var(--accent-teal);
  font-style: normal;
}
.hero-lead {
  color: var(--moonbeam);
  font-size: 1.125rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--accent-teal);
  color: var(--midnight);
}
.btn-primary:hover {
  background: #5DCFC5;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(74,191,181,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(200,216,240,0.35);
}
.btn-outline:hover {
  border-color: rgba(200,216,240,0.7);
  background: rgba(200,216,240,0.08);
}
.hero-stats {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(200,216,240,0.12);
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-size: 1.75rem;
  font-family: var(--font-display);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 0.2rem;
}
.hero-stat span {
  font-size: 0.8125rem;
  color: var(--moonbeam);
  opacity: 0.75;
}

/* ===================== SECTION LABELS ===================== */
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin-bottom: 0.75rem;
}

/* ===================== CATEGORY STRIP ===================== */
.category-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.category-strip::-webkit-scrollbar { display: none; }
.category-strip-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: var(--ivory);
  border: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.cat-pill:hover, .cat-pill.active {
  background: var(--twilight);
  border-color: var(--twilight);
  color: var(--white);
}

/* ===================== SECTION LAYOUTS ===================== */
.section { padding: 4.5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 6rem 0; }
.section-alt { background: var(--white); }
.section-dark {
  background: var(--deep-navy);
  color: var(--white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: var(--moonbeam); }

.section-header {
  margin-bottom: 3rem;
}
.section-header.centered {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

/* ===================== ARTICLE GRID ===================== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}
.article-grid-3 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-category-bar {
  height: 3px;
}
.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
}
.card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-teal);
  text-decoration: none;
}
.card-dot { color: var(--text-light); font-size: 0.6rem; }
.card-read-time { font-size: 0.75rem; color: var(--text-muted); }
.card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  text-decoration: none;
  display: block;
}
.card-title:hover { color: var(--twilight); }
.card-excerpt {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.card-link {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--twilight);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.card-link:hover { color: var(--accent-teal); }
.card-tag {
  font-size: 0.7rem;
  background: var(--ivory);
  color: var(--text-muted);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* Featured card */
.article-card-featured {
  grid-column: span 2;
  flex-direction: row;
}
.article-card-featured .card-body { padding: 2rem; }
.article-card-featured .card-title { font-size: 1.5rem; }
.article-card-featured .card-excerpt { font-size: 0.9375rem; }
.card-visual {
  width: 280px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--dusk), var(--twilight));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

/* ===================== TOPIC PILLARS ===================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}
.pillar-card {
  background: rgba(200,216,240,0.06);
  border: 1px solid rgba(200,216,240,0.12);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-decoration: none;
  transition: all 0.2s;
  text-align: center;
}
.pillar-card:hover {
  background: rgba(74,191,181,0.1);
  border-color: rgba(74,191,181,0.3);
  transform: translateY(-2px);
}
.pillar-icon { font-size: 2.25rem; margin-bottom: 0.875rem; }
.pillar-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.4rem;
}
.pillar-count { font-size: 0.775rem; color: var(--moonbeam); opacity: 0.7; }

/* ===================== FEATURED GUIDE STRIP ===================== */
.guide-strip {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
}
.guide-card-main, .guide-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-decoration: none;
  display: block;
  transition: all 0.2s;
}
.guide-card-main:hover, .guide-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.guide-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 0.75rem;
}
.guide-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.875rem;
}
.guide-card .guide-title { font-size: 1.05rem; }
.guide-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.guide-meta {
  font-size: 0.775rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===================== NEWSLETTER ===================== */
.newsletter-section {
  background: linear-gradient(135deg, var(--dusk) 0%, var(--twilight) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  margin: 0 1.5rem;
}
.newsletter-section h2 { color: var(--white); margin-bottom: 0.75rem; }
.newsletter-section p { color: var(--moonbeam); margin-bottom: 2rem; }
.newsletter-form {
  display: flex;
  gap: 0.75rem;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 0.8rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(200,216,240,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: rgba(200,216,240,0.45); }
.newsletter-form input:focus { border-color: var(--accent-teal); }

/* ===================== SITE FOOTER ===================== */
.site-footer {
  background: var(--midnight);
  color: var(--moonbeam);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-text { color: var(--white); margin-bottom: 0.875rem; display: block; font-size: 1.35rem; font-family: var(--font-display); font-weight: 700; }
.footer-brand p { font-size: 0.875rem; color: rgba(200,216,240,0.65); line-height: 1.65; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  font-family: var(--font-body);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a {
  color: rgba(200,216,240,0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent-teal); }
.footer-bottom {
  border-top: 1px solid rgba(200,216,240,0.08);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(200,216,240,0.4); margin: 0; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.8rem; color: rgba(200,216,240,0.4); text-decoration: none; }
.footer-links a:hover { color: var(--accent-teal); }

/* ===================== ARTICLE PAGE ===================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  align-items: start;
}
.article-header {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--deep-navy) 100%);
  padding: 4rem 1.5rem 3rem;
  color: var(--white);
}
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--moonbeam);
  opacity: 0.7;
  margin-bottom: 1.25rem;
}
.article-breadcrumb a { color: inherit; text-decoration: none; }
.article-breadcrumb a:hover { opacity: 1; color: var(--accent-teal); }
.article-header-inner { max-width: 820px; margin: 0 auto; }
.article-header .section-label { margin-bottom: 1rem; }
.article-header h1 { color: var(--white); margin-bottom: 1rem; }
.article-header .lead {
  font-size: 1.125rem;
  color: var(--moonbeam);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.article-meta-bar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(200,216,240,0.12);
}
.meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: rgba(200,216,240,0.65);
}
.meta-icon { font-size: 0.875rem; }

.article-content { font-size: 1.0625rem; line-height: 1.8; }
.article-content h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem;
  padding-top: 1rem;
}
.article-content h3 {
  font-size: 1.3rem;
  margin: 2rem 0 0.875rem;
}
.article-content h4 { margin: 1.5rem 0 0.75rem; }
.article-content p { margin-bottom: 1.4rem; color: var(--text-secondary); }
.article-content ul, .article-content ol {
  margin-bottom: 1.4rem;
  color: var(--text-secondary);
}
.article-content li { margin-bottom: 0.6rem; }
.article-content blockquote {
  border-left: 3px solid var(--accent-teal);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: #F0F9F8;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-secondary);
}
.article-content .callout {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}
.callout-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-teal);
  margin-bottom: 0.5rem;
}
.article-content .key-takeaway {
  background: linear-gradient(135deg, #EBF8FF, #F0F9F8);
  border: 1px solid #BEE3F8;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.9rem;
}
.article-content th {
  background: var(--dusk);
  color: var(--white);
  padding: 0.875rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}
.article-content td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  vertical-align: top;
}
.article-content tr:nth-child(even) td { background: var(--ivory); }

/* Sidebar */
.article-sidebar { position: sticky; top: 84px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-widget h4 {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}
.toc-list { list-style: none; padding: 0; }
.toc-list li { margin-bottom: 0; }
.toc-list a {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.4rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.875rem;
  transition: all 0.2s;
  line-height: 1.4;
}
.toc-list a:hover, .toc-list a.active {
  color: var(--accent-teal);
  border-left-color: var(--accent-teal);
}
.related-list { list-style: none; padding: 0; }
.related-list li { margin-bottom: 0; }
.related-list a {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
  transition: color 0.2s;
}
.related-list li:last-child a { border-bottom: none; }
.related-list a:hover { color: var(--twilight); }

/* ===================== INFO BOXES ===================== */
.info-box {
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  border: 1px solid;
}
.info-box.tip { background: #F0FFF4; border-color: #9AE6B4; }
.info-box.warning { background: #FFFBEB; border-color: #F6E05E; }
.info-box.important { background: #EBF8FF; border-color: #90CDF4; }
.info-box-title {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.info-box.tip .info-box-title { color: #276749; }
.info-box.warning .info-box-title { color: #7B341E; }
.info-box.important .info-box-title { color: #2B6CB0; }

/* ===================== SLEEP STAGE VISUAL ===================== */
.sleep-stage-viz {
  background: var(--midnight);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin: 2rem 0;
  overflow-x: auto;
}
.sleep-chart {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 500px;
}
.sleep-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.sleep-row-label {
  width: 80px;
  font-size: 0.75rem;
  color: var(--moonbeam);
  text-align: right;
  flex-shrink: 0;
}
.sleep-bar-track {
  flex: 1;
  height: 28px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.sleep-segment {
  position: absolute;
  top: 0;
  height: 100%;
  border-radius: 2px;
}

/* ===================== PROGRESS SECTION ===================== */
.progress-list { list-style: none; padding: 0; counter-reset: steps; }
.progress-list li {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  counter-increment: steps;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--twilight);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  font-family: var(--font-body);
}
.step-body h4 { margin-bottom: 0.4rem; color: var(--text-primary); }
.step-body p { margin: 0; font-size: 0.9rem; color: var(--text-secondary); }

/* ===================== BREADCRUMB ===================== */
.page-breadcrumb {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.875rem 1.5rem;
}
.page-breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.page-breadcrumb a { color: var(--text-muted); text-decoration: none; }
.page-breadcrumb a:hover { color: var(--twilight); }
.breadcrumb-sep { opacity: 0.4; }

/* ===================== CATEGORY PAGE ===================== */
.category-header {
  background: linear-gradient(135deg, var(--midnight) 0%, var(--dusk) 100%);
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: var(--white);
}
.category-header h1 { color: var(--white); margin-bottom: 0.75rem; }
.category-header p { color: var(--moonbeam); max-width: 520px; margin: 0 auto; }

/* ===================== ABOUT PAGE ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.value-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.value-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}
.value-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(74,191,181,0.1);
  color: var(--accent-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.value-text h4 { font-size: 0.9375rem; margin-bottom: 0.25rem; }
.value-text p { font-size: 0.875rem; margin: 0; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .guide-strip { grid-template-columns: 1fr 1fr; }
  .guide-strip .guide-card-main { grid-column: span 2; }
  .article-card-featured { grid-column: span 1; flex-direction: column; }
  .article-card-featured .card-visual { display: none; }
}

@media (max-width: 768px) {
  .site-nav { display: none; }
  .site-nav.open { display: flex; flex-direction: column; position: fixed; top: 64px; left: 0; right: 0; background: var(--midnight); padding: 1.5rem; gap: 0.5rem; border-top: 1px solid rgba(200,216,240,0.1); }
  .hamburger { display: flex; }
  .hero { padding: 3.5rem 1.5rem 3rem; }
  .hero-stats { gap: 1.5rem; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .guide-strip { grid-template-columns: 1fr; }
  .guide-strip .guide-card-main { grid-column: span 1; }
  .newsletter-section { padding: 2.5rem 1.5rem; }
  .newsletter-form { flex-direction: column; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

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

/* ===================== UTILITIES ===================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

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

/* ===================== PRINT ===================== */
@media print {
  .site-header, .site-footer, .article-sidebar, .newsletter-section { display: none; }
  .article-layout { display: block; }
  body { background: white; color: black; }
}
