/* ==========================================================================
   Wetpaint Brand Mastery Assessment
   Premium UI refresh
   ========================================================================== */

/* ==========================================================================
   Hard reset
   ========================================================================== */
html,
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
}

body.bma-page {
  margin: 0 !important;
  padding: 0 !important;
}

html body.bma-page {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.bma-page .e-page-transition,
.bma-page #page,
.bma-page .site,
.bma-page main,
.bma-page .content-area {
  margin: 0 !important;
  padding: 0 !important;
}

/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
  --bma-primary: #c0001a;
  --bma-primary-dark: #960014;
  --bma-primary-soft: rgba(192, 0, 26, 0.08);

  --bma-black: #111315;
  --bma-black-soft: #171a1e;
  --bma-ink: #17181b;
  --bma-text: #2b3038;
  --bma-text-soft: #697180;
  --bma-text-faint: #98a1af;

  --bma-white: #ffffff;
  --bma-bg: #f5f6f8;
  --bma-surface: #ffffff;
  --bma-surface-alt: #fafbfc;
  --bma-border: #e6e9ee;
  --bma-border-strong: #d8dee7;

  --bma-success-bg: #edf8f1;
  --bma-success-text: #157347;
  --bma-info-bg: #eef4ff;
  --bma-info-text: #1d4ed8;
  --bma-warn-bg: #fff7e8;
  --bma-warn-text: #a86a00;
  --bma-danger-bg: #fff0f0;
  --bma-danger-text: #b42318;

  --bma-font: "Arimo", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;

  --bma-radius-xs: 8px;
  --bma-radius-sm: 12px;
  --bma-radius-md: 16px;
  --bma-radius-lg: 20px;
  --bma-radius-xl: 28px;
  --bma-radius-pill: 9999px;

  --bma-shadow-sm: 0 2px 8px rgba(16, 24, 40, 0.04);
  --bma-shadow-md: 0 10px 30px rgba(17, 19, 21, 0.08);
  --bma-shadow-lg: 0 18px 48px rgba(17, 19, 21, 0.14);

  --bma-transition: 160ms ease;
}

/* ==========================================================================
   Base
   ========================================================================== */
.bma-page * {
  box-sizing: border-box;
}

.bma-page {
  margin: 0;
  padding: 0;
  font-family: var(--bma-font);
  background: var(--bma-bg);
  color: var(--bma-text);
}

.bma-page .site-header,
.bma-page .site-footer,
.bma-page header.elementor-section,
.bma-page footer.elementor-section {
  display: none !important;
}

/* ==========================================================================
   App shell
   ========================================================================== */
.bma-shell {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
  background: var(--bma-bg);
}

.bma-sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow-y: auto;
  background:
    radial-gradient(circle at top left, rgba(192, 0, 26, 0.18), transparent 28%),
    linear-gradient(180deg, #131518 0%, #0f1113 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.bma-sidebar-inner {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: 1.6rem 1.35rem 1.35rem;
}

.bma-brand-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ff3a48;
}

.bma-side-content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex: 1;
}

.bma-side-title {
  margin: 0;
  font-size: clamp(1.65rem, 2.8vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 800;
  color: #fff;
  max-width: 12ch;
}

.bma-side-cards {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bma-side-card {
  padding: 0.95rem 1rem;
  border-radius: var(--bma-radius-md);
  background: linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.028));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

.bma-side-card strong {
  display: block;
  margin-bottom: 0.28rem;
  font-size: 0.8rem;
  color: #fff;
  font-weight: 700;
}

.bma-side-card p {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.64);
}

/* ==========================================================================
   Sidebar score states
   ========================================================================== */
.bma-side-score,
.bma-side-results {
  display: flex;
  flex-direction: column;
}

.bma-side-score {
  gap: 1rem;
  align-items: center;
  padding-top: 0.35rem;
}

.bma-score-ring {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: conic-gradient(#e8edf3 360deg, #e8edf3 360deg);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04);
}

.bma-score-ring::after {
  content: "";
  position: absolute;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: #111315;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}

.bma-score-ring-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.bma-score-number {
  display: block;
  font-size: 2.15rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
}

.bma-score-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.68);
}

