﻿/*html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
*/


/* ============================================================
   Globals
   ============================================================ 
:root {
    --cs-app-bg: #0B1220; 
}*/




/* ============================================================
   App Bar
   ============================================================ */

.cs-appbar-blur {
    background-color: rgba(11, 18, 32, 0.55); /* your dark bg with transparency */
    backdrop-filter: blur(9px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/*Header*/
.cs-appbar__brand {
    display: flex;
    align-items: center;
    gap: 3px;
}

.cs-appbar__brand__logo {
    height: 40px; /* tweak for your 80px appbar */
    width: auto;
    display: block;
}




/*Hero Header*/
.cs-hero {
    position: relative;
    overflow: visible;
}

.cs-hero-inner {
    position: relative; /* <-- key: illustration anchors here */
}

/* Keep text above image */
.cs-hero-content {
    position: relative;
    z-index: 2;
}

/* Illustration */
.cs-hero-illustration {
    position: absolute;
    right: -16%; /* anchor to container edge */
    top: 60%;
    transform: translateY(-45%);
    width: clamp(520px, 55vw, 920px); /* responsive without drifting */
    z-index: 1;
    pointer-events: none;
}

    .cs-hero-illustration img {
        width: 100%;
        height: auto;
        display: block;
    }

/*@media (min-width: 960px) {
    .cs-hero-content {
        max-width: 780px;
    }
}*/

/* Mobile fallback */
@media (max-width: 960px) {
    .cs-hero-illustration {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        margin-top: 32px;
    }
}





/* Hero title*/
.hero-rainbow {
    position: relative;
    background-image: linear-gradient( 120deg, #ff3b3b, #ff4fd8, #7c3aed, #2bd4ff, #28ff8a, #ffd166, #ff3b3b );
    background-size: 400% 400%;
    background-position: 0% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* softness */
    filter: saturate(120%);
    
}

.hero-rainbow-sm {
    position: relative;
    background-image: linear-gradient( 120deg, #ff3b3b, #ff4fd8, #7c3aed, #2bd4ff, #28ff8a, #ffd166, #ff3b3b );
    background-size: 400% 400%;
    background-position: 0% 50%;
    opacity: .4;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* softness */
    filter: saturate(120%);
}

.cs-hero-h1 {
    font-size: clamp(2.5rem, 4.2vw, 3.5rem);
}

.cs-hero-h2 {
    font-size: clamp(1.7rem, 2.8vw, 2.3rem);
    line-height: 1.15;
}

.hero-rainbow:focus,
.hero-rainbow:focus-visible {
    outline: none;
}


/* ============================================================
   STICKY PANELS 
   ============================================================ */

:root {
    --cs-sticky-top: 80px; /* app bar offset */
    --cs-reveal: 70px; /* reveal amount */
    --cs-radius: 20px;
}

/* Stack container */
.cs-sticky-stack {
    display: block;
    margin-bottom: 300px;  /*runway for the last card */
}



    /* Reveal stacking offsets (always applied)*/ 
    .cs-card[data-index="0"] {
        z-index: 1;
        transform: translateY(0);
    }

    .cs-card[data-index="1"] {
        z-index: 2;
        transform: translateY(calc(var(--cs-reveal) * 1));
    }

    .cs-card[data-index="2"] {
        z-index: 3;
        transform: translateY(calc(var(--cs-reveal) * 2));
    }

.cs-card[data-index="3"] {
    z-index: 4;
    transform: translateY(calc(var(--cs-reveal) * 3));
}

/*Purple Card Background*/
.cs-panel-0 {
    /* tweak these if you want it warmer/colder */
    --bg-deep: #0b0520;
    --bg-indigo: #1a0b3f;
    --bg-purple: #4b1aa3;
    --bg-violet: #7a2cff;
    --bg-magenta: #c61bff;
    --bg-blueglow: #31c6ff;
    background:
    /* top-left soft glow */
    radial-gradient(900px 520px at 18% 18%, rgba(198, 27, 255, 0.35) 0%, rgba(122, 44, 255, 0.18) 35%, rgba(11, 5, 32, 0.00) 70%),
    /* right-side big purple bloom */
    radial-gradient(1100px 700px at 78% 44%, rgba(122, 44, 255, 0.40) 0%, rgba(75, 26, 163, 0.18) 38%, rgba(11, 5, 32, 0.00) 74%),
    /* subtle cyan accent (like the ring glow) */
    radial-gradient(800px 380px at 62% 70%, rgba(49, 198, 255, 0.18) 0%, rgba(49, 198, 255, 0.00) 62%),
    /* overall depth */
    linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-indigo) 28%, var(--bg-purple) 55%, rgba(122, 44, 255, 0.55) 78%, rgba(198, 27, 255, 0.35) 100%);
    /* optional: a tiny bit of contrast like your card */
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}

.cs-panel-1 {
    background: linear-gradient(-45deg, rgba(252, 25, 0,.90), rgba(255, 162, 0,0.90));
}


.cs-panel-2 {
    background: #db2777;
    /*background: linear-gradient(180deg, #db2777, #9d174d);*/
}

.cs-panel-3 {
    background: linear-gradient(-45deg, rgba(20, 75, 204,.90), rgba(82, 225, 250,0.90));
}








/* Optional: add a subtle grain overlay (nice on gradients) */
.cs-bg--grain {
    position: relative;
    overflow: hidden;
}

    .cs-bg--grain::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        opacity: 0.10;
        mix-blend-mode: overlay;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
        background-size: 160px 160px;
    }




/* Typography contrast */
    .cs-card * {
    color: #ffffff;
}



/* Card shell: you already have cs-card, these are additive */
.cs-card {
    position: sticky;
    top: var(--cs-sticky-top);
    border-radius: var(--cs-radius);
    padding: 24px;
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    min-height: 700px;
}

/* Inner spacing */
.cs-card-inner {
    padding: 16px;
}


.cs-avatar-rounded {
    border-radius: 12px; /* or 12–16px to taste */
}

.cs-card-subtitle {
    font-size: 17pt;
}

.cs-card-detail {
    font-size: 13pt;
}


/*Bullet icon*/
/* kill native bullets + left indent */
.cs-icon-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 0;
}

