:root {
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --surface: #ffffff;
    --surface-strong: #f1f5f9;
    --text: #0f172a;
    --text-soft: #475569;
    --line: rgba(15, 23, 42, 0.08);
    --line-strong: rgba(15, 23, 42, 0.14);
    --primary: #0f172a;
    --primary-soft: #1e293b;
    --accent: #2563eb;
    --accent-soft: #dbeafe;
    --success: #16a34a;
    --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 50px rgba(15, 23, 42, 0.1);
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --container: 1160px;
    --header-height: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 10% 10%, rgba(37,99,235,0.06), transparent 35%), radial-gradient(circle at 90% 20%, rgba(14,165,233,0.06), transparent 35%), linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);
}

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

svg {
    display: block;
}

a {
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(100% - 2rem, var(--container));
    margin-inline: auto;
}

.brand-name {
    font-weight: 700;
    color: #2563eb;
}

.section {
    padding: 5.5rem 0;
}

    .section + .section {
        border-top: 1px solid rgba(15,23,42,0.06);
    }

.section-sm {
    padding: 4rem 0;
}

.section-alt {
    background: rgba(255, 255, 255, 0.7);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

    .section-heading h2 {
        margin: 0 0 0.8rem;
        font-size: clamp(2rem, 3vw, 3rem);
        line-height: 1.08;
        letter-spacing: -0.04em;
    }

    .section-heading p {
        margin: 0;
        color: var(--text-soft);
        font-size: 1.05rem;
    }

.lead {
    font-size: 1.08rem;
    color: var(--text-soft);
}

.text-center {
    text-align: center;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    }

.grid {
    display: grid;
    gap: 1.5rem;
}

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

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

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

/* Header */
.site-header {
    position: sticky;
    top: 16px;
    z-index: 1000;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(15,23,42,0.08);
    border-radius: 14px;
    width: min(100% - 32px, 1180px);
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    transition: box-shadow .25s ease;
}

    .site-header:hover {
        box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
    padding: 0 1.5rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.brand-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex: 0 0 auto;
}

.brand-text {
    font-size: 1rem;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

    .site-nav a {
        position: relative;
    }

        .site-nav a:hover,
        .site-nav a:focus-visible {
            color: #2563eb;
        }

.nav-cta,
.button,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta,
.button {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

    .nav-cta:hover,
    .button:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(37,99,235,0.25);
    }

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

    .button-secondary:hover {
        transform: translateY(-1px);
        box-shadow: var(--shadow-sm);
    }

.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.nav-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 5rem;
}

    .hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.12), transparent 28%), radial-gradient(circle at 15% 25%, rgba(14, 165, 233, 0.1), transparent 24%);
        pointer-events: none;
    }

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(320px,0.9fr);
    align-items: center;
    gap: 4rem;
}

.hero-copy h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.8rem, 5vw, 5.2rem);
    line-height: 0.95;
    letter-spacing: -0.06em;
}

.hero-copy p {
    max-width: 600px;
    font-size: 1.15rem;
    color: var(--text-soft);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

    .hero-points li {
        padding: 0.6rem 0.9rem;
        border: 1px solid var(--line);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.78);
        font-weight: 600;
        color: var(--text-soft);
    }

.hero-visual {
    position: relative;
}

    .hero-visual::before {
        content: "";
        position: absolute;
        inset: -60px;
        background: radial-gradient(circle, rgba(37,99,235,0.12), transparent 60%);
        filter: blur(40px);
        z-index: -1;
    }

    .hero-visual img,
    .hero-visual svg {
        width: 100%;
        height: auto;
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-md);
    }

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.metric {
    padding: 1.25rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-sm);
}

    .metric strong {
        display: block;
        font-size: 1.4rem;
        letter-spacing: -0.03em;
    }

    .metric span {
        color: var(--text-soft);
        font-size: 0.95rem;
    }

