:root {
    --primary-blue: #2CB7F5;
    --accent-orange: #F15A24;
    --dark-shield: #1A1A1A;
    --white: #FFFFFF;
    /* Secondary palette for hierarchy */
    --blue-light: #E8F7FF;
    --blue-dark: #0A7CB8;
    --orange-light: #FDE8DD;
    --orange-dark: #C63E1C;
    /* Neutrals */
    --text-dark: #1A1A1A;
    --text-muted: #5A6B7A;
    --border-light: #E0E8ED;
    --background-light: #F8FAFB;
    /* Legacy variable mappings for compatibility */
    --ink: #1A1A1A;
    --blue: #2CB7F5;
    --sky: #E8F7FF;
    --lime: #F15A24;
    --cream: #F8FAFB;
    --line: #E0E8ED;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    color: var(--text-dark);
    background: var(--white);
    font-family: Arial, Helvetica, sans-serif
}

a {
    color: inherit;
    text-decoration: none
}

.nav {
    height: 92px;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 5vw;
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    z-index: 10
}

.brand img {
    width: 116px;
    height: 70px;
    object-fit: contain
}

.nav nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    align-items: center;
}

    .nav nav a {
        font-size: 14px;
        font-weight: 700;
        color: var(--text-dark)
    }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-blue);
    color: white;
    padding: 17px 25px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
    transition: background-color 0.3s ease
}

    .button:hover {
        background: var(--blue-dark)
    }

    .button.small {
        padding: 12px 18px
    }

.hero {
    min-height: 690px;
    padding: 90px 7vw 70px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 7vw;
    align-items: center;
    background: linear-gradient(120deg, var(--white) 55%, var(--sky) 55%);
    overflow: hidden
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    font-weight: 900;
    color: var(--primary-blue);
    margin: 0 0 22px
}

.hero h1 {
    font-size: clamp(52px, 6vw, 88px);
    line-height: 0.96;
    letter-spacing: -0.055em;
    margin: 0;
    max-width: 800px;
    color: var(--text-dark)
}

    .hero h1 em {
        color: var(--accent-orange);
        font-style: normal
    }

.lead {
    font-size: 20px;
    line-height: 1.65;
    max-width: 650px;
    color: var(--text-muted);
    margin: 30px 0
}

.actions {
    display: flex;
    align-items: center;
    gap: 28px
}

.text-link {
    font-weight: 800;
    color: var(--text-dark)
}

    .text-link span {
        color: var(--accent-orange)
    }

.hero-art {
    height: 500px;
    position: relative;
    display: grid;
    place-items: center
}

.core {
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: var(--dark-shield);
    color: white;
    display: grid;
    place-content: center;
    text-align: center;
    box-shadow: 0 30px 70px rgba(44, 183, 245, 0.27);
    z-index: 2
}

    .core span {
        font-size: 58px;
        font-weight: 900;
        color: var(--accent-orange);
        line-height: 1
    }

    .core strong {
        font-size: 12px;
        letter-spacing: 0.15em;
        color: var(--primary-blue)
    }

.orbit {
    position: absolute;
    border: 1px solid rgba(44, 183, 245, 0.4);
    border-radius: 50%
}

    .orbit.one {
        width: 330px;
        height: 330px
    }

    .orbit.two {
        width: 480px;
        height: 480px
    }

.metric {
    position: absolute;
    background: var(--white);
    border: 1px solid var(--border-light);
    padding: 15px 20px;
    box-shadow: 0 14px 35px rgba(26, 26, 26, 0.09);
    z-index: 3;
    border-radius: 4px
}

    .metric b, .metric small {
        display: block
    }

    .metric b {
        font-size: 20px;
        color: var(--primary-blue)
    }

    .metric small {
        color: var(--text-muted);
        margin-top: 4px
    }

.m1 {
    top: 52px;
    left: 5%
}

.m2 {
    right: 0;
    top: 205px
}

.m3 {
    bottom: 55px;
    left: 10%
}

.statement, .platform, .audience, .values, .community {
    padding: 100px 7vw
}

.statement {
    background: var(--dark-shield);
    color: var(--white)
}

    .statement .eyebrow, .cta .eyebrow {
        color: var(--accent-orange)
    }

h2 {
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1;
    letter-spacing: -0.045em;
    margin: 0;
    color: var(--text-dark)
}

