
:root {
  --brand-blue: #006FB7;
  --brand-blue-deep: #005A95;
  --brand-light-blue: #95BBE4;
  --brand-blue-pale: #E8F1F9;
  --brand-dark: #3F3F3E;
  --ink: #1A1A1A;
  --paper: #FFFFFF;
  --paper-warm: #FAFAF7;
  --hairline: #D9D9D6;
  --hairline-soft: #EDEDEA;
  --muted: #8A8A88;
  --cta-accent: #E8590C;
  --cta-accent-deep: #C74A08;
  --cta-accent-pale: #FFF1E8;
  --score-green: #2A9D55;
  --score-yellow: #E8A317;
  --score-red: #C2392B;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
.m32-logo { display: block; height: auto; width: 100%; max-width: 200px; }

html, body {
  font-family: 'Gotham', -apple-system, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: #E8E8E5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}

/* ── Page system ─────────────────────────────────────────────────────── */
.doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  gap: 32px;
}
.page {
  position: relative;
  width: 8.5in;
  height: 11in;
  background: var(--paper);
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 0.7in 0.75in;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Typography ───────────────────────────────────────────────────────── */
.eyebrow {
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.crumb {
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Cover ────────────────────────────────────────────────────────────── */
.page-cover {
  background: var(--paper);
  padding: 0.55in 0.75in 0.55in;
  position: relative;
}
.cover-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
}
.cover-top .m32-logo { width: 170px; height: auto; }
/* Hero logo is landing-page only; the paginated/PDF cover keeps .cover-top. */
.cover-logo { display: none; }
.cover-meta {
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.cover-mid {
  display: flex;
  flex-direction: column;
  padding: 0.4in 0 0;
}
.cover-eyebrow {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.cover-32 {
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  font-size: 240px;
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: var(--brand-blue);
  margin-bottom: 4px;
  margin-left: -8px;
}
.cover-title-xl {
  font-size: 84px;
  line-height: 0.94;
  margin-top: 18px;
}

.cover-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.cover-title .thin {
  font-weight: 300;
  color: var(--brand-dark);
}
.cover-rule {
  width: 64px;
  height: 3px;
  background: var(--brand-blue);
  margin: 14px 0 16px;
}
.cover-desc {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--brand-dark);
  max-width: 5.2in;
}
.cover-desc strong { font-weight: 500; color: var(--ink); }

.cover-bot {
  position: absolute;
  left: 0.75in;
  right: 0.75in;
  bottom: 0.55in;
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: end;
}
.cover-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cover-field label {
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.cover-field .field-line {
  border-bottom: 1px solid var(--ink);
  height: 22px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  padding: 0 2px;
}
.cover-field input {
  border: none;
  border-bottom: 1px solid var(--ink);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  padding: 2px 2px 4px;
  width: 100%;
  background: transparent;
  color: var(--ink);
  outline: none;
}
.cover-tagline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.2in;
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-blue);
  text-align: center;
}

/* ── How to use ──────────────────────────────────────────────────────── */
.page-intro .crumb-row {
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 24px;
}
.intro-title .accent { color: var(--brand-blue); }
.intro-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 18px;
}
.intro-lede {
  font-weight: 300;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--brand-dark);
  margin-bottom: 24px;
}
.intro-lede strong { font-weight: 500; color: var(--ink); }
.intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}
.intro-grid .intro-card:nth-child(1) { order: 3; }
.intro-grid .intro-card:nth-child(2) { order: 2; }
.intro-grid .intro-card:nth-child(3) { order: 1; }
.intro-card {
  border: 1px solid var(--hairline);
  border-top: 4px solid var(--brand-blue);
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.intro-card .dot-key { width: 14px; height: 14px; }
.intro-card .light-label {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
}
.intro-card .light-desc {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--brand-dark);
}
.intro-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 0;
}
.intro-pillar {
  background: var(--brand-blue-pale);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-left: 3px solid var(--brand-blue);
}
.intro-pillar .pill-num {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--brand-blue);
  text-transform: uppercase;
}
.intro-pillar .pill-title {
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-transform: uppercase;
}
.intro-pillar .pill-desc {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--brand-dark);
}
.intro-pillar .pill-sections {
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--brand-blue-deep);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── Pillar dividers ─────────────────────────────────────────────────── */
.page-divider {
  background: var(--brand-blue);
  color: white;
  padding: 0.7in 0.75in;
  position: relative;
  overflow: hidden;
}
.page-divider::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 90% 10%, rgba(255,255,255,0.08), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
}
.divider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1;
}
.divider-top .m32-logo { width: 90px; }
.divider-top .m32-logo path { fill: white !important; }
.divider-eyebrow {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
.divider-mid {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 0.25in 0;
  min-height: 0;
}
.divider-bignum {
  font-family: 'Gotham', sans-serif;
  font-weight: 700;
  font-size: 240px;
  line-height: 0.78;
  letter-spacing: -0.05em;
  color: rgba(255,255,255,0.18);
  margin-left: -10px;
  margin-bottom: -6px;
}
.divider-title {
  font-weight: 700;
  font-size: 58px;
  line-height: 0.92;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: white;
  margin-top: -4px;
  margin-bottom: 18px;
}
.divider-rule {
  width: 70px;
  height: 4px;
  background: white;
  margin: 10px 0 18px;
}
.divider-sections {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.92);
  text-transform: uppercase;
}
.divider-bot {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.25);
  padding-top: 16px;
}
.divider-desc {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.95);
  max-width: 5.2in;
}

