/* ────────────────────────────────────────────────────────────────────────
   landing.css — web/landing-page presentation layer.

   styles.css remains the source of truth for the PDF export: the export
   clone drops the `site` class, so every rule here is scoped to `.doc.site`
   (or elements that live outside `.doc`) and never affects the PDF.
   ──────────────────────────────────────────────────────────────────────── */

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
}

/* ── Sticky progress bar (outside .doc, live page only) ─────────────── */
.site-progress {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline-soft);
}

.site-progress-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 20px;
}

.site-progress-label,
.site-progress-pts {
  font-size: 13px;
  font-weight: 400;
  color: var(--brand-dark);
  white-space: nowrap;
}

.site-progress-pts strong {
  font-weight: 700;
  color: var(--brand-blue);
}

.site-progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--hairline-soft);
  overflow: hidden;
}

.site-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-blue-deep));
  transition: width 0.25s ease;
}

.site-progress-cta {
  font-size: 13px;
  padding: 8px 16px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .site-progress-label { display: none; }
  .site-progress-inner { gap: 10px; padding: 8px 14px; }
}

/* ── Report hard gate ────────────────────────────────────────────────── */
.btn-generate.is-locked {
  background: linear-gradient(180deg, #b8bcc0 0%, #a2a7ac 100%);
  box-shadow: none;
  cursor: pointer;
}

.btn-generate.is-locked:hover {
  filter: none;
}

.doc.site .item.attention {
  animation: item-attention 1.8s ease;
}

@keyframes item-attention {
  0%, 60% {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(0, 111, 183, 0.18), 0 4px 16px rgba(0, 44, 76, 0.05);
  }
  100% {
    border-color: var(--hairline-soft);
    box-shadow: 0 4px 16px rgba(0, 44, 76, 0.05);
  }
}

/* ── Page shell: kill the paper look ─────────────────────────────────── */
.doc.site {
  display: block;
  width: 100%;
  padding: 0;
  gap: 0;
  background: #fff;
}

.doc.site .page {
  width: 100%;
  height: auto;
  min-height: 0;
  box-shadow: none;
  overflow: visible;
  display: block;
  margin: 0 !important;
  transform: none !important;
  border-bottom: none;
  padding: clamp(56px, 8vw, 104px) max(24px, calc((100% - 1040px) / 2));
}

/* Keep the floating Live Score card clear of the sticky progress bar. */
@media (min-width: 761px) and (max-width: 1499px) {
  .tracker {
    top: 64px;
  }
}

/* At desktop-rail widths, keep section backgrounds full-bleed and center
   the content column in the space left of the fixed rail. */
@media (min-width: 1500px) {
  .doc.site {
    margin-right: 0;
  }
  .doc.site .page {
    padding-left: max(24px, calc((100% - 1040px) / 2 - 195px));
    padding-right: max(24px, calc((100% - 1040px) / 2 + 195px));
  }
}

.doc.site .page-footer,
.doc.site .crumb,
.doc.site .crumb-row,
.doc.site .section-header .crumb {
  display: none !important;
}

/* ── Hero (cover) ────────────────────────────────────────────────────── */
.doc.site .page-cover {
  background:
    radial-gradient(1100px 520px at 85% -10%, var(--brand-blue-pale) 0%, rgba(232, 241, 249, 0) 60%),
    linear-gradient(180deg, #F4F8FC 0%, #fff 100%);
  text-align: center;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

/* Logo row is PDF-cover only; the live landing page opens straight into the
   hero (the sticky bar already anchors the page). */
.doc.site .cover-top {
  display: none;
}

.doc.site .cover-mid {
  max-width: 780px;
  margin: 0 auto;
}

.doc.site .cover-eyebrow {
  color: var(--brand-blue);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}

.doc.site .cover-32 {
  font-size: clamp(72px, 12vw, 128px);
  line-height: 0.9;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 0;
}

.doc.site .cover-title {
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.02;
  margin: 6px 0 0;
  color: var(--ink);
}

.doc.site .cover-rule {
  width: 64px;
  height: 4px;
  border-radius: 999px;
  background: var(--cta-accent);
  margin: 26px auto;
}

.doc.site .cover-desc {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.65;
  color: var(--brand-dark);
  max-width: 680px;
  margin: 0 auto;
}

.doc.site .cover-meta {
  display: none;
}

.doc.site .cover-bot {
  position: static;
  border-top: none;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: clamp(32px, 4vw, 48px);
}

.doc.site .cover-field {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 44, 76, 0.06);
  padding: 14px 20px;
  min-width: 240px;
  text-align: left;
}

.doc.site .cover-field label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.doc.site .cover-field input {
  border: none;
  border-bottom: 1px solid var(--hairline);
  background: transparent;
  width: 100%;
  font-size: 16px;
  padding: 4px 0;
  font-family: inherit;
  color: var(--ink);
}

.doc.site .cover-field input:focus {
  outline: none;
  border-bottom-color: var(--brand-blue);
}

/* Matches .desktop-cta-action ("Book a Discovery Call"). */
.doc.site .hero-skip-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-blue-deep) 100%);
  box-shadow: 0 10px 24px rgba(0, 111, 183, 0.22);
  cursor: pointer;
}

