@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    --ink: #111827;
    --muted: #667085;
    --line: #d8e0ec;
    --paper: #ffffff;
    --wash: #f3f6fb;
    --learn: #0b7a75;
    --learn-strong: #075e5a;
    --social: #4640c8;
    --social-strong: #312e81;
    --gold: #f5b71b;
    --shadow: 0 30px 90px rgba(15, 23, 42, 0.18);
}

html {
    min-height: 100%;
}

body.routing-body {
    min-height: 100vh;
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #e9eef6;
    overflow-x: hidden;
}

a {
    color: inherit;
}

.rt-page {
    min-height: 100vh;
    padding: clamp(14px, 2.8vw, 34px);
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(7, 94, 90, 0.16), transparent 28%),
        linear-gradient(315deg, rgba(49, 46, 129, 0.16), transparent 32%),
        #eef3fa;
}

.rt-stage {
    width: min(1240px, 100%);
    min-height: min(820px, calc(100vh - 68px));
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.78fr);
    border: 1px solid rgba(216, 224, 236, 0.92);
    border-radius: 32px;
    overflow: hidden;
    background: var(--paper);
    box-shadow: var(--shadow);
    animation: rtEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rt-media {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #111827;
}

.rt-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.92) contrast(1.02);
    transform: scale(1.02);
    animation: rtImageDrift 16s ease-in-out infinite alternate;
}

.rt-media__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 12, 25, 0.86), rgba(7, 12, 25, 0.38) 58%, rgba(7, 12, 25, 0.18)),
        linear-gradient(0deg, rgba(7, 12, 25, 0.82), transparent 58%);
}

.rt-media__copy {
    position: absolute;
    left: clamp(28px, 4vw, 58px);
    right: clamp(24px, 4vw, 58px);
    bottom: clamp(32px, 5vw, 72px);
    color: #fff;
}

.rt-media__copy span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #f7d56c;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    backdrop-filter: blur(10px);
}

.rt-media__copy strong {
    display: block;
    max-width: 690px;
    margin-top: 18px;
    font-size: clamp(38px, 5.4vw, 78px);
    line-height: 0.98;
    letter-spacing: 0;
}

.rt-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(24px, 4vw, 46px);
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 183, 27, 0.16), transparent 32%),
        linear-gradient(180deg, #ffffff, #f8fafc);
}

.rt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.rt-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.rt-brand img {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.rt-brand strong {
    display: block;
    font-size: 22px;
    line-height: 1.05;
}

.rt-brand small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.rt-status {
    white-space: nowrap;
    padding: 9px 13px;
    border-radius: 999px;
    border: 1px solid rgba(11, 122, 117, 0.18);
    background: rgba(11, 122, 117, 0.08);
    color: var(--learn-strong);
    font-size: 13px;
    font-weight: 800;
}

.rt-intro {
    padding-top: 18px;
}

.rt-kicker {
    margin: 0 0 10px;
    color: var(--learn-strong);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.rt-intro h1 {
    margin: 0;
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.02;
    letter-spacing: 0;
}

.rt-intro p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.55;
    font-weight: 600;
}

.rt-actions {
    display: grid;
    gap: 16px;
}

.rt-choice {
    min-height: 112px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    box-shadow: 0 15px 42px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease, border-color 0.22s ease;
}

.rt-choice:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 62px rgba(15, 23, 42, 0.16);
}

.rt-choice--learn:hover {
    border-color: rgba(11, 122, 117, 0.38);
}

.rt-choice--social:hover {
    border-color: rgba(70, 64, 200, 0.38);
}

.rt-choice__icon,
.rt-choice__go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.rt-choice__icon {
    width: 66px;
    height: 66px;
    border-radius: 21px;
    color: #fff;
}

.rt-choice--learn .rt-choice__icon {
    background: linear-gradient(135deg, var(--learn), var(--learn-strong));
}

.rt-choice--social .rt-choice__icon {
    background: linear-gradient(135deg, var(--social), var(--social-strong));
}

.rt-choice__icon svg {
    width: 34px;
    height: 34px;
}

.rt-choice__body {
    min-width: 0;
}

.rt-choice__body strong {
    display: block;
    font-size: clamp(23px, 2.8vw, 31px);
    line-height: 1.1;
}

.rt-choice__body small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
}

.rt-choice__go {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--wash);
    color: var(--ink);
    transition: transform 0.22s ease;
}

.rt-choice__go svg {
    width: 24px;
    height: 24px;
}

.rt-choice:hover .rt-choice__go {
    transform: translateX(4px);
}

.rt-note {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(245, 183, 27, 0.34);
    border-radius: 20px;
    background: #fff8e5;
    color: #6c4a05;
}

.rt-note svg {
    width: 31px;
    height: 31px;
    color: #b87505;
}

.rt-note p {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 650;
}

.rt-transition {
    position: fixed;
    inset: 0;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.rt-transition.is-active {
    opacity: 1;
    pointer-events: all;
}

.rt-transition--learn {
    background: var(--learn-strong);
}

.rt-transition--social {
    background: var(--social-strong);
}

@keyframes rtEnter {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes rtImageDrift {
    from {
        transform: scale(1.02) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.08) translate3d(-1.6%, 0, 0);
    }
}

@media (max-width: 980px) {
    .rt-page {
        padding: 0;
        place-items: stretch;
    }

    .rt-stage {
        min-height: 100vh;
        border-radius: 0;
        border: 0;
        grid-template-columns: 1fr;
    }

    .rt-media {
        min-height: 270px;
    }

    .rt-media__copy {
        left: 22px;
        right: 22px;
        bottom: 24px;
    }

    .rt-media__copy strong {
        font-size: clamp(32px, 8vw, 54px);
    }

    .rt-panel {
        padding: 24px;
    }
}

@media (max-width: 560px) {
    .rt-media {
        min-height: 230px;
    }

    .rt-panel {
        gap: 22px;
        padding: 20px 16px 24px;
    }

    .rt-header {
        align-items: flex-start;
    }

    .rt-brand img {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .rt-brand strong {
        font-size: 20px;
    }

    .rt-status {
        display: none;
    }

    .rt-intro {
        padding-top: 0;
    }

    .rt-intro p {
        font-size: 17px;
    }

    .rt-choice {
        min-height: 104px;
        grid-template-columns: auto minmax(0, 1fr);
        padding: 15px;
        border-radius: 20px;
    }

    .rt-choice__icon {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .rt-choice__icon svg {
        width: 29px;
        height: 29px;
    }

    .rt-choice__go {
        display: none;
    }

    .rt-choice__body strong {
        font-size: 24px;
    }

    .rt-choice__body small {
        font-size: 14px;
    }

    .rt-note {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