.bma-section-dots {
  display: flex;
  gap: 0.42rem;
  flex-wrap: wrap;
  justify-content: center;
  min-height: 12px;
}

.bma-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  transition: background var(--bma-transition), transform var(--bma-transition);
}

.bma-dot.bma-dot-complete {
  background: var(--bma-primary);
  transform: scale(1.05);
}

.bma-side-comment {
  width: 100%;
  margin: 0.25rem 0 0;
  padding-left: 0.8rem;
  border-left: 2px solid var(--bma-primary);
  font-size: 0.76rem;
  line-height: 1.6;
  font-style: italic;
  color: rgba(255,255,255,0.64);
}

.bma-side-results {
  gap: 1rem;
  flex: 1;
}

.bma-side-score-large {
  font-size: 3.4rem;
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: #fff;
}

.bma-side-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
}

.bma-side-section-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.bma-side-section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
}

.bma-side-section-title {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.78);
}

.bma-side-section-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bma-side-section-score {
  font-size: 0.76rem;
  font-weight: 700;
  color: #fff;
}

.bma-side-footer {
  margin-top: auto;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.28);
}

/* Sidebar actions */
.bma-side-action-menu {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.45rem;
}

.bma-side-action-menu .bma-btn-primary,
.bma-side-action-menu .bma-btn-ghost {
  width: 100%;
}

.bma-side-action-menu .bma-btn-primary {
  box-shadow: none;
}

/* ==========================================================================
   Main panel
   ========================================================================== */
.bma-main {
  height: 100dvh;
  overflow-y: auto;
  background:
    radial-gradient(circle at top right, rgba(192,0,26,0.035), transparent 24%),
    var(--bma-bg);
}

.bma-form-col {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.5rem 2.2rem;
  max-width: 1220px;
  margin: 0 auto;
  width: 100%;
}

/* ==========================================================================
   Top nav
   ========================================================================== */
.bma-topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  gap: 1rem;
}

.bma-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  border: none;
  background: transparent;
  color: var(--bma-primary);
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: color var(--bma-transition), opacity var(--bma-transition);
}

.bma-back-btn:hover {
  color: var(--bma-primary-dark);
  opacity: 0.92;
}

.bma-back-arrow {
  font-size: 1rem;
  line-height: 1;
}

.bma-home-link {
  text-decoration: none;
  font-size: 0.78rem;
  color: var(--bma-text-soft);
  transition: color var(--bma-transition);
}

.bma-home-link:hover {
  color: var(--bma-ink);
}

/* ==========================================================================
   Intro screens
   ========================================================================== */
.bma-intro-screen {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bma-intro-inner {
  width: 100%;
  max-width: 760px;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.bma-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bma-primary);
}

.bma-intro-title {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.4rem);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.065em;
  color: #3e4045;
  max-width: 12ch;
}

.bma-intro-sub {
  margin: 0;
  max-width: 58ch;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--bma-text-soft);
}

.bma-intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.77rem;
  color: var(--bma-text-soft);
  font-weight: 600;
}

.bma-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--bma-text-faint);
}

.bma-intro-disclaimer {
  margin: 0;
  font-size: 0.76rem;
  color: var(--bma-text-faint);
}

/* ==========================================================================
   Form layout
   ========================================================================== */
.bma-form-screen {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.bma-form-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 1rem;
}

.bma-step-area {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

/* Progress */
.bma-progress-shell {
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.bma-progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.76rem;
  color: var(--bma-text-soft);
}

.bma-progress-track {
  height: 8px;
  border-radius: var(--bma-radius-pill);
  background: #e8edf3;
  overflow: hidden;
}

.bma-progress-bar {
  height: 100%;
  border-radius: var(--bma-radius-pill);
  background: linear-gradient(90deg, var(--bma-primary), #ff7b73);
  transition: width 260ms ease;
}

.bma-milestone {
  min-height: 1rem;
  margin: 0.12rem 0 0;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--bma-primary);
}

/* Cards */
.bma-step-block,
.bma-result-box,
.bma-section-insight-card,
.bma-email-panel {
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  border: 1px solid var(--bma-border);
  border-radius: var(--bma-radius-lg);
  box-shadow: var(--bma-shadow-sm);
}

.bma-step-block {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bma-section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.bma-step-title {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--bma-ink);
}

.bma-step-desc {
  margin: 0.28rem 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--bma-text-soft);
}

