:root {
    --rl-orange: #ff5722;
    --rl-ink: #101828;
    --rl-muted: #667085;
    --rl-line: #e4e7ec;
    --rl-soft: #f8fafc;
}

* {
    box-sizing: border-box;
}

body.rl-site-shell {
    margin: 0;
    background: var(--rl-soft);
    color: var(--rl-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

.rl-shell {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.rl-site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(228, 231, 236, 0.8);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.rl-site-header .rl-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    gap: 22px;
}

.rl-site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--rl-ink);
}

.rl-public-logo img,
.rl-header-logo img,
.rl-footer-logo img,
.rl-auth-logo img,
.rl-register-brand img {
    display: block;
    width: auto;
    max-width: 180px;
    height: 40px;
    object-fit: contain;
}

.rl-footer-logo img {
    height: 36px;
}

.rl-site-brand span,
.rl-auth-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--rl-orange);
    color: #fff;
    font-weight: 900;
}

.rl-site-brand strong {
    font-size: 18px;
    font-weight: 900;
}

.rl-site-nav,
.rl-site-actions,
.rl-footer-grid nav {
    display: flex;
    align-items: center;
    gap: 18px;
}

.rl-site-nav a,
.rl-link-btn {
    color: #344054;
    font-size: 14px;
    font-weight: 800;
}

.rl-solid-btn,
.rl-outline-btn,
.rl-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 12px;
    font-weight: 900;
}

.rl-solid-btn,
.rl-submit-btn {
    border: 0;
    background: var(--rl-orange);
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(255, 87, 34, 0.2);
}

.rl-solid-btn:hover,
.rl-submit-btn:hover {
    background: #e64a19;
}

.rl-submit-btn:disabled {
    background: #d0d5dd;
    color: #667085 !important;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
}

.rl-google-btn,
.rl-otp-auth-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
    font-weight: 900;
    text-align: center;
}

.rl-google-btn {
    display: flex;
    gap: 10px;
    min-height: 46px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    color: #344054 !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
}

.rl-google-btn:hover {
    border-color: #ff5722;
    color: #ff5722 !important;
    background: #fff7f4;
}

.rl-google-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.rl-google-btn svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px;
    max-height: 18px;
}

.rl-otp-auth-link {
    margin-top: 14px;
    border: 1px solid rgba(255, 87, 34, 0.28);
    background: rgba(255, 87, 34, 0.08);
    color: #e64a19 !important;
    text-decoration: none;
}

.rl-otp-auth-link:hover {
    background: rgba(255, 87, 34, 0.14);
}

.rl-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    text-transform: lowercase;
}

.rl-google-btn + .rl-auth-divider {
    margin-top: 24px;
}

.rl-auth-divider + form,
.rl-auth-divider + .global-form {
    margin-top: 18px;
}

.rl-auth-divider::before,
.rl-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e4e7ec;
}

.rl-inline-resend-form {
    margin-top: 16px;
    text-align: center;
}

.rl-link-button {
    border: 0;
    background: transparent;
    color: #ff5722;
    font-weight: 900;
    cursor: pointer;
}

.rl-auth-policy-note {
    margin: 16px 0 0;
    color: #667085;
    font-size: 12px;
    line-height: 1.55;
    text-align: center;
}

.rl-auth-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(22, 163, 74, 0.22);
    border-radius: 10px;
    background: rgba(22, 163, 74, 0.08);
    color: #166534;
    font-size: 14px;
    font-weight: 800;
}

.rl-outline-btn {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: var(--rl-ink);
}

.rl-site-footer {
    border-top: 1px solid var(--rl-line);
    background: #fff;
    padding: 38px 0;
}

.rl-footer-grid {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.rl-footer-grid p {
    max-width: 440px;
    margin: 14px 0 0;
    color: var(--rl-muted);
    line-height: 1.65;
}

.rl-footer-grid nav {
    flex-wrap: wrap;
    justify-content: flex-end;
}

.rl-footer-grid nav a {
    color: #475467;
    font-size: 14px;
    font-weight: 800;
}

.rl-page-hero {
    padding: 58px 0 54px;
    background:
        radial-gradient(circle at 84% 4%, rgba(255, 87, 34, 0.14), transparent 280px),
        linear-gradient(180deg, #fff 0%, var(--rl-soft) 100%);
}

.rl-page-hero h1 {
    max-width: 760px;
    margin: 16px 0 14px;
    color: var(--rl-ink);
    font-size: 46px;
    font-weight: 900;
    line-height: 1.08;
}

.rl-page-hero p {
    max-width: 700px;
    margin: 0;
    color: #475467;
    font-size: 17px;
    line-height: 1.65;
}

.rl-eyebrow {
    display: inline-flex;
    color: var(--rl-orange);
    font-size: 13px;
    font-weight: 900;
}

.rl-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.rl-about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 42px;
}

.rl-hero-card,
.rl-white-card {
    border: 1px solid var(--rl-line);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(16, 24, 40, 0.06);
}

.rl-hero-card {
    padding: 26px;
}

.rl-hero-card strong {
    display: block;
    margin: 18px 0 10px;
    font-size: 25px;
    line-height: 1.2;
}

.rl-hero-card p {
    font-size: 15px;
}

.rl-page-section {
    padding: 66px 0 76px;
}

.rl-story-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 34px;
    margin-bottom: 34px;
}