/* ── Section pages ──────────────────────────────────────────────────── */
.page-section { padding: 0.55in 0.7in 0.45in; }
.section-header {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 14px;
}
.section-header .crumb {
  margin-bottom: 12px;
}
.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}
.section-eyebrow {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 6px;
}
.section-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-subtitle {
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-dark);
  margin-top: 4px;
}
.score-key {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: flex-end;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
  border-left: 1px solid var(--hairline);
  padding-left: 14px;
}
.score-key::before {
  content: "True or false — answer all three";
  display: block;
  margin-bottom: 5px;
  font-size: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.score-key .key { display: flex; align-items: center; gap: 6px; }
.score-key .key:nth-child(1) { order: 3; }
.score-key .key:nth-child(2) { order: 2; }
.score-key .key:nth-child(3) { order: 1; }
.dot-key {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
}
.dot-green-key { color: var(--score-green); background: var(--score-green); }
.dot-yellow-key { color: var(--score-yellow); background: var(--score-yellow); }
.dot-red-key { color: var(--score-red); background: var(--score-red); }

/* ── Item cards ─────────────────────────────────────────────────────── */
.items {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.item {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 14px;
  padding: 9px 0 10px;
  border-bottom: 1px solid var(--hairline-soft);
  align-items: start;
}
.item:last-child { border-bottom: none; }
.item-num {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--brand-blue);
  line-height: 1;
  padding-top: 2px;
}
.item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.item-title {
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 2px;
}
.item-criteria {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.item-criteria li {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.42;
  color: var(--brand-dark);
}
.criterion-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  padding: 3px 6px 3px 3px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.criterion-label:hover {
  background: rgba(0, 116, 186, 0.06);
  border-color: rgba(0, 116, 186, 0.18);
}
.criterion-none-option {
  margin-top: 3px;
  padding-top: 7px;
  border-top: 1px dashed var(--hairline-soft);
}
.criterion-label-none {
  color: var(--muted);
  font-style: italic;
}
.criterion-label-none:hover {
  background: rgba(194,57,43,0.05);
  border-color: rgba(194,57,43,0.16);
}
.criterion-checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  margin: 1px 0 0;
  border: 1px solid var(--brand-light-blue);
  border-radius: 3px;
  background: white;
  flex: 0 0 14px;
  position: relative;
  transition: all 0.15s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.45);
}
.criterion-checkbox:hover {
  border-color: var(--brand-blue);
}
.criterion-checkbox:checked {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}
.criterion-checkbox:checked::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 3px;
  height: 7px;
  border: solid white;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.criterion-text {
  display: block;
  flex: 1;
}

/* ── True/False criterion rows ──────────────────────────────────────── */
.criterion-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.42;
  color: var(--brand-dark);
  padding: 3px 0;
}
.criterion-row .criterion-text {
  flex: 1;
}
.tf-group {
  display: inline-flex;
  gap: 4px;
  flex-shrink: 0;
}
.tf-btn {
  font: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.15s ease;
}
.tf-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.tf-btn.selected.tf-yes {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}
.tf-btn.selected.tf-no {
  background: var(--score-red);
  border-color: var(--score-red);
  color: #fff;
}

.item-score {
  display: flex;
  flex-direction: row-reverse;
  gap: 8px;
  align-items: center;
  padding-top: 4px;
}
.dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline);
  background: transparent;
  cursor: default;
  padding: 0;
  transition: all 0.15s ease;
  position: relative;
  pointer-events: none;
}
.dot.selected.dot-green {
  background: var(--score-green);
  border-color: var(--score-green);
  box-shadow: 0 0 0 2px rgba(42,157,85,0.18);
}
.dot.selected.dot-yellow {
  background: var(--score-yellow);
  border-color: var(--score-yellow);
  box-shadow: 0 0 0 2px rgba(232,163,23,0.18);
}
.dot.selected.dot-red {
  background: var(--score-red);
  border-color: var(--score-red);
  box-shadow: 0 0 0 2px rgba(194,57,43,0.18);
}