/* belt-and-braces: kill marker explicitly */
.cs-icon-list__item::marker {
    content: "" !important;
}

/* align icon + text horizontally */
.cs-icon-list__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 6px 0;
}

.cs-icon-list__icon {
    margin-top: 2px;
    flex: 0 0 auto;
}

/*svg etmp size*/
.cs-visual-col {
    display: flex;
    height: 100%
}

.cs-visual-svg {
    width: 100%;
    height: 100%;
    display: block;
    
}

/* Call out on the card panel*/
.cs-callout {
    padding: 2px 14px;
    border-left: 4px solid rgba(255,255,255,0.35); /* tweak to brand */
    background: transparent; /* or a subtle rgba() */
    border-radius: 0px;
}

.cs-callout__title {
    font-weight: 700;
    margin-bottom: 0px;
}

.cs-callout__q {
    line-height: 1.45;
    font-size: 12pt;
    opacity: 0.75;
}

    .cs-callout__q + .cs-callout__q {
        margin-top: 6px;
    }



/* ============================================================
   MOBILE: disable sticky stacking, let cards scroll normally
   ============================================================ */
@media (max-width: 768px) {

    /* remove the runway - mobile doesn't need it */
    .cs-sticky-stack {
        margin-bottom: 80px;
    }

    /* cards become normal flow */
    .cs-card {
        position: static;
        top: auto;
        /* stop the "too tall" issue */
        min-height: auto;
        /* optional: more mobile-friendly spacing */
        padding: 16px;
        margin-bottom: 24px;
    }

        /* remove the reveal stacking offsets (they push content off screen) */
        .cs-card[data-index="0"],
        .cs-card[data-index="1"],
        .cs-card[data-index="2"],
        .cs-card[data-index="3"] {
            transform: none !important;
        }

    /* optional: tighten inner padding */
    .cs-card-inner {
        padding: 12px;
    }

    /* optional: tune typography a touch */
    .cs-card-subtitle {
        font-size: 14pt;
    }

    .cs-card-detail {
        font-size: 11.5pt;
    }
}



