.arl-md {
  --arl-bg: #111111;
  --arl-bg-soft: #171717;
  --arl-bg-soft-2: #1d1d1d;
  --arl-yellow: #F9C80E;
  --arl-text: #A7A7A7;
  --arl-white: #FFFFFF;
  --arl-navy: #0A1F33;
  --arl-border: #353535;
  --arl-red: #D4504C;
  --arl-green: #79c69d;
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--arl-text);
  font-family: inherit;
}

.arl-md,
.arl-md * {
  box-sizing: border-box;
}

.arl-md [hidden] {
  display: none !important;
}

.arl-md__shell {
  width: 100%;
  background: var(--arl-bg);
  padding: 24px 22px 34px;
}

.arl-md__appbar {
  display: none;
}

.arl-md__kicker,
.arl-md__capture-kicker {
  margin-bottom: 10px;
  color: var(--arl-yellow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.arl-md__title,
.arl-md__question {
  color: var(--arl-text);
  font-weight: 800;
  line-height: 1.12;
}

.arl-md__title {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 46px);
}

.arl-md__lead,
.arl-md__copy,
.arl-md__help {
  max-width: 1100px;
  line-height: 1.6;
}

.arl-md__lead {
  margin: 0 0 24px;
  color: #999;
  font-size: 18px;
}

.arl-md__copy {
  margin: 0 0 26px;
  font-size: 17px;
}

.arl-md__help {
  margin: 0 0 26px;
  color: #8e8e8e;
  font-size: 15px;
}

.arl-md__divider {
  width: 100%;
  height: 2px;
  margin: 20px 0 42px;
  background: var(--arl-yellow);
}

.arl-md__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 21px;
  border: 1px solid var(--arl-yellow);
  border-radius: 7px;
  background: transparent;
  color: var(--arl-text);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, opacity .15s ease;
}

.arl-md__btn:hover {
  background: var(--arl-yellow);
  color: var(--arl-navy);
  text-decoration: none;
}

.arl-md__btn:disabled {
  cursor: default;
  opacity: .58;
}

.arl-md__btn--primary {
  background: var(--arl-yellow);
  color: var(--arl-navy);
}

.arl-md__btn--secondary {
  border-color: #555;
}

.arl-md__progress-wrap {
  margin: 0 0 44px;
}

.arl-md__progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 9px;
  color: #8d8d8d;
  font-size: 13px;
  font-weight: 700;
}

.arl-md__progress-track {
  height: 5px;
  overflow: hidden;
  background: #303030;
}

.arl-md__progress-bar {
  width: 0;
  height: 100%;
  background: var(--arl-yellow);
  transition: width .2s ease;
}

.arl-md__step {
  display: none;
}

.arl-md__step.is-active {
  display: block;
}

.arl-md__number {
  margin-bottom: 8px;
  color: var(--arl-yellow);
  font-size: 14px;
  font-weight: 800;
}

.arl-md__question {
  margin: 0 0 10px;
  font-size: clamp(28px, 3.2vw, 38px);
}

.arl-md__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.arl-md__option {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 13px 18px;
  border: 1px solid var(--arl-yellow);
  border-radius: 7px;
  background: transparent;
  color: var(--arl-text);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .1s ease;
}

.arl-md__option:hover {
  background: #191919;
}

.arl-md__option.is-selected {
  background: var(--arl-yellow);
  color: var(--arl-navy);
}

.arl-md__field-block {
  max-width: 900px;
}

.arl-md__grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 900px;
}

.arl-md__label {
  display: block;
  color: var(--arl-text);
  font-size: 15px;
  font-weight: 700;
}

.arl-md__field {
  display: block;
  width: 100%;
  min-height: 62px;
  margin-top: 8px;
  padding: 13px 15px;
  border: 1px solid #cfcfcf;
  border-radius: 7px;
  background: #fff;
  color: #10243b;
  font: inherit;
  font-size: 17px;
  font-weight: 600;
}

.arl-md__field:focus {
  border-color: var(--arl-yellow);
  outline: 3px solid rgba(249, 200, 14, .25);
}

.arl-md__check,
.arl-md__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
}

.arl-md__check {
  margin-top: 16px;
  font-size: 14px;
}

