/* Public hero only. Existing sections, design tokens and downstream motion stay intact. */
.rg-auth-hero.rg-hero { padding: 64px 0 74px; min-height: min(900px, calc(100svh - 76px)); }
.rg-auth-hero .rg-hero-grid { grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 78px); min-height: 0; align-items: center; }
.rg-auth-hero .rg-hero-copy { padding: 0; max-width: none; }
.rg-auth-hero .rg-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .14em; color: #b9c9e5; }
.rg-hero-indicator { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #ff711f; box-shadow: 0 0 0 4px #ff711f17; }
.rg-auth-hero h1 { font-size: clamp(40px, 3.7vw, 61px); line-height: 1.08; letter-spacing: -.045em; margin: 24px 0; max-width: 710px; }
.rg-auth-hero h1 > .rg-hero-line { display: block; padding: 0; white-space: normal; color: #f5f8ff; }
.rg-auth-hero h1 > .rg-hero-question { color: #ff9a60; }
.rg-auth-hero .rg-hero-subheading { font-size: clamp(18px, 1.6vw, 23px); font-weight: 600; line-height: 1.4; color: #f0f4fc; margin-bottom: 16px; }
.rg-auth-hero .rg-hero-description { max-width: 610px; font-size: 15px; line-height: 1.75; color: #b9c7df; margin-bottom: 27px !important; }
.rg-auth-hero .rg-actions { flex-wrap: wrap; gap: 12px; }
.rg-auth-hero .rg-button { min-height: 48px; padding: 14px 20px; font-size: 13px; }
.rg-auth-hero .rg-hero-trial { color: #9daecb; font-size: 11px; line-height: 1.6; margin-top: 14px; }
.rg-auth-hero .rg-hero-proof { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 18px; border-top: 1px solid #ffffff19; padding-top: 22px; margin-top: 27px !important; max-width: 600px; font-size: 11px; line-height: 1.45; }
.rg-auth-hero .rg-hero-proof li { align-items: flex-start; gap: 9px; }
.rg-auth-hero .rg-hero-proof .rg-icon { width: 16px; height: 16px; color: #b7c9e4; }
.rg-hero-auth { position: relative; min-width: 0; width: 100%; color: #101b40; background: #f7f9fc; border: 1px solid #ffffffb3; border-top: 3px solid #ff711f; border-radius: 18px; padding: clamp(25px, 2.5vw, 36px); box-shadow: 0 22px 64px #00000030; z-index: 4; scroll-margin-top: 100px; }
#hero-auth { min-height: 458px; }
.rg-auth-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 25px; font-size: 9px; font-weight: 650; letter-spacing: .11em; color: #536382; }
.rg-auth-mark { font-size: 23px; font-weight: 800; letter-spacing: -.08em; line-height: 1; color: #101b40; }
.rg-auth-mark > span { color: #d6540b; }
.rg-hero-auth h2 { color: #101b40; font-size: 28px; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 9px; }
.rg-auth-intro { font-size: 12px; color: #536382; line-height: 1.6; margin-bottom: 27px !important; }
.rg-hero-auth form label { display: block; color: #243454; font-size: 12px; font-weight: 600; margin: 17px 0 8px; }
.rg-hero-auth form label:first-child { margin-top: 0; }
.rg-hero-auth .signin-input { display: flex; align-items: center; position: relative; min-height: 49px; border: 1px solid #cbd5e5; background: #fff; border-radius: 8px; padding: 0 12px; gap: 10px; }
.rg-hero-auth .signin-input:focus-within { outline: 2px solid #176c8c; outline-offset: 2px; border-color: #176c8c; }
.rg-hero-auth .signin-input > svg { flex: 0 0 18px; width: 18px; height: 18px; color: #687c9e; }
.rg-hero-auth input { display: block; width: 100%; min-width: 0; min-height: 47px; border: 0; background: transparent; color: #101b40; font: inherit; font-size: 14px; outline: none; padding: 0; }
.rg-hero-auth input::placeholder { color: #72809a; opacity: 1; }
.rg-hero-auth .signin-toggle { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; color: #536382; padding: 10px; margin-right: -9px; }
.rg-hero-auth .signin-toggle svg { width: 21px; height: 21px; }
.rg-hero-auth .signin-password-help { text-align: right; margin: 12px 0 20px; font-size: 11px; line-height: 1.5; }
.rg-hero-auth .signin-password-help a { display: inline-flex; align-items: center; min-height: 32px; color: #354e78; text-decoration: underline; text-underline-offset: 3px; }
.rg-hero-auth .signin-submit { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 49px; padding: 13px 18px; border: 1px solid #d5570d; border-radius: 8px; background: #ff711f; color: #181321; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .18s; }
.rg-hero-auth .signin-submit:hover:not(:disabled) { background: #ff8947; }
.rg-hero-auth .signin-submit:disabled { cursor: wait; opacity: .65; }
.rg-hero-auth .signin-error { margin: 0 0 16px; color: #9e2632; font-size: 12px; line-height: 1.6; }
.rg-auth-install { font-size: 11px; color: #536382; line-height: 1.8; text-align: center; margin: 23px 0 21px !important; }
.rg-auth-install a { color: #24476c; font-weight: 650; white-space: nowrap; text-decoration: underline; text-underline-offset: 3px; }
.rg-auth-footer { border-top: 1px solid #dce3ee; padding-top: 16px; display: flex; align-items: center; gap: 13px; font-size: 10px; line-height: 1.5; color: #657591; }
.rg-auth-footer > span { margin-right: auto; }
.rg-auth-footer a { text-decoration: underline; text-underline-offset: 3px; }
.rg-hero-auth :is(a,button):focus-visible { outline: 3px solid #176c8c; outline-offset: 3px; }
.rg-auth-session { min-height: 245px; display: flex; flex-direction: column; justify-content: center; gap: 23px; }
.rg-auth-session-status { font-size: 13px; color: #176347; }
.rg-auth-session .rg-button { justify-content: space-between; }
.rg-auth-noscript { margin-top: 14px; font-size: 12px; line-height: 1.6; color: #536382; }
@media (min-width: 768px) and (max-width: 1199px) {
  .rg-auth-hero.rg-hero { padding: 48px 0 60px; }
  .rg-auth-hero .rg-hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 26px; }
  .rg-auth-hero h1 { font-size: 42px; }
  .rg-auth-hero .rg-hero-proof { font-size: 10px; gap: 12px; }
  .rg-hero-auth { padding: 25px; }
}
@media (max-width: 900px) {
  .rg-auth-hero .rg-hero-grid { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .rg-auth-hero .rg-hero-copy { max-width: 640px; }
  .rg-hero-auth { max-width: 530px; justify-self: center; }
  .rg-auth-hero h1 { max-width: 650px; }
}
@media (max-width: 767px) {
  .rg-auth-hero.rg-hero { padding: 40px 0 48px; min-height: 0; }
  .rg-auth-hero .rg-hero-copy { text-align: left; }
  .rg-auth-hero h1 { font-size: clamp(35px, 8.7vw, 46px); margin: 20px 0; line-height: 1.1; }
  .rg-auth-hero .rg-eyebrow { font-size: 8px; letter-spacing: .12em; }
  .rg-auth-hero .rg-hero-subheading { font-size: 18px; }
  .rg-auth-hero .rg-hero-description { font-size: 14px; max-width: none; margin-bottom: 23px !important; }
  .rg-auth-hero .rg-actions { flex-direction: column; align-items: stretch; }
  .rg-auth-hero .rg-button { width: 100%; justify-content: center; }
  .rg-auth-hero .rg-hero-proof { display: none; }
  .rg-hero-auth { padding: 25px 22px; }
  .rg-hero-auth input { font-size: 16px; }
  .rg-auth-install { font-size: 11px; }
  .rg-auth-hero .rg-atmosphere { opacity: .4; }
}
@media (prefers-reduced-motion: reduce) {
  .rg-hero-auth *, .rg-auth-hero .rg-button { transition: none; animation: none; }
}

.rg-hero-auth .signin-fields { border: 0; padding: 0; margin: 0; min-width: 0; }
