
:root {
    --ink: #171421;
    --soft: #5d566a;
    --cream: #fff9f0;
    --white: #ffffff;

    --purple: #7455ff;
    --purple2: #a05cff;
    --pink: #ff5b79;
    --cyan: #32ccd9;
    --cyan2: #58e0ed;
    --lime: #b7f42f;
    --yellow: #ffd74b;
    --orange: #ff8b4b;

    --accent: var(--purple);
    --accent2: var(--pink);

    --page: min(1180px, calc(100% - 38px));

    --shadow:
        0 24px 70px
        rgba(42, 27, 78, .13);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    color: var(--ink);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background:
        radial-gradient(
            circle at 6% 4%,
            rgba(116, 85, 255, .14),
            transparent 30rem
        ),
        radial-gradient(
            circle at 92% 7%,
            rgba(50, 204, 217, .17),
            transparent 29rem
        ),
        var(--cream);

    overflow-x: hidden;
}

body.theme-purple {
    --accent: var(--purple);
    --accent2: var(--pink);
}

body.theme-pink {
    --accent: var(--pink);
    --accent2: var(--orange);
}

body.theme-cyan {
    --accent: var(--cyan);
    --accent2: var(--purple);
}

body.theme-lime {
    --accent: var(--lime);
    --accent2: var(--yellow);
}

body.theme-yellow {
    --accent: var(--yellow);
    --accent2: var(--orange);
}

body.theme-dark {
    --accent: var(--purple);
    --accent2: var(--cyan);
}

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


/* ============================================================
   HEADER
   ============================================================ */

.c9-header {
    width: var(--page);

    margin: 18px auto 0;

    min-height: 70px;

    padding:
        12px
        14px
        12px
        22px;

    display: flex;
    align-items: center;
    gap: 24px;

    position: relative;
    z-index: 50;

    border:
        1px solid
        rgba(255,255,255,.9);

    border-radius: 999px;

    background:
        rgba(255,255,255,.84);

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 12px 40px
        rgba(38,25,73,.08);
}

.c9-brand {
    white-space: nowrap;

    font-size: 1.15rem;
    font-weight: 950;

    letter-spacing: -.055em;
}

.c9-brand span {
    color: var(--purple);
}

.c9-nav {
    margin-left: auto;

    display: flex;
    align-items: center;
    gap: 4px;
}

.c9-nav a {
    padding: 10px 12px;

    border-radius: 999px;

    color: var(--soft);

    font-size: .86rem;
    font-weight: 820;

    white-space: nowrap;

    transition:
        transform .18s ease,
        background .18s ease,
        color .18s ease;
}

.c9-nav a:hover,
.c9-nav a.active {
    color: var(--ink);

    background:
        rgba(116,85,255,.10);

    transform:
        translateY(-1px);
}

.c9-nav-home {
    background: var(--ink) !important;
    color: #fff !important;
}


/* ============================================================
   HERO
   ============================================================ */

.c9-hero {
    width: var(--page);

    min-height: 590px;

    margin: 25px auto 0;

    padding:
        clamp(38px, 6vw, 76px);

    position: relative;

    display: grid;

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(320px, .88fr);

    gap: 55px;

    align-items: center;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,.94);

    border-radius: 44px;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.96),
            rgba(255,255,255,.80)
        );

    box-shadow: var(--shadow);
}

.c9-hero::before {
    content: "";

    position: absolute;

    width: 480px;
    height: 480px;

    top: -250px;
    right: -150px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent2)
        );

    opacity: .16;
}

.c9-hero-copy {
    position: relative;
    z-index: 3;
}

.c9-back {
    display: inline-flex;
    align-items: center;

    margin-bottom: 24px;

    padding:
        8px
        13px;

    border-radius: 999px;

    background:
        rgba(23,20,33,.07);

    color: var(--ink);

    font-size: .78rem;
    font-weight: 900;

    transition: .18s ease;
}

.c9-back:hover {
    transform: translateX(-3px);
}

.c9-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding:
        9px
        14px;

    border-radius: 999px;

    background: var(--accent);

    color: var(--ink);

    font-size: .73rem;
    font-weight: 950;

    letter-spacing: .09em;
    text-transform: uppercase;
}

.theme-purple .c9-eyebrow,
.theme-pink .c9-eyebrow,
.theme-dark .c9-eyebrow {
    color: #fff;
}

.c9-eyebrow::before {
    content: "";

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: currentColor;
}

.c9-hero h1 {
    max-width: 800px;

    margin:
        22px
        0
        20px;

    font-size:
        clamp(
            3.5rem,
            6.5vw,
            6.5rem
        );

    line-height: .91;

    letter-spacing: -.073em;

    font-weight: 950;
}