.bma-weight-chip {
  white-space: nowrap;
  padding: 0.38rem 0.72rem;
  border-radius: var(--bma-radius-pill);
  border: 1px solid rgba(192,0,26,0.18);
  background: rgba(192,0,26,0.05);
  color: var(--bma-primary);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Fields */
.bma-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bma-field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.bma-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bma-ink);
}

.bma-input,
.bma-select,
.bma-textarea {
  width: 100%;
  border: 1px solid var(--bma-border-strong);
  border-radius: var(--bma-radius-sm);
  background: var(--bma-white);
  color: var(--bma-text);
  font-family: var(--bma-font);
  font-size: 0.9rem;
  line-height: 1.4;
  padding: 0.9rem 0.95rem;
  transition:
    border-color var(--bma-transition),
    box-shadow var(--bma-transition),
    background var(--bma-transition);
}

.bma-input::placeholder,
.bma-textarea::placeholder {
  color: #a1a9b6;
}

.bma-input:focus,
.bma-select:focus,
.bma-textarea:focus {
  outline: none;
  border-color: rgba(192,0,26,0.5);
  box-shadow: 0 0 0 4px rgba(192,0,26,0.08);
  background: #fff;
}

.bma-textarea {
  resize: vertical;
  min-height: 90px;
}

/* Platform grid */
.bma-platform-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.bma-platform-option {
  align-items: center;
  min-height: 54px;
  padding: 0.9rem 0.95rem;
  border: 1px solid var(--bma-border-strong);
  border-radius: var(--bma-radius-sm);
  background: var(--bma-white);
  transition:
    border-color var(--bma-transition),
    background var(--bma-transition),
    box-shadow var(--bma-transition),
    transform var(--bma-transition);
}

.bma-platform-option:hover {
  border-color: rgba(192,0,26,0.35);
  background: #fff;
  box-shadow: 0 6px 18px rgba(16,24,40,0.05);
  transform: translateY(-1px);
}

/* Questions */
.bma-question {
  padding-top: 1rem;
  border-top: 1px solid var(--bma-border);
}

.bma-question-title {
  margin: 0 0 0.78rem;
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 700;
  color: var(--bma-ink);
}

/* Likert */
.bma-likert {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.6rem;
}

.bma-likert-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.78rem 0.7rem;
  border: 1px solid var(--bma-border-strong);
  border-radius: var(--bma-radius-sm);
  background: var(--bma-white);
  color: var(--bma-text-soft);
  text-align: center;
  font-size: 0.76rem;
  line-height: 1.4;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  transition:
    border-color var(--bma-transition),
    background var(--bma-transition),
    color var(--bma-transition),
    box-shadow var(--bma-transition),
    transform var(--bma-transition);
}

.bma-likert-option:hover {
  border-color: rgba(192,0,26,0.35);
  color: var(--bma-primary);
  background: #fff;
  box-shadow: 0 8px 18px rgba(16,24,40,0.05);
  transform: translateY(-1px);
}

.bma-likert-checked {
  background: linear-gradient(180deg, #d1001d 0%, #b50019 100%) !important;
  border-color: #b50019 !important;
  color: #fff !important;
  box-shadow: 0 12px 22px rgba(192,0,26,0.18);
}

.bma-likert-full {
  display: block;
}

.bma-likert-short {
  display: none;
}

.bma-question .bma-likert-option .bma-likert-full {
  white-space: normal;
}

.bma-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* Dividers in final step */
.bma-step4-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.2rem 0;
}

