:root {
    --bg: #eef5ff;
    --bg-deep: #d9e8fb;
    --surface: rgba(255, 255, 255, 0.84);
    --surface-strong: #ffffff;
    --ink: #0b2348;
    --muted: #526a86;
    --line: rgba(15, 58, 112, 0.14);
    --brand: #0f77d7;
    --brand-bright: #22a6f2;
    --brand-deep: #082b86;
    --silver: #cfd8e4;
    --silver-deep: #7b8ca3;
    --shadow: 0 28px 80px rgba(8, 43, 134, 0.18);
    --radius: 28px;
    --shell: 1180px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(34, 166, 242, 0.2), transparent 28%),
        radial-gradient(circle at 85% 12%, rgba(15, 119, 215, 0.18), transparent 22%),
        radial-gradient(circle at 50% 100%, rgba(123, 140, 163, 0.16), transparent 26%),
        linear-gradient(180deg, #f8fbff 0%, var(--bg) 42%, var(--bg-deep) 100%);
    line-height: 1.6;
}

main {
    animation: page-rise 700ms ease both;
}

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

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

img {
    display: block;
    max-width: 100%;
}

.shell {
    width: min(calc(100% - 2rem), var(--shell));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(16px);
    background: rgba(248, 251, 255, 0.78);
    border-bottom: 1px solid rgba(8, 43, 134, 0.08);
}

.header-row,
.footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.brand-logo {
    width: clamp(68px, 10vw, 96px);
    border-radius: 1rem;
    box-shadow: 0 18px 36px rgba(8, 43, 134, 0.15);
}

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

.brand-copy strong,
.site-nav a,
h1,
h2,
h3,
.panel-title,
.contact-card a,
.step {
    font-family: "Orbitron", "Segoe UI", sans-serif;
}

.brand-copy strong {
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
}

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

.site-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.site-nav a {
    color: var(--muted);
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--brand-deep);
    transform: translateY(-1px);
}

.hero,
.section {
    padding: 5.5rem 0;
}

.hero-grid,
.story-grid,
.cta-grid,
.solutions-grid {
    display: grid;
    gap: 2rem;
    align-items: start;
}

.hero-grid {
    grid-template-columns: 1.15fr 0.95fr;
    min-height: calc(100vh - 88px);
    align-items: center;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1rem;
    color: var(--brand-deep);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.eyebrow::before {
    content: "";
    width: 2.75rem;
    height: 2px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-bright) 100%);
    border-radius: 999px;
}

h1 {
    font-size: clamp(3rem, 5.5vw, 5.4rem);
    line-height: 0.96;
    max-width: 11ch;
    margin-bottom: 1.3rem;
}

h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1;
    max-width: 15ch;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.1rem;
    line-height: 1.15;
    margin-bottom: 0.85rem;
}

.lede,
.section-heading p,
.story-copy p,
.contact-card p,
.card p,
.timeline-item p,
.solution-item p,
.stat-card span {
    color: var(--muted);
    font-size: 1.04rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.35rem;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 800;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%);
    color: #fff;
    box-shadow: var(--shadow);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.58);
    border-color: var(--line);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    box-shadow: 0 12px 32px rgba(34, 166, 242, 0.12);
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-badges span {
    padding: 0.72rem 0.95rem;
    border: 1px solid rgba(15, 119, 215, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.62);
    color: var(--brand-deep);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-panel,
.card,
.contact-card,
.solution-item {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 1.7rem;
    position: relative;
    overflow: hidden;
    animation: float-in 900ms ease 140ms both;
}

.hero-panel::after {
    content: "";
    position: absolute;
    inset: auto -80px -80px auto;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(34, 166, 242, 0.24), transparent 68%);
    pointer-events: none;
}

.hero-logo {
    width: min(100%, 440px);
    margin: 0 auto 1.25rem;
}

.panel-title {
    font-size: 1rem;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.stat-grid,
.card-grid {
    display: grid;
    gap: 1rem;
}

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

.stat-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.05rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.76) 0%, rgba(223, 236, 252, 0.88) 100%);
    border: 1px solid rgba(15, 119, 215, 0.12);
    border-radius: 1.1rem;
}

.stat-card strong {
    font-family: "Orbitron", "Segoe UI", sans-serif;
    font-size: 0.98rem;
    letter-spacing: 0.04em;
}

.section-heading {
    margin-bottom: 2rem;
}

.section-heading.compact {
    margin-bottom: 0;
}

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

.card {
    padding: 1.55rem;
    position: relative;
    overflow: hidden;
}

.card::before,
.solution-item::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--brand) 0%, var(--brand-bright) 65%, var(--silver) 100%);
}

.section-solutions {
    padding-top: 1rem;
}

.solutions-grid,
.story-grid,
.cta-grid {
    grid-template-columns: 0.8fr 1.2fr;
}

.solution-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.solution-item {
    padding: 1.5rem;
    position: relative;
    min-height: 100%;
}

.section-accent {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.52) 0%, rgba(228, 239, 252, 0.86) 100%);
    border-top: 1px solid rgba(8, 43, 134, 0.06);
    border-bottom: 1px solid rgba(8, 43, 134, 0.06);
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1.25rem;
    padding: 1.35rem 0;
    border-top: 1px solid var(--line);
}

.timeline-item:last-child {
    border-bottom: 1px solid var(--line);
}

.step {
    color: var(--brand);
    font-size: 1.35rem;
    font-weight: 800;
}

.section-cta {
    padding-bottom: 6rem;
}

.contact-card {
    padding: 1.6rem;
    display: grid;
    gap: 1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88) 0%, rgba(223, 236, 252, 0.92) 100%);
}

.contact-card a {
    font-size: 1.15rem;
    line-height: 1.25;
    word-break: break-word;
}

.site-footer {
    border-top: 1px solid rgba(8, 43, 134, 0.08);
    background: rgba(255, 255, 255, 0.62);
}

.site-footer p {
    margin: 0;
    color: var(--muted);
}

@keyframes page-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float-in {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1080px) {
    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .hero-grid,
    .story-grid,
    .cta-grid,
    .solutions-grid,
    .card-grid,
    .solution-stack {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        min-height: auto;
    }

    .hero-panel {
        order: -1;
    }
}

@media (max-width: 720px) {
    .header-row,
    .footer-row,
    .timeline-item {
        display: grid;
        grid-template-columns: 1fr;
    }

    .brand {
        align-items: flex-start;
    }

    .brand-logo {
        width: 72px;
    }

    .site-nav {
        gap: 0.8rem 1rem;
    }

    .hero,
    .section {
        padding: 4rem 0;
    }

    h1 {
        font-size: clamp(2.5rem, 14vw, 4rem);
    }

    .hero-badges {
        gap: 0.65rem;
    }

    .contact-card a {
        font-size: 1rem;
    }
}