.statement h2 {
    color: var(--white)
}

.statement-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9vw;
    margin-top: 65px
}

    .statement-grid p {
        font-size: 22px;
        line-height: 1.55;
        margin: 0;
        color: #D4DCE6
    }

.section-head {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 10vw;
    align-items: end;
    margin-bottom: 60px
}

    .section-head > p {
        font-size: 18px;
        line-height: 1.6;
        color: var(--text-muted)
    }

.platform {
    background: var(--background-light)
}

.steps, .audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border-light);
    border: 1px solid var(--border-light)
}

    .steps article, .audience article {
        padding: 40px;
        background: var(--white)
    }

    .steps span, .value-grid span {
        font-size: 12px;
        font-weight: 900;
        color: var(--primary-blue)
    }

h3 {
    font-size: 24px;
    margin: 24px 0 14px;
    color: var(--text-dark)
}

.steps p, .audience p, .value-grid p {
    color: var(--text-muted);
    line-height: 1.65
}

.audience {
    background: var(--blue-light)
}

.audience-grid article {
    background: transparent
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border-light)
}

    .value-grid article {
        padding: 36px 35px 36px 0;
        border-bottom: 1px solid var(--border-light);
        margin-right: 35px
    }

.community {
    background: var(--background-light)
}

    .community h2 {
        max-width: 700px
    }

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 60px;
    border-top: 1px solid #BEC8D2
}

    .partner-grid a {
        display: flex;
        justify-content: space-between;
        padding: 22px 4px;
        border-bottom: 1px solid #BEC8D2;
        font-weight: 800;
        margin-right: 40px;
        color: var(--text-dark);
        transition: color 0.3s ease
    }

        .partner-grid a:hover {
            color: var(--primary-blue)
        }

    .partner-grid span {
        color: var(--accent-orange)
    }

.cta {
    padding: 90px 7vw;
    background: var(--primary-blue);
    color: var(--white);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 10vw
}

    .cta p {
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.87);
        margin: 0 0 30px
    }

.button.light {
    background: var(--white);
    color: var(--primary-blue)
}

    .button.light:hover {
        background: var(--blue-light);
        color: var(--blue-dark)
    }

footer {
    padding: 32px 7vw;
    display: flex;
    align-items: center;
    gap: 26px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
    background: var(--background-light)
}

    footer img {
        width: 90px;
        height: 55px;
        object-fit: contain
    }

    footer p:last-child {
        margin-left: auto
    }

@media (max-width: 800px) {
    .nav {
        height: auto;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 12px;
        padding: 8px 5vw;
    }

        .nav nav {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 100%;
            margin-left: 0;
            order: 2;
            padding: 6px 0;
        }

    .brand {
        order: 1;
    }

        .brand img {
            width: 90px;
        }

    .button.small {
        order: 3;
        width: 100%;
        padding: 12px 18px;
        display: inline-flex;
        justify-content: center;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 60px;
        background: linear-gradient(180deg, var(--white) 60%, var(--sky) 60%)
    }

    .hero-art {
        height: 390px
    }

    .orbit.two {
        width: 350px;
        height: 350px
    }

    .orbit.one {
        width: 255px;
        height: 255px
    }

    .statement-grid, .section-head, .cta {
        grid-template-columns: 1fr
    }

    .steps, .audience-grid, .value-grid {
        grid-template-columns: 1fr
    }

    .partner-grid {
        grid-template-columns: 1fr
    }

        .partner-grid a {
            margin: 0
        }

    .statement, .platform, .audience, .values, .community {
        padding: 75px 6vw
    }

    footer {
        flex-wrap: wrap
    }

        footer p:last-child {
            margin-left: 0;
            width: 100%
        }
}

.loading {
    min-height: 100vh;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #1468dc
}

#blazor-error-ui {
    display: none
}

/* Team page */
.nav a.active:not(.brand) {
    color: var(--blue)
}

