/* ===== CLEAN, DEDUPLICATED CSS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Warm, nurturing palette */
  --bg-warm: #faf6f1;
  --bg-soft-cream: #f7f0e7;
  --text-deep-warm: #4a3729;
  --text-soft-warm: #6b5a4c;
  --primary-terracotta: #d68b6e;
  --primary-peach: #f0b89a;
  --accent-sage: #a8b89a;
  --accent-sunset: #e6a57e;
  --border-warm: #e8d9ce;
  --card-cream: #fffbf6;
  --quote-warm: #faf0e8;
  --shadow-warm: 0 20px 40px rgba(106, 78, 58, 0.08);

  /* Typography */
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --container-width: 1300px;
  --content-width: 760px;
  --sidebar-width: 300px;
  --border-radius-xl: 40px;
  --border-radius-lg: 32px;
  --border-radius-md: 24px;
  --border-radius-sm: 16px;
}

/* ===== BASE STYLES ===== */
body {
  background-color: var(--bg-warm);
  font-family: var(--font-sans);
  color: var(--text-deep-warm);
  line-height: 1.7;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

/* Focus states - accessibility */
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-terracotta);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Typography */
h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.3;
  color: #3d2e23;
  letter-spacing: -0.01em;
}

h1 {
  font-size: 52px;
  margin-bottom: 0.75rem;
}
h2 {
  font-size: 34px;
  margin: 3.5rem 0 1.5rem;
  border-bottom: 2px solid var(--border-warm);
  padding-bottom: 0.8rem;
  position: relative;
}
h2:before {
  content: "𓍢";
  color: var(--primary-terracotta);
  font-size: 2rem;
  position: absolute;
  left: -2.2rem;
  top: -0.3rem;
  opacity: 0.6;
}
h3 {
  font-size: 26px;
  margin: 2.5rem 0 1.2rem;
  color: #5a4536;
}
p {
  margin-bottom: 1.6rem;
  color: var(--text-deep-warm);
}

a {
  color: var(--primary-terracotta);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
a:hover {
  border-bottom-color: var(--primary-terracotta);
}

@keyframes gentleFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #e0d6cc;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: #3a2e28;
  text-decoration: none;
  border-bottom: none;
}
.logo span {
  color: #c17b5e;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}
.nav-links a {
  text-decoration: none;
  color: #5f4e44;
  font-weight: 500;
  transition: color 0.2s ease;
  border-bottom: none;
  font-size: 1rem;
}
.nav-links a:hover {
  color: #c17b5e;
}

/* ===== LAYOUT ===== */
.main-wrapper {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 2rem 2rem 0;
}

.article-grid {
  display: flex;
  gap: 4rem;
  position: relative;
}

.article-content {
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
}

.sidebar {
  width: var(--sidebar-width);
  flex-shrink: 0;
  display: none;
}

/* ===== META & HEADER ===== */
.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--primary-peach);
  padding: 0.6rem 1.5rem;
  border-radius: 60px;
  font-size: 14px;
  font-weight: 500;
  color: #4a3729;
  margin-bottom: 1.5rem;
  border: 1px solid #d6b09c;
}
.age-badge i {
  font-size: 16px;
}

.title-block {
  margin: 1rem 0 0.8rem;
}
.subhead {
  font-size: 24px;
  font-family: var(--font-serif);
  color: #8b6f5c;
  font-weight: 300;
  font-style: italic;
  margin-bottom: 1.8rem;
}

.byline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 15px;
  margin: 2rem 0 1.5rem;
  padding: 1.2rem 0;
  border-top: 2px solid var(--border-warm);
  border-bottom: 2px solid var(--border-warm);
  color: #7a6252;
}
.byline i {
  color: var(--primary-terracotta);
  margin-right: 0.5rem;
}
.reading-time {
  display: flex;
  align-items: center;
}

/* ===== HERO SECTION ===== */
.hero-container {
  position: relative;
  width: 100%;
  height: 360px;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  margin: 2rem 0 3rem;
  box-shadow: var(--shadow-warm);
  animation: gentleRise 1s ease-out;
}
@keyframes gentleRise {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}
.hero-container:hover .hero-image {
  transform: scale(1.05);
}

