:root {
    --ink: #142b48;
    --muted: #60738a;
    --blue: #1769e0;
    --blue-dark: #0e4fb7;
    --teal: #16a6a0;
    --line: #dfe7f0;
    --paper: #ffffff;
    --soft: #f4f8fc;
    --shadow: 0 22px 60px rgba(22, 51, 86, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

.site-header {
    height: 78px;
    padding: 0 clamp(24px, 6vw, 92px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(223, 231, 240, .8);
    background: rgba(255, 255, 255, .94);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .07em;
}

.brand-mark,
.mini-mark {
    display: grid;
    place-items: center;
    color: white;
    background: var(--blue);
    font-weight: 800;
}

.brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 18px;
}

.brand-dash {
    color: var(--teal);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(22px, 4vw, 48px);
    color: #435a75;
    font-size: 14px;
    font-weight: 600;
}

.main-nav a:hover,
.text-link:hover {
    color: var(--blue);
}

.main-nav .nav-login {
    padding: 10px 18px;
    border: 1px solid #cbd9e8;
    border-radius: 9px;
    color: var(--blue);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 76px clamp(24px, 6vw, 92px) 82px;
    background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(310px, .78fr) minmax(520px, 1.22fr);
    gap: clamp(44px, 6vw, 92px);
    align-items: center;
}

.hero-copy {
    max-width: 540px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .13em;
}

.hero-copy .eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-copy .eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 5px rgba(22, 166, 160, .12);
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 620px;
    margin-bottom: 22px;
    font-size: clamp(42px, 5.3vw, 68px);
    line-height: 1.04;
    letter-spacing: -.055em;
}

.hero-lede {
    max-width: 510px;
    margin-bottom: 30px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 23px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 21px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: background .15s ease, transform .15s ease;
}

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

.button-primary {
    color: white;
    background: var(--blue);
    box-shadow: 0 9px 20px rgba(23, 105, 224, .2);
}

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

.text-link {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

.text-link span {
    margin-left: 5px;
    color: var(--teal);
}

.hero-note {
    margin: 26px 0 0;
    color: #8292a5;
    font-size: 12px;
}

.hero-decoration {
    position: absolute;
    right: -90px;
    bottom: -210px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(22, 166, 160, .11);
    border-radius: 50%;
}

.hero-decoration::after {
    content: "";
    position: absolute;
    inset: 44px;
    border: 1px solid rgba(23, 105, 224, .08);
    border-radius: 50%;
}

.dashboard {
    padding: 18px;
    border: 1px solid #dce6f1;
    border-radius: 17px;
    background: rgba(255, 255, 255, .96);
    box-shadow: var(--shadow);
}

.dashboard-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 3px 3px 15px;
    border-bottom: 1px solid var(--line);
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 9px;
}

.dashboard-brand strong,
.dashboard-brand small {
    display: block;
}

.dashboard-brand strong {
    font-size: 12px;
}

.dashboard-brand small {
    color: var(--muted);
    font-size: 10px;
}

.mini-mark {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.demo-badge {
    padding: 5px 8px;
    border-radius: 5px;
    color: #53708c;
    background: #edf3f8;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .08em;
}

.dashboard-context {
    display: flex;
    gap: 35px;
    padding: 14px 4px;
}

.dashboard-context span,
.dashboard-context strong {
    display: block;
}

.context-label {
    margin-bottom: 3px;
    color: #8494a6;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
}

.dashboard-context strong {
    font-size: 11px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.18fr .82fr;
    gap: 12px;
}

.demo-card {
    min-width: 0;
    padding: 15px;
    border: 1px solid #e5ebf2;
    border-radius: 11px;
    background: #fff;
}

.narrative-card {
    grid-row: span 2;
}

.card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.card-kicker {
    color: #8292a5;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .1em;
}

.card-heading h2 {
    margin: 3px 0 0;
    font-size: 14px;
    letter-spacing: -.02em;
}

.tiny-icon {
    color: var(--blue);
    font-size: 17px;
}

.narrative-map {
    display: block;
    width: 100%;
    height: auto;
    margin: 14px 0 4px;
}

.map-lines path {
    fill: none;
    stroke: #c8d6e5;
    stroke-width: 2;
    stroke-dasharray: 4 5;
}

.map-node circle {
    stroke: white;
    stroke-width: 4;
}

.map-node text {
    fill: white;
    text-anchor: middle;
    font-family: system-ui, sans-serif;
    font-size: 7px;
    font-weight: 800;
}

.node-blue circle {
    fill: #3477d2;
}

.node-teal circle {
    fill: #20a49d;
}

.node-slate circle {
    fill: #778ca5;
}

.node-green circle {
    fill: #319785;
}

.node-light circle {
    fill: #65b6aa;
}

.map-legend {
    display: flex;
    gap: 16px;
    color: #7f8fa2;
    font-size: 9px;
}

.map-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.dot-blue {
    background: var(--blue);
}

.line-key {
    width: 14px;
    border-top: 1px dashed #9bafc2;
}

.acceptance-content {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 17px 0;
}

.donut {
    display: grid;
    flex: 0 0 74px;
    width: 74px;
    height: 74px;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--teal) 0 64%, #e9eff5 64% 100%);
    position: relative;
}

.donut::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: white;
}

