:root {
    color-scheme: light;
    --ink: #101625;
    --muted: #657184;
    --blue: #2459f6;
    --cyan: #08a8d8;
    --green: #16b886;
    --rose: #ee4768;
    --paper: #ffffff;
    --mist: #f4f9fb;
    --line: rgba(16, 22, 37, 0.1);
    --shadow: 0 24px 70px rgba(25, 42, 74, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background:
        linear-gradient(180deg, #f8fbff 0%, #f3faf9 42%, #ffffff 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 16px 6%;
    background: rgba(248, 251, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.74);
    backdrop-filter: blur(18px);
}

.brand,
.site-header nav,
.hero,
.hero-actions,
.hero-proof,
.panel-top,
.panel-metrics,
.panel-footer,
.product-actions,
.coming-list,
.contact-actions,
footer {
    display: flex;
    align-items: center;
}

.brand {
    gap: 12px;
    min-width: 220px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    color: #fff;
    font-weight: 950;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 42%),
        linear-gradient(135deg, var(--blue), var(--cyan) 58%, var(--green));
    box-shadow: 0 14px 30px rgba(36, 89, 246, 0.22);
}

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

.brand strong {
    font-size: 1.2rem;
}

.brand small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.82rem;
}

.site-header nav {
    gap: 8px;
    color: #334155;
    font-size: 0.94rem;
    font-weight: 850;
}

.site-header nav a {
    padding: 11px 13px;
    border-radius: 8px;
}

.site-header nav a:hover {
    background: var(--paper);
}

.nav-action {
    color: #fff;
    background: #151c2d;
    box-shadow: 0 10px 24px rgba(21, 28, 45, 0.14);
}

.site-header nav .nav-action:hover {
    background: #151c2d;
}

.menu-toggle {
    display: none;
}

.hero {
    min-height: 760px;
    justify-content: space-between;
    gap: 54px;
    padding: 94px 6% 78px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(36, 89, 246, 0.08), rgba(8, 168, 216, 0.04) 44%, rgba(22, 184, 134, 0.08)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.82));
}

.hero-content {
    width: min(760px, 100%);
}

.eyebrow {
    margin: 0 0 18px;
    color: #2451d6;
    font-size: 0.82rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

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

h1 {
    max-width: 760px;
    margin-bottom: 24px;
    font-size: 5.2rem;
    line-height: 0.98;
}

h2 {
    max-width: 790px;
    margin-bottom: 0;
    font-size: 3.35rem;
    line-height: 1.04;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
    line-height: 1.16;
}

.lede,
.section-copy {
    color: var(--muted);
    line-height: 1.65;
}

.lede {
    max-width: 650px;
    margin-bottom: 0;
    font-size: 1.22rem;
}

.section-copy {
    max-width: 700px;
    margin: 18px 0 0;
    font-size: 1.05rem;
}

.hero-actions,
.product-actions,
.contact-actions {
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 8px;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(25, 42, 74, 0.12);
}

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
}

.button.secondary {
    color: #152033;
    background: rgba(255, 255, 255, 0.88);
}

.button.compact {
    min-height: 44px;
    padding: 0 18px;
}

.hero-proof {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.hero-proof span {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: #445268;
    background: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    font-weight: 850;
}

.hero-panel {
    width: min(520px, 100%);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76));
    box-shadow: var(--shadow);
    overflow: hidden;
}

.panel-top {
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px;
    color: #4b5870;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}

.panel-top strong {
    color: var(--green);
}

.panel-metrics {
    gap: 12px;
    padding: 24px 26px;
}

.panel-metrics div {
    flex: 1;
    min-height: 92px;
    padding: 16px;
    border-radius: 8px;
    background: #f3f8fb;
}

.panel-metrics span,
.flow-card span {
    display: block;
    margin-bottom: 12px;
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 950;
}

.panel-metrics strong,
.flow-card strong {
    display: block;
    font-size: 1rem;
}

.panel-flow {
    display: grid;
    gap: 12px;
    padding: 0 26px 24px;
}

.flow-card {
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.flow-card.active {
    color: #fff;
    background: linear-gradient(135deg, #182236, #214df0 58%, #08a8d8);
}

.flow-card.active span,
.flow-card.active small {
    color: rgba(255, 255, 255, 0.72);
}

.flow-card small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}

.panel-footer {
    gap: 12px;
    padding: 18px 26px 24px;
    background: #f7fbfc;
}

.panel-footer span {
    width: 12px;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(180deg, var(--green), var(--cyan));
}

.panel-footer p {
    margin: 0;
    color: #445268;
    line-height: 1.45;
}

.section,
.contact {
    padding: 88px 6%;
}

.section-head {
    margin-bottom: 34px;
}

.solutions {
    background:
        linear-gradient(180deg, #fff 0%, #f7fbfc 100%);
}

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

.solution-grid article,
.product-card,
.principles article,
.contact {
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow);
}

.solution-grid article {
    min-height: 284px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
}

.solution-grid span,
.principles span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 34px;
    margin-bottom: 22px;
    border-radius: 8px;
    color: #fff;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    box-shadow: 0 12px 24px rgba(36, 89, 246, 0.18);
    font-size: 0.82rem;
    font-weight: 950;
}

.solution-grid p,
.product-body p,
.placeholder p,
.principles p,
.contact p {
    color: var(--muted);
    line-height: 1.65;
}

.product-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.8fr);
    gap: 20px;
}

