@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800;900&family=Source+Sans+3:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root, [data-theme="light"] {
  --brand-blue: #0973ba;
  --brand-blue-dark: #0861a0;
  --brand-blue-deep: #053d6c;
  --brand-orange: #f79764;
  --brand-orange-dark: #de8550;
  --emerald: #059669;
  --bg-primary: #ffffff;
  --bg-secondary: #fafafa;
  --bg-tertiary: #f5f5f5;
  --bg-card: #ffffff;
  --text-primary: #11192b;
  --text-secondary: #3e4555;
  --text-tertiary: #565d6b;
  --text-muted: #707682;
  --border-primary: #e2e4e7;
  --border-secondary: #f5f5f5;
  --border-hover: #2d8dd3;
  --nav-bg: rgba(255,255,255,0.96);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.06);
  --toggle-bg: #e2e4e7;
  --guarantee-bg: rgba(5,150,105,0.06);
  --guarantee-border: rgba(5,150,105,0.25);
  --font-heading: 'Nunito Sans', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
  --font-code: 'JetBrains Mono', monospace;
  --max-width: 1200px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-btn: 10px;
  --radius-btn-sm: 8px;
}

[data-theme="dark"] {
  --brand-blue: #0973ba;
  --brand-blue-dark: #0b1a2d;
  --brand-blue-deep: #7bc0ec;
  --brand-orange: #fb923c;
  --brand-orange-dark: #f79764;
  --emerald: #34d399;
  --bg-primary: #0f1419;
  --bg-secondary: #1E1F25;
  --bg-tertiary: #252b37;
  --bg-card: #1E1F25;
  --text-primary: #f8f9fa;
  --text-secondary: #c3c6cb;
  --text-tertiary: #a7aab2;
  --text-muted: #8b909a;
  --border-primary: rgba(255,255,255,0.08);
  --border-secondary: rgba(255,255,255,0.04);
  --border-hover: rgba(45,141,211,0.4);
  --nav-bg: rgba(15,20,25,0.96);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.5);
  --toggle-bg: #252b37;
  --guarantee-bg: rgba(52,211,153,0.08);
  --guarantee-border: rgba(52,211,153,0.2);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s, color 0.3s;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); }
