/* =====================================================
   RevOps Health Index™ — Brand Theme
   Colors: #602e9e (Purple) + #d68e45 (Orange)
===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --purple:        #602e9e;
  --purple-dark:   #4a2178;
  --purple-deep:   #2d1b4e;
  --purple-light:  #f8f5fc;
  --purple-mid:    #e8dcf5;
  --orange:        #d68e45;
  --orange-dark:   #b8722e;
  --orange-light:  #fef8f3;
  --orange-mid:    #fde8cb;
  --text-dark:     #2d1b4e;
  --text-muted:    #5d4a7a;
  --text-light:    #8b78a8;
  --white:         #ffffff;
  --border:        rgba(96,46,158,0.15);
  --border-strong: rgba(96,46,158,0.3);

  --grad-main:     linear-gradient(135deg, #602e9e 0%, #d68e45 100%);
  --grad-reverse:  linear-gradient(135deg, #d68e45 0%, #602e9e 100%);
  --grad-bg:       linear-gradient(150deg, #f8f5fc 0%, #fff8f3 50%, #f5f0fb 100%);
  --grad-card:     linear-gradient(145deg, #ffffff 0%, #fdf9ff 100%);
  --grad-dark:     linear-gradient(135deg, #2d1b4e 0%, #4a2178 100%);

  --card-shadow:   0 4px 20px rgba(96,46,158,0.10);
  --card-shadow-hover: 0 8px 32px rgba(96,46,158,0.18);

  --radius:    16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.22,1,0.36,1);
  --font-head: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--grad-bg);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* =====================================================
   SCREENS
===================================================== */
.screen { display: none; min-height: 100vh; }
.screen.active { display: flex; }

