/* Fonts: self-hosted Cal Sans (headings) and Poppins (text), both under the SIL Open Font License 1.1. */

/* latin-ext */
@font-face {
    font-family: "Cal Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/cal-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: "Cal Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/cal-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/poppins-400-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/poppins-400-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/poppins-500-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("/fonts/poppins-500-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/poppins-600-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("/fonts/poppins-600-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Accent: change --accent only; every derived shade below, including the tinted neutrals, is computed from it. */
:root {
    --accent: #1a2a5e;
    --on-accent: #ffffff;
    --accent-hover: color-mix(in oklab, var(--accent) 86%, black);
    --accent-ink: color-mix(in oklab, var(--accent) 75%, black);
    --accent-soft: color-mix(in oklab, var(--accent) 7%, white);
    --accent-tint: color-mix(in oklab, var(--accent) 16%, white);
    --accent-pale: color-mix(in oklab, var(--accent) 28%, white);
    --accent-light: color-mix(in oklab, var(--accent) 55%, white);
    --accent-mid: color-mix(in oklab, var(--accent) 78%, white);
    --accent-dark: color-mix(in oklab, var(--accent) 70%, black);
    --accent-glow: color-mix(in oklab, var(--accent) 35%, transparent);

    --ink: color-mix(in oklab, var(--accent) 12%, #0b0b12);
    --ink-2: color-mix(in oklab, var(--accent) 8%, #3a3a48);
    --muted: color-mix(in oklab, var(--accent) 8%, #6b6b7a);
    --line: color-mix(in oklab, var(--accent) 8%, #e7e7ec);
    --band: color-mix(in oklab, var(--accent) 4%, white);
    --surface: #ffffff;
    --shadow: 0 1px 2px rgba(20, 20, 40, 0.04), 0 8px 24px -12px rgba(20, 20, 40, 0.12);

    --font-sans: Poppins, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Cal Sans", var(--font-sans);
    --max: 1200px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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

body {
    margin: 0;
    background: var(--surface);
    color: var(--muted);
    font: 400 16px/1.65 var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

svg {
    display: block;
}

a {
    color: inherit;
}

h1,
h2,
h3,
p,
ul,
ol {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

h1,
h2,
h3 {
    color: var(--ink);
    font-weight: 400;
    text-wrap: balance;
}

h1,
h2 {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(40px, 5.8vw, 62px);
    line-height: 1.08;
}

h2 {
    font-size: clamp(30px, 3.6vw, 40px);
    line-height: 1.15;
}

h3 {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.35;
}

p {
    text-wrap: pretty;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 10;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
}

.skip-link:focus {
    top: 16px;
}

.container {
    max-width: var(--max);
    margin-inline: auto;
    padding-inline: 24px;
}

.i {
    flex: none;
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Header */

.site-header {
    position: relative;
    z-index: 2;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding-block: 16px;
}

.logo {
    justify-self: start;
    color: var(--ink);
}

.logo svg {
    width: 125px;
    height: 32px;
    fill: currentColor;
}

.nav {
    display: flex;
    gap: 4px;
    padding: 5px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
}

.nav a {
    padding: 8px 16px;
    border-radius: 999px;
    color: var(--ink);
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.nav a:hover {
    background: var(--band);
}

.header-inner .btn {
    justify-self: end;
}

/* Buttons and small elements */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 0.2s,
        transform 0.2s;
}

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

.btn .i {
    width: 18px;
    height: 18px;
}

.btn-accent {
    background: var(--accent);
    box-shadow: 0 8px 20px -10px var(--accent-glow);
    color: var(--on-accent);
}

.btn-accent:hover {
    background: var(--accent-hover);
}

.btn-light {
    background: var(--surface);
    box-shadow: inset 0 0 0 1px var(--line);
    color: var(--ink);
}

.btn-light:hover {
    background: var(--band);
}

.btn-lg {
    padding: 14px 26px;
    font-size: 16px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--ink);
    font-size: 14px;
}

.badge .i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.pill {
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--band);
    color: var(--ink-2);
    font-size: 12px;
    white-space: nowrap;
}

.pill.acc {
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.icon-tile {
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--accent-soft);
    color: var(--accent);
}

.check {
    display: grid;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
}

.check .i {
    width: 13px;
    height: 13px;
    stroke-width: 2.5;
}

.checklist {
    display: grid;
    gap: 12px;
}

.checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--ink-2);
}

.checklist .check {
    margin-top: 1px;
}

/* Sections */

.section {
    padding-block: clamp(72px, 9vw, 112px);
}

.band {
    background: var(--band);
}

.section-head {
    display: grid;
    gap: 16px;
    max-width: 740px;
    margin: 0 auto clamp(40px, 5vw, 64px);
    text-align: center;
}

.section-head p {
    font-size: 17px;
}

.section-head a {
    color: var(--accent-ink);
}

/* Hero */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding-top: clamp(64px, 8vw, 96px);
    background: radial-gradient(70% 45% at 50% 100%, var(--accent-soft), transparent 70%);
}

.circuit {
    position: absolute;
    inset: 0 0 auto;
    z-index: -1;
    width: 100%;
    height: 560px;
    -webkit-mask-image: linear-gradient(180deg, #000 50%, transparent);
    mask-image: linear-gradient(180deg, #000 50%, transparent);
}

.circuit path {
    fill: none;
    stroke: var(--line);
    stroke-width: 1.5;
}

.circuit-nodes circle {
    fill: var(--surface);
    stroke: var(--line);
    stroke-width: 1.5;
}

.circuit-dots circle {
    fill: var(--accent-light);
}

.hero-intro {
    display: grid;
    justify-items: center;
    text-align: center;
}

.hero h1 {
    max-width: 13em;
    margin-top: 28px;
}

.hl {
    color: var(--accent);
}

@supports (color: oklch(from red l c h)) {
    .hl {
        background: linear-gradient(
            120deg,
            var(--accent),
            oklch(from var(--accent) calc(l + 0.2) calc(c * 1.6) calc(h - 10)) 60%,
            oklch(from var(--accent) calc(l + 0.32) calc(c * 1.4) calc(h - 30))
        );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }
}

.hero-lead {
    max-width: 640px;
    margin-top: 24px;
    font-size: clamp(16px, 1.5vw, 18px);
}

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

@media (prefers-reduced-motion: no-preference) {
    .hero-intro > * {
        animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }

    .hero-intro > :nth-child(2) {
        animation-delay: 0.06s;
    }

    .hero-intro > :nth-child(3) {
        animation-delay: 0.12s;
    }

    .hero-intro > :nth-child(4) {
        animation-delay: 0.18s;
    }

    .showcase {
        animation: rise 1s 0.25s cubic-bezier(0.2, 0.7, 0.2, 1) both;
    }
}

@keyframes rise {
    from {
        opacity: 0;
        translate: 0 18px;
    }
}

/* Hero: illustrative dashboard */

.showcase {
    max-width: 1080px;
    margin: clamp(56px, 7vw, 80px) auto 0;
    padding: 10px 10px 0;
    border: 1px solid var(--accent-tint);
    border-bottom: 0;
    border-radius: 24px 24px 0 0;
    background: color-mix(in oklab, var(--accent) 6%, white);
    box-shadow: 0 -20px 80px -40px var(--accent-glow);
}

.app {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    height: 470px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    background: var(--surface);
    color: var(--ink-2);
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
}

.app-side {
    display: grid;
    align-content: start;
    gap: 2px;
    padding: 18px 12px;
    border-right: 1px solid var(--line);
    color: var(--muted);
    font-size: 13px;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 18px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
}

.app-brand svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.app-side li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
}

.app-side li::before {
    content: "";
    width: 12px;
    height: 12px;
    border: 1.5px solid currentColor;
    border-radius: 4px;
    opacity: 0.6;
}

.app-side li.on {
    background: var(--accent);
    color: var(--on-accent);
}

.app-side li.on::before {
    opacity: 1;
}

.app-main {
    display: grid;
    align-content: start;
    gap: 14px;
    min-width: 0;
    padding: 20px 22px;
    background: var(--band);
}

.app-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-title {
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.app-sub {
    color: var(--muted);
}

.segmented {
    display: flex;
    padding: 3px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: 0 0 0 1px var(--line);
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
}

.segmented span {
    padding: 5px 12px;
    border-radius: 999px;
}

.segmented .on {
    background: var(--ink);
    color: #fff;
}

.dash-card {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
}

.kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.kpi {
    display: grid;
    gap: 4px;
}

.kpi-label {
    overflow: hidden;
    color: var(--muted);
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kpi-value {
    color: var(--ink);
    font-size: 19px;
    font-weight: 500;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.delta {
    justify-self: start;
    padding: 1px 7px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-ink);
    font-size: 11px;
    font-weight: 500;
}

.dash-grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
    gap: 10px;
}

.dash-col {
    display: grid;
    gap: 10px;
}

.card-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.card-title {
    color: var(--ink);
    font-size: 13px;
    font-weight: 500;
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.key-line,
.key-plan {
    width: 14px;
    border-top: 2px solid var(--accent);
}

.key-plan {
    margin-left: 6px;
    border-top: 2px dashed var(--muted);
}

.line-chart {
    width: 100%;
    height: auto;
    overflow: visible;
}

.line-chart .grid {
    fill: none;
    stroke: var(--line);
    stroke-width: 1;
}

.line-chart .area {
    fill: url(#revenue-fill);
}

.fill-top {
    stop-color: var(--accent);
    stop-opacity: 0.22;
}

.fill-bottom {
    stop-color: var(--accent);
    stop-opacity: 0;
}

.line-chart .plan {
    fill: none;
    stroke: var(--muted);
    stroke-dasharray: 4 4;
    stroke-width: 1.25;
}

.line-chart .revenue {
    fill: none;
    stroke: var(--accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.line-chart .dot {
    fill: var(--accent);
    stroke: var(--surface);
    stroke-width: 2;
}

.line-chart text {
    fill: var(--muted);
    font-family: var(--font-sans);
    font-size: 9px;
}

.line-chart .value-label {
    fill: var(--ink);
    font-weight: 500;
}

.funnel {
    display: grid;
    gap: 9px;
}

.funnel li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 8px;
}

.funnel b {
    color: var(--ink);
    font-weight: 500;
}

.funnel i {
    grid-column: 1 / -1;
    height: 8px;
    border-radius: 4px;
    background: var(--accent);
}

.funnel .w58 i {
    width: 58%;
}

.funnel .w24 i {
    width: 24%;
}

.funnel .w17 i {
    width: 17%;
}

.s1 {
    --stage: var(--accent-pale);
}

.s2 {
    --stage: var(--accent-light);
}

.s3 {
    --stage: var(--accent-mid);
}

.s4 {
    --stage: var(--accent);
}

.stack {
    display: flex;
    gap: 2px;
    height: 10px;
    overflow: hidden;
    border-radius: 4px;
}

.stack span {
    background: var(--stage);
}

.stack .s1 {
    flex: 6;
}

.stack .s2 {
    flex: 9;
}

.stack .s3 {
    flex: 21;
}

.stack .s4 {
    flex: 12;
}

.stack-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 14px;
    margin-top: 12px;
    font-size: 11px;
}

.stack-legend li {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stack-legend li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--stage);
}

.stack-legend b {
    margin-left: auto;
    color: var(--ink);
    font-weight: 500;
}

/* Facts strip */

.facts {
    border-block: 1px solid var(--line);
}

.facts-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px 32px;
    padding-block: 28px;
}

.facts-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font-size: 15px;
}

.facts-list .i {
    color: var(--accent);
}

/* Problems */

.problems {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.problems li {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    transition: border-color 0.2s;
}

.problems li:hover {
    border-color: var(--accent-tint);
}

.problems .icon-tile {
    margin-bottom: 8px;
}

.problems p {
    font-size: 15px;
}

/* Services bento */

.bento {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 20px;
}

.bento-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
}

.bento-card.wide {
    grid-column: span 7;
}

.bento-card.narrow {
    grid-column: span 5;
}

.viz {
    position: relative;
    display: grid;
    place-items: center;
    height: 260px;
    padding: 24px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background:
        radial-gradient(60% 80% at 50% 100%, var(--accent-soft), transparent 70%),
        linear-gradient(180deg, var(--band), var(--surface));
    font-size: 12px;
}

.viz-inner {
    width: 100%;
    max-width: 480px;
}

.bento-body {
    display: grid;
    gap: 10px;
    padding: 24px 28px 28px;
}

.bento-body p {
    font-size: 15px;
}

.flow {
    display: flex;
    align-items: flex-start;
}

.flow-node {
    display: grid;
    flex: none;
    justify-items: center;
    gap: 8px;
    color: var(--ink-2);
}

.node-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--muted);
}

.flow-node.done .node-icon {
    color: var(--accent);
}

.flow-node.active .node-icon {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 10px 24px -8px var(--accent-glow);
    color: var(--on-accent);
}

.flow-wire {
    flex: 1;
    height: 2px;
    margin: 25px 6px 0;
    border-radius: 2px;
    background: var(--line);
}

.flow-wire.done {
    background: var(--accent-light);
}

.toasts {
    display: grid;
    justify-items: center;
    gap: 8px;
    margin-top: 26px;
}

.toast,
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--ink-2);
}

.toast .i,
.chip .i {
    width: 15px;
    height: 15px;
    color: var(--accent);
}

.mini-card {
    width: 100%;
    max-width: 340px;
    padding: 14px 16px 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.mini-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--muted);
}

.mini-head b,
.mini-row b {
    color: var(--ink);
    font-weight: 500;
}

.mini-row {
    display: grid;
    grid-template-columns: 1fr auto 76px;
    align-items: center;
    gap: 10px;
    padding-block: 9px;
    border-top: 1px solid var(--line);
    color: var(--ink-2);
}

.mini-row b {
    text-align: right;
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    white-space: nowrap;
}

.status::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--line);
}