.c9-hero-lead {
    max-width: 680px;

    margin: 0;

    color: var(--soft);

    font-size:
        clamp(
            1.02rem,
            1.8vw,
            1.24rem
        );

    line-height: 1.68;

    font-weight: 560;
}

.c9-actions {
    margin-top: 30px;

    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.c9-button {
    min-height: 51px;

    padding:
        0
        22px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    font-weight: 900;

    transition:
        transform .18s ease,
        box-shadow .18s ease;
}

.c9-button:hover {
    transform: translateY(-3px);
}

.c9-button-primary {
    background: var(--accent);

    color: var(--ink);

    box-shadow:
        0 14px 30px
        rgba(74,51,146,.16);
}

.theme-purple .c9-button-primary,
.theme-pink .c9-button-primary,
.theme-dark .c9-button-primary {
    color: #fff;
}

.c9-button-secondary {
    background: #fff;

    border:
        1px solid
        rgba(23,20,33,.10);
}


/* ============================================================
   HERO ART
   ============================================================ */

.c9-art {
    min-height: 430px;

    position: relative;
    z-index: 2;
}

.c9-mini {
    position: absolute;

    width: 245px;
    min-height: 145px;

    padding: 22px;

    border-radius: 29px;

    box-shadow:
        0 22px 52px
        rgba(34,24,61,.14);

    transition: transform .22s ease;
}

.c9-mini:hover {
    transform:
        translateY(-7px)
        rotate(0deg) !important;
}

.c9-mini:nth-child(1) {
    top: 5px;
    right: 20px;

    background: var(--yellow);

    transform: rotate(6deg);
}

.c9-mini:nth-child(2) {
    top: 155px;
    left: 0;

    background: var(--accent);

    transform: rotate(-7deg);
}

.c9-mini:nth-child(3) {
    right: 0;
    bottom: 0;

    background: var(--cyan);

    transform: rotate(5deg);
}

.theme-purple
.c9-mini:nth-child(2),
.theme-pink
.c9-mini:nth-child(2),
.theme-dark
.c9-mini:nth-child(2) {
    color: #fff;
}

.c9-mini-label {
    display: inline-flex;

    padding:
        6px
        9px;

    border-radius: 999px;

    background:
        rgba(255,255,255,.55);

    color: var(--ink);

    font-size: .68rem;
    font-weight: 950;

    letter-spacing: .08em;
}

.c9-mini strong {
    display: block;

    margin-top: 26px;

    font-size: 1.45rem;

    line-height: 1.03;

    letter-spacing: -.045em;
}


/* ============================================================
   CONTENT
   ============================================================ */

.c9-content {
    width: var(--page);

    margin: 94px auto 0;
}

.c9-section-head {
    margin-bottom: 28px;

    display: flex;

    align-items: end;
    justify-content: space-between;

    gap: 35px;
}

.c9-section-kicker {
    margin: 0 0 9px;

    color: var(--accent);

    font-size: .75rem;
    font-weight: 950;

    letter-spacing: .10em;
    text-transform: uppercase;
}

.theme-lime .c9-section-kicker,
.theme-yellow .c9-section-kicker {
    color: #527000;
}

.c9-section-head h2 {
    max-width: 760px;

    margin: 0;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.5rem
        );

    line-height: .96;

    letter-spacing: -.065em;
}

.c9-section-head p {
    max-width: 460px;

    margin: 0;

    color: var(--soft);

    line-height: 1.65;

    font-weight: 560;
}


/* ============================================================
   BENTO CARDS
   ============================================================ */

.c9-grid {
    display: grid;

    grid-template-columns:
        repeat(12, 1fr);

    gap: 18px;
}

.c9-card {
    grid-column: span 4;

    min-height: 300px;

    padding: 28px;

    position: relative;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    border-radius: 34px;

    border:
        1px solid
        rgba(255,255,255,.7);

    transition:
        transform .21s ease,
        box-shadow .21s ease;
}

.c9-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 24px 55px
        rgba(37,28,63,.13);
}

.c9-card:nth-child(6n+1) {
    background: var(--accent);
}

.c9-card:nth-child(6n+2) {
    background: var(--lime);
}

.c9-card:nth-child(6n+3) {
    background: var(--cyan);
}

.c9-card:nth-child(6n+4) {
    background: var(--pink);
    color: #fff;
}

.c9-card:nth-child(6n+5) {
    background: var(--yellow);
}

.c9-card:nth-child(6n+6) {
    background: var(--purple);
    color: #fff;
}

.theme-purple
.c9-card:nth-child(6n+1),
.theme-pink
.c9-card:nth-child(6n+1),
.theme-dark
.c9-card:nth-child(6n+1) {
    color: #fff;
}

