/* MaharatLink registration journey — role-aware, responsive and intentionally isolated. */
:root {
  --rg-ink: #10251c;
  --rg-muted: #617168;
  --rg-green: #087448;
  --rg-green-dark: #043d2b;
  --rg-green-deep: #022b1e;
  --rg-mint: #e8f4ed;
  --rg-lime: #dff36d;
  --rg-line: #d9e5dd;
  --rg-paper: #fff;
  --rg-canvas: #edf3ef;
  --rg-shadow: 0 36px 100px rgba(3, 46, 31, .17), 0 4px 18px rgba(3, 46, 31, .06);
  --rg-ease: cubic-bezier(.22, 1, .36, 1);
}

body.auth-flow-page.registration-flow-page .main-content {
  min-height: 100svh;
  background:
    radial-gradient(circle at 8% 12%, rgba(223, 243, 109, .24), transparent 24%),
    radial-gradient(circle at 92% 85%, rgba(8, 116, 72, .12), transparent 28%),
    var(--rg-canvas);
}

body.auth-flow-page.registration-flow-page .auth-flow.auth-registration-flow {
  display: grid;
  grid-template-columns: minmax(0, 1240px);
  min-height: 100svh;
  place-items: center;
  padding: 28px;
  background: transparent;
}

body.registration-flow-page .auth-registration-frame {
  width: min(100%, 1240px);
  overflow: hidden;
  background: var(--rg-paper);
  border: 1px solid rgba(8, 83, 54, .1);
  border-radius: 30px;
  box-shadow: var(--rg-shadow);
  animation: rg-frame-in .65s var(--rg-ease) both;
}

body.registration-flow-page .auth-registration-brandbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 74px;
  padding: 12px 24px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid #e6ede8;
}

body.registration-flow-page .auth-registration-brand { justify-self: start; gap: 11px; }
body.registration-flow-page .auth-registration-brand .brand-symbol {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  box-shadow: 0 9px 22px rgba(8, 116, 72, .18);
}
body.registration-flow-page .auth-registration-brand > span { gap: 0; }
body.registration-flow-page .auth-registration-brand strong { font-size: .86rem; }
body.registration-flow-page .auth-registration-brand small { font-size: .53rem; }

.auth-registration-brandbar-note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: center;
  padding: 8px 12px;
  color: #365346;
  background: #f1f7f3;
  border: 1px solid #dce9e1;
  border-radius: 999px;
  font-size: .62rem;
  font-weight: 850;
}
.auth-registration-brandbar-note i { color: var(--rg-green); }

body.registration-flow-page .auth-registration-exit {
  justify-self: end;
  min-height: 40px;
  padding: 9px 13px;
  color: #385348;
  background: #fff;
  border: 1px solid var(--rg-line);
  border-radius: 12px;
  font-size: .64rem;
  font-weight: 850;
}

body.registration-flow-page .auth-registration-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(370px, .88fr);
  min-height: 710px;
}

body.auth-flow-page.registration-flow-page .auth-flow-shell {
  display: block;
  width: 100%;
  align-self: stretch;
  padding: clamp(34px, 4vw, 58px) clamp(30px, 4.7vw, 68px) 38px;
}

body.auth-flow-page.registration-flow-page .auth-flow-card {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.registration-flow-page .auth-registration-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 34px;
  padding: 0;
}