.status.mid::before {
    background: var(--accent-light);
}

.status.on::before {
    background: var(--accent);
}

.modules {
    display: grid;
    justify-items: center;
    gap: 14px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.chip.new {
    border: 1px dashed var(--accent-light);
    background: var(--accent-soft);
    box-shadow: none;
    color: var(--accent-ink);
}

.core-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 14px;
    background: var(--accent);
    box-shadow: 0 12px 28px -10px var(--accent-glow);
    color: var(--on-accent);
    font-size: 14px;
    font-weight: 500;
}

.core-bar svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Integrations orbit */

.orbit {
    position: relative;
    max-width: 980px;
    aspect-ratio: 980 / 440;
    margin-inline: auto;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent);
    mask-image: linear-gradient(180deg, #000 82%, transparent);
}

.ring {
    position: absolute;
    top: 86.4%;
    left: 50%;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--accent-soft), transparent);
    translate: -50% -50%;
}

.r1 {
    width: 85.7%;
}

.r2 {
    width: 61.2%;
}

.r3 {
    width: 36.7%;
}

.orbit-core {
    position: absolute;
    top: 86.4%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 112px;
    height: 112px;
    border: 1px solid var(--accent-tint);
    border-radius: 50%;
    background: var(--surface);
    box-shadow: 0 16px 40px -16px var(--accent-glow);
    color: var(--ink);
    translate: -50% -50%;
}