.bma-step4-divider::before,
.bma-step4-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bma-border);
}

.bma-step4-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--bma-text-faint);
  white-space: nowrap;
}

.bma-step4-note {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--bma-text-faint);
  font-style: italic;
}

/* Checkbox rows */
.bma-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.5;
  font-size: 0.9rem;
  color: var(--bma-text-soft);
  cursor: pointer;
}

.bma-checkbox {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--bma-primary);
  cursor: pointer;
}

/* Validation */
.bma-validation-error {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--bma-primary);
}

/* Bottom actions */
.bma-actions {
  margin-top: auto;
  padding-top: 1rem;
}

/* Buttons */
.bma-btn-primary,
.bma-btn-ghost,
.bma-btn-secondary {
  min-height: 48px;
  border-radius: var(--bma-radius-pill);
  font-family: var(--bma-font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--bma-transition),
    box-shadow var(--bma-transition),
    background var(--bma-transition),
    border-color var(--bma-transition),
    color var(--bma-transition);
}

.bma-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.25rem;
  border: 1px solid var(--bma-primary);
  background: linear-gradient(180deg, #d1001d 0%, #bb001a 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(192,0,26,0.14);
}

.bma-btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #be001a 0%, #a70017 100%);
  border-color: #a70017;
  box-shadow: 0 16px 28px rgba(192,0,26,0.18);
}

.bma-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.bma-btn-urgent {
  background: linear-gradient(180deg, #1b1d21 0%, #121417 100%) !important;
  border-color: #1b1d21 !important;
}

.bma-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.25rem;
  border: 1px solid var(--bma-border-strong);
  background: var(--bma-white);
  color: var(--bma-ink);
}

.bma-btn-ghost:hover {
  transform: translateY(-1px);
  border-color: var(--bma-ink);
  background: var(--bma-ink);
  color: #fff;
}

.bma-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.88rem 1.25rem;
  border: 1px solid #edf0f4;
  background: #edf0f4;
  color: var(--bma-text);
}

.bma-btn-secondary:hover {
  background: #e6ebf1;
  border-color: #e6ebf1;
}

.bma-cta-grid {
  display: none !important;
}

/* ==========================================================================
   Results
   ========================================================================== */
.bma-results-screen {
  padding: 0;
}

.bma-results-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1rem;
}

.bma-result-headline-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--bma-border);
}

.bma-result-headline {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
  font-weight: 800;
  color: var(--bma-ink);
}

.bma-result-band-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.bma-result-score {
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--bma-ink);
}

.bma-score-delta {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bma-text-soft);
}

.bma-top-priority-block {
  border-left: 3px solid var(--bma-primary);
  border-radius: 0 var(--bma-radius-sm) var(--bma-radius-sm) 0;
  background: #fff7f7;
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.bma-top-priority-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bma-primary);
}

.bma-top-priority-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--bma-ink);
  font-weight: 600;
}

.bma-result-box {
  padding: 1.15rem 1.2rem;
}

.bma-info-title {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--bma-ink);
}

.bma-muted {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--bma-text-soft);
}

.bma-section-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bma-section-insight-card {
  padding: 1.1rem 1.1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.bma-section-insight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.bma-section-insight-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--bma-ink);
}

.bma-section-insight-meta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.bma-section-insight-score {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--bma-ink);
}

.bma-benchmark-note {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--bma-text-faint);
  font-style: italic;
}

.bma-key-takeaway {
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--bma-border);
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.bma-key-takeaway-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--bma-text-faint);
}

.bma-key-takeaway-text {
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--bma-primary);
  font-weight: 700;
}

/* Bar chart */
.bma-bar-chart {
  margin-top: 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}

.bma-bar-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.bma-bar-label {
  width: 145px;
  flex-shrink: 0;
  font-size: 0.76rem;
  color: var(--bma-text-soft);
}

.bma-bar-track {
  flex: 1;
  height: 10px;
  border-radius: var(--bma-radius-pill);
  background: #edf0f4;
  overflow: hidden;
}