/* =====================================================
   BUTTONS
===================================================== */
.btn-primary {
  display: block;
  width: 100%;
  padding: 18px 32px;
  background: linear-gradient(90deg,
    #6e2d8e 0%, #8a3ea7 15%, #a24c8d 30%,
    #b85e6b 50%, #d07554 70%, #e88d4e 85%, #f5a458 100%);
  background-size: 200% 100%;
  color: #fff;
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(107,45,143,0.35);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  text-align: center;
  position: relative;
  transform: skewX(-10deg);
  overflow: hidden;
  animation: gradientShift 3s ease infinite;
}
.btn-primary span {
  display: inline-block;
  transform: skewX(10deg);
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(45deg,
    transparent 30%,
    rgba(255,255,255,0.28) 50%,
    transparent 70%);
  animation: btnShine 3s infinite;
  transform: rotate(45deg);
  pointer-events: none;
}
@keyframes btnShine {
  0%        { left: -100%; }
  50%, 100% { left: 150%; }
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 0; height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  transform: translate(-50%,-50%);
  transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover {
  transform: skewX(-10deg) translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(107,45,143,0.45);
  filter: brightness(1.05);
  animation: btnPulse 1.5s infinite;
}
@keyframes btnPulse {
  0%,100% { box-shadow: 0 12px 32px rgba(107,45,143,0.45); }
  50%      { box-shadow: 0 12px 40px rgba(245,164,88,0.55); }
}
.btn-primary:hover::after {
  width: 300px; height: 300px; opacity: 0;
}
.btn-primary:active {
  transform: skewX(-10deg) translateY(0);
  box-shadow: 0 5px 18px rgba(107,45,143,0.35);
}

.btn-ghost {
  display: block;
  width: 100%;
  padding: 15px 28px;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}
.btn-ghost:hover {
  background: var(--purple-light);
  border-color: var(--purple);
  color: var(--purple);
}

.error-msg {
  font-family: var(--font-body);
  font-size: 13px;
  color: #dc2626;
  font-weight: 500;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* =====================================================
   INTRO SCREEN
===================================================== */
#intro-screen {
  position: relative;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #faf9fc 0%, #f8f5fc 100%);
}

.intro-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(96,46,158,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(96,46,158,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: float 8s ease-in-out infinite;
}
.orb-1 { width:500px; height:500px; background:#602e9e; top:-150px; right:-100px; animation-delay:0s; }
.orb-2 { width:350px; height:350px; background:#d68e45; bottom:-100px; left:-80px; animation-delay:3s; }
.orb-3 { width:250px; height:250px; background:#9b5fd4; top:40%; left:30%; animation-delay:5s; }

@keyframes float {
  0%,100% { transform:translateY(0) scale(1); }
  50%      { transform:translateY(-30px) scale(1.05); }
}

.intro-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  width: 90%;
  text-align: center;
  padding: 60px 0;
}

.badge {
  display: inline-block;
  background: rgba(96,46,158,0.08);
  border: 1px solid rgba(96,46,158,0.2);
  color: var(--purple);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  text-transform: uppercase;
}

.intro-title {
  font-family: var(--font-head);
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  color: var(--text-dark);
}
.intro-title .accent {
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.intro-subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 32px;
}

.intro-pillars {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}
.intro-pillars span {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  background: rgba(96,46,158,0.06);
  border: 1px solid rgba(96,46,158,0.15);
  padding: 5px 12px;
  border-radius: 100px;
}

.intro-note {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-light);
}

/* =====================================================
   CONTACT SCREEN
===================================================== */
#contact-screen {
  background: var(--grad-bg);
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  min-height: 100vh;
  overflow-y: auto;
}

.form-shell {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  width: 100%;
  max-width: 600px;
  box-shadow: var(--card-shadow);
}

.form-header { margin-bottom: 32px; }
.step-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.form-header h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-dark);
}
.form-subhead {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  line-height: 1.5;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-group label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.field-group input,
.field-group textarea {
  background: var(--purple-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
.field-group textarea {
  resize: vertical;
  min-height: 80px;
}
.field-group input::placeholder,
.field-group textarea::placeholder { color: var(--text-light); }
.field-group input:focus,
.field-group textarea:focus {
  border-color: var(--purple);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(96,46,158,0.1);
}

/*
.phone-wrap {
  display: flex;
  align-items: center;
  background: var(--purple-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition);
}
.phone-wrap:focus-within {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(96,46,158,0.1);
}
.phone-prefix {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--purple);
  padding: 13px 12px 13px 16px;
  border: none;
  border-right: 1.5px solid var(--border);
  background: var(--purple-mid);
  flex-shrink: 0;
  outline: none;
  cursor: pointer;
}
.phone-wrap input {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 13px 14px;
  flex: 1;
  min-width: 0;
}
.phone-wrap input:focus {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}
*/

.revenue-options {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 10px;
  margin-top: 4px;
}
.rev-option { cursor: pointer; }
.rev-option input[type="radio"] { display: none; }
.rev-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--purple-light);
  transition: all 0.2s ease;
  position: relative;
  text-align: center;
}
.rev-option:hover .rev-box {
  border-color: var(--purple);
  background: var(--purple-mid);
}
.rev-option input:checked ~ .rev-box {
  border-color: var(--purple);
  background: linear-gradient(135deg,rgba(96,46,158,0.08),rgba(214,142,69,0.06));
  box-shadow: 0 0 0 3px rgba(96,46,158,0.12);
}
.rev-icon { font-size: 22px; line-height: 1; }
.rev-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}
.rev-check {
  position: absolute;
  top: 8px; right: 10px;
  font-size: 13px;
  color: var(--purple);
  opacity: 0;
  transition: opacity 0.2s;
}
.rev-option input:checked ~ .rev-box .rev-check { opacity: 1; }

/* =====================================================
   ASSESSMENT SCREEN
===================================================== */
#assessment-screen {
  background: var(--grad-bg);
  align-items: flex-start;
  justify-content: center;
  padding: 0;
}

.assess-shell {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.assess-top {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 36px;
}

.logo-mark {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--grad-main);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.progress-wrap { flex: 1; }
.progress-track {
  height: 6px;
  background: var(--purple-mid);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 6px;
}
.progress-fill {
  height: 100%;
  background: var(--grad-main);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.22,1,0.36,1);
  width: 0%;
}
.progress-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-title-wrap { margin-bottom: 28px; }
.pillar-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
  color: #fff;
  background: var(--grad-main);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(22px,4vw,30px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-dark);
}