.orbit-core svg {
    width: 48px;
    height: 48px;
    fill: currentColor;
}

.orbit-chips li {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--ink);
    font-size: 14px;
    white-space: nowrap;
    translate: -50% -50%;
}

.orbit-chips .i {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.o1 {
    top: 53.7%;
    left: 11%;
}

.o2 {
    top: 38.2%;
    left: 28.4%;
}

.o3 {
    top: 38.2%;
    left: 71.6%;
}

.o4 {
    top: 53.7%;
    left: 89%;
}

.o5 {
    top: 75.8%;
    left: 30%;
}

.o6 {
    top: 75.8%;
    left: 70%;
}

/* Platform */

.platform {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 88px);
}

.platform-text {
    display: grid;
    justify-items: start;
    gap: 20px;
}

.platform-text > p {
    font-size: 17px;
}

.platform-text .list-title {
    margin-top: 4px;
    color: var(--ink);
    font-size: 16px;
    font-weight: 500;
}

.platform-text .btn {
    margin-top: 12px;
}

.network {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    place-items: center;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 1;
    justify-self: center;
    border: 1px solid var(--line);
    border-radius: 28px;
    background:
        radial-gradient(circle, var(--accent-tint) 1px, transparent 1.5px) 0 0 / 20px 20px,
        var(--surface);
}

