:root {
    --navy-950: #071829;
    --navy-900: #0a2139;
    --navy-850: #0c2a49;
    --navy-800: #12385f;
    --blue-600: #1768c4;
    --blue-500: #2680db;
    --blue-100: #eaf4ff;
    --blue-50: #f4f9ff;
    --ink: #14243a;
    --text: #43556a;
    --muted: #748397;
    --line: #dbe4ee;
    --line-soft: #eaf0f5;
    --surface: #ffffff;
    --surface-soft: #f6f9fc;
    --green: #16845b;
    --shadow-sm: 0 8px 24px rgba(9, 33, 58, 0.08);
    --shadow-lg: 0 24px 70px rgba(4, 21, 39, 0.16);
    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(219, 228, 238, 0.84);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
}

.header-inner,
.section-inner,
.hero-inner,
.footer-inner {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    flex: 0 0 auto;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(145deg, var(--navy-800), var(--blue-600));
    box-shadow: 0 8px 20px rgba(23, 104, 196, 0.22);
}

.brand-mark span {
    position: absolute;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.08em;
}

.brand-mark span:first-child {
    transform: translate(-5px, -3px);
    opacity: 0.95;
}

.brand-mark span:last-child {
    transform: translate(5px, 4px);
    opacity: 0.62;
}