.questions-list { display: flex; flex-direction: column; gap: 16px; }

.question-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition);
}
.question-card:focus-within {
  border-color: var(--purple);
  box-shadow: 0 4px 20px rgba(96,46,158,0.12);
}

.question-text {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--text-dark);
  margin-bottom: 18px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.q-num {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--grad-main);
  padding: 3px 8px;
  border-radius: 100px;
  flex-shrink: 0;
  margin-top: 3px;
}

.options-list { display: flex; flex-direction: column; gap: 8px; }

.option-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.2s ease;
  background: var(--purple-light);
}
.option-label:hover {
  border-color: var(--purple);
  background: var(--purple-mid);
}
.option-label input[type="radio"] { display: none; }
.option-label:has(input:checked) {
  border-color: var(--purple);
  background: linear-gradient(135deg,rgba(96,46,158,0.08),rgba(214,142,69,0.05));
  box-shadow: 0 0 0 3px rgba(96,46,158,0.1);
}

.radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}
.option-label:has(input:checked) .radio-dot {
  border-color: var(--purple);
  background: var(--grad-main);
  box-shadow: 0 0 0 3px rgba(96,46,158,0.15);
}
.radio-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.2s;
}
.option-label:has(input:checked) .radio-dot::after { opacity: 1; }

.option-text {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.45;
}

.nav-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.nav-buttons .btn-ghost { flex: 0 0 auto; width: auto; min-width: 120px; }
.nav-buttons .btn-primary { flex: 1; }

/* =====================================================
   RESULTS SCREEN
===================================================== */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(14px); }
  to   { opacity:1; transform:translateY(0); }
}

#results-screen {
  background: var(--grad-bg);
  align-items: flex-start;
  justify-content: center;
  padding: 36px 20px 80px;
  overflow-y: auto;
}
.results-shell {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid rgba(96,46,158,0.15);
}
.res-logo-wrap {
  display: flex;
  align-items: center;
}
.brand-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.res-report-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.res-report-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 40px;
}

/* Score Hero Card */
.score-hero {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, #0e0e1c 0%, #1a1030 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  margin-bottom: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.04);
  flex-wrap: wrap;
}

