:root {
  --blue-950: #061640;
  --blue-900: #071f5b;
  --blue-800: #0a2f88;
  --blue-700: #0b47b7;
  --blue-600: #0b57d0;
  --blue-500: #216dff;
  --blue-100: #eaf1ff;
  --blue-050: #f6f9ff;
  --ink: #091735;
  --muted: #52607a;
  --line: #dce6f7;
  --surface: #ffffff;
  --surface-soft: #f8fbff;
  --shadow: 0 24px 70px rgba(7, 31, 91, 0.10);
  --shadow-soft: 0 12px 28px rgba(7, 31, 91, 0.07);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 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(--ink);
  background:
    radial-gradient(circle at 92% 6%, rgba(33, 109, 255, 0.08), transparent 23rem),
    linear-gradient(180deg, #ffffff 0%, var(--blue-050) 48%, #ffffff 100%);
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(7, 31, 91, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(7, 31, 91, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0,0,0,.5), transparent);
  opacity: .55;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; color: var(--blue-950); }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.045em; }
h1 { font-size: clamp(3.2rem, 6.2vw, 5.95rem); max-width: 760px; }
h2 { font-size: clamp(2rem, 3.7vw, 3.7rem); }
h3 { font-size: 1.3rem; font-family: Georgia, "Times New Roman", serif; font-weight: 500; letter-spacing: -0.015em; }
h4 { font-size: .98rem; }

.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section-pad { padding: 74px 0 36px; }
.section-pad-sm { padding: 34px 0; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 100;
  background: var(--blue-900);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 230, 247, .8);
}
.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  letter-spacing: -0.04em;
  color: var(--blue-950);
  white-space: nowrap;
}
.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .92rem;
  font-weight: 650;
  color: var(--blue-900);
}
.site-nav a { position: relative; padding: 31px 0 29px; }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 20px;
  height: 3px;
  border-radius: 99px;
  background: var(--blue-600);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 750;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  box-shadow: 0 14px 30px rgba(11, 87, 208, .22);
}
.btn-primary:hover { box-shadow: 0 20px 42px rgba(11, 87, 208, .3); }
.btn-secondary {
  color: var(--blue-800);
  background: #fff;
  border-color: rgba(11, 87, 208, .45);
}
.btn-secondary:hover { background: var(--blue-050); border-color: var(--blue-600); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-800);
  font-weight: 750;
  border-bottom: 1px solid rgba(11, 87, 208, .3);
  padding-bottom: 4px;
}
.text-link:hover { color: var(--blue-600); }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .95fr;
  gap: 62px;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--blue-600);
  font-weight: 850;
  font-size: .78rem;
  margin-bottom: 14px;
}
.lead {
  margin-top: 24px;
  max-width: 630px;
  color: #273554;
  font-size: 1.12rem;
  line-height: 1.85;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 34px 0 22px;
}
.hero-visual { position: relative; }
.portrait-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #e7eefc, #fff);
  box-shadow: var(--shadow);
  border: 1px solid rgba(220, 230, 247, .9);
}
.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 22, 64, .06));
}
.dot-pattern {
  position: absolute;
  right: -30px;
  top: -32px;
  width: 140px;
  height: 180px;
  background-image: radial-gradient(rgba(11, 87, 208, .28) 1.4px, transparent 1.4px);
  background-size: 14px 14px;
  z-index: -1;
}