.bma-bar-fill {
  height: 100%;
  border-radius: var(--bma-radius-pill);
  background: linear-gradient(90deg, #c0001a, #f57a73);
  transition: width 400ms ease;
}

.bma-bar-score {
  width: 30px;
  flex-shrink: 0;
  text-align: right;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--bma-ink);
}

/* Pills */
.bma-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.26rem 0.56rem;
  border-radius: var(--bma-radius-pill);
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.pill-bad {
  background: var(--bma-danger-bg);
  color: var(--bma-danger-text);
}

.pill-warn {
  background: var(--bma-warn-bg);
  color: var(--bma-warn-text);
}

.pill-progress {
  background: var(--bma-info-bg);
  color: var(--bma-info-text);
}

.pill-good {
  background: var(--bma-success-bg);
  color: var(--bma-success-text);
}

.pill-neutral {
  background: #eef1f5;
  color: var(--bma-text-soft);
}

/* Deltas */
.bma-delta-pos {
  color: var(--bma-success-text);
  font-size: 0.74rem;
  font-weight: 800;
}

.bma-delta-neg {
  color: var(--bma-danger-text);
  font-size: 0.74rem;
  font-weight: 800;
}

/* Roadmap */
.bma-roadmap-list {
  margin: 0.42rem 0 0;
  padding-left: 1.2rem;
  font-size: 0.82rem;
  line-height: 1.75;
  color: var(--bma-text-soft);
}

.bma-roadmap-list li + li {
  margin-top: 0.22rem;
}

/* Consultant */
.bma-consultant-note {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  border-radius: var(--bma-radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  border: 1px solid var(--bma-border);
}

.bma-consultant-monogram {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #d1001d 0%, #b9001a 100%);
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
}

.bma-followup-note {
  margin: 0.45rem 0 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bma-primary);
}

/* Email panel */
.bma-email-panel {
  padding: 1.1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.bma-email-panel-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.bma-email-success {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bma-success-text);
}

.bma-ai-error {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--bma-primary);
}

