/* ═══════════════════════════════════════════════
   AP World Calculator 2026 — Main Stylesheet
   Aesthetic: Refined Academic / Editorial Navy & Gold
   ═══════════════════════════════════════════════ */

:root {
  --navy:       #0d1b2a;
  --navy-mid:   #1a2e45;
  --navy-light: #253d57;
  --gold:       #c9a84c;
  --gold-light: #e2c47e;
  --cream:      #faf7f2;
  --cream-dark: #f0ebe0;
  --text:       #1c2b3a;
  --text-muted: #5a6e82;
  --white:      #ffffff;
  --border:     #ddd6c8;
  --score-5:    #1a6e4a;
  --score-4:    #2e7d32;
  --score-3:    #b07d00;
  --score-2:    #c55a00;
  --score-1:    #b71c1c;
  --radius:     12px;
  --radius-lg:  20px;
  --shadow:     0 4px 24px rgba(13, 27, 42, 0.10);
  --shadow-lg:  0 8px 48px rgba(13, 27, 42, 0.18);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 400;
  white-space: nowrap;
}

.logo strong { color: var(--gold); font-weight: 700; }
.logo-icon { font-size: 1.4rem; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color var(--transition);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--white);
  font-size: 1.2rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,0.15);
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 10px 0;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  padding: 80px 0 90px;
  text-align: center;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}

.shape-1 {
  width: 560px; height: 560px;
  background: var(--gold);
  top: -200px; left: -150px;
}

.shape-2 {
  width: 400px; height: 400px;
  background: #4a90d9;
  bottom: -180px; right: -100px;
}

.shape-3 {
  width: 200px; height: 200px;
  background: var(--gold);
  top: 40px; right: 20%;
  opacity: 0.05;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(201, 168, 76, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

.stat span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* ─── TOOL SECTION ─── */
.tool-section {
  padding: 64px 0;
  margin-top: -2px;
}

.tool-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.tool-header {
  background: var(--navy);
  padding: 28px 36px;
  border-bottom: 3px solid var(--gold);
}

.tool-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 6px;
}

.tool-header p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

.tool-body { padding: 36px; }

/* ─── SCORE SECTIONS ─── */
.score-section {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--cream-dark);
}

.score-section:last-of-type {
  border-bottom: none;
}

.section-label {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.section-label h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}

.weight-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.score-display {
  background: var(--navy);
  color: var(--gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 8px;
  min-width: 80px;
  text-align: center;
  white-space: nowrap;
}

/* ─── SLIDERS ─── */
.slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  appearance: none;
  background: linear-gradient(to right, var(--gold) 0%, var(--gold) 0%, var(--cream-dark) 0%);
  cursor: pointer;
  outline: none;
  transition: background var(--transition);
}

.slider::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(13, 27, 42, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.5);
}

.slider::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  cursor: pointer;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ─── CALCULATE BUTTON ─── */
.calc-btn {
  display: block;
  width: 100%;
  padding: 18px;
  background: var(--navy);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin-top: 8px;
}

.calc-btn:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.calc-btn:active { transform: translateY(0); }

/* ─── RESULT PANEL ─── */
.result-panel {
  margin-top: 28px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius);
  padding: 28px;
  display: none;
  animation: fadeSlideUp 0.4s ease forwards;
}

.result-panel.visible { display: block; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-inner {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.result-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.ap-score-badge {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.3);
}

.ap-score-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-align: center;
}

.result-right { flex: 1; min-width: 220px; }

.composite-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.composite-row strong {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

.score-bar-wrap { margin-top: 16px; }

.score-bar-track {
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
  height: 10px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--score-1), var(--score-3), var(--score-5));
  border-radius: 4px;
  width: 0%;
  transition: width 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.score-bar-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

.result-note {
  margin-top: 12px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

/* ─── INFO / STEPS SECTION ─── */
.info-section {
  padding: 72px 0;
  background: var(--navy);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}

.section-header p {
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.step-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius);
  padding: 28px;
  transition: background var(--transition), transform var(--transition);
}

.step-card:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: rgba(201, 168, 76, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}

.step-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition);
}

.step-link:hover { color: var(--gold-light); }

/* ─── BREAKDOWN SECTION ─── */
.breakdown-section {
  padding: 72px 0;
  background: var(--cream);
}

.breakdown-section .section-header h2 { color: var(--navy); }
.breakdown-section .section-tag { color: var(--gold); }
.breakdown-section .section-header p { color: var(--text-muted); }

.breakdown-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 48px;
}

.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  font-size: 0.92rem;
}

.breakdown-table thead {
  background: var(--navy);
  color: var(--gold);
}

.breakdown-table th {
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.breakdown-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--text);
}

