@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

body > :is(main, section, footer),
body :is(.ra-about, .ra-contact, .ra-blog, .dp-shop, .ra-admin) {
    font-family: Inter, system-ui, sans-serif;
}
body :is(main, footer) :is(h1, h2, h3, h4, p, a, label, button, input, select, textarea) {
    font-family: Inter, system-ui, sans-serif;
}

.ra-home {
    --ra-ink: #14243d;
    --ra-blue: #1456ad;
    --ra-muted: #415775;
    --ra-hero-title-size: clamp(2.35rem, 4.25vw, 4.35rem);
    --ra-hero-body-size: clamp(1rem, 1.5vw, 1.25rem);
    background: #f2f5fa;
    color: var(--ra-ink);
    font-family: Inter, system-ui, sans-serif;
}
.ra-home *, .ra-home *::before, .ra-home *::after { box-sizing: border-box; }
.ra-home .ra-home-wrap, .ra-home-footer .ra-home-wrap { width: min(calc(100% - clamp(32px, 8vw, 128px)), 1440px); margin-inline: auto; }
.ra-home h1, .ra-home h2, .ra-home h3, .ra-home p { margin: 0; }
.ra-home p { line-height: 1.65; }
.ra-home .ra-home-hero, .ra-home .ra-home-cta { color: #fff; background: linear-gradient(115deg, #0c1628, #142e55); }
.ra-home .ra-home-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 1fr;
    gap: clamp(24px, 5vw, 68px);
    align-items: center;
    padding-block: clamp(32px, 5.4vw, 70px);
}
.ra-home .ra-home-intro { display: grid; gap: 24px; }
.ra-home .ra-home-intro :is(h1, h2) {
    color: #fff;
    max-width: 15ch;
    font-size: var(--ra-hero-title-size);
    letter-spacing: -.055em;
    line-height: 1.02;
}
.ra-home .ra-home-intro p { max-width: 44ch; color: #d4e3f5; font-size: var(--ra-hero-body-size); }
.ra-home .ra-home-hero-photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 18px;
    border: 1px solid #ffffff26;
}
.ra-home .ra-home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ra-home .ra-home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--ra-blue);
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 700;
}
.ra-home .ra-home-button:hover { filter: brightness(1.12); }
.ra-home .ra-home-button-outline { border-color: #b5cae6; background: transparent; color: var(--ra-blue); }
.ra-home .ra-home-hero .ra-home-button { background: #8ccbff; color: #102444; }
.ra-home .ra-home-hero .ra-home-button-outline { background: transparent; color: #fff; }
.ra-home a:focus-visible { outline: 3px solid #4789e2; outline-offset: 4px; }
.ra-home [hidden] { display: none; }
.ra-home .ra-home-hero-reverse { grid-template-columns: 1fr 1.08fr; }
.ra-home .ra-home-hero-reverse .ra-home-hero-photo { grid-column: 1; grid-row: 1; }
.ra-home .ra-home-hero-reverse .ra-home-intro { grid-column: 2; grid-row: 1; }
.ra-home .ra-home-hero-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-bottom: 18px;
    color: #d4e3f5;
}
.ra-home .ra-home-hero-controls[hidden] { display: none; }
.ra-home .ra-home-hero-controls button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #9bb8d8;
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font: inherit;
    cursor: pointer;
}
.ra-home .ra-home-hero-controls button:hover { background: #244c77; }
.ra-home .ra-home-hero-controls button:focus-visible { outline: 3px solid #8ccbff; outline-offset: 3px; }

@media (max-width: 680px) {
    .ra-home .ra-home-wrap { width: calc(100% - 32px); }
    .ra-home .ra-home-hero-grid, .ra-home .ra-home-hero-reverse { grid-template-columns: 1fr; }
    .ra-home .ra-home-hero-reverse :is(.ra-home-hero-photo, .ra-home-intro) { grid-area: auto; }
}

@media (prefers-reduced-motion: no-preference) {
    .ra-home .ra-home-intro > * {
        animation: ra-home-text-enter 460ms ease-out both;
    }
    .ra-home .ra-home-intro > p { animation-delay: 80ms; }
    .ra-home .ra-home-intro > .ra-home-actions { animation-delay: 140ms; }
}

@keyframes ra-home-text-enter {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ra-home .ra-home-band { padding-block: clamp(48px, 7vw, 105px); background: #f2f5f9; scroll-margin-top: 120px; }
.ra-home .ra-home-white { background: #fff; }
.ra-home .ra-home-section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 12px 22px; margin-bottom: clamp(22px, 3.3vw, 48px); }
.ra-home .ra-home-section-heading p { margin-top: 10px; font-size: clamp(1rem, 1.45vw, 1.28rem); color: var(--ra-muted); }
.ra-home .ra-home-section-heading a, .ra-home .ra-home-card-link { color: #1460ce; font-size: clamp(1rem, 1.4vw, 1.15rem); font-weight: 650; text-decoration: none; }
.ra-home .ra-home-section-heading a:hover, .ra-home .ra-home-card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ra-home h2 { color: #10213a; font-size: clamp(1.9rem, 3vw, 2.85rem); letter-spacing: -.035em; line-height: 1.13; }
.ra-home h3 { color: #10213a; font-size: clamp(1.16rem, 1.65vw, 1.55rem); letter-spacing: -.025em; line-height: 1.24; }
.ra-home .ra-home-three, .ra-home .ra-home-four { display: grid; gap: clamp(15px, 2vw, 30px); }
.ra-home .ra-home-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ra-home .ra-home-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ra-home .ra-home-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; margin: 0; padding: clamp(20px, 2.3vw, 36px); color: #10213a; background: #fff; border: 1px solid #dce4ef; border-radius: 19px; overflow-wrap: anywhere; }
.ra-home .ra-home-card p { color: var(--ra-muted); font-size: clamp(.98rem, 1.42vw, 1.2rem); }
.ra-home .ra-home-card .ra-home-kicker { color: #1460ce; font-size: 1rem; font-weight: 650; }
.ra-home .ra-home-card-link { margin-top: auto; padding-top: 12px; }
.ra-home .ra-home-card-soft, .ra-home .ra-home-category-card { background: #f2f5f9; }
.ra-home .ra-home-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 16px; background: #e7eefc; color: #1766d6; font-weight: 700; margin-bottom: 10px; }
.ra-home .ra-home-icon svg { width: 27px; height: 27px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.ra-home .ra-home-metrics { background: #0e1728; color: #fff; padding-block: clamp(36px, 5vw, 72px); }
.ra-home .ra-home-metrics dl { margin-block: 0; }
.ra-home .ra-home-metrics dl > div { display: grid; gap: 4px; text-align: center; }
.ra-home .ra-home-metrics dt { grid-row: 2; color: #b5c9e6; font-size: clamp(.9rem, 1.4vw, 1.2rem); }
.ra-home .ra-home-metrics dd { grid-row: 1; margin: 0; font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 800; line-height: 1.1; }
.ra-home .ra-home-course-cover { width: 100%; min-height: clamp(115px, 13vw, 185px); display: grid; place-items: center; border-radius: 14px; margin-bottom: 8px; color: #fff; font-size: clamp(2rem, 3.6vw, 3rem); font-weight: 800; background: linear-gradient(120deg, #1b4d95, #0e182a); }
.ra-home .ra-home-course-seg { background: linear-gradient(120deg, #11766c, #0e182a); }
.ra-home .ra-home-course-ia { background: linear-gradient(120deg, #6840c8, #141931); }
.ra-home .ra-home-course-meta { display: flex; flex-wrap: wrap; gap: 8px 15px; }
.ra-home .ra-home-course .ra-home-button { align-self: flex-end; margin-top: auto; background: #1969d9; }
.ra-home .ra-home-category-card { align-items: center; text-align: center; text-decoration: none; }
.ra-home .ra-home-category-card .ra-home-icon { margin: 0; }
.ra-home .ra-home-category-card h3 { font-size: clamp(1.02rem, 1.5vw, 1.25rem); }
.ra-home .ra-home-category-card:hover { border-color: #8cb7eb; }
.ra-home .ra-home-steps { padding: 0; margin: 0; list-style: none; }
.ra-home .ra-home-step, .ra-home .ra-home-initial { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #1969d9; color: #fff; font-weight: 750; }
.ra-home .ra-home-step { margin-bottom: 8px; }
.ra-home .ra-home-quote blockquote { margin: 0; line-height: 1.65; font-size: clamp(1rem, 1.42vw, 1.2rem); }
.ra-home .ra-home-quote figcaption { margin-top: auto; padding-top: 9px; display: flex; align-items: center; gap: 12px; }
.ra-home .ra-home-portrait, .ra-home .ra-home-initial { flex: 0 0 46px; }
.ra-home .ra-home-portrait {
    display: block;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
}
.ra-home .ra-home-quote small { display: block; margin-top: 4px; color: var(--ra-muted); }
.ra-home .ra-home-cta { padding-block: clamp(45px, 7vw, 95px); text-align: center; }
.ra-home .ra-home-cta h2 { color: #fff; font-size: clamp(1.65rem, 3vw, 2.2rem); }
.ra-home .ra-home-cta p { margin: 14px auto 24px; color: #cfdef1; max-width: 56ch; font-size: 1.1rem; }
.ra-home .ra-home-cta .ra-home-actions { justify-content: center; }
.ra-home .ra-home-cta .ra-home-button { background: #1969d9; color: #fff; }
.ra-home .ra-home-cta .ra-home-button-outline { background: transparent; color: #fff; }
.ra-home-footer { background: #0e1728; color: #b5c9e6; font-family: Inter, system-ui, sans-serif; text-align: left; padding: 0; }
.ra-home-footer * { box-sizing: border-box; }
.ra-home-footer .ra-home-footer-grid { padding-block: clamp(38px, 5vw, 70px); display: grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap: 28px; }
.ra-home-footer h2 { margin: 0 0 18px; color: #fff; font-size: 1.08rem; }
.ra-home-footer p { margin: 14px 0 0; line-height: 1.6; }
.ra-home-footer .ra-home-brand { color: #fff; font-size: 1.35rem; }
.ra-home-footer .ra-home-brand span { color: #8dbeff; font-size: .7rem; letter-spacing: .18em; margin-left: 8px; }
.ra-home-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ra-home-footer a { color: #b5c9e6; text-decoration: none; }
.ra-home-footer a:hover { color: #fff; text-decoration: underline; }
.ra-home-footer .ra-home-footer-base { border-top: 1px solid #263750; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; padding-block: 20px; }
.ra-home-footer .ra-home-footer-base p { margin: 0; }
.ra-home-footer ~ footer { display: none; }
@media (max-width: 900px) {
    .ra-home .ra-home-three, .ra-home-footer .ra-home-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ra-home .ra-home-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    .ra-home .ra-home-three { grid-template-columns: 1fr; }
    .ra-home-footer .ra-home-footer-grid { grid-template-columns: 1fr; }
}


.ra-home .ra-home-hero-dots { display: flex; align-items: center; gap: 4px; }
.ra-home .ra-home-hero-dots button { width: 40px; border: 0; }
.ra-home .ra-home-hero-dots button::before { content: ""; width: 11px; height: 11px; border: 2px solid #fff; border-radius: 8px; }
.ra-home .ra-home-hero-dots button[aria-current="true"]::before { width: 25px; background: #fff; }