.doc.site .hero-skip-cta:hover {
  filter: brightness(0.96);
}

/* Live-page-only element; belt-and-suspenders in case the export host rule changes. */
.pdf-export-host .hero-skip-cta {
  display: none !important;
}

.doc.site .cover-tagline {
  position: static;
  margin-top: clamp(32px, 4vw, 48px);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--brand-light-blue);
  font-weight: 500;
}

/* ── Intro strip ─────────────────────────────────────────────────────── */
.doc.site .page-intro {
  padding-top: clamp(40px, 5vw, 64px);
  text-align: center;
}

.doc.site .intro-title {
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.08;
  max-width: 720px;
  margin: 0 auto 18px;
}

.doc.site .intro-lede {
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--brand-dark);
}

.doc.site .intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 900px;
  margin: 0 auto clamp(32px, 4vw, 48px);
  text-align: left;
}

.doc.site .intro-card {
  background: var(--paper-warm);
  border: 1px solid var(--hairline-soft);
  border-radius: 14px;
  padding: 18px 20px;
  display: block;
}

.doc.site .intro-card .dot-key {
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-bottom: 8px;
}

.doc.site .intro-card .light-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 6px;
}

.doc.site .intro-card .light-desc {
  display: block;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--brand-dark);
}

.doc.site .intro-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: left;
}

.doc.site .intro-pillar {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-top: 3px solid var(--brand-blue);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 18px rgba(0, 44, 76, 0.05);
}

.doc.site .intro-pillar .pill-num {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  font-weight: 500;
  margin-bottom: 8px;
}

.doc.site .intro-pillar .pill-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.doc.site .intro-pillar .pill-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.doc.site .intro-pillar .pill-sections {
  font-size: 12px;
  color: var(--muted);
  border-top: 1px solid var(--hairline-soft);
  padding-top: 10px;
}

@media (max-width: 920px) {
  .doc.site .intro-grid { grid-template-columns: 1fr; max-width: 560px; }
  .doc.site .intro-pillars { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .doc.site .intro-pillars { grid-template-columns: 1fr; }
}

/* ── Quiz sections ───────────────────────────────────────────────────── */
.doc.site #diagnostic-sections .page-section:nth-child(odd) {
  background: var(--paper-warm);
}

.doc.site .section-header {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.doc.site .section-top {
  display: block;
}

.doc.site .section-eyebrow {
  color: var(--brand-blue);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}

.doc.site .section-title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.04;
  margin-bottom: 10px;
}

.doc.site .section-subtitle {
  font-size: 17px;
  color: var(--brand-dark);
  margin-bottom: 12px;
}

.doc.site .section-pitch {
  font-size: 15px;
  font-style: italic;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}

.doc.site .score-key {
  justify-content: center;
  margin-top: 18px;
}

.doc.site .items {
  max-width: 860px;
  margin: 0 auto;
  display: block;
}

.doc.site .item {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 44, 76, 0.05);
  padding: clamp(20px, 3vw, 28px);
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(14px, 2.5vw, 24px);
  align-items: start;
}

.doc.site .item:last-child {
  margin-bottom: 0;
}

.doc.site .item-num {
  background: var(--brand-blue-pale);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 13px;
  border-radius: 10px;
  padding: 8px 10px;
  line-height: 1;
  white-space: nowrap;
}

.doc.site .item-title {
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 6px;
}

.doc.site .item-ask {
  font-size: 14.5px;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 12px;
}

.doc.site .criterion-row {
  font-size: 14.5px;
  padding: 8px 10px;
  border-radius: 10px;
  align-items: center;
  transition: background 0.15s ease;
}

.doc.site .criterion-row:hover {
  background: var(--brand-blue-pale);
}

.doc.site .tf-btn {
  font-size: 12px;
  padding: 6px 16px;
  min-width: 58px;
}

@media (max-width: 700px) {
  .doc.site .item {
    grid-template-columns: auto 1fr;
  }
  .doc.site .item-score {
    grid-column: 2;
    justify-content: flex-start;
  }
  .doc.site .criterion-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .doc.site .tf-btn {
    padding: 8px 20px;
  }
}