a { color: var(--brand-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* Smooth theme transitions */
body *, body *::before, body *::after {
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s;
}

/* Animations */
.fade-up { opacity: 0; transform: translateY(20px); }
.fade-up.visible { opacity: 1; transform: translateY(0); transition: opacity 0.55s cubic-bezier(0.22,1,0.36,1), transform 0.55s cubic-bezier(0.22,1,0.36,1); }

/* Text utilities */
.text-blue { color: var(--brand-blue); }
.text-orange { color: var(--brand-orange); }

/* Eyebrow */
.eyebrow { font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-blue); margin-bottom: 0.5rem; }

/* Section */
.section { padding: 4.5rem 0; }
.section-alt { background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-title { font-size: 2.1rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 0.75rem; color: var(--text-primary); }
.section-subtitle { color: var(--text-secondary); max-width: 640px; margin-left: auto; margin-right: auto; font-size: 1.05rem; }

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: var(--brand-orange); color: #fff; padding: 0.75rem 1.75rem;
  border-radius: var(--radius-btn); font-weight: 700; font-size: 1rem; font-family: var(--font-heading);
  border: none; cursor: pointer; transition: background 0.25s, transform 0.25s;
  text-decoration: none; white-space: nowrap;
}
.btn-primary:hover { background: var(--brand-orange-dark); transform: translateY(-1px); text-decoration: none; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.88rem; }

.btn-outline {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: transparent; color: var(--brand-blue); padding: 0.75rem 1.75rem;
  border-radius: var(--radius-btn); font-weight: 600; font-size: 1rem; font-family: var(--font-heading);
  border: 1.5px solid #bfdbfe; cursor: pointer; transition: background 0.25s, border-color 0.25s;
  text-decoration: none; white-space: nowrap;
}
[data-theme="dark"] .btn-outline { border-color: rgba(255,255,255,0.15); }
.btn-outline:hover { background: rgba(9,115,186,0.06); border-color: var(--brand-blue); text-decoration: none; }


.btn-price {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.65rem 1.5rem; border-radius: var(--radius-btn-sm); font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer; width: 100%; text-decoration: none; font-family: var(--font-heading);
}
.btn-price.btn-primary { background: var(--brand-blue); }
.btn-price.btn-primary:hover { background: var(--brand-blue-dark); }
.btn-price.btn-outline { background: transparent; color: var(--brand-blue); border: 1.5px solid var(--border-primary); }

/* ========================= */
/* NAV                       */
/* ========================= */
.site-nav {
  position: sticky; top: 0; z-index: 1000; height: 68px;
  background: var(--nav-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-primary);
}
.nav-container {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-left { display: flex; align-items: center; gap: 2rem; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo:hover { text-decoration: none; }
.nav-logo-img { height: 36px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 600; transition: color 0.2s; text-decoration: none; }
.nav-links a:hover { color: var(--brand-blue); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 1.75rem; }
.theme-toggle {
  width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--border-primary);
  background: var(--toggle-bg); cursor: pointer; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; transition: background 0.3s;
}
.btn-signin {
  padding: 0.45rem 1.1rem; border-radius: 8px; border: 1.5px solid var(--border-primary);
  color: var(--text-primary); font-size: 0.9rem; font-weight: 600; text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.btn-signin:hover { border-color: var(--brand-blue); color: var(--brand-blue); text-decoration: none; }
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer; padding: 0.5rem;
  flex-direction: column; gap: 5px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--text-primary); transition: 0.3s; }
.nav-mobile { display: none; }
.site-nav.nav-open .nav-mobile {
  display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
  background: var(--nav-bg); backdrop-filter: blur(20px); padding: 1rem 2rem 1.5rem;
  border-bottom: 1px solid var(--border-primary); gap: 0.75rem; z-index: 999;
}
.nav-mobile a { color: var(--text-secondary); font-size: 0.95rem; font-weight: 600; padding: 0.5rem 0; }

/* ========================= */
/* BREADCRUMB                */
/* ========================= */
.breadcrumb { font-size: 0.84rem; color: var(--text-muted); padding: 1rem 0 0; }
.breadcrumb a { color: var(--brand-blue); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 0.4rem; color: var(--text-muted); }
.breadcrumb-current { color: var(--text-muted); }

/* ========================= */
/* HERO HUB                  */
/* ========================= */
.hero-hub {
  padding: 3.5rem 0 3rem; position: relative; overflow: hidden;
}
.hero-hub::before, .hero-hub::after {
  content: ''; position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.12; pointer-events: none;
}
.hero-hub::before { width: 500px; height: 500px; background: #0973ba; top: -150px; right: -100px; }
.hero-hub::after { width: 400px; height: 400px; background: #f79764; bottom: -100px; left: -80px; }

.hero-hub-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  position: relative; z-index: 1;
}
.hero-hub-content { position: relative; }
.hero-hub-image { position: relative; overflow: visible; }
.hero-img { width: 100%; height: auto; border-radius: 12px; display: block; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--bg-tertiary); padding: 0.4rem 1rem; border-radius: 20px;
  font-size: 0.84rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 1.25rem;
}
.green-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); display: inline-block;
}
.hero-hub h1 { font-size: 2.8rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.65; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.hero-hint { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 500px; line-height: 1.5; }

.hero-stats-bar {
  background: var(--bg-secondary);
}
.hero-stats {
  display: flex; justify-content: center; max-width: 1200px; margin: 0 auto;
}
.hero-stat { flex: 1; display: flex; align-items: center; gap: 0.75rem; padding: 2rem 1.5rem; position: relative; justify-content: center; }
.hero-stat + .hero-stat::before {
  content: ''; position: absolute; left: 0; top: 25%; height: 50%;
  width: 1px; background: var(--border-primary);
}
.hero-stat-text { display: flex; flex-direction: column; }
.hero-stat-icon {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.hero-stat-icon-questions { background: rgba(9,115,186,0.1); color: var(--brand-blue); }
.hero-stat-icon-flashcards { background: rgba(247,151,100,0.12); color: var(--brand-orange); }
.hero-stat-icon-articles { background: rgba(5,150,105,0.1); color: var(--emerald); }
.hero-stat-icon-tests { background: rgba(139,92,246,0.1); color: #8B5CF6; }
.hero-stat-icon-glossary { background: rgba(56,189,248,0.1); color: #38BDF8; }
.hero-stat-value { font-size: 1.5rem; font-weight: 900; color: var(--brand-blue-deep); display: block; font-family: var(--font-heading); line-height: 1.2; }
.hero-stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; text-align: left; }

/* Hero Mockups */
.hero-hub-mockup { position: relative; }
.mockup-laptop {
  background: #0f1419; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255,255,255,0.1);
}
.mockup-toolbar {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px;
  background: #1E1F25; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mockup-toolbar .dot { width: 10px; height: 10px; border-radius: 50%; }
.mockup-toolbar .dot.red { background: #FF5F57; }
.mockup-toolbar .dot.yellow { background: #FFBD2E; }
.mockup-toolbar .dot.green { background: #28CA41; }
.mockup-url { font-size: 0.7rem; color: #8b909a; margin-left: 8px; font-family: var(--font-code); }
.mockup-screen { padding: 1.25rem; }
.mockup-welcome { color: #f8f9fa; font-size: 0.88rem; font-weight: 700; margin-bottom: 0.75rem; }
.mockup-score-ring {
  width: 80px; height: 80px; border-radius: 50%; border: 4px solid #0973ba;
  display: flex; align-items: center; justify-content: center;
  color: #2d8dd3; font-size: 1.4rem; font-weight: 900; margin: 0.5rem auto;
  font-family: var(--font-heading);
}
.mockup-label { text-align: center; font-size: 0.72rem; color: #8b909a; margin-bottom: 0.75rem; }
.mockup-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mockup-tile {
  background: #252b37; border-radius: 6px; padding: 8px; font-size: 0.72rem;
  color: #a7aab2; text-align: center;
}
.mockup-phone {
  position: absolute; bottom: -10px; right: -10px; width: 140px;
  background: #0f1419; border-radius: 16px; border: 2px solid rgba(255,255,255,0.1);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.mockup-phone-notch {
  width: 50px; height: 4px; background: #252b37; border-radius: 2px; margin: 6px auto 8px;
}
.mockup-phone-screen { padding: 0 10px 10px; }
.mockup-q { font-size: 0.62rem; color: #f8f9fa; margin-bottom: 6px; font-weight: 600; }
.mockup-option {
  font-size: 0.58rem; color: #a7aab2; padding: 4px 6px; margin-bottom: 3px;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 4px;
}
.mockup-option.correct { border-color: #059669; color: #34D399; background: rgba(5,150,105,0.1); }

/* ========================= */
/* HERO CERT                 */
/* ========================= */
.hero-cert { padding: 3.5rem 0 3rem; position: relative; overflow: hidden; }
.hero-cert::before {
  content: ''; position: absolute; width: 450px; height: 450px; border-radius: 50%;
  background: #0973ba; filter: blur(100px); opacity: 0.08; top: -100px; right: -50px; pointer-events: none;
}
.hero-cert-grid {
  display: grid; grid-template-columns: 1fr 370px; gap: 3rem; align-items: start;
  position: relative; z-index: 1;
}
.hero-app-icon { width: 32px; height: 32px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.15); vertical-align: middle; }
.hero-cert-content { }
.hero-cert-badges { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 1rem; flex-wrap: wrap; }
.exam-code-badge {
  display: inline-block; background: var(--brand-blue); color: #fff; padding: 0.3rem 0.75rem;
  border-radius: 6px; font-size: 0.82rem; font-weight: 800; font-family: var(--font-code);
}
.hero-update-badge {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: rgba(5,150,105,0.1); color: var(--emerald);
  padding: 0.3rem 0.75rem; border-radius: 6px; font-size: 0.78rem; font-weight: 600;
}
[data-theme="dark"] .hero-update-badge { background: rgba(52,211,153,0.1); color: #34d399; }
.hero-cert h1 { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 1rem; }
.hero-cert-banner { background: transparent; border-top: none; margin-top: .5rem; }
.hero-cert-banner-inner {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 1.25rem; font-size: 0.92rem; color: var(--text-secondary); text-align: center; flex-wrap: wrap;
  background: rgba(26, 143, 203, 0.07); border-radius: 0.625rem;
}
.hero-cert-banner-inner i { color: var(--brand-blue); font-size: 1rem; }
.hero-cert-banner-inner strong { color: var(--text-primary); }
.hero-cert-banner-inner a { font-weight: 700; white-space: nowrap; }

.hero-download-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0; }
.hero-platform-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 1.5rem 0; }
.platform-btn-hero { padding: 0.65rem 1.25rem; min-width: auto; font-size: 0.92rem; }

/* Exam Detail Card */
.hero-cert-sidebar { }
.exam-detail-card {
  background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: var(--radius-lg);
  padding: 0; box-shadow: var(--shadow-md); overflow: hidden;
}
.exam-detail-header {
  display: flex; align-items: center; gap: 0.5rem; padding: 1rem 1.5rem;
  background: var(--bg-secondary); border-bottom: 1px solid var(--border-primary);
  font-weight: 800; font-size: 0.95rem; font-family: var(--font-heading);
}
.exam-detail-icon { font-size: 1.1rem; }
.exam-detail-row {
  display: flex; justify-content: space-between; padding: 0.7rem 1.5rem;
  border-bottom: 1px solid var(--border-secondary); font-size: 0.9rem;
}
.exam-detail-row:last-child { border-bottom: none; }
.exam-detail-label { color: var(--text-muted); }
.exam-detail-value { font-weight: 700; color: var(--text-primary); }
.exam-detail-highlight .exam-detail-value { color: var(--brand-orange); }

/* ========================= */
/* SUCCESS GUARANTEE         */
/* ========================= */
.success-guarantee { text-align: center; padding: 1.5rem 0; }
.success-guarantee-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--guarantee-bg); border: 1.5px solid var(--guarantee-border);
  color: var(--emerald); padding: 0.6rem 1.25rem;
  border-radius: 24px; font-size: 0.88rem; font-weight: 700; text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
}
.success-guarantee-pill:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); text-decoration: none; }
.guarantee-check { font-weight: 900; }
.guarantee-arrow { font-size: 0.9rem; }

/* ========================= */
/* CERT GRID                 */
/* ========================= */
.cert-grid-section { }
.cert-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 1.25rem;
}
.cert-card {
  display: block; text-decoration: none; color: inherit;
  background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: var(--radius-lg);
  padding: 1.5rem; position: relative; overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.cert-card:hover {
  border-color: var(--border-hover); box-shadow: var(--shadow-md); transform: translateY(-3px); text-decoration: none;
}
.cert-card-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.25rem; }
.cert-card-title-area { flex: 1; }
.cert-card-title-area h3 { font-size: 1.05rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.1rem; }
.cert-card-code { font-size: 0.78rem; color: var(--text-muted); font-weight: 600; }
.cert-card-arrow {
  opacity: 0.3; transition: opacity 0.25s, color 0.25s;
  color: var(--text-muted); font-size: 1.2rem; font-weight: 700;
}
.cert-card:hover .cert-card-arrow { opacity: 1; color: var(--brand-blue); }
.cert-card-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1.5rem; margin-top: 1rem;
}
.cert-stat { font-size: 0.82rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.cert-stat i { font-size: 0.78rem; width: 1rem; text-align: center; flex-shrink: 0; }
.cert-stat strong { color: var(--text-primary); font-weight: 800; }

/* Cert Icon */
.cert-icon {
  width: 44px; height: 44px; border-radius: var(--radius-sm); display: flex;
  align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff; flex-shrink: 0;
}
.cert-icon-sm { width: 38px; height: 38px; font-size: 0.95rem; border-radius: 6px; }
.cert-icon-current { outline: 2.5px solid var(--brand-orange); outline-offset: 2px; }
.cert-icon-more {
  background: var(--bg-tertiary); color: var(--text-muted); font-weight: 800;
  border: 1px solid var(--border-primary);
}

/* ========================= */
/* FEATURES                  */
/* ========================= */
.features-section { }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature-card {
  background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: var(--radius-md);
  padding: 1.75rem; transition: border-color 0.25s, box-shadow 0.25s;
}
.feature-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.feature-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex;
  align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem;
  background: rgba(9,115,186,0.08);
}
.feature-card h3 { font-size: 1.02rem; font-weight: 800; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.55; }

/* ========================= */
/* STUDY ANYWHERE            */
/* ========================= */
.study-anywhere { }
.platform-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.platform-btn {
  display: inline-flex; align-items: center; gap: 0.75rem; padding: 0.9rem 1.75rem;
  border-radius: var(--radius-md); text-decoration: none; transition: transform 0.25s, box-shadow 0.25s;
  min-width: 200px;
}
.platform-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.platform-btn-icon { font-size: 1.4rem; flex-shrink: 0; }
.platform-btn-text { display: flex; flex-direction: column; line-height: 1.3; }
.platform-btn-label { font-size: 0.72rem; font-weight: 500; }
.platform-btn-name { font-size: 1.05rem; font-weight: 800; font-family: var(--font-heading); }
.platform-btn-web {
  background: rgba(9,115,186,0.06); border: 1.5px dashed var(--brand-blue); color: var(--brand-blue);
}
.platform-btn-web .platform-btn-label { color: var(--brand-blue); }
[data-theme="dark"] .platform-btn-web { background: rgba(45,141,211,0.08); }
.platform-btn-web:hover {
  background: rgba(9,115,186,0.12); border-style: solid;
}
.platform-btn-outline {
  background: var(--bg-card); border: 2px solid var(--brand-blue); color: var(--brand-blue);
}
.platform-btn-outline .platform-btn-label { color: var(--brand-blue); }
[data-theme="dark"] .platform-btn-outline {
  background: var(--bg-card); border-color: var(--brand-blue);
}
.platform-btn-outline:hover {
  background: var(--brand-blue); border-color: var(--brand-blue); color: #fff;
}
.platform-btn-outline:hover .platform-btn-label { color: rgba(255,255,255,0.8); }

/* ========================= */
/* SHOWCASE (Screenshots)    */
/* ========================= */
.showcase { }
.showcase-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  padding: 3rem 0; border-bottom: 1px solid var(--border-secondary);
}
.showcase-row:last-child { border-bottom: none; }
.showcase-row-left .showcase-image { order: -1; }
.showcase-badge-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.25rem; }
.showcase-badge {
  width: 28px; height: 28px; border-radius: 6px; color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800; flex-shrink: 0;
}
.showcase-eyebrow {
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
}
.showcase-text h3 { font-size: 1.6rem; font-weight: 900; margin: 0.75rem 0; color: var(--text-primary); }
.showcase-text p { color: var(--text-secondary); line-height: 1.65; margin-bottom: 1.25rem; font-size: 1rem; }
.showcase-bullets { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.showcase-bullets li {
  display: flex; align-items: flex-start; gap: 0.5rem;
  font-size: 0.92rem; color: var(--text-secondary); line-height: 1.5;
}
.showcase-bullets li i { margin-top: 0.2rem; flex-shrink: 0; }
.showcase-phone {
  background: #0f1419; border-radius: 28px; padding: 10px;
  border: 3px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-lg);
  max-width: 260px; margin: 0 auto; overflow: hidden;
}
.showcase-phone img { border-radius: 18px; width: 100%; display: block; }
.showcase-browser {
  background: #0f1419; border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-lg);
}
.showcase-browser img { width: 100%; display: block; }
.showcase-tablet {
  background: #0f1419; border-radius: 18px; padding: 10px;
  border: 3px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-lg);
  max-width: 420px; margin: 0 auto; overflow: hidden;
}
.showcase-tablet img { border-radius: 10px; width: 100%; display: block; }

/* ========================= */
/* PRICING                   */
/* ========================= */
.pricing-section { }
[data-theme="dark"] .pricing-section { }
.pricing-columns {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  max-width: 960px; margin: 0 auto;
}
.pricing-col {
  background: var(--bg-card); border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg); overflow: hidden;
}
.pricing-col-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--border-secondary);
}
.pricing-col-header h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.15rem; }
.pricing-col-tagline { font-size: 0.82rem; color: var(--text-muted); }
.pricing-badge {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem; border-radius: 6px; white-space: nowrap; flex-shrink: 0;
}
.pricing-badge-blue { background: rgba(9,115,186,0.1); color: var(--brand-blue); }
.pricing-badge-orange { background: rgba(247,151,100,0.12); color: var(--brand-orange); }