.rl-story-card,
.rl-process-card,
.rl-mission-card,
.rl-learn-card,
.rl-contact-info,
.rl-contact-form-card,
.rl-auth-card {
    padding: 32px;
}

.rl-story-card h2,
.rl-mission-card h2,
.rl-learn-card h2,
.rl-contact-info h2,
.rl-contact-form-card h2 {
    margin: 12px 0;
    color: var(--rl-ink);
    font-size: 30px;
    line-height: 1.22;
}

.rl-story-card p,
.rl-mission-card p,
.rl-contact-info p,
.rl-contact-form-card p {
    margin: 0;
    color: #475467;
    line-height: 1.72;
}

.rl-process-card {
    display: grid;
    gap: 12px;
}

.rl-process-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: #f9fafb;
}

.rl-process-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 87, 34, 0.1);
    color: var(--rl-orange);
    font-weight: 900;
}

.rl-process-step strong {
    font-weight: 900;
}

.rl-mission-card {
    margin-bottom: 46px;
}

.rl-section-heading {
    max-width: 760px;
    margin: 0 auto 24px;
    text-align: center;
}

.rl-section-heading h2 {
    margin: 10px 0 0;
    font-size: 30px;
    line-height: 1.2;
}

.rl-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 34px;
}

.rl-audience-card {
    min-height: 142px;
    padding: 22px;
}

.rl-audience-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
}

.rl-audience-card p {
    margin: 0;
    color: var(--rl-muted);
    font-size: 14px;
    line-height: 1.55;
}

.rl-learn-card {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 24px;
    align-items: start;
}

.rl-check-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rl-learn-card .rl-check-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rl-check-list li {
    position: relative;
    padding-left: 22px;
    color: #344054;
    font-weight: 800;
    line-height: 1.55;
}

.rl-check-list li::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--rl-orange);
}

.rl-final-cta {
    padding: 0 0 72px;
}

.rl-final-cta .rl-white-card {
    padding: 38px;
    text-align: center;
    background:
        radial-gradient(circle at 88% 0%, rgba(255, 87, 34, 0.12), transparent 240px),
        #fff;
}

.rl-final-cta h2 {
    margin: 0 0 10px;
    font-size: 32px;
}

.rl-final-cta p {
    max-width: 620px;
    margin: 0 auto 22px;
    color: var(--rl-muted);
}

.rl-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1fr);
    gap: 28px;
    align-items: start;
}

.rl-contact-details {
    display: grid;
    gap: 12px;
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--rl-line);
}

.rl-contact-details p {
    margin: 0;
}

.rl-contact-details strong {
    display: block;
    color: var(--rl-ink);
    font-size: 13px;
    font-weight: 900;
}

.rl-contact-details a,
.rl-contact-details span {
    color: #475467;
}

.rl-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #344054;
    font-size: 14px;
    font-weight: 850;
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d0d5dd;
    border-radius: 12px;
    background: #fff;
    color: var(--rl-ink);
    font: inherit;
}

textarea.form-control {
    min-height: 126px;
    resize: vertical;
}

.border-danger {
    border-color: #dc3545 !important;
}

.text-danger {
    color: #dc3545;
}

.rl-submit-btn {
    width: 100%;
    cursor: pointer;
}

.rl-auth-page {
    min-height: 720px;
    padding: 60px 20px 76px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 87, 34, 0.12), transparent 280px),
        linear-gradient(180deg, #fff 0%, var(--rl-soft) 100%);
}

.rl-auth-card-wrap {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.rl-auth-card {
    width: 100%;
}

.rl-auth-brand {
    margin-bottom: 22px;
    text-align: center;
}

.rl-auth-logo {
    display: inline-flex;
    justify-content: center;
    margin-bottom: 14px;
}

.rl-auth-mark {
    width: 44px;
    height: 44px;
    margin-bottom: 14px;
    font-size: 20px;
}

.rl-auth-brand h1 {
    margin: 8px 0;
    font-size: 30px;
    line-height: 1.18;
}

.rl-auth-brand p {
    margin: 0;
    color: #475467;
    font-size: 15px;
}

.rl-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.form-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #344054;
    font-size: 14px;
    font-weight: 750;
}

.rl-policy-consent .form-check {
    align-items: flex-start;
    line-height: 1.5;
}

.rl-policy-consent .form-check-input {
    flex: 0 0 auto;
    margin-top: 4px;
}

.rl-field-help,
.rl-policy-message {
    color: #667085;
    display: block;
    font-size: 13px;
    line-height: 1.45;
    margin: 7px 0 0;
}

.rl-policy-message {
    color: #b54708;
    font-weight: 800;
}

.rl-auth-card a,
.rl-contact-form-card a {
    color: var(--rl-orange);
    font-weight: 850;
}

.rl-password-field {
    position: relative;
}

.rl-password-field .form-control {
    padding-right: 64px;
}

