/* Maturity Index self-serve tool — page-local UI only */
    .mi-wrap { max-width: 760px; }
    .mi-hidden { display: none !important; }

    /* Progress */
    .mi-progress { margin: 0 0 2rem; }
    .mi-progress-bar { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.14); overflow: hidden; }
    .mi-progress-fill { height: 100%; width: 0; background: #C9A84C; border-radius: 999px; transition: width .35s ease; }
    .mi-progress-meta { display: flex; justify-content: space-between; margin-top: .6rem; font-family: Inter, sans-serif; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: #C0C6D0; }

    /* Step card */
    .mi-step { }
    .mi-pillar-no { font-family: 'Playfair Display', serif; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; color: #C9A84C; margin: 0 0 .4rem; }
    .mi-pillar-name { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.9rem; line-height: 1.15; color: #fff; margin: 0 0 .5rem; }
    .mi-pillar-sub { font-family: Inter, sans-serif; color: #C0C6D0; font-size: 1rem; line-height: 1.55; margin: 0 0 2rem; }

    .mi-q { margin: 0 0 1.9rem; }
    .mi-q-text { font-family: Inter, sans-serif; font-weight: 600; font-size: 1.05rem; color: #fff; margin: 0 0 .85rem; }
    .mi-options { display: grid; gap: .6rem; }
    .mi-opt { display: block; width: 100%; text-align: left; cursor: pointer;
      background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.16); border-radius: 12px;
      padding: .95rem 1.1rem; color: #EAEBEE; font-family: Inter, sans-serif; font-size: .96rem; line-height: 1.45;
      transition: border-color .15s ease, background .15s ease; }
    .mi-opt:hover { border-color: rgba(201,168,76,0.6); background: rgba(255,255,255,0.07); }
    .mi-opt.is-selected { border-color: #C9A84C; background: rgba(201,168,76,0.14); }
    .mi-opt .mi-opt-tier { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #C9A84C; margin-bottom: .25rem; font-weight: 600; }

    .mi-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2.2rem; gap: 1rem; }
    .mi-btn { font-family: Inter, sans-serif; font-weight: 600; font-size: .95rem; border-radius: 999px; padding: .8rem 1.6rem; cursor: pointer; border: 1px solid transparent; }
    .mi-btn-primary { background: #C9A84C; color: #0A1628; border-color: #C9A84C; }
    .mi-btn-primary:disabled { opacity: .4; cursor: not-allowed; }
    .mi-btn-ghost { background: transparent; color: #C0C6D0; border-color: rgba(255,255,255,0.22); }
    .mi-btn-ghost:hover { color: #fff; border-color: #fff; }

    /* Results */
    .mi-gauge { text-align: center; margin: 0 0 2.4rem; }
    .mi-gauge-num { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 4.6rem; line-height: 1; color: #C9A84C; }
    .mi-gauge-num span { font-size: 1.8rem; color: #C0C6D0; }
    .mi-gauge-level { font-family: 'Playfair Display', serif; font-weight: 600; font-size: 1.6rem; color: #fff; margin: .5rem 0 .4rem; }
    .mi-gauge-line { font-family: Inter, sans-serif; color: #C0C6D0; font-size: 1rem; max-width: 46ch; margin: 0 auto; line-height: 1.55; }

    .mi-pillars { display: grid; gap: .7rem; margin: 0 0 2.6rem; }
    .mi-prow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem;
      background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: .85rem 1.1rem; }
    .mi-prow-name { font-family: Inter, sans-serif; font-weight: 600; color: #fff; font-size: .98rem; }
    .mi-prow-name small { display: block; font-weight: 400; color: #78797D; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-top: .15rem; }
    .mi-chip { font-family: Inter, sans-serif; font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; white-space: nowrap; }
    .mi-chip--building { background: rgba(214,120,90,0.16); color: #E0916F; border: 1px solid rgba(214,120,90,0.5); }
    .mi-chip--running  { background: rgba(201,168,76,0.16); color: #D9BE74; border: 1px solid rgba(201,168,76,0.5); }
    .mi-chip--winning  { background: rgba(120,180,120,0.16); color: #86C58A; border: 1px solid rgba(120,180,120,0.5); }

    .mi-fix { background: rgba(255,255,255,0.04); border: 1px solid rgba(201,168,76,0.35); border-radius: 14px; padding: 1.6rem 1.7rem; margin: 0 0 2.6rem; }
    .mi-fix h3 { font-family: 'Playfair Display', serif; font-weight: 600; color: #C9A84C; font-size: 1.2rem; margin: 0 0 1.1rem; }
    .mi-fix-item { margin: 0 0 1.1rem; }
    .mi-fix-item:last-child { margin-bottom: 0; }
    .mi-fix-item p.h { font-family: Inter, sans-serif; font-weight: 600; color: #fff; margin: 0 0 .25rem; font-size: 1rem; }
    .mi-fix-item p.b { font-family: Inter, sans-serif; color: #C0C6D0; margin: 0; font-size: .94rem; line-height: 1.55; }

    .mi-upgrade { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: 14px; padding: 1.5rem 1.7rem; margin: 0 0 2.2rem; }
    .mi-upgrade .h { font-family: 'Playfair Display', serif; font-weight: 600; color: #fff; font-size: 1.18rem; margin: 0 0 .5rem; }
    .mi-upgrade .b { font-family: Inter, sans-serif; color: #C0C6D0; font-size: .96rem; line-height: 1.6; margin: 0; }

    .mi-email { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
    .mi-email input { flex: 1 1 220px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.05); color: #fff; padding: .8rem 1.2rem; font-family: Inter, sans-serif; font-size: .95rem; }
    .mi-note { font-family: Inter, sans-serif; color: #78797D; font-size: .82rem; margin-top: 1.2rem; line-height: 1.5; }
    .mi-retake { margin-top: 1.6rem; }
    .mi-retake a { color: #C0C6D0; font-family: Inter, sans-serif; font-size: .9rem; text-decoration: underline; cursor: pointer; }

    @media (max-width: 560px) {
      .mi-gauge-num { font-size: 3.6rem; }
      .mi-pillar-name { font-size: 1.5rem; }
    }

    /* utilities replacing former inline style attributes (CSP: no inline styles) */
    .mi-cta { margin-top: 1.5rem; }
    .mi-inline-link { color: #C0C6D0; }