.pricing-tier {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 1.75rem; border-bottom: 1px solid var(--border-secondary);
  position: relative;
}
.pricing-tier:last-of-type { border-bottom: none; }
.pricing-tier-popular { border-left: 3px solid var(--brand-blue); }
.pricing-tier-label { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.pricing-popular-tag {
  display: block; font-size: 0.7rem; font-weight: 800; color: var(--brand-blue);
  text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.15rem;
}
.pricing-tier-price { text-align: right; }
.pricing-amount {
  font-size: 1.65rem; font-weight: 900; color: var(--text-primary);
  font-family: var(--font-heading); line-height: 1.2;
}
.pricing-per { font-size: 0.88rem; font-weight: 600; color: var(--text-muted); }
.pricing-permo { font-size: 0.78rem; color: var(--text-muted); }
.pricing-save { font-size: 0.75rem; font-weight: 800; color: var(--emerald); }

.pricing-col-footer {
  display: flex; gap: 0.75rem; align-items: flex-start;
  padding: 1.25rem 1.75rem; background: var(--bg-secondary);
  border-top: 1px solid var(--border-secondary);
}
.pricing-col-footer i { color: var(--text-muted); margin-top: 0.15rem; flex-shrink: 0; }
.pricing-col-footer p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.pricing-col-footer a { font-weight: 700; }

.pricing-bottom-notes {
  text-align: center; margin-top: 2rem; display: flex; flex-direction: column; gap: 0.35rem;
}
.pricing-bottom-notes p { font-size: 0.85rem; color: var(--text-muted); }
.pricing-bottom-notes i { margin-right: 0.4rem; }

/* ========================= */
/* SOCIAL PROOF (always dark)*/
/* ========================= */
.social-proof { background: #0f1419; color: #f8f9fa; padding: 4.5rem 0; }
.social-proof .section-title { color: #f8f9fa; }
.social-proof .section-subtitle { color: #a7aab2; }
.trust-bar { display: flex; justify-content: center; gap: 3rem; margin-bottom: 3rem; flex-wrap: wrap; }
.trust-stat { text-align: center; }
.trust-value { font-size: 2rem; font-weight: 900; color: #2d8dd3; display: block; font-family: var(--font-heading); }
.trust-label { font-size: 0.78rem; color: #8b909a; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }
.testimonial-grid-hub { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; max-width: 900px; margin: 0 auto; }
.testimonial-grid-cert { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; max-width: 1000px; margin: 0 auto; }
.testimonial-card {
  background: #1E1F25; border: 1px solid rgba(255,255,255,0.06); border-radius: var(--radius-md);
  padding: 1.5rem;
}
.testimonial-stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-quote { font-size: 0.92rem; color: #c3c6cb; line-height: 1.55; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: #252b37;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800; color: #2d8dd3; flex-shrink: 0;
}
.testimonial-name { font-size: 0.82rem; font-weight: 700; color: #f8f9fa; }
.testimonial-cert { font-size: 0.72rem; color: #a7aab2; }
.testimonial-source { font-size: 0.68rem; color: #8b909a; }

/* ========================= */
/* WILEY PARTNER             */
/* ========================= */
.wiley-partner { }
.wiley-partner-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2.5rem;
  padding: 2rem 2.5rem; background: rgba(9,115,186,0.06); border: 1px solid rgba(9,115,186,0.12);
  border-radius: var(--radius-lg); max-width: 1000px; margin: 0 auto;
}
[data-theme="dark"] .wiley-partner-inner {
  background: #1E1F25; border-color: rgba(255,255,255,0.08);
}
.wiley-partner-left { display: flex; flex-direction: column; align-items: flex-start; gap: 0.75rem; flex: 1; }
.wiley-logo-img { height: 24px; width: auto; object-fit: contain; }
[data-theme="dark"] .wiley-logo-img { filter: invert(1); }
.wiley-partner-heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.5rem; margin-top: 0.5rem; flex-wrap: wrap; color: var(--brand-blue);}
.wiley-partner-heading h3 { font-size: 1.1rem; font-weight: 800; color: var(--brand-blue); margin: 0; }
[data-theme="dark"] .wiley-partner-heading h3 { color: #2d8dd3; }
.wiley-partner-badge {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
  padding: 0.25rem 0.65rem; border-radius: 5px;
  background: rgba(9,115,186,0.1); color: var(--brand-blue); white-space: nowrap;
}
[data-theme="dark"] .wiley-partner-badge { background: rgba(45,141,211,0.15); color: #2d8dd3; }
.wiley-partner-text p { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }
.wiley-partner-text p strong { color: var(--text-primary); }
[data-theme="dark"] .wiley-partner-text p { color: #a7aab2; }
[data-theme="dark"] .wiley-partner-text p strong { color: #c3c6cb; }
.wiley-partner-right {
  display: flex; flex-direction: column; gap: 1rem; flex-shrink: 0;
  padding-left: 2.5rem; border-left: 1px solid var(--border-primary);
}
[data-theme="dark"] .wiley-partner-right { border-left-color: rgba(255,255,255,0.08); }
.wiley-stat { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-secondary); white-space: nowrap; }
.wiley-stat i { color: var(--brand-blue); width: 1rem; text-align: center; font-size: 0.85rem; }
.wiley-stat strong { color: var(--text-primary); font-weight: 800; }
[data-theme="dark"] .wiley-stat { color: #a7aab2; }
[data-theme="dark"] .wiley-stat i { color: #2d8dd3; }
[data-theme="dark"] .wiley-stat strong { color: #f8f9fa; }

/* ========================= */
/* FAQ                       */
/* ========================= */
.faq-section { }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border-primary);
  border-radius: var(--radius-md); overflow: hidden;
}
.faq-question {
  width: 100%; background: none; border: none; padding: 1.1rem 1.25rem;
  cursor: pointer; display: flex; align-items: center;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.98rem;
  color: var(--text-primary); text-align: left; gap: 1rem;
}
.faq-number {
  width: 32px; height: 32px; border-radius: 8px; background: rgba(9,115,186,0.1);
  color: var(--brand-blue); display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 800; flex-shrink: 0;
}
[data-theme="dark"] .faq-number { background: rgba(45,141,211,0.12); }
.faq-q-text { flex: 1; }
.faq-icon {
  font-size: 1.25rem; color: var(--text-muted); flex-shrink: 0;
  transition: transform 0.3s; line-height: 1;
}
.faq-open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 1.25rem 1.1rem 4.5rem; }
.faq-answer-inner p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }
.faq-contact {
  max-width: 800px; margin: 2rem auto 0; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border-primary);
  border-radius: var(--radius-md); padding: 1.25rem;
}
.faq-contact p { font-size: 0.92rem; color: var(--text-secondary); }
.faq-contact a { font-weight: 700; }

/* ========================= */
/* BOTTOM CTA (always dark)  */
/* ========================= */
.bottom-cta { background: var(--brand-blue); color: #f8f9fa; padding: 5rem 0; text-align: center; }
[data-theme="dark"] .bottom-cta { background: var(--brand-blue-dark); }
.bottom-cta h2 { font-size: 2.4rem; font-weight: 900; color: #f8f9fa; margin-bottom: 0.75rem; }
.bottom-cta-subtitle { color: rgba(255,255,255,0.8); margin-bottom: 0.75rem; font-size: 1.1rem; }
.bottom-cta-trust { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin-bottom: 2rem; }
.bottom-cta-trust i { color: #34D399; margin-right: 0.35rem; }
.bottom-cta-trust strong { color: #fff; }
.bottom-cta-btn {
  display: inline-flex; padding: 1rem 3rem; font-size: 1.15rem; border-radius: 14px;
  margin-bottom: 2rem;
}
.bottom-cta-platforms { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.platform-btn-dark-web {
  background: rgba(255,255,255,0.12); border: 1.5px dashed rgba(255,255,255,0.4); color: #fff;
}
.platform-btn-dark-web .platform-btn-label { color: rgba(255,255,255,0.8); }
.platform-btn-dark-web:hover { background: rgba(255,255,255,0.2); border-style: solid; text-decoration: none; }
.platform-btn-dark {
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.2); color: #f8f9fa;
}
.platform-btn-dark .platform-btn-label { color: rgba(255,255,255,0.7); }
.platform-btn-dark:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.35); text-decoration: none; }

/* ========================= */
/* FOOTER (always dark)      */
/* ========================= */
.site-footer { background: #0f1419; color: #c3c6cb; padding: 3.5rem 0 1.5rem; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1fr 2.5fr 1fr; gap: 2.5rem; margin-bottom: 2.5rem; }
.footer-col { }
.footer-brand-col { }
.footer-apps-col { }
.footer-tagline { font-size: 0.88rem; color: #a7aab2; margin-bottom: 1.25rem; line-height: 1.55; }
.footer-social-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-social-link { display: inline-flex; align-items: center; gap: 0.5rem; color: #a7aab2; font-size: 0.88rem; }
.footer-social-link:hover { color: #f8f9fa; text-decoration: none; }
.footer-social-link i { width: 1rem; text-align: center; }
.footer-col h4 { color: #f8f9fa; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--brand-orange, #e8912d); font-size: 0.88rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-col a { color: #a7aab2; display: block; margin-bottom: 0.5rem; font-size: 0.88rem; }
.footer-col a:hover { color: #f8f9fa; text-decoration: none; }
.footer-apps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
.footer-app-group { }
.footer-app-name { color: #f8f9fa !important; font-weight: 700; margin-bottom: 0.35rem !important; font-size: 0.88rem; }
.footer-app-certs { display: flex; flex-wrap: wrap; gap: 0.15rem 0.75rem; }
.footer-cert-link { font-size: 0.84rem !important; margin-bottom: 0.15rem !important; }
.footer-logo { margin-bottom: 0.75rem; display: block; }
.footer-logo-img { height: 32px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; color: #8b909a; font-size: 0.82rem; }
.footer-copyright { flex-shrink: 0; }
.footer-trademark { max-width: 600px; text-align: right; line-height: 1.5; }

/* ========================= */
/* CONTACT MODAL             */
/* ========================= */
.contact-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000; justify-content: center; align-items: center; padding: 1rem; }
.contact-modal-overlay.active { display: flex; }
.contact-modal { background: var(--bg-primary); border-radius: var(--radius-lg); padding: 2.5rem; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-lg); }
[data-theme="dark"] .contact-modal { background: #1E1F25; border: 1px solid rgba(255,255,255,0.08); }
.contact-modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; color: var(--text-muted); cursor: pointer; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 8px; }
.contact-modal-close:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.contact-modal h2 { font-size: 1.5rem; font-weight: 900; margin-bottom: 0.25rem; color: var(--text-primary); }
.contact-modal-subtitle { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 1.5rem; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-field { margin-bottom: 1rem; }
.contact-field label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.35rem; font-family: var(--font-heading); }
.contact-field .required { color: var(--brand-orange); }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; padding: 0.7rem 0.85rem; border: 1.5px solid var(--border-primary); border-radius: var(--radius-sm); background: var(--bg-secondary); color: var(--text-primary); font-size: 0.92rem; font-family: var(--font-body); transition: border-color 0.2s; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { outline: none; border-color: var(--brand-blue); box-shadow: 0 0 0 3px rgba(9,115,186,0.12); }
.contact-field textarea { resize: vertical; min-height: 100px; }
.contact-submit { width: 100%; margin-top: 0.5rem; }
.contact-disclaimer { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-top: 0.75rem; }
.contact-success { color: var(--emerald); font-weight: 700; font-size: 0.92rem; text-align: center; padding: 0.75rem; background: rgba(5,150,105,0.08); border-radius: var(--radius-sm); margin-bottom: 0.5rem; }
.contact-error { color: #DC2626; font-weight: 700; font-size: 0.92rem; text-align: center; padding: 0.75rem; background: rgba(220,38,38,0.08); border-radius: var(--radius-sm); margin-bottom: 0.5rem; }

/* ========================= */
/* DOWNLOAD BADGES           */
/* ========================= */
.download-badges { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin: 1.5rem 0; }
.download-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: #252b37; color: #f8f9fa; padding: 0.55rem 1rem;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.82rem;
  border: 1px solid rgba(255,255,255,0.1); transition: background 0.25s; text-decoration: none;
}
.download-badge:hover { background: #303746; text-decoration: none; color: #f8f9fa; }
.badge-icon { font-size: 1rem; }

/* ========================= */
/* CONTENT STATS             */
/* ========================= */
.content-stats { padding: 2rem 0; }
.content-stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.content-stat-card {
  background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: var(--radius-md);
  padding: 1.25rem; text-align: center;
}
.content-stat-icon { font-size: 1.5rem; margin-bottom: 0.35rem; display: block; }
.content-stat-value { font-size: 1.5rem; font-weight: 900; color: var(--brand-blue-deep); display: block; font-family: var(--font-heading); }
.content-stat-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

/* ========================= */
/* PREMIUM BANNER            */
/* ========================= */
.premium-banner { padding: 2rem 0; }
.premium-banner-inner {
  border: 2px solid var(--brand-blue); border-radius: var(--radius-lg); padding: 2rem;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  background: var(--bg-card);
}
.premium-tag {
  display: inline-block; background: rgba(9,115,186,0.08); color: var(--brand-blue);
  padding: 0.3rem 0.75rem; border-radius: 6px; font-size: 0.72rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.75rem;
}
.premium-banner-text p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 0.5rem; }
.premium-banner-text a { font-weight: 700; font-size: 0.9rem; }
.premium-banner-icons { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* ========================= */
/* EXAM DOMAINS              */
/* ========================= */
.exam-domains { }
.domain-list { max-width: 800px; margin: 0 auto; }
.domain-row {
  display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem 0;
  border-bottom: 1px solid var(--border-secondary);
}
.domain-row:last-child { border-bottom: none; }
.domain-number {
  width: 44px; height: 44px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-weight: 800;
  font-size: 0.88rem; color: #fff; flex-shrink: 0;
}
.domain-info { flex: 1; }
.domain-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.35rem; }
.domain-header h4 { font-size: 0.98rem; font-weight: 700; }
.domain-weight { font-size: 0.88rem; font-weight: 800; color: var(--text-muted); }
.domain-desc { font-size: 0.84rem; color: var(--text-muted); margin-bottom: 0.5rem; }

/* ========================= */
/* SAMPLE QUESTION           */
/* ========================= */
.sample-question .sq-card {
  background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: var(--radius-lg);
  max-width: 800px; margin: 0 auto; overflow: hidden;
}
.sq-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem; background: var(--bg-secondary); border-bottom: 1px solid var(--border-primary);
  font-size: 0.84rem;
}
.sq-domain { font-weight: 700; color: var(--text-secondary); }
.sq-count { color: var(--text-muted); }
.sq-body { padding: 1.5rem; }
.sq-question { font-size: 1.02rem; font-weight: 700; margin-bottom: 1.25rem; line-height: 1.5; }
.sq-options { display: flex; flex-direction: column; gap: 0.5rem; }
.sq-option {
  display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1rem;
  border: 1.5px solid var(--border-primary); border-radius: var(--radius-sm);
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
  font-size: 0.95rem; background: none; color: var(--text-primary); width: 100%;
  text-align: left; font-family: var(--font-body);
}
.sq-option:hover { border-color: var(--brand-blue); background: rgba(9,115,186,0.04); }
.sq-letter {
  width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--border-primary);
  display: flex; align-items: center; justify-content: center; font-weight: 700;
  font-size: 0.78rem; flex-shrink: 0; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.sq-text { flex: 1; }
.sq-option.sq-correct { border-color: #059669; background: rgba(5,150,105,0.06); }
.sq-option.sq-correct .sq-letter { background: #059669; color: #fff; border-color: #059669; }
.sq-option.sq-wrong { border-color: #DC2626; background: rgba(220,38,38,0.06); }
.sq-option.sq-wrong .sq-letter { background: #DC2626; color: #fff; border-color: #DC2626; }
.sq-option.sq-faded { opacity: 0.45; pointer-events: none; }
.sq-option.sq-answered { pointer-events: none; }
.sq-explanation {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease; margin-top: 1rem;
}
.sq-explanation.sq-show { max-height: 300px; }
.sq-explanation-inner {
  background: rgba(5,150,105,0.06); border: 1px solid rgba(5,150,105,0.15);
  border-radius: var(--radius-sm); padding: 1.25rem;
}
.sq-explanation-badge { display: inline-block; font-weight: 800; color: #059669; font-size: 0.88rem; margin-bottom: 0.5rem; }
.sq-explanation-inner p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.6; }
.sq-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.5rem; border-top: 1px solid var(--border-primary);
  background: var(--bg-secondary); gap: 1rem; flex-wrap: wrap;
}
.sq-footer a { font-size: 0.88rem; font-weight: 700; }

/* ========================= */
/* READINESS SPOTLIGHT       */
/* ========================= */
.readiness-spotlight { }
.readiness-grid {
  display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center;
  max-width: 900px; margin: 0 auto;
}
.readiness-ring-wrapper { text-align: center; }
.readiness-svg { display: block; }
.readiness-score-text { font-size: 2.5rem; font-weight: 900; fill: var(--brand-blue-deep); font-family: var(--font-heading); }
.readiness-score-label { font-size: 0.75rem; fill: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.readiness-info { }
.readiness-desc { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 1.5rem; line-height: 1.6; }
.readiness-features { list-style: none; }
.readiness-features li { padding: 0.5rem 0; font-size: 0.95rem; color: var(--text-secondary); display: flex; align-items: flex-start; gap: 0.5rem; }
.readiness-features .check { color: var(--emerald); font-weight: 800; flex-shrink: 0; }

/* ========================= */
/* MORE CERTS                */
/* ========================= */
.more-certs { }
.more-certs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.more-cert-card {
  display: flex; flex-direction: row; align-items: center; gap: 1rem;
  background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; text-decoration: none; color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.more-cert-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); transform: translateY(-2px); text-decoration: none; }
.more-cert-card .cert-icon-sm { flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: #fff; }
.more-cert-info { display: flex; flex-direction: column; gap: 0.15rem; }
.more-cert-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); }
.more-cert-code { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }

/* ========================= */
/* HUB APP GRID (hub home)   */
/* ========================= */
.hub-app-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.hub-app-card {
  display: block; background: var(--bg-card); border: 1px solid var(--border-primary);
  border-radius: var(--radius-lg); padding: 1.75rem; text-decoration: none; color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.hub-app-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); transform: translateY(-2px); text-decoration: none; }
.hub-app-card h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 0.5rem; }
.hub-app-card p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1rem; }
.hub-app-link { color: var(--brand-blue); font-weight: 700; font-size: 0.9rem; }

/* ========================= */
/* RESPONSIVE                */
/* ========================= */
@media (max-width: 968px) {
  .hero-hub-grid, .hero-cert-grid { grid-template-columns: 1fr; }
  .hero-hub-content, .hero-cert-content { text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-hub h1 { font-size: 2.3rem; }
  .hero-cert h1 { font-size: 2.1rem; }
  .hero-cert-badges { justify-content: center; }
  .hero-download-row { justify-content: center; }
  .hero-platform-buttons { justify-content: center; }
  .hero-hint { margin-left: auto; margin-right: auto; }
  .hero-hub-mockup { max-width: 400px; margin: 0 auto; }
  .exam-detail-card { max-width: 400px; margin: 0 auto; }
  .readiness-grid { grid-template-columns: 1fr; text-align: center; }
  .readiness-info { text-align: left; }
  .readiness-ring-wrapper { margin-bottom: 1rem; }
}

@media (max-width: 768px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.6rem; }
  .nav-links { display: none; }
  .nav-actions .btn-signin { display: none; }
  .nav-hamburger { display: flex; }
  .cert-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .platform-buttons { flex-direction: column; align-items: center; }
  .platform-btn { width: 100%; max-width: 320px; justify-content: center; }
  .showcase-row { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 0; }
  .showcase-row-left .showcase-image { order: 0; }
  .showcase-text { text-align: center; }
  .showcase-badge-row { justify-content: center; }
  .showcase-phone { max-width: 220px; }
  .showcase-tablet { max-width: 340px; }
  .showcase-image { display: flex; justify-content: center; }
  .pricing-columns { grid-template-columns: 1fr; }
  .testimonial-grid-hub, .testimonial-grid-cert { grid-template-columns: 1fr; }
  .content-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .more-certs-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; }
  .hero-stat { flex: 1 1 45%; padding: 1.25rem 1rem; }
  .hero-stat + .hero-stat::before { display: none; }
  .hero-stat:nth-child(odd) { border-right: 1px solid var(--border-primary); }
  .hero-stat:nth-child(n+3) { border-top: 1px solid var(--border-primary); }
  .hero-stat-value { font-size: 1.35rem; }
  .hero-platform-buttons { flex-direction: column; align-items: center; }
  .platform-btn-hero { width: 100%; max-width: 280px; justify-content: center; }
  .trust-bar { gap: 1.5rem; }
  .premium-banner-inner { grid-template-columns: 1fr; text-align: center; }
  .premium-banner-icons { justify-content: center; }
  .hero-hub h1 { font-size: 2rem; }
  .hero-cert h1 { font-size: 1.8rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-apps-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
  .footer-trademark { text-align: center; max-width: none; }
  .contact-row { grid-template-columns: 1fr; }
  .social-proof { padding: 3rem 0; }
  .bottom-cta { padding: 3rem 0; }
  .wiley-partner-inner { flex-direction: column; text-align: center; padding: 1.5rem; gap: 1.5rem; }
  .wiley-partner-left { align-items: center; }
  .wiley-partner-right { align-items: center; padding-left: 0; border-left: none; padding-top: 1.5rem; border-top: 1px solid var(--border-primary); }
  .wiley-partner-heading { justify-content: center; }
  .sq-header { flex-direction: column; gap: 0.5rem; text-align: center; }
  .sq-footer { flex-direction: column; text-align: center; }
}

@media (max-width: 375px) {
  .container { padding: 0 0.75rem; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-hub h1 { font-size: 1.7rem; }
  .hero-cert h1 { font-size: 1.55rem; }
  .hero-stat { padding: 1.25rem 0.75rem; }
  .hero-stat-value { font-size: 1.2rem; }
  .hero-stat-icon { width: 36px; height: 36px; font-size: 0.85rem; }
  .content-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .more-certs-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.4rem; }
  .download-badges { flex-direction: column; align-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-apps-grid { grid-template-columns: 1fr; }
}

/* ========== Blog ========== */
/* Bricolage Grotesque for blog headings */
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:wght@400;600;700;800&family=DM+Sans:wght@400;500;600;700&display=swap');

/* Two-column layout */
.blog-layout { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; display: grid; grid-template-columns: 1fr 320px; gap: 2.5rem; align-items: start; }
.blog-layout--post { grid-template-columns: 1fr; max-width: 800px; }
.blog-layout--has-toc { grid-template-columns: 220px 1fr; max-width: 1100px; gap: 2rem; }
.blog-inline-cta { margin-top: 2.5rem; border-radius: var(--radius-md); padding: 2rem; text-align: center; }
.blog-related-section { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border-primary); }
.blog-related-heading { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem; color: var(--text-primary); }
.blog-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.blog-main { min-width: 0; }

/* Header */
.blog-feed-header { text-align: center; padding: 3.5rem 0 2rem; }
.blog-feed-h1 { font-family: 'Bricolage Grotesque', var(--font-heading), sans-serif; font-size: 2.75rem; font-weight: 800; color: var(--text-primary); margin-bottom: 0.4rem; }
.blog-feed-subtitle { font-family: 'DM Sans', var(--font-body), sans-serif; color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 1.75rem; }

/* Filter chips */
.blog-chip-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.blog-chip { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-primary); padding: 0.4rem 1.1rem; border-radius: 99px; font-size: 0.85rem; font-family: 'DM Sans', var(--font-body), sans-serif; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.blog-chip:hover { border-color: var(--text-primary); color: var(--text-primary); }
.blog-chip.active { background: var(--text-primary); color: var(--bg-primary); border-color: var(--text-primary); }

/* Feed — single column with dividers */
.blog-feed { border-top: 1px solid var(--border-primary); }

/* Feed items */
.blog-feed-item { border-bottom: 1px solid var(--border-primary); position: relative; padding-left: 1rem; }
.blog-feed-item::before { content: ''; position: absolute; left: 0; top: 2rem; bottom: 2rem; width: 3px; border-radius: 2px; background: var(--border-primary); }
.blog-feed-item[data-accent="green"]::before { background: #16a34a; }
.blog-feed-item[data-accent="orange"]::before { background: #ea580c; }
.blog-feed-item[data-accent="purple"]::before { background: #7c3aed; }
.blog-feed-item[data-accent="blue"]::before { background: var(--brand-blue); }
.blog-feed-item[data-accent="teal"]::before { background: #0d9488; }
.blog-feed-item[data-accent="slate"]::before { background: #475569; }
.blog-feed-item[data-accent="red"]::before { background: #dc2626; }
.blog-feed-link { display: block; padding: 2rem 0; text-decoration: none !important; color: inherit; transition: transform 0.25s ease; }
.blog-feed-link:hover { text-decoration: none !important; }
.blog-feed-item:hover .blog-feed-link { transform: translateX(8px); }
.blog-feed-item:hover .blog-feed-title { color: var(--brand-blue); }

/* Pills row */
.blog-feed-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; align-items: center; }

/* Tag pills */
.blog-pill { display: inline-block; padding: 0.2rem 0.65rem; border-radius: 99px; font-size: 0.73rem; font-family: 'DM Sans', var(--font-body), sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; background: var(--bg-tertiary); color: var(--text-tertiary); }
.blog-pill--blue { background: rgba(9,115,186,0.1); color: var(--brand-blue); }
.blog-pill--purple { background: rgba(139,92,246,0.1); color: #7c3aed; }
.blog-pill--green { background: rgba(22,163,74,0.1); color: #16a34a; }
.blog-pill--orange { background: rgba(234,88,12,0.1); color: #ea580c; }
.blog-pill--teal { background: rgba(13,148,136,0.1); color: #0d9488; }
.blog-pill--slate { background: rgba(71,85,105,0.1); color: #475569; }
.blog-pill--red { background: rgba(220,38,38,0.1); color: #dc2626; }
[data-theme="dark"] .blog-pill--blue { background: rgba(9,115,186,0.2); }
[data-theme="dark"] .blog-pill--purple { background: rgba(139,92,246,0.2); color: #a78bfa; }
[data-theme="dark"] .blog-pill--green { background: rgba(22,163,74,0.2); color: #4ade80; }
[data-theme="dark"] .blog-pill--orange { background: rgba(234,88,12,0.2); color: #fb923c; }
[data-theme="dark"] .blog-pill--teal { background: rgba(13,148,136,0.2); color: #2dd4bf; }
[data-theme="dark"] .blog-pill--slate { background: rgba(71,85,105,0.2); color: #94a3b8; }
[data-theme="dark"] .blog-pill--red { background: rgba(220,38,38,0.2); color: #f87171; }

/* Feed card content */
.blog-feed-title { font-family: 'Bricolage Grotesque', var(--font-heading), sans-serif; font-size: 1.625rem; font-weight: 700; color: var(--text-primary); line-height: 1.35; margin-bottom: 0.5rem; transition: color 0.2s; }
.blog-feed-excerpt { font-family: 'DM Sans', var(--font-body), sans-serif; font-size: 0.97rem; color: var(--text-secondary); line-height: 1.65; margin-bottom: 0.75rem; }
.blog-feed-meta { font-family: 'DM Sans', var(--font-body), sans-serif; font-size: 0.82rem; color: var(--text-muted); }
.blog-feed-read { color: var(--brand-blue); font-weight: 600; }

/* Tag pills on post pages */
.blog-card-tag { display: inline-block; background: var(--bg-tertiary); color: var(--text-tertiary); padding: 0.2rem 0.6rem; border-radius: 99px; font-size: 0.75rem; text-decoration: none; }
.blog-card-meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.35rem; }

/* Sidebar */
.blog-sidebar { position: sticky; top: 5rem; display: flex; flex-direction: column; gap: 1.5rem; margin-top: 11rem; }

/* Sidebar CTA — 3-state contextual card */
.blog-sidebar-cta { border-radius: var(--radius-md); padding: 1.5rem; text-align: center; transition: background 0.3s, border-color 0.3s; margin-top: 1.5rem; }

/* Generic state — brand blue deep */
.blog-sidebar-cta--generic { background: var(--brand-blue); border: 1px solid var(--brand-blue-dark); }
[data-theme="dark"] .blog-sidebar-cta--generic { background: var(--brand-blue); border-color: var(--brand-blue-dark); }

/* App state — brand blue with orange accent */
.blog-sidebar-cta--app { background: var(--brand-blue); border: 1px solid var(--brand-blue-dark); }
[data-theme="dark"] .blog-sidebar-cta--app { background: var(--brand-blue); border-color: var(--brand-blue-dark); }

/* Cert state — brand orange gradient */
.blog-sidebar-cta--cert { background: var(--brand-blue); border: 1px solid var(--brand-blue-dark); }
[data-theme="dark"] .blog-sidebar-cta--cert { background: var(--brand-blue); border-color: var(--brand-blue-dark); }

/* CTA inner elements */
.blog-cta-eyebrow { font-family: 'DM Sans', var(--font-body), sans-serif; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); margin-bottom: 0.75rem; }
.blog-cta-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; text-align: left; }
.blog-cta-badge { width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0; object-fit: cover; }
.blog-cta-header-text { min-width: 0; }
.blog-cta-badge-label { font-family: 'DM Sans', var(--font-body), sans-serif; font-size: 0.9rem; font-weight: 700; color: #fff; line-height: 1.3; }
.blog-cta-stats { font-family: 'DM Sans', var(--font-body), sans-serif; font-size: 0.72rem; color: rgba(255,255,255,0.55); line-height: 1.3; }
.blog-cta-headline { font-family: 'DM Sans', var(--font-body), sans-serif; font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; line-height: 1.3; }
.blog-cta-desc { font-family: 'DM Sans', var(--font-body), sans-serif; font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; line-height: 1.5; }
.blog-cta-btn--white { display: inline-block; background: #fff; color: #1e293b; padding: 0.65rem 1.5rem; border-radius: var(--radius-btn); font-weight: 700; font-size: 0.9rem; text-decoration: none; transition: background 0.2s, transform 0.15s; }
.blog-cta-btn--white:hover { background: #f1f5f9; transform: translateY(-1px); }
.blog-sidebar-cta--cert .blog-cta-btn--white { color: var(--brand-blue-deep); }
.blog-cta-trust { font-family: 'DM Sans', var(--font-body), sans-serif; font-size: 0.7rem; color: rgba(255,255,255,0.5); margin-top: 0.75rem; }
.blog-cta-trust-stars { color: #fbbf24; margin-right: 0.25rem; }

/* Sidebar headings */
.blog-sidebar-heading { font-family: 'DM Sans', var(--font-body), sans-serif; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.75rem; }

/* Sidebar collections */
.blog-sidebar-collections { display: flex; flex-direction: column; gap: 0.5rem; }
.blog-sidebar-collection { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.5rem; background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: var(--radius-sm); padding: 0.75rem 1rem; text-decoration: none; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s; text-align: left; font-family: 'DM Sans', var(--font-body), sans-serif; }
.blog-sidebar-collection:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.blog-sidebar-collection.active { border-color: var(--brand-blue); background: rgba(9,115,186,0.04); }
.blog-sidebar-collection-name { font-size: 0.9rem; font-weight: 600; color: var(--text-primary); }
.blog-sidebar-collection-count { font-size: 0.75rem; font-weight: 700; color: var(--brand-blue); background: rgba(9,115,186,0.1); padding: 0.1rem 0.5rem; border-radius: 99px; margin-left: auto; }
.blog-sidebar-collection-desc { width: 100%; font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* Sidebar related posts */
.blog-sidebar-related { display: flex; flex-direction: column; gap: 0.5rem; }
.blog-sidebar-section { display: flex; flex-direction: column; }
.blog-related-card { display: block; background: var(--bg-card); border: 1px solid var(--border-primary); border-radius: var(--radius-sm); padding: 0.75rem 1rem; text-decoration: none; transition: box-shadow 0.2s; }
.blog-related-card:hover { box-shadow: var(--shadow-sm); }
.blog-related-card .blog-feed-pills { margin-bottom: 0.4rem; }
.blog-related-card h3 { font-family: var(--font-heading); font-size: 0.92rem; font-weight: 700; color: var(--text-primary); line-height: 1.4; }

/* Mobile CTA (inline after 3rd post) — hidden on desktop */
.blog-mobile-cta { display: none; }
/* Mobile collections row — hidden on desktop */
.blog-mobile-collections { display: none; }

/* Blog post page */
.blog-post-article { padding: 2rem 0 3rem; min-width: 0; }
.blog-post-container { max-width: 760px; padding: 0; }
.blog-breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.blog-breadcrumb a { color: var(--brand-blue); text-decoration: none; }
.blog-breadcrumb a:hover { text-decoration: underline; }
.blog-post-tags { margin-bottom: 1rem; }
.blog-post-title { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 900; color: var(--text-primary); line-height: 1.2; margin-bottom: 1rem; }
.blog-post-header { background: var(--bg-secondary); border-bottom: 1px solid var(--border-primary); padding: 2.5rem 0 2rem; }
.blog-post-header-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.blog-post-description { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.blog-post-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0; }

/* Blog TOC */
/* Sidebar TOC (desktop) */
.blog-toc-sidebar { position: sticky; top: 5rem; align-self: start; max-height: calc(100vh - 6rem); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border-primary) transparent; padding-top: 1.5rem; }
.blog-toc-sidebar::-webkit-scrollbar { width: 4px; }
.blog-toc-sidebar::-webkit-scrollbar-thumb { background: var(--border-primary); border-radius: 4px; }
.blog-toc-sidebar .blog-toc { padding: 0; }
.blog-toc-heading { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-secondary); margin-bottom: 0.75rem; }
.blog-toc-sidebar .blog-toc-list { margin: 0; padding-left: 0; list-style: none; border-left: 2px solid var(--border-primary); }
.blog-toc-sidebar .blog-toc-list li { margin-bottom: 0; font-size: 0.85rem; line-height: 1.4; }
.blog-toc-sidebar .blog-toc-list a { color: var(--text-secondary); text-decoration: none; display: block; padding: 0.25rem 0 0.25rem 0.75rem; transition: color 0.15s; }
.blog-toc-sidebar .blog-toc-list a:hover { color: var(--brand-blue); }
.blog-toc-sidebar .blog-toc-list ol { margin: 0; padding: 0; list-style: none; }
.blog-toc-sidebar .blog-toc-list ol a { padding-left: 1.5rem; font-size: 0.8rem; }

/* Mobile TOC (collapsible) */
.blog-toc-mobile { margin-bottom: 2rem; background: var(--bg-secondary); border-left: 4px solid var(--brand-blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 0; display: none; }
.blog-toc-details { padding: 1rem 1.25rem; }
.blog-toc-details[open] > .blog-toc-title { margin-bottom: 0.75rem; }
.blog-toc-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: var(--text-primary); cursor: pointer; list-style: none; }
.blog-toc-title::-webkit-details-marker { display: none; }
.blog-toc-title::before { content: "▸ "; font-size: 0.85rem; }
.blog-toc-details[open] > .blog-toc-title::before { content: "▾ "; }
.blog-toc-mobile .blog-toc-list { margin: 0; padding-left: 1.25rem; list-style: decimal; }
.blog-toc-mobile .blog-toc-list li { margin-bottom: 0.35rem; font-size: 0.92rem; line-height: 1.4; color: var(--text-secondary); }
.blog-toc-mobile .blog-toc-list a { color: var(--brand-blue); text-decoration: none; }
.blog-toc-mobile .blog-toc-list a:hover { text-decoration: underline; }
.blog-toc-mobile .blog-toc-list ol { margin: 0.3rem 0 0.3rem 1.25rem; padding: 0; list-style: disc; }
.blog-toc-mobile .blog-toc-list ol li { font-size: 0.87rem; }

/* Prose — markdown content typography */
.prose { color: var(--text-primary); font-size: 1.05rem; line-height: 1.8; }
.prose h2 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 800; margin: 2.5rem 0 1rem; color: var(--text-primary); scroll-margin-top: 5rem; }
.prose h3 { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--text-primary); scroll-margin-top: 5rem; }
.prose h4 { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; margin: 1.5rem 0 0.5rem; color: var(--text-primary); }
.prose p { margin-bottom: 1.25rem; }
.prose a { color: var(--brand-blue); text-decoration: underline; }
.prose a:hover { color: var(--brand-blue-dark); }
.prose ul, .prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose li { margin-bottom: 0.4rem; }
.prose li ul, .prose li ol { margin-top: 0.4rem; margin-bottom: 0; }
.prose strong { font-weight: 700; }
.prose blockquote { border-left: 4px solid var(--brand-blue); margin: 1.5rem 0; padding: 0.75rem 1.25rem; background: var(--bg-secondary); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text-secondary); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose code { font-family: var(--font-code); background: var(--bg-tertiary); padding: 0.15rem 0.4rem; border-radius: 4px; font-size: 0.9em; }
.prose pre { background: var(--bg-tertiary); border: 1px solid var(--border-primary); border-radius: var(--radius-sm); padding: 1rem 1.25rem; overflow-x: auto; margin-bottom: 1.5rem; }
.prose pre code { background: none; padding: 0; font-size: 0.88rem; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--border-primary); padding: 0.6rem 0.9rem; text-align: left; }
.prose th { background: var(--bg-secondary); font-weight: 700; }
.prose hr { border: none; border-top: 1px solid var(--border-primary); margin: 2rem 0; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-sm); }

/* Blog post footer */
.blog-post-footer-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-primary); }
.blog-back-link { margin-left: auto; color: var(--brand-blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.blog-back-link:hover { text-decoration: underline; }

/* Blog responsive — tablet */
@media (max-width: 768px) {
  .blog-layout { grid-template-columns: 1fr; gap: 0; }
  .blog-sidebar { position: static; padding-top: 0; display: none; }
  .blog-layout--post { max-width: 100%; }
  .blog-layout--has-toc { grid-template-columns: 1fr; max-width: 100%; }
  .blog-toc-sidebar { display: none; }
  .blog-toc-mobile { display: block; }
  .blog-mobile-cta { display: block; padding: 1rem 0; border-bottom: 1px solid var(--border-primary); }
  .blog-mobile-collections { display: flex; gap: 0.75rem; overflow-x: auto; padding: 0.75rem 0 1rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .blog-mobile-collections::-webkit-scrollbar { display: none; }
  .blog-mobile-collections .blog-sidebar-collection { flex-shrink: 0; min-width: 180px; }
  .blog-feed-h1 { font-size: 2.2rem; }
  .blog-feed-title { font-size: 1.35rem; }
  .blog-feed-link { padding: 1.5rem 0; }
  .blog-post-title { font-size: 1.8rem; }
}
/* Blog responsive — small mobile */
@media (max-width: 375px) {
  .blog-feed-h1 { font-size: 1.8rem; }
  .blog-feed-title { font-size: 1.2rem; }
  .blog-post-title { font-size: 1.5rem; }
}