body.registration-flow-page .auth-registration-steps::before,
body.registration-flow-page .auth-registration-steps::after {
  position: absolute;
  z-index: 0;
  top: 18px;
  right: 12.5%;
  height: 3px;
  content: "";
  border-radius: 999px;
}
body.registration-flow-page .auth-registration-steps::before { left: 12.5%; background: #e2eae5; }
body.registration-flow-page .auth-registration-steps::after {
  width: min(calc(var(--registration-progress) - 25%), 75%);
  max-width: 75%;
  background: linear-gradient(90deg, var(--rg-lime), var(--rg-green));
  transition: width .45s var(--rg-ease);
}
body.registration-flow-page .auth-registration-steps > div {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #8a978f;
}
body.registration-flow-page .auth-registration-steps > div > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: #718078;
  background: #fff;
  border: 1px solid #d8e2db;
  border-radius: 50%;
  box-shadow: 0 3px 10px rgba(6, 70, 44, .05);
  font-size: .66rem;
  font-weight: 900;
}
body.registration-flow-page .auth-registration-steps > div > small { font-size: .58rem; font-weight: 850; }
body.registration-flow-page .auth-registration-steps > div.is-current { color: var(--rg-green); }
body.registration-flow-page .auth-registration-steps > div.is-current > span {
  color: #fff;
  background: var(--rg-green);
  border-color: var(--rg-green);
  box-shadow: 0 0 0 6px rgba(8, 116, 72, .1), 0 8px 20px rgba(8, 116, 72, .18);
}
body.registration-flow-page .auth-registration-steps > div.is-complete > span { color: #075d3b; background: #dff0e7; border-color: #bcdcca; }

body.registration-flow-page .auth-registration-meta { margin-bottom: 18px; color: var(--rg-muted); }
body.registration-flow-page .auth-registration-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rg-green);
  font-size: .65rem;
  font-weight: 900;
}
body.registration-flow-page .auth-registration-meta span::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--rg-green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(8, 116, 72, .1);
}
body.registration-flow-page .auth-registration-meta bdi { padding: 6px 10px; color: #42574c; background: #eff5f1; border-radius: 999px; }

body.registration-flow-page .auth-flow-header { margin-bottom: 26px; animation: rg-rise .5s .08s var(--rg-ease) both; }
body.registration-flow-page .auth-flow-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--rg-green);
  font-size: .67rem;
  font-weight: 900;
}
body.registration-flow-page .auth-flow-header h1 {
  max-width: 630px;
  margin: 0 0 10px;
  color: var(--rg-ink);
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.13;
  letter-spacing: -.025em;
}
body.registration-flow-page .auth-flow-header p {
  max-width: 62ch;
  margin: 0;
  color: var(--rg-muted);
  font-size: .78rem;
  line-height: 1.9;
}