/* Service cards */
.service-card,
.feature-card,
.solution-card,
.value-card,
.contact-card {
    height: 100%;
    padding: 1.6rem;
}

    .service-card h3,
    .feature-card h3,
    .solution-card h3,
    .value-card h3,
    .contact-card h3 {
        margin: 0 0 0.65rem;
        font-size: 1.18rem;
        letter-spacing: -0.03em;
    }

    .service-card p,
    .feature-card p,
    .solution-card p,
    .value-card p,
    .contact-card p {
        margin: 0;
        color: var(--text-soft);
    }

.icon-badge {
    width: 48px;
    height: 48px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--accent);
    font-weight: 800;
}

/* Split section */
.split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: center;
}

.split-visual img,
.split-visual svg {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.check-list {
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

    .check-list li {
        position: relative;
        padding-left: 1.7rem;
        color: var(--text-soft);
    }

        .check-list li::before {
            content: "•";
            position: absolute;
            left: 0;
            top: 0;
            color: var(--success);
            font-size: 1.2rem;
            line-height: 1.2;
        }

/* Logo / trust row */
.logo-row {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
}

.logo-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-soft);
    font-weight: 700;
}

/* CTA */
.cta-panel {
    padding: 2.2rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    box-shadow: var(--shadow-md);
}

    .cta-panel h2,
    .cta-panel h3 {
        margin: 0 0 0.75rem;
        font-size: clamp(1.8rem, 3vw, 2.6rem);
        letter-spacing: -0.04em;
    }

    .cta-panel p {
        margin: 0 0 1.25rem;
        color: rgba(255, 255, 255, 0.82);
    }

    .cta-panel .button-secondary {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.18);
        color: #ffffff;
    }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
}

.contact-list {
    margin: 1.2rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

    .contact-list li {
        color: var(--text-soft);
    }

    .contact-list strong {
        color: var(--text);
    }

/* Footer */
.site-footer {
    padding: 2rem 0 3rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
}

    .footer-links a {
        text-decoration: none;
        color: var(--text-soft);
    }

.footer-meta {
    color: var(--text-soft);
    font-size: 0.95rem;
}

/* Utility */
.stack-sm > * + * {
    margin-top: 0.75rem;
}

.stack-md > * + * {
    margin-top: 1rem;
}

.stack-lg > * + * {
    margin-top: 1.5rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive */
@media (max-width: 1080px) {
    .hero-inner,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 4rem;
    }

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

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

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

@media (max-width: 860px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 1rem 1.1rem;
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
    }

        .site-nav.is-open {
            display: flex;
        }

        .site-nav a {
            padding: 0.95rem 0;
            border-bottom: 1px solid var(--line);
        }

            .site-nav a:last-child {
                border-bottom: 0;
            }

    .nav-cta {
        margin-top: 0.8rem;
        width: 100%;
    }

    .hero-metrics,
    .grid-3,
    .grid-4,
    .logo-row {
        grid-template-columns: 1fr;
    }

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

    .section {
        padding: 4.5rem 0;
    }

        .section + .section {
            border-top: 1px solid rgba(15,23,42,0.06);
        }

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 1.25rem, var(--container));
    }

    .hero {
        padding: 3.5rem 0 3rem;
    }

    .hero-copy h1 {
        font-size: clamp(2.2rem, 10vw, 3.3rem);
    }

    .hero-copy p,
    .section-heading p,
    .lead {
        font-size: 1rem;
    }

    .button-group {
        flex-direction: column;
    }

    .button,
    .button-secondary {
        width: 100%;
    }

    .service-card,
    .feature-card,
    .solution-card,
    .value-card,
    .contact-card,
    .cta-panel,
    .metric {
        padding: 1.25rem;
    }

    .brand-logo {
        width: 32px;
        height: 32px;
    }

    .brand-text {
        font-size: 0.95rem;
    }

    .hero-points {
        gap: 0.6rem;
    }

        .hero-points li {
            width: 100%;
            text-align: center;
        }
}
