:root {
  --blue: #1465bf;
  --blue-dark: #0d4f9a;
  --blue-soft: #eaf3fb;
  --blue-pale: #f4f8fc;
  --ink: #101828;
  --navy: #12345a;
  --muted: #667085;
  --line: #dbe4ee;
  --paper: #f8fafc;
  --white: #ffffff;
  --green: #138a5b;
  --amber: #c17b00;
  --red: #c94c4c;
  --radius: 18px;
  --shadow: 0 18px 55px rgba(16, 24, 40, 0.08);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  transform: translateY(-150%);
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(219, 228, 238, 0.9);
  backdrop-filter: blur(18px);
}

.site-nav {
  width: min(calc(100% - 40px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 150px; height: auto; }

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 0 auto;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 520;
}

.nav-links a:hover,
.nav-links a:focus-visible { color: var(--blue); }

.nav-actions { display: flex; align-items: center; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: white;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.button,
button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--blue);
  border-radius: 10px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); }
.button-small { min-height: 42px; padding: 0 17px; }
.button-secondary { background: white; color: var(--blue); border-color: #a9c9eb; }
.button-secondary:hover,
.button-secondary:focus-visible { background: var(--blue-pale); color: var(--blue-dark); border-color: var(--blue); }
.text-link { color: var(--blue); font-weight: 650; text-decoration: none; }
.text-link:hover { color: var(--blue-dark); }

.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }
.narrow { width: min(calc(100% - 40px), 840px); margin: 0 auto; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1, h2, h3, h4 { margin-top: 0; color: var(--ink); line-height: 1.08; letter-spacing: -0.035em; }
h1 { font-size: clamp(3rem, 5.4vw, 5.2rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.3rem); }
h3 { font-size: 1.2rem; }
p { margin-top: 0; }
.lead { color: var(--muted); font-size: clamp(1.05rem, 1.5vw, 1.23rem); line-height: 1.5; }
.section-intro { max-width: 680px; margin-bottom: 28px; }
.section-intro p:last-child { color: var(--muted); font-size: 1.02rem; }

.hero {
  position: relative;
  height: clamp(600px, calc(100svh - 72px), 740px);
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: white;
}

.hero::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 9%;
  width: min(28vw, 400px);
  height: 78%;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent 24.7%, #dceafa 25%, transparent 25.3%, transparent 49.7%, #dceafa 50%, transparent 50.3%, transparent 74.7%, #dceafa 75%, transparent 75.3%),
    linear-gradient(transparent 24.7%, #dceafa 25%, transparent 25.3%, transparent 49.7%, #dceafa 50%, transparent 50.3%, transparent 74.7%, #dceafa 75%, transparent 75.3%);
}

.hero::before {
  content: "";
  position: absolute;
  left: 5%;
  top: 9%;
  width: min(28vw, 400px);
  height: 78%;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(90deg, transparent 24.7%, #dceafa 25%, transparent 25.3%, transparent 49.7%, #dceafa 50%, transparent 50.3%, transparent 74.7%, #dceafa 75%, transparent 75.3%),
    linear-gradient(transparent 24.7%, #dceafa 25%, transparent 25.3%, transparent 49.7%, #dceafa 50%, transparent 50.3%, transparent 74.7%, #dceafa 75%, transparent 75.3%);
}

.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), var(--max)); margin: 0 auto; padding: 58px 0; }
.hero-copy { max-width: 900px; margin: 0 auto; text-align: center; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 28px; }
.assurance { display: flex; align-items: center; gap: 10px; margin-top: 28px; color: #44546a; font-size: 0.95rem; }
.assurance::before { content: "✓"; display: grid; place-items: center; width: 21px; height: 21px; border: 1px solid var(--blue); border-radius: 50%; color: var(--blue); font-weight: 800; }

.section { padding: 78px 0; }
.section-soft { background: var(--blue-pale); border-top: 1px solid #d9e9f8; border-bottom: 1px solid #d9e9f8; }
.section-ink { background: var(--ink); color: white; }
.section-ink h2, .section-ink h3 { color: white; }
.section-ink .eyebrow { color: #74b6f2; }
.section-ink p { color: #b7c4d4; }

.system-figure {
  margin-top: 28px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 0;
  overflow: hidden;
  border-radius: 20px;
  background: transparent;
}

.system-figure picture,
.system-figure img { display: block; width: 100%; height: auto; }

.offerings-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.offering-card {
  display: flex;
  flex-direction: column;
  min-height: 330px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.offering-card:hover { transform: translateY(-3px); border-color: #9dc1e6; box-shadow: var(--shadow); }
.offering-copy { display: flex; flex: 1; flex-direction: column; padding: 22px 20px 16px; }
.offering-type { color: var(--blue); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.1em; text-transform: uppercase; }
.offering-card h3 { margin: 10px 0; font-size: clamp(1.4rem, 2vw, 1.75rem); }
.offering-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.card-link { display: inline-block; margin-top: auto; color: var(--blue); font-size: 0.9rem; font-weight: 700; }
.offering-visual { display: grid; place-items: center; min-height: 84px; padding: 14px 20px; background: var(--blue-pale); border-top: 1px solid var(--line); }

.mini-audit { width: 100%; display: grid; gap: 8px; }
.mini-audit span { height: 12px; border: 1px solid #bfd5eb; border-radius: 999px; background: white; }
.mini-audit span::before { content: ""; display: block; width: 42%; height: 4px; margin: 3px 6px; border-radius: 6px; background: #83b5e6; }
.mini-brain { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.mini-stack { display: grid; gap: 8px; }
.mini-stack span { padding: 4px; border: 1px solid #bdd4ea; border-radius: 6px; background: white; color: var(--muted); font-size: 0.58rem; text-align: center; }
.mini-core { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue); color: white; font-size: 0.8rem; font-weight: 800; }
.mini-integrate { position: relative; width: 126px; height: 58px; }
.mini-integrate span { position: absolute; display: grid; place-items: center; width: 34px; height: 25px; border: 1px solid #afcbe7; border-radius: 7px; background: white; color: var(--blue); font-size: 0.6rem; font-weight: 800; }
.mini-integrate span:nth-child(1) { top: 0; left: 0; }
.mini-integrate span:nth-child(2) { top: 0; right: 0; }
.mini-integrate span:nth-child(3) { bottom: 0; left: 0; }
.mini-integrate span:nth-child(4) { bottom: 0; right: 0; }
.mini-integrate::after { content: "SYNC"; position: absolute; inset: 15px 42px; display: grid; place-items: center; border-radius: 999px; background: var(--blue); color: white; font-size: 0.52rem; font-weight: 800; }
.mini-transform { display: flex; align-items: center; gap: 7px; }
.mini-transform span { display: grid; place-items: center; width: 40px; height: 36px; border: 1px solid #b8d1e8; border-radius: 8px; background: white; color: var(--blue); font-size: 0.64rem; font-weight: 800; }
.mini-transform i { color: var(--blue); font-style: normal; }

.capability-list { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.capability { padding: 26px 22px; border-right: 1px solid var(--line); }
.capability:first-child { padding-left: 0; }
.capability:last-child { border-right: 0; padding-right: 0; }
.capability h3 { margin-bottom: 12px; }
.capability p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.section-ink .capability-list { border-color: #435166; }
.section-ink .capability { border-color: #435166; }
.section-ink .capability p { color: #b7c4d4; }

.steps-intro { max-width: 680px; margin-top: 48px; }
.steps-intro h3 { margin-bottom: 10px; font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
.steps-intro p { margin-bottom: 0; color: var(--muted); font-size: 1.02rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 24px; counter-reset: step; }
.step { counter-increment: step; padding-top: 20px; border-top: 1px solid var(--line); }
.step::before { content: "0" counter(step); display: block; margin-bottom: 20px; color: var(--blue); font-size: 0.75rem; font-weight: 750; letter-spacing: 0.08em; }
.step p { margin-bottom: 0; color: var(--muted); font-size: 0.9rem; }

.resources-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.resource-card { display: flex; justify-content: space-between; gap: 24px; min-height: 190px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: white; text-decoration: none; }
.resource-card:hover { border-color: #9dc1e6; box-shadow: var(--shadow); }
.resource-card p { color: var(--muted); }
.resource-badge { align-self: flex-start; white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: var(--blue-soft); color: var(--blue-dark); font-size: 0.72rem; font-weight: 700; }

.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { position: relative; padding: 20px 45px 20px 0; cursor: pointer; list-style: none; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 2px; top: 20px; color: var(--blue); font-size: 1.5rem; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { max-width: 800px; padding: 0 0 26px; color: var(--muted); }

.contact-panel { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; padding: 44px; border-radius: 20px; background: var(--ink); color: white; }
.contact-panel h2, .contact-panel h3 { color: white; }
.contact-panel p { color: #b8c4d4; }
.contact-details { display: grid; gap: 9px; margin-top: 28px; }
.contact-details a { color: white; text-decoration: none; }

.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
label { font-size: 0.8rem; font-weight: 700; color: inherit; }
input, textarea, select {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid #425169;
  border-radius: 9px;
  background: #172337;
  color: white;
  font: inherit;
}
textarea { min-height: 115px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(116, 182, 242, 0.26); border-color: #74b6f2; }
.form-status { min-height: 24px; margin: 14px 0 0; color: #9ed0ff !important; font-size: 0.9rem; }

.site-footer { padding: 48px 0 24px; background: #0c1422; color: #aebbc9; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 46px; }
.footer-logo { width: 156px; filter: brightness(0) invert(1); }
.footer-copy { max-width: 340px; margin-top: 18px; font-size: 0.9rem; }
.footer-title { display: block; margin-bottom: 14px; color: white; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.09em; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #aebbc9; text-decoration: none; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid #263346; font-size: 0.82rem; }

/* Product pages */
.page-hero { display: flex; align-items: center; height: clamp(570px, calc(100svh - 72px), 700px); padding: 54px 0; border-bottom: 1px solid var(--line); background: linear-gradient(120deg, white 64%, var(--blue-pale)); }
.page-hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; }
.page-hero h1 { margin-bottom: 20px; font-size: clamp(2.9rem, 5vw, 4.7rem); }
.page-hero .lead { max-width: 720px; }
.hero-panel { padding: 24px; border: 1px solid #b8d2ea; border-radius: 16px; background: rgba(255,255,255,0.82); box-shadow: 0 14px 38px rgba(16, 24, 40, 0.07); }
.hero-panel h3 { margin-bottom: 18px; font-size: 1rem; letter-spacing: 0; }
.check-list { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.check-list li { position: relative; padding-left: 27px; color: #405067; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 800; }

.stats-intro { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 70px; align-items: end; margin-bottom: 28px; }
.stats-intro h2, .stats-intro p { margin-bottom: 0; }
.stats-intro > p { color: var(--muted); font-size: 1rem; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat-card { display: flex; flex-direction: column; min-height: 210px; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: white; }
.stat-value { display: block; margin-bottom: 12px; color: var(--blue); font-size: clamp(2rem, 3vw, 3.1rem); font-weight: 780; line-height: 1; letter-spacing: -0.05em; }
.stat-card p { color: #344054; font-size: 0.86rem; line-height: 1.45; }
.source { display: block; color: var(--muted); font-size: 0.74rem; line-height: 1.45; }
.stat-card .source { margin-top: auto; }
.source a { color: var(--blue-dark); }

.deliverables { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 36px; border-top: 1px solid var(--line); }
.deliverable { padding: 20px 0; border-bottom: 1px solid var(--line); }
.deliverable span { display: block; margin-bottom: 7px; color: var(--blue); font-size: 0.75rem; font-weight: 800; }
.deliverable h3 { margin-bottom: 8px; }
.deliverable p { margin: 0; color: var(--muted); }

.process-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-item { padding: 28px; border: 1px solid var(--line); border-radius: 14px; }
.process-number { color: var(--blue); font-size: 0.76rem; font-weight: 800; }
.process-item h3 { margin: 35px 0 12px; }
.process-item p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.audience-band { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.audience-band p { color: var(--muted); }
.role-list { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.role-list li { padding: 10px 14px; border: 1px solid #a8c7e5; border-radius: 999px; background: white; color: var(--navy); font-size: 0.87rem; font-weight: 650; }

.question-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.question-list div { padding: 23px; border-left: 3px solid var(--blue); background: var(--blue-pale); font-weight: 650; }

.architecture {
  display: grid;
  grid-template-columns: 0.82fr 1.4fr 0.82fr;
  gap: 24px;
  align-items: stretch;
}
.architecture-column { display: grid; gap: 10px; }
.architecture-label { color: var(--blue); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.architecture-node { padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px; background: white; color: #405067; font-size: 0.8rem; }
.architecture-core { display: grid; gap: 10px; padding: 18px; border: 1px solid #8db9e4; border-radius: 15px; background: white; box-shadow: var(--shadow); }
.core-layer { padding: 12px 14px; border: 1px solid #c3d8ec; border-radius: 9px; background: var(--blue-pale); }
.core-layer strong { display: block; margin-bottom: 6px; }
.core-layer span { color: var(--muted); font-size: 0.8rem; }

.integration-map { display: grid; grid-template-columns: 1fr 130px 1fr; gap: 24px; align-items: center; }
.tool-stack { display: grid; gap: 10px; }
.tool-node { padding: 16px; border: 1px solid var(--line); border-radius: 11px; background: white; font-weight: 650; }
.sync-core { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--blue); color: white; text-align: center; font-size: 0.82rem; font-weight: 800; }

.transformation-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.transformation-flow div { position: relative; min-height: 160px; padding: 24px 18px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.transformation-flow div:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -15px; z-index: 1; color: var(--blue); font-weight: 800; }
.transformation-flow span { color: var(--blue); font-size: 0.76rem; font-weight: 800; }
.transformation-flow h3 { margin: 35px 0 0; font-size: 1rem; }

.cta-band { padding: 68px 0; background: var(--blue); color: white; }
.cta-band h2 { color: white; }
.cta-band .lead { color: #dbeafe; }
.cta-band .button { background: white; border-color: white; color: var(--blue-dark); }

.audit-form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.audit-form input, .audit-form textarea { background: white; color: var(--ink); border-color: #bad5ed; }

/* Existing book page refresh */
.book-page { background: white !important; color: var(--ink) !important; }
.book-page .site-header,
.quiz-page .site-header { width: 100%; flex: 0 0 auto; }
.book-page .site-nav,
.quiz-page .site-nav { width: min(calc(100% - 40px), var(--max)) !important; max-width: none !important; min-height: 72px !important; padding: 0 !important; background: white !important; border: 0 !important; }
.book-page .site-nav .logo,
.quiz-page .site-nav .logo { width: 164px !important; filter: none !important; }
.book-page .hero { min-height: 0 !important; padding: 72px 0 !important; background: linear-gradient(120deg, white 60%, var(--blue-pale)) !important; border: 0 !important; }
.book-page .hero::after { display: none; }
.book-page .hero-inner { display: grid !important; grid-template-columns: 0.72fr 1.28fr !important; gap: 80px !important; align-items: center !important; width: min(calc(100% - 40px), var(--max)) !important; padding: 0 !important; }
.book-page .book-cover-img { box-shadow: 0 28px 70px rgba(16,24,40,.18) !important; }
.book-page .hero-copy h1 { color: var(--ink) !important; font-size: clamp(2.9rem, 5vw, 4.7rem) !important; }
.book-page .hero-copy p, .book-page .hero-definition { color: var(--muted) !important; }
.book-page .author-line, .book-page .inside-label { color: var(--blue) !important; }
.book-page .bullets li { color: #344054 !important; }
.book-page .bullets i { color: var(--blue) !important; }
.book-page .meta span { color: var(--muted) !important; border-color: var(--line) !important; }
.book-page .cta-button { background: var(--blue) !important; color: white !important; border-radius: 10px !important; }
.book-page .store-badge-amazon {
  display: inline-flex;
  align-items: center;
  padding: 2px 12px;
  overflow: hidden;
  border-radius: 10px;
  background: #000;
}
.book-page .for-section { padding: 100px 0 !important; background: white !important; border-color: var(--line) !important; }
.book-page .for-label { color: var(--blue) !important; }
.book-page .for-card { background: var(--blue-pale) !important; border-color: var(--line) !important; }
.book-page .for-card h3 { color: var(--ink) !important; }
.book-page .for-card p { color: var(--muted) !important; }
.book-page footer { background: #0c1422 !important; color: #aebbc9 !important; }

/* Existing quiz refresh */
.quiz-page { background: var(--paper) !important; color: var(--ink) !important; }
.quiz-page .hero { display: block !important; min-height: 0 !important; max-width: none !important; padding: 72px 20px 56px !important; background: white !important; border: 0 !important; border-radius: 0 !important; text-align: center !important; }
.quiz-page .hero::after { display: none; }
.quiz-page .hero h1 { color: var(--ink) !important; font-size: clamp(2.8rem, 5vw, 4.4rem) !important; }
.quiz-page .hero h1 em, .quiz-page .hero-badge { color: var(--blue) !important; }
.quiz-page .hero p, .quiz-page .hero-definition { color: var(--muted) !important; }
.quiz-page .hero-badge { background: var(--blue-soft) !important; border-color: #bad5ed !important; }
.quiz-page .hero-meta span { color: #344054 !important; }
.quiz-page .hero-meta i { color: var(--blue) !important; }
.quiz-page .progress-wrap { max-width: 820px !important; }
.quiz-page .progress-label,
.quiz-page .progress-count { color: #475467 !important; }
.quiz-page .progress-fill { background: var(--blue) !important; }
.quiz-page .quiz-wrap { max-width: 820px !important; }
.quiz-page .question-card, .quiz-page .email-gate, .quiz-page .thankyou-card { background: white !important; border: 1px solid var(--line) !important; box-shadow: var(--shadow) !important; }
.quiz-page .q-number, .quiz-page .result-stage, .quiz-page .email-gate h2 span, .quiz-page .thankyou-card h2 span { color: var(--blue) !important; }
.quiz-page .q-text, .quiz-page .email-gate h2, .quiz-page .thankyou-card h2, .quiz-page .call-card h3 { color: var(--ink) !important; }
.quiz-page .option { background: var(--paper) !important; border-color: var(--line) !important; color: #344054 !important; }
.quiz-page .option-text,
.quiz-page .option.selected .option-text { color: #344054 !important; }
.quiz-page .option:hover, .quiz-page .option.selected { background: var(--blue-soft) !important; border-color: var(--blue) !important; }
.quiz-page .option-dot { border-color: #94a3b8 !important; }
.quiz-page .option.selected .option-dot { border-color: var(--blue) !important; background: var(--blue) !important; }
.quiz-page .btn-next, .quiz-page .btn-submit, .quiz-page .call-btn { background: var(--blue) !important; color: white !important; border-radius: 10px !important; }
.quiz-page .email-form input { background: white !important; color: var(--ink) !important; border-color: var(--line) !important; }
.quiz-page .q-sub,
.quiz-page .email-gate p,
.quiz-page .privacy-note,
.quiz-page .result-tagline,
.quiz-page .confirm-text,
.quiz-page .confirm-footnote,
.quiz-page .cta-card > p,
.quiz-page .call-features li,
.quiz-page .cta-subtext { color: var(--muted) !important; }
.quiz-page footer { background: #0c1422 !important; color: #aebbc9 !important; }

@media (max-width: 1040px) {
  .nav-links { gap: 18px; }
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero-grid { gap: 45px; }
  .transformation-flow { grid-template-columns: repeat(3, 1fr); }
  .transformation-flow div::after { display: none; }
}

@media (max-width: 820px) {
  body { font-size: 16px; }
  .site-nav { min-height: 72px; }
  .brand img { width: 142px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav-links, .nav-actions {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: white;
  }
  .site-nav.is-open .nav-links { display: grid; gap: 0; padding: 12px 20px; border-top: 1px solid var(--line); }
  .site-nav.is-open .nav-links a { display: block; padding: 14px 0; }
  .site-nav.is-open .nav-actions { display: flex; top: calc(72px + 166px); padding: 16px 20px 22px; border-bottom: 1px solid var(--line); }
  .nav-actions .button { flex: 1; }
  .hero { height: clamp(560px, calc(100svh - 72px), 650px); }
  .hero::after { right: -24%; width: 70vw; opacity: 0.34; }
  .hero::before { left: -24%; width: 70vw; opacity: 0.24; }
  .hero-inner { padding: 85px 0; }
  .section { padding: 64px 0; }
  .page-hero-grid, .audience-band, .architecture, .contact-panel { grid-template-columns: 1fr; }
  .capability-list, .steps, .process-list { grid-template-columns: repeat(2, 1fr); }
  .capability:nth-child(2) { border-right: 0; }
  .capability:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .capability:first-child, .capability { padding: 28px; }
  .resources-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-hero { height: auto; min-height: 0; padding: 64px 0; }
  .hero-panel { max-width: 620px; }
  .integration-map { grid-template-columns: 1fr; }
  .sync-core { width: 110px; justify-self: center; }
  .transformation-flow { grid-template-columns: repeat(2, 1fr); }
  .book-page .hero-inner { grid-template-columns: 1fr !important; }
  .book-page .book-cover-wrap { max-width: 330px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .container, .narrow, .site-nav, .hero-inner { width: min(calc(100% - 28px), var(--max)); }
  h1 { font-size: clamp(2.7rem, 14vw, 4rem); }
  h2 { font-size: 2.35rem; }
  .hero { height: auto; min-height: calc(100svh - 72px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-copy { text-align: left; }
  .hero .lead { margin-left: 0; margin-right: 0; }
  .page-hero .hero-panel { display: none; }
  .system-figure { border-radius: 14px; }
  .offerings-grid { grid-template-columns: 1fr; }
  .offering-copy { padding: 26px; }
  .offering-visual { min-height: 84px; border-left: 0; border-top: 1px solid var(--line); }
  .capability-list, .steps, .process-list, .deliverables, .question-list, .form-grid, .audit-form { grid-template-columns: 1fr; }
  .capability { border-right: 0; border-bottom: 1px solid var(--line); }
  .capability:last-child { border-bottom: 0; }
  .resource-card { flex-direction: column; }
  .contact-panel { gap: 38px; padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .transformation-flow { grid-template-columns: 1fr; }
  .stats-intro, .stat-grid { grid-template-columns: 1fr; }
  .stats-intro { gap: 16px; }
  .stat-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