@media (max-width: 768px) {

    /* Hide the full illustration block so it doesn't take height */
    .cs-visual-col {
        display: none;
    }

    /* Add a watermark / background instead */
    .cs-card.cs-panel-0 { /* or .cs-card for all panels */
        position: relative;
    }

        .cs-card.cs-panel-0::after {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            /* Put your illustration SVG/PNG here */
            background-image: url("/images/cards/OneFinSourceTruth3-clean1.svg");
            background-repeat: no-repeat;
            background-position: 50% 92%;
            background-size: min(520px, 120%);
            opacity: 0.22; /* tune */
            filter: blur(0.2px); /* optional */
            mix-blend-mode: screen; /* optional, looks nice on gradients */
        }

    .cs-card.cs-panel-1::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        /* Put your illustration SVG/PNG here */
        background-image: url("/images/cards/StopFinancingEcosystemPlain1.svg");
        background-repeat: no-repeat;
        background-position: 50% 92%;
        background-size: min(520px, 120%);
        opacity: 0.22; /* tune */
        filter: blur(0.2px); /* optional */
        mix-blend-mode: screen; /* optional, looks nice on gradients */
    }

    .cs-card.cs-panel-2::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        /* Put your illustration SVG/PNG here */
        background-image: url("/images/cards/GrowthWithoutLinearHeadcountPlain4.svg");
        background-repeat: no-repeat;
        background-position: 50% 92%;
        background-size: min(520px, 120%);
        opacity: 0.22; /* tune */
        filter: blur(0.2px); /* optional */
        mix-blend-mode: screen; /* optional, looks nice on gradients */
    }

    .cs-card.cs-panel-3::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        /* Put your illustration SVG/PNG here */
        background-image: url("/images/cards/OneFinSourceTruth3-clean1.svg");
        background-repeat: no-repeat;
        background-position: 50% 92%;
        background-size: min(520px, 120%);
        opacity: 0.22; /* tune */
        filter: blur(0.2px); /* optional */
        mix-blend-mode: screen; /* optional, looks nice on gradients */
    }


    /* Ensure content stays above the watermark */
    .cs-card > * {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 768px) {
    .cs-chips {
        flex-wrap: wrap; /* MudStack uses flex when Row=true */
        row-gap: 10px;
        column-gap: 10px;
        margin-top: 12px;
        padding-bottom: 6px; /* keeps last line away from clip edge */
    }

    .cs-chip {
        white-space: nowrap;
    }
}


/* END Sticky Cards */








/* ============================================================
   HERO SECTION – Intro block
   ============================================================ */
.intro-grid {
    margin-top: 0px;
    margin-bottom: 120px;
}

.spacer {
    margin-top: 80px;
    margin-bottom: 220px;
}
.pink {
    background-color: deeppink;
}




/* ============================================================
   HERO SECTION – BACKGROUND & LAYOUT
   ============================================================ 

.hero {
    position: relative;
    overflow: hidden;
    padding: 28px 32px;
    background: repeating-linear-gradient( 135deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 26px ), repeating-linear-gradient( 45deg, rgba(255,255,255,0.055) 0 1px, transparent 1px 26px ), radial-gradient( 1200px 600px at 12% 18%, rgba(255,255,255,0.06), rgba(255,255,255,0) 55% ), #0b1624;
}*/

    /* Optional content width control 
    .hero > * {
        max-width: 820px;
    }*/

    /* ============================================================
   HERO HEADLINE
   ============================================================ 

    .hero h1 {
        font-family: "Ubuntu Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
        font-weight: 800;
        font-size: 64px;
        line-height: 1.05;
        letter-spacing: -0.035em;
        color: rgba(255,255,255,0.96);
        margin: 0 0 22px 0;
        text-wrap: balance;
    }*/

    /* ============================================================
   HERO BODY / LEDE
   ============================================================ 

    .hero p {
        font-family: "Ubuntu Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
        font-weight: 500;
        font-size: 18px;
        line-height: 28px;
        letter-spacing: -0.01em;
        color: rgba(198,214,235,0.82);
        margin: 0;
        max-width: 780px;
    }*/

        /* Emphasised words inside body text 
        .hero p strong {
            font-weight: 700;
            color: rgba(255,255,255,0.92);
        }*/

/* ============================================================
   RESPONSIVE SCALING
   ============================================================ 

@media (max-width: 900px) {
    .hero h1 {
        font-size: 54px;
        line-height: 1.08;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 18px;
    }

        .hero h1 {
            font-size: 40px;
            line-height: 1.1;
            letter-spacing: -0.025em;
        }

        .hero p {
            font-size: 16px;
            line-height: 24px;
        }
}*/

.texttransparency {
    opacity: 0.75;
    
}

/* Mudblazor overrides*/
.mb-8 {
    margin-bottom: 64px;
}

.mb-10 {
    margin-bottom: 80px;
}

.mb-12 {
    margin-bottom: 96px;
}

.mb-14 {
    margin-bottom: 132px;
}
.mt-8 {
    margin-bottom: 64px;
}

.mt-10 {
    margin-bottom: 80px;
}

.mt-12 {
    margin-bottom: 96px;
}

.mt-14 {
    margin-bottom: 132px;
}

/*Global button typography*/ 
.mud-button-root {
    text-transform: capitalize;
    /* font-size: 20px;*/
    font-weight: 700;
    letter-spacing: 0.03em;
}

.cs-btn-cta {
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 28px;
}



/* ============================================================
   Section splitter 1 - btm glow
   ============================================================*/

.cs-section {
    position: relative;
    background: #0b0f14; 
    overflow: visible; /* IMPORTANT: don't break sticky */
    /* IMPORTANT: stops margins collapsing into the section edges */
    display: flow-root;
    /* IMPORTANT: gives the glow a "zone" so margins don't fight the boundary */
    padding-bottom: 160px; /* tweak 120–220 depending on how deep you want the fade */
}

    /* make sure content sits above glows */
    .cs-section > .cs-page {
        position: relative;
        z-index: 1;
    }