.network-links {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.network-links path {
    fill: none;
    stroke: var(--accent-pale);
    stroke-dasharray: 4 4;
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.net-node,
.net-core {
    position: relative;
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 12px 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
    color: var(--ink-2);
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
}

.net-node {
    width: 82%;
}

.net-node .i {
    color: var(--accent);
}

.net-node.custom {
    border: 1px dashed var(--accent-light);
    background: var(--accent-soft);
    box-shadow: none;
    color: var(--accent-ink);
}

.net-core {
    width: 92%;
    padding: 18px 10px;
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: 0 16px 36px -12px var(--accent-glow);
    color: var(--on-accent);
    font-weight: 500;
}

.net-core svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

/* Deployment */

.deploy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin-inline: auto;
}

.deploy-card {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: clamp(28px, 3.5vw, 40px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.deploy-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.deploy-card h3 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.deploy-card .checklist {
    margin-top: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

/* Process */

.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    counter-reset: step;
}

.steps li {
    position: relative;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 28px 24px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
}

.steps li::before {
    content: counter(step, decimal-leading-zero);
    counter-increment: step;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--accent);
    box-shadow: 0 8px 20px -10px var(--accent-glow);
    color: var(--on-accent);
    font-size: 15px;
    font-weight: 500;
}

.steps p {
    font-size: 15px;
}

/* FAQ */

.faq {
    display: grid;
    gap: 12px;
    max-width: 820px;
    margin-inline: auto;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
    transition:
        border-color 0.2s,
        background-color 0.2s;
}

.faq details[open] {
    border-color: var(--accent-tint);
    background: var(--band);
}

.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    cursor: pointer;
    color: var(--ink);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.4;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary .i {
    color: var(--muted);
    transition:
        transform 0.25s,
        color 0.25s;
}

.faq details[open] summary .i {
    transform: rotate(45deg);
    color: var(--accent);
}

.faq details p {
    max-width: 64ch;
    padding: 0 24px 22px;
}

.faq a {
    color: var(--accent-ink);
}

/* Contact CTA */

.cta {
    padding-bottom: clamp(72px, 9vw, 112px);
}

.cta-box {
    position: relative;
    isolation: isolate;
    display: grid;
    justify-items: center;
    gap: 18px;
    overflow: hidden;
    padding: clamp(56px, 8vw, 96px) 24px;
    border: 8px solid var(--accent-soft);
    border-radius: 32px;
    background:
        radial-gradient(40% 60% at 0% 0%, var(--accent-tint), transparent 70%),
        radial-gradient(40% 60% at 100% 100%, var(--accent-tint), transparent 70%),
        var(--band);
    text-align: center;
}

.cta-box .circuit {
    height: 100%;
    -webkit-mask-image: none;
    mask-image: none;
}

.cta-box h2 {
    max-width: 14em;
}

.cta-box p {
    max-width: 560px;
    font-size: 17px;
}

.cta-box .btn {
    margin-top: 12px;
}

/* Footer */

.site-footer {
    border-top: 1px solid var(--line);
    font-size: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 2fr) minmax(0, 2fr) minmax(0, 3fr);
    gap: 40px;
    padding-block: 64px 48px;
}

.footer-grid .logo + p {
    max-width: 30ch;
    margin-top: 18px;
}

.footer-grid h2 {
    margin-bottom: 16px;
    font-family: var(--font-sans);
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0;
}

.footer-grid li + li {
    margin-top: 10px;
}

.footer-grid a {
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--ink);
    text-decoration: underline;
}