.arl-md__error {
  display: none;
  max-width: 900px;
  margin-top: 22px;
  padding: 13px 15px;
  border-left: 4px solid var(--arl-red);
  background: rgba(212, 80, 76, .10);
  color: #d9928e;
  font-size: 14px;
}

.arl-md__nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 42px;
  padding-top: 25px;
  border-top: 1px solid #303030;
}

.arl-md__result-head {
  padding: 30px;
  border-left: 6px solid var(--arl-yellow);
  background: #151515;
}

.arl-md__result-head h2 {
  margin: 0 0 7px;
  color: var(--arl-white);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
}

.arl-md__result-head p {
  max-width: 1000px;
  margin: 0;
  color: #aaa;
  font-size: 16px;
  line-height: 1.65;
}

.arl-md__result-type {
  margin-bottom: 18px;
  color: var(--arl-yellow);
  font-size: 19px;
  font-weight: 800;
}

.arl-md__metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
  margin: 22px 0;
}

.arl-md__metric {
  min-height: 116px;
  padding: 17px;
  border: 1px solid #343434;
  background: #151515;
}

.arl-md__metric span {
  display: block;
  margin-bottom: 11px;
  color: #777;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.arl-md__metric strong {
  color: var(--arl-white);
  font-size: 17px;
  line-height: 1.3;
}

.arl-md__priority {
  margin-top: 24px;
  padding: 20px 22px;
  border-left: 5px solid var(--arl-yellow);
  background: rgba(249, 200, 14, .08);
}

.arl-md__priority span {
  display: block;
  margin-bottom: 6px;
  color: var(--arl-yellow);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.arl-md__priority strong {
  color: #c3c3c3;
  font-size: 16px;
  line-height: 1.5;
}

.arl-md__capture {
  margin-top: 30px;
  padding: 25px;
  border: 1px solid var(--arl-border);
  border-top: 4px solid var(--arl-yellow);
  border-radius: 7px;
  background: var(--arl-bg-soft);
}

.arl-md__capture h3 {
  margin: 0 0 8px;
  color: var(--arl-white);
  font-size: 25px;
  line-height: 1.2;
}

.arl-md__capture > p {
  max-width: 820px;
  margin: 0 0 18px;
  color: #969696;
  font-size: 15px;
  line-height: 1.55;
}

.arl-md__capture-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 860px;
}

.arl-md__capture-email {
  margin-top: 0;
}

.arl-md__consent {
  max-width: 860px;
  margin-top: 14px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.45;
}

