@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: white;
}

.logo {
    height: 70px;
    margin-bottom: 2rem;
}


/* Video Section */
.video-section {
    background-image: radial-gradient(circle at top left,
            #0c0b74 40%,
            #5b55ff 100%);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100dvh;
    max-width: none;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-section .container {
    max-width: 1500px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
}

.video-section .column-content h1,
.video-section .column-content p {
    color: white;
}

.video-section .column-content h1 {
    text-wrap: balance;
}

.video-section .column-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* HubSpot Form - Dark Background Overrides */
.video-section [data-hsfc-id=Renderer] .hsfc-Step .hsfc-Step__Content {
    padding: 0;
}

.video-section [data-hsfc-id=Renderer] .hsfc-FieldLabel {
    color: white;
}

.video-section [data-hsfc-id=Renderer] input,
.video-section [data-hsfc-id=Renderer] textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.video-section [data-hsfc-id=Renderer] input::placeholder,
.video-section [data-hsfc-id=Renderer] textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.video-section [data-hsfc-id=Renderer] input:-webkit-autofill,
.video-section [data-hsfc-id=Renderer] input:-webkit-autofill:hover,
.video-section [data-hsfc-id=Renderer] input:-webkit-autofill:focus {
    -webkit-text-fill-color: white;
    -webkit-box-shadow: 0 0 0px 1000px rgba(255, 255, 255, 0.1) inset;
    border-color: rgba(255, 255, 255, 0.3);
    transition: background-color 5000s ease-in-out 0s;
}

.video-section [data-hsfc-id=Renderer] .hsfc-RichText {
    color: rgba(255, 255, 255, 0.9);
}

.video-section [data-hsfc-id=Renderer] .hsfc-DataPrivacyField .hsfc-RichText,
.video-section [data-hsfc-id=Renderer] .hsfc-DataPrivacyField .hsfc-CheckboxField label,
.video-section [data-hsfc-id=Renderer] .hsfc-DataPrivacyField .hsfc-CheckboxField span {
    color: rgba(255, 255, 255, 0.8);
}

.video-section [data-hsfc-id=Renderer] .hsfc-DataPrivacyField a,
.video-section [data-hsfc-id=Renderer] .hsfc-RichText a {
    color: #ffed4e;
    text-decoration: underline;
}

.video-section [data-hsfc-id=Renderer] .hsfc-DataPrivacyField a:hover,
.video-section [data-hsfc-id=Renderer] .hsfc-RichText a:hover {
    color: white;
}

.video-section [data-hsfc-id=Renderer] .hsfc-NavigationRow {
    margin-top: 0;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    align-items: center;
}

/* Make sure captcha and button are properly aligned */
.video-section [data-hsfc-id=Renderer] .hsfc-NavigationRow>* {
    margin: 0;
}

/* HubSpot Form Styling - CSS Variables */
:root {
    /* Global */
    --hsf-global__font-family: 'Inter', sans-serif;
    --hsf-global__font-size: 16px;
    --hsf-global__color: #333;

    /* Button */
    --hsf-button__font-family: 'Inter', sans-serif;
    --hsf-button__font-size: 16px;
    --hsf-button__color: white;
    --hsf-button__background-color: #5b55ff;
    --hsf-button__border-radius: 6px;
    --hsf-button__padding: 0.875rem 2rem;

    /* Field Input */
    --hsf-field-input__border-width: 2px;
    --hsf-field-input__border-style: solid;
    --hsf-field-input__border-color: #e0e0e0;
    --hsf-field-input__border-radius: 6px;
    --hsf-field-input__padding: 0.5rem;
    --hsf-field-input__font-family: 'Inter', sans-serif;
    --hsf-field-input__background-color: #fafafa;

    /* Field Textarea */
    --hsf-field-textarea__border-width: 2px;
    --hsf-field-textarea__border-style: solid;
    --hsf-field-textarea__border-color: #e0e0e0;
    --hsf-field-textarea__border-radius: 6px;
    --hsf-field-textarea__padding: 0.875rem;
    --hsf-field-textarea__font-family: 'Inter', sans-serif;
    --hsf-field-textarea__background-color: #fafafa;

    /* Field Labels */
    --hsf-field-label__font-size: 14px;
    --hsf-field-label__color: #333;

    /* Field Description */
    --hsf-field-description__color: #666;

    /* Checkbox */
    --hsf-field-checkbox__color: white;

    /* Rich Text */
    --hsf-richtext__font-size: 13px;
    --hsf-richtext__color: #666;

    /* Error Alert */
    --hsf-erroralert__color: #ffed4e;
    --hsf-erroralert__font-size: 14px;

    /* Row Spacing */
    --hsf-row__horizontal-spacing: 1rem;
    --hsf-row__vertical-spacing: 1rem;
}

[data-hsfc-id=Renderer] .hsfc-DataPrivacyField .hsfc-RichText,
[data-hsfc-id=Renderer] .hsfc-DataPrivacyField .hsfc-CheckboxField label,
[data-hsfc-id=Renderer] .hsfc-DataPrivacyField .hsfc-CheckboxField span {
    font-size: 13px;
    line-height: 1.4;
    color: #666;
}

[data-hsfc-id=Renderer] .hsfc-DataPrivacyField>*:not(:last-child) {
    margin-bottom: 0.75rem;
}

/* Two Column Layout */
.two-column {
    display: grid;
    grid-template-areas:
        "intro form"
        "video form";
    align-items: flex-start;
    column-gap: 3rem;
    grid-template-columns: 2fr 3fr;
    grid-template-rows: min-content 1fr
}

.column-content {
    grid-area: intro;
    min-width: 0;
}

.column-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.column-content p {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0;
    text-wrap: balance;
}

.column-video {
    grid-area: video;
    min-width: 0;
}

.form-intro {
    margin-bottom: 1.25rem;
}

.column-form {
    grid-area: form;
    align-self: center;
    padding: 2rem;
    background-image: radial-gradient(circle at top left,
            #050547 40%,
            #0c0b74 100%);
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);

    /* Styling for heading - applies to both hardcoded h2 and HubSpot Rich Text h2 */
    h2 {
        margin-top: 0;
        text-wrap: balance;
    }

    /* HubSpot Rich Text heading styling - applies to h2 or first paragraph */
    .hsfc-RichText h2,
    .hsfc-RichText p:first-of-type {
        margin-top: 0;
        text-wrap: balance;
        color: white;
        font-size: 1.5rem;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: .5rem;
    }
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.release-date {
    margin-top: 1.5rem;
    font-size: 2rem;
    font-weight: 100;
    color: white;
    opacity: 0.8;
    text-align: left;
    letter-spacing: -.5px;
    text-transform: uppercase;
    text-shadow: 0px 10px 4px rgba(0, 0, 0, 0.4);
    text-wrap: balance;
}

.release-date .year {
    font-weight: 400;
}

.release-date .quarter {
    font-weight: 700;
    color: #4efffc;
}

/* Responsive Design */
@media (max-width: 1499px) {
    html {
        font-size: 90%;
    }
}

@media (max-width: 1100px) {
    .two-column {
        grid-template-columns: 1fr 2fr;
        column-gap: 2rem;
    }

    .column-form {
        padding: 1.5rem;
    }

    .release-date {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .video-section .container {
        padding: 1rem;
    }

    .two-column {
        grid-template-areas:
            "intro"
            "video"
            "form";
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }

    .column-content h1 {
        font-size: 2rem;
    }

    .column-content p {
        font-size: 1rem;
    }

    .column-form {
        padding: 1.5rem;
    }

    .column-form h2,
    .column-form .hsfc-RichText h2,
    .column-form .hsfc-RichText p:first-of-type {
        font-size: 1.5rem;
    }

    .release-date {
        font-size: 1.75rem;
        margin-top: 1.5rem;
    }

    /* Stack form captcha and button on tablet */
    .video-section [data-hsfc-id=Renderer] .hsfc-NavigationRow {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 60px;
        margin-bottom: 1.5rem;
    }

    .video-section .container {
        padding: 1rem;
    }

    .two-column {
        grid-template-areas:
            "intro"
            "video"
            "form";
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0.5rem;
    }

    .column-content h1 {
        font-size: 1.5rem;
    }

    .column-content p {
        font-size: 0.9375rem;
    }

    .column-form {
        padding: 1.25rem;
    }

    .column-form h2,
    .column-form .hsfc-RichText h2,
    .column-form .hsfc-RichText p:first-of-type {
        font-size: 1.25rem;
    }

    .video-section .column-content {
        text-align: left;
    }

    .video-section [data-hsfc-id=Renderer] .hsfc-FieldLabel,
    .video-section [data-hsfc-id=Renderer] .hsfc-DataPrivacyField,
    .video-section [data-hsfc-id=Renderer] .hsfc-RichText {
        text-align: left;
    }

    .release-date {
        font-size: 1.5rem;
        margin-top: 1rem;
    }
}