.c9-card:nth-child(1),
.c9-card:nth-child(4) {
    grid-column: span 7;
}

.c9-card:nth-child(2),
.c9-card:nth-child(3) {
    grid-column: span 5;
}

.c9-card-number {
    font-size: .72rem;
    font-weight: 950;

    letter-spacing: .09em;
}

.c9-card-arrow {
    position: absolute;

    right: 22px;
    top: 22px;

    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
        rgba(255,255,255,.70);

    color: var(--ink);

    font-size: 1.15rem;
    font-weight: 950;
}

.c9-card h3 {
    max-width: 510px;

    margin:
        auto
        0
        12px;

    font-size:
        clamp(
            1.9rem,
            3.3vw,
            3.35rem
        );

    line-height: .96;

    letter-spacing: -.055em;
}

.c9-card p {
    max-width: 510px;

    margin: 0;

    font-weight: 620;
    line-height: 1.55;

    opacity: .78;
}


/* ============================================================
   CONTEXT STRIP
   ============================================================ */

.c9-context {
    margin-top: 90px;

    padding:
        clamp(38px, 5vw, 62px);

    border-radius: 40px;

    background: var(--ink);

    color: #fff;

    position: relative;
    overflow: hidden;
}

.c9-context::after {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    right: -100px;
    bottom: -170px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--accent),
            var(--accent2)
        );
}

.c9-context-inner {
    max-width: 850px;

    position: relative;
    z-index: 2;
}

.c9-context-label {
    color: var(--lime);

    font-size: .74rem;
    font-weight: 950;

    letter-spacing: .10em;
    text-transform: uppercase;
}

.c9-context h2 {
    margin:
        15px
        0
        22px;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.5rem
        );

    line-height: .96;

    letter-spacing: -.06em;
}

.c9-context p {
    max-width: 780px;

    color:
        rgba(255,255,255,.72);

    font-size: 1.04rem;
    line-height: 1.68;
}


/* ============================================================
   LEGAL
   ============================================================ */

.c9-legal {
    width: var(--page);

    margin: 70px auto 0;

    padding:
        clamp(
            32px,
            5vw,
            58px
        );

    border-radius: 38px;

    background:
        rgba(255,255,255,.91);

    box-shadow:
        var(--shadow);
}

.c9-legal h1 {
    display: none;
}

.c9-legal h2 {
    margin-top: 1.7em;

    font-size:
        clamp(
            1.6rem,
            3vw,
            2.45rem
        );

    letter-spacing: -.04em;
}

.c9-legal h3 {
    margin-top: 1.5em;
}

.c9-legal p,
.c9-legal li {
    color: var(--soft);

    line-height: 1.72;
}

.c9-legal a {
    text-decoration: underline;

    text-decoration-color:
        var(--accent);

    text-decoration-thickness: 2px;

    text-underline-offset: 3px;
}


/* ============================================================
   FOOTER
   ============================================================ */

.c9-footer {
    width: var(--page);

    margin:
        80px
        auto
        24px;

    padding:
        32px;

    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 28px;

    border-radius: 30px;

    background:
        rgba(255,255,255,.72);
}

.c9-footer-brand {
    font-weight: 950;
}

.c9-footer-links {
    display: flex;
    flex-wrap: wrap;

    gap: 16px;

    color: var(--soft);

    font-size: .84rem;
    font-weight: 700;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 930px) {
    .c9-header {
        border-radius: 28px;

        align-items: flex-start;
        flex-wrap: wrap;
    }

    .c9-nav {
        width: 100%;

        overflow-x: auto;

        padding-bottom: 2px;
    }

    .c9-hero {
        grid-template-columns: 1fr;
    }

    .c9-art {
        min-height: 420px;
    }

    .c9-card:nth-child(n) {
        grid-column: span 12;
    }

    .c9-section-head {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    :root {
        --page:
            min(
                100% - 22px,
                1180px
            );
    }

    .c9-header {
        margin-top: 11px;
        padding: 15px;
    }

    .c9-nav a {
        font-size: .8rem;
        padding: 9px 10px;
    }

    .c9-hero {
        min-height: auto;

        margin-top: 13px;

        padding:
            31px
            23px;

        border-radius: 30px;
    }

    .c9-hero h1 {
        font-size:
            clamp(
                3rem,
                15vw,
                4.9rem
            );
    }

    .c9-art {
        min-height: 390px;
    }

    .c9-mini {
        width: 205px;
        min-height: 130px;
        padding: 18px;
    }

    .c9-content {
        margin-top: 70px;
    }

    .c9-card {
        min-height: 270px;
        padding: 24px;

        border-radius: 28px;
    }

    .c9-context,
    .c9-legal {
        border-radius: 29px;
    }

    .c9-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