.card-grid { display: grid; gap: 24px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.pathways { padding: 26px 0 6px; }
.path-card, .mini-card, .quote-card, .stat-card, .project-card, .start-panel, .feature-panel {
  background: rgba(255, 255, 255, .82);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.path-card {
  padding: 34px;
  border-radius: var(--radius-md);
  min-height: 238px;
}
.path-card p, .mini-card p, .stat-card p, .project-card p, .start-panel p, .feature-copy p { color: var(--muted); }
.path-card h3 { margin: 18px 0 12px; }
.path-card p { font-size: .96rem; }
.path-card a, .mini-card a, .project-card a, .start-panel a {
  display: inline-flex;
  gap: 8px;
  color: var(--blue-700);
  font-weight: 800;
  margin-top: 22px;
}
.icon-pill {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-100);
  color: var(--blue-600);
}
.icon-pill svg { width: 30px; height: 30px; }

.feature-panel {
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  display: grid;
  grid-template-columns: .72fr 1.5fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.book-cover-wrap {
  min-height: 390px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #f1f6ff, #fff);
}
.book-cover-wrap img { width: min(100%, 315px); filter: drop-shadow(0 24px 28px rgba(7, 31, 91, .18)); }
.feature-copy h2 { max-width: 760px; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin: 44px 0 32px;
}
.benefits-grid svg {
  width: 42px;
  height: 42px;
  color: var(--blue-600);
  margin-bottom: 14px;
}
.benefits-grid h4 { margin-bottom: 8px; }
.benefits-grid p { font-size: .9rem; line-height: 1.55; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 16px 18px; align-items: center; }

.section-heading { text-align: center; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 10px; }
.section-heading h2 { font-size: clamp(2rem, 3.1vw, 3rem); }
.section-heading::after {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 99px;
  margin: 18px auto 0;
  background: var(--blue-600);
}
.stat-grid {
  display: grid;
  grid-template-columns: .85fr 1fr 1fr 1fr;
  gap: 18px;
}
.stat-card {
  border-radius: var(--radius-md);
  padding: 28px;
  min-height: 160px;
}
.stat-card svg { width: 42px; height: 42px; color: var(--blue-600); margin-bottom: 16px; }
.stat-card strong { font-size: 3rem; color: var(--blue-600); font-family: Georgia, "Times New Roman", serif; font-weight: 500; line-height: .8; }
.stat-card span { display: block; color: var(--blue-950); font-size: 1.2rem; font-family: Georgia, "Times New Roman", serif; }
.stat-card h3 { margin-bottom: 12px; font-size: 1.18rem; }
.stat-card p { font-size: .9rem; line-height: 1.55; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-card {
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 28px;
  align-items: center;
}
.project-card img { border-radius: 12px; width: 100%; }
.project-card p { margin-top: 12px; }

.compact .mini-card { min-height: 210px; }
.mini-card {
  padding: 30px;
  border-radius: var(--radius-md);
}
.mini-card > svg {
  width: 48px;
  height: 48px;
  color: var(--blue-600);
  margin-bottom: 18px;
}
.mini-card h3 { margin-bottom: 12px; }

.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote-card {
  margin: 0;
  border-radius: var(--radius-md);
  padding: 32px;
  min-height: 235px;
}
.quote-card span {
  color: var(--blue-600);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.5rem;
  line-height: .5;
}
.quote-card p {
  color: #273554;
  font-style: italic;
  margin: 10px 0 24px;
}
.quote-card footer { color: var(--blue-950); font-weight: 750; }
.quote-card small { color: var(--muted); font-weight: 500; }

.start-panel {
  border-radius: var(--radius-lg);
  padding: 34px;
  text-align: center;
}
.start-panel h2 { margin-bottom: 28px; }
.start-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: left;
}
.start-grid article {
  padding: 18px 26px;
  border-left: 1px solid var(--line);
}
.start-grid article:first-child { border-left: 0; }
.start-grid h3 { margin: 16px 0 10px; }

.site-footer {
  padding: 58px 0 28px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .75);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr .7fr .7fr .7fr 1.4fr;
  gap: 34px;
  align-items: start;
}
.footer-brand { font-size: 1.8rem; display: inline-block; margin-bottom: 10px; }
.site-footer p { color: var(--muted); font-size: .95rem; }
.footer-links { display: grid; gap: 8px; }
.footer-links h4, .newsletter h4 { margin-bottom: 6px; }
.footer-links a, .footer-bottom a { color: var(--muted); font-size: .92rem; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--blue-700); }
.socials { display: flex; gap: 14px; margin-top: 20px; }
.socials a { width: 24px; height: 24px; color: var(--blue-800); }
.socials svg { width: 100%; height: 100%; }
.newsletter {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}
.newsletter p { margin: 6px 0 16px; }
.newsletter-row { display: flex; gap: 8px; }
.newsletter input {
  min-width: 0;
  flex: 1;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
}
.newsletter input:focus { outline: 3px solid rgba(33, 109, 255, .14); border-color: var(--blue-500); }
.newsletter button {
  border: 0;
  border-radius: 10px;
  background: var(--blue-600);
  color: white;
  padding: 0 14px;
  font-weight: 800;
  cursor: pointer;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1080px) {
  .site-nav { gap: 18px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-visual { max-width: 700px; }
  .feature-panel, .project-card { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid, .start-grid { grid-template-columns: repeat(2, 1fr); }
  .start-grid article:nth-child(odd) { border-left: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 72px; }
  .brand { font-size: 1.85rem; }
  .nav-cta { display: none; }
  .nav-toggle {
    margin-left: auto;
    display: grid;
    place-items: center;
    gap: 5px;
    width: 46px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: white;
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { width: 20px; height: 2px; background: var(--blue-900); border-radius: 99px; }
  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 8px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px 16px; border-radius: 10px; }
  .site-nav a:hover { background: var(--blue-050); }
  .site-nav a::after { display: none; }
  .section-pad { padding-top: 48px; }
  .card-grid.three, .testimonial-grid { grid-template-columns: 1fr; }
  .path-card, .mini-card, .quote-card, .stat-card, .start-panel { padding: 24px; }
  .feature-panel { padding: 22px; }
  .book-cover-wrap { min-height: 300px; }
  .stat-grid, .start-grid { grid-template-columns: 1fr; }
  .start-grid article { border-left: 0; border-top: 1px solid var(--line); padding: 24px 0; }
  .start-grid article:first-child { border-top: 0; }
  .project-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(2.65rem, 14vw, 3.6rem); }
  .lead { font-size: 1rem; }
  .hero-actions, .feature-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .benefits-grid { grid-template-columns: 1fr; }
  .newsletter-row { flex-direction: column; }
  .newsletter button { height: 44px; }
}


.initiative-page .hero-grid {
  grid-template-columns: 1.02fr .88fr;
  gap: 54px;
}
.initiative-visual {
  position: relative;
}
.initiative-stack {
  display: grid;
  gap: 18px;
}
.initiative-panel,
.initiative-strip,
.initiative-card,
.initiative-step,
.audience-panel {
  background: rgba(255,255,255,.85);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.initiative-panel {
  border-radius: 24px;
  padding: 30px;
}
.initiative-panel h3 {
  margin-bottom: 12px;
}
.initiative-panel p {
  color: var(--muted);
}
.initiative-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.initiative-mini-card {
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, var(--blue-050) 100%);
  border: 1px solid var(--line);
  padding: 16px;
}
.initiative-mini-card strong {
  display: block;
  font-size: .92rem;
  color: var(--blue-950);
  margin-bottom: 6px;
}
.initiative-mini-card span {
  display: block;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.5;
}
.initiative-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 24px;
  overflow: hidden;
  margin-top: 26px;
}
.initiative-strip article {
  padding: 22px 24px;
  border-left: 1px solid var(--line);
}
.initiative-strip article:first-child {
  border-left: 0;
}
.initiative-strip strong {
  display: block;
  color: var(--blue-950);
  font-size: 1rem;
  margin-bottom: 8px;
}
.initiative-strip p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}
.initiative-section-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
}
.initiative-section-grid.reverse {
  grid-template-columns: .95fr 1.05fr;
}
.initiative-copy p + p {
  margin-top: 14px;
}
.initiative-bullets {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}
.initiative-bullets article {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
}
.initiative-bullets .icon-pill {
  width: 52px;
  height: 52px;
}
.initiative-bullets h4 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}
.initiative-bullets p {
  color: var(--muted);
  font-size: .94rem;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.resource-card {
  border-radius: 18px;
  padding: 24px 22px;
}
.resource-card > .icon-pill {
  margin-bottom: 18px;
}
.resource-card h3 {
  margin-bottom: 12px;
}
.resource-card p {
  color: var(--muted);
  font-size: .94rem;
}
.resource-card .meta {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--blue-700);
  font-weight: 780;
  font-size: .88rem;
}
.resource-card .meta.is-planned {
  color: #5c6d92;
}
.audience-panel {
  border-radius: 24px;
  padding: 30px;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.audience-grid article {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, var(--blue-050) 100%);
  padding: 18px;
}
.audience-grid h4 {
  margin-bottom: 8px;
}
.audience-grid p {
  color: var(--muted);
  font-size: .92rem;
}
.access-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.initiative-step {
  border-radius: 18px;
  padding: 26px 22px;
  position: relative;
}
.initiative-step .step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 900;
  margin-bottom: 18px;
}
.initiative-step h3 {
  margin-bottom: 10px;
}
.initiative-step p {
  color: var(--muted);
  font-size: .94rem;
}
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.timeline-grid article {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
  padding: 24px 22px;
}
.timeline-grid strong {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--blue-700);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.timeline-grid h3 {
  margin-bottom: 10px;
}
.timeline-grid p {
  color: var(--muted);
  font-size: .92rem;
}
.initiative-final {
  border-radius: 28px;
  padding: 38px 34px;
  background:
    radial-gradient(circle at right top, rgba(33, 109, 255, .14), transparent 16rem),
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(246,249,255,.95) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.initiative-final p {
  max-width: 760px;
  margin: 18px auto 0;
  color: var(--muted);
}
.initiative-final .feature-actions {
  justify-content: center;
  margin-top: 28px;
}

@media (max-width: 1080px) {
  .initiative-page .hero-grid,
  .initiative-section-grid,
  .initiative-section-grid.reverse {
    grid-template-columns: 1fr;
  }
  .initiative-strip,
  .resource-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .audience-grid,
  .access-steps {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 820px) {
  .initiative-strip,
  .resource-grid,
  .timeline-grid {
    grid-template-columns: 1fr;
  }
  .initiative-strip article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .initiative-strip article:first-child {
    border-top: 0;
  }
  .initiative-panel,
  .audience-panel,
  .initiative-final {
    padding: 24px;
  }
}

/* =========================================================
   Reader & AI Reviews - cards + modal
   Scoped and hardened for the book page
   ========================================================= */

/* Section container: align with the main site container */
body .rk-proof-section {
  width: min(calc(100% - 40px), var(--container));
  max-width: var(--container);
  margin: 0 auto;
  padding: 74px 0 36px;
  clear: both;
  box-sizing: border-box;
}

body .rk-proof-section,
body .rk-proof-section *,
body .rk-proof-section *::before,
body .rk-proof-section *::after {
  box-sizing: border-box;
}

body .rk-proof-header {
  max-width: 780px;
  margin: 0 0 34px;
}

body .rk-proof-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue-600);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

body .rk-proof-header h2 {
  margin: 0 0 14px;
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.1vw, 3rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

body .rk-proof-header p {
  margin: 0;
  max-width: 700px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Card grid */
body .rk-proof-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
}

body .rk-proof-card {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .88);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

body .rk-proof-card-human {
  border-top: 4px solid var(--blue-600);
}

body .rk-proof-card-ai {
  border-top: 4px solid #7c3aed;
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 58, 237, .10), transparent 15rem),
    linear-gradient(180deg, rgba(255, 255, 255, .94) 0%, rgba(246, 249, 255, .96) 100%);
}

