.mentor-application {
  --ma-night: #071b2c;
  --ma-ink: #152c3b;
  --ma-muted: #72818a;
  --ma-line: #dce5e5;
  --ma-orange: #ed7041;
  --ma-teal: #177c78;
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 5.75rem 1.5rem 4rem;
  color: var(--ma-ink);
  background: radial-gradient(ellipse at 6% 12%, rgba(237,112,65,.12), transparent 28rem), radial-gradient(ellipse at 92% 90%, rgba(23,124,120,.12), transparent 30rem), #f2f5f2;
  font-family: 'Inter', sans-serif;
}
.mentor-application__grain { position: absolute; inset: 0; pointer-events: none; opacity: .17; background-image: radial-gradient(#627a78 .55px, transparent .55px); background-size: 7px 7px; mask-image: linear-gradient(130deg, #000, transparent 75%); }
.mentor-application__layout { position: relative; display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.25fr); width: min(1080px, 100%); min-height: 660px; margin: 0 auto; border: 1px solid rgba(7,27,44,.13); background: #fff; box-shadow: 0 28px 70px rgba(7,27,44,.12); animation: maRise .55s ease both; }
.mentor-application__intro { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem clamp(1.5rem, 3vw, 2.65rem); color: #fff; background: radial-gradient(ellipse at 10% 90%, rgba(23,124,120,.35), transparent 20rem), linear-gradient(155deg, #102d3b, #071b2c 72%); }
.mentor-application__back { display: inline-flex; width: fit-content; align-items: center; gap: .5rem; color: #c4d1d4; font-size: .72rem; font-weight: 650; text-decoration: none; }
.mentor-application__back:hover { color: #fff; }
.mentor-application__back svg { width: 15px; height: 15px; }
.mentor-application__intro-copy { margin: auto 0; padding: 3rem 0; }
.mentor-application__eyebrow { display: inline-flex; align-items: center; gap: .5rem; color: #f7b08e; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mentor-application__eyebrow i { width: 7px; height: 7px; background: var(--ma-orange); }
.mentor-application__intro h1 { margin: 1rem 0 .8rem; color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 700; line-height: 1.03; }
.mentor-application__intro h1 span { color: #f08b5d; }
.mentor-application__intro-copy > p { max-width: 340px; color: #b6c5c8; font-size: .82rem; line-height: 1.75; }
.mentor-application__aside-note { display: grid; grid-template-columns: 35px 1fr; gap: .75rem; align-items: start; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.14); }
.mentor-application__note-mark { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(255,255,255,.22); color: #f5a27d; font-family: 'Space Grotesk', sans-serif; font-size: .62rem; font-weight: 700; }
.mentor-application__aside-note p { color: #aebfc2; font-size: .68rem; line-height: 1.6; }
.mentor-application__aside-note strong { color: #f4f7f6; font-size: .72rem; }
.mentor-form-shell { display: flex; min-width: 0; flex-direction: column; padding: clamp(1.4rem, 3vw, 2.7rem) clamp(1.35rem, 4vw, 3.7rem) 1.5rem; }
.mentor-form-shell__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.mentor-form-shell__kicker { display: block; color: var(--ma-teal); font-size: .59rem; font-weight: 850; letter-spacing: .13em; }
.mentor-form-shell__top h2 { margin-top: .35rem; color: var(--ma-night); font-family: 'Space Grotesk', sans-serif; font-size: 1.55rem; line-height: 1.15; }
.mentor-form-shell__time { display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .6rem; border: 1px solid var(--ma-line); color: #62737b; font-size: .63rem; white-space: nowrap; }
.mentor-form-shell__time svg { width: 14px; height: 14px; color: var(--ma-teal); }
.mentor-progress { margin: 1.4rem 0 1.6rem; }
.mentor-progress__meta { display: flex; justify-content: space-between; margin-bottom: .5rem; color: #6c7d82; font-size: .59rem; font-weight: 750; letter-spacing: .06em; }
.mentor-progress__track { height: 3px; background: #e8eded; }
.mentor-progress__track span { display: block; width: 14.285%; height: 100%; background: linear-gradient(90deg, var(--ma-teal), var(--ma-orange)); transition: width .3s ease; }
#mentorApplicationForm { display: flex; min-height: 0; flex: 1; flex-direction: column; }
#mentorApplicationForm[hidden] { display: none; }
.mentor-step { animation: maStepIn .25s ease both; }
.mentor-step[hidden] { display: none; }
.mentor-step__number { display: block; margin-bottom: .55rem; color: var(--ma-orange); font-family: 'Space Grotesk', sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .11em; }
.mentor-step h3, .mentor-complete h3 { max-width: 540px; color: var(--ma-night); font-family: 'Space Grotesk', sans-serif; font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 700; line-height: 1.15; }
.mentor-step__description { margin: .45rem 0 1.3rem; color: var(--ma-muted); font-size: .75rem; line-height: 1.6; }
.mentor-welcome-note { display: flex; gap: .75rem; align-items: center; margin: .2rem 0 1.15rem; padding: .85rem; border-left: 2px solid var(--ma-orange); background: #fff5f0; }
.mentor-welcome-note > span { color: var(--ma-orange); font-size: 1.2rem; }
.mentor-welcome-note p { color: #596b72; font-size: .7rem; line-height: 1.5; }
.mentor-fields-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem .9rem; }
.mentor-field { min-width: 0; margin-bottom: .9rem; }
.mentor-field--wide { grid-column: 1 / -1; }
.mentor-field label, .mentor-label { display: block; margin-bottom: .38rem; color: #314953; font-size: .67rem; font-weight: 750; line-height: 1.45; }
.mentor-field label b, .mentor-consent b { color: var(--ma-orange); }
.mentor-field input, .mentor-field select, .mentor-field textarea { width: 100%; min-height: 43px; padding: .65rem .75rem; border: 1px solid #d5dfdf; border-radius: 2px; outline: 0; background: #fbfcfb; color: var(--ma-ink); font: 400 .72rem 'Inter', sans-serif; transition: border-color .18s, box-shadow .18s, background .18s; }
.mentor-field textarea { min-height: 92px; resize: vertical; line-height: 1.55; }
.mentor-field input::placeholder, .mentor-field textarea::placeholder { color: #9aa8aa; }
.mentor-field input:focus, .mentor-field select:focus, .mentor-field textarea:focus { border-color: var(--ma-teal); background: #fff; box-shadow: 0 0 0 3px rgba(23,124,120,.1); }
.mentor-field [aria-invalid="true"] { border-color: #bd473a; }
.mentor-choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; border: 0; }
.mentor-choice { position: relative; cursor: pointer; }
.mentor-choice input, .mentor-request-type input { position: absolute; opacity: 0; }
.mentor-choice > span { display: grid; min-height: 73px; grid-template-columns: 27px 1fr; align-content: center; column-gap: .55rem; padding: .7rem; border: 1px solid #dce4e3; background: #fbfcfb; transition: border-color .18s, background .18s; }
.mentor-choice i { grid-row: 1 / 3; align-self: center; color: #a5b2b0; font: normal 700 .57rem 'Space Grotesk', sans-serif; }
.mentor-choice strong { color: #243e47; font-size: .7rem; }
.mentor-choice small { margin-top: .2rem; color: #829092; font-size: .6rem; }
.mentor-choice input:checked + span { border-color: var(--ma-teal); background: #eff8f5; box-shadow: inset 3px 0 var(--ma-teal); }
.mentor-choice input:focus-visible + span, .mentor-request-type input:focus-visible + span { outline: 2px solid var(--ma-orange); outline-offset: 2px; }
.mentor-option-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.mentor-option-row label { position: relative; cursor: pointer; }
.mentor-option-row input { position: absolute; opacity: 0; }
.mentor-option-row span { display: block; padding: .62rem .8rem; border: 1px solid #d5dfdf; background: #fbfcfb; color: #52666d; font-size: .66rem; }
.mentor-option-row input:checked + span { border-color: var(--ma-teal); background: #eff8f5; color: #145e5a; }
.mentor-request-types { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem; margin-bottom: 1rem; }
.mentor-request-type { position: relative; display: flex; min-height: 135px; flex-direction: column; align-items: flex-start; padding: .9rem; border: 1px solid #dce4e3; background: #fbfcfb; cursor: pointer; }
.mentor-request-type:has(input:checked) { border-color: var(--ma-teal); background: #eff8f5; box-shadow: inset 0 3px var(--ma-teal); }
.mentor-request-type__icon { display: grid; width: 28px; height: 28px; place-items: center; margin-bottom: .55rem; background: #e5efed; color: var(--ma-teal); font-size: .9rem; }
.mentor-request-type strong { color: #243e47; font-size: .72rem; }
.mentor-request-type small { margin-top: .25rem; color: #7b8a8c; font-size: .62rem; line-height: 1.45; }
.mentor-start-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem; }
.mentor-start-options label { position: relative; cursor: pointer; }
.mentor-start-options input { position: absolute; opacity: 0; }
.mentor-start-options span { display: flex; min-height: 58px; align-items: center; padding: .75rem; border: 1px solid #dce4e3; background: #fbfcfb; color: #52666d; font-size: .68rem; transition: border-color .18s, background .18s; }
.mentor-start-options input:checked + span { border-color: var(--ma-teal); background: #eff8f5; color: #145e5a; }
.mentor-start-options input:focus-visible + span { outline: 2px solid var(--ma-orange); outline-offset: 2px; }
.mentor-review { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; max-height: 190px; overflow: auto; margin: 1rem 0; padding: .8rem; border: 1px solid #e0e8e7; background: #fafcfb; }
.mentor-review__item { min-width: 0; }
.mentor-review__item--wide { grid-column: 1 / -1; }
.mentor-review__item small { display: block; margin-bottom: .15rem; color: #879494; font-size: .57rem; }
.mentor-review__item strong { display: block; overflow-wrap: anywhere; color: #304950; font-size: .65rem; font-weight: 650; }
.mentor-consent { display: flex; align-items: flex-start; gap: .55rem; color: #5c6c70; font-size: .64rem; line-height: 1.55; cursor: pointer; }
.mentor-consent input { width: 15px; height: 15px; margin-top: 2px; flex: 0 0 auto; accent-color: var(--ma-teal); }
.mentor-preview-note { margin-top: .75rem; color: #849191; font-size: .58rem; }
.mentor-server-errors { margin-top: 1.1rem; padding: .8rem 1rem; border: 1px solid #e6b5ad; background: #fff5f2; color: #903c2e; font-size: .68rem; line-height: 1.5; }
.mentor-server-errors ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.mentor-inline-error { display: none; margin-top: .5rem; color: #b43e34; font-size: .63rem; }
.mentor-inline-error.is-visible { display: block; }
.mentor-form-error { min-height: 1rem; margin-top: .4rem; color: #b43e34; font-size: .65rem; }
.mentor-form-actions { display: flex; align-items: center; justify-content: space-between; gap: .7rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid #e7eceb; }
.mentor-back-button, .mentor-next-button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: .55rem; padding: 0 1rem; border: 1px solid transparent; border-radius: 2px; font: 750 .68rem 'Inter', sans-serif; cursor: pointer; transition: background .18s, transform .18s; }
.mentor-back-button { background: transparent; color: #62737a; }
.mentor-back-button:hover { color: var(--ma-night); background: #f2f5f4; }
.mentor-next-button { margin-left: auto; background: var(--ma-night); color: #fff; }
.mentor-next-button:hover { background: var(--ma-teal); transform: translateY(-1px); }
.mentor-next-button:disabled { opacity: .68; cursor: wait; }
.mentor-back-button svg, .mentor-next-button svg { width: 15px; height: 15px; }
.mentor-back-button[hidden] { display: none; }
.mentor-complete { padding: 3rem 0; text-align: center; }
.mentor-complete > span { display: grid; width: 48px; height: 48px; place-items: center; margin: 0 auto 1rem; background: #e8f4ef; color: var(--ma-teal); font-size: 1.5rem; }
.mentor-complete h3 { margin: .45rem 0; }
.mentor-complete > p:not(.mentor-form-shell__kicker) { margin: .5rem 0 1.2rem; color: var(--ma-muted); font-size: .72rem; }
.mentor-complete a { color: var(--ma-teal); font-size: .7rem; font-weight: 750; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
@keyframes maRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes maStepIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .mentor-application { padding: 4.8rem .75rem 2.5rem; }
  .mentor-application__layout { grid-template-columns: 1fr; }
  .mentor-application__intro { min-height: 220px; padding: 1.2rem 1.35rem; }
  .mentor-application__intro-copy { padding: 1.2rem 0; }
  .mentor-application__intro h1 { margin: .65rem 0 .5rem; font-size: 2rem; }
  .mentor-application__intro-copy > p { max-width: 520px; font-size: .72rem; }
  .mentor-application__aside-note { display: none; }
  .mentor-form-shell { min-height: 530px; padding: 1.35rem; }
}
@media (max-width: 480px) {
  .mentor-application { padding-right: .55rem; padding-left: .55rem; }
  .mentor-application__layout { min-height: 0; }
  .mentor-form-shell { min-height: 570px; padding: 1.1rem .9rem; }
  .mentor-form-shell__top h2 { font-size: 1.3rem; }
  .mentor-form-shell__time { padding: .38rem .45rem; font-size: .58rem; }
  .mentor-fields-grid, .mentor-choice-grid, .mentor-request-types, .mentor-start-options, .mentor-review { grid-template-columns: 1fr; }
  .mentor-field--wide, .mentor-review__item--wide { grid-column: auto; }
  .mentor-step h3 { font-size: 1.32rem; }
  .mentor-choice > span { min-height: 62px; }
  .mentor-request-type { min-height: 105px; }
}
@media (prefers-reduced-motion: reduce) {
  .mentor-application *, .mentor-application *::before, .mentor-application *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}