/* Page footer */
.page-footer {
  position: absolute;
  bottom: 0.35in;
  left: 0.7in;
  right: 0.7in;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  border-top: 1px solid var(--hairline-soft);
  padding-top: 10px;
}
.footer-mark {}

/* ── Score summary ──────────────────────────────────────────────────── */
.page-summary { padding: 0.6in 0.75in; }
.summary-head {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 26px;
}
.summary-head .eyebrow { margin-bottom: 6px; }
.summary-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.summary-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
.score-display {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.score-bignum {
  font-weight: 700;
  font-size: 130px;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--brand-blue);
}
.score-bignum .denom {
  font-weight: 300;
  color: var(--brand-light-blue);
  font-size: 0.55em;
}
.score-bignum .score-pending {
  color: var(--brand-light-blue);
  font-weight: 300;
}
.score-label {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.score-interpretation {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--brand-dark);
  border-left: 2px solid var(--brand-blue);
  padding-left: 14px;
  margin-top: 4px;
}
.score-interpretation strong { font-weight: 500; color: var(--ink); }
.summary-counts {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.count-row {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--hairline);
}
.count-row .dot-key { width: 12px; height: 12px; }
.count-row .label {
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.count-row .value {
  font-weight: 700;
  font-size: 18px;
  color: var(--ink);
}
.summary-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 18px;
}
.pillar-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pillar-block-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 7px;
}
.pillar-block-head .name {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pillar-block-head .score {
  font-weight: 700;
  font-size: 12.5px;
  color: var(--brand-blue);
  white-space: nowrap;
  flex-shrink: 0;
  padding-left: 10px;
}
.section-bar-row {
  display: grid;
  grid-template-columns: 90px 1fr 36px;
  gap: 8px;
  align-items: center;
  font-size: 10px;
}
.section-bar-row .name {
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-dark);
}
.section-bar {
  height: 7px;
  background: var(--brand-blue-pale);
  position: relative;
  overflow: hidden;
}
.section-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--brand-blue);
  width: 0%;
  transition: width 0.4s ease;
}
.section-bar-row .pct {
  font-weight: 700;
  font-size: 10px;
  text-align: right;
  color: var(--ink);
}

.summary-callout {
  background: var(--brand-blue-pale);
  border-left: 3px solid var(--brand-blue);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}
.callout-num {
  font-weight: 700;
  font-size: 32px;
  color: var(--brand-blue);
  line-height: 1;
}
.callout-text {
  font-weight: 300;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--brand-dark);
}
.callout-text strong { font-weight: 700; color: var(--ink); }