.product-card {
    overflow: hidden;
}

.product-card.featured {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(320px, 1fr);
}

.product-image {
    min-height: 390px;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, rgba(36, 89, 246, 0.1), rgba(8, 168, 216, 0.08)),
        #fff;
}

.product-image img {
    width: min(84%, 480px);
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 18px 34px rgba(25, 42, 74, 0.16));
}

.product-body {
    padding: 42px;
}

.product-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #064e3b;
    background: rgba(22, 184, 134, 0.14);
    font-size: 0.75rem;
    font-weight: 950;
    text-transform: uppercase;
}

.placeholder {
    padding: 34px;
}

.placeholder-icon {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-bottom: 26px;
    border-radius: 8px;
    color: #fff;
    background: #151c2d;
    font-size: 2rem;
    font-weight: 850;
}

.coming-list {
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.coming-list span {
    padding: 8px 10px;
    border-radius: 8px;
    color: #334155;
    background: #f1f6f8;
    font-size: 0.82rem;
    font-weight: 850;
}

.approach {
    background: #fff;
}

.principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.principles article {
    padding: 28px;
    box-shadow: none;
}

.principles span {
    background: linear-gradient(135deg, var(--rose), #ff8a5b);
    box-shadow: 0 12px 24px rgba(238, 71, 104, 0.18);
}

.contact {
    justify-content: space-between;
    gap: 28px;
    margin: 0 6% 70px;
    padding: 44px;
    background:
        linear-gradient(135deg, rgba(36, 89, 246, 0.1), rgba(22, 184, 134, 0.09)),
        rgba(255, 255, 255, 0.9);
}

.contact h2 {
    font-size: 3rem;
}

footer {
    justify-content: space-between;
    gap: 20px;
    padding: 28px 6%;
    color: var(--muted);
    border-top: 1px solid var(--line);
}

footer span:first-child {
    color: var(--ink);
    font-weight: 900;
}

@media (max-width: 980px) {
    .site-header {
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        padding: 18px;
    }

    .brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .menu-toggle {
        display: inline-grid;
        grid-template-columns: auto 18px;
        align-items: center;
        gap: 9px;
        min-height: 44px;
        border: 1px solid rgba(16, 22, 37, 0.09);
        border-radius: 999px;
        color: var(--ink);
        background: rgba(255, 255, 255, 0.78);
        box-shadow: 0 14px 34px rgba(25, 42, 74, 0.12);
        padding: 0 14px;
        font: inherit;
        font-size: 0.84rem;
        font-weight: 900;
    }

    .menu-toggle i,
    .menu-toggle i::before,
    .menu-toggle i::after {
        display: block;
        width: 18px;
        height: 2px;
        border-radius: 999px;
        background: currentColor;
        transition: transform 180ms ease, opacity 180ms ease;
    }

    .menu-toggle i {
        position: relative;
    }

    .menu-toggle i::before,
    .menu-toggle i::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .menu-toggle i::before {
        transform: translateY(-6px);
    }

    .menu-toggle i::after {
        transform: translateY(6px);
    }

    .menu-open .menu-toggle i {
        background: transparent;
    }

    .menu-open .menu-toggle i::before {
        transform: rotate(45deg);
    }

    .menu-open .menu-toggle i::after {
        transform: rotate(-45deg);
    }

    .site-header nav {
        position: absolute;
        top: calc(100% + 10px);
        left: auto;
        right: 18px;
        display: grid;
        width: min(330px, calc(100vw - 36px));
        grid-template-columns: 1fr;
        gap: 7px;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
        transform-origin: top right;
        border: 1px solid rgba(255, 255, 255, 0.78);
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 28px 70px rgba(25, 42, 74, 0.2);
        padding: 10px;
        font-size: 0.88rem;
        pointer-events: none;
        backdrop-filter: blur(22px) saturate(160%);
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .menu-open .site-header nav {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .site-header nav a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 48px;
        border-radius: 15px;
        padding: 0 15px;
        white-space: normal;
        background: transparent;
        border: 1px solid transparent;
        box-shadow: none;
    }

    .site-header nav a::after {
        content: ">";
        color: rgba(101, 113, 132, 0.72);
        font-size: 1rem;
        font-weight: 900;
    }

    .nav-action {
        width: auto;
        margin-top: 3px;
        color: #fff;
        background: linear-gradient(135deg, var(--blue), var(--cyan));
    }

    .site-header nav .nav-action::after {
        color: rgba(255, 255, 255, 0.82);
    }

    .hero {
        min-height: auto;
        align-items: stretch;
        flex-direction: column;
        padding: 52px 18px 62px;
    }

    .hero-panel {
        width: 100%;
    }

    h1 {
        font-size: 4rem;
    }

    h2 {
        font-size: 2.7rem;
    }

    .solution-grid,
    .product-grid,
    .product-card.featured,
    .principles {
        grid-template-columns: 1fr;
    }

    .solution-grid article {
        min-height: auto;
    }

    .product-image {
        min-height: 290px;
    }

    .section {
        padding: 62px 18px;
    }

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

    .contact {
        margin: 0 18px 54px;
    }
}

@media (max-width: 560px) {
    body {
        background:
            radial-gradient(circle at 20% 0%, rgba(36, 89, 246, 0.1), transparent 34%),
            radial-gradient(circle at 100% 18%, rgba(22, 184, 134, 0.12), transparent 30%),
            linear-gradient(180deg, #f8fbff 0%, #eefaf8 46%, #ffffff 100%);
    }

    .site-header {
        flex-wrap: nowrap;
        padding: 12px 16px;
        background: rgba(248, 251, 255, 0.86);
    }

    .brand-mark {
        width: 46px;
        height: 46px;
    }

    .brand strong {
        font-size: 1.05rem;
    }

    .brand small {
        max-width: 168px;
        line-height: 1.25;
        font-size: 0.78rem;
    }

    .menu-toggle {
        flex: 0 0 auto;
        margin-left: auto;
        min-height: 42px;
        padding: 0 13px;
        background: rgba(255, 255, 255, 0.86);
    }

    .site-header nav {
        left: 16px;
        right: 16px;
        width: auto;
        font-size: 0.86rem;
    }

    .hero {
        gap: 28px;
        padding: 38px 18px 48px;
    }

    .eyebrow {
        margin-bottom: 14px;
        font-size: 0.74rem;
    }

    h1 {
        margin-bottom: 18px;
        font-size: 2.45rem;
        line-height: 1.04;
    }

    h2,
    .contact h2 {
        font-size: 2.1rem;
        line-height: 1.08;
    }

    h3 {
        font-size: 1.2rem;
    }

    .lede,
    .section-copy {
        font-size: 1rem;
        line-height: 1.55;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 24px;
    }

    .button {
        min-height: 50px;
        border-radius: 16px;
        padding: 0 14px;
        font-size: 0.94rem;
    }

    .hero-actions .button {
        width: auto;
    }

    .hero-proof {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        margin-top: 18px;
    }

    .hero-proof span {
        display: grid;
        place-items: center;
        min-height: 42px;
        width: auto;
        border-radius: 999px;
        padding: 7px 8px;
        font-size: 0.73rem;
        line-height: 1.15;
        text-align: center;
        background: rgba(255, 255, 255, 0.74);
        box-shadow: 0 10px 24px rgba(25, 42, 74, 0.06);
    }

    .hero-panel {
        border-radius: 24px;
        box-shadow: 0 24px 56px rgba(25, 42, 74, 0.13);
    }

    .panel-top {
        padding: 18px;
        font-size: 0.86rem;
    }

    .panel-top,
    .panel-metrics,
    .panel-flow,
    .panel-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .panel-metrics {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        gap: 8px;
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .panel-metrics div {
        min-width: 0;
        min-height: auto;
        border-radius: 18px;
        padding: 12px 10px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(242, 248, 252, 0.94));
    }

    .panel-metrics span,
    .flow-card span {
        margin-bottom: 8px;
        font-size: 0.72rem;
    }

    .panel-metrics strong {
        font-size: 0.9rem;
        line-height: 1.1;
    }

    .panel-flow {
        gap: 10px;
        padding-bottom: 18px;
    }

    .flow-card {
        border-radius: 18px;
        padding: 16px;
    }

    .flow-card.active {
        background:
            radial-gradient(circle at 82% 12%, rgba(8, 168, 216, 0.9), transparent 32%),
            linear-gradient(135deg, #172033, #2459f6 62%, #08a8d8);
    }

    .solution-grid,
    .product-grid,
    .principles {
        gap: 14px;
    }

    .solution-grid article,
    .product-body,
    .placeholder,
    .principles article,
    .contact {
        padding: 24px;
    }

    .product-image {
        min-height: 220px;
    }

    .contact-actions {
        width: 100%;
    }

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

@media (max-width: 380px) {
    .site-header nav {
        font-size: 0.8rem;
    }

    .brand small {
        max-width: 145px;
        font-size: 0.76rem;
    }

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

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