.arl-md__consent input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.arl-md__privacy {
  max-width: 860px !important;
  margin: 11px 0 0 !important;
  color: #707070 !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

.arl-md__privacy a {
  color: #a7a7a7;
  text-decoration: underline;
}

.arl-md__lead-status {
  display: none;
  max-width: 860px;
  margin-top: 14px;
  padding: 11px 13px;
  border-left: 4px solid #666;
  background: #121212;
  font-size: 13px;
  line-height: 1.45;
}

.arl-md__lead-status:not(:empty) {
  display: block;
}

.arl-md__lead-status.is-success {
  border-left-color: var(--arl-green);
  color: #a8dabd;
}

.arl-md__lead-status.is-warning {
  border-left-color: var(--arl-yellow);
  color: #d9c66c;
}

.arl-md__lead-status.is-error {
  border-left-color: var(--arl-red);
  color: #d9928e;
}

.arl-md__next {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #303030;
}

.arl-md__next-label {
  display: block;
  margin-bottom: 12px;
  color: #777;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.arl-md__next-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.arl-md__hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.arl-md__sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.arl-md-body-lock {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden !important;
}

@media (max-width: 900px) {
  .arl-md__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .arl-md__shell {
    padding: 20px 16px 28px;
  }

  .arl-md__divider {
    margin-bottom: 32px;
  }

  .arl-md__options {
    display: grid;
    grid-template-columns: 1fr;
  }

  .arl-md__option {
    width: 100%;
    min-height: 60px;
    justify-content: flex-start;
    padding: 15px 16px;
    text-align: left;
    white-space: normal;
  }

  .arl-md__grid-2,
  .arl-md__capture-row {
    grid-template-columns: 1fr;
  }

  .arl-md__metrics {
    grid-template-columns: 1fr 1fr;
  }

  .arl-md__nav .arl-md__btn,
  .arl-md__next-actions .arl-md__btn,
  .arl-md__capture-row .arl-md__btn {
    width: 100%;
  }

  .arl-md__next-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .arl-md__capture {
    padding: 21px 17px;
  }

  /* App-like fullscreen mode starts only after the user taps Start. */
  .arl-md.is-mobile-app {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    width: 100vw;
    height: 100dvh;
    margin: 0;
    background: var(--arl-bg);
    overflow: hidden;
    overscroll-behavior: none;
  }

  .arl-md.is-mobile-app .arl-md__appbar {
    display: flex;
    position: relative;
    z-index: 3;
    align-items: center;
    justify-content: space-between;
    min-height: calc(54px + env(safe-area-inset-top));
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
    border-bottom: 1px solid #2a2a2a;
    background: #0d0d0d;
  }

  .arl-md__appbrand {
    color: var(--arl-yellow);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .10em;
  }

  .arl-md__appclose {
    appearance: none;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #3b3b3b;
    border-radius: 50%;
    background: transparent;
    color: #c7c7c7;
    font: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
  }

  .arl-md.is-mobile-app .arl-md__shell {
    height: calc(100dvh - 54px - env(safe-area-inset-top));
    padding: 0;
    overflow: hidden;
    background: var(--arl-bg);
  }

  .arl-md.is-mobile-app .arl-md__quiz:not([hidden]) {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
  }

  .arl-md.is-mobile-app .arl-md__progress-wrap {
    flex: 0 0 auto;
    margin: 0;
    padding: 14px 18px 0;
    background: var(--arl-bg);
  }

  .arl-md.is-mobile-app .arl-md__progress-meta {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .arl-md.is-mobile-app .arl-md__progress-track {
    height: 4px;
  }

  .arl-md.is-mobile-app .arl-md__step.is-active {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 26px 18px 28px;
    overscroll-behavior-y: contain;
  }

  .arl-md.is-mobile-app .arl-md__number {
    margin-bottom: 10px;
    font-size: 12px;
  }

  .arl-md.is-mobile-app .arl-md__question {
    max-width: 680px;
    margin-bottom: 12px;
    color: #d0d0d0;
    font-size: clamp(27px, 7.4vw, 34px);
    line-height: 1.08;
  }

  .arl-md.is-mobile-app .arl-md__help {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
  }

  .arl-md.is-mobile-app .arl-md__option {
    min-height: 62px;
    border-radius: 8px;
    background: #141414;
    color: #b7b7b7;
    font-size: 15px;
    line-height: 1.35;
  }

  .arl-md.is-mobile-app .arl-md__option.is-selected {
    background: var(--arl-yellow);
    color: var(--arl-navy);
  }

  .arl-md.is-mobile-app .arl-md__field-block,
  .arl-md.is-mobile-app .arl-md__grid-2 {
    max-width: none;
  }

  .arl-md.is-mobile-app .arl-md__field {
    min-height: 58px;
    border-radius: 8px;
    font-size: 16px;
  }

  .arl-md.is-mobile-app .arl-md__error {
    flex: 0 0 auto;
    max-width: none;
    margin: 0 18px 10px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .arl-md.is-mobile-app .arl-md__nav {
    flex: 0 0 auto;
    margin: 0;
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #2c2c2c;
    background: rgba(13, 13, 13, .98);
  }

  .arl-md.is-mobile-app .arl-md__nav .arl-md__btn {
    min-height: 52px;
    font-size: 14px;
  }

  .arl-md.is-mobile-app .arl-md__results:not([hidden]) {
    display: block;
    height: 100%;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 22px 16px calc(28px + env(safe-area-inset-bottom));
    overscroll-behavior-y: contain;
  }

  .arl-md.is-mobile-app .arl-md__result-head {
    padding: 22px 18px;
  }

  .arl-md.is-mobile-app .arl-md__result-head h2 {
    font-size: 31px;
  }

  .arl-md.is-mobile-app .arl-md__metrics {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .arl-md.is-mobile-app .arl-md__metric {
    min-height: 102px;
    padding: 14px;
  }

  .arl-md.is-mobile-app .arl-md__capture {
    margin-top: 24px;
  }
}

@media (max-width: 390px) {
  .arl-md__metrics,
  .arl-md.is-mobile-app .arl-md__metrics {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   v0.4.0 mobile app refinements
   ========================================================= */
@media (max-width: 782px) {
  .arl-md.is-mobile-app {
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    isolation: isolate;
  }

  .arl-md.is-mobile-app .arl-md__appbar {
    min-height: calc(58px + env(safe-area-inset-top));
    padding: calc(10px + env(safe-area-inset-top)) 16px 10px;
    border-bottom: 1px solid #252525;
    box-shadow: 0 8px 28px rgba(0,0,0,.18);
  }

  .arl-md.is-mobile-app .arl-md__appbrand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d6d6d6;
    font-size: 10px;
    letter-spacing: .11em;
  }

  .arl-md.is-mobile-app .arl-md__appbrand::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--arl-yellow);
    box-shadow: 0 0 0 4px rgba(249,200,14,.10);
  }

  .arl-md.is-mobile-app .arl-md__appclose {
    width: 36px;
    height: 36px;
    border-color: #323232;
    background: #151515;
    font-size: 22px;
  }

  .arl-md.is-mobile-app .arl-md__shell {
    height: calc(100dvh - 58px - env(safe-area-inset-top));
  }

  .arl-md.is-mobile-app .arl-md__progress-wrap {
    padding: 13px 18px 0;
  }

  .arl-md.is-mobile-app .arl-md__progress-meta {
    color: #858585;
    font-variant-numeric: tabular-nums;
  }

  .arl-md.is-mobile-app .arl-md__step.is-active {
    padding: 28px 18px 30px;
    scrollbar-width: thin;
  }

  .arl-md.is-mobile-app .arl-md__question {
    max-width: 620px;
    color: #e0e0e0;
    font-size: clamp(27px, 7.1vw, 34px);
    letter-spacing: -.02em;
  }

  .arl-md.is-mobile-app .arl-md__help {
    max-width: 620px;
    color: #8f8f8f;
  }

  .arl-md.is-mobile-app .arl-md__options {
    gap: 10px;
  }

  .arl-md.is-mobile-app .arl-md__option {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 62px;
    padding: 16px;
    border-color: #383838;
    border-radius: 9px;
    background: #151515;
    color: #c1c1c1;
    text-align: left !important;
    white-space: normal;
    box-shadow: 0 1px 0 rgba(255,255,255,.015) inset;
  }

  .arl-md.is-mobile-app .arl-md__option::before {
    content: "";
    flex: 0 0 19px;
    width: 19px;
    height: 19px;
    margin-top: 1px;
    border: 2px solid #5b5b5b;
    border-radius: 50%;
    background: transparent;
  }

  .arl-md.is-mobile-app .arl-md__option:hover {
    border-color: #575757;
    background: #181818;
  }

  .arl-md.is-mobile-app .arl-md__option.is-selected {
    border-color: var(--arl-yellow);
    background: var(--arl-yellow);
    color: var(--arl-navy);
    font-weight: 800;
  }

  .arl-md.is-mobile-app .arl-md__option.is-selected::before {
    border-color: var(--arl-navy);
    background: var(--arl-navy);
    box-shadow: inset 0 0 0 4px var(--arl-yellow);
  }

  .arl-md.is-mobile-app .arl-md__field {
    min-height: 60px;
    border: 0;
    border-radius: 9px;
    box-shadow: 0 0 0 1px #d3d3d3 inset;
  }

  .arl-md.is-mobile-app .arl-md__field:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--arl-yellow);
  }

  .arl-md.is-mobile-app .arl-md__nav {
    display: grid;
    grid-template-columns: minmax(96px, .42fr) minmax(0, 1fr);
    gap: 10px;
    padding: 11px 18px calc(11px + env(safe-area-inset-bottom));
    box-shadow: 0 -12px 34px rgba(0,0,0,.24);
  }

  .arl-md.is-mobile-app .arl-md__nav .arl-md__btn {
    width: 100%;
    min-height: 54px;
    padding: 12px 14px;
    border-radius: 8px;
  }

  .arl-md.is-mobile-app .arl-md__nav .arl-md__btn--secondary {
    border-color: #454545;
    background: #161616;
  }

  .arl-md.is-mobile-app .arl-md__results:not([hidden]) {
    padding: 22px 16px calc(34px + env(safe-area-inset-bottom));
  }

  .arl-md.is-mobile-app .arl-md__result-head {
    border-left-width: 4px;
    border-radius: 0 8px 8px 0;
  }

  .arl-md.is-mobile-app .arl-md__capture {
    border-radius: 9px;
  }

  .arl-md.is-mobile-app .arl-md__consent {
    align-items: flex-start;
    gap: 10px;
  }

  .arl-md.is-mobile-app .arl-md__consent input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
  }
}