/* ── Next steps ─────────────────────────────────────────────────────── */
.page-cta { padding: 0; background: var(--paper); position: relative; overflow: hidden; }
.cta-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.4in 0.75in 0;
}
.cta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 0.16in;
}
.cta-top .m32-logo { width: 110px; margin: -36px 0; }
.cta-head { margin-bottom: 0.13in; }
.cta-eyebrow {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 10px;
}
.cta-title {
  font-weight: 700;
  font-size: 46px;
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.cta-title .accent { color: var(--brand-blue); }
.cta-lede {
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--brand-dark);
  max-width: 5.5in;
}
.cta-lede strong { font-weight: 500; color: var(--ink); }
.cta-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.cta-step {
  border-top: 3px solid var(--brand-blue);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cta-step .step-num {
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--brand-blue);
  text-transform: uppercase;
}
.cta-step .step-title {
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.cta-step .step-desc {
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--brand-dark);
}
.cta-contact {
  margin-top: auto;
  background: var(--brand-blue);
  color: white;
  padding: 18px 30px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
}
.cta-contact .schedule-eyebrow {
  font-weight: 700;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 5px;
}
.cta-contact .schedule-title {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.cta-contact .contact-row {
  display: flex;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.cta-contact .contact-row .item-label {
  display: block;
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 3px;
}
.cta-contact .m32-logo { width: 130px; margin: -42px 0; }
.cta-contact .m32-logo path { fill: white !important; }
.cta-save-report {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  margin: 0 0 28px;
  padding: 22px 28px 20px;
  border: 1px solid rgba(232, 89, 12, 0.35);
  border-top: 6px solid var(--cta-accent);
  border-radius: 16px;
  background: linear-gradient(135deg, #FFF6EF 0%, #FFEADB 100%);
  box-shadow: 0 10px 28px rgba(232, 89, 12, 0.12);
}
.cta-save-report .schedule-eyebrow {
  color: var(--cta-accent);
}
.cta-save-report-title {
  margin-top: 4px;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
}
.cta-save-report-copy {
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--brand-dark);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.cta-save-report-button {
  margin-top: 16px;
  min-width: 340px;
}
.cta-trust-hero {
  justify-content: center;
  margin-top: 12px;
}
.cta-footer {
  text-align: center;
  padding: 12px;
  border-top: 1px solid var(--hairline-soft);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--brand-blue);
  background: white;
}

/* ── Notes page ───────────────────────────────────────────────────────── */
.page-notes {
  background: linear-gradient(180deg, #ffffff 0%, var(--paper-warm) 100%);
}
.notes-head {
  margin-top: 0.55in;
  max-width: 5.7in;
}
.notes-title {
  margin-top: 10px;
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.notes-copy {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--brand-dark);
}
.notes-field {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  margin-top: 0.38in;
}
.notes-label {
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
#diagnostic-notes,
.pdf-notes-content {
  width: 100%;
  min-height: 5.8in;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: white;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  padding: 18px;
}
#diagnostic-notes {
  resize: vertical;
}
#diagnostic-notes:focus {
  outline: 2px solid rgba(0, 111, 183, 0.22);
  border-color: var(--brand-blue);
}
.pdf-notes-content {
  white-space: pre-wrap;
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

/* Fixed report layout used only by html2pdf. This prevents responsive/screen
   centering from being captured into the emailed PDF. */
.pdf-export-host {
  position: fixed;
  left: 0;
  top: 0;
  width: 8.5in;
  background: white;
  z-index: -1;
  pointer-events: none;
}
.pdf-export-host .doc {
  display: block !important;
  width: 8.5in !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  align-items: stretch !important;
}
.pdf-export-host .page {
  width: 8.5in !important;
  height: 11in !important;
  min-height: 11in !important;
  margin: 0 !important;
  transform: none !important;
  box-shadow: none !important;
  overflow: hidden !important;
  page-break-after: always;
  break-after: page;
}
.pdf-export-host .page:last-child {
  page-break-after: auto;
  break-after: auto;
}
.pdf-export-host .desktop-rail,
.pdf-export-host .desktop-cta,
.pdf-export-host .tracker,
.pdf-export-host .modal-backdrop,
.pdf-export-host [data-html2canvas-ignore="true"] {
  display: none !important;
}
.pdf-export-host .item {
  padding-top: 9px;
  padding-bottom: 9px;
}
.pdf-export-host .item-criteria {
  gap: 2px;
}
.pdf-export-host .criterion-label {
  padding-top: 2px;
  padding-bottom: 2px;
}
.pdf-export-host .criterion-none-option {
  display: none !important;
}
.pdf-export-host .item-criteria li {
  font-size: 12px;
  line-height: 1.32;
}
.pdf-export-host .criterion-row {
  font-size: 12px;
  line-height: 1.32;
  padding: 2px 0;
}
.pdf-export-host .tf-btn {
  font-size: 9px;
  padding: 2px 9px;
}
.pdf-export-host .page-cta {
  overflow: hidden !important;
}
.pdf-export-host .cta-inner {
  padding-top: 0.34in;
}
.pdf-export-host .cta-top {
  margin-bottom: 0.13in;
  padding-bottom: 10px;
}
.pdf-export-host .cta-head {
  margin-bottom: 0.12in;
}
.pdf-export-host .cta-title {
  font-size: 36px;
  margin-bottom: 8px;
}
.pdf-export-host .cta-lede {
  font-size: 12.5px;
  line-height: 1.35;
}
.pdf-export-host .cta-save-report {
  display: none !important;
}
.pdf-export-host .cta-steps {
  gap: 12px;
  margin-bottom: 10px;
}
.pdf-export-host .cta-step {
  padding-top: 7px;
  gap: 3px;
}
.pdf-export-host .cta-step .step-title {
  font-size: 12px;
}
.pdf-export-host .cta-step .step-desc {
  font-size: 10.5px;
  line-height: 1.25;
}
.pdf-export-host .cta-contact {
  margin-top: 0;
  padding-top: 12px;
  padding-bottom: 12px;
}
.pdf-export-host .cta-contact .schedule-title {
  font-size: 17px;
  margin-bottom: 8px;
}
.pdf-export-host .cta-contact .contact-row {
  font-size: 12px;
}
.pdf-export-host .cta-footer {
  padding: 8px;
}
.pdf-export-host * {
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

.desktop-rail {
  display: block;
}

.desktop-cta {
  display: none;
}

.desktop-cta-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfbf8 100%);
  border: 1px solid var(--hairline);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  padding: 18px 18px 16px;
  position: relative;
}

.desktop-cta-card::before,
.modal-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-light-blue) 100%);
}

.desktop-cta-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.desktop-cta-eyebrow,
.modal-eyebrow {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 10px;
}