body .rk-proof-topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

body .rk-proof-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
  white-space: normal;
}

body .rk-proof-badge-human {
  color: var(--blue-800);
  background: var(--blue-100);
}

body .rk-proof-badge-ai {
  color: #6d28d9;
  background: rgba(124, 58, 237, .12);
}

body .rk-proof-meta {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.3;
}

body .rk-proof-card h3 {
  margin: 0;
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.26rem;
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.018em;
}

body .rk-proof-preview {
  margin: 0;
  color: #273554;
  line-height: 1.7;
}

body .rk-human-takeaways,
body .rk-ai-takeaways {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}

body .rk-human-takeaways li,
body .rk-ai-takeaways li {
  margin: 0 0 7px;
  padding-left: 2px;
}

body .rk-human-takeaways li:last-child,
body .rk-ai-takeaways li:last-child {
  margin-bottom: 0;
}

body .rk-proof-person {
  margin-top: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

body .rk-proof-person strong,
body .rk-proof-person span {
  display: block;
}

body .rk-proof-person strong {
  color: var(--blue-950);
  font-weight: 800;
  line-height: 1.25;
}

body .rk-proof-person span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

/* Review buttons */
body .rk-review-open {
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: auto;
  border: 0;
  border-radius: 10px;
  padding: 0 16px;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-800));
  box-shadow: 0 14px 30px rgba(11, 87, 208, .20);
  font: inherit;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

