:root {
    --rc-orange: #FF4B2B;
    --rc-orange-dark: #e24124;
    --rc-teal: #16CFC4;
    --rc-navy: #10213A;
    --rc-ink: #122033;
    --rc-muted: #667085;
    --rc-line: #e6ebf2;
    --rc-card: #ffffff;
    --rc-bg: #f4f7fb;
    --rc-sidebar: 240px;
    --rc-radius: 18px;
    --rc-font: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body.rc-body { overflow-x: hidden; }
body.rc-body {
    font-family: var(--rc-font);
    color: var(--rc-ink);
    background: var(--rc-bg);
    min-height: 100vh;
}
button, input, select { font-family: inherit; }
a { color: inherit; }

.rc-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 76px;
    padding: 0 22px;
    background: #fff;
    border-bottom: 1px solid rgba(16, 33, 58, 0.06);
    box-shadow: 0 8px 24px rgba(16, 33, 58, 0.04);
}
.rc-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--rc-line);
    border-radius: 12px;
    background: #fff;
    color: var(--rc-navy);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.rc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex: 0 0 auto;
}
.rc-logo img { height: 42px; width: auto; max-width: 168px; display: block; object-fit: contain; }
.rc-logo span {
    font-weight: 800;
    font-size: 13px;
    line-height: 1.05;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--rc-navy);
}
.rc-search {
    flex: 1;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}
.rc-search form { position: relative; }
.rc-search svg, .rc-search .rc-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #98a2b3;
    width: 18px;
    height: 18px;
    pointer-events: none;
}
.rc-search input {
    width: 100%;
    height: 46px;
    border: 0;
    border-radius: 999px;
    background: #f3f5f8;
    padding: 0 16px 0 44px;
    font-size: 14px;
    color: var(--rc-ink);
    outline: none;
}
.rc-search input:focus { box-shadow: 0 0 0 3px rgba(22, 207, 196, 0.28); }
.rc-search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--rc-line);
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(16, 33, 58, 0.12);
    overflow: hidden;
    z-index: 20;
}
.rc-search-results a, .rc-search-empty {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #f2f4f7;
}
.rc-search-results a:hover { background: #f7fafc; }
.rc-search-results span { color: var(--rc-muted); font-size: 12px; }
.rc-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}
.rc-find {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--rc-line);
    background: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: var(--rc-navy);
}
.rc-find:hover { background: #f7fafc; }
.rc-reg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 16px;
    border-radius: 999px;
    background: var(--rc-orange);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 10px 20px rgba(255, 75, 43, 0.25);
}
.rc-reg-btn:hover { background: var(--rc-orange-dark); }
.rc-reg-btn[aria-current="page"] { box-shadow: inset 0 0 0 2px rgba(255,255,255,.35), 0 10px 20px rgba(255, 75, 43, 0.25); }