body.registration-flow-page .auth-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
}
body.registration-flow-page .auth-role-option {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 344px;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 22px;
  overflow: hidden;
  color: var(--rg-ink);
  background: linear-gradient(145deg, #fff, #f7faf8);
  border: 1px solid var(--rg-line);
  border-radius: 24px;
  font: inherit;
  text-align: start;
  cursor: pointer;
  isolation: isolate;
  transition: transform .22s var(--rg-ease), border-color .22s ease, box-shadow .22s ease;
  animation: rg-rise .55s .14s var(--rg-ease) both;
}
body.registration-flow-page .auth-role-option:nth-child(2) { animation-delay: .2s; }
body.registration-flow-page .auth-role-option::before,
body.registration-flow-page .auth-role-option::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
  pointer-events: none;
}
body.registration-flow-page .auth-role-option::before {
  width: 180px;
  height: 180px;
  top: -112px;
  inset-inline-end: -88px;
  border: 1px solid rgba(8, 116, 72, .12);
}
body.registration-flow-page .auth-role-option::after {
  width: 90px;
  height: 90px;
  top: -50px;
  inset-inline-end: -38px;
  background: rgba(8, 116, 72, .04);
}
body.registration-flow-page .auth-role-option:hover { transform: translateY(-6px); border-color: #82aa92; box-shadow: 0 22px 48px rgba(4, 65, 42, .13); }
body.registration-flow-page .auth-role-option:active { transform: translateY(-2px); }
body.registration-flow-page .auth-role-option:focus-visible { outline: 3px solid rgba(8, 116, 72, .25); outline-offset: 3px; }
body.registration-flow-page .auth-role-option--provider {
  color: #fff;
  background:
    radial-gradient(circle at 12% 8%, rgba(223, 243, 109, .2), transparent 32%),
    linear-gradient(145deg, var(--rg-green-deep), var(--rg-green-dark) 58%, #087048);
  border-color: transparent;
  box-shadow: 0 18px 40px rgba(3, 55, 36, .2);
}
body.registration-flow-page .auth-role-option--provider::before { border-color: rgba(223, 243, 109, .18); }
body.registration-flow-page .auth-role-option--provider::after { background: rgba(223, 243, 109, .08); }

.auth-role-number {
  position: absolute;
  top: 18px;
  inset-inline-start: 20px;
  color: rgba(6, 56, 37, .12);
  font: 900 2.2rem/1 system-ui, sans-serif;
}
.auth-role-option--provider .auth-role-number { color: rgba(255, 255, 255, .12); }
body.registration-flow-page .auth-role-badge {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  color: #173c2c;
  background: var(--rg-lime);
  border-radius: 999px;
  font-size: .56rem;
  font-weight: 900;
}
body.registration-flow-page .auth-role-option .auth-role-icon {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  place-items: center;
  margin: 34px 0 20px;
  color: var(--rg-green);
  background: var(--rg-mint);
  border-radius: 18px;
  font-size: 1.22rem;
  transition: transform .22s var(--rg-ease);
}
body.registration-flow-page .auth-role-option:hover .auth-role-icon { transform: rotate(-4deg) scale(1.06); }
body.registration-flow-page .auth-role-option--provider .auth-role-icon {
  color: var(--rg-lime);
  background: rgba(223, 243, 109, .1);
  border: 1px solid rgba(223, 243, 109, .16);
}
body.registration-flow-page .auth-role-copy { display: grid; gap: 7px; }
body.registration-flow-page .auth-role-copy > small { color: var(--rg-green); font-size: .58rem; font-weight: 900; }
body.registration-flow-page .auth-role-copy strong { color: inherit; font-size: 1.05rem; line-height: 1.35; }
body.registration-flow-page .auth-role-copy em {
  max-width: 34ch;
  color: var(--rg-muted);
  font-size: .66rem;
  font-style: normal;
  line-height: 1.75;
}
body.registration-flow-page .auth-role-option--provider .auth-role-copy > small { color: var(--rg-lime); }
body.registration-flow-page .auth-role-option--provider .auth-role-copy em { color: #c0d6ca; }

.auth-role-features { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.auth-role-features b {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  color: #3f594c;
  background: #eef5f1;
  border-radius: 999px;
  font-size: .51rem;
  font-weight: 850;
}
.auth-role-features i { color: var(--rg-green); font-size: .47rem; }
.auth-role-option--provider .auth-role-features b { color: #d9e9e0; background: rgba(255,255,255,.08); }
.auth-role-option--provider .auth-role-features i { color: var(--rg-lime); }

body.registration-flow-page .auth-role-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin-top: auto;
  padding-top: 17px;
  color: var(--rg-green);
  border-top: 1px solid rgba(8, 116, 72, .12);
  font-size: .65rem;
  font-weight: 900;
}
body.registration-flow-page .auth-role-action > span { display: grid; gap: 2px; }
body.registration-flow-page .auth-role-action small { color: #849188; font-size: .48rem; }
body.registration-flow-page .auth-role-action > i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--rg-green);
  border-radius: 50%;
  transition: transform .2s var(--rg-ease);
}
body.registration-flow-page .auth-role-option:hover .auth-role-action > i { transform: translateX(-4px); }
body.registration-flow-page .auth-role-option--provider .auth-role-action { color: var(--rg-lime); border-color: rgba(255,255,255,.12); }
body.registration-flow-page .auth-role-option--provider .auth-role-action small { color: #91b3a0; }
body.registration-flow-page .auth-role-option--provider .auth-role-action > i { color: var(--rg-green-dark); background: var(--rg-lime); }

body.registration-flow-page .auth-role-assurance { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
body.registration-flow-page .auth-role-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  color: #64756b;
  background: #f7faf8;
  border: 1px solid #e4ece6;
  border-radius: 999px;
  font-size: .55rem;
  font-weight: 800;
}
body.registration-flow-page .auth-role-assurance i { color: var(--rg-green); }

body.registration-flow-page .auth-flow-form { gap: 13px; }
body.registration-flow-page .auth-field-label { color: #294337; font-size: .7rem; }
body.auth-flow-page.registration-flow-page .auth-text-field,
body.auth-flow-page.registration-flow-page .auth-code-field,
body.auth-flow-page.registration-flow-page .auth-flow-form .input,
body.auth-flow-page.registration-flow-page .auth-phone-field {
  min-height: 60px;
  background: #fff;
  border: 1px solid #bcd0c3;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(4, 58, 38, .035);
}
body.auth-flow-page.registration-flow-page .auth-text-field:focus,
body.auth-flow-page.registration-flow-page .auth-code-field:focus,
body.auth-flow-page.registration-flow-page .auth-phone-field:focus-within {
  border-color: var(--rg-green);
  box-shadow: 0 0 0 4px rgba(8, 116, 72, .1), 0 9px 20px rgba(4, 58, 38, .06);
}
body.auth-flow-page.registration-flow-page .auth-code-field { min-height: 72px; font-size: 1.5rem; font-weight: 900; letter-spacing: .42em; text-align: center; }
body.auth-flow-page.registration-flow-page .auth-primary {
  min-height: 60px;
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(135deg, #087448, #055638);
  border: 0;
  border-radius: 15px;
  box-shadow: 0 14px 28px rgba(5, 92, 57, .18);
  font-weight: 900;
  transition: transform .18s var(--rg-ease), box-shadow .18s ease;
}
body.auth-flow-page.registration-flow-page .auth-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(5, 92, 57, .25); }

body.registration-flow-page .auth-registration-intent {
  grid-template-columns: 46px minmax(0, 1fr) auto;
  padding: 12px;
  background: linear-gradient(135deg, #edf6f1, #f9fbfa);
  border: 1px solid #cfe1d5;
  border-radius: 15px;
}
body.registration-flow-page .auth-registration-intent > span { width: 46px; height: 46px; background: #fff; border-radius: 13px; box-shadow: 0 5px 14px rgba(5, 72, 44, .08); }

body.registration-flow-page .auth-submit-assurance {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 11px 12px;
  color: #617168;
  background: #f7faf8;
  border-radius: 12px;
}
body.registration-flow-page .auth-submit-assurance > i { display: grid; width: 36px; height: 36px; place-items: center; color: var(--rg-green); background: var(--rg-mint); border-radius: 10px; }
body.registration-flow-page .auth-submit-assurance span { display: grid; gap: 2px; }
body.registration-flow-page .auth-submit-assurance strong { color: #2d493b; font-size: .62rem; }
body.registration-flow-page .auth-submit-assurance small { font-size: .54rem; line-height: 1.55; }

.auth-otp-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  color: #65756c;
  background: #f6f9f7;
  border: 1px solid #e2ebe5;
  border-radius: 13px;
  font-size: .58rem;
}
.auth-otp-help > span { display: inline-flex; align-items: center; gap: 6px; }
.auth-otp-help i { color: var(--rg-green); }
body.registration-flow-page .auth-otp-help .auth-back-form { margin: 0; }
body.registration-flow-page .auth-otp-help button { padding: 4px; font-size: .58rem; }

body.registration-flow-page .auth-provider-next {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 4px;
  padding: 14px;
  color: #173c2d;
  background: linear-gradient(135deg, #edf6f1, #f8fbf9);
  border: 1px solid #cfe3d6;
  border-radius: 15px;
}
body.registration-flow-page .auth-provider-next > span { display: grid; width: 48px; height: 48px; place-items: center; color: var(--rg-green); background: #fff; border-radius: 14px; box-shadow: 0 7px 17px rgba(8, 77, 49, .09); }
body.registration-flow-page .auth-provider-next > div { display: grid; gap: 3px; }
body.registration-flow-page .auth-provider-next strong { font-size: .69rem; }
body.registration-flow-page .auth-provider-next small { color: #68786f; font-size: .57rem; line-height: 1.65; }
body.registration-flow-page .auth-provider-next--client { background: linear-gradient(135deg, #fff9e8, #fffdf7); border-color: #eadfb7; }
body.registration-flow-page .auth-provider-next--client > span { color: #8a6711; }

body.registration-flow-page .auth-fee-consent {
  position: relative;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 13px 14px;
  color: #42534a;
  background: #fffdf6;
  border: 1px solid #e9ddb1;
  border-radius: 14px;
  font-size: .6rem;
  line-height: 1.75;
  cursor: pointer;
}
body.registration-flow-page .auth-fee-consent input { position: absolute; opacity: 0; pointer-events: none; }
body.registration-flow-page .auth-fee-consent__check { display: grid; width: 25px; height: 25px; place-items: center; color: transparent; background: #fff; border: 1px solid #b9c9c0; border-radius: 8px; transition: .16s ease; }
body.registration-flow-page .auth-fee-consent input:checked + .auth-fee-consent__check { color: #fff; background: var(--rg-green); border-color: var(--rg-green); }
body.registration-flow-page .auth-fee-consent:has(input:focus-visible) { outline: 3px solid rgba(8, 116, 72, .2); outline-offset: 2px; }
body.registration-flow-page .auth-code-field[aria-invalid="true"] { border-color: #c34b4b; box-shadow: 0 0 0 4px rgba(195, 75, 75, .09); }
body.registration-flow-page .auth-field-error { padding: 9px 11px; color: #9b2f36; background: #fff1f2; border-radius: 10px; font-size: .59rem; }
body.registration-flow-page .auth-flow-login { margin-top: 24px; padding-top: 18px; font-size: .65rem; }
body.registration-flow-page .auth-flow-legal { margin-top: 10px; font-size: .54rem; }

body.auth-flow-page.registration-flow-page .auth-flow-companion {
  position: relative;
  display: flex;
  min-height: 710px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 4vw, 66px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at 15% 8%, rgba(223, 243, 109, .18), transparent 30%),
    linear-gradient(145deg, #064a34, #063824 58%, #032a1e);
  background-size: 42px 42px, 42px 42px, auto, auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
body.registration-flow-page .auth-flow-companion::before,
body.registration-flow-page .auth-flow-companion::after { position: absolute; content: ""; border: 1px solid rgba(223, 243, 109, .16); border-radius: 50%; pointer-events: none; }
body.registration-flow-page .auth-flow-companion::before { width: 360px; height: 360px; top: -205px; left: -180px; }
body.registration-flow-page .auth-flow-companion::after { width: 260px; height: 260px; right: -150px; bottom: -135px; }
body.registration-flow-page .auth-flow-companion > * { position: relative; z-index: 1; }
body.registration-flow-page .auth-companion-eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  color: #e7f8ec;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  font-size: .65rem;
  font-weight: 850;
}
body.registration-flow-page .auth-companion-eyebrow i { color: var(--rg-lime); }
body.registration-flow-page .auth-flow-companion h2 { max-width: 520px; margin: 26px 0 14px; color: #fff; font-size: clamp(2.7rem, 4.7vw, 4.25rem); line-height: 1.06; letter-spacing: -.035em; }
body.registration-flow-page .auth-flow-companion > p { max-width: 44ch; margin: 0; color: #bfd5c9; font-size: .76rem; line-height: 1.9; }

body.registration-flow-page .auth-companion-path { position: relative; display: grid; gap: 0; margin: 32px 0 0; padding: 0; list-style: none; }
body.registration-flow-page .auth-companion-path::before {
  position: absolute;
  top: 28px;
  bottom: 28px;
  inset-inline-start: 20px;
  width: 1px;
  content: "";
  background: linear-gradient(var(--rg-lime), rgba(255,255,255,.08));
}
body.registration-flow-page .auth-companion-path li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 12px; padding: 11px 0; background: transparent; border: 0; border-radius: 0; }
body.registration-flow-page .auth-companion-path li b {
  position: relative;
  z-index: 1;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--rg-green-dark);
  background: var(--rg-lime);
  border: 5px solid #0a4a35;
  border-radius: 50%;
  font-size: .64rem;
}
body.registration-flow-page .auth-companion-path li span { display: grid; gap: 2px; }
body.registration-flow-page .auth-companion-path li small { color: #83ab95; font-size: .54rem; font-weight: 800; }
body.registration-flow-page .auth-companion-path li strong { color: #fff; font-size: .7rem; }

.auth-companion-signals { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.auth-companion-signals span { display: inline-flex; align-items: center; gap: 5px; padding: 7px 9px; color: #d5e6dc; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 999px; font-size: .52rem; font-weight: 800; }
.auth-companion-signals i { color: var(--rg-lime); }
body.registration-flow-page .auth-companion-proof { margin-top: 25px; padding: 13px; background: rgba(1, 25, 17, .28); border: 1px solid rgba(255,255,255,.09); border-radius: 15px; }

@keyframes rg-frame-in { from { opacity: 0; transform: translateY(18px) scale(.99); } to { opacity: 1; transform: none; } }
@keyframes rg-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  body.auth-flow-page.registration-flow-page .auth-flow.auth-registration-flow { align-items: start; padding: 18px; }
  body.registration-flow-page .auth-registration-layout { grid-template-columns: 1fr; }
  body.auth-flow-page.registration-flow-page .auth-flow-companion { min-height: 290px; order: -1; justify-content: center; padding: 34px; }
  body.registration-flow-page .auth-flow-companion h2 { margin: 17px 0 9px; font-size: 2.5rem; }
  body.registration-flow-page .auth-companion-path { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 20px; }
  body.registration-flow-page .auth-companion-path::before { display: none; }
  body.registration-flow-page .auth-companion-path li { grid-template-columns: 32px minmax(0, 1fr); padding: 8px; background: rgba(255,255,255,.05); border-radius: 12px; }
  body.registration-flow-page .auth-companion-path li b { width: 32px; height: 32px; border-width: 3px; }
  body.registration-flow-page .auth-companion-signals,
  body.registration-flow-page .auth-companion-proof { display: none; }
  body.auth-flow-page.registration-flow-page .auth-flow-shell { padding: 36px; }
}

@media (max-width: 660px) {
  body.auth-flow-page.registration-flow-page .auth-flow.auth-registration-flow { padding: 0; background: #fff; }
  body.registration-flow-page .auth-registration-frame { border: 0; border-radius: 0; box-shadow: none; }
  body.registration-flow-page .auth-registration-brandbar { grid-template-columns: 1fr auto; min-height: 66px; padding: 10px 16px; }
  .auth-registration-brandbar-note { display: none; }
  body.registration-flow-page .auth-registration-exit { width: 40px; min-height: 40px; justify-content: center; padding: 0; }
  body.registration-flow-page .auth-registration-exit span { display: none; }
  body.auth-flow-page.registration-flow-page .auth-flow-companion { min-height: 210px; padding: 27px 20px; }
  body.registration-flow-page .auth-flow-companion h2 { max-width: 12ch; margin: 13px 0 8px; font-size: 2rem; }
  body.registration-flow-page .auth-flow-companion > p { max-width: 50ch; font-size: .65rem; line-height: 1.65; }
  body.registration-flow-page .auth-companion-path { display: none; }
  body.auth-flow-page.registration-flow-page .auth-flow-shell { padding: 27px 18px 34px; }
  body.registration-flow-page .auth-registration-steps { margin-bottom: 28px; }
  body.registration-flow-page .auth-registration-steps > div > span { width: 34px; height: 34px; }
  body.registration-flow-page .auth-registration-steps::before,
  body.registration-flow-page .auth-registration-steps::after { top: 16px; }
  body.registration-flow-page .auth-flow-header { margin-bottom: 22px; }
  body.registration-flow-page .auth-flow-header h1 { font-size: 1.92rem; }
  body.registration-flow-page .auth-flow-header p { font-size: .7rem; }
  body.registration-flow-page .auth-role-grid { grid-template-columns: 1fr; }
  body.registration-flow-page .auth-role-option {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: 0 13px;
    min-height: 0;
    padding: 17px;
    border-radius: 19px;
  }
  body.registration-flow-page .auth-role-option .auth-role-icon { grid-column: 1; grid-row: 1 / 3; width: 50px; height: 50px; margin: 25px 0 0; border-radius: 15px; }
  body.registration-flow-page .auth-role-copy { grid-column: 2; grid-row: 1; padding-top: 22px; }
  body.registration-flow-page .auth-role-copy strong { font-size: .88rem; }
  body.registration-flow-page .auth-role-copy em { font-size: .58rem; }
  .auth-role-number { top: 15px; inset-inline-start: 16px; font-size: 1.65rem; }
  body.registration-flow-page .auth-role-badge { top: 12px; inset-inline-end: 12px; font-size: .49rem; }
  .auth-role-features { grid-column: 2; grid-row: 2; margin-top: 11px; }
  .auth-role-features b { padding: 4px 7px; font-size: .47rem; }
  body.registration-flow-page .auth-role-action { grid-column: 1 / -1; grid-row: 3; margin-top: 14px; padding-top: 12px; }
  body.registration-flow-page .auth-role-assurance { gap: 5px; margin-top: 10px; }
  body.registration-flow-page .auth-role-assurance span { padding: 6px 8px; font-size: .49rem; }
  .auth-otp-help { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 390px) {
  body.auth-flow-page.registration-flow-page .auth-flow-shell { padding-inline: 13px; }
  body.registration-flow-page .auth-registration-steps > div > small { font-size: .49rem; }
  body.registration-flow-page .auth-flow-header h1 { font-size: 1.7rem; }
  body.registration-flow-page .auth-role-option { grid-template-columns: 44px minmax(0, 1fr); padding: 14px; }
  body.registration-flow-page .auth-role-option .auth-role-icon { width: 44px; height: 44px; }
  .auth-role-features b:nth-child(3) { display: none; }
  body.registration-flow-page .auth-registration-intent { grid-template-columns: 40px minmax(0, 1fr) auto; padding: 10px; }
  body.registration-flow-page .auth-registration-intent > span { width: 40px; height: 40px; }
  body.registration-flow-page .auth-provider-next { grid-template-columns: 42px minmax(0, 1fr); padding: 12px; }
  body.registration-flow-page .auth-provider-next > span { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  body.registration-flow-page .auth-registration-frame,
  body.registration-flow-page .auth-flow-header,
  body.registration-flow-page .auth-role-option { animation: none; }
  body.registration-flow-page .auth-role-option,
  body.registration-flow-page .auth-role-icon,
  body.registration-flow-page .auth-role-action > i,
  body.registration-flow-page .auth-fee-consent__check { transition: none; }
}