/* ── Summary ─────────────────────────────────────────────────────────── */
.doc.site .page-summary {
  background:
    radial-gradient(900px 420px at 10% 0%, var(--brand-blue-pale) 0%, rgba(232, 241, 249, 0) 55%),
    #fff;
}

.doc.site .summary-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.doc.site .summary-title {
  font-size: clamp(32px, 5vw, 48px);
}

.doc.site .summary-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  max-width: 920px;
  margin: 0 auto clamp(28px, 4vw, 40px);
}

.doc.site .score-display,
.doc.site .summary-counts {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(0, 44, 76, 0.06);
  padding: clamp(22px, 3vw, 32px);
}

.doc.site .summary-counts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}

.doc.site .summary-pillars {
  max-width: 920px;
  margin: 0 auto clamp(28px, 4vw, 40px);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.doc.site .pillar-block {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(0, 44, 76, 0.05);
}

.doc.site .summary-callout {
  max-width: 920px;
  margin: 0 auto clamp(20px, 3vw, 28px);
  background: var(--brand-blue-pale);
  border: 1px solid rgba(0, 111, 183, 0.18);
  border-radius: 16px;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  gap: 20px;
  align-items: center;
}

.doc.site .summary-plan-note {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 15px;
  color: var(--brand-dark);
}

@media (max-width: 820px) {
  .doc.site .summary-grid,
  .doc.site .summary-pillars {
    grid-template-columns: 1fr;
  }
}

/* ── CTA band ────────────────────────────────────────────────────────── */
.doc.site .page-cta {
  background: linear-gradient(150deg, var(--brand-blue-deep) 0%, var(--brand-blue) 62%, #1d84c8 100%);
}

.doc.site .cta-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
}

.doc.site .cta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 18px;
}

.doc.site .page-cta .m32-logo { width: 110px; }
.doc.site .page-cta .m32-logo path { fill: #fff !important; }

.doc.site .cta-head { text-align: center; }

.doc.site .cta-eyebrow {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 12px;
}

.doc.site .cta-title {
  color: #fff;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.05;
  margin-bottom: 16px;
}

.doc.site .cta-title .accent { color: #FFC49C; }

.doc.site .cta-lede {
  color: rgba(255, 255, 255, 0.92);
  font-size: 16.5px;
  line-height: 1.65;
  max-width: 680px;
  margin: 0 auto clamp(28px, 4vw, 40px);
}

.doc.site .cta-lede strong { color: #fff; }

.doc.site .cta-save-report {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 30, 54, 0.35);
  padding: clamp(24px, 3.5vw, 36px);
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.doc.site .cta-save-report-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--ink);
  margin: 6px 0 10px;
}

.doc.site .cta-save-report-copy {
  font-size: 15px;
  line-height: 1.6;
  color: var(--brand-dark);
  max-width: 560px;
  margin: 0 auto 18px;
}

.doc.site .cta-trust {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--muted);
}

.doc.site .cta-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.doc.site .cta-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 20px;
}

.doc.site .cta-step .step-num {
  color: #FFC49C;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
}

.doc.site .cta-step .step-title {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.doc.site .cta-step .step-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  line-height: 1.55;
}

.doc.site .cta-contact {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.doc.site .cta-contact .schedule-eyebrow {
  color: #FFC49C;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 6px;
}

.doc.site .cta-contact .schedule-title {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
}

.doc.site .cta-contact .contact-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.doc.site .cta-contact .item-label {
  display: block;
  color: #FFC49C;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.doc.site .cta-contact .m32-logo { display: none; }

.doc.site .cta-footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-top: clamp(24px, 3vw, 36px);
}

@media (max-width: 820px) {
  .doc.site .cta-steps { grid-template-columns: 1fr; }
  .doc.site .cta-contact { flex-direction: column; align-items: flex-start; }
}

/* ── Notes ───────────────────────────────────────────────────────────── */
.doc.site .page-notes {
  background: var(--paper-warm);
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.doc.site .notes-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 24px;
}

.doc.site .notes-title { font-size: clamp(26px, 4vw, 36px); }

.doc.site .notes-field {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 4px 16px rgba(0, 44, 76, 0.05);
}

/* ────────────────────────────────────────────────────────────────────────
   Report page (report.html)
   ──────────────────────────────────────────────────────────────────────── */

.report-body {
  background: #fff;
  color: var(--ink);
}

.report-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline-soft);
}

.report-topbar-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 20px;
}

.report-topbar .m32-logo { width: 104px; }

.report-topbar-cta {
  font-size: 13px;
  padding: 8px 16px;
}

.report-section {
  padding: clamp(48px, 7vw, 88px) max(24px, calc((100% - 1000px) / 2));
}

