.air { max-width: 640px; margin: 0 auto; font-family: "Effra", system-ui, sans-serif; color: #351c72; }
.air, .air *, .air *::before, .air *::after { box-sizing: border-box; }
.air-screen { padding: 1.5rem 1.1rem; }
.air h2, .air h3 { color: #351c72; font-weight: 600; }

/* Buttons — force white text so the theme's body.light link-darkening can't fade it. */
.air-btn { display: inline-block; background: #5413c9; color: #fff !important; border: 0; border-radius: 30px;
  padding: 14px 30px; font-size: 1rem; font-weight: 600; cursor: pointer; text-decoration: none !important; margin-top: 1rem;
  transition: background .2s ease, transform .2s ease; }
.air-btn:hover { background: #7324fb; transform: translateY(-1px); }
.air-btn--cta { display: block; width: 100%; text-align: center; padding: 16px 30px; font-size: 1.05rem;
  background: linear-gradient(90deg, #5413c9, #9e24fb); box-shadow: 0 10px 24px rgba(84, 19, 201, .28); margin-top: 1.6rem; }
.air-btn--cta:hover { background: linear-gradient(90deg, #4a11b3, #8f1ff0); }

/* Progress + questions */
.air-progress { height: 6px; background: #ece6f9; border-radius: 3px; overflow: hidden; margin-bottom: 0.75rem; }
.air-progress > span { display: block; height: 100%; background: #7324fb; transition: width 0.3s ease; }
.air-count { font-size: 0.85rem; color: #8a83a6; margin-bottom: 0.75rem; }
.air-help { color: #6d6790; font-size: 0.95rem; }
.air-opts { display: grid; gap: 0.6rem; margin-top: 1rem; }
.air-opt { text-align: left; background: #fff; border: 1.5px solid #e0d9f5; border-radius: 14px;
  padding: 14px 16px; font-size: 1rem; cursor: pointer; color: #351c72; transition: border-color .15s, background .15s; }
.air-opt:hover { border-color: #7324fb; }
.air-opt--sel { border-color: #7324fb; background: #f5f1ff; }
.air-nav { margin-top: 1rem; }
.air-back { background: none; border: 0; color: #7324fb; cursor: pointer; font-size: 0.95rem; }

/* Gate form */
.air-form { display: grid; gap: 0.9rem; margin-top: 1rem; }
.air-form > label { display: grid; gap: 0.3rem; font-size: 0.9rem; color: #4a447a; }
.air-form input[type=text], .air-form input[type=email] { padding: 12px 14px; border: 1.5px solid #e0d9f5; border-radius: 12px; font-size: 1rem; }
.air-form input:focus { outline: none; border-color: #7324fb; box-shadow: 0 0 0 3px rgba(115, 36, 251, .15); }
.air-consent { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; text-align: left; margin-top: 0.35rem; }
.air-consent input[type=checkbox] { width: 20px; height: 20px; accent-color: #5413c9; cursor: pointer; }
.air-consent__text { font-size: 0.85rem; line-height: 1.5; color: #6d6790; max-width: 34ch; }
.air-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.air-error { color: #c0392b; font-size: 0.9rem; }

/* Results */
.air-results { text-align: center; }

/* Score gauge */
.air-gauge-wrap { position: relative; width: 176px; height: 176px; margin: 0.25rem auto 1.25rem; }
.air-gauge { width: 100%; height: 100%; transform: rotate(-90deg); }
.air-gauge__bg { fill: none; stroke: #ece6f9; stroke-width: 11; }
.air-gauge__fg { fill: none; stroke-width: 11; stroke-linecap: round; transition: stroke-dashoffset 1.1s cubic-bezier(.4, 0, .2, 1); }
.air-gauge--hi  .air-gauge__fg { stroke: #22c55e; }
.air-gauge--mid .air-gauge__fg { stroke: #f59e0b; }
.air-gauge--lo  .air-gauge__fg { stroke: #ef4444; }
.air-gauge__center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.air-score__num { font-size: 3.3rem; font-weight: 800; color: #351c72; line-height: 1; }
.air-score__den { font-size: 1.1rem; font-weight: 600; color: #9a93b8; margin-left: 3px; }

/* Band pill + summary */
.air-band { display: inline-block; padding: 6px 18px; border-radius: 999px; font-weight: 700; font-size: 0.95rem; letter-spacing: .02em; }
.air-band--hi  { background: #e7f9ee; color: #1a8f4c; }
.air-band--mid { background: #fdf2df; color: #b5730a; }
.air-band--lo  { background: #fdeaea; color: #c53030; }
.air-summary { color: #4a447a; font-size: 1.02rem; line-height: 1.6; margin: 0.95rem auto 0; max-width: 42ch; }

/* Dimension bars */
.air-bars { display: grid; gap: 0.85rem; margin: 1.85rem 0 0; text-align: left; }
.air-bar__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.92rem; font-weight: 600; color: #351c72; margin-bottom: 0.35rem; }
.air-bar__label b { font-weight: 700; }
.air-bar__label b i { font-style: normal; font-weight: 500; color: #9a93b8; font-size: 0.85em; }
.air-bar__track { height: 10px; background: #ece6f9; border-radius: 6px; overflow: hidden; }
.air-bar__track > span { display: block; height: 100%; border-radius: 6px; transition: width 0.9s cubic-bezier(.4, 0, .2, 1); }
.air-bar--hi  .air-bar__track > span { background: #22c55e; }
.air-bar--mid .air-bar__track > span { background: #f59e0b; }
.air-bar--lo  .air-bar__track > span { background: #ef4444; }

/* Priorities card */
.air-priorities-card { background: #f7f5fd; border: 1px solid #ece6f9; border-radius: 16px; padding: 1.25rem 1.4rem; margin-top: 1.85rem; text-align: left; }
.air-priorities-card h4 { margin: 0 0 0.75rem; font-size: 1.05rem; font-weight: 700; color: #351c72; }
.air-priorities { list-style: none; margin: 0; padding: 0; }
.air-priorities li { position: relative; padding-left: 1.7rem; margin-bottom: 0.7rem; color: #4a447a; line-height: 1.55; }
.air-priorities li:last-child { margin-bottom: 0; }
.air-priorities li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: #7324fb; font-weight: 700; }

.air-emailed { color: #9a93b8; font-size: 0.85rem; margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  .air-progress > span, .air-gauge__fg, .air-bar__track > span, .air-btn { transition: none; }
}

/* ===== Assessment triggers (header / menu / footer / homepage card) =====
   Gradient reads well on the dark header, the dark overlay menu, the dark
   footer, and the white inner-page header alike. */
.air-trigger {
  display: inline-block; box-sizing: border-box;
  background: linear-gradient(90deg, #5413c9, #9e24fb);
  color: #fff !important; border-radius: 30px; padding: 9px 18px;
  font-family: "Effra", system-ui, sans-serif; font-size: 0.88rem; font-weight: 600; line-height: 1.3;
  text-decoration: none !important; white-space: nowrap; transition: filter .2s ease;
}
.air-trigger:hover { filter: brightness(1.12); color: #fff !important; }

/* Desktop header bar only — never crowds the mobile bar. */
.air-trigger--header { display: none; margin-left: 0.75rem; }
@media (min-width: 992px) { .air-trigger--header { display: inline-block; } }

/* Overlay menu (mobile): full-width, above the nav links. */
.air-trigger--menu { display: block; width: 100%; text-align: center; padding: 14px 20px; font-size: 1rem; margin-bottom: 1.5rem; white-space: normal; }

.air-trigger--footer { margin-top: 0.85rem; }

/* ===== Modal ===== */
.air-modal { position: fixed; inset: 0; z-index: 100000; }
.air-modal[hidden] { display: none; }
.air-modal *, .air-modal *::before, .air-modal *::after { box-sizing: border-box; }
.air-modal__backdrop { position: absolute; inset: 0; background: rgba(28, 12, 66, 0.62); }
.air-modal__panel {
  position: relative; background: #fff; width: 100%; height: 100%;
  overflow-y: auto; -webkit-overflow-scrolling: touch; outline: none;
}
.air-modal__close {
  position: absolute; top: 12px; right: 14px; z-index: 2; border: 0; cursor: pointer;
  width: 40px; height: 40px; border-radius: 50%; background: #f1edfb; color: #351c72;
  font-size: 1.6rem; line-height: 1; padding: 0; transition: background .15s ease;
}
.air-modal__close:hover { background: #e4dcf8; }
.air-modal__body { padding: 10px 0 32px; }
body.air-modal-open { overflow: hidden; }

/* Desktop: centred card instead of a full-screen sheet. */
@media (min-width: 768px) {
  .air-modal { display: flex; align-items: center; justify-content: center; padding: 24px; }
  .air-modal__panel {
    width: 100%; max-width: 660px; height: auto; max-height: 90vh;
    border-radius: 20px; box-shadow: 0 24px 60px rgba(28, 12, 66, 0.35);
  }
}
