/* ========================================
   ROBOT.COM WEBINAR - SHARED STYLES
   Uses rem (1rem = 10px with robot.com base)
   ======================================== */

/* === FONTS === */
@font-face {
    font-family: 'Yellix';
    src: url('https://www.datocms-assets.com/166246/1754936788-yellix-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yellix';
    src: url('https://www.datocms-assets.com/166246/1754936788-yellix-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Yellix';
    src: url('https://www.datocms-assets.com/166246/1754936788-yellix-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* === VARIABLES === */
:root {
    --rw-black: #262626;
    --rw-white: #ffffff;
    --rw-bg-grey: #f8f6f3;
    --rw-grey-1: #ecebea;
    --rw-grey-4: #8E8D8A;
    --rw-accent-yellow: #fff65d;
    --rw-ease: cubic-bezier(0.455, 0.03, 0.515, 0.955);
    --rw-font: 'Yellix', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* === BODY === */
body {
    background-color: #ffffff;
    margin: 0;
    padding: 0.4rem;
}

/* === BASE === */
.rw-landing {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    font-family: var(--rw-font);
    font-feature-settings: 'ss01' 1;
    color: var(--rw-black);
    background-color: transparent;
}

.rw-landing *,
.rw-landing *::before,
.rw-landing *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* === HERO SECTION (BASE) === */
.rw-hero {
    background-color: var(--rw-black);
    color: var(--rw-white);
    padding: 4rem 4rem;
    border-radius: 1.6rem;
    min-height: 50vh;
    display: flex;
    align-items: center;
}

.rw-logo-header {
    height: 2.4rem;
    width: auto;
    display: block;
    margin-bottom: 2.4rem;
}

.rw-hero-title {
    font-size: 4rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
}

.rw-hero-subtitle {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.8);
}

/* === VIDEO SHOWCASE === */
.rw-video-section {
    padding: 0 0 0.6rem 0;
}

.rw-video-card {
    background-color: var(--rw-bg-grey);
    border-radius: 1.6rem;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    min-height: 40rem;
}

.rw-video-media {
    position: relative;
    overflow: hidden;
}

.rw-video-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rw-video-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rw-video-title {
    font-size: 2.8rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.6rem;
    color: var(--rw-black);
}

.rw-video-text {
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--rw-grey-4);
    max-width: 36rem;
}

@media only screen and (max-width: 1023px) {
    .rw-video-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .rw-video-media {
        aspect-ratio: 16/9;
    }

    .rw-video-content {
        padding: 3.2rem 2.4rem;
    }

    .rw-video-title {
        font-size: 2.4rem;
    }
}

@media only screen and (max-width: 767px) {
    .rw-video-section {
        padding: 0 0 0.6rem 0;
    }

    .rw-video-card {
        border-radius: 1.2rem;
    }

    .rw-video-content {
        padding: 2.4rem 1.6rem;
    }

    .rw-video-title {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }

    .rw-video-text {
        font-size: 1.3rem;
    }
}

/* === CONTENT SECTION === */
.rw-content {
    padding: 0.6rem 0;
}

.rw-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0.6rem;
    max-width: 100%;
    margin: 0;
}

.rw-learn,
.rw-speakers {
    background-color: #F8F6F4;
    border-radius: 1.6rem;
    padding: 2.4rem;
}

.rw-section-title {
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.6rem;
}

/* === LEARN ITEMS === */
.rw-learn-item {
    display: flex;
    gap: 1.6rem;
    padding: 1.6rem 0;
    background-color: transparent;
    margin-bottom: 0.8rem;
}

.rw-learn-item:last-child {
    margin-bottom: 0;
}

.rw-learn-number {
    flex-shrink: 0;
    width: 3.6rem;
    height: 3.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rw-black);
    color: var(--rw-white);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 0.8rem;
}

.rw-learn-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.rw-learn-item p {
    font-size: 1.3rem;
    color: var(--rw-grey-4);
    line-height: 1.4;
}

/* === SPEAKERS === */
.rw-speaker-card {
    display: flex;
    gap: 1.6rem;
    padding: 1.6rem 0;
    background-color: transparent;
    margin-bottom: 0.8rem;
}

.rw-speaker-card:last-child {
    margin-bottom: 0;
}

.rw-speaker-img {
    width: 8rem;
    height: 8rem;
    border-radius: 1rem;
    object-fit: cover;
    object-position: center;
    background-color: var(--rw-grey-1);
    flex-shrink: 0;
    image-rendering: crisp-edges;
}

.rw-speaker-name {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.rw-speaker-role {
    font-size: 1.2rem;
    color: var(--rw-grey-4);
    margin-bottom: 0.8rem;
}

.rw-speaker-bio {
    font-size: 1.3rem;
    color: var(--rw-grey-4);
    line-height: 1.4;
}

/* === FOOTER === */
.rw-footer {
    margin-top: 0;
    color: var(--rw-white);
    background-color: var(--rw-white);
    padding-top: 0;
    padding-bottom: 0.4rem;
}

.rw-footer-inner {
    width: 100%;
    padding: 2.6rem 4rem 1.6rem;
    background-color: var(--rw-black);
    border-radius: 2.4rem;
    overflow: hidden;
}

.rw-footer-top {
    max-width: 120rem;
    margin: 0 auto;
}

.rw-footer-logo {
    margin-bottom: 4rem;
}

.rw-footer-logo a {
    display: block;
    width: max-content;
}

.rw-footer-logo svg {
    width: 14.6rem;
    display: block;
    color: var(--rw-white);
}

.rw-footer-legals {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
}

.rw-footer-legal-text,
.rw-footer-copyright {
    font-family: var(--rw-font);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.012rem;
    color: rgba(255, 255, 255, 0.3);
}

/* === RESPONSIVE (BASE) === */
@media only screen and (max-width: 1023px) {
    .rw-hero {
        padding: 3.2rem 2rem;
        min-height: auto;
    }

    .rw-hero-title {
        font-size: 3.2rem;
    }

    .rw-hero-subtitle {
        font-size: 1.3rem;
    }

    .rw-content-grid {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .rw-learn,
    .rw-speakers {
        padding: 2rem;
    }
}

@media only screen and (max-width: 767px) {
    .rw-hero {
        padding: 2rem 1.6rem;
        border-radius: 1.2rem;
    }

    .rw-logo-header {
        height: 2rem;
        margin-bottom: 3.2rem;
    }

    .rw-hero-title {
        font-size: 2.1rem;
        margin-bottom: 1rem;
    }

    .rw-hero-subtitle {
        font-size: 1.2rem;
    }

    /* Hide forced line breaks on mobile — let text wrap naturally */
    .rw-hero .rw-br-desktop {
        display: none;
    }

    .rw-content {
        padding: 0.6rem 0;
    }

    .rw-learn,
    .rw-speakers {
        padding: 1.6rem;
        border-radius: 1.2rem;
    }

    .rw-section-title {
        font-size: 2rem;
    }

    .rw-speaker-card {
        gap: 1.2rem;
        padding: 1.6rem;
    }

    .rw-speaker-img {
        width: 6rem;
        height: 6rem;
    }

    .rw-footer-inner {
        padding: 2.4rem 2.4rem 1.6rem;
        border-radius: 1.6rem;
    }

    .rw-footer-logo {
        margin-bottom: 3rem;
    }

    .rw-footer-logo svg {
        width: 10rem;
    }

    .rw-footer-legals {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .rw-footer-legal-text,
    .rw-footer-copyright {
        font-size: 1rem;
        line-height: 1.18;
        letter-spacing: -0.02rem;
    }
}