.hero-caption {
  position: absolute;
  bottom: 25px;
  left: 25px;
  color: white;
  background: rgba(74, 55, 41, 0.4);
  backdrop-filter: blur(6px);
  padding: 0.6rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== EMOTIONAL HOOK ===== */
.emotional-hook {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #5d4a3b;
  background: rgba(240, 184, 154, 0.12);
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  border-left: 8px solid var(--primary-terracotta);
  margin: 2.5rem 0;
  font-family: var(--font-serif);
}

/* ===== BRAIN ILLUSTRATION ===== */
.brain-illustration {
  background: var(--card-cream);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  text-align: center;
  border: 2px solid var(--border-warm);
  box-shadow: var(--shadow-warm);
}
.brain-svg {
  max-width: 400px;
  margin: 1.5rem auto;
  animation: pulse 4s infinite ease-in-out;
}
@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
.brain-labels {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.brain-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.label-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
}
.label-dot.pfc {
  background: var(--primary-terracotta);
}
.label-dot.amygdala {
  background: var(--accent-sunset);
}

/* ===== TECHNIQUE CARDS ===== */
.technique-card {
  background: var(--card-cream);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  border: 2px solid var(--border-warm);
  box-shadow: var(--shadow-warm);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.technique-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary-terracotta);
}
.technique-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--primary-terracotta),
    var(--primary-peach)
  );
}
.technique-card h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.technique-card h3 i {
  color: var(--primary-terracotta);
  font-size: 2rem;
}

/* ===== TANTRUM SIMULATOR ===== */
.tantrum-simulator {
  background: #f4e8df;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  border: 3px dashed var(--primary-peach);
}
.simulator-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.trigger-btn {
  background: white;
  border: 2px solid var(--primary-terracotta);
  padding: 1rem 2rem;
  border-radius: 60px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  min-width: 150px;
}
.trigger-btn:hover {
  background: var(--primary-terracotta);
  color: white;
  transform: scale(1.05);
}
.tantrum-response {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 2rem;
  min-height: 120px;
  margin-top: 2rem;
  font-style: italic;
  border-left: 8px solid var(--accent-sage);
  transition: all 0.3s;
}

/* ===== EXPERT QUOTES ===== */
.expert-quote {
  margin: 3rem 0 2.5rem;
  padding: 0 2rem 0 2.5rem;
  border-left: 6px solid var(--accent-sage);
  position: relative;
}
.expert-quote p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.6;
  font-style: italic;
  color: #4d3b2e;
  margin-bottom: 0.8rem;
}
.quote-source {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.8rem;
  font-size: 1rem;
  font-weight: 500;
  color: #7a6252;
}
.quote-context {
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #7a6252;
  padding-left: 1rem;
  border-left: 3px solid var(--primary-peach);
}

/* ===== REFLECTION BOX ===== */
.reflection-box {
  background: #f4ece4;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
  border-left: 8px solid var(--accent-sage);
}
.reflection-box h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 1.8rem;
  color: #4d3b2e;
}
.reflection-box ul {
  list-style: none;
}
.reflection-box li {
  margin-bottom: 1.2rem;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.1rem;
}
.reflection-box li:before {
  content: "𓋴";
  position: absolute;
  left: 0;
  color: var(--primary-terracotta);
  font-size: 1.4rem;
}