/* ── UPDATED: score-display-wrap now stacks vertically ── */
.score-display-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.score-ring-wrap {
  position: relative;
  width: 320px;
  height: 320px;
  flex-shrink: 0;
}
#score-canvas {
  position: absolute;
  inset: 0;
  width: 320px;
  height: 320px;
}
.score-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
}
.score-label-top {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.20em;
  color: rgba(255,255,255,0.30);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.circle-score {
  font-family: var(--font-head);
  font-size: 80px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #4ade80;
  transition: color 0.5s ease, text-shadow 0.5s ease;
  text-shadow: 0 0 24px currentColor, 0 0 48px currentColor;
}
.circle-outof {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── UPDATED: score-engage now sits below ring, not inside it ── */
.score-engage {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4ade80;
  margin-top: 14px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(74,222,128,0.12);
  border: 1px solid rgba(74,222,128,0.20);
  transition: color 0.5s ease, background 0.5s ease, border-color 0.5s ease;
  white-space: nowrap;
  text-align: center;
}

/* Tier Block */
.tier-block { flex:1; min-width:220px; }
.tier-eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.tier-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.tier-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tier-name {
  font-family: var(--font-head);
  font-size: clamp(18px,2.4vw,26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.tier-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  line-height: 1.65;
  margin-bottom: 22px;
}

.tier-chaos        { color: #ff6b6b; }
.tier-transitional { color: #fb923c; }
.tier-execution    { color: #facc15; }
.tier-scalable     { color: #4ade80; }
.tier-capital      { color: #c084fc; }

/* Phase Strip */
.phase-strip { width:100%; }
.phase-bar {
  display: flex;
  height: 10px;
  border-radius: 100px;
  overflow: hidden;
  gap: 2px;
}
.phase-seg        { flex:1; border-radius:3px; }
.phase-red        { background:linear-gradient(90deg,#991b1b,#ef4444); }
.phase-orange     { background:linear-gradient(90deg,#9a3412,#f97316); }
.phase-yellow     { background:linear-gradient(90deg,#854d0e,#eab308); }
.phase-green      { background:linear-gradient(90deg,#14532d,#22c55e); }
.phase-purple     { background:linear-gradient(90deg,#4c1d95,#7c3aed); }
.phase-pin-row { position:relative; height:12px; margin-top:3px; }
.phase-pin {
  position: absolute;
  top: 0; left: 0%;
  width: 3px; height: 12px;
  background: #fff;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: left 1.6s cubic-bezier(0.22,1,0.36,1);
  box-shadow: 0 0 6px rgba(255,255,255,0.6);
}
.phase-nums {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 10px;
  color: rgba(255,255,255,0.30);
  margin-top: 3px;
}
.phase-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  margin-top: 4px;
}

/* Section Title */
.section-title-bar {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 14px;
}
.sec-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}
.sec-sub {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-light);
}

.section-title-bar.next-title-bar {
  margin-top: 8px;
  margin-bottom: 0;
}
.next-title-bar .sec-title {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

/* Horizontal Bar Chart */
.hbar-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 28px 20px;
  margin-bottom: 16px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}
.hbar-row {
  display: grid;
  grid-template-columns: 180px 1fr 56px;
  align-items: center;
  gap: 0 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(96,46,158,0.06);
  animation: fadeUp 0.45s cubic-bezier(0.22,1,0.36,1) both;
}
.hbar-row:last-child { border-bottom:none; }

.hbar-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: right;
  padding-right: 14px;
  line-height: 1.35;
}

.hbar-track {
  position: relative;
  height: 28px;
  background: var(--purple-light);
  border-radius: 6px;
  overflow: hidden;
}
.hbar-track::after {
  content:'';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    transparent 0%,
    transparent calc(25% - 0.5px),
    rgba(96,46,158,0.08) calc(25% - 0.5px),
    rgba(96,46,158,0.08) 25%
  );
  pointer-events: none;
  z-index: 1;
}
.hbar-fill {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  transition: width 1.5s cubic-bezier(0.22,1,0.36,1);
  position: relative;
  z-index: 2;
  min-width: 3px;
}
.hbar-fill::before {
  content:'';
  position: absolute;
  top:0; left:0; right:0;
  height: 50%;
  background: linear-gradient(180deg,rgba(255,255,255,0.3),transparent);
  border-radius: 6px 6px 0 0;
}
.hbar-score {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: left;
  white-space: nowrap;
  padding-left: 2px;
}
.hbar-xaxis-row {
  display: grid;
  grid-template-columns: 180px 1fr 56px;
  gap: 0 12px;
  padding-top: 8px;
  border-top: 1px solid rgba(96,46,158,0.06);
  margin-top: 4px;
}
.hbar-xticks {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}
.hbar-xtick {
  font-family: var(--font-body);
  font-size: 10px;
  color: var(--text-light);
}

.hbar-critical  { background: linear-gradient(90deg,#991b1b,#ef4444); }
.hbar-needs     { background: linear-gradient(90deg,#9a3412,#f97316); }
.hbar-good      { background: linear-gradient(90deg,#854d0e,#eab308); }
.hbar-optimized { background: var(--grad-main); }

.bar-legend {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin: 4px 0 26px;
}
.bl-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}
.bl-dot { width:9px; height:9px; border-radius:3px; flex-shrink:0; }

.results-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
  align-items: stretch;
  justify-content: flex-end;
}
.btn-action-outline {
  flex: 0 0 auto;
  min-width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 2px solid var(--border-strong);
  background: #fff;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  transform: skewX(-6deg);
}
.btn-action-outline span, .btn-action-outline .btn-icon {
  display: inline-block;
  transform: skewX(6deg);
}
.btn-book:hover {
  border-color: var(--purple);
  background: var(--purple-light);
  color: var(--purple);
  box-shadow: 0 6px 20px rgba(96,46,158,0.15);
  transform: skewX(-6deg) translateY(-2px);
}
.btn-pdf:hover {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange-dark);
  box-shadow: 0 6px 20px rgba(214,142,69,0.2);
  transform: skewX(-6deg) translateY(-2px);
}
.btn-action-outline:active { transform: skewX(-6deg) translateY(0); }

.btn-action-outline:disabled,
.btn-action-outline[disabled] {
  opacity: 0.38;
  cursor: not-allowed;
  filter: grayscale(0.6);
  transform: skewX(-6deg) !important;
  box-shadow: none !important;
  border-color: var(--border) !important;
  background: #f5f5f5 !important;
  color: var(--text-light) !important;
  pointer-events: none;
}
.btn-book-disabled-note {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-light);
  text-align: center;
  margin-top: -4px;
  font-style: italic;
}
.submit-status {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--purple);
  min-height: 20px;
}
.score-number { font-family:var(--font-head); }

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width:768px) {
  .form-shell { padding:32px 24px; }
  .field-row { grid-template-columns:1fr; }
  .revenue-options { grid-template-columns:repeat(3,1fr); }
  .assess-shell { padding:28px 16px 60px; }
  .score-hero { gap:24px; padding:28px 24px; flex-direction:column; align-items:center; }
  .score-ring-wrap { width:280px; height:280px; }
  #score-canvas { width:280px!important; height:280px!important; }
  .circle-score { font-size:68px; }
  .tier-block { width:100%; }
  .hbar-row         { grid-template-columns:130px 1fr 48px; gap:0 8px; }
  .hbar-xaxis-row   { grid-template-columns:130px 1fr 48px; gap:0 8px; }
  .hbar-label       { font-size:12px; padding-right:10px; }
  .results-actions .btn-primary { max-width:100%; }
}

@media (max-width:500px) {
  #contact-screen   { padding:24px 14px 40px; }
  .form-shell       { padding:28px 18px; border-radius:var(--radius); }
  .form-header h2   { font-size:22px; }
  .field-row        { grid-template-columns:1fr; }
  .revenue-options  { grid-template-columns:1fr; }
  .rev-box          { flex-direction:row; justify-content:flex-start; gap:12px; padding:14px 16px; }
  #results-screen   { padding:20px 12px 60px; }
  .score-hero       { flex-direction:column; align-items:center; padding:20px 16px; gap:16px; }
  .score-ring-wrap { width:260px; height:260px; }
  #score-canvas { width:260px!important; height:260px!important; }
  .circle-score { font-size:62px; }
  .tier-name        { font-size:18px; }
  .tier-desc        { font-size:12px; margin-bottom:16px; }
  .hbar-wrap        { padding:16px 12px 14px; }
  .hbar-row         { grid-template-columns:100px 1fr 44px; gap:0 6px; padding:7px 0; }
  .hbar-xaxis-row   { grid-template-columns:100px 1fr 44px; gap:0 6px; }
  .hbar-label       { font-size:11px; padding-right:8px; }
  .hbar-track       { height:22px; }
  .hbar-score       { font-size:12px; }
  .hbar-xtick       { font-size:9px; }
  .phase-labels     { display:none; }
  .results-actions .btn-primary { max-width:100%; }
  .nav-buttons      { flex-direction:column; }
  .nav-buttons .btn-ghost { width:100%; }
}

/* =====================================================
   FIELD VALIDATION
===================================================== */
.field-group.has-error input,
.field-group.has-error textarea {
/* .field-group.has-error .phone-wrap */
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.15) !important;
}
.field-error-msg {
  display: none;
  color: #ef4444;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  margin-top: 4px;
  padding-left: 2px;
  animation: fadeUp 0.2s ease;
}
.field-group.has-error .field-error-msg { display: block; }
.revenue-error-msg {
  display: none;
  color: #ef4444;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  margin-top: 6px;
  padding-left: 2px;
}
.revenue-error-msg.show { display: block; }
.revenue-options.has-error .rev-box {
  border-color: rgba(239,68,68,0.5) !important;
}

/* =====================================================
   RESULTS ENRICHMENT SECTIONS
===================================================== */
.res-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.res-reveal.res-visible {
  opacity: 1;
  transform: none;
}

.pillar-interp-text {
  grid-column: 2 / 3;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 6px 0 4px 0;
  border-top: 1px solid rgba(96,46,158,0.06);
  margin-top: 2px;
}

/* SCORE MEANING CARD */
.score-meaning-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--purple);
  padding: 24px 28px;
  margin-top: 16px;
  border-radius: var(--radius);
}
.smc-eyebrow {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.smc-eyebrow::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--purple);
  flex-shrink: 0;
}
.smc-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.smc-body {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* GENERIC RESULT CARD */
.res-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 16px;
  box-shadow: var(--card-shadow);
}
.res-card-eyebrow {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.res-card-eyebrow::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--orange);
  flex-shrink: 0;
}
.res-card-title {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* BOTTLENECK ITEMS */
.bottleneck-item {
  padding: 18px 20px;
  background: var(--light-purple);
  border-left: 3px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 12px;
}
.bottleneck-item:last-child { margin-bottom: 0; }
.bt-rank {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 5px;
}
.bt-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.bt-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 8px;
}
.bt-cost {
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b8962a;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* 30-DAY FIX BOX */
.fix-box {
  background: linear-gradient(135deg, #1a0e2e 0%, #0e0e1c 100%);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.fix-eyebrow {
  font-family: var(--font-head);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fix-eyebrow::before {
  content: '';
  width: 18px; height: 1.5px;
  background: var(--orange);
  flex-shrink: 0;
}
.fix-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #f5f0ff;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
}
.fix-action {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* WHAT TO DO NEXT */
.next-steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.next-step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.next-step-item:last-child { border-bottom: none; padding-bottom: 0; }
.nsi-num {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  color: var(--purple);
  width: 24px;
  flex-shrink: 0;
  padding-top: 2px;
  letter-spacing: 0.04em;
}
.nsi-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}
.nsi-text strong {
  color: var(--text-dark);
  font-weight: 600;
}

/* CTA BLOCK */
.cta-block {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  margin-top: 16px;
  text-align: center;
  box-shadow: var(--card-shadow);
}
.cta-headline {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
  line-height: 1.2;
}
.cta-body {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 22px;
  line-height: 1.65;
}
.cta-delivers {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto 28px;
  text-align: left;
}
.cta-deliver-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.cta-deliver-item::before {
  content: '→';
  color: var(--purple);
  font-family: var(--font-head);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.cta-book-btn {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  display: flex;
  padding: 18px 24px;
  font-size: 14px;
  background: var(--grad-main);
  color: #fff;
  border: none;
  border-radius: 10px;
  transform: none;
  box-shadow: 0 6px 24px rgba(96,46,158,0.3);
}
.cta-book-btn:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(96,46,158,0.4);
}
.cta-book-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: #ccc;
}
.cta-note {
  font-family: var(--font-head);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 12px;
}

@media (max-width: 600px) {
  .res-card { padding: 22px 18px; }
  .fix-box  { padding: 22px 18px; }
  .cta-block { padding: 28px 20px; }
  .bottleneck-item { padding: 16px; }
}

/* SVG print circle hidden on screen */
.score-display-print { display: none; }

/* =====================================================
   PRINT / PDF
===================================================== */
@media print {
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    box-sizing: border-box !important;
    animation: none !important;
    transition: none !important;
  }

  @page {
    size: A4 portrait;
    margin: 0.5cm 0.7cm;
  }

  html, body {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    background: #ede8f7 !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Arial, sans-serif !important;
  }

  #intro-screen,
  #contact-screen,
  #assessment-screen,
  .results-actions,
  #submit-status,
  .submit-status,
  #book-disabled-note,
  .score-display-screen,
  .section-title-bar,
  .bar-legend { display: none !important; }

  #results-screen {
    display: block !important;
    padding: 0 !important;
    background: #ede8f7 !important;
    position: static !important;
    overflow: visible !important;
    min-height: unset !important;
    height: auto !important;
  }

  .results-shell {
    max-width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
  }

  .results-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 0 7px 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 2.5px solid #602e9e !important;
  }
  .res-report-label {
    display: flex !important;
    align-items: center !important;
  }
  .res-report-title {
    font-size: 14px !important;
    font-weight: 900 !important;
    color: #602e9e !important;
    background: none !important;
    -webkit-text-fill-color: #602e9e !important;
    letter-spacing: -0.02em !important;
    font-family: Arial, sans-serif !important;
    line-height: 34px !important;
  }
  .res-logo-wrap { display: flex !important; align-items: center !important; }
  .brand-logo    { height: 34px !important; width: auto !important; display: block !important; }

  .score-hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0 !important;
    padding: 14px 24px 12px !important;
    margin-bottom: 0 !important;
    background: #0e0e1c !important;
    border-radius: 10px !important;
    box-shadow: none !important;
    border: 1px solid rgba(255,255,255,0.08) !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .score-display-print {
    display: flex !important;
    position: relative !important;
    width: 172px !important;
    height: 172px !important;
    flex-shrink: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
  }
  #print-score-svg {
    position: absolute !important;
    inset: 0 !important;
    width: 172px !important;
    height: 172px !important;
  }
  .print-score-center {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .print-score-label {
    font-size: 6.5px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    color: rgba(255,255,255,0.28) !important;
    text-transform: uppercase !important;
    font-family: Arial, sans-serif !important;
    margin-bottom: 1px !important;
  }
  .print-score-num {
    font-size: 54px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.04em !important;
    font-family: Arial, sans-serif !important;
    margin-bottom: 1px !important;
  }
  .print-score-outof {
    font-size: 7.5px !important;
    color: rgba(255,255,255,0.3) !important;
    font-weight: 600 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    font-family: Arial, sans-serif !important;
  }
  .print-score-tier {
    font-size: 7px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    margin-top: 6px !important;
    padding: 2px 9px !important;
    border-radius: 20px !important;
    font-family: Arial, sans-serif !important;
  }

  .tier-block {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 8px !important;
  }
  .tier-eyebrow {
    font-size: 6.5px !important;
    letter-spacing: 0.22em !important;
    color: rgba(255,255,255,0.28) !important;
    text-transform: uppercase !important;
    font-family: Arial, sans-serif !important;
    margin-bottom: 3px !important;
  }
  .tier-badge-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    margin-bottom: 5px !important;
  }
  .tier-dot  { width: 9px !important; height: 9px !important; border-radius: 50% !important; }
  .tier-name { font-size: 20px !important; line-height: 1.1 !important; font-weight: 800 !important; }
  .tier-desc {
    font-size: 9px !important;
    line-height: 1.5 !important;
    color: rgba(255,255,255,0.55) !important;
    max-width: 430px !important;
    margin: 0 auto 10px !important;
    font-family: Arial, sans-serif !important;
  }

  .phase-strip { width: 100% !important; }
  .phase-bar {
    display: flex !important;
    height: 6px !important;
    border-radius: 3px !important;
    overflow: hidden !important;
    gap: 2px !important;
  }
  .phase-seg  { flex: 1 !important; border-radius: 0 !important; }
  .phase-pin-row { position: relative !important; height: 8px !important; }
  .phase-pin  { position: absolute !important; width: 2px !important; height: 8px !important; top: 0 !important; transform: translateX(-50%) !important; }
  .phase-nums { display: flex !important; justify-content: space-between !important; font-size: 7px !important; margin-top: 1px !important; color: rgba(255,255,255,0.28) !important; font-family: Arial, sans-serif !important; }
  .phase-labels { display: flex !important; justify-content: space-between !important; font-size: 6.5px !important; margin-top: 1px !important; font-family: Arial, sans-serif !important; }

  .phase-red    { background: #ff6b6b !important; }
  .phase-orange { background: #fb923c !important; }
  .phase-yellow { background: #facc15 !important; }
  .phase-green  { background: #4ade80 !important; }
  .phase-purple { background: #c084fc !important; }

  .hbar-wrap {
    display: flex !important;
    flex-direction: column !important;
    padding: 10px 14px 8px !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    border: 1.5px solid #d8cff0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
  .hbar-wrap::before {
    content: "Pillar Breakdown  ·  scored out of 20" !important;
    display: block !important;
    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #2d1b4e !important;
    margin-bottom: 8px !important;
    padding-bottom: 6px !important;
    border-bottom: 1.5px solid #ebe4f8 !important;
    letter-spacing: -0.01em !important;
  }
  .hbar-row {
    display: grid !important;
    grid-template-columns: 150px 1fr 44px !important;
    align-items: center !important;
    gap: 0 10px !important;
    padding: 4.5px 0 !important;
    min-height: unset !important;
    border-bottom: 1px solid rgba(96,46,158,0.07) !important;
    animation: none !important;
  }
  .hbar-row:last-child { border-bottom: none !important; }
  .hbar-label {
    font-size: 8.5px !important;
    font-weight: 700 !important;
    color: #2d1b4e !important;
    padding-right: 8px !important;
    text-align: right !important;
    font-family: Arial, sans-serif !important;
    line-height: 1.3 !important;
  }
  .hbar-track {
    height: 13px !important;
    background: #f0ebfa !important;
    border-radius: 5px !important;
    overflow: hidden !important;
    position: relative !important;
  }
  .hbar-track::after { display: none !important; }
  .hbar-fill {
    height: 13px !important;
    border-radius: 5px !important;
    -webkit-print-color-adjust: exact !important;
    position: absolute !important;
    left: 0 !important; top: 0 !important;
  }
  .hbar-fill::before { display: none !important; }
  .hbar-score {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    padding-left: 2px !important;
    font-family: Arial, sans-serif !important;
  }
  .hbar-xaxis-row {
    display: grid !important;
    grid-template-columns: 150px 1fr 44px !important;
    gap: 0 10px !important;
    padding-top: 4px !important;
    border-top: 1px solid rgba(96,46,158,0.06) !important;
    margin-top: 2px !important;
  }
  .hbar-xtick { font-size: 7px !important; color: #9d8aaa !important; font-family: Arial, sans-serif !important; }

  .hbar-critical  { background: #ef4444 !important; }
  .hbar-needs     { background: #f97316 !important; }
  .hbar-good      { background: #eab308 !important; }
  .hbar-optimized { background: #602e9e !important; }

  .results-shell::after {
    content: "Generated by XcelleratorsHub  ·  RevOps Health Index  ·  Confidential" !important;
    display: block !important;
    text-align: center !important;
    font-family: Arial, sans-serif !important;
    font-size: 7px !important;
    color: #a896c8 !important;
    padding-top: 6px !important;
    border-top: 1px solid #d8cff0 !important;
    letter-spacing: 0.06em !important;
  }

  * { page-break-inside: avoid !important; break-inside: avoid !important; }
}

/* =====================================================
   FORM NOTE
===================================================== */
.form-note {
  font-size: 13px;
  color: #6b7280;
  margin-top: 10px;
  margin-bottom: 12px;
  line-height: 1.5;
  text-align: center;
}

/* =====================================================
   PILLAR CTA BANNER
===================================================== */
.pillar-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #f8f5fc, #fef8f3);
  border: 1.5px solid rgba(96, 46, 158, 0.2);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}
.pillar-cta-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a24c8d;
  margin: 0 0 4px;
}
.pillar-cta-body {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
  margin: 0;
}
.pillar-cta-btn {
  background: linear-gradient(90deg, #6e2d8e, #d07554);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.pillar-cta-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

@media (max-width: 500px) {
  .pillar-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .pillar-cta-btn {
    width: 100%;
    text-align: center;
  }
}