@media (max-width: 360px) {
  .arl-md.is-mobile-app .arl-md__step.is-active {
    padding-left: 15px;
    padding-right: 15px;
  }

  .arl-md.is-mobile-app .arl-md__progress-wrap,
  .arl-md.is-mobile-app .arl-md__nav {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* =========================================================
   v0.5.0 multi-survey UI + mobile app refinements
   ========================================================= */

.arl-md__questions {
  min-width: 0;
}

.arl-md__option > span {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left;
}

.arl-md__secondary-priority {
  margin: 12px 0 0;
  color: #8d8d8d;
  font-size: 14px;
  line-height: 1.5;
}

.arl-md__method {
  margin-top: 18px;
  border: 1px solid #303030;
  border-radius: 7px;
  background: #141414;
}

.arl-md__method summary {
  position: relative;
  padding: 16px 44px 16px 18px;
  color: #b9b9b9;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.arl-md__method summary::-webkit-details-marker {
  display: none;
}

.arl-md__method summary::after {
  content: "+";
  position: absolute;
  right: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--arl-yellow);
  font-size: 22px;
  font-weight: 400;
}

.arl-md__method[open] summary::after {
  content: "−";
}

.arl-md__method > div {
  padding: 0 18px 16px;
}

.arl-md__method p {
  max-width: 1000px;
  margin: 0 0 10px;
  color: #818181;
  font-size: 13px;
  line-height: 1.55;
}

.arl-md__method p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   v0.6.0 Functional recommendation cards
   Used by the shoe rotation and race match surveys.
   ========================================================= */
.arl-md__recommendations {
  margin: 24px 0 22px;
}

.arl-md__rec-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.arl-md__rec-head > span {
  color: var(--arl-yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.arl-md__rec-head > strong {
  color: var(--arl-white);
  font-size: 14px;
  line-height: 1.35;
  text-align: right;
}

.arl-md__rec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}

.arl-md__rec {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px;
  border: 1px solid var(--arl-border);
  border-top: 3px solid var(--arl-yellow);
  border-radius: 7px;
  background: var(--arl-bg-soft);
}

.arl-md__rec-eyebrow {
  display: block;
  margin-bottom: 7px;
  color: #7f7f7f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.arl-md__rec h3 {
  margin: 0 0 8px;
  color: var(--arl-white);
  font-size: 19px;
  line-height: 1.2;
  font-weight: 800;
}

.arl-md__rec p {
  margin: 0 0 12px;
  color: var(--arl-text);
  font-size: 14px;
  line-height: 1.55;
}

.arl-md__rec-examples {
  margin: 2px 0 14px;
  padding-top: 11px;
  border-top: 1px solid #2a2a2a;
}

.arl-md__rec-examples > span {
  display: block;
  margin-bottom: 6px;
  color: #777;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.arl-md__rec-examples ul {
  margin: 0;
  padding-left: 17px;
  color: #d2d2d2;
  font-size: 13px;
  line-height: 1.5;
}

.arl-md__rec-examples li + li {
  margin-top: 3px;
}

.arl-md__rec-link {
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  color: var(--arl-yellow) !important;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 900;
  text-decoration: none !important;
}

.arl-md__rec-link:hover {
  text-decoration: underline !important;
}

/* Related survey and hub cards */
.arl-survey-nav {
  --arl-yellow: #F9C80E;
  --arl-navy: #0A1F33;
  --arl-card: #151515;
  --arl-border: #303030;
  --arl-white: #FFFFFF;
  --arl-muted: #8f8f8f;
  width: 100%;
  margin: 48px 0 0;
  padding-top: 34px;
  border-top: 2px solid var(--arl-yellow);
  font-family: inherit;
}

.arl-survey-nav,
.arl-survey-nav * {
  box-sizing: border-box;
}

.arl-survey-nav__head {
  max-width: 900px;
  margin-bottom: 22px;
}

.arl-survey-nav__head > span {
  display: block;
  margin-bottom: 8px;
  color: var(--arl-yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.arl-survey-nav__head h2 {
  margin: 0 0 8px;
  color: #cfcfcf;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.12;
  font-weight: 800;
}

.arl-survey-nav__head p {
  margin: 0;
  color: var(--arl-muted);
  font-size: 15px;
  line-height: 1.55;
}

.arl-survey-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.arl-survey-nav--hub .arl-survey-nav__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.arl-survey-nav__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--arl-border);
  border-radius: 7px;
  background: var(--arl-card);
  color: inherit;
  text-decoration: none !important;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.arl-survey-nav__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--arl-yellow);
  opacity: .92;
}

.arl-survey-nav__card:hover {
  transform: translateY(-2px);
  border-color: var(--arl-yellow);
  background: #191919;
}

.arl-survey-nav__eyebrow {
  display: block;
  margin-bottom: 10px;
  color: #747474;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.arl-survey-nav__card strong {
  display: block;
  margin-bottom: 9px;
  color: var(--arl-white);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 800;
}

.arl-survey-nav__card p {
  flex: 1 1 auto;
  margin: 0 0 18px;
  color: var(--arl-muted);
  font-size: 14px;
  line-height: 1.5;
}

.arl-survey-nav__arrow {
  display: block;
  margin-top: auto;
  color: var(--arl-yellow);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .arl-survey-nav__grid,
  .arl-survey-nav--hub .arl-survey-nav__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .arl-survey-nav__grid,
  .arl-survey-nav--hub .arl-survey-nav__grid {
    grid-template-columns: 1fr;
  }

  .arl-survey-nav__card {
    min-height: 0;
  }

  .arl-md__rec-head {
    display: block;
  }

  .arl-md__rec-head > strong {
    display: block;
    margin-top: 5px;
    text-align: left;
  }

  .arl-md__rec-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  /* Generic renderer wraps the active step in .arl-md__questions. */
  .arl-md.is-mobile-app .arl-md__questions {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
  }

  .arl-md.is-mobile-app .arl-md__step.is-active {
    display: block;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 26px 18px 30px;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-y: contain;
  }

  .arl-md.is-mobile-app .arl-md__option {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left !important;
  }

  .arl-md.is-mobile-app .arl-md__option > span {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 1px;
    text-align: left !important;
  }

  .arl-md.is-mobile-app .arl-md__label {
    color: #b5b5b5;
    font-size: 14px;
  }

  .arl-md.is-mobile-app select.arl-md__field,
  .arl-md.is-mobile-app input.arl-md__field {
    font-size: 16px !important;
  }

  .arl-md.is-mobile-app .arl-md__conditional {
    margin-top: 16px;
  }

  .arl-md.is-mobile-app .arl-md__results:not([hidden]) {
    padding-top: 18px;
  }

  .arl-md.is-mobile-app .arl-md__method {
    margin-top: 14px;
  }

  .arl-md.is-mobile-app .arl-md__capture {
    border-radius: 9px;
  }

  .arl-survey-nav {
    margin-top: 38px;
    padding-top: 28px;
  }

  .arl-survey-nav__card {
    padding: 19px;
  }
}

/* Generic metric count: some surveys expose five dimensions, readiness exposes six. */
@media (min-width: 901px) {
  .arl-md__metrics {
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  }
}

/* =========================================================
   v0.5.2 Blocksy desktop container integration
   Keep ARL surveys aligned with Blocksy's normal page content width.
   Mobile fullscreen mode remains unchanged.
   ========================================================= */
@media (min-width: 783px) {
  .arl-md {
    width: var(--theme-container-width, calc(100% - 60px));
    max-width: var(--theme-normal-container-max-width, 1290px);
    margin-left: auto;
    margin-right: auto;
  }

  .arl-md__shell {
    padding-left: 0;
    padding-right: 0;
  }
}