.breakdown-table tbody tr:last-child td { border-bottom: none; }
.breakdown-table tbody tr:hover td { background: var(--cream); }
.weight-col { font-weight: 700; color: var(--navy); }

/* Conversion Cards */
.conversion-grid { text-align: center; }

.conversion-grid h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.conversion-cards {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.conv-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 16px;
  border-radius: var(--radius);
  flex: 1;
  min-width: 130px;
  max-width: 180px;
  color: var(--white);
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.5;
}

.conv-score {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 900;
}

.conv-5 { background: var(--score-5); }
.conv-4 { background: var(--score-4); }
.conv-3 { background: var(--score-3); }
.conv-2 { background: var(--score-2); }
.conv-1 { background: var(--score-1); }

.chart-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ─── FAQ SECTION ─── */
.faq-section {
  padding: 72px 0;
  background: var(--cream-dark);
}

.faq-section .section-header h2 { color: var(--navy); }
.faq-section .section-header p { color: var(--text-muted); }

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  text-align: left;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  gap: 16px;
  transition: color var(--transition);
}

.faq-q:hover { color: var(--gold); }

.faq-icon {
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--gold);
}

.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  display: none;
  padding: 0 0 20px;
}

.faq-a.open { display: block; }

.faq-a p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.blog-cta {
  text-align: center;
  margin-top: 48px;
  padding: 36px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.blog-cta p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.btn-secondary {
  display: inline-block;
  padding: 13px 28px;
  background: var(--navy);
  color: var(--gold);
  border: 2px solid var(--navy);
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-secondary:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--navy);
  padding: 56px 0 0;
  color: rgba(255,255,255,0.6);
}

.footer-inner {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
  flex: 1;
  min-width: 240px;
  max-width: 340px;
}

.footer-brand .logo {
  display: inline-flex;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.45);
}

.footer-links {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 130px;
}

.footer-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}

.footer-col a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding: 20px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  text-align: center;
}

/* ─── BLOG PAGE SPECIFIC ─── */
.blog-hero {
  background: var(--navy);
  padding: 64px 0 56px;
  text-align: center;
}

.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 14px;
}

.blog-hero p {
  color: rgba(255,255,255,0.55);
  max-width: 520px;
  margin: 0 auto;
}

.blog-grid-section { padding: 64px 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.blog-card-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
}

.blog-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.blog-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.blog-card-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--cream-dark);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.read-more { color: var(--gold); font-weight: 600; }

/* ─── BLOG POST ─── */
.post-hero {
  background: var(--navy);
  padding: 64px 0 56px;
}

.post-hero .post-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.post-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  max-width: 760px;
  margin-bottom: 20px;
  line-height: 1.25;
}

.post-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.post-meta span { display: flex; align-items: center; gap: 6px; }

.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  padding: 64px 0;
  align-items: start;
}

.post-content { min-width: 0; }

.prose {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
}

.prose h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}

.prose p { margin-bottom: 18px; }

.prose ul, .prose ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.prose li { margin-bottom: 8px; }

.prose blockquote {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-muted);
  border-radius: 0 8px 8px 0;
}

.prose .placeholder-note {
  background: linear-gradient(135deg, #fff8e6, #fff3d4);
  border: 2px dashed var(--gold);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 24px 0;
  font-size: 0.9rem;
  color: #7a5c00;
}

.prose .placeholder-note strong { color: #5a4000; }

.prose a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

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

/* Sidebar */
.post-sidebar { position: sticky; top: 90px; }

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
}

.toc-list {
  list-style: none;
  padding: 0;
}

.toc-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.88rem;
}

.toc-list li:last-child { border-bottom: none; }

.toc-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

.tool-cta-widget {
  background: var(--navy);
  text-align: center;
}

.tool-cta-widget h4 { color: var(--gold); border-color: rgba(201,168,76,0.3); }

.tool-cta-widget p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 16px;
  line-height: 1.6;
}

.btn-gold {
  display: inline-block;
  padding: 12px 22px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
}

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

.breadcrumb span { margin: 0 6px; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .post-layout {
    grid-template-columns: 1fr;
  }
  .post-sidebar { position: static; }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .tool-header { padding: 20px 20px; }
  .tool-body { padding: 20px; }
  .section-label { flex-direction: column; gap: 8px; }
  .score-display { align-self: flex-start; }
  .result-inner { flex-direction: column; }
  .result-left { flex-direction: row; gap: 16px; align-items: center; }
  .hero-stats { gap: 16px; }
  .stat-divider { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-brand { max-width: 100%; }
  .conversion-cards { flex-direction: column; align-items: center; }
  .conv-card { max-width: 260px; width: 100%; flex-direction: row; justify-content: center; gap: 12px; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 0 64px; }
  .blog-grid { grid-template-columns: 1fr; }
}