/* === TOP FADE (kills the hard line at top) === */
.cs-section-inner {
    position: relative; /* anchor for its pseudo element */
}

    .cs-section-inner::before {
        content: "";
        position: absolute;
        left: -32px; /* slight bleed so it reaches container edges cleanly */
        right: -32px;
        top: 0;
        height: 140px; /* was 0px - this actually needs height */
        pointer-events: none;
        z-index: 2; /* sits above background glows */

        background: linear-gradient( to bottom, rgba(11, 15, 20, 1.00) 0%, rgba(11, 15, 20, 0.88) 35%, rgba(11, 15, 20, 0.00) 100% );
    }

/* ===== Splitter glow ===== */
.cs-section--split::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 230px; /* keep your larger height if you like */
    pointer-events: none;
    z-index: 0;
    /*background: radial-gradient(120% 140% at 0% 100%, rgba(0,255,170,0.95) 0%, rgba(0,255,170,0.55) 18%, rgba(0,255,170,0.22) 42%, rgba(0,255,170,0.00) 70%), radial-gradient(120% 140% at 100% 100%, rgba(0,255,170,0.95) 0%, rgba(0,255,170,0.55) 18%, rgba(0,255,170,0.22) 42%, rgba(0,255,170,0.00) 70%), linear-gradient(to top, rgba(0,255,170,0.55) 0%, rgba(0,255,170,0.22) 18%, rgba(0,255,170,0.10) 35%, rgba(0,255,170,0.00) 70%);*/
    background: 
        radial-gradient(120% 140% at 0% 100%, rgba(76,201,240,0) 0%, rgba(76,201,240,.9) 18%, rgba(124,58,237,.85) 42%, rgba(0,255,170,0.00) 70%), 
        radial-gradient(120% 140% at 100% 100%, rgba(76,201,240,0) 0%, rgba(76,201,240,.9) 18%, rgba(124,58,237,.85) 42%, rgba(0,255,170,0.00) 70%), 
        linear-gradient(to top, rgba(76,201,240,.9) 0%, rgba(124,58,237,.85) 18%, rgba(0,255,170,0.30) 25%, rgba(0,255,170,0.00) 70%);
    /*was blur(100px) which makes it foggy + bleeds into other sections */
    filter: blur(76px);
    opacity: 1;
    mix-blend-mode: screen;
}

/* Add a crisp edge line right at the bottom (makes it look “cut”) */
.cs-section--split::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(to right, rgba(124,58,237,.85), rgba(124,58,237,.85) 20%, rgba(124,58,237,.85) 045%, rgba(76,201,240,.90) 55%, rgba(124,58,237,.85));
    opacity: .85;
}

/* Mobile tweak */
@media (max-width: 768px) {
    .cs-section {
        padding-bottom: 120px;
    }

    .cs-section-inner::before {
        height: 110px;
        left: -16px;
        right: -16px;
    }

    .cs-section--split::after {
        height: 260px; /* was 0px (that turns it off) */
        filter: blur(5px);
    }
}










/* ============================================================
   NEW (non-conflicting) Section splitter - btm glow (CLIPPED)
   Uses NEW class names so your original .cs-* rules remain untouched
   ============================================================*/

/* SECTION ROOT (new name) */
.csx-section {
    position: relative;
    /*background: #0b0f14;*/
    overflow: visible; /* keep sticky working */
    display: flow-root; /* stop margin-collapsing */
    padding-bottom: 160px; /* space for the fade zone */
    isolation: isolate; /* helps contain mix-blend-mode compositing */
}

    /* content above glows */
    .csx-section > .csx-page,
    .csx-section .csx-page {
        position: relative;
        z-index: 2;
    }

/* === TOP FADE (kills the hard line at top) === */
.csx-section-inner {
    position: relative;
    z-index: 2; /* content layer */
}

    .csx-section-inner::before {
        content: "";
        position: absolute;
        left: -32px;
        right: -32px;
        top: 0;
        height: 140px;
        pointer-events: none;
        z-index: 1; /* above background, below content */
        background: linear-gradient( to bottom, rgba(11, 15, 20, 1.00) 0%, rgba(11, 15, 20, 0.88) 35%, rgba(11, 15, 20, 0.00) 100% );
    }

/* ============================================================
   CLIPPED GLOW LAYER (new name)
   Add this element INSIDE the section:
   <div class="csx-glow-clip"></div>
   ============================================================*/