/* Skeleton */
.bma-skeleton {
  padding: 1.15rem;
  border: 1px solid var(--bma-border);
  border-radius: var(--bma-radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bma-skeleton-bar {
  height: 14px;
  border-radius: var(--bma-radius-pill);
  background: #eceff3;
  animation: bmaSkeletonPulse 1.2s ease-in-out infinite;
}

@keyframes bmaSkeletonPulse {
  0%, 100% { opacity: 0.42; }
  50% { opacity: 0.8; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1180px) {
  .bma-shell {
    grid-template-columns: 320px minmax(0, 1fr);
  }

  .bma-form-col {
    padding-inline: 1.2rem;
  }
}

@media (max-width: 980px) {
  .bma-shell {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .bma-sidebar {
    position: static;
    height: auto;
  }

  .bma-sidebar-inner {
    padding: 1.25rem 1.2rem;
  }

  .bma-side-title {
    max-width: none;
  }

  .bma-side-cards {
    display: none;
  }

  .bma-main {
    height: auto;
    min-height: 100dvh;
  }

  .bma-form-col {
    padding: 1.15rem 1rem 2rem;
  }

  .bma-section-insights-grid,
  .bma-platform-grid,
  .bma-field-grid {
    grid-template-columns: 1fr;
  }

  .bma-side-action-menu {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 640px) {
  .bma-intro-title {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .bma-likert {
    grid-template-columns: 1fr;
  }

  .bma-likert-full {
    display: none;
  }

  .bma-likert-short {
    display: block;
  }

  .bma-bar-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .bma-bar-label {
    width: 100%;
  }

  .bma-bar-track {
    width: 100%;
  }

  .bma-email-panel-actions {
    flex-direction: column;
  }

  .bma-section-header {
    flex-direction: column;
  }

  .bma-topnav {
    margin-bottom: 0.8rem;
  }

  .bma-result-headline {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bma-progress-bar,
  .bma-bar-fill,
  .bma-score-ring,
  .bma-likert-option,
  .bma-btn-primary,
  .bma-btn-ghost,
  .bma-btn-secondary,
  .bma-platform-option {
    transition: none;
  }

  .bma-skeleton-bar {
    animation: none;
  }
}

/* =========================================================
   Brandhub-inspired premium overrides
   ========================================================= */

:root {
  --wp-red: #e30613;
  --wp-burgundy: #951a1d;
  --wp-grey: #706f6f;
  --wp-black: #000000;
  --wp-white: #ffffff;
  --wp-heading: #474747;
  --wp-muted: #8d8b8b;
  --wp-border: #e6e6e6;
  --wp-panel: #efefef;

  --brand-title: "Arcon", "Arimo", Arial, sans-serif;
  --brand-body: "DM Sans", "Arimo", Arial, sans-serif;
}

/* Overall page feel */
.bma-page {
  background: #f3f3f3;
  font-family: var(--brand-body);
}

.bma-main {
  background: #f3f3f3;
}

.bma-form-col {
  max-width: 1180px;
  padding: 18px 28px 40px;
}

/* Typography */
.bma-intro-title,
.bma-result-headline,
.bma-step-title,
.bma-side-title,
.bma-section-insight-title,
.bma-info-title {
  font-family: var(--brand-title);
  color: var(--wp-heading);
}

.bma-intro-sub,
.bma-step-desc,
.bma-muted,
.bma-label,
.bma-home-link,
.bma-progress-meta,
.bma-question-title,
.bma-intro-disclaimer {
  font-family: var(--brand-body);
}

/* Back button */
.bma-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--wp-red);
  font-family: var(--brand-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: none;
}

.bma-back-btn:hover {
  background: transparent;
  color: var(--wp-grey);
  transform: none;
}

.bma-back-arrow {
  font-size: 14px;
}

/* Home link */
.bma-home-link {
  color: var(--wp-red);
  font-size: 13px;
  text-decoration: none;
}

.bma-home-link:hover {
  color: var(--wp-grey);
}

/* Intro chooser layout */
.bma-intro-inner {
  max-width: 860px;
  gap: 18px;
}

.bma-intro-title {
  max-width: 10ch;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.05em;
  color: var(--wp-heading);
}

.bma-intro-sub {
  max-width: 56ch;
  font-size: 15px;
  line-height: 1.8;
  color: var(--wp-grey);
}

.bma-eyebrow {
  color: var(--wp-red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

/* Chooser wrapper card */
.bma-intro-inner .bma-step-block {
  background: #ffffff;
  border: 1px solid var(--wp-border);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  padding: 22px;
}

/* Chooser cards */
#bma-select-basic,
#bma-select-advanced {
  min-height: 180px;
  justify-content: space-between !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 22px !important;
  border-radius: 18px !important;
  border: 1px solid var(--wp-border) !important;
  background: #ffffff !important;
  color: var(--wp-heading) !important;
  box-shadow: none !important;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease !important;
}

#bma-select-basic:hover,
#bma-select-advanced:hover {
  transform: translateY(-2px);
  border-color: var(--wp-red) !important;
  background: #fffafa !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08) !important;
  color: var(--wp-heading) !important;
}

#bma-select-basic strong,
#bma-select-advanced strong {
  font-family: var(--brand-title);
  font-size: 28px !important;
  line-height: 1.05;
  color: var(--wp-heading) !important;
  font-weight: 700;
  margin-bottom: 4px;
}

#bma-select-basic span,
#bma-select-advanced span {
  color: var(--wp-grey) !important;
  font-family: var(--brand-body);
  font-size: 14px !important;
  line-height: 1.7 !important;
}

#bma-select-basic span:last-child,
#bma-select-advanced span:last-child {
  margin-top: auto;
  color: var(--wp-red) !important;
  font-size: 12px !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Remove red pill look inherited from generic button styles */
#bma-select-basic.bma-btn-ghost,
#bma-select-advanced.bma-btn-ghost {
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Cards and panels site-wide */
.bma-step-block,
.bma-result-box,
.bma-section-insight-card,
.bma-email-panel {
  background: #ffffff;
  border: 1px solid var(--wp-border);
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
}

/* Buttons closer to Brandhub system */
.bma-btn-primary,
.bma-btn-ghost,
.bma-btn-secondary {
  min-height: 42px;
  border-radius: 999px;
  font-family: var(--brand-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bma-btn-primary {
  background: var(--wp-red);
  border: none;
  color: #fff;
  box-shadow: none;
}

.bma-btn-primary:hover {
  background: var(--wp-grey);
  transform: translateY(-1px);
}

.bma-btn-ghost {
  background: transparent;
  color: var(--wp-red);
  border: 1px solid var(--wp-red);
}

.bma-btn-ghost:hover {
  background: var(--wp-red);
  color: #fff;
  border-color: var(--wp-red);
}

.bma-btn-secondary {
  background: var(--wp-grey);
  color: #fff;
  border: none;
}

.bma-btn-secondary:hover {
  background: var(--wp-red);
}

/* Inputs */
.bma-input,
.bma-select,
.bma-textarea {
  border: 1px solid var(--wp-border);
  border-radius: 8px;
  background: #fff;
  color: var(--wp-black);
  font-family: var(--brand-body);
  font-size: 14px;
}

.bma-input:focus,
.bma-select:focus,
.bma-textarea:focus {
  border-color: var(--wp-red);
  box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.08);
}

/* Better desktop balance */
@media (min-width: 981px) {
  .bma-intro-screen {
    justify-content: flex-start;
    padding-left: 6%;
  }

  .bma-intro-inner .bma-section-insights-grid {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }
}

/* =========================================================
   FIXES: Back button + broken glyph rendering
   ========================================================= */

/* 1. Stop using the imported Brandhub custom heading/body fonts
   on this assessment page unless the actual font files are present.
   Use safe fonts so punctuation and dashes render correctly. */
:root {
  --brand-title: "Arimo", "DM Sans", Arial, sans-serif;
  --brand-body: "Arimo", "DM Sans", Arial, sans-serif;
}

/* 2. Force clean rendering on all key text areas */
.bma-page,
.bma-page p,
.bma-page span,
.bma-page div,
.bma-page label,
.bma-page button,
.bma-page a,
.bma-page li,
.bma-page input,
.bma-page textarea,
.bma-page select {
  font-family: var(--brand-body) !important;
  font-variant-ligatures: none;
  text-rendering: optimizeLegibility;
}

.bma-intro-title,
.bma-result-headline,
.bma-step-title,
.bma-side-title,
.bma-section-insight-title,
.bma-info-title {
  font-family: var(--brand-title) !important;
  letter-spacing: -0.03em;
}

/* 3. Clean back button */
.bma-back-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
  color: #e30613 !important;
  font-family: "Arimo", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.bma-back-btn:hover,
.bma-back-btn:focus {
  background: transparent !important;
  color: #706f6f !important;
  transform: none !important;
  box-shadow: none !important;
}

.bma-back-arrow {
  font-size: 14px !important;
  line-height: 1 !important;
}

.bma-back-label {
  line-height: 1 !important;
}

/* 4. Ensure pills and small labels do not inherit broken font styling */
.bma-pill,
.bma-weight-chip,
.bma-top-priority-label,
.bma-key-takeaway-label,
.bma-eyebrow,
.bma-step4-label,
.bma-progress-meta,
.bma-home-link {
  font-family: "Arimo", Arial, sans-serif !important;
}

/* 5. Optional: make chooser cards less aggressive immediately */
#bma-select-basic,
#bma-select-advanced {
  background: #fff !important;
  color: #474747 !important;
  border: 1px solid #e6e6e6 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06) !important;
}

#bma-select-basic strong,
#bma-select-advanced strong {
  color: #474747 !important;
  font-family: "Arimo", Arial, sans-serif !important;
}

#bma-select-basic span,
#bma-select-advanced span {
  color: #706f6f !important;
  font-family: "Arimo", Arial, sans-serif !important;
}