  :root {
    --pink: #E7214D;
    --navy: #434B69;
    --yellow: #E8B420;         /* radar-chart use only */
    --purple: #6875A6;         /* radar-chart use only */
    --green: #7E9568;          /* radar-chart use only */
    --yellow-solid: #C4941A;   /* darker yellow for white-text pills */
    --green-solid: #5C7549;    /* darker green for white-text pills */
    --light-bg: #F8F9FC;
    --surface: #FFFFFF;
    --border: #E2E6EF;
    --navy-border: rgba(67, 75, 105, 0.22);
    --text: #2C3047;
    --muted: #6B7280;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    background: var(--light-bg);
    color: var(--text);
    min-height: 100vh;
  }
  .app-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 20px 60px;
  }
  .logo-bar {
    text-align: center;
    margin-bottom: 32px;
  }
  .logo-bar h1 {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    letter-spacing: -0.3px;
  }
  .logo-bar h1 span { color: var(--pink); }

  /* Cards */
  .card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 20px rgba(67,75,105,0.08);
    border: 1px solid var(--border);
  }
  .hidden { display: none !important; }

  /* Welcome screen */
  .welcome-icon {
    width: 60px; height: 60px;
    background: var(--pink);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
  }
  .welcome-icon svg { width: 30px; height: 30px; fill: none; stroke: #fff; stroke-width: 2; }
  .card h2 {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 26px;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.2;
  }
  .card p {
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 16px;
  }
  /* Opt-in muted helper text — use this class for metadata, privacy notes, etc. */
  .card p.meta,
  .card p.helper {
    color: var(--muted);
    font-size: 13px;
  }
  .pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 24px 0;
  }
  .pillar {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 3px solid var(--navy);
    border-radius: 8px;
    padding: 14px 14px 14px 16px;
    text-align: left;
    color: var(--text);
  }
  .pillar strong {
    display: block;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--navy);
    margin-bottom: 4px;
    letter-spacing: 0.2px;
  }
  .pillar span {
    display: block;
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 11px;
    color: var(--muted);
    line-height: 1.5;
  }
  .pillar.strategy   { border-left-color: var(--pink); }
  .pillar.technology { border-left-color: var(--yellow-solid); }
  .pillar.people     { border-left-color: var(--green-solid); }

  /* Forms */
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { margin-bottom: 18px; }
  .form-group label {
    display: block;
    font-size: 13px;
    font-weight: 400;
    color: var(--navy);
    margin-bottom: 6px;
    font-family: 'Arimo', sans-serif;
  }
  .form-group input, .form-group select {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: 'Noto Sans', sans-serif;
    color: var(--text);
    transition: border-color 0.2s;
    background: #fff;
    outline: none;
  }
  .form-group input:focus, .form-group select:focus { border-color: var(--navy); }
  .form-group input.error, .form-group select.error { border-color: var(--pink); }
  .error-message {
    font-size: 12px;
    color: var(--pink);
    margin-top: 4px;
    display: none;
  }
  .form-group.has-error .error-message { display: block; }

  /* Buttons */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    text-decoration: none;
  }
  .btn-primary { background: var(--navy); color: #fff; }
  .btn-primary:hover { background: #333b57; transform: translateY(-1px); }
  .btn-secondary { background: var(--light-bg); color: var(--navy); border: 1.5px solid var(--border); }
  .btn-secondary:hover { border-color: var(--navy); }
  .btn-cta { background: var(--pink); color: #fff; width: 100%; justify-content: center; margin-top: 8px; }
  .btn-cta:hover { background: #d01d44; transform: translateY(-1px); }

  /* Progress bar */
  .progress-wrap {
    margin-bottom: 24px;
  }
  .progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
  }
  .progress-label {
    font-size: 12px;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .progress-count { font-size: 12px; color: var(--muted); }
  .progress-track {
    height: 6px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
  }
  .progress-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s ease;
  }
  .progress-fill.strategy { background: var(--pink); }
  .progress-fill.technology { background: var(--yellow); }
  .progress-fill.people { background: var(--green); }

  /* ── Pills — the two canonical badge styles ─────────────────────────────
     .pill-solid  — solid colour fill, white text. For identity labels
                    (levels, pillars, areas). Use a modifier class for colour.
     .pill-meta   — white bg, navy text, semi-transparent navy border.
                    For metadata (counts, time estimates, dates).
     --------------------------------------------------------------------- */
  .pill-solid {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #fff;
    background: var(--navy);
    border: none;
    white-space: nowrap;
  }
  .pill-solid.pink,
  .pill-solid.strategy,
  .pill-solid.ai-mastering   { background: var(--pink); }
  .pill-solid.yellow,
  .pill-solid.technology,
  .pill-solid.ai-testing     { background: var(--yellow-solid); }
  .pill-solid.green,
  .pill-solid.people,
  .pill-solid.ai-scaling     { background: var(--green-solid); }
  .pill-solid.navy,
  .pill-solid.ai-adopting    { background: var(--navy); }
  .pill-solid.grey,
  .pill-solid.ai-curious     { background: var(--muted); }

  .pill-meta {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.3px;
    color: var(--navy);
    background: #fff;
    border: 1.5px solid var(--navy-border);
  }

  /* Question-screen area badge uses pill-solid sizing + per-pillar colour.
     We keep the .area-badge class for DOM compatibility. */
  .area-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 16px;
    color: #fff;
    background: var(--navy);
    border: none;
  }
  .area-badge.strategy   { background: var(--pink); }
  .area-badge.technology { background: var(--yellow-solid); }
  .area-badge.people     { background: var(--green-solid); }

  .question-text {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 24px;
    line-height: 1.4;
  }
  .options-list { list-style: none; }
  .options-list li {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
  }
  .options-list li:hover { border-color: var(--navy); background: #f8f9fc; }
  /* Selected: coloured border + tint bg, but TEXT stays readable (not dark-on-dark) */
  .options-list li.selected.strategy   { border-color: var(--pink);         background: #FFF0F3; color: var(--text); font-weight: 400; }
  .options-list li.selected.technology { border-color: var(--yellow-solid); background: #FFF9E6; color: var(--text); font-weight: 400; }
  .options-list li.selected.people     { border-color: var(--green-solid);  background: #EFF3EC; color: var(--text); font-weight: 400; }
  /* The dot still uses the pillar colour for state indication */
  .options-list li.selected.strategy   .option-dot { border-color: var(--pink);         background: var(--pink); }
  .options-list li.selected.technology .option-dot { border-color: var(--yellow-solid); background: var(--yellow-solid); }
  .options-list li.selected.people     .option-dot { border-color: var(--green-solid);  background: var(--green-solid); }
  .option-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    transition: all 0.15s;
  }
  .selected .option-dot { border-color: currentColor; background: currentColor; }

  .nav-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
  }

  /* Section transition */
  .section-transition {
    text-align: center;
    padding: 20px 0;
  }
  .section-icon {
    width: 72px; height: 72px;
    border-radius: 20px;
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    font-size: 32px;
  }
  .section-icon.strategy { background: #FFF0F3; }
  .section-icon.technology { background: #FFF9E6; }
  .section-icon.people { background: #EFF3EC; }

  /* Loading screen */
  .loading-screen {
    text-align: center;
    padding: 40px 20px;
  }
  .loading-spinner {
    width: 56px; height: 56px;
    border-radius: 50%;
    border: 3px solid var(--border);
    border-top-color: var(--pink);
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
  }
  @keyframes spin { to { transform: rotate(360deg); } }
  .loading-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 16px;
  }
  .loading-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--border);
    animation: dot-pulse 1.4s ease-in-out infinite;
  }
  .loading-dots span:nth-child(2) { animation-delay: 0.2s; }
  .loading-dots span:nth-child(3) { animation-delay: 0.4s; }
  @keyframes dot-pulse {
    0%, 80%, 100% { background: var(--border); transform: scale(0.8); }
    40% { background: var(--navy); transform: scale(1.1); }
  }
  .loading-status {
    font-size: 13px;
    color: var(--muted);
    margin-top: 12px;
    min-height: 20px;
    transition: opacity 0.3s;
  }

  /* ── Report masthead ─────────────────────────────────────────────────────── */
  .report-masthead {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--navy);
  }
  .report-title-label {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
    margin-bottom: 6px;
  }
  .report-company-name {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 2px;
  }
  .report-person-name {
    font-family: 'Arimo', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.3;
  }
  .report-date {
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
  }

  .phone-input-wrap { display: flex; gap: 8px; }
  .phone-input-wrap select { width: 110px; flex-shrink: 0; }
  .phone-input-wrap input { flex: 1; }

  .email-notice {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #EEF9F2;
    border: 1px solid #A8DDB8;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #1E6B3A;
  }
  .email-notice svg { flex-shrink: 0; color: #27AE60; }
  .email-notice strong { color: #1E6B3A; }

  /* ── Report blocks ───────────────────────────────────────────────────────── */
  .report-block {
    border: 1px solid var(--border);
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;   /* so the navy header clips to the card radius */
    background: #fff;
  }
  .overall-block { border-color: var(--navy); }
  /* Pillar blocks keep a coloured left accent stripe */
  .strategy-block   { border-left: 4px solid var(--pink); }
  .technology-block { border-left: 4px solid var(--yellow-solid); }
  .people-block     { border-left: 4px solid var(--green-solid); }

  /* Bold navy header bar — replaces the old light-tint version */
  .report-block-header {
    background: var(--navy);
    color: #fff;
    padding: 14px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
  }
  .report-block-label {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff !important;             /* override any inline var(--pink) etc. */
    text-transform: uppercase;
    letter-spacing: 0.6px;
  }
  .report-block-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.72);
    margin-top: 3px;
    font-weight: 400;
  }
  /* Body area inside each report block — give it the padding the header no longer has */
  .report-block > .score-bar-mini,
  .report-block > .report-content,
  .report-block > .maturity-badge {
    margin-left: 22px;
    margin-right: 22px;
  }
  .report-block > .report-content { padding: 18px 0 20px; }
  .report-block > .score-bar-mini { margin-top: 18px; }
  .report-block > .maturity-badge { margin-top: 18px; display: inline-flex; margin-left: 22px; }
  .big-score-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
  }
  .big-score {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: var(--navy);
    line-height: 1;
  }
  .big-score-denom {
    font-family: 'Arimo', sans-serif;
    font-size: 16px;
    color: var(--muted);
    font-weight: 400;
  }
  /* Big score inside a navy section header needs to be white */
  .report-block-header .big-score { color: #fff; }
  .report-block-header .big-score-denom { color: rgba(255,255,255,0.7); }
  /* Pillar score fills also use the solid variants */
  .score-bar-mini-fill.technology { background: var(--yellow-solid) !important; }
  .score-bar-mini-fill.people     { background: var(--green-solid) !important; }

  .score-bar-mini {
    height: 8px;
    background: var(--border);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .score-bar-mini-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 1s ease;
  }
  .score-bar-mini-fill.strategy { background: var(--pink); }
  .score-bar-mini-fill.technology { background: var(--yellow); }
  .score-bar-mini-fill.people { background: var(--green); }

  /* ── Section intro cards ─────────────────────────────────────────────────── */
  .section-intro-card {
    text-align: center;
    padding: 20px 8px 8px;
  }
  .section-intro-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 24px;
  }
  .section-intro-icon svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 1.8; }
  .section-intro-icon.strategy { background: linear-gradient(135deg, var(--pink), #ff6b8e); }
  .section-intro-icon.technology { background: linear-gradient(135deg, var(--yellow), #f5c842); }
  .section-intro-icon.people { background: linear-gradient(135deg, var(--green), #9ab584); }
  .section-intro-card h2 { font-size: 28px; margin-bottom: 10px; }
  .section-intro-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 99px;
    padding: 6px 16px;
    font-size: 13px;
    color: var(--muted);
    margin: 12px 0 20px;
  }
  .section-intro-meta strong { color: var(--navy); font-family: 'Arimo', sans-serif; }
  .section-intro-areas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0 28px;
    text-align: left;
  }
  .intro-area-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text);
  }
  .intro-area-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* ── Radar chart ─────────────────────────────────────────────────────────── */
  .radar-wrap {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0 0 24px;
    padding: 20px 20px 16px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid var(--border);
  }
  .radar-wrap canvas { align-self: center; }

  /* Top bar on the radar: Maturity Level (left) + Overall Score (right) */
  .radar-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 8px;
  }
  .radar-topbar-left,
  .radar-topbar-right {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .radar-topbar-right { align-items: flex-end; }
  .radar-topbar-label {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--muted);
  }
  .radar-big-score {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
  }
  .radar-big-score > span:first-child { font-size: 34px; }
  .radar-big-denom {
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
    margin-left: 3px;
  }
  .radar-legend {
    display: flex;
    gap: 20px;
    margin-top: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .radar-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text);
  }
  .radar-legend-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
  }

  /* ── Report content (AI-generated HTML) ─────────────────────────────────── */
  .report-content {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
  }
  .report-content h4 {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--navy);
    margin: 18px 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
  .report-content p { margin-bottom: 10px; }
  .report-content ul { padding-left: 18px; margin-bottom: 10px; }
  .report-content li { margin-bottom: 5px; }
  .report-content strong { color: var(--navy); }

  /* Service recommendation callout boxes */
  .service-callout {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-top: 14px;
    font-size: 13px;
  }
  .service-callout strong {
    display: block;
    font-family: 'Arimo', sans-serif;
    font-size: 13px;
    margin-bottom: 4px;
  }
  .service-callout a {
    color: var(--pink);
    font-weight: 700;
    text-decoration: none;
  }
  .service-callout a:hover { text-decoration: underline; }

  /* Error state */
  .report-error {
    background: #FFF0F3;
    border: 1px solid #ffd0da;
    border-radius: 10px;
    padding: 16px;
    font-size: 14px;
    color: var(--pink);
  }

  /* CTA box */
  .cta-box {
    background: linear-gradient(135deg, var(--navy), #5a6385);
    border-radius: 14px;
    padding: 28px;
    color: #fff;
    text-align: center;
    margin-top: 8px;
  }
  .cta-box h3 {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 10px;
    color: #fff;
  }
  .cta-box p {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.6;
  }
  .btn-cta-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    border: none;
    background: #fff;
    color: var(--navy);
    text-decoration: none;
    transition: all 0.2s;
  }
  .btn-cta-white:hover { background: #f0f2f8; transform: translateY(-1px); }

  /* Maturity badge — uses the pill-solid pattern. JS toggles the level class
     (.ai-curious / .ai-testing / .ai-adopting / .ai-scaling / .ai-mastering). */
  .maturity-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #fff;
    background: var(--navy);
    border: none;
  }
  .maturity-badge.ai-curious   { background: var(--muted); }
  .maturity-badge.ai-testing   { background: var(--yellow-solid); }
  .maturity-badge.ai-adopting  { background: var(--navy); }
  .maturity-badge.ai-scaling   { background: var(--green-solid); }
  .maturity-badge.ai-mastering { background: var(--pink); }
  /* Invert inside navy section header so it reads clearly */
  .report-block-header .maturity-badge {
    background: #fff;
    color: var(--navy);
  }
  .report-block-header .maturity-badge.ai-curious   { color: var(--muted); }
  .report-block-header .maturity-badge.ai-testing   { color: var(--yellow-solid); }
  .report-block-header .maturity-badge.ai-adopting  { color: var(--navy); }
  .report-block-header .maturity-badge.ai-scaling   { color: var(--green-solid); }
  .report-block-header .maturity-badge.ai-mastering { color: var(--pink); }

  @keyframes spin { to { transform: rotate(360deg); } }

  /* Get Help line */
  .get-help-line {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-family: 'Arimo', sans-serif;
    font-size: 13px;
    color: var(--muted);
  }
  .get-help-line a {
    color: var(--pink);
    font-weight: 700;
    text-decoration: none;
  }
  .get-help-line a:hover { text-decoration: underline; }

  /* ── Maturity Levels Reference ───────────────────────────────────────────── */
  .maturity-levels-section {
    margin-top: 32px;
  }
  .maturity-levels-section h3 {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--navy);
    margin: 0 0 6px;
  }
  .maturity-levels-section .ml-intro {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;
    font-size: 14px;
    color: var(--muted);
    margin: 0 0 20px;
    line-height: 1.6;
  }
  .maturity-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    margin-bottom: 10px;
    background: var(--surface);
  }
  .maturity-card-badge {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 11px;
    text-align: center;
    line-height: 1.2;
  }
  .maturity-card-body { flex: 1; }
  .maturity-card-title {
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 15px;
    margin: 0 0 2px;
  }
  .maturity-card-range {
    font-family: 'Noto Sans', sans-serif;
    font-size: 11px;
    color: var(--muted);
    margin: 0 0 6px;
    font-weight: 300;
  }
  .maturity-card-desc {
    font-family: 'Noto Sans', sans-serif;
    font-weight: 300;
    font-size: 13px;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
  }
  /* Level colour themes — solid-fill circles, coloured titles. Each level maps
     to the same palette as the pill-solid level classes for consistency. */
  .ml-initial   .maturity-card-badge { background: var(--muted);        color: #fff; }
  .ml-initial   .maturity-card-title { color: var(--muted); }
  .ml-emerging  .maturity-card-badge { background: var(--yellow-solid); color: #fff; }
  .ml-emerging  .maturity-card-title { color: var(--yellow-solid); }
  .ml-defined   .maturity-card-badge { background: var(--navy);         color: #fff; }
  .ml-defined   .maturity-card-title { color: var(--navy); }
  .ml-managed   .maturity-card-badge { background: var(--green-solid);  color: #fff; }
  .ml-managed   .maturity-card-title { color: var(--green-solid); }
  .ml-optimised .maturity-card-badge { background: var(--pink);         color: #fff; }
  .ml-optimised .maturity-card-title { color: var(--pink); }

  /* ── Minimal print fallback (for browser print — PDF uses html2pdf) ─────── */
  @media print {
    .no-print { display: none !important; }
    body { background: #fff; }
  }

  /* Toast */
  .toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--navy);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Arimo', sans-serif;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    z-index: 999;
    white-space: nowrap;
  }
  .toast.show { transform: translateX(-50%) translateY(0); }
  .toast.error { background: var(--pink); }

  /* Intro benefits */
  .intro-benefits {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }
  .benefit-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text);
  }
  .benefit-icon {
    color: var(--pink);
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: 700;
  }
  .pillar span { font-size: 10px; }

  @media (max-width: 560px) {
    .card { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr; }
    .cat-label { width: 70px; font-size: 12px; }
  }

  /* ───────────────────────────────────────────────────────────────────────
     Pillar maturity level badges (in the pillar report headers — solid fill)
     Inside a navy section header we switch to white bg + navy text so they
     still read clearly. Colour is driven by the level class on the badge.
     ─────────────────────────────────────────────────────────────────────── */
  .pillar-level-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'Arimo', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #fff;
    background: var(--navy);
    border: none;
    white-space: nowrap;
  }
  .pillar-level-badge.ai-curious   { background: var(--muted); }
  .pillar-level-badge.ai-testing   { background: var(--yellow-solid); }
  .pillar-level-badge.ai-adopting  { background: var(--navy); }
  .pillar-level-badge.ai-scaling   { background: var(--green-solid); }
  .pillar-level-badge.ai-mastering { background: var(--pink); }
  /* In navy section header: invert to stay readable */
  .report-block-header .pillar-level-badge {
    background: #fff;
    color: var(--navy);
  }
  .report-block-header .pillar-level-badge.ai-curious   { color: var(--muted); }
  .report-block-header .pillar-level-badge.ai-testing   { color: var(--yellow-solid); }
  .report-block-header .pillar-level-badge.ai-adopting  { color: var(--navy); }
  .report-block-header .pillar-level-badge.ai-scaling   { color: var(--green-solid); }
  .report-block-header .pillar-level-badge.ai-mastering { color: var(--pink); }

  /* ───────────────────────────────────────────────────────────────────────
     Teaser veil + sticky unlock gate
     ─────────────────────────────────────────────────────────────────────── */
  .teaser-veil-wrap {
    position: relative;
  }
  /* Gradient starts roughly halfway over the radar so the fade is visible
     on first render (no scroll required). 0px = top of radar inside veil. */
  .teaser-veil-gradient {
    display: none;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 5;
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0) 0px,
      rgba(255,255,255,0) 160px,
      rgba(255,255,255,0.55) 260px,
      rgba(255,255,255,0.92) 360px,
      rgba(255,255,255,1) 440px,
      rgba(255,255,255,1) 100%
    );
  }
  #screenResults.locked .teaser-veil-gradient { display: block; }

  /* Email notice only shown once we actually have the email (after unlock) */
  #screenResults.locked .email-notice { display: none; }

  /* Hide the unlock gate when report is fully unlocked */
  #screenResults:not(.locked) #unlockGate { display: none; }

  /* Unlock gate: sticky at BOTTOM of viewport as user scrolls the teased report.
     This keeps the CTA always visible whether they scroll up or down. */
  .unlock-gate {
    position: sticky;
    bottom: 16px;
    z-index: 10;
    margin: 24px 0 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 22px 18px;
    box-shadow: 0 10px 40px rgba(67,75,105,0.14), 0 2px 8px rgba(67,75,105,0.06);
    text-align: center;
  }
  .unlock-gate-inner { max-width: 460px; margin: 0 auto; }
  .unlock-icon {
    width: 44px; height: 44px;
    background: var(--pink);
    color: #fff;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
  }
  .unlock-gate h3 {
    font-family: 'Arimo', sans-serif;
    font-size: 19px;
    color: var(--navy);
    margin-bottom: 6px;
  }
  .unlock-gate > .unlock-gate-inner > p {
    font-size: 13.5px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 14px;
  }
  .unlock-gate .form-group { text-align: left; margin-bottom: 10px; }

  .checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    font-size: 12.5px;
    color: var(--muted);
    line-height: 1.5;
    margin: 4px 0 14px;
    cursor: pointer;
  }
  .checkbox-row input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--pink);
    cursor: pointer;
  }

  /* Loading state: swap form for spinner */
  .unlock-gate .unlock-loading { display: none; padding: 8px 0 4px; }
  .unlock-gate.is-loading #unlockForm { display: none; }
  .unlock-gate.is-loading .unlock-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .unlock-gate .loading-status {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
  }

  /* Compact on mobile */
  @media (max-width: 560px) {
    .unlock-gate { padding: 18px 16px 14px; }
    .unlock-gate h3 { font-size: 17px; }
  }