.team-hero {
    padding: 110px 7vw 95px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 10vw;
    align-items: end;
    background: linear-gradient(135deg,var(--ink) 0 68%,#173d70 68%);
    color: #fff
}

    .team-hero .eyebrow, .team-cta .eyebrow {
        color: var(--lime)
    }

    .team-hero h1 {
        font-size: clamp(50px,6vw,86px);
        line-height: .98;
        letter-spacing: -.055em;
        margin: 0;
        max-width: 850px
    }

    .team-hero > p {
        font-size: 20px;
        line-height: 1.65;
        color: #cad7e8;
        margin: 0 0 6px
    }

.team-section {
    padding: 100px 7vw;
    background: var(--cream)
}

.team-intro {
    display: grid;
    grid-template-columns: .4fr 1fr;
    gap: 7vw;
    align-items: start;
    padding-bottom: 42px;
    border-bottom: 1px solid #cbd4de
}

    .team-intro > p:last-child {
        font-size: 22px;
        line-height: 1.5;
        max-width: 750px;
        margin: 0
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 1px;
    background: #cbd4de;
    border: 1px solid #cbd4de;
    margin-top: 60px
}

.team-card {
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 340px;
    background: #fff;
    overflow: hidden
}

.team-photo {
    position: relative;
    min-height: 340px;
    background: var(--sky);
    overflow: hidden
}

    .team-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        display: block;
        transition: transform .4s ease
    }

.team-card:hover .team-photo img {
    transform: scale(1.035)
}

.team-photo span {
    position: absolute;
    right: 16px;
    bottom: 16px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    font-family: Arial,sans-serif
}

.team-card-copy {
    padding: 38px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

    .team-card-copy h2 {
        font-size: 30px;
        line-height: 1.05;
        letter-spacing: -.035em;
        margin: 12px 0 18px
    }

    .team-card-copy > p:not(.team-role) {
        color: #627187;
        line-height: 1.6;
        margin: 0 0 24px
    }

.team-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 900;
    color: var(--blue);
    margin: 0
}

.profile-link {
    font-size: 13px;
    font-weight: 900;
    margin-top: auto;
    border-bottom: 1px solid var(--blue);
    padding-bottom: 5px
}

    .profile-link span {
        color: var(--blue)
    }

.team-cta {
    padding: 90px 7vw;
    background: var(--blue);
    color: #fff;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 10vw
}

    .team-cta p {
        line-height: 1.7;
        color: #deecff;
        margin: 0 0 30px
    }

@media(max-width:1050px) {
    .team-grid {
        grid-template-columns: 1fr
    }
}

@media(max-width:1018px){
    .m2 {
        top: 80px;
    }
}
@media(max-width:800px) {
    .team-hero, .team-intro, .team-cta {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .team-hero {
        padding: 75px 6vw
    }

    .team-section {
        padding: 75px 6vw
    }

    .team-card {
        grid-template-columns: 1fr
    }

    .team-photo {
        height: 360px
    }

    .team-card-copy {
        min-height: 270px
    }

    .m2 {
        top: 80px;
    }
}

@media(max-width:480px) {
    .team-photo {
        height: 315px
    }

    .team-card-copy {
        padding: 30px 24px
    }
}

/* Ensure mobile-only items are hidden on wide screens */
.mobile-only {
    display: none !important;
}

/* Mobile breakpoint: show the mobile-only connect button when menu is open */
@media (max-width:800px) {
    .nav.open nav .mobile-only {
        display: inline-flex !important;
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }

    /* hide desktop-only button on mobile */
    .desktop-only {
        display: none !important;
    }
}

/* Hamburger hidden on desktop; visible on mobile only */
.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
}

/* Desktop nav shown by default */
.nav nav {
    display: flex;
    gap: 30px;
    margin-left: auto;
    align-items: center;
}