/* ===== ANONYMOUS RESPONSE ===== */
.anonymous-response {
  background: var(--card-cream);
  border-radius: var(--border-radius-xl);
  padding: 3rem;
  margin: 4rem 0;
  border: 3px solid var(--primary-peach);
  text-align: center;
  box-shadow: var(--shadow-warm);
}
.anonymous-response h4 {
  font-family: var(--font-serif);
  font-size: 28px;
  color: #4d3b2e;
  margin-bottom: 1.5rem;
}
.anonymous-response textarea {
  width: 100%;
  padding: 1.8rem;
  border-radius: var(--border-radius-md);
  border: 2px solid var(--border-warm);
  background: white;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  margin: 1.5rem 0;
  resize: vertical;
}
.anonymous-response textarea:focus {
  border-color: var(--primary-terracotta);
}
.anonymous-response button {
  background: var(--primary-terracotta);
  border: none;
  color: white;
  padding: 1.2rem 3rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.anonymous-response button:hover {
  background: #c47a5b;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(214, 139, 110, 0.3);
}
.response-note {
  font-size: 0.9rem;
  color: #8f7a69;
  margin-top: 1.5rem;
}

/* ===== ANCHOR TOOLKIT ===== */
.anchor-toolkit {
  background: #f1e7df;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 3rem 0;
}
.toolkit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.toolkit-item {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 1.8rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}
.toolkit-item:hover {
  border-color: var(--primary-terracotta);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
}
.toolkit-item i {
  font-size: 2.5rem;
  color: var(--primary-terracotta);
  margin-bottom: 1rem;
}
.toolkit-tip {
  background: var(--primary-peach);
  border-radius: var(--border-radius-sm);
  padding: 1.5rem;
  margin-top: 1.5rem;
  display: none;
}
.toolkit-tip.active {
  display: block;
  animation: fadeIn 0.5s;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== FAQ SECTION ===== */
.faq-section {
  background: #f4ece4;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  margin: 4rem 0;
}
.faq-item {
  margin: 2.5rem 0;
  border-bottom: 2px dashed var(--border-warm);
  padding-bottom: 2rem;
}
.faq-item:last-child {
  border-bottom: none;
}
.faq-question {
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #4d3b2e;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}
.faq-question i {
  color: var(--primary-terracotta);
  transition: transform 0.3s;
}
.faq-question:hover i {
  transform: rotate(90deg);
}
.faq-answer {
  padding-left: 2.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===== AUTHOR BIO ===== */
.author-bio {
  background: #f4ece4;
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  margin: 4rem 0 3rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
  border: 2px solid var(--border-warm);
}
.author-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--primary-peach);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.author-info {
  flex: 1;
}
.author-info h4 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
  color: #3d2e23;
}
.author-credentials {
  font-size: 0.95rem;
  color: #7a6252;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--border-warm);
}

/* ===== RECOMMENDATION ENGINE ===== */
.recommendation-engine {
  background: #f4ece4;
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  margin: 4rem 0 3rem;
}
.rec-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.rec-header h4 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: #3d2e23;
}
.rec-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}
.rec-tab {
  padding: 0.6rem 1.8rem;
  background: white;
  border-radius: 40px;
  border: 2px solid var(--border-warm);
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s;
}
.rec-tab.active {
  background: var(--primary-terracotta);
  color: white;
  border-color: var(--primary-terracotta);
}
.rec-tab:hover {
  background: var(--primary-peach);
  border-color: var(--primary-terracotta);
}
.rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  margin: 2.5rem 0;
}
.rec-card {
  background: white;
  border-radius: var(--border-radius-md);
  padding: 1.8rem;
  border: 2px solid var(--border-warm);
  cursor: pointer;
  transition: all 0.3s;
}
.rec-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-terracotta);
  box-shadow: 0 20px 40px rgba(214, 139, 110, 0.1);
}
.rec-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #9a8473;
  margin-bottom: 0.8rem;
}
.rec-title {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.rec-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: #8f7a69;
}

/* ===== RECOMMENDATION ENGINE ===== */
.recommendations-section {
  margin: 3rem 0;
  padding: 2rem 0;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background: #fafafa;
  border-radius: 24px;
  padding: 2rem;
}

.recommendations-section h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  text-align: center;
  position: relative;
}

.recommendations-section h3:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #6c5ce7;
  margin: 12px auto 0;
  border-radius: 2px;
}

#development-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .recommendations-section {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  #development-recommendations {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .recommendations-section h3 {
    font-size: 1.25rem;
  }
}

/* ===== SIDEBAR ===== */
.sidebar-module {
  background: #f4ece4;
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-module h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #3d2e23;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.sidebar-module ul {
  list-style: none;
}
.sidebar-module li {
  margin-bottom: 0.5rem;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  color: inherit;
  text-decoration: none;
  width: 100%;
  font-size: 0.9rem;
}
.nav-link:hover {
  background: rgba(214, 139, 110, 0.1);
}
.nav-link i {
  font-size: 0.5rem;
  color: var(--primary-terracotta);
}

