:root {
    --ink: #17202d;
    --muted: #667085;
    --purple: #5145e5;
    --purple-dark: #3c31c7;
    --purple-soft: #f0efff;
    --line: #e2e7f0;
    --surface: #f7f8fc;
    --white: #ffffff;
    --dark: #171125;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.landing-shell {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}


/* Header */

.landing-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(226,231,240,.85);
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.landing-brand img {
    width: 150px;
    max-height: 44px;
    object-fit: contain;
    object-position: left center;
}

.brand-divider {
    color: #aaa4bd;
}

.landing-brand strong {
    letter-spacing: .13em;
    font-size: .88rem;
}

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

.landing-nav > a {
    text-decoration: none;
    font-weight: 600;
    font-size: .94rem;
}

.login-button {
    padding: 10px 19px;
    border-radius: 10px;
    color: var(--white);
    background: var(--purple);
}


/* Hero */

.hero {
    overflow: hidden;
    padding: 105px 0 115px;
    background:
        radial-gradient(
            circle at 82% 20%,
            rgba(107,84,255,.14),
            transparent 27%
        ),
        linear-gradient(
            180deg,
            #fff 0%,
            #fafaff 100%
        );
}

.hero-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(360px, .9fr);
    gap: 70px;
    align-items: center;
}

.eyebrow,
.section-kicker,
.card-label {
    color: var(--purple);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 17px 0 24px;
    max-width: 780px;
    font-size: clamp(2.9rem, 5.8vw, 5.3rem);
    line-height: 1.01;
    letter-spacing: -.055em;
}

.hero h1 span {
    display: block;
    color: var(--purple);
}

.hero-copy > p {
    max-width: 670px;
    color: var(--muted);
    font-size: 1.08rem;
}

.hero-lead {
    color: var(--ink) !important;
    font-size: 1.28rem !important;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-top: 34px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 11px;
    font-weight: 700;
    text-decoration: none;
}

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

.primary-button:hover {
    background: var(--purple-dark);
}

.secondary-button {
    border: 1px solid var(--line);
    background: var(--white);
}

.hero-visual {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
}

.insight-card {
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255,255,255,.96);
    box-shadow:
        0 28px 70px rgba(28,24,75,.12);
}

.insight-card-main {
    width: 90%;
    padding: 35px;
}

.insight-card h3 {
    margin: 15px 0 10px;
    font-size: 1.7rem;
}