.rc-frame {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 76px);
}
.rc-sidebar {
    width: var(--rc-sidebar);
    flex: 0 0 var(--rc-sidebar);
    position: sticky;
    top: 76px;
    height: calc(100vh - 76px);
    overflow: hidden;
    color: #3f4a56;
    background: #ffffff;
    border-right: 1px solid #eef1f5;
    padding: 18px 10px 0;
    display: flex;
    flex-direction: column;
}
.rc-side-photo {
    margin-top: auto;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
}
.rc-side-photo.is-hidden { display: none; }
.rc-side-photo img {
    width: 100%;
    max-height: 100%;
    height: auto;
    object-fit: contain;
    object-position: center bottom;
    display: block;
}
.rc-nav { list-style: none; margin: 0; padding: 0 6px; display: flex; flex-direction: column; gap: 2px; flex: 0 0 auto; overflow: visible; }
.rc-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
    color: #4b5565;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    position: relative;
    transition: background .18s ease, color .18s ease;
}
.rc-nav a svg, .rc-nav a i { width: 18px; height: 18px; flex: 0 0 18px; color: #FF542C; }
.rc-nav a:hover { background: #f6f7f9; color: #1f2937; }
.rc-nav a.is-active {
    background: #fff4f1;
    color: var(--rc-orange);
}
.rc-nav a.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 99px;
    background: var(--rc-orange);
}
.rc-backdrop {
    display: none;
}

.rc-main {
    flex: 1;
    min-width: 0;
    position: relative;
    background:
        radial-gradient(520px 280px at 88% 8%, rgba(22, 207, 196, 0.16), transparent 70%),
        radial-gradient(420px 240px at 8% 92%, rgba(255, 75, 43, 0.1), transparent 70%),
        linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
}
.rc-main::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(118deg, transparent 0 28px, rgba(16, 33, 58, 0.035) 28px 29px),
        linear-gradient(90deg, transparent 0 40%, rgba(22, 207, 196, 0.05) 70%, transparent 100%);
}
.rc-stage, .rc-footer { position: relative; z-index: 1; }
.rc-stage {
    padding: 48px 28px 12px;
}
.rc-intro { text-align: center; max-width: 640px; margin: 0 auto 22px; }
.rc-intro h1 {
    margin: 0;
    font-size: 34px;
    letter-spacing: -0.03em;
    color: var(--rc-navy);
}
.rc-intro p {
    margin: 10px auto 0;
    max-width: 460px;
    color: var(--rc-muted);
    font-size: 15px;
    line-height: 1.55;
}
.rc-card {
    width: min(520px, 100%);
    margin: 0 auto;
    background: var(--rc-card);
    border: 1px solid rgba(16, 33, 58, 0.06);
    border-radius: var(--rc-radius);
    box-shadow: 0 18px 50px rgba(16, 33, 58, 0.08);
    padding: 22px 22px 24px;
}
.rc-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--rc-line);
    margin: -6px 0 18px;
}
.rc-tabs button {
    appearance: none;
    border: 0;
    background: transparent;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    color: #98a2b3;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.rc-tabs button.is-active {
    color: var(--rc-orange);
    border-bottom-color: var(--rc-orange);
}
.rc-tabs button:focus-visible, .rc-btn:focus-visible, .rc-field input:focus, .rc-field select:focus, .rc-otp input:focus {
    outline: 2px solid var(--rc-teal);
    outline-offset: 2px;
}
.rc-card h2 {
    margin: 0 0 16px;
    text-align: center;
    font-size: 20px;
    color: var(--rc-navy);
}
.rc-field { margin-bottom: 14px; text-align: left; }
.rc-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #344054;
}
.rc-field label span { color: var(--rc-orange); }
.rc-control { position: relative; }
.rc-control i,
.rc-control svg,
.rc-control .rc-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    color: #98a2b3;
    pointer-events: none;
}
.rc-field input, .rc-field select {
    display: block;
    width: 100%;
    height: 48px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
    padding: 0 14px;
    font-size: 14px;
    color: var(--rc-ink);
}
.rc-field input::placeholder { color: #98a2b3; }
.rc-control input, .rc-phone input { padding-left: 42px; }
.rc-combo { position: relative; }
.rc-combo-input {
    width: 100%;
    height: 48px;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    background: #fff;
    padding: 0 40px 0 14px;
    font-size: 14px;
    color: var(--rc-ink);
}
.rc-combo-input:focus { outline: 2px solid var(--rc-teal); outline-offset: 2px; }
.rc-combo-menu {
    position: absolute;
    z-index: 30;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    max-height: 240px;
    overflow: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: #fff;
    border: 1px solid var(--rc-line);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(16, 33, 58, 0.12);
}
.rc-combo-menu button {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    color: var(--rc-ink);
    cursor: pointer;
}
.rc-combo-menu button:hover,
.rc-combo-menu button.is-active { background: #fff4f1; color: var(--rc-orange); }
.rc-combo-empty { padding: 10px 12px; color: var(--rc-muted); font-size: 14px; }
.rc-help { margin: 8px 0 0; color: var(--rc-muted); font-size: 12px; }
.rc-phone {
    display: flex;
    align-items: center;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.rc-phone span {
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0 12px;
    background: #f8fafc;
    border-right: 1px solid #e4e7ec;
    font-weight: 700;
    color: var(--rc-navy);
    font-size: 14px;
}
.rc-phone input { border: 0; border-radius: 0; height: 48px; }
.rc-btn {
    width: 100%;
    height: 50px;
    border: 0;
    border-radius: 12px;
    background: var(--rc-orange);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(255, 75, 43, 0.22);
}
.rc-btn:hover { background: var(--rc-orange-dark); }
.rc-btn:disabled { opacity: 0.7; cursor: progress; }
.rc-alert { margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; font-size: 14px; text-align: left; }
.rc-alert-ok { background: #e8f8f2; color: #067647; }
.rc-alert-bad { background: #fdecea; color: #b42318; }
.rc-otp {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 8px 0 6px;
}
.rc-otp input {
    width: 46px;
    height: 52px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
}
.rc-note { color: var(--rc-muted); font-size: 13px; text-align: center; }
.rc-links { text-align: center; font-size: 14px; }
.rc-links button, .rc-links a {
    background: none;
    border: 0;
    color: var(--rc-orange);
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    padding: 0;
}
.rc-target { display: block; margin-top: 6px; font-weight: 700; color: var(--rc-navy); }

.rc-footer { padding: 28px 28px 18px; }
.rc-footer-card {
    background: #fff;
    border: 1px solid rgba(16, 33, 58, 0.06);
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(16, 33, 58, 0.06);
    padding: 28px 28px 16px;
}
.rc-footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.1fr;
    gap: 28px;
}
.rc-footer h3 { margin: 0 0 14px; font-size: 16px; color: var(--rc-navy); }
.rc-footer p, .rc-footer li, .rc-footer a { font-size: 14px; color: #475467; line-height: 1.55; }
.rc-brand-blurb { margin: 12px 0 16px; max-width: 340px; }
.rc-footer ul { list-style: none; margin: 0; padding: 0; }
.rc-footer li + li { margin-top: 8px; }
.rc-footer li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
}
.rc-footer li a:hover { color: var(--rc-orange); }
.rc-contact p { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; }
.rc-social { display: flex; gap: 8px; align-items: center; }
.rc-social span { font-weight: 700; color: var(--rc-navy); margin-right: 4px; }
.rc-social a {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: var(--rc-navy);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.rc-social a:hover { background: var(--rc-orange); }
.rc-footer-strip {
    display: grid;
    grid-template-columns: 1.1fr 1.4fr;
    gap: 18px;
    align-items: center;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--rc-line);
}
.rc-sub label { display: block; font-weight: 800; color: var(--rc-navy); }
.rc-sub small { color: var(--rc-muted); }
.rc-sub form { display: flex; gap: 8px; margin-top: 8px; }
.rc-sub input {
    flex: 1;
    height: 44px;
    border: 1px solid #e4e7ec;
    border-radius: 999px;
    padding: 0 14px;
}
.rc-sub button {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--rc-orange);
    color: #fff;
    cursor: pointer;
}
.rc-pay { text-align: right; }
.rc-pay img { max-width: 100%; height: auto; }
.rc-copy {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    color: #98a2b3;
    font-size: 13px;
}
.rc-copy a { color: #2e90fa; text-decoration: none; }

@media (max-width: 1023px) {
    .rc-menu-btn { display: inline-flex; }
    .rc-search { display: none; }
    .rc-find span { display: none; }
    .rc-sidebar {
        position: fixed;
        z-index: 60;
        top: 0;
        left: 0;
        height: 100vh;
        transform: translateX(-105%);
        transition: transform .22s ease;
        box-shadow: 16px 0 40px rgba(0,0,0,.25);
    }
    .rc-sidebar.is-open { transform: translateX(0); }
    .rc-backdrop.is-open {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(16, 33, 58, 0.45);
        z-index: 50;
    }
    .rc-footer-grid, .rc-footer-strip { grid-template-columns: 1fr; }
    .rc-pay { text-align: left; }
}
@media (max-width: 767px) {
    .rc-header { height: 64px; padding: 0 12px; gap: 10px; }
    .rc-logo span { display: none; }
    .rc-reg-btn { padding: 0 12px; font-size: 13px; }
    .rc-stage { padding: 28px 14px 8px; }
    .rc-intro h1 { font-size: 28px; }
    .rc-card { padding: 16px; }
    .rc-footer { padding: 16px 14px 12px; }
    .rc-footer-card { padding: 18px 16px 12px; }
    .rc-copy { flex-direction: column; }
    .rc-otp input { width: 40px; height: 46px; }
}
@media (min-width: 1440px) {
    .rc-stage { padding-top: 64px; }
}