/* Mobile appearance for the hamburger: a boxed control with three centered bars */
@media (max-width:800px) {
    .nav {
        height: 76px;
        padding: 8px 5vw;
        display: flex;
        align-items: center;
        gap: 12px;
        position: relative;
    }

    /* Keep the brand pinned to the left */
    .brand {
        order: 1;
        margin-right: auto; /* ensures logo stays left and other items push right */
    }

        .brand img {
            width: 90px;
            height: auto;
            display: block;
        }

    /* show hamburger only on mobile and keep it visually as a box with 3 lines */
    .menu-toggle {
        display: inline-grid;
        place-items: center;
        width: 44px;
        height: 40px;
        padding: 6px;
        margin-left: 0; /* brand has margin-right:auto so toggle sits to the right */
        margin-inline-start: auto; /* ensure toggle aligns to right in LTR/RTL contexts */
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 8px;
        box-shadow: 0 1px 2px rgba(16,35,63,0.06);
    }

        .menu-toggle:focus {
            outline: 3px solid rgba(20,104,220,0.12);
            outline-offset: 2px;
        }

        .menu-toggle .bar {
            display: block;
            width: 18px;
            height: 2px;
            background: var(--ink);
            margin: 2.5px 0;
            border-radius: 2px;
            transition: transform .18s ease, opacity .18s ease;
        }

    /* hide nav links by default on mobile */
    .nav nav {
        display: none;
        width: 100%;
    }

    /* when header has .open show the stacked nav panel */
    .nav.open nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        padding: 12px 6vw;
        background: rgba(255,255,255,0.98);
        border-bottom: 1px solid var(--line);
        gap: 12px;
        z-index: 9;
    }

    /* Connect button hidden by default on mobile; shown when menu open */
    .button.small {
        display: none;
        order: 3;
        width: 100%;
        padding: 12px 18px;
        justify-content: center;
    }

    .nav.open .button.small {
        display: inline-flex;
    }

    /* hide the desktop connect button in mobile mode */
    .desktop-only {
        display: none;
    }

    /* mobile-only connect button shown inside the opened nav panel */
    .nav.open nav .mobile-only {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        padding: 12px 18px;
    }
}

h1:focus {
    outline: none;
}

#meetthefounder {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

    #meetthefounder .founder-video {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0;
    }
/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-page {
    background: var(--white);
}


/* Contact hero */

.contact-hero {
    padding: 90px 7vw 75px;
    background: linear-gradient( 135deg, var(--dark-shield) 0 68%, var(--blue-dark) 68% );
    color: var(--white);
}

.contact-hero__content {
    max-width: 850px;
}

.contact-hero .eyebrow {
    color: var(--accent-orange);
}

.contact-hero h1 {
    font-size: clamp(48px, 6vw, 82px);
    line-height: .98;
    letter-spacing: -.055em;
    margin: 0;
    color: var(--white);
}

.contact-hero__content > p:last-child {
    max-width: 650px;
    margin: 28px 0 0;
    font-size: 20px;
    line-height: 1.65;
    color: #cad7e8;
}


/* Contact form */

.contact-form-section {
    width: min(700px, 86vw);
    margin: 0 auto;
    padding: 90px 0 100px;
}


    /* Override the site's normal two-column section heading
   only inside the contact form */

    .contact-form-section .section-head {
        display: block;
        margin-bottom: 45px;
    }

        .contact-form-section .section-head h2 {
            margin-bottom: 18px;
        }

        .contact-form-section .section-head .lead {
            margin: 0;
            max-width: 600px;
        }


    /* Form fields */

    .contact-form-section .form-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 26px;
    }

        .contact-form-section .form-row .eyebrow {
            margin: 0;
        }

    .contact-form-section .text-input {
        display: block;
        width: 100%;
        min-height: 52px;
        padding: 14px 16px;
        font: inherit;
        font-size: 16px;
        color: var(--text-dark);
        background: var(--white);
        border: 1px solid var(--border-light);
        border-radius: 4px;
        outline: none;
        transition: border-color .2s ease, box-shadow .2s ease;
    }


        /* Same blue visual language used throughout the site */

        .contact-form-section .text-input:focus {
            border-color: var(--primary-blue);
            box-shadow: 0 0 0 3px rgba(44, 183, 245, 0.15);
        }


    /* Message box */

    .contact-form-section textarea.text-input {
        min-height: 160px;
        resize: vertical;
    }


    /* Send button */

    .contact-form-section > .button {
        border: 0;
        cursor: pointer;
        margin-top: 4px;
    }


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 800px) {

    .contact-hero {
        padding: 70px 6vw 60px;
    }

        .contact-hero h1 {
            font-size: clamp(42px, 12vw, 64px);
        }

    .contact-form-section {
        width: 88vw;
        padding: 70px 0 80px;
    }

        .contact-form-section > .button {
            width: 100%;
        }
}


.contact-success {
    text-align: center;
    padding: 70px 20px;
}

    .contact-success .eyebrow {
        margin-bottom: 20px;
    }

    .contact-success h2 {
        font-size: clamp(38px, 5vw, 58px);
        line-height: 1.05;
        margin-bottom: 24px;
    }

    .contact-success > p:last-child {
        max-width: 600px;
        margin: 0 auto;
        font-size: 21px;
        line-height: 1.65;
        color: var(--text-muted);
    }