.insight-card p {
    color: var(--muted);
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.profile-tags span {
    padding: 7px 11px;
    border-radius: 999px;
    color: var(--purple-dark);
    background: var(--purple-soft);
    font-size: .82rem;
    font-weight: 650;
}

.floating-card {
    position: absolute;
    right: 0;
    bottom: 28px;
    width: 250px;
    padding: 20px;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    margin: 7px 0;
}

.floating-card small {
    color: var(--muted);
}


/* Story */

.problem-section {
    padding: 100px 0;
    background: var(--dark);
    color: white;
}

.narrow-story {
    max-width: 850px;
}

.problem-section .section-kicker {
    color: #a899ff;
}

.problem-section h2 {
    margin: 17px 0 28px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.problem-section p {
    color: #d6d3df;
    font-size: 1.08rem;
}

.problem-section strong {
    color: white;
}


/* Sections */

.process-section,
.insight-section,
.cohort-section,
.audience-section,
.closing-section {
    padding: 100px 0;
}

.section-heading {
    max-width: 700px;
    margin-bottom: 46px;
}

.section-heading h2,
.insight-grid h2,
.closing-inner h2 {
    margin: 10px 0 14px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.section-heading p,
.insight-grid p,
.closing-inner p {
    color: var(--muted);
    font-size: 1.06rem;
}


/* Process */

.process-section {
    background: var(--surface);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-grid article {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: white;
}

.step-number {
    color: var(--purple);
    font-weight: 800;
}

.process-grid h3 {
    margin: 28px 0 9px;
    font-size: 1.35rem;
}

.process-grid p {
    margin: 0;
    color: var(--muted);
}


/* Insight */

.insight-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-panel {
    padding: 35px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--surface);
}

.mini-profile {
    padding: 30px;
    border-radius: 16px;
    background: white;
    box-shadow:
        0 18px 50px rgba(28,24,75,.08);
}

.mini-profile > span {
    color: var(--purple);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.mini-profile h3 {
    margin: 14px 0 8px;
    font-size: 1.6rem;
}

.mini-profile p {
    margin-bottom: 0;
}

.cohort-section {
    background: var(--surface);
}

.report-panel {
    padding: 16px;
    background: white;
}

.report-row {
    display: flex;
    justify-content: space-between;
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
}

.report-row:last-child {
    border-bottom: 0;
}

.report-row strong {
    color: var(--purple);
}


/* Audience */

.audience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.audience-grid article {
    padding: 27px;
    border-top: 3px solid var(--purple);
    background: var(--surface);
}

.audience-grid h3 {
    margin-top: 0;
}

.audience-grid p {
    margin-bottom: 0;
    color: var(--muted);
}


/* Closing */

.closing-section {
    text-align: center;
    background:
        linear-gradient(
            135deg,
            #f0efff,
            #fafaff
        );
}

.closing-inner {
    max-width: 800px;
}

.closing-inner p {
    margin-bottom: 28px;
}


/* Footer */

.landing-footer {
    padding: 35px 0;
    color: #cec9db;
    background: var(--dark);
}

.landing-footer .landing-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.landing-footer strong,
.landing-footer span {
    display: block;
}

.landing-footer strong {
    color: white;
}

.landing-footer span {
    font-size: .85rem;
}

.landing-footer p {
    margin: 0;
    font-size: .9rem;
}


/* Responsive */

@media (max-width: 900px) {

    .landing-nav > a:not(.login-button) {
        display: none;
    }

    .hero-grid,
    .insight-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero {
        padding-top: 70px;
    }

    .hero-visual {
        min-height: 370px;
    }

    .process-grid,
    .audience-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reverse > :first-child {
        order: 2;
    }
}

@media (max-width: 600px) {

    .landing-shell {
        width: min(100% - 28px, 1160px);
    }

    .landing-header {
        position: relative;
    }

    .landing-brand img {
        width: 115px;
    }

    .brand-divider,
    .landing-brand strong {
        display: none;
    }

    .hero {
        padding: 55px 0 75px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions a {
        width: 100%;
    }

    .process-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .problem-section,
    .process-section,
    .insight-section,
    .cohort-section,
    .audience-section,
    .closing-section {
        padding: 70px 0;
    }

    .landing-footer .landing-shell {
        gap: 25px;
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==========================================================
   Intelligence platform landing additions
   ========================================================== */

.process-grid-five {
    grid-template-columns: repeat(5, 1fr);
}

.benefit-section,
.progress-story-section {
    padding: 100px 0;
}

.benefit-section {
    background: var(--white);
}

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.benefit-grid article {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
}

.benefit-grid h3 {
    margin-top: 0;
    font-size: 1.25rem;
}

.benefit-grid p {
    margin-bottom: 0;
    color: var(--muted);
}

.progress-story-section {
    background: var(--dark);
    color: var(--white);
}

.progress-story-section .section-kicker {
    color: #a899ff;
}

.progress-story-section .section-heading p {
    color: #d6d3df;
}

.progress-flow {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr)
        auto
        minmax(0, 1fr);
    gap: 14px;
    align-items: center;
}

.progress-flow > div {
    min-height: 150px;
    padding: 24px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;
    background: rgba(255,255,255,.06);
}

.progress-flow strong,
.progress-flow span {
    display: block;
}

.progress-flow strong {
    margin-bottom: 8px;
    color: var(--white);
    font-size: 1.12rem;
}

.progress-flow span {
    color: #cec9db;
    font-size: .92rem;
}

.progress-flow > b {
    color: #a899ff;
    font-size: 1.4rem;
}

.audience-grid-expanded {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1050px) {

    .process-grid-five {
        grid-template-columns: repeat(3, 1fr);
    }

    .progress-flow {
        grid-template-columns: 1fr;
    }

    .progress-flow > b {
        text-align: center;
        transform: rotate(90deg);
    }
}

@media (max-width: 900px) {

    .benefit-grid,
    .audience-grid-expanded {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {

    .process-grid-five,
    .benefit-grid,
    .audience-grid-expanded {
        grid-template-columns: 1fr;
    }

    .benefit-section,
    .progress-story-section {
        padding: 70px 0;
    }
}


/* ==========================================================
   Hero product journey carousel
   ========================================================== */

.hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    box-shadow:
        0 30px 80px rgba(28,24,75,.13);
}

.hero-carousel-viewport {
    position: relative;
    min-height: 500px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 25px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(26px);
    transition:
        opacity .45s ease,
        transform .45s ease,
        visibility .45s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero-slide-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hero-slide-number {
    color: #a7afbd;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
}

.product-window {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--surface);
}

.product-window-bar {
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
}

.product-window-bar > span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d1d5dd;
}

.product-window-bar small {
    margin-left: auto;
    color: var(--muted);
    font-size: .62rem;
    font-weight: 750;
    letter-spacing: .1em;
}


/* Survey preview */

.survey-preview {
    padding: 24px;
}

.preview-progress {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: .72rem;
}

.preview-progress strong {
    color: var(--purple);
}

.preview-progress-track {
    height: 5px;
    overflow: hidden;
    margin: 8px 0 25px;
    border-radius: 99px;
    background: #e5e7ed;
}

.preview-progress-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--purple);
}

.preview-code {
    display: inline-flex;
    margin-bottom: 8px;
    padding: 3px 7px;
    border-radius: 6px;
    color: var(--purple-dark);
    background: var(--purple-soft);
    font-size: .68rem;
    font-weight: 800;
}

.survey-preview h3 {
    margin: 0 0 17px;
    font-size: 1.08rem;
    line-height: 1.35;
}

.preview-choice {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 9px;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--muted);
    background: var(--white);
    font-size: .76rem;
    line-height: 1.4;
}

.preview-choice i {
    flex: 0 0 13px;
    width: 13px;
    height: 13px;
    margin-top: 2px;
    border: 2px solid #b9c0ca;
    border-radius: 50%;
}

.preview-choice.is-selected {
    border-color: rgba(81,69,229,.42);
    color: var(--ink);
    background: var(--purple-soft);
}

.preview-choice.is-selected i {
    border: 4px solid var(--purple);
}


/* Analysis preview */

.analysis-preview {
    padding: 24px;
}

.analysis-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.analysis-heading span {
    color: var(--purple);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .1em;
}

.analysis-heading h3 {
    margin: 4px 0 0;
    font-size: 1.05rem;
}

.analysis-count {
    color: var(--purple);
    font-size: 1.55rem;
    font-weight: 800;
    text-align: right;
}

.analysis-count small {
    display: block;
    color: var(--muted);
    font-size: .6rem;
    font-weight: 600;
}

.analysis-bars > div {
    margin: 15px 0;
}

.analysis-bars span {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: .72rem;
}

.analysis-bars i {
    display: block;
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: #e3e6ed;
}

.analysis-bars b {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--purple);
}

.analysis-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 22px;
}

.analysis-tags span {
    padding: 5px 8px;
    border-radius: 99px;
    color: var(--purple-dark);
    background: var(--purple-soft);
    font-size: .65rem;
    font-weight: 650;
}


/* Assessment preview */

.assessment-preview {
    padding: 26px;
}

.assessment-label {
    color: var(--purple);
    font-size: .65rem;
    font-weight: 800;
    letter-spacing: .11em;
}

.assessment-preview h3 {
    margin: 7px 0 9px;
    font-size: 1.45rem;
}

.assessment-preview > p {
    margin: 0 0 22px;
    color: var(--muted);
    font-size: .78rem;
}

.assessment-grid {
    display: grid;
    gap: 8px;
}

.assessment-grid > div {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.assessment-grid span,
.assessment-grid strong {
    display: block;
}

.assessment-grid span {
    color: var(--muted);
    font-size: .61rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.assessment-grid strong {
    margin-top: 2px;
    font-size: .76rem;
}


/* Carousel caption/navigation */

.hero-slide-caption {
    margin-top: 17px;
}

.hero-slide-caption strong,
.hero-slide-caption span {
    display: block;
}

.hero-slide-caption strong {
    margin-bottom: 2px;
    font-size: .96rem;
}

.hero-slide-caption span {
    color: var(--muted);
    font-size: .78rem;
}

.hero-carousel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 25px;
    border-top: 1px solid var(--line);
    background: var(--white);
}

.hero-carousel-dots {
    display: flex;
    align-items: center;
    gap: 7px;
}

.hero-carousel-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #cbd0d8;
    cursor: pointer;
    transition:
        width .2s ease,
        background .2s ease;
}

.hero-carousel-dots button.is-active {
    width: 25px;
    background: var(--purple);
}

.hero-carousel-flow {
    color: var(--muted);
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .04em;
}


@media (max-width: 900px) {

    .hero-carousel {
        max-width: 620px;
        margin: 0 auto;
    }

    .hero-carousel-viewport {
        min-height: 470px;
    }
}


@media (max-width: 600px) {

    .hero-carousel-viewport {
        min-height: 500px;
    }

    .hero-slide {
        padding: 18px;
    }

    .survey-preview,
    .analysis-preview,
    .assessment-preview {
        padding: 18px;
    }

    .hero-carousel-footer {
        padding: 13px 18px;
    }

    .hero-carousel-flow {
        display: none;
    }
}


@media (prefers-reduced-motion: reduce) {

    .hero-slide {
        transition: none;
    }
}


/* ==========================================================
   Contact actions
   ========================================================== */

.header-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--purple);
    background: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 800;
    transition:
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.header-contact-icon:hover {
    border-color: rgba(81,69,229,.35);
    background: var(--purple-soft);
    transform: translateY(-1px);
}

.contact-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

@media (max-width: 600px) {

    .header-contact-icon {
        width: 36px;
        height: 36px;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions a {
        width: 100%;
    }
}


/* Hero Submit button treatment */
.submit-word {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 .08em;
    padding: .18em .48em;
    border-radius: .22em;
    color: #fff;
    background: var(--purple);
    box-shadow:
        0 .12em .3em rgba(81,69,229,.22);
    font-size: .72em;
    font-weight: 750;
    letter-spacing: -.02em;
    vertical-align: .1em;
}