.csx-glow-clip {
    position: absolute;
    inset: 0;
    overflow: hidden; /* 🔥 clips blur to section bounds */
    pointer-events: none;
    z-index: 0; /* behind content */
    isolation: isolate; /* contain blend inside this layer */
    clip-path: inset(0); /* stronger clipping on some browsers */
    contain: paint; /* isolate painting/compositing */
    transform: translateZ(0); /* GPU compositing stability */
}

/* ===== Splitter glow (now clipped) ===== */
.csx-section--split .csx-glow-clip::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    /* push glow slightly below the cut while still being clipped */
    bottom: -80px;
    /* glow thickness */
    height: 260px;
    background: radial-gradient( 120% 140% at 0% 100%, rgba(76, 201, 240, 0.00) 0%, rgba(76, 201, 240, 0.90) 18%, rgba(124, 58, 237, 0.85) 42%, rgba(0, 255, 170, 0.00) 70% ), radial-gradient( 120% 140% at 100% 100%, rgba(76, 201, 240, 0.00) 0%, rgba(76, 201, 240, 0.90) 18%, rgba(124, 58, 237, 0.85) 42%, rgba(0, 255, 170, 0.00) 70% ), linear-gradient( to top, rgba(76, 201, 240, 0.90) 0%, rgba(124, 58, 237, 0.85) 18%, rgba(0, 255, 170, 0.30) 25%, rgba(0, 255, 170, 0.00) 70% );
    filter: blur(76px);
    opacity: 1;
    mix-blend-mode: screen;
}

/* ===== Crisp edge line right at the bottom (“cut”) ===== */
.csx-section--split::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    z-index: 1; /* above glow clip layer */
    pointer-events: none;
    background: linear-gradient( to right, rgba(124, 58, 237, 0.85), rgba(124, 58, 237, 0.85) 20%, rgba(124, 58, 237, 0.85) 45%, rgba(76, 201, 240, 0.90) 55%, rgba(124, 58, 237, 0.85) );
    opacity: 0.85;
}

/* ============================================================
   Mobile tweak
   ============================================================*/
@media (max-width: 768px) {
    .csx-section {
        padding-bottom: 120px;
    }

    .csx-section-inner::before {
        height: 110px;
        left: -16px;
        right: -16px;
    }

    .csx-section--split .csx-glow-clip::after {
        height: 260px;
        bottom: -70px;
        filter: blur(42px);
    }
}


























/* Header wrapper hatched */
.cs-header--hatched {
    position: relative;
    overflow: hidden; /* keeps the hatch clean */
    isolation: isolate; /* IMPORTANT: creates a local stacking context */
}

    /* Hatch layer is ONLY the pseudo-element (so mask can’t hit content) */
    .cs-header--hatched::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        height: 620px; /* hatch band height */
        pointer-events: none;
        z-index: 0;
        /* 45° hatched pattern */
        background-image: repeating-linear-gradient( 45deg, rgba(255,255,255,0.14) 0px, rgba(255,255,255,0.14) 1px, transparent 1px, transparent 12px );
        /* No fade at top, heavier fade at bottom */
        -webkit-mask-image: linear-gradient( to bottom, black 0%, black 45%, rgba(0,0,0,0.70) 65%, rgba(0,0,0,0.30) 80%, transparent 100% );
        mask-image: linear-gradient( to bottom, black 0%, black 45%, rgba(0,0,0,0.70) 65%, rgba(0,0,0,0.30) 80%, transparent 100% );
    }

    /* Force all direct children above the hatch */
    .cs-header--hatched > * {
        position: relative;
        z-index: 1;
    }


/* Header wrapper diamonds */
.cs-header--diamond-iso {
    position: relative;
    overflow: hidden;
    isolation: isolate;


/* Responsive grid size */
--grid-size: clamp(18px, 3vw, 36px);

}

.cs-header--diamond-iso::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 560px; /* band height */
    pointer-events: none;
    z-index: 0;
    /* Isometric / axonometric diamond grid (±30°) + larger spacing */
    background-image: repeating-linear-gradient( 30deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 4px, transparent 4px, transparent var(--grid-size) /* diamond size knob */
    ), repeating-linear-gradient( 150deg, rgba(255,255,255,0.03) 0px, rgba(255,255,255,0.03) 4px, transparent 4px, transparent var(--grid-size) /* keep same for consistent rhombi */
    );
    /* No fade at top, heavier fade at bottom */
    -webkit-mask-image: linear-gradient( to bottom, black 0%, black 60%, rgba(0,0,0,0.50) 78%, transparent 100% );
    mask-image: linear-gradient( to bottom, black 0%, black 60%, rgba(0,0,0,0.50) 78%, transparent 100% );
}

    /* Content always above the pattern */
    .cs-header--diamond-iso > * {
        position: relative;
        z-index: 1;
    }





