:root {
  --bg: #07111f;
  --bg-2: #0d1b31;
  --card: #0f213b;
  --card-2: #132744;
  --text: #eef4ff;
  --muted: #a9b7d0;
  --line: rgba(255,255,255,.08);
  --primary: #ff8f3d;
  --primary-2: #ffb064;
  --cyan: #7fd3ff;
  --warm: #ffd8b5;
  --success: #84e0b6;
  --radius: 22px;
  --shadow: 0 18px 48px rgba(0,0,0,.28);
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(127,211,255,.08), transparent 24%),
    radial-gradient(circle at 80% 0%, rgba(255,143,61,.09), transparent 28%),
    linear-gradient(180deg, #06101d, #0a1730 38%, #06101d 100%);
  line-height: 1.65;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; height: auto; display: block; border-radius: 18px; }
.container { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; }
.section { padding: 64px 0; }
.section--tight { padding: 34px 0 54px; }
.section--alt { background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.full-height { min-height: 70vh; display: grid; place-items: center; }
.center { text-align: center; }
.reading-width { max-width: 780px; }
.reading-layout, .two-col-layout { display: grid; gap: 24px; }
.side-stack { display: grid; gap: 20px; align-content: start; }
@media (min-width: 980px) {
  .reading-layout { grid-template-columns: minmax(0, 1fr) 320px; }
  .two-col-layout { grid-template-columns: minmax(0, 1fr) 310px; }
}
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(6,16,29,.72);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand__text, .custom-logo-link { font-weight: 800; font-size: 1.1rem; letter-spacing: .01em; }
.site-nav { position: fixed; inset: 74px 14px auto 14px; background: rgba(8,18,33,.98); border: 1px solid var(--line); border-radius: 24px; padding: 16px; display: none; box-shadow: var(--shadow); }
.site-nav.open { display: block; }
.site-nav ul { list-style: none; display: flex; flex-direction: column; gap: 10px; padding: 0; margin: 0 0 16px; }
.site-nav li a { display: block; padding: 12px 14px; border-radius: 14px; color: var(--muted); }
.site-nav li.current-menu-item a, .site-nav li a:hover { background: rgba(255,255,255,.05); color: var(--text); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--line); }
@media (min-width: 980px) {
  .menu-toggle { display: none; }
  .site-nav { position: static; display: flex !important; align-items: center; gap: 18px; background: transparent; border: 0; box-shadow: none; padding: 0; inset: auto; }
  .site-nav ul { flex-direction: row; align-items: center; margin: 0; }
}
.button, button, input[type=submit] {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 18px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  background: linear-gradient(180deg, var(--primary), var(--primary-2));
  color: #111827; font-weight: 800; box-shadow: 0 10px 26px rgba(255,143,61,.25);
}
.button:hover, button:hover, input[type=submit]:hover { transform: translateY(-1px); }
.button--outline { background: transparent; color: var(--text); border-color: rgba(255,255,255,.16); box-shadow: none; }
.button--small { min-height: 40px; padding: 0 14px; font-size: .95rem; }
.text-link { color: var(--cyan); font-weight: 700; }
.eyebrow { display: inline-block; color: var(--primary-2); text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 800; margin-bottom: 12px; }
.hero { padding: 72px 0 54px; }
.hero--compact { padding: 56px 0 30px; }
.hero-grid { display: grid; gap: 22px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.05; margin: 0 0 16px; letter-spacing: -.03em; }
.hero p, .lead { color: var(--muted); font-size: clamp(1rem, 2.2vw, 1.14rem); max-width: 760px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-card { padding: 26px; }
.quote-pill, .pill { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(127,211,255,.18); background: rgba(255,255,255,.04); color: #d7e6ff; }
.pill-grid, .filter-row { display: flex; gap: 10px; flex-wrap: wrap; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.25fr .75fr; } }
.card {
  background: linear-gradient(180deg, rgba(18,39,68,.92), rgba(11,28,49,.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card--soft { background: linear-gradient(180deg, rgba(17,33,57,.9), rgba(12,25,46,.92)); }
.card--glow { box-shadow: var(--shadow), 0 0 0 1px rgba(255,143,61,.08), 0 0 70px rgba(255,143,61,.08); }
.card--warm { background: linear-gradient(180deg, rgba(34,27,38,.92), rgba(23,18,29,.96)); }
.card--feature { background: linear-gradient(180deg, rgba(255,143,61,.18), rgba(14,26,45,.96)); }
.card__body { padding: 22px; }
.cards-2, .cards-3 { display: grid; gap: 22px; }
@media (min-width: 700px) { .cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2, .callout h2 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.8rem); }
.callout { padding: 16px; }
.notice {
  border-radius: 18px; padding: 20px; margin: 0 0 22px;
  border: 1px solid rgba(255,255,255,.08);
}
.notice h3 { margin-top: 0; }
.notice--highlight { background: rgba(127,211,255,.08); }
.notice--fact { background: rgba(132,224,182,.08); }
.notice--warm { background: rgba(255,216,181,.08); }
.book-cover { min-height: 380px; display: grid; place-items: center; }
.book-cover__mock {
  width: min(280px, 100%); aspect-ratio: 3 / 4.2; border-radius: 20px;
  background: linear-gradient(160deg, #ff9f57, #ffb56f 32%, #122845 33%, #0a1830 100%);
  padding: 22px; display: flex; flex-direction: column; justify-content: end; color: white;
  box-shadow: 0 22px 50px rgba(0,0,0,.35);
}
.book-kicker { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.85); }
.post-card h2, .card h3 { margin: 8px 0 10px; font-size: 1.35rem; line-height: 1.2; }
.meta, .mini-terms, .mini-terms a { color: var(--muted); font-size: .92rem; }
.prose { padding: 26px; }
.prose > *:first-child { margin-top: 0; }
.prose p, .prose li { color: #dbe6f8; }
.prose a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.prose h2, .prose h3, .prose h4 { color: #fff; margin-top: 1.3em; }
.prose--warm p, .prose--warm li { color: #f4e9ef; }
.featured-image { margin-bottom: 22px; }
.video-wrap { margin-top: 28px; }
.video-wrap iframe, .video-wrap embed, .video-wrap object { width: 100%; min-height: 320px; border: 0; border-radius: 18px; }
.search-strip { padding: 14px; margin-bottom: 24px; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; }
.search-field {
  flex: 1 1 220px; min-height: 48px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--text); padding: 0 16px;
}
.widget-title { margin-top: 0; }
.widget ul, .footer-links, .site-footer .menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer { border-top: 1px solid var(--line); padding-top: 28px; background: rgba(2,8,17,.35); }
.footer-grid { display: grid; gap: 24px; padding-bottom: 26px; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0 30px; color: var(--muted); }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; } }
.screen-reader-text { position:absolute;left:-9999px; }
.alignwide { width: min(1200px, 100%); margin-left:auto; margin-right:auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
blockquote {
  margin: 22px 0; padding: 18px 20px; border-left: 4px solid var(--primary);
  background: rgba(255,255,255,.04); border-radius: 0 18px 18px 0;
}
.pagination, .nav-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.page-numbers { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.current.page-numbers { background: var(--primary); color: #111827; font-weight: 800; }
@media (max-width: 699px) {
  .section { padding: 52px 0; }
  .card__body, .prose { padding: 18px; }
  .hero { padding-top: 52px; }
}

/* =========================================
   Version 4 Homepage + Book Enhancements
========================================= */
.home-page-v4 .section-space { padding: 64px 0; }
.home-page-v4 .container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.home-page-v4 .home-hero {
  overflow: hidden;
  position: relative;
  isolation: isolate;
  text-align: center;
  padding: 100px 0 72px;
  background:
    radial-gradient(circle at 50% 10%, rgba(255, 148, 77, 0.10), transparent 24%),
    radial-gradient(circle at 18% 24%, rgba(79, 172, 254, 0.08), transparent 22%),
    radial-gradient(circle at 82% 22%, rgba(99, 102, 241, 0.06), transparent 24%);
}
.hero-space-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.home-page-v4 .hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; }
.hero-badge {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 145, 77, 0.12); color: #ff9d52; font-size: 14px; font-weight: 600; margin-bottom: 24px;
}
.hero-title { margin: 0 0 20px; font-size: clamp(40px, 7vw, 78px); line-height: 1.05; font-weight: 800; letter-spacing: -0.02em; }
.hero-title span { color: #f3f4f6; display: inline-block; }
.hero-text { max-width: 760px; margin: 0 auto 28px; color: #cbd5e1; font-size: clamp(17px, 2.2vw, 22px); line-height: 1.75; }
.home-page-v4 .hero-actions, .button-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-glow { position: absolute; border-radius: 999px; filter: blur(10px); }
.hero-glow-1 { width: 380px; height: 380px; top: 4%; left: -80px; background: radial-gradient(circle, rgba(61, 130, 246, 0.12), transparent 70%); }
.hero-glow-2 { width: 420px; height: 420px; top: -40px; right: -120px; background: radial-gradient(circle, rgba(255, 145, 77, 0.10), transparent 72%); }
.hero-star { position: absolute; display: block; border-radius: 50%; background: rgba(255,255,255,0.92); box-shadow: 0 0 8px rgba(255,255,255,0.35); opacity: 0.85; }
.hero-star::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; background: rgba(255,255,255,0.10); filter: blur(3px); }
.hero-star-1  { top: 12%; left: 10%; width: 4px; height: 4px; }
.hero-star-2  { top: 18%; left: 24%; width: 2px; height: 2px; }
.hero-star-3  { top: 10%; right: 14%; width: 3px; height: 3px; }
.hero-star-4  { top: 24%; right: 26%; width: 4px; height: 4px; }
.hero-star-5  { top: 36%; left: 14%; width: 3px; height: 3px; }
.hero-star-6  { top: 42%; right: 10%; width: 2px; height: 2px; }
.hero-star-7  { top: 56%; left: 20%; width: 4px; height: 4px; }
.hero-star-8  { top: 62%; right: 24%; width: 3px; height: 3px; }
.hero-star-9  { top: 72%; left: 36%; width: 2px; height: 2px; }
.hero-star-10 { top: 20%; left: 72%; width: 3px; height: 3px; }
.hero-rocket-wrap { position: absolute; top: 14%; right: 14%; width: 110px; height: 110px; opacity: 0.22; transform: rotate(18deg); filter: drop-shadow(0 0 18px rgba(255, 145, 77, 0.18)); animation: heroRocketFloat 6s ease-in-out infinite; }
.hero-rocket-image { width: 100%; height: auto; display: block; }
@keyframes heroRocketFloat { 0% { transform: translateY(0) rotate(18deg); } 50% { transform: translateY(-8px) rotate(16deg); } 100% { transform: translateY(0) rotate(18deg); } }
@keyframes heroTwinkle { 0%,100% { opacity: 0.35; transform: scale(1); } 50% { opacity: 0.95; transform: scale(1.15); } }
.hero-star-1,.hero-star-4,.hero-star-7 { animation: heroTwinkle 4.5s ease-in-out infinite; }
.hero-star-3,.hero-star-8,.hero-star-10 { animation: heroTwinkle 5.5s ease-in-out infinite 1s; }
.home-interest-strip { border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); background: rgba(8, 18, 38, 0.85); padding: 20px 0; }
.interest-strip-list { display: flex; align-items: center; justify-content: center; gap: 28px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.interest-strip-item { display: inline-flex; align-items: center; gap: 10px; color: #d6deea; text-decoration: none; font-size: 16px; padding: 6px 0; }
.interest-strip-item:hover { color: var(--primary); }
.featured-book-grid { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: 56px; align-items: center; }
.featured-book-media { display: flex; justify-content: center; }
.featured-book-image, .book-cover-image { width: 100%; max-width: 360px; height: auto; display: block; border-radius: 24px; box-shadow: 0 0 48px rgba(255, 145, 77, 0.12); }
.featured-book-placeholder { width: 100%; max-width: 360px; aspect-ratio: 3 / 4; border-radius: 24px; border: 1px solid rgba(255,255,255,0.08); background: linear-gradient(180deg, rgba(16,31,60,0.9), rgba(8,18,38,0.95)); display: flex; align-items: center; justify-content: center; }
.featured-book-placeholder-inner { text-align: center; color: #d7dfeb; display: grid; gap: 8px; }
.book-placeholder-icon { font-size: 36px; }
.section-badge { display: inline-block; margin-bottom: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 145, 77, 0.12); color: #ff9d52; font-size: 14px; font-weight: 600; }
.section-title { margin: 0 0 18px; font-size: clamp(32px, 5vw, 60px); line-height: 1.08; font-weight: 800; color: var(--primary); }
.section-text { color: #cbd5e1; font-size: clamp(17px, 2.2vw, 21px); line-height: 1.8; max-width: 760px; margin: 0 0 28px; }
.section-heading.center { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-heading h2 { font-size: clamp(30px, 4vw, 48px); margin: 0 0 12px; line-height: 1.15; }
.section-heading p { margin: 0; color: #cbd5e1; font-size: 18px; line-height: 1.7; }
.home-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-card { display: block; text-decoration: none; padding: 28px; border-radius: 22px; background: linear-gradient(180deg, rgba(12,24,48,0.95), rgba(8,18,38,0.98)); border: 1px solid rgba(255,255,255,0.06); transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease; }
.home-card:hover { transform: translateY(-4px); border-color: rgba(255, 145, 77, 0.28); box-shadow: 0 16px 40px rgba(0,0,0,0.22); }
.home-card-icon { font-size: 28px; margin-bottom: 14px; }
.home-card h3 { margin: 0 0 12px; font-size: 28px; line-height: 1.2; color: var(--primary); }
.home-card p { margin: 0 0 16px; color: #cbd5e1; line-height: 1.75; font-size: 17px; }
.home-card-link { color: var(--primary); font-weight: 600; }
.home-card-quote { cursor: default; }
.home-final-cta .final-cta-box { text-align: center; padding: 64px 24px; border-radius: 28px; background: radial-gradient(circle at top center, rgba(255, 145, 77, 0.08), transparent 34%), linear-gradient(180deg, rgba(10,22,46,0.95), rgba(8,18,38,0.98)); border: 1px solid rgba(255,255,255,0.06); }
.final-cta-icon { font-size: 34px; margin-bottom: 16px; }
.final-cta-box h2 { margin: 0 0 14px; color: #f3f4f6; font-size: clamp(28px, 4vw, 48px); line-height: 1.15; }
.final-cta-box p { max-width: 760px; margin: 0 auto 24px; color: #cbd5e1; font-size: 18px; line-height: 1.75; }
.home-editor-content .prose { margin-top: 0; }
.hero--book-page .hero-grid--book { grid-template-columns: 1.1fr .9fr; }
.book-cover-wrap { display: flex; justify-content: center; }
.book-cover-media { padding: 18px; display: inline-flex; justify-content: center; }
.prose--book { min-width: 0; }
.prose--book > *:first-child { margin-top: 0; }
.prose--book img { border-radius: 18px; }
@media (max-width: 1024px) {
  .hero-rocket-wrap { top: 12%; right: 8%; width: 88px; height: 88px; opacity: 0.18; }
  .hero-glow-1 { width: 300px; height: 300px; }
  .hero-glow-2 { width: 320px; height: 320px; }
  .home-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-book-grid { gap: 40px; }
}
@media (max-width: 768px) {
  .home-page-v4 .section-space { padding: 48px 0; }
  .home-page-v4 .home-hero { padding: 76px 0 56px; }
  .interest-strip-list { justify-content: flex-start; gap: 22px; padding-bottom: 4px; }
  .featured-book-grid, .hero--book-page .hero-grid--book { grid-template-columns: 1fr; gap: 28px; }
  .featured-book-content { text-align: left; }
  .home-page-v4 .hero-actions, .button-group { justify-content: flex-start; }
  .home-card-grid { grid-template-columns: 1fr; }
  .home-card { padding: 24px; }
  .hero-rocket-wrap { top: 10%; right: -10px; width: 68px; height: 68px; opacity: 0.14; }
  .hero-glow-1 { width: 220px; height: 220px; top: 6%; left: -60px; }
  .hero-glow-2 { width: 240px; height: 240px; top: -20px; right: -80px; }
  .hero-star-2, .hero-star-4, .hero-star-6, .hero-star-9 { display: none; }
}
@media (max-width: 480px) {
  .hero-rocket-wrap { width: 54px; height: 54px; top: 12%; right: -6px; opacity: 0.12; }
  .hero-star-3, .hero-star-8 { display: none; }
}


/* =========================================
   Version 5 Contact + Book + Blog Enhancements
========================================= */
.contact-layout { display:grid; gap:24px; }
@media (min-width:980px){ .contact-layout { grid-template-columns: minmax(0,1fr) 360px; } }
.contact-form-shell form { display:grid; gap:14px; }
.contact-form-shell input,
.contact-form-shell textarea,
.contact-form-shell select,
.contact-form-shell .wpforms-field input,
.contact-form-shell .wpforms-field textarea,
.contact-form-shell .wpforms-field select {
  width:100%; min-height:48px; border-radius:16px; border:1px solid var(--line);
  background: rgba(255,255,255,.04); color: var(--text); padding: 12px 14px;
}
.contact-form-shell textarea,
.contact-form-shell .wpforms-field textarea { min-height: 150px; }
.contact-form-shell button,
.contact-form-shell input[type=submit],
.contact-form-shell .wpforms-submit {
  justify-self:start;
}
.message-type-grid .card__body { min-height: 100%; }
.contact-prose ul { padding-left: 1.2rem; }
.contact-prose li { margin-bottom: 8px; }

.narrow { max-width: 780px; margin-inline: auto; }
.book-layout-grid { align-items: start; }
.book-why-card h2 { margin-top: 0; }
.book-reviews-head { justify-content: center; margin-bottom: 22px; }
.review-grid .card__body { display:grid; gap:12px; }
.review-stars { color: var(--primary-2); font-size: 1.2rem; letter-spacing: .08em; }
.review-author { color: var(--muted); font-size: .95rem; font-weight: 700; }
.book-bottom-cta .card__body { padding-block: 34px; }
.book-bottom-cta p { color: #f4e9ef; }

.blog-post-hero h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
.post-meta-line { color: var(--muted); margin-top: 0; }
.blog-post-simple {
  background: transparent;
  padding: 0;
  box-shadow: none;
  border: 0;
}
.blog-featured-image-wrap { margin: 0 0 26px; }
.blog-featured-image { width: 100%; border-radius: 20px; }
.prose--blog p,
.prose--blog li { color: #e6eefb; font-size: 1.06rem; line-height: 1.95; }
.prose--blog h2,
.prose--blog h3,
.prose--blog h4 { color: #fff; margin-top: 1.5em; }
.prose--blog img { margin: 20px 0; border-radius: 18px; }
.prose--blog figure { margin: 26px 0; }
.prose--blog .wp-block-image figcaption,
.prose--blog figcaption { color: var(--muted); font-size: .92rem; text-align: center; }
.prose--blog blockquote { margin: 28px 0; }
.prose--blog iframe { width: 100%; min-height: 320px; border: 0; border-radius: 18px; }
@media (max-width: 699px) {
  .contact-layout, .message-type-grid { gap: 18px; }
  .prose--blog p,
  .prose--blog li { font-size: 1rem; line-height: 1.85; }
}

/* =========================================
   Version 6 Light / Dark Theme Toggle
========================================= */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
  box-shadow: none;
  flex: 0 0 auto;
}
.theme-toggle:hover,
.theme-toggle:focus-visible {
  background: rgba(255,255,255,.12);
  transform: translateY(-1px);
  outline: none;
}
.theme-toggle-icon { font-size: 18px; line-height: 1; }
@media (max-width: 979px) { .site-nav .theme-toggle { margin-top: 10px; } }

html.light-mode {
  --bg: #f8fafc;
  --bg-2: #eef6ff;
  --card: #ffffff;
  --card-2: #f1f5f9;
  --text: #172033;
  --muted: #475569;
  --line: rgba(15,23,42,.10);
  --primary: #e66a10;
  --primary-2: #f97316;
  --cyan: #0369a1;
  --warm: #7c2d12;
  --shadow: 0 14px 34px rgba(15,23,42,.08);
}
html.light-mode body {
  color: var(--text);
  background:
    radial-gradient(circle at 10% 10%, rgba(3,105,161,.08), transparent 24%),
    radial-gradient(circle at 80% 0%, rgba(249,115,22,.10), transparent 28%),
    linear-gradient(180deg, #ffffff, #f8fafc 42%, #eef6ff 100%);
}
html.light-mode a { color: var(--text); }
html.light-mode a:hover { color: #0f172a; }
html.light-mode .site-header { background: rgba(255,255,255,.82); border-bottom-color: var(--line); }
html.light-mode .site-nav { background: rgba(255,255,255,.98); }
@media (min-width: 980px) { html.light-mode .site-nav { background: transparent; } }
html.light-mode .site-nav li a { color: var(--muted); }
html.light-mode .site-nav li.current-menu-item a,
html.light-mode .site-nav li a:hover { background: rgba(15,23,42,.05); color: var(--text); }
html.light-mode .menu-toggle,
html.light-mode .theme-toggle {
  background: rgba(255,255,255,.92);
  color: var(--text);
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(15,23,42,.08);
}
html.light-mode .button--outline { color: var(--text); border-color: rgba(15,23,42,.16); }
html.light-mode .quote-pill,
html.light-mode .pill,
html.light-mode .page-numbers { background: rgba(255,255,255,.82); border-color: rgba(15,23,42,.10); color: var(--muted); }
html.light-mode .card,
html.light-mode .card--soft,
html.light-mode .home-card,
html.light-mode .contact-card,
html.light-mode .featured-book-placeholder,
html.light-mode .final-cta-box {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-color: rgba(15,23,42,.10);
  box-shadow: var(--shadow);
}
html.light-mode .card--warm,
html.light-mode .card--feature { background: linear-gradient(180deg, #fff7ed, #ffffff); }
html.light-mode .section--alt { background: linear-gradient(180deg, rgba(15,23,42,.025), rgba(255,255,255,.02)); border-color: var(--line); }
html.light-mode .home-page-v4 .home-hero {
  background:
    radial-gradient(circle at 50% 10%, rgba(255,148,77,.18), transparent 26%),
    radial-gradient(circle at 18% 24%, rgba(3,105,161,.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #eef6ff 100%);
}
html.light-mode .hero-title span,
html.light-mode .final-cta-box h2,
html.light-mode .prose h2,
html.light-mode .prose h3,
html.light-mode .prose h4,
html.light-mode .prose--blog h2,
html.light-mode .prose--blog h3,
html.light-mode .prose--blog h4 { color: #0f172a; }
html.light-mode .hero-text,
html.light-mode .section-text,
html.light-mode .section-heading p,
html.light-mode .home-card p,
html.light-mode .final-cta-box p,
html.light-mode .hero p,
html.light-mode .lead,
html.light-mode .prose p,
html.light-mode .prose li,
html.light-mode .prose--blog p,
html.light-mode .prose--blog li,
html.light-mode .book-bottom-cta p { color: #334155; }
html.light-mode .home-interest-strip { background: rgba(255,255,255,.88); border-color: rgba(15,23,42,.08); }
html.light-mode .interest-strip-item { color: #334155; }
html.light-mode .interest-strip-item:hover { color: var(--primary); }
html.light-mode .section-badge,
html.light-mode .hero-badge { background: rgba(249,115,22,.12); color: var(--primary); }
html.light-mode .hero-star { background: rgba(15,23,42,.28); box-shadow: 0 0 8px rgba(15,23,42,.10); }
html.light-mode .hero-star::after { background: rgba(15,23,42,.08); }
html.light-mode .hero-rocket-wrap { opacity: .18; }
html.light-mode .notice,
html.light-mode blockquote { background: rgba(255,255,255,.82); border-color: rgba(15,23,42,.10); }
html.light-mode .search-field,
html.light-mode .contact-form-shell input,
html.light-mode .contact-form-shell textarea,
html.light-mode .contact-form-shell select,
html.light-mode .contact-form-shell .wpforms-field input,
html.light-mode .contact-form-shell .wpforms-field textarea,
html.light-mode .contact-form-shell .wpforms-field select {
  background: #ffffff;
  color: var(--text);
  border-color: rgba(15,23,42,.14);
}
html.light-mode .site-footer { background: rgba(255,255,255,.72); border-top-color: var(--line); }
html.light-mode .footer-bottom,
html.light-mode .meta,
html.light-mode .mini-terms,
html.light-mode .mini-terms a,
html.light-mode .post-meta-line,
html.light-mode .review-author,
html.light-mode .prose--blog figcaption,
html.light-mode .prose--blog .wp-block-image figcaption { color: #64748b; }
html.light-mode .book-cover__mock { box-shadow: 0 18px 44px rgba(15,23,42,.16); }

/* WPForms dark mode visibility fix */

html:not(.light-mode) .wpforms-container,
html:not(.light-mode) .wpforms-container label,
html:not(.light-mode) .wpforms-container .wpforms-field-label,
html:not(.light-mode) .wpforms-container .wpforms-field-sublabel,
html:not(.light-mode) .wpforms-container .wpforms-required-label,
html:not(.light-mode) .wpforms-container .wpforms-field-description {
  color: #e5edf8 !important;
}

html:not(.light-mode) .wpforms-container .wpforms-required-label {
  color: #ff8a34 !important;
}

html:not(.light-mode) .wpforms-container input,
html:not(.light-mode) .wpforms-container textarea,
html:not(.light-mode) .wpforms-container select {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid rgba(255,255,255,0.25) !important;
}

html:not(.light-mode) .wpforms-container input::placeholder,
html:not(.light-mode) .wpforms-container textarea::placeholder {
  color: #64748b !important;
}

html:not(.light-mode) .wpforms-container button,
html:not(.light-mode) .wpforms-container .wpforms-submit {
  background: #ff8a34 !important;
  color: #111827 !important;
  border-radius: 10px !important;
  border: none !important;
  font-weight: 700 !important;
}