.desktop-cta-title,
.modal-title {
  font-size: 25px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.desktop-cta-copy,
.modal-copy {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.55;
  color: #4a4a48;
}

.desktop-cta-points {
  margin: 16px 0 14px;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink);
}

.desktop-cta-brand {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline-soft);
}

.desktop-cta-action {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 111, 183, 0.22);
}

.desktop-cta-action:hover {
  filter: brightness(0.96);
}

.desktop-cta-note {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 25, 34, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 220;
}

.modal-backdrop[hidden] {
  display: none !important;
}

.modal-panel {
  position: relative;
  isolation: isolate;
  width: min(100%, 560px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcf9 100%);
  border: 1px solid rgba(63,63,62,0.12);
  border-radius: 20px;
  padding: 26px 26px 24px;
  box-shadow: 0 22px 54px rgba(12, 18, 28, 0.2);
}

.modal-panel-wide {
  width: min(100%, 1100px);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 30;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(12, 18, 28, 0.14);
}

.modal-practice {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f3f7fb;
  color: var(--brand-blue-deep);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(0, 111, 183, 0.12);
}

.modal-form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

.form-field {
  display: grid;
  gap: 6px;
}

.form-field label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}

.form-field input {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 12px;
  background: #fffefa;
  padding: 12px 14px;
  font: inherit;
  color: var(--ink);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.modal-status {
  min-height: 20px;
  font-size: 13px;
  line-height: 1.4;
  color: #4a4a48;
}

.modal-status.is-error {
  color: var(--score-red);
}

.modal-status.is-success {
  color: var(--score-green);
}

.discovery-modal-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
  gap: 30px;
  align-items: start;
  padding: 34px 42px 34px 34px;
}

.discovery-modal-copy-wrap {
  grid-column: 1;
  padding: 4px 0 0;
}

.discovery-modal-copy-wrap .modal-eyebrow {
  font-size: 13px;
  letter-spacing: 0.16em;
}

.discovery-modal-copy-wrap .desktop-cta-brand {
  font-size: 13px;
  letter-spacing: 0.12em;
}

.discovery-points {
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 1.5;
}

.discovery-modal-embed {
  grid-column: 2;
  position: relative;
  z-index: 1;
  min-height: 640px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--hairline-soft);
  background: var(--paper-warm);
}

.discovery-modal-embed iframe {
  position: relative;
  z-index: 1;
}

/* ── Floating score tracker (screen only) ───────────────────────────── */
.tracker {
  position: fixed;
  top: 16px;
  right: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfbf9 100%);
  border: 1px solid var(--hairline);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 100;
  font-size: 11px;
  min-width: 200px;
}
.tracker-title {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-blue);
}
.tracker-score {
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tracker-score .denom {
  font-weight: 300;
  color: var(--muted);
  font-size: 0.55em;
}
.tracker-counts {
  display: flex;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
}
.tracker-counts span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tracker-counts .dot-key { width: 8px; height: 8px; }
.tracker-count-label {
  color: var(--muted);
  font-weight: 400;
}
.tracker-actions {
  display: flex;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--hairline-soft);
}
.tracker-btn {
  flex: 1;
  font-family: inherit;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 10px;
  border: 1px solid var(--brand-blue);
  background: white;
  color: var(--brand-blue);
  cursor: pointer;
  line-height: 1.15;
}
.tracker-btn:hover { background: var(--brand-blue); color: white; }
.tracker-btn.primary { background: var(--brand-blue); color: white; }
.tracker-btn.primary:hover { background: var(--brand-blue-deep); }
.mobile-book-call { display: none; }


@media (min-width: 1500px) {
  .doc {
    margin-right: 390px;
  }

  .desktop-rail {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: fixed;
    top: 50%;
    right: max(48px, calc((100vw - 1146px) / 4));
    transform: translateY(-50%);
    width: 360px;
    max-height: calc(100vh - 96px);
    overflow: auto;
    z-index: 95;
  }

  .desktop-cta {
    display: block;
  }

  .tracker {
    position: static;
    top: auto;
    right: auto;
    min-width: 0;
    z-index: auto;
  }
}