/* Header wrapper – isometric dot array */
.cs-header--dot-iso {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    /* Responsive dot spacing */
    --grid-size: clamp(18px, 3vw, 36px);
    --dot-size: 2px;
    --dot-color: rgba(255,255,255,0.12);
    padding: 75px 0px 80px 0px ;
}

    .cs-header--dot-iso::before {
        content: "";
        position: absolute;
        inset: 0;
        height: 500px; /* band height */
        pointer-events: none;
        z-index: 0;
        /*
      We create dots using radial-gradients,
      then rotate the whole field into isometric space.
    */
        background-image: radial-gradient(circle, var(--dot-color) var(--dot-size), transparent calc(var(--dot-size) + 1px) );
        background-size: var(--grid-size) var(--grid-size);
        background-position: 0 0;
        /* Isometric / axonometric projection */
        transform: rotate(0deg) scale(1.1);
        transform-origin: top center;
        /* Bottom fade only */
        -webkit-mask-image: linear-gradient( to bottom, black 0%, black 60%, rgba(0,0,0,0.45) 78%, transparent 100% );
        mask-image: linear-gradient( to bottom, black 0%, black 60%, rgba(0,0,0,0.45) 78%, transparent 100% );
    }

    /* Content always above the pattern */
    .cs-header--dot-iso > * {
        position: relative;
        z-index: 1;
    }


/* ===============================      Header wrapper – isometric dot array white ========================= */
.cs-header--dot-white {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background-color: white;
    /* Responsive dot spacing */
    --grid-size: clamp(18px, 3vw, 36px);
    --dot-size: 2px;
    --dot-color: rgba(0,0,0,0.12);
    padding: 75px 0px 80px 0px;
}

    .cs-header--dot-white::before {
        content: "";
        position: absolute;
        inset: 0;
        height: 500px; /* band height */
        pointer-events: none;
        z-index: 0;
        /*
      We create dots using radial-gradients,
      then rotate the whole field into isometric space.
    */
        background-image: radial-gradient(circle, var(--dot-color) var(--dot-size), transparent calc(var(--dot-size) + 1px) );
        background-size: var(--grid-size) var(--grid-size);
        background-position: 0 0;
        /* Isometric / axonometric projection */
        transform: rotate(0deg) scale(1.1);
        transform-origin: top center;
        /* Bottom fade only */
        -webkit-mask-image: linear-gradient( to bottom, black 0%, black 60%, rgba(0,0,0,0.45) 78%, transparent 100% );
        mask-image: linear-gradient( to bottom, black 0%, black 60%, rgba(0,0,0,0.45) 78%, transparent 100% );
    }

    /* Content always above the pattern */
    .cs-header--dot-white > * {
        position: relative;
        z-index: 1;
    }















    /*footer*/
/* Footer wrapper */
.cs-footer {
    background: rgba(0,0,0,0.2); /* dark slate */
    border-top: 1px solid rgba(255,255,255,0.08); /* subtle top line like screenshot */
    padding: 80px 0 80px 80px; /*big breathing space */
}

/* inner spacing */
.cs-footer__inner {
    padding-left: 32px;
    padding-right: 32px;
}

/* brand row */
.cs-footer__brand {
    display: flex;
    align-items: center;
    /*gap: 14px;*/
    margin-bottom: 18px;
}

.cs-footer__brandlogo {
    height: 40px;
    width: auto;
    display: block;
}

.cs-footer__brandText {
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    letter-spacing: 0.2px;
}

/* body copy */
.cs-footer__copy {
    max-width: 560px;
    color: rgba(255,255,255,0.78);
    line-height: 1.7;
}

/* right column */
.cs-footer__heading {
    color: rgba(255,255,255,0.95);
    font-weight: 700;
    margin-bottom: 12px;
}

.cs-footer__links {
    margin-top: 6px;
}

.cs-footer__link {
    color: rgba(255,255,255,0.78);
    font-size: 0.95rem;
}

    .cs-footer__link:hover {
        color: rgba(255,255,255,0.95);
    }