.brand-mark.small {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.brand-copy {
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    color: var(--navy-900);
    font-size: 17px;
    letter-spacing: -0.02em;
}

.brand-copy small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

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

.desktop-nav a,
.footer-links a {
    color: #526276;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: color 0.15s ease;
}

.desktop-nav a:hover,
.footer-links a:hover {
    color: var(--blue-600);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.button {
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.button-primary {
    color: #fff;
    background: var(--blue-600);
    border-color: var(--blue-600);
    box-shadow: 0 8px 22px rgba(23, 104, 196, 0.24);
}

.button-primary:hover {
    background: #125bad;
    border-color: #125bad;
}

.button-ghost {
    color: var(--navy-800);
    background: #fff;
    border-color: var(--line);
}

.button-light {
    color: var(--navy-800);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 28px rgba(2, 16, 31, 0.14);
}

.button-large {
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 12px;
    font-size: 14px;
}

.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 90% 18%, rgba(38, 128, 219, 0.25), transparent 31%),
        linear-gradient(135deg, #071829 0%, #0b2846 52%, #103b67 100%);
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.13;
    background-image:
        linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to right, transparent 4%, #000 45%, #000 100%);
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.hero-glow-one {
    width: 460px;
    height: 460px;
    right: -130px;
    top: -160px;
    background: rgba(47, 147, 237, 0.16);
}

.hero-glow-two {
    width: 360px;
    height: 360px;
    left: 35%;
    bottom: -250px;
    background: rgba(86, 172, 255, 0.08);
}

.hero-inner {
    position: relative;
    z-index: 2;
    min-height: 670px;
    padding: 88px 0 82px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(500px, 0.92fr);
    align-items: center;
    gap: 64px;
}

.hero-copy {
    min-width: 0;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #79baff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #4fa6ff;
    box-shadow: 0 0 0 5px rgba(79, 166, 255, 0.12);
}

.hero h1 {
    margin: 22px 0 22px;
    color: #fff;
    font-size: clamp(48px, 5.2vw, 72px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero h1 span {
    color: #65b3ff;
}

.hero-description {
    max-width: 650px;
    margin: 0;
    color: rgba(233, 242, 251, 0.78);
    font-size: 17px;
    line-height: 1.75;
}

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

.hero-trust {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.hero-trust div {
    display: grid;
    gap: 5px;
}

.hero-trust strong {
    color: #fff;
    font-size: 13px;
}

.hero-trust span {
    color: rgba(220, 235, 248, 0.56);
    font-size: 11px;
    line-height: 1.4;
}

.hero-visual {
    min-width: 0;
    perspective: 1200px;
}

.platform-window {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 19px;
    background: #fff;
    box-shadow: 0 35px 80px rgba(0, 11, 25, 0.42);
    transform: rotateY(-3deg) rotateX(1deg);
}

.window-topbar {
    height: 58px;
    padding: 0 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: var(--navy-900);
}

.window-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
}

.mini-mark {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--blue-600);
    font-size: 9px;
    letter-spacing: -0.04em;
}

.window-user {
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 9px;
    font-weight: 700;
}

.window-body {
    min-height: 420px;
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    background: #f5f8fb;
}

.mock-sidebar {
    padding: 18px 11px;
    border-right: 1px solid #e5ebf1;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mock-nav {
    min-height: 38px;
    padding: 8px 9px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #68778a;
    font-size: 9px;
    font-weight: 750;
}

.mock-nav b {
    color: #9aa8b8;
    font-size: 8px;
}

.mock-nav.active {
    color: var(--blue-600);
    background: #eaf4ff;
}

.mock-nav.active b {
    color: var(--blue-500);
}

.mock-content {
    padding: 24px 21px;
}

.mock-heading {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.mock-label {
    color: #8b9aae;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.mock-heading h2 {
    margin: 5px 0 0;
    color: var(--navy-900);
    font-size: 18px;
    letter-spacing: -0.03em;
}

.status-pill {
    align-self: flex-start;
    padding: 6px 9px;
    border-radius: 999px;
    color: var(--green);
    background: #e8f7f1;
    font-size: 8px;
    font-weight: 850;
}

.mock-metrics {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

.mock-metrics div {
    padding: 13px;
    border: 1px solid #e2eaf1;
    border-radius: 10px;
    background: #fff;
}

.mock-metrics span,
.mock-metrics strong {
    display: block;
}

.mock-metrics span {
    color: #7b899a;
    font-size: 8px;
    font-weight: 700;
}

.mock-metrics strong {
    margin-top: 6px;
    color: var(--navy-900);
    font-size: 20px;
}

.mock-panel {
    margin-top: 13px;
    overflow: hidden;
    border: 1px solid #e1e8ef;
    border-radius: 11px;
    background: #fff;
}

.mock-panel-title {
    padding: 13px 14px;
    border-bottom: 1px solid #edf1f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-panel-title strong {
    color: var(--navy-900);
    font-size: 10px;
}

.mock-panel-title span {
    color: #8b98a8;
    font-size: 8px;
}

.workflow-row {
    padding: 12px 14px;
    border-bottom: 1px solid #eff3f6;
    display: grid;
    grid-template-columns: 29px 1fr auto;
    align-items: center;
    gap: 10px;
}

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

.workflow-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--blue-600);
    background: #eef6ff;
    font-size: 8px;
    font-weight: 900;
}

.workflow-row div {
    display: grid;
    gap: 2px;
}

.workflow-row strong {
    color: #263950;
    font-size: 9px;
}

.workflow-row small {
    color: #8a98a8;
    font-size: 8px;
}

.workflow-state {
    color: #617286;
    font-size: 8px;
    font-weight: 800;
}

.section {
    padding: 98px 0;
}

.section-light {
    background: #fff;
}

.section-heading {
    max-width: 680px;
}

.section-heading.centered {
    margin: 0 auto;
    text-align: center;
}

.section-heading .section-kicker {
    color: var(--blue-600);
}

.section-heading h2 {
    margin: 13px 0 14px;
    color: var(--navy-900);
    font-size: clamp(34px, 4vw, 49px);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.section-heading p {
    margin: 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
}

.feature-grid {
    margin-top: 52px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    position: relative;
    min-height: 275px;
    padding: 26px;
    border: 1px solid var(--line-soft);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 8px 32px rgba(7, 31, 53, 0.045);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #cadcec;
    box-shadow: var(--shadow-sm);
}

.feature-number {
    position: absolute;
    top: 21px;
    right: 22px;
    color: #c0cbd6;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.feature-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--blue-600);
    background: var(--blue-100);
    font-size: 21px;
    font-weight: 900;
}

.feature-card h3 {
    margin: 24px 0 11px;
    color: var(--navy-900);
    font-size: 18px;
    letter-spacing: -0.025em;
}

.feature-card p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    line-height: 1.7;
}

.companies-section {
    background: var(--surface-soft);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.companies-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 36px;
}

.company-count {
    flex: 0 0 auto;
    min-width: 146px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(12, 42, 73, 0.04);
}

.company-count strong,
.company-count span {
    display: block;
}

.company-count strong {
    color: var(--navy-900);
    font-size: 30px;
    line-height: 1;
}

.company-count span {
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.company-loading[hidden],
.company-empty[hidden],
.company-grid[hidden] {
    display: none !important;
}

.company-loading,
.company-empty {
    margin-top: 42px;
    min-height: 180px;
    border: 1px dashed #cbd7e2;
    border-radius: 16px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    color: var(--muted);
    background: rgba(255,255,255,.62);
    text-align: center;
}

.loading-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid #dce8f4;
    border-top-color: var(--blue-600);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.company-empty h3,
.company-empty p {
    margin: 0;
}

.company-empty h3 {
    color: var(--navy-900);
    font-size: 19px;
}

.company-empty p {
    max-width: 440px;
    font-size: 13px;
    line-height: 1.6;
}

.empty-mark {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: var(--blue-600);
    background: var(--blue-100);
    font-size: 11px;
    font-weight: 900;
}

.company-grid {
    margin-top: 42px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 17px;
}

.company-card {
    min-height: 250px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(10, 38, 65, 0.045);
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.company-card:hover {
    transform: translateY(-3px);
    border-color: #bdd4e9;
    box-shadow: 0 14px 34px rgba(10, 38, 65, 0.09);
}

.company-logo-wrap {
    height: 78px;
    display: flex;
    align-items: center;
}

.company-logo {
    max-width: 165px;
    max-height: 65px;
    object-fit: contain;
}

.company-logo-placeholder {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--navy-800);
    background: #eef3f8;
    font-size: 15px;
    font-weight: 900;
}

.company-card h3 {
    margin: 15px 0 8px;
    color: var(--navy-900);
    font-size: 19px;
    letter-spacing: -0.025em;
}

.company-card p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
    line-height: 1.65;
}

.company-card-footer {
    margin-top: auto;
    padding-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.company-badge {
    padding: 6px 8px;
    border-radius: 999px;
    color: var(--green);
    background: #e9f7f1;
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.company-link {
    color: var(--blue-600);
    text-decoration: none;
    font-size: 11px;
    font-weight: 850;
}

.company-link:hover {
    text-decoration: underline;
}

.section-dark {
    overflow: hidden;
    position: relative;
    background: var(--navy-950);
}

.section-dark::after {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    right: -260px;
    top: -260px;
    border-radius: 50%;
    background: rgba(38, 128, 219, 0.13);
}

.how-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: 90px;
    align-items: start;
}

.dark-heading .section-kicker {
    color: #69b3ff;
}

.dark-heading h2 {
    color: #fff;
}

.dark-heading p {
    color: rgba(222, 236, 248, 0.66);
}

.how-steps {
    display: grid;
    gap: 1px;
    border-top: 1px solid rgba(255,255,255,.13);
}

.how-steps article {
    padding: 26px 0;
    border-bottom: 1px solid rgba(255,255,255,.13);
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
}

.how-steps article > span {
    color: #67b5ff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.how-steps h3 {
    margin: 0 0 7px;
    color: #fff;
    font-size: 17px;
}

.how-steps p {
    margin: 0;
    color: rgba(219, 233, 246, .62);
    font-size: 13px;
    line-height: 1.65;
}

.cta-section {
    padding: 72px 20px;
    background: #fff;
}

.cta-card {
    width: min(1100px, 100%);
    margin: 0 auto;
    padding: 40px 44px;
    border: 1px solid #d8e5f2;
    border-radius: 20px;
    background: linear-gradient(125deg, #f3f8fd, #eef6ff 60%, #fff);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.cta-card h2 {
    margin: 10px 0 7px;
    color: var(--navy-900);
    font-size: 30px;
    letter-spacing: -0.04em;
}

.cta-card p {
    margin: 0;
    color: var(--text);
    font-size: 13px;
}

.site-footer {
    border-top: 1px solid var(--line-soft);
    background: #fff;
}

.footer-inner {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 34px;
}

.footer-links {
    margin-left: auto;
    display: flex;
    gap: 24px;
}

.footer-inner > p {
    margin: 0;
    color: #9aa5b2;
    font-size: 10px;
}

@media (max-width: 1040px) {
    .desktop-nav {
        display: none;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 56px;
        padding-top: 72px;
    }

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

    .hero-visual {
        width: min(700px, 100%);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    .header-inner,
    .section-inner,
    .hero-inner,
    .footer-inner {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-copy small,
    .header-actions .button-ghost {
        display: none;
    }

    .hero-inner {
        min-height: auto;
        padding: 62px 0 56px;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
    }

    .hero-description {
        font-size: 15px;
    }

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

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

    .hero-trust {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .hero-trust div {
        grid-template-columns: 110px 1fr;
        align-items: center;
        gap: 10px;
    }

    .platform-window {
        transform: none;
    }

    .window-body {
        grid-template-columns: 74px minmax(0, 1fr);
    }

    .mock-sidebar {
        padding: 14px 7px;
    }

    .mock-nav {
        justify-content: center;
        padding: 7px 4px;
        font-size: 0;
    }

    .mock-nav b {
        font-size: 8px;
    }

    .mock-content {
        padding: 18px 13px;
    }

    .mock-heading h2 {
        font-size: 15px;
    }

    .mock-metrics {
        gap: 6px;
    }

    .mock-metrics div {
        padding: 10px;
    }

    .mock-metrics strong {
        font-size: 16px;
    }

    .section {
        padding: 72px 0;
    }

    .feature-grid,
    .company-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }

    .companies-heading-row {
        align-items: stretch;
        flex-direction: column;
    }

    .company-count {
        width: 145px;
    }

    .how-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .cta-section {
        padding: 52px 14px;
    }

    .cta-card {
        padding: 30px 24px;
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-card .button {
        width: 100%;
    }

    .footer-inner {
        padding: 24px 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .footer-links {
        margin-left: 0;
    }
}

@media (max-width: 440px) {
    .brand-mark {
        width: 38px;
        height: 38px;
    }

    .brand-copy strong {
        font-size: 15px;
    }

    .header-actions .button-primary {
        min-height: 39px;
        padding: 9px 13px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .window-user {
        display: none;
    }

    .mock-metrics {
        grid-template-columns: 1fr;
    }

    .mock-metrics div:nth-child(2),
    .mock-metrics div:nth-child(3) {
        display: none;
    }

    .workflow-row {
        grid-template-columns: 27px 1fr;
    }

    .workflow-state {
        display: none;
    }
}