@media (max-width: 960px) {
  .cta-save-report {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-save-report-button {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal-panel,
  .modal-panel-wide {
    width: 100%;
    max-height: calc(100vh - 24px);
    padding: 22px 18px;
  }

  .modal-actions {
    flex-direction: column;
  }

  .discovery-modal-panel {
    grid-template-columns: 1fr;
  }

  .discovery-modal-embed {
    min-height: 560px;
  }
}

/* ── Print ──────────────────────────────────────────────────────────── */
@page {
  size: letter;
  margin: 0;
}
@media print {
  body { background: white; margin: 0; padding: 0; }
  .doc { padding: 0; gap: 0; margin: 0; display: block; }
  .page {
    box-shadow: none;
    page-break-after: always;
    break-after: page;
    page-break-inside: avoid;
    break-inside: avoid;
    margin: 0;
    height: 10.99in;
    width: 8.5in;
    overflow: hidden;
  }
  .page:last-child { page-break-after: auto; break-after: auto; }
  .tracker { display: none !important; }
  .desktop-cta,
  .modal-backdrop { display: none !important; }
  * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
}

/* Small screens — show a hint */
@media (max-width: 920px) {
  .doc { padding: 10px; gap: 10px; }
  .page {
    transform-origin: top center;
    transform: scale(calc(100vw / 870));
    margin-bottom: calc((11in * (calc(100vw / 870))) - 11in);
  }
}

/* ── Mobile app layout ──────────────────────────────────────────────── */
@media (max-width: 760px) {
  html, body {
    background: #f2f2ef;
    overflow-x: hidden;
  }

  .doc {
    display: block;
    width: 100%;
    padding: 0 0 140px;
    gap: 0;
  }

  .page {
    width: 100%;
    min-height: 0;
    height: auto;
    transform: none !important;
    margin: 0 0 14px !important;
    padding: 24px 20px 108px;
    overflow: visible;
    box-shadow: none;
    border-bottom: 1px solid var(--hairline);
  }

  .page-cover,
  .page-intro,
  .page-divider,
  .page-section,
  .page-summary,
  .page-cta {
    padding: 24px 20px 108px;
  }

  .cover-top,
  .divider-top,
  .cta-top,
  .page-intro .crumb-row {
    gap: 14px;
  }

  .divider-top .m32-logo,
  .cta-top .m32-logo {
    width: 96px;
  }

  .cover-top .m32-logo {
    width: 140px;
  }

  .cover-mid {
    padding-top: 18px;
  }

  .cover-32,
  .divider-bignum {
    font-size: clamp(72px, 24vw, 108px);
    margin-left: -4px;
  }

  .cover-title-xl {
    font-size: clamp(40px, 11vw, 64px);
  }

  .cover-title,
  .intro-title,
  .divider-title,
  .section-title,
  .summary-title,
  .cta-title {
    font-size: clamp(34px, 10vw, 44px);
    line-height: 0.98;
  }

  .cover-desc,
  .intro-lede,
  .divider-desc,
  .score-interpretation,
  .cta-lede,
  .modal-copy,
  .desktop-cta-copy {
    font-size: 16px;
    line-height: 1.58;
    max-width: none;
  }

  .cover-bot {
    position: static;
    margin-top: 20px;
    padding-top: 14px;
    grid-template-columns: 1fr;
  }

  .cover-field label,
  .cover-meta,
  .crumb,
  .eyebrow,
  .section-eyebrow,
  .divider-eyebrow,
  .cta-eyebrow {
    font-size: 10.5px;
    letter-spacing: 0.14em;
  }

  .cover-field input {
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 16px;
    background: #fffefa;
  }

  .cover-tagline,
  .page-footer {
    position: static;
    margin-top: 22px;
  }

  .intro-grid,
  .intro-pillars,
  .summary-grid,
  .summary-pillars,
  .cta-steps,
  .cta-contact {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    gap: 12px;
  }

  .intro-card,
  .intro-pillar,
  .cta-step,
  .summary-callout {
    border-radius: 14px;
  }

  .section-top {
    display: block;
  }

  .score-key {
    align-items: flex-start;
    border-left: 0;
    border-top: 1px solid var(--hairline);
    margin-top: 14px;
    padding: 12px 0 0;
    font-size: 11px;
  }

  .items {
    gap: 14px;
  }

  .item {
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--hairline);
  }

  .item-title {
    font-size: 17px;
    line-height: 1.25;
  }

  .item-criteria {
    gap: 8px;
  }

  .item-criteria li {
    font-size: 15px;
    line-height: 1.45;
  }

  .criterion-label {
    padding: 8px 8px 8px 4px;
    min-height: 42px;
  }

  .criterion-label:hover {
    transform: none;
  }

  .criterion-checkbox {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    margin-top: 2px;
  }

  .criterion-checkbox:checked::after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border-width: 0 2px 2px 0;
  }

  .item-score {
    grid-column: 2;
    justify-content: flex-start;
    padding-top: 2px;
  }

  .dot {
    width: 20px;
    height: 20px;
  }

  .score-bignum {
    font-size: clamp(68px, 22vw, 96px);
  }

  .count-row,
  .section-bar-row {
    font-size: 12px;
  }

  .section-bar-row {
    grid-template-columns: 100px 1fr 42px;
  }

  .callout-text {
    font-size: 15px;
  }

  .cta-inner {
    padding: 0;
  }


  .cta-contact {
    gap: 18px;
    padding: 22px 20px;
  }

  .cta-contact .contact-row {
    flex-direction: column;
    gap: 12px;
  }

  .cta-contact .m32-logo {
    width: 110px;
  }

  .desktop-rail {
    position: static;
    z-index: 120;
    display: block;
  }

  .tracker {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: auto;
    width: auto;
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px 10px;
    align-items: center;
    padding: 8px 9px;
    border-radius: 16px;
    box-shadow: 0 12px 34px rgba(16,24,40,0.22);
  }

  .tracker-title {
    grid-column: 1;
    font-size: 7.5px;
    margin-bottom: -3px;
  }

  .tracker-score {
    grid-column: 1;
    font-size: 21px;
  }

  .tracker-counts {
    display: none;
  }

  .tracker-actions {
    grid-column: 2;
    grid-row: 1 / 3;
    gap: 5px;
    padding-top: 0;
    border-top: 0;
  }

  .tracker-btn {
    font-size: 9px;
    padding: 10px 8px;
    border-radius: 999px;
    letter-spacing: 0.06em;
  }

  .mobile-book-call {
    display: block;
  }

  .desktop-cta {
    display: none;
  }

  .modal-backdrop {
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: max(10px, env(safe-area-inset-top)) 10px max(110px, env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }

  .modal-panel,
  .modal-panel-wide,
  .discovery-modal-panel {
    width: 100%;
    max-height: calc(100dvh - 120px);
    padding: 24px 18px;
    border-radius: 18px;
  }

  .discovery-modal-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .discovery-modal-copy-wrap,
  .discovery-modal-embed {
    grid-column: auto;
  }

  .discovery-modal-embed {
    min-height: min(560px, 70dvh);
  }

  .discovery-modal-embed iframe {
    min-height: min(560px, 70dvh);
  }

  .cta-footer {
    letter-spacing: 0.1em;
    font-size: 9px;
  }

  .modal-close {
    top: 10px;
    right: 10px;
  }
}


:focus-visible {
  outline: 2px solid var(--brand-light-blue, #6aa6d9);
  outline-offset: 2px;
}

.tracker-btn.confirming {
  background: #fff2f2;
  border-color: #d67272;
  color: #9f1d1d;
}

/* ── 12-point discovery additions ────────────────────────────────────── */
.item-ask {
  font-weight: 300;
  font-style: italic;
  font-size: 12px;
  line-height: 1.45;
  color: var(--brand-blue-deep);
  margin: 0 0 4px;
}
.section-pitch {
  font-weight: 300;
  font-style: italic;
  font-size: 12px;
  line-height: 1.4;
  color: var(--brand-dark);
  margin-top: 6px;
}

/* ── 90-day plan (PDF-only pages) ────────────────────────────────────── */
.plan-intro {
  font-weight: 300;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--brand-dark);
  margin: 0 0 14px;
}
.plan-projects {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.plan-project {
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--brand-blue);
  padding: 12px 14px 12px;
}
.plan-project-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.plan-code {
  font-weight: 700;
  font-size: 17px;
  color: var(--brand-blue);
  line-height: 1.1;
}
.plan-project-headbody {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.plan-project-title {
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1.3;
  color: var(--ink);
}
.plan-project-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-severity {
  font-weight: 700;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.plan-severity-red { color: #C0392B; }
.plan-severity-yellow { color: #B7791F; }
.plan-bucket {
  font-weight: 500;
  font-size: 8.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-actions {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.plan-actions li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 300;
  font-size: 12px;
  line-height: 1.45;
  color: var(--brand-dark);
}
.plan-checkbox {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  margin-top: 2px;
  border: 1.5px solid var(--brand-blue);
  border-radius: 3px;
  background: var(--paper);
}

/* ── Report-generation messaging ─────────────────────────────────────── */
.summary-plan-note {
  font-weight: 300;
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--brand-dark);
  border-top: 1px solid var(--hairline-soft);
  margin-top: 14px;
  padding-top: 10px;
}
.modal-plan-note {
  font-weight: 300;
  font-size: 12px;
  line-height: 1.45;
  color: var(--brand-dark);
  margin: 8px 0 0;
}
.modal-plan-note.is-warning {
  color: #B7791F;
  font-weight: 500;
}


/* ── Generate CTA + tracker menu ─────────────────────────────────────── */
.btn-generate {
  font-family: inherit;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #F2661A 0%, var(--cta-accent) 100%);
  border: none;
  border-radius: 12px;
  padding: 15px 24px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(232, 89, 12, 0.35);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-generate:hover {
  background: var(--cta-accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(232, 89, 12, 0.42);
}
.btn-generate:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}
.tracker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.tracker-menu-wrap {
  position: relative;
}
.tracker-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tracker-menu-btn:hover,
.tracker-menu-btn[aria-expanded="true"] {
  background: var(--brand-blue-pale);
  color: var(--brand-blue);
}
.tracker-menu {
  position: absolute;
  top: 28px;
  right: 0;
  min-width: 150px;
  background: white;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.14);
  padding: 5px;
  z-index: 110;
}
.tracker-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  font-family: inherit;
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-dark);
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 8px 10px;
  cursor: pointer;
}
.tracker-menu-item:hover {
  background: var(--brand-blue-pale);
  color: var(--brand-blue);
}
.tracker-menu-item.confirming {
  color: var(--score-red);
}
.tracker-generate {
  width: 100%;
  padding: 12px 14px;
  font-size: 11px;
  border-radius: 10px;
}
@media (max-width: 760px) {
  .tracker-generate {
    font-size: 9.5px;
    padding: 10px 8px;
    border-radius: 999px;
    letter-spacing: 0.05em;
  }
}

/* ── Mid-width screens: content column + a side tracker don't both fit,
   so dock the tracker as a bottom bar instead of overlapping content ── */
@media (min-width: 761px) and (max-width: 1499px) {
  .doc {
    padding-bottom: 130px;
  }

  .tracker {
    top: auto;
    right: auto;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    width: min(720px, calc(100vw - 28px));
    min-width: 0;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 14px 36px rgba(16, 24, 40, 0.2);
  }

  .tracker-score {
    font-size: 22px;
    white-space: nowrap;
  }

  .tracker-counts {
    flex: none;
  }

  .tracker-actions {
    flex: 1;
    justify-content: flex-end;
    padding-top: 0;
    border-top: 0;
  }

  .tracker-generate {
    width: auto;
    flex: 1;
    max-width: 300px;
    white-space: nowrap;
  }

  /* The bar is tight — the gate note ("Answer X more questions")
     doesn't fit; the button label already carries the message. */
  .tracker .gate-note {
    display: none;
  }

  .tracker-btn.mobile-book-call {
    flex: 0 0 auto;
  }

  .mobile-book-call {
    display: block;
  }

  .scroll-to-cta {
    bottom: 90px;
  }
}

@media (min-width: 761px) and (max-width: 1023px) {
  .tracker-counts .tracker-count-label {
    display: none;
  }
}

/* Bottom-docked tracker (mobile + mid-width): open the gear menu upward
   so it isn't clipped off the bottom of the screen */
@media (max-width: 1499px) {
  .tracker-menu {
    top: auto;
    bottom: 30px;
  }
}

/* ── CTA trust badges ────────────────────────────────────────────────── */
.cta-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 14px 0 0;
  padding: 0;
}
.cta-trust li {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--brand-dark);
}
.cta-trust li::before {
  content: '';
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: var(--cta-accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='M22 4 12 14.01l-3-3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpath d='M22 4 12 14.01l-3-3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.cta-trust-modal {
  justify-content: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--hairline-soft);
}
.cta-trust-modal li {
  font-size: 11px;
}

/* ── Post-generation call offer (send-report modal success state) ────── */
.modal-success-cta {
  margin-top: 14px;
  padding: 16px 18px;
  background: var(--brand-blue-pale);
  border: 1px solid rgba(0, 111, 183, 0.22);
  border-left: 4px solid var(--brand-blue);
  border-radius: 12px;
}
.modal-success-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.modal-success-copy {
  margin: 6px 0 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--brand-dark);
}
.modal-success-btn {
  width: 100%;
  border-radius: 10px;
  padding: 11px 14px;
}

/* html2canvas renders negative logo margins incorrectly — restore in PDF
   export, where the CTA page has room to spare */
.pdf-export-host .cta-top .m32-logo,
.pdf-export-host .cta-contact .m32-logo {
  margin: 0;
}


/* ── Desktop scroll-to-CTA indicator ─────────────────────────────────── */
.scroll-to-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(180deg, #F2661A 0%, var(--cta-accent) 100%);
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(232, 89, 12, 0.4);
  z-index: 90;
  opacity: 1;
  transition: opacity 0.25s ease, transform 0.15s ease;
}
.scroll-to-cta:hover {
  background: var(--cta-accent-deep);
  transform: translateX(-50%) translateY(-2px);
}
.scroll-to-cta svg {
  animation: scroll-cta-bob 1.6s ease-in-out infinite;
}
@keyframes scroll-cta-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.scroll-to-cta.is-hidden {
  opacity: 0;
  pointer-events: none;
}
@media (min-width: 761px) {
  .scroll-to-cta { display: flex; }
}
@media print {
  .scroll-to-cta { display: none !important; }
}
