:root {
    --bg: #f3f6f9;
    --bg-alt: #e9eef4;
    --panel: #ffffff;
    --panel-alt: #f7f9fc;
    --text: #101923;
    --muted: #5b6875;
    --line: #d7e0ea;
    --line-strong: #bcc9d6;
    --accent: #0b6bcb;
    --accent-strong: #084f98;
    --accent-soft: #edf5ff;
    --shadow: 0 20px 44px rgba(16, 25, 35, 0.06);
    --radius: 0;
    --wrap: 1160px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Space Grotesk", sans-serif;
    color: var(--text);
    background:
        linear-gradient(180deg, rgba(11, 107, 203, 0.035), transparent 18%),
        linear-gradient(180deg, #f6f9fc 0%, #eef3f8 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(16, 25, 35, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 25, 35, 0.03) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.04));
}

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

.page-shell {
    width: min(calc(100% - 32px), var(--wrap));
    margin: 0 auto;
    padding-bottom: 40px;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 16px;
    padding: 14px 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line);
    background: #ffffff;
    padding: 6px;
}

.brand-mark img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
}

.brand-copy strong,
.eyebrow,
h1,
h2,
h3,
.hero-tags span,
.timeline-step {
    font-family: "Syne", sans-serif;
}

.brand-copy strong {
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.brand-copy small,
.main-nav a,
.lead,
.section-heading p,
.info-card p,
.platform-item p,
.timeline-item p,
.contact-card p,
.footer p,
.stat-label {
    color: var(--muted);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.main-nav a {
    position: relative;
    padding-bottom: 2px;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 180ms ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 180ms ease;
}

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

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition:
        transform 180ms ease,
        background-color 180ms ease,
        border-color 180ms ease,
        color 180ms ease;
}

.nav-cta,
.button-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: #ffffff;
}

.button-secondary {
    border-color: var(--line-strong);
    background: #ffffff;
    color: var(--text);
}

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

.section {
    padding: 72px 0 0;
}

.hero {
    display: block;
    padding-top: 40px;
}

.hero-copy,
.intro-band,
.info-card,
.platform-item,
.timeline-item,
.contact-card {
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.hero-copy {
    position: relative;
    padding: 36px;
    overflow: hidden;
}

.stage-enter {
    opacity: 0;
    transition:
        opacity 720ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 900ms cubic-bezier(0.18, 0.82, 0.22, 1);
    will-change: opacity, transform;
}

.stage-left {
    transform: translateX(-56px);
}

.stage-right {
    transform: translateX(56px);
}

body.page-ready .stage-enter {
    opacity: 1;
    transform: translateX(0);
}

body.page-ready .hero-copy {
    transition-delay: 120ms;
}

body.page-ready .hero-brandmark,
body.page-ready .intro-band {
    transition-delay: 240ms;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
    gap: 24px;
    align-items: center;
}

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

.hero-copy::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--accent), transparent);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.76rem;
}

h1 {
    margin: 0;
    max-width: 18ch;
    font-size: clamp(2rem, 3.2vw, 3.3rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
}

.lead {
    max-width: 580px;
    margin: 16px 0 0;
    line-height: 1.6;
    font-size: 1rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.hero-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: var(--panel-alt);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text);
}

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

.hero-brandmark {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.hero-brandmark img {
    display: block;
    width: min(100%, 250px);
    height: auto;
    object-fit: contain;
}

.intro-band {
    padding: 22px 24px;
    background:
        linear-gradient(90deg, rgba(11, 107, 203, 0.04), transparent 60%),
        var(--panel-alt);
}

.intro-band p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
}

.section-heading {
    display: grid;
    gap: 8px;
    max-width: 640px;
    margin-bottom: 24px;
}

h2 {
    margin: 0;
    font-size: clamp(1.65rem, 2.6vw, 2.5rem);
    letter-spacing: -0.03em;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
}

.section-heading p,
.info-card p,
.platform-item p,
.timeline-item p,
.contact-card p,
.footer p {
    margin: 0;
    line-height: 1.65;
    font-size: 0.97rem;
}

@media (min-width: 721px) {
    .single-line-desktop {
        white-space: nowrap;
    }
}

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

.info-card,
.platform-item,
.timeline-item,
.contact-card {
    padding: 22px;
}

.info-card,
.platform-item {
    position: relative;
}

.platform-item::before {
    content: "";
    display: block;
    width: 26px;
    height: 2px;
    margin-bottom: 16px;
    background: var(--accent);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border: 1px solid var(--line-strong);
    background: var(--panel-alt);
    padding: 10px;
}

.service-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.timeline {
    display: grid;
    gap: 14px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.timeline-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border: 1px solid var(--line-strong);
    background: var(--panel-alt);
    color: var(--accent);
    font-size: 1.05rem;
    font-weight: 800;
}

.closing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 20px;
    align-items: start;
    padding-bottom: 56px;
}

.closing-copy h2 {
    max-width: 16ch;
}

.contact-card {
    background:
        linear-gradient(180deg, rgba(11, 107, 203, 0.04), transparent 70%),
        #ffffff;
}

.contact-label {
    margin: 0 0 8px;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.76rem;
}

.contact-card a:not(.button) {
    display: inline-block;
    margin: 0 0 14px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.contact-phone {
    display: inline-block;
    margin: 0 0 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--accent);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.button-with-icon {
    gap: 10px;
}

.button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 1.15em;
}

.button-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.button-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer {
    padding: 18px 0 8px;
    border-top: 1px solid var(--line);
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 520ms cubic-bezier(0.2, 0.8, 0.2, 1),
        transform 620ms cubic-bezier(0.18, 0.82, 0.22, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .topbar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero,
    .closing,
    .card-grid,
    .platform-list {
        grid-template-columns: 1fr;
    }

    h1,
    .closing-copy h2 {
        max-width: none;
    }

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

    .hero-brandmark {
        justify-content: center;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(calc(100% - 20px), var(--wrap));
    }

    .topbar {
        position: static;
        margin-top: 12px;
        padding: 14px;
    }

    .main-nav {
        gap: 12px;
    }

    .section {
        padding-top: 56px;
    }

    .hero {
        padding-top: 22px;
    }

    .hero-copy,
    .hero-panel,
    .intro-band,
    .info-card,
    .platform-item,
    .timeline-item,
    .contact-card {
        padding: 18px;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }
}

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

    .stage-enter {
        opacity: 1;
        transform: none;
    }

    .reveal,
    .nav-cta,
    .button,
    .main-nav a {
        transition: none;
    }
}