/* mobile tightening */
@media (max-width: 600px) {
    .cs-footer {
        padding: 40px 0;
    }

    .cs-footer__inner {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cs-footer__brand {
        margin-bottom: 14px;
    }

    .cs-footer__logo {
        height: 34px;
    }
}


/* gereral page seperator*/
.page-separator {
    width: 100%;
    height: 500px;
    /*background-color: #2b2b2b;*/
    padding: 48px 0;
}



/* ============================================================  
   ChargeStream-style blurred dialog backdrop 
   ============================================================ */
.cs-dialog-blur-backdrop {
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(5, 10, 18, 0.01); /* dim overlay */
}

/* Optional: make dialog surface feel like a premium panel */
.cs-dialog-panel .mud-dialog {
    border: 1px solid rgba(255,255,255,.14);
    /*border-radius: 18px;
    border: 5px solid rgba(255,255,255);
    background: rgba(15, 20, 30, 0.78);
    box-shadow: 0 26px 70px rgba(0,0,0,.55);*/
}

.mud-dialog.cs-dialog-panel {
    border-radius: 18px;
    border: 3px solid var(--mud-palette-primary);
    background: rgba(15, 20, 30, .8);
    ; /*#101A2B rgba(15, 20, 30, 1);*/
    box-shadow: 0 16px 70px rgba(0,0,0,.55);
}

/* Slightly tighter dialog content spacing */
.cs-dialog-panel .mud-dialog-content {
    /*padding-top: 12px;*/
}


/* 88888888888888888888888888888888888888888888888888888888 */
/* faq styling */
/* 88888888888888888888888888888888888888888888888888888888 */
/* Root FAQ container */
.cs-faq {
    /*max-width: 960px;
    margin: 0 auto;*/
}

/* Accordion container */
.cs-faq-panels {
    /*display: flex;
    flex-direction: column;
    gap: 12px;*/
}

/* Individual Q/A panel */
.cs-faq-panel {
    /*border-radius: 16px;*/
    border: 1px solid rgba(255,255,255,0.2);
    background: linear-gradient( 180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01) );
    backdrop-filter: blur(3px);
}

    /* Question header 
    .cs-faq-panel .mud-expand-panel-header {
        font-weight: 600;
        padding: 16px 18px;
    }*/

/* Answer body */
.cs-faq-answer {
    opacity: 0.9;
    line-height: 1.65;
    padding-bottom: 28px;
}

/* ================================ FRICTION GRID ========================================*/
.cs-friction-grid {
    margin-top: 12px;
}

.cs-flip-card {
    perspective: 1200px;
    height: 170px;
    border-radius: 20px;
    background: transparent;
}

.cs-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.cs-flip-card:hover .cs-flip-inner {
    transform: rotateY(180deg);
}

.cs-flip-front,
.cs-flip-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    gap: 16px;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
}

.cs-flip-back {
    transform: rotateY(180deg);
    background: linear-gradient( 0deg, #6169e6 0%, #5a5cd8 30%, #574ec6 60%, #4e3bb3 100% );
}

.cs-friction-icon {
    color: #4e3bb3; 
    font-size: 64px;
}

.cs-friction-caption {
    max-width: 220px;
    opacity: 0.92;
    line-height: 1.25;
    font-size: 20px;
    color: #4e3bb3;
}

.cs-friction-desc {
    max-width: 220px;
    opacity: 0.92;
    line-height: 1.25;
    font-size: 15px;
    color: rgba(255,255,255,0.90);
}


/* ================================  ON WHITE ===========================================*/
.cs-on-white {
    color: rgba(0,0,0,0.70);
}

.cs-sectionpad {
    padding:80px 0 20px 0;
}

.cs-bottomline-label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 6px;
}



/*================================== WHAT CHANGES ==========================================*/
.cs-compare {
    padding: 40px 0;
}

.cs-compare-title {
    margin-bottom: 24px;
}

/* Base columns */
.cs-compare-col {
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    height: 100%;
}

/* Left column (Today) */
.cs-compare-today {
    background: #ffffff;
    border: 0px;
}

/* Right column (With ChargeStream) */
.cs-compare-with {
    background: linear-gradient( 0deg, #6169e6 0%, #5a5cd8 30%, #574ec6 60%, #4e3bb3 100% );
    /*border: 1px solid #d4d8ff;
    box-shadow: 0 12px 30px rgba(80, 70, 200, 0.08);*/
}

/* Row styling */
.cs-compare-row {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 0;
    height:110px;
}

    .cs-compare-row + .cs-compare-row {
        border-top: 1px solid #f0f0f0;
    }

.cs-compare-icon {
    font-size: 28px;
    margin-top: 3px;
    color: #6b7280;
}

.cs-compare-with-icon {
    color: #ffffff; /* or your brand primary */
}

.cs-compare-with-text {
    font-weight: 800;
}

.cs-compare-sub {
    margin-top: 4px;
    /*color: #6b7280;*/
    line-height: 1.4;
}

.cs-compare-today-sub {
    margin-top: 4px;
    color: #6b7280;
    line-height: 1.4;
}

.cs-compare-today-title {
    color: #6b7280;
    font-weight:800;
}

.cs-compare-with-title {
    font-weight: 800;
}

.cs-cta-link {
    margin-top: 18px;
    color: #4f46e5;
    font-weight: 600;
    cursor: pointer;
}
.cs-cta-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}