body .rk-review-open:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(11, 87, 208, .28);
}

body .rk-proof-card-ai .rk-review-open {
  background: linear-gradient(135deg, #7c3aed, #5b21b6);
  box-shadow: 0 14px 30px rgba(124, 58, 237, .22);
}

body .rk-proof-card-ai .rk-review-open:hover {
  box-shadow: 0 18px 38px rgba(124, 58, 237, .30);
}

/* Hidden modal source blocks must never appear in the visible card layout */
body .rk-review-full,
body .rk-review-full[hidden] {
  display: none !important;
}

/* Modal */
dialog.rk-review-modal:not([open]) {
  display: none !important;
}

dialog.rk-review-modal[open] {
  display: block;
}

body .rk-review-modal {
  width: min(720px, calc(100vw - 48px));
  max-width: 720px;
  max-height: min(82vh, 760px);
  margin: auto;
  border: 0;
  border-radius: 26px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 30px 80px rgba(7, 31, 91, .28),
    0 0 0 1px rgba(255, 255, 255, .45);
}

body .rk-review-modal::backdrop {
  background: rgba(7, 31, 91, .48);
  backdrop-filter: blur(5px);
}

body .rk-review-modal-panel {
  position: relative;
  max-height: min(82vh, 760px);
  overflow-y: auto;
  padding: 34px 36px 38px;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(33, 109, 255, .10), transparent 17rem),
    linear-gradient(180deg, #ffffff 0%, var(--blue-050) 100%);
}

body .rk-review-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 5;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: -10px -12px 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  color: var(--blue-950);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 22px rgba(7, 31, 91, .08);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
}