.progress-tracker {
  background: white;
  border-radius: var(--border-radius-sm);
  padding: 1.2rem;
  margin-top: 1rem;
}
.progress-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}
.progress-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-terracotta);
}

/* Newsletter in sidebar */
.sidebar-module.newsletter-module {
  background: linear-gradient(135deg, #f7efe8, #f4e4da);
  text-align: center;
}
.sidebar-newsletter-form input {
  width: 100%;
  padding: 0.8rem;
  border-radius: 40px;
  border: 1px solid var(--border-warm);
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
}
.sidebar-newsletter-form button {
  width: 100%;
  background: var(--primary-terracotta);
  border: none;
  padding: 0.8rem;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

/* ============================================================
   UNIVERSAL FOOTER — full-bleed, responsive, article-safe
   Works whether footer is inside .main-wrapper or not
   ============================================================ */

/* 1) Force full viewport width, ignore any parent max-width */
.site-footer {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background: #2c2826;
  color: #dacbc0;
  padding: 3rem 1.5rem 0;
  margin-top: 4rem;
  position: relative;
  overflow-x: hidden;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
  box-sizing: border-box;
}

.footer-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0;
}

/* 2) Fluid 4-column grid */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

/* Brand */
.footer-logo {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.footer-logo span {
  color: #c87a5a;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #dacbc0;
  margin: 0;
}

/* Column headings */
.footer-col h4 {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem 0;
  letter-spacing: 0.02em;
}

/* Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: #dacbc0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #c87a5a;
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.footer-social .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #dacbc0;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.footer-social .social-link:hover {
  background: #c87a5a;
  color: #fff;
}

/* Newsletter form */
.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.footer-newsletter-form input[type="email"] {
  width: 100%;
  padding: 0.7rem 1rem;
  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.footer-newsletter-form input[type="email"]::placeholder {
  color: rgba(218, 203, 192, 0.6);
}

.footer-newsletter-form input[type="email"]:focus {
  border-color: #c87a5a;
}

/* Newsletter submit button */
.footer-newsletter-form button,
.footer-col form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem 1.4rem;
  border: none;
  border-radius: 40px;
  background: #6f8e7e;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  transition:
    background 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease;
}

.footer-newsletter-form button:hover,
.footer-col form button:hover {
  background: #6f8e7e;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.footer-newsletter-form button:active,
.footer-col form button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.footer-newsletter-form button:focus-visible,
.footer-col form button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Trust badges */
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 1.5rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  color: #dacbc0;
  white-space: nowrap;
}

.trust-badge i {
  color: #c87a5a;
  flex-shrink: 0;
}

/* Disclaimer */
.footer-disclaimer {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0.6rem;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #dacbc0;
  text-align: left;
}

.footer-disclaimer i {
  color: #c87a5a;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Copyright */
.footer-copyright {
  text-align: center;
  padding: 0.5rem 0 1rem;
  width: 100%;
}

.footer-copyright p {
  margin: 0;
  font-size: 0.82rem;
  color: #dacbc0;
  opacity: 0.85;
}

/* Email contact bar */
.footer-contact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  width: 100%;
  flex-wrap: wrap;
}

.footer-contact i {
  color: #c87a5a;
  flex-shrink: 0;
}

.footer-contact a {
  color: #dacbc0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  word-break: break-word;
}

.footer-contact a:hover {
  color: #c87a5a;
}

/* ============================================================
   RESPONSIVE — footer
   ============================================================ */

/* Tablet: 2 columns */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile: 1 column, centered */
@media (max-width: 560px) {
  .site-footer {
    padding: 2.5rem 1rem 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    text-align: center;
  }

  .footer-col {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-newsletter-form {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }

  .footer-trust {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

/* ===== NEW UNIQUE ELEMENTS STYLES ===== */
.reading-mode-selector {
  background: #fffbf6;
  border-radius: 60px;
  padding: 0.8rem 1.5rem;
  margin: 1.5rem 0;
  display: inline-flex;
  gap: 1rem;
  border: 2px solid var(--border-warm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.mode-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 40px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-soft-warm);
}
.mode-btn.active {
  background: var(--primary-terracotta);
  color: white;
}
.mode-btn:first-child:hover:not(.active) {
  background: var(--primary-peach);
}
.mode-btn:last-child:hover:not(.active) {
  background: var(--accent-sage);
  color: white;
}

.floating-skip-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-terracotta);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(214, 139, 110, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
.floating-skip-btn.visible {
  opacity: 1;
  visibility: visible;
}
.floating-skip-btn:hover {
  transform: translateY(-3px);
  background: #c47a5b;
}

.live-poll {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  border: 2px solid var(--border-warm);
  box-shadow: var(--shadow-warm);
}
.poll-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  margin: 0.5rem 0;
  background: #faf6f1;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.2s;
}
.poll-option:hover {
  background: #f0e4dc;
  transform: translateX(5px);
}
.poll-vote-count {
  margin-left: auto;
  color: var(--primary-terracotta);
  font-weight: 600;
}

.future-self-letter {
  background: linear-gradient(135deg, #f7efe8, #f4e4da);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  margin: 3rem 0;
  text-align: center;
  border: 2px solid var(--primary-peach);
  position: relative;
}
.future-self-letter:before {
  content: "✧";
  font-size: 4rem;
  color: var(--primary-terracotta);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 30px;
}
.future-self-letter:after {
  content: "✧";
  font-size: 4rem;
  color: var(--primary-terracotta);
  opacity: 0.3;
  position: absolute;
  bottom: 20px;
  right: 30px;
}

.break-interstitial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 55, 41, 0.95);
  backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.break-interstitial.active {
  opacity: 1;
  visibility: visible;
}
.break-content {
  background: white;
  max-width: 500px;
  padding: 3rem;
  border-radius: 40px;
  text-align: center;
}
.break-content button {
  background: var(--primary-terracotta);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
}

.reaction-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}
.reaction-btn {
  background: white;
  border: 2px solid var(--border-warm);
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.reaction-btn:hover {
  border-color: var(--primary-terracotta);
  transform: translateY(-3px);
}
.reaction-count {
  color: var(--primary-terracotta);
  font-weight: 600;
}

.mood-tracker {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid var(--border-warm);
}
.mood-slider {
  width: 100%;
  margin: 1rem 0;
  -webkit-appearance: none;
  background: var(--border-warm);
  height: 8px;
  border-radius: 4px;
}
.mood-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary-terracotta);
  border-radius: 50%;
  cursor: pointer;
}
.mood-value {
  font-weight: 600;
  color: var(--primary-terracotta);
}

.printable-summary {
  background: #f4ece4;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 3rem 0;
  border: 2px solid var(--primary-peach);
}

/* Essentials-only content wrapper */
.essentials-only {
  display: none;
}

body.essentials-mode .full-depth-content {
  display: none !important;
}

body.essentials-mode .essentials-only {
  display: block !important;
}

/* Essentials mode content styling */
.essentials-only .essentials-summary {
  background: linear-gradient(135deg, #f7efe8, #f4e4da);
  border-radius: 24px;
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid var(--primary-peach);
  text-align: center;
}

.essentials-only .essentials-summary h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.essentials-only .essentials-list {
  background: #faf6f1;
  border-radius: 20px;
  padding: 1.5rem 2rem;
  margin: 1rem 0;
}

.essentials-only .essentials-list li {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
  padding-left: 1.5rem;
  position: relative;
  list-style: none;
  line-height: 1.6;
}

.essentials-only .essentials-list li:before {
  content: "✦";
  position: absolute;
  left: -0.5rem;
  color: var(--primary-terracotta);
  font-weight: 700;
}

/* Reading mode selector enhanced */
.reading-mode-selector {
  display: flex;
  gap: 0.8rem;
  margin: 1rem 0 2rem;
  justify-content: center;
  flex-wrap: wrap;
  background: #fffbf6;
  border-radius: 60px;
  padding: 0.8rem 1.5rem;
  border: 2px solid var(--border-warm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.mode-btn {
  background: transparent;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 40px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-soft-warm);
  font-weight: 500;
}

.mode-btn.active {
  background: var(--primary-terracotta);
  color: white;
  box-shadow: 0 4px 12px rgba(214, 139, 110, 0.3);
}

.mode-btn:hover:not(.active) {
  background: var(--primary-peach);
  transform: translateY(-2px);
}

/* Skip to Solutions Button */
.floating-skip-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--primary-terracotta);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(214, 139, 110, 0.4);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.floating-skip-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-skip-btn:hover {
  transform: translateY(-3px) scale(1.03);
  background: #c47a5b;
  box-shadow: 0 8px 25px rgba(214, 139, 110, 0.5);
}

/* Live Poll */
.live-poll {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 2.5rem 0;
  border: 2px solid var(--border-warm);
  box-shadow: var(--shadow-warm);
}

.poll-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  margin: 0.5rem 0;
  background: #faf6f1;
  border-radius: 60px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.poll-option:hover {
  background: #f0e4dc;
  border-color: var(--primary-terracotta);
  transform: translateX(5px);
}

.poll-option span:first-child {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.poll-vote-count {
  background: var(--primary-peach);
  border-radius: 30px;
  padding: 0.2rem 0.8rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: #4d3b2e;
}

/* Letter from Future Self */
.future-self-letter {
  background: linear-gradient(135deg, #f7efe8, #f4e4da);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  margin: 3rem 0;
  text-align: center;
  border: 2px solid var(--primary-peach);
  position: relative;
}

.future-self-letter:before {
  content: "✧";
  font-size: 4rem;
  color: var(--primary-terracotta);
  opacity: 0.3;
  position: absolute;
  top: 20px;
  left: 30px;
}

.future-self-letter:after {
  content: "✧";
  font-size: 4rem;
  color: var(--primary-terracotta);
  opacity: 0.3;
  position: absolute;
  bottom: 20px;
  right: 30px;
}

.future-self-letter h3 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.future-self-letter p {
  position: relative;
  z-index: 1;
  line-height: 1.8;
  font-size: 1.15rem;
}

/* Reaction Buttons */
.reaction-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 3rem 0;
  flex-wrap: wrap;
}

.reaction-btn {
  background: white;
  border: 2px solid var(--border-warm);
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-deep-warm);
}

.reaction-btn:hover {
  border-color: var(--primary-terracotta);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(214, 139, 110, 0.15);
}

.reaction-count {
  color: var(--primary-terracotta);
  font-weight: 700;
  background: var(--primary-peach);
  border-radius: 30px;
  padding: 0.1rem 0.7rem;
  font-size: 0.8rem;
  margin-left: 0.3rem;
}

/* Mood Tracker Enhanced */
.mood-tracker {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid var(--border-warm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.mood-tracker h4 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.15rem;
}

.mood-slider {
  width: 100%;
  margin: 0.8rem 0;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border-warm);
  height: 8px;
  border-radius: 4px;
  outline: none;
}

.mood-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: var(--primary-terracotta);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mood-slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: var(--primary-terracotta);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mood-tracker .mood-value {
  font-weight: 700;
  color: var(--primary-terracotta);
  background: var(--primary-peach);
  padding: 0.1rem 0.8rem;
  border-radius: 30px;
}

.mood-tracker .print-btn {
  background: var(--accent-sage);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 60px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  width: 100%;
  margin-top: 0.5rem;
}

.mood-tracker .print-btn:hover {
  background: #8ba89a;
  transform: translateY(-2px);
}

.mood-tracker #saveMoodBefore {
  background: var(--primary-peach);
  color: var(--text-deep-warm);
}

.mood-tracker #saveMoodBefore:hover {
  background: var(--primary-terracotta);
  color: white;
}

#moodComparison {
  margin-top: 1rem;
  padding: 1rem;
  background: #f4ece4;
  border-radius: 40px;
  font-size: 1rem;
  line-height: 1.6;
  text-align: center;
  font-weight: 500;
}