.rl-password-field button {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    min-width: 48px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: #f2f4f7;
    color: #344054;
    font-weight: 850;
    cursor: pointer;
}

.rl-auth-switch {
    margin: 18px 0 0;
    color: #475467;
    font-size: 14px;
    text-align: center;
}

.rl-auth-trust {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--rl-line);
    color: var(--rl-muted);
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

.rl-register-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(420px, 520px);
    gap: 28px;
    width: min(1120px, 100%);
    margin: 0 auto;
    align-items: start;
}

.rl-register-intro {
    min-height: 520px;
    padding: 42px;
    border-radius: 24px;
    color: #fff;
    background:
        radial-gradient(circle at 88% 8%, rgba(255, 87, 34, 0.36), transparent 32%),
        linear-gradient(135deg, #08111f 0%, #111827 56%, #281106 100%);
}

.rl-register-intro span {
    display: inline-flex;
    color: #ffb199;
    font-size: 13px;
    font-weight: 900;
}

.rl-register-intro h1 {
    margin: 18px 0 24px;
    color: #fff;
    font-size: 42px;
    line-height: 1.08;
}

.rl-register-intro ul {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rl-register-intro li {
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 850;
}

.rl-register-intro li::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--rl-orange);
}

.rl-auth-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.rl-auth-benefits span {
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(255, 87, 34, 0.18);
    border-radius: 999px;
    background: rgba(255, 87, 34, 0.08);
    color: #9a3412;
    font-size: 12px;
    font-weight: 850;
}

.rl-instructor-toggle {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    border: 1px solid var(--rl-line);
    border-radius: 12px;
    background: #f9fafb;
}

.rl-instructor-toggle input {
    margin-top: 4px;
}

#become-instructor-fields {
    margin: 4px 0 18px;
    padding: 16px;
    border: 1px solid var(--rl-line);
    border-radius: 14px;
    background: #fff7f3;
}

.rl-policy-page .rl-page-hero {
    padding-bottom: 48px;
}

.rl-policy-card {
    max-width: 920px;
    margin: 0 auto;
    padding: 38px;
    color: #344054;
    line-height: 1.75;
}

.rl-policy-card h1,
.rl-policy-card h2,
.rl-policy-card h3,
.rl-policy-card h4 {
    margin: 24px 0 12px;
    color: var(--rl-ink);
    line-height: 1.25;
}

.rl-policy-card h1:first-child,
.rl-policy-card h2:first-child,
.rl-policy-card h3:first-child {
    margin-top: 0;
}

.rl-policy-card p,
.rl-policy-card li {
    color: #475467;
    line-height: 1.75;
}

.rl-policy-card a {
    color: var(--rl-orange);
    font-weight: 850;
}

.rl-faq-list {
    display: grid;
    gap: 16px;
    max-width: 920px;
    margin: 0 auto;
}

.rl-faq-item {
    padding: 26px;
}

.rl-faq-item h2 {
    margin: 0 0 10px;
    color: var(--rl-ink);
    font-size: 20px;
    line-height: 1.3;
}

.rl-faq-item p {
    margin: 0;
    color: #475467;
    line-height: 1.7;
}

.d-none {
    display: none !important;
}

@media (max-width: 991px) {
    .rl-about-hero-grid,
    .rl-story-grid,
    .rl-learn-card,
    .rl-contact-grid,
    .rl-register-shell {
        grid-template-columns: 1fr;
    }

    .rl-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rl-register-intro {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .rl-shell {
        width: min(100% - 28px, 1120px);
    }

    .rl-site-header .rl-shell {
        align-items: flex-start;
        flex-direction: column;
        padding: 14px 0;
    }

    .rl-public-logo img,
    .rl-header-logo img,
    .rl-auth-logo img,
    .rl-register-brand img {
        max-width: 160px;
        height: 36px;
    }

    .rl-footer-logo img {
        max-width: 150px;
        height: 34px;
    }

    .rl-site-nav,
    .rl-site-actions {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 14px;
        align-items: center;
    }

    .rl-footer-grid {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .rl-footer-grid nav {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px 16px;
        align-items: center;
    }

    .rl-site-nav a,
    .rl-site-actions a,
    .rl-footer-grid nav a {
        display: inline-flex;
        width: auto;
    }

    .rl-page-hero {
        padding: 40px 0 36px;
    }

    .rl-page-hero h1 {
        font-size: 34px;
    }

    .rl-page-section,
    .rl-auth-page {
        padding: 42px 14px 54px;
    }

    .rl-story-card,
    .rl-process-card,
    .rl-mission-card,
    .rl-learn-card,
    .rl-contact-info,
    .rl-contact-form-card,
    .rl-policy-card,
    .rl-faq-item,
    .rl-auth-card,
    .rl-final-cta .rl-white-card {
        padding: 24px;
        border-radius: 16px;
    }

    .rl-audience-grid,
    .rl-learn-card .rl-check-list,
    .rl-form-grid {
        grid-template-columns: 1fr;
    }

    .rl-auth-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .rl-register-intro {
        padding: 28px;
        border-radius: 18px;
    }

    .rl-register-intro h1 {
        font-size: 32px;
    }
}