body .rk-review-close:hover {
  background: var(--blue-050);
}

body .rk-review-modal-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--blue-800);
  background: var(--blue-100);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .06em;
  line-height: 1;
  text-transform: uppercase;
}

body .rk-review-modal h2 {
  clear: none;
  max-width: 620px;
  margin: 0 0 14px;
  color: var(--blue-950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

body .rk-review-modal-author {
  margin: 0 0 24px;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
}

body .rk-review-modal-author strong,
body .rk-review-modal-author span {
  display: block;
}

body .rk-review-modal-author strong {
  color: var(--blue-950);
  font-size: 1rem;
  font-weight: 800;
}

body .rk-review-modal-author span {
  margin-top: 4px;
  color: var(--muted);
  font-size: .94rem;
}

body .rk-review-modal-body {
  max-width: 640px;
  color: #273554;
  font-size: 1rem;
  line-height: 1.75;
}

body .rk-review-modal-body p {
  margin: 0 0 18px;
}

body .rk-review-modal-body p:last-child {
  margin-bottom: 0;
}

body .rk-review-modal-body ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

body .rk-review-modal-body li {
  margin-bottom: 12px;
}

body .rk-review-modal-body strong {
  color: var(--blue-950);
}

@media (max-width: 860px) {
  body .rk-proof-section {
    width: min(calc(100% - 28px), var(--container));
    padding: 56px 0 28px;
  }

  body .rk-proof-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  body .rk-proof-card {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  body .rk-review-modal {
    width: calc(100vw - 24px);
    max-height: 86vh;
    border-radius: 22px;
  }

  body .rk-review-modal-panel {
    max-height: 86vh;
    padding: 28px 22px 32px;
  }

  body .rk-review-close {
    margin: -6px -4px 8px 14px;
  }

  body .rk-review-modal h2 {
    font-size: 1.55rem;
  }

  body .rk-review-modal-body {
    font-size: .98rem;
  }
}

/* ===============================
   Hero action buttons - Preview button fix
   ===============================
   The book hero has three CTAs. This makes sure the third/preview CTA is
   rendered as a complete button even if the markup only has a partial class
   such as text-link, btn-outline, btn-preview, or no .btn class at all.
*/
body .hero-actions > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 10px;
  font-size: .95rem;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease,
    border-color .2s ease,
    color .2s ease;
}

body .hero-actions > a:hover {
  transform: translateY(-2px);
}

/* Robust targeting for the Preview the Book CTA */
body .hero-actions > a:nth-child(3),
body .hero-actions > a.btn-preview,
body .hero-actions > a.btn-outline,
body .hero-actions > a.btn-tertiary,
body .hero-actions > a.text-link,
body .hero-actions > a[href*="preview" i] {
  color: var(--blue-800);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, var(--blue-050) 100%);
  border-color: rgba(11, 87, 208, .32);
  box-shadow: 0 12px 26px rgba(7, 31, 91, .08);
  border-bottom: 1px solid rgba(11, 87, 208, .32);
  padding-bottom: 0;
}

body .hero-actions > a:nth-child(3):hover,
body .hero-actions > a.btn-preview:hover,
body .hero-actions > a.btn-outline:hover,
body .hero-actions > a.btn-tertiary:hover,
body .hero-actions > a.text-link:hover,
body .hero-actions > a[href*="preview" i]:hover {
  color: var(--blue-700);
  background: #fff;
  border-color: var(--blue-600);
  box-shadow: 0 18px 38px rgba(11, 87, 208, .16);
}

/* In case the preview CTA is marked up as a plain text-link, remove the old underline treatment. */
body .hero-actions > a.text-link {
  border-bottom-width: 1px;
}

@media (max-width: 560px) {
  body .hero-actions > a {
    width: 100%;
    white-space: normal;
  }
}