.footer-grid address {
    font-size: 14px;
    font-style: normal;
    line-height: 1.75;
}

.footer-grid address b {
    color: var(--ink);
    font-weight: 500;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-block: 24px;
    border-top: 1px solid var(--line);
    font-size: 13px;
}

/* Error page */

.error-page {
    padding-bottom: clamp(72px, 9vw, 112px);
}

.error-code {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: clamp(96px, 16vw, 180px);
    letter-spacing: -0.03em;
    line-height: 1;
}

.error-page h1 {
    margin-top: 12px;
    font-size: clamp(32px, 4.4vw, 48px);
}

/* Responsive */

@media (max-width: 1120px) {
    .app {
        grid-template-columns: 170px minmax(0, 1fr);
    }

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

    .orbit-chips li {
        font-size: 13px;
    }
}

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

    .header-inner {
        grid-template-columns: 1fr auto;
    }

    .kpis {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .kpis > :nth-child(4) {
        display: none;
    }

    .bento-card.wide,
    .bento-card.narrow {
        grid-column: span 12;
    }

    .platform {
        grid-template-columns: minmax(0, 1fr);
    }

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

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

@media (max-width: 800px) {
    .dash-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dash-col {
        display: none;
    }

    .deploy {
        grid-template-columns: minmax(0, 1fr);
    }

    .orbit {
        display: grid;
        justify-items: center;
        gap: 24px;
        aspect-ratio: auto;
        overflow: visible;
        -webkit-mask-image: none;
        mask-image: none;
    }

    .ring {
        display: none;
    }

    .orbit-core {
        position: static;
        translate: none;
    }

    .orbit-chips {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .orbit-chips li {
        position: static;
        translate: none;
    }
}

@media (max-width: 640px) {
    .circuit {
        display: none;
    }

    .app {
        grid-template-columns: minmax(0, 1fr);
        height: 400px;
    }

    .app-side,
    .segmented {
        display: none;
    }

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

    .kpis > :nth-child(3) {
        display: none;
    }

    .facts-list {
        display: grid;
        gap: 14px;
    }

    .problems,
    .steps,
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .viz {
        height: auto;
        min-height: 220px;
        padding: 28px 16px;
    }

    .flow-node {
        font-size: 11px;
    }

    .node-icon {
        width: 44px;
        height: 44px;
    }

    .flow-wire {
        margin-top: 21px;
    }

    .network {
        gap: 0;
    }

    .net-node,
    .net-core {
        padding: 10px 6px;
        font-size: 11px;
    }

    .btn-lg {
        padding: 13px 22px;
        font-size: 15px;
    }
}