.report-state {
  text-align: center;
  padding: 120px 24px;
  color: var(--brand-dark);
  font-size: 17px;
}

.report-state h1 {
  font-size: 28px;
  margin-bottom: 10px;
  color: var(--ink);
}

.report-hero {
  background:
    radial-gradient(1000px 480px at 85% -10%, var(--brand-blue-pale) 0%, rgba(232, 241, 249, 0) 60%),
    linear-gradient(180deg, #F4F8FC 0%, #fff 100%);
  text-align: center;
}

.report-eyebrow {
  color: var(--brand-blue);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 14px;
}

.report-title {
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  margin-bottom: 10px;
}

.report-meta {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.report-score-card {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 20px;
  box-shadow: 0 10px 36px rgba(0, 44, 76, 0.09);
  padding: clamp(26px, 4vw, 40px) clamp(36px, 6vw, 64px);
}

.report-score-num {
  font-size: clamp(56px, 9vw, 88px);
  font-weight: 700;
  line-height: 1;
  color: var(--brand-blue);
}

.report-score-num .denom {
  font-size: 0.38em;
  color: var(--muted);
  font-weight: 300;
}

.report-band-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-top: 10px;
}

.report-interp {
  max-width: 680px;
  margin: clamp(22px, 3vw, 32px) auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--brand-dark);
  text-align: center;
}

.report-pdf-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--muted);
}

.report-section-head {
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 40px);
}

.report-section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
  margin-bottom: 8px;
}

.report-section-head p {
  color: var(--brand-dark);
  font-size: 15.5px;
  max-width: 640px;
  margin: 0 auto;
}

.report-buckets-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.report-bucket {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 4px 16px rgba(0, 44, 76, 0.05);
}

.report-bucket-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.report-bucket-head .name {
  font-size: 19px;
  font-weight: 700;
}

.report-bucket-head .pts {
  font-size: 14px;
  color: var(--brand-blue);
  font-weight: 700;
}

.report-bar-row {
  display: grid;
  grid-template-columns: 130px 1fr 44px;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--brand-dark);
}

.report-bar {
  height: 8px;
  background: var(--hairline-soft);
  border-radius: 999px;
  overflow: hidden;
}

.report-bar-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand-blue);
}

.report-bar-fill.is-green { background: var(--score-green); }
.report-bar-fill.is-yellow { background: var(--score-yellow); }
.report-bar-fill.is-red { background: var(--score-red); }

.report-bar-row .pct {
  text-align: right;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.report-callout {
  background: var(--brand-blue-pale);
  border: 1px solid rgba(0, 111, 183, 0.18);
  border-radius: 16px;
  padding: clamp(22px, 3vw, 30px);
  margin-top: 20px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--brand-dark);
}

.report-plan-section {
  background: var(--paper-warm);
}

.report-phase {
  max-width: 860px;
  margin: 0 auto clamp(24px, 3vw, 36px);
}

.report-phase-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.report-phase-head .label {
  font-size: 20px;
  font-weight: 700;
}

.report-phase-head .theme {
  font-size: 14px;
  color: var(--muted);
}

.report-project {
  background: #fff;
  border: 1px solid var(--hairline-soft);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
  box-shadow: 0 3px 12px rgba(0, 44, 76, 0.04);
}

.report-project-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.report-project-head .code {
  background: var(--brand-blue-pale);
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 12px;
  border-radius: 8px;
  padding: 4px 8px;
}

.report-project-head .title {
  font-size: 16px;
  font-weight: 700;
}

.report-severity {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  border-radius: 999px;
  padding: 3px 10px;
}

.report-severity-red { background: #FBEAE8; color: var(--score-red); }
.report-severity-yellow { background: #FCF3DF; color: #A8770B; }

.report-actions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.report-actions li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--brand-dark);
  margin-bottom: 6px;
}

.report-actions li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--brand-light-blue);
  border-radius: 4px;
}

.report-cta-section {
  background: linear-gradient(150deg, var(--brand-blue-deep) 0%, var(--brand-blue) 62%, #1d84c8 100%);
  text-align: center;
}

.report-cta-section h2 {
  color: #fff;
  font-size: clamp(28px, 4.5vw, 42px);
  line-height: 1.08;
  margin-bottom: 12px;
}

.report-cta-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 26px;
}

.report-cta-embed {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 16px 48px rgba(0, 30, 54, 0.35);
}

.report-contact {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
}

.report-contact .item-label {
  display: block;
  color: #FFC49C;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.report-footer {
  text-align: center;
  padding: 26px 20px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .report-buckets-grid { grid-template-columns: 1fr; }
  .report-bar-row { grid-template-columns: 96px 1fr 40px; }
}