/* ======================================= Structural Architecture Section ===================================================*/
.cs-arch-section {
    background: #0f172a; /* deep slate */
    padding: 80px 0;
    color: #e5e7eb;
}

.cs-arch-title {
    margin-bottom: 6px;
}

.cs-arch-sub {
    color: #94a3b8;
    margin-bottom: 24px;
}

.cs-arch-divider {
    margin-bottom: 40px;
    background: rgba(255,255,255,0.15);
}

.cs-arch-divider-light {
    margin: 40px 0;
    background: rgba(255,255,255,0.08);
}

.cs-arch-block {
    max-width: 820px;
}

.cs-arch-step {
    margin-bottom: 12px;
}

.cs-arch-body {
    margin-bottom: 16px;
    color: #cbd5e1;
    line-height: 1.5;
}

.cs-pace div {
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: #94a3b8;
}

.cs-pace strong {
    color: #ffffff;
}


/* ============================================================
   ARCHITECTURE / PACE SECTION (DARK)
   ============================================================ */

.cs-arch-section {
    background: #0b1220;
    color: #e5e7eb;
    padding: 80px 0;
}

.cs-arch-title {
    margin-bottom: 6px;
}

.cs-arch-sub {
    color: #94a3b8;
    margin-bottom: 28px;
}

.cs-arch-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cs-arch-stepcard {
    border-radius: 22px;
    margin-bottom:30px;
    padding: 32px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
}

.cs-arch-stephead {
    margin-bottom: 14px;
}

.cs-arch-step-title {
    margin-bottom: 6px;
}

.cs-arch-step-summary {
    color: #cbd5e1;
    line-height: 1.45;
    max-width: 980px;
}

/* PACE boxes */
.cs-pace-box {
    border-radius: 16px;
    padding: 14px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    height: 100%;
}

.cs-pace-label {
    font-size: 16px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 8px;
    font-weight: 700;
}

.cs-pace-text {
    font-size: 16px; /*0.92rem;*/
    line-height: 1.4;
    color: #e5e7eb;
}

/* Accent the Effect column */
.cs-pace-box-accent {
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.30);
}


.cs-mt80 {
    margin-top:80px;
}




.cs-system-label {
    display: inline-block;
    margin-bottom: 20px;
    padding: 4px 10px;
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
}


/* ========== Micro captions=================*/
/* Micro captions under the animation */
.cs-microcap {
    padding: 16px 16px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(10px);
}

.cs-microcap-title {
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.2px;
}

.cs-microcap-body {
    margin-top: 8px;
    color: rgba(255,255,255,0.70);
    line-height: 1.35;
}


/*============================= Clearing / Settlement Timing grid ==================================*/
.cs-arch-divider-light {
    margin: 30px 0;
    background: rgba(255,255,255,0.08);
}

.cs-arch-timing-title {
    margin-bottom: 16px;
    color: #94a3b8;
}

.cs-timing-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 18px;
}

.cs-timing-header {
    font-weight: 600;
    margin-bottom: 14px;
}

.cs-timing-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

    .cs-timing-row:last-child {
        border-bottom: none;
    }



/*=============================  Expansion Panel  ====================================*/

.cs-arch-expansion {
    margin-top: 18px;
}

.cs-arch-expansion-panel {
    border-radius: 18px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    color: #e5e7eb;
}

.cs-arch-timing-intro {
    color: #cbd5e1;
    margin: 6px 0 18px 0;
}

.cs-arch-timing-title {
    color: #94a3b8;
    margin: 16px 0 10px 0;
}

.cs-arch-timing-table {
    background: transparent;
}

.cs-arch-timing-rows {
    margin-top: 8px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    overflow: hidden;
}

.cs-arch-timing-row {
    display: grid;
    grid-template-columns: 60px 1fr 130px 180px;
    gap: 12px;
    padding: 10px 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    color: #e5e7eb;
}

    .cs-arch-timing-row:first-child {
        border-top: none;
    }

.cs-arch-timing-kv {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 14px;
    padding: 10px 12px;
}

.cs-arch-timing-kv-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

    .cs-arch-timing-kv-row:first-child {
        border-top: none;
    }

.cs-k {
    color: #cbd5e1;
}

.cs-v {
    color: #ffffff;
    font-weight: 600;
}

.cs-arch-timing-foot {
    color: #94a3b8;
    margin-top: 14px;
}


/*============================= SVG Illustration ===============================*/
.cs-svg-wrapper {
    width: 100%;
}

.cs-svg-img {
    width: 100%;
    height: auto;
    display: block;
}

.cs-diagram {
    width: 100%;
    height: auto;
    display: block;
}