/* Break Interstitial */
.break-interstitial {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(74, 55, 41, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.break-interstitial.active {
  opacity: 1;
  visibility: visible;
}

.break-content {
  background: white;
  max-width: 500px;
  padding: 3rem;
  border-radius: 40px;
  text-align: center;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.break-content i {
  font-size: 3rem;
  color: var(--accent-sage);
  margin-bottom: 1rem;
}

.break-content h3 {
  font-family: var(--font-serif);
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.break-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.break-content button {
  background: var(--primary-terracotta);
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.break-content button:hover {
  background: #c47a5b;
  transform: scale(1.03);
}

/* Printable Summary Card */
.printable-summary {
  background: #f4ece4;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin: 3rem 0;
  border: 2px solid var(--primary-peach);
}

.printable-summary h4 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.printable-summary > div {
  display: grid;
  gap: 1rem;
}

.printable-summary > div > div {
  background: white;
  padding: 0.8rem 1.2rem;
  border-radius: 16px;
  border: 1px solid var(--border-warm);
  line-height: 1.6;
}

.printable-summary .print-btn {
  background: var(--accent-sage);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 60px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1.5rem;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.printable-summary .print-btn:hover {
  background: #8ba89a;
  transform: translateY(-2px);
}

/* Additional image styling */
.sign-of-health-image {
  margin: 3rem 0 1rem 0;
  text-align: center;
}

.sign-of-health-image img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-warm);
  transition: transform 0.5s ease;
}

.sign-of-health-image img:hover {
  transform: scale(1.01);
}

.sign-of-health-image p {
  font-size: 0.85rem;
  color: #8f7a69;
  margin-top: 0.8rem;
  font-style: italic;
}

/* Internal links styling */
.internal-link {
  color: var(--primary-terracotta);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--primary-peach);
  transition: all 0.2s ease;
}

.internal-link:hover {
  border-bottom-color: var(--primary-terracotta);
  color: #c47a5b;
}

/* Newsletter in sidebar */
.sidebar-module.newsletter-module {
  background: linear-gradient(135deg, #f7efe8, #f4e4da);
  text-align: center;
  border: 2px solid var(--primary-peach);
}

.sidebar-newsletter-form input {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 40px;
  border: 2px solid var(--border-warm);
  margin-bottom: 0.8rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background: white;
  transition: border-color 0.2s ease;
}

.sidebar-newsletter-form input:focus {
  border-color: var(--primary-terracotta);
  outline: none;
}

.sidebar-newsletter-form button {
  width: 100%;
  background: var(--primary-terracotta);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 40px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.sidebar-newsletter-form button:hover {
  background: #c47a5b;
  transform: translateY(-2px);
}

/* Citation badge styling */
.citation-badge a {
  color: var(--primary-terracotta);
  font-weight: 500;
  text-decoration: none;
  border-bottom: none;
  font-size: 0.8rem;
  vertical-align: super;
}

.citation-badge a:hover {
  text-decoration: underline;
}

/* Responsive adjustments for unique elements */
@media (max-width: 768px) {
  .future-self-letter {
    padding: 2rem;
  }

  .future-self-letter:before,
  .future-self-letter:after {
    font-size: 2.5rem;
    opacity: 0.2;
  }

  .future-self-letter p {
    font-size: 1rem;
  }

  .break-content {
    padding: 2rem;
    margin: 1rem;
  }

  .break-content h3 {
    font-size: 1.6rem;
  }

  .reaction-buttons {
    gap: 0.8rem;
  }

  .reaction-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
  }

  .poll-option {
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }

  .reading-mode-selector {
    padding: 0.6rem 1rem;
    border-radius: 40px;
  }

  .mode-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }

  .floating-skip-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px 18px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .future-self-letter {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .future-self-letter:before,
  .future-self-letter:after {
    display: none;
  }

  .future-self-letter h3 {
    font-size: 1.3rem;
  }

  .future-self-letter p {
    font-size: 0.95rem;
  }

  .reading-mode-selector {
    flex-direction: column;
    gap: 0.5rem;
    border-radius: 30px;
    padding: 0.8rem;
    width: 100%;
  }

  .mode-btn {
    width: 100%;
    text-align: center;
  }

  .reaction-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .reaction-btn {
    justify-content: center;
  }

  .poll-option {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }

  .break-content {
    padding: 1.5rem;
  }

  .break-content h3 {
    font-size: 1.3rem;
  }

  .break-content p {
    font-size: 0.95rem;
  }

  .mood-tracker {
    padding: 1.2rem;
  }

  .mood-tracker h4 {
    font-size: 1rem;
  }

  .printable-summary {
    padding: 1.2rem;
  }

  .printable-summary h4 {
    font-size: 1.1rem;
  }

  .printable-summary > div > div {
    font-size: 0.9rem;
  }
}

@media print {
  .reading-mode-selector,
  .floating-skip-btn,
  .break-interstitial,
  .live-poll,
  .reaction-buttons,
  .site-header,
  .sidebar,
  .site-footer {
    display: none !important;
  }

  .printable-summary {
    break-inside: avoid;
    border: 2px solid #ccc !important;
  }

  .mood-tracker {
    break-inside: avoid;
  }

  .full-depth-content {
    display: block !important;
  }

  .essentials-only {
    display: none !important;
  }

  body.essentials-mode .full-depth-content {
    display: block !important;
  }

  body.essentials-mode .essentials-only {
    display: none !important;
  }
}

/* ===== RESPONSIVE BREAKPOINTS (SINGLE, CLEAN SET) ===== */
@media (min-width: 1025px) {
  .sidebar {
    display: block;
  }
  .article-content {
    margin: 0;
  }
}

@media (max-width: 1024px) {
  .article-content {
    max-width: 700px;
  }
  h1 {
    font-size: 44px;
  }
  h2:before {
    display: none;
  }
}

@media (max-width: 900px) {
  .article-content {
    max-width: 100%;
  }
  .rec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .toolkit-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

@media (max-width: 768px) {
  body {
    font-size: 17px;
  }
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 30px;
  }
  h3 {
    font-size: 24px;
  }
  .hero-container {
    height: 250px;
  }
  .author-bio {
    flex-direction: column;
    text-align: center;
  }
  .rec-grid {
    grid-template-columns: 1fr;
  }
  .rec-tabs {
    flex-direction: column;
    align-items: center;
  }
  .future-self-letter {
    padding: 2rem;
  }
  .future-self-letter:before,
  .future-self-letter:after {
    font-size: 2rem;
  }
}

@media (max-width: 640px) {
  .nav-bar {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  .nav-links {
    gap: 1.5rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .reading-mode-selector {
    width: 100%;
    justify-content: center;
  }
  .mode-btn {
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
  }
  .reaction-buttons {
    gap: 0.8rem;
  }
  .reaction-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .main-wrapper {
    padding: 1rem 1rem 0;
  }
  h1 {
    font-size: 34px;
  }
  .hero-container {
    height: 200px;
  }
  .anonymous-response {
    padding: 2rem 1.5rem;
  }
  .faq-section {
    padding: 2rem 1.5rem;
  }
  .faq-question {
    font-size: 1.1rem;
  }
  .faq-answer {
    padding-left: 1.5rem;
  }
  .trigger-btn {
    min-width: 100%;
  }
  .simulator-buttons {
    flex-direction: column;
  }
  .toolkit-grid {
    grid-template-columns: 1fr;
  }
  .future-self-letter {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  .future-self-letter:before,
  .future-self-letter:after {
    display: none;
  }
}

@media (max-width: 320px) {
  h1 {
    font-size: 28px;
  }
  .subhead {
    font-size: 18px;
  }
  .emotional-hook {
    font-size: 1.1rem;
    padding: 1.5rem;
  }
  .expert-quote p {
    font-size: 1.2rem;
  }
  .break-content {
    padding: 1.5rem;
    margin: 1rem;
  }
}

/* Footer specific responsive */
@media (max-width: 800px) {
  .footer-container {
    padding: 1.5rem 1.5rem 1rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-trust {
    gap: 1rem;
  }
  .trust-badge {
    font-size: 0.65rem;
  }
  .footer-disclaimer {
    flex-direction: column;
    text-align: center;
    gap: 0.3rem;
  }
}

@media (max-width: 550px) {
  .footer-container {
    padding: 1.2rem 1rem 0.8rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-newsletter-form {
    max-width: 280px;
    margin: 0 auto;
  }
  .footer-trust {
    gap: 0.8rem;
  }
  .trust-badge {
    font-size: 0.6rem;
  }
  .footer-copyright p {
    font-size: 0.65rem;
  }
}