.donut span {
    position: relative;
    color: var(--ink);
    font-size: 21px;
    font-weight: 800;
}

.donut small {
    font-size: 11px;
}

.acceptance-content strong {
    font-size: 11px;
}

.acceptance-content p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.45;
}

.mini-bars {
    display: grid;
    gap: 8px;
}

.mini-bars div {
    display: grid;
    grid-template-columns: 73px 1fr 28px;
    gap: 6px;
    align-items: center;
    color: #718399;
    font-size: 8px;
}

.mini-bars i {
    height: 5px;
    overflow: hidden;
    border-radius: 4px;
    background: #edf1f5;
}

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

.mini-bars strong {
    color: var(--ink);
    font-size: 8px;
}

.word-cloud {
    min-height: 112px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 5px 9px;
    padding: 12px 3px 0;
}

.word-cloud span {
    color: #315a87;
    font-weight: 700;
    line-height: 1.2;
}

.word-large {
    font-size: 22px;
}

.word-mid {
    font-size: 15px;
}

.word-small {
    font-size: 12px;
}

.word-tiny {
    font-size: 10px;
}

.word-teal {
    color: var(--teal) !important;
}

.word-blue {
    color: var(--blue) !important;
}

.dashboard-disclaimer {
    margin: 12px 2px 0;
    color: #98a5b4;
    font-size: 9px;
    text-align: right;
}

.section {
    padding: 86px clamp(24px, 6vw, 92px);
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 36px;
    text-align: center;
}

.section-heading h2,
.method-copy h2,
.closing-cta h2 {
    margin-bottom: 12px;
    font-size: clamp(28px, 3.3vw, 42px);
    line-height: 1.15;
    letter-spacing: -.04em;
}

.section-heading>p:last-child {
    color: var(--muted);
}

.steps-section {
    background: white;
}

.steps-grid,
.outputs-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.step-card,
.output-card {
    padding: 25px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: white;
}

.step-number {
    display: inline-block;
    margin-bottom: 25px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
}

.step-card h3,
.output-card h3 {
    margin-bottom: 8px;
    font-size: 17px;
}

.step-card p,
.output-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.outputs-section {
    background: var(--soft);
}

.output-icon {
    display: grid;
    width: 38px;
    height: 38px;
    margin-bottom: 20px;
    place-items: center;
    border-radius: 10px;
    color: var(--blue);
    background: #eaf2ff;
    font-size: 16px;
    font-weight: 800;
}

.method-section {
    display: grid;
    grid-template-columns: 1fr .85fr;
    gap: 70px;
    align-items: center;
    padding: 88px clamp(24px, 12vw, 180px);
}

.method-copy {
    max-width: 580px;
}

.method-copy>p:not(.eyebrow) {
    margin-bottom: 24px;
    color: var(--muted);
}

.method-points {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--line);
}

.method-points div {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
}

.method-points span {
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
}

.method-points p {
    margin: 0;
    color: #465d77;
    font-size: 14px;
}

.closing-cta {
    margin: 0 clamp(24px, 6vw, 92px) 72px;
    padding: 34px clamp(24px, 5vw, 65px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-radius: 15px;
    color: white;
    background: #123b68;
}

.closing-cta .eyebrow {
    color: #8dd8d1;
}

.closing-cta h2 {
    max-width: 650px;
    margin: 0;
}

.button-light {
    flex: 0 0 auto;
    color: #123b68;
    background: white;
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px clamp(24px, 6vw, 92px);
    border-top: 1px solid var(--line);
    color: #7e8da0;
    font-size: 12px;
}

.site-footer .brand {
    color: var(--ink);
    font-size: 12px;
}

.site-footer .brand-mark {
    width: 27px;
    height: 27px;
    font-size: 14px;
}

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

    .hero-copy {
        max-width: 720px;
    }

    .dashboard {
        max-width: 780px;
    }
}

@media (max-width: 680px) {
    .site-header {
        height: 68px;
        padding-inline: 20px;
    }

    .main-nav {
        gap: 15px;
        font-size: 12px;
    }

    .main-nav .nav-login {
        padding: 8px 11px;
    }

    .hero {
        padding: 56px 20px;
    }

    h1 {
        font-size: 43px;
    }

    .hero-lede {
        font-size: 16px;
    }

    .hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .dashboard {
        padding: 11px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .narrative-card {
        grid-row: auto;
    }

    .dashboard-context {
        gap: 20px;
    }

    .section {
        padding: 65px 20px;
    }

    .steps-grid,
    .outputs-grid {
        grid-template-columns: 1fr;
    }

    .step-number {
        margin-bottom: 15px;
    }

    .method-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 65px 22px;
    }

    .closing-cta {
        align-items: flex-start;
        flex-direction: column;
        margin: 0 20px 50px;
        padding: 28px 22px;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}