
:root {
    --background: #0c0d10;
    --surface: #131419;
    --text: #f4f4f5;
    --muted: #9799a3;
    --accent: #55d8ff;
    --accent-hover: #90e7ff;
    --violet: #ab65ff;
    --border: #24262e;
    --max-width: 1160px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--background);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont,
                 "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

.container {
    width: min(90%, var(--max-width));
    margin-inline: auto;
}

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

/* Navigation */

.header {
    border-bottom: 1px solid var(--border);
}

.navigation {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 25px;
    font-weight: 750;
    letter-spacing: -1.5px;
}

.logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    font-size: 14px;
    color: var(--muted);
    transition: color 150ms ease;
}

nav a:hover {
    color: var(--text);
}

/* Hero */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    background-image:
        radial-gradient(
            ellipse at 80% 30%,
            color-mix(in srgb, var(--accent) 10%, transparent),
            transparent 55%
        ),
        radial-gradient(
            ellipse at 95% 75%,
            color-mix(in srgb, var(--violet) 9%, transparent),
            transparent 55%
        ),
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: auto, auto, 48px 48px, 48px 48px;
}

.hero-content {
    padding-block: 100px;
}

.eyebrow {
    display: inline-block;
    color: var(--accent);
    font-family: ui-monospace, monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    margin-bottom: 24px;
}

h1 {
    font-size: clamp(48px, 8vw, 102px);
    font-weight: 750;
    line-height: 1.08;
    letter-spacing: -0.065em;
}

.hero-description {
    max-width: 570px;
    color: var(--muted);
    font-size: 19px;
    margin-top: 30px;
}

.button {
    display: inline-block;
    margin-top: 36px;
    padding: 14px 24px;
    background: var(--accent);
    color: #111;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 650;
    transition: background 150ms ease,
                transform 150ms ease;
}

.button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

/* General sections */

.section {
    padding-block: 100px;
    border-top: 1px solid var(--border);
}

h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 650;
    line-height: 1.2;
    letter-spacing: -0.045em;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-description {
    color: var(--muted);
    font-size: 17px;
}

.about-description p + p {
    margin-top: 20px;
}

/* Expertise */

.services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 44px;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 32px;
    transition: border-color 200ms ease,
                transform 200ms ease;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
}

.card-number {
    font-family: ui-monospace, monospace;
    color: var(--accent);
    font-size: 12px;
}

.service-card h3 {
    font-size: 21px;
    letter-spacing: -0.5px;
    margin-top: 38px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 15px;
}

/* Closing section */

.closing {
    padding-block: 110px;
    text-align: center;
    border-top: 1px solid var(--border);
    background: radial-gradient(
        ellipse at center,
        color-mix(in srgb, var(--violet) 10%, transparent),
        transparent 65%
    );
}

.closing h2 {
    font-size: clamp(36px, 6vw, 70px);
}

.closing p {
    color: var(--muted);
    margin-top: 24px;
}

/* Footer */

.footer {
    padding-block: 36px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer p,
.copyright {
    color: var(--muted);
    font-size: 12px;
}

.footer p {
    margin-top: 6px;
}

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

/* Mobile */

@media (max-width: 768px) {
    .navigation {
        min-height: 72px;
    }

    .brand {
        font-size: 21px;
    }

    nav {
        gap: 18px;
    }

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

    .hero {
        min-height: 540px;
    }

    .hero-content {
        padding-block: 70px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section {
        padding-block: 65px;
    }

    .about-grid,
    .services {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .closing {
        padding-block: 75px;
    }

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

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

    * {
        transition: none !important;
    }
}
