:root {
    --bg: #f7f8fa;
    --surface: #ffffff;
    --ink: #111318;
    --muted: #69707d;
    --soft: #eef1f5;
    --line: #dfe3e8;
    --accent: #0a84ff;
    --accent-soft: #e7f2ff;
    --violet: #7c5cff;
    --mint: #23c7a7;
}

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

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: #111318;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
}

main {
    background:
        radial-gradient(circle at 12% 8%, rgba(10, 132, 255, 0.14), transparent 32rem),
        radial-gradient(circle at 88% 12%, rgba(124, 92, 255, 0.13), transparent 32rem),
        radial-gradient(circle at 74% 42%, rgba(35, 199, 167, 0.09), transparent 30rem),
        linear-gradient(180deg, #f7f8fa 0%, #fbfcff 54%, #ffffff 100%);
}

a {
    color: inherit;
}

.container {
    width: min(100% - 40px, 1120px);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    height: 64px;
    padding: 0 max(20px, calc((100vw - 1120px) / 2));
    background: transparent;
    border-bottom: 0;
}

.top-glass {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 19;
    height: 96px;
    background: rgba(247, 248, 250, 0.12);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 58%, transparent 100%);
    pointer-events: none;
}

.brand {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.brand {
    color: var(--ink);
    font-family: 'Outfit', Inter, ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(24px, 2.35vw, 36px);
    font-weight: 700;
    grid-column: 2;
    letter-spacing: 0;
    justify-self: center;
    background: linear-gradient(105deg, #0d1117 0%, #14213d 40%, #184c91 72%, #2c2a7c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-transform: uppercase;
    filter: drop-shadow(0 1px 10px rgba(255, 255, 255, 0.78));
    -webkit-text-fill-color: transparent;
}

.hero {
    min-height: 94svh;
    display: grid;
    align-items: center;
    padding: clamp(96px, 8vw, 132px) 0 clamp(60px, 6vw, 86px);
    background: transparent;
}

.hero-grid {
    display: block;
}

.hero-copy {
    max-width: 100%;
}

.eyebrow,
.section-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.contact h2 {
    letter-spacing: 0;
    font-weight: 700;
    line-height: 0.98;
}

.hero h1 {
    max-width: 100%;
    margin-top: 18px;
    font-size: clamp(64px, 10.4vw, 136px);
    background:
        radial-gradient(circle at 72% 72%, rgba(44, 53, 145, 0.42) 0%, transparent 34%),
        linear-gradient(to bottom right, #101621 0%, #111c2d 26%, #13294a 48%, #173d72 70%, #2d2a75 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-wrap: balance;
    -webkit-text-fill-color: transparent;
}

.hero-copy > p:not(.eyebrow) {
    max-width: 720px;
    margin-top: 28px;
    color: var(--muted);
    font-size: clamp(20px, 2.2vw, 27px);
    line-height: 1.22;
}

.primary-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-link {
    background: var(--ink);
    color: #fff;
}

.primary-link:hover,
.primary-link:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.primary-link:hover,
.primary-link:focus-visible {
    background: #000;
}

.services,
.contact {
    padding: clamp(40px, 5.6vw, 72px) 0;
    scroll-margin-top: 80px;
}

.services {
    background: transparent;
}

.services-head {
    display: grid;
}

.services-head h2 {
    max-width: none;
    color: var(--ink);
    font-size: clamp(38px, 5vw, 68px);
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    margin-top: clamp(28px, 4vw, 46px);
    overflow: hidden;
    border: 1px solid rgba(17, 19, 24, 0.08);
    border-radius: 24px;
    background:
        radial-gradient(circle at 12% 0%, rgba(10, 132, 255, 0.2), transparent 20rem),
        radial-gradient(circle at 50% 0%, rgba(124, 92, 255, 0.18), transparent 20rem),
        radial-gradient(circle at 92% 0%, rgba(35, 199, 167, 0.18), transparent 20rem),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 255, 0.78));
    box-shadow: 0 30px 90px rgba(26, 35, 55, 0.12);
}

.service-list article {
    min-height: 338px;
    display: flex;
    flex-direction: column;
    padding: clamp(28px, 3.4vw, 42px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.22));
    position: relative;
}

.service-list article::before {
    width: 44px;
    height: 4px;
    border-radius: 999px;
    content: '';
    display: block;
    margin-bottom: 24px;
}

.service-list article:nth-child(1)::before {
    background: linear-gradient(90deg, #0a84ff, #54a7ff);
}

.service-list article:nth-child(2)::before {
    background: linear-gradient(90deg, #725cff, #a66cff);
}

.service-list article:nth-child(3)::before {
    background: linear-gradient(90deg, #18b89b, #6ad8c8);
}

.service-list article + article {
    border-left: 1px solid rgba(17, 19, 24, 0.08);
}

.service-list h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
}

.service-list p {
    max-width: 240px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 18px;
}

.project-list {
    display: grid;
    align-content: start;
    gap: 10px;
    margin-top: clamp(52px, 5vw, 72px);
    padding-top: 0;
}

.project-list a,
.project-list div {
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    padding: 7px 0;
    border-top: 0;
    border-bottom: 0;
    color: var(--ink);
    text-decoration: none;
}

.project-list span {
    font-size: 18px;
    font-weight: 700;
}

.project-list small {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 11px;
    border: 1px solid rgba(17, 19, 24, 0.08);
    border-radius: 999px;
    color: #4f5868;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.service-list article:nth-child(1) .project-list small {
    border-color: rgba(10, 132, 255, 0.16);
    background: rgba(10, 132, 255, 0.08);
    color: #1559a6;
}

.service-list article:nth-child(2) .project-list small {
    border-color: rgba(124, 92, 255, 0.18);
    background: rgba(124, 92, 255, 0.09);
    color: #5942b8;
}

.service-list article:nth-child(3) .project-list small {
    border-color: rgba(35, 199, 167, 0.18);
    background: rgba(35, 199, 167, 0.09);
    color: #217b70;
}

.project-list a:hover,
.project-list a:focus-visible {
    color: var(--accent);
    outline: none;
}

.contact {
    background:
        radial-gradient(circle at 18% 20%, rgba(10, 132, 255, 0.18), transparent 30rem),
        radial-gradient(circle at 82% 18%, rgba(124, 92, 255, 0.22), transparent 30rem),
        linear-gradient(180deg, #151b27 0%, #111826 58%, #111318 100%);
    color: #fff;
    padding-bottom: 0;
}

.contact .section-label {
    color: rgba(255, 255, 255, 0.58);
}

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(40px, 8vw, 130px);
    align-items: center;
}

.contact h2 {
    max-width: 680px;
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.96);
    font-size: clamp(36px, 4.4vw, 58px);
    line-height: 1;
}

.contact-card {
    display: grid;
    gap: 20px;
    max-width: 360px;
    justify-self: end;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.055)),
        rgba(10, 14, 22, 0.36);
    backdrop-filter: blur(22px);
    box-shadow: 0 20px 56px rgba(0, 0, 0, 0.2);
}

.contact-card p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 17px;
    line-height: 1.42;
}

.contact .primary-link {
    background: #fff;
    color: var(--ink);
}

.contact .primary-link:hover,
.contact .primary-link:focus-visible {
    background: #edf1f6;
}

.site-footer {
    padding: clamp(34px, 4vw, 52px) 0 36px;
    background: transparent;
    color: rgba(255, 255, 255, 0.58);
    font-size: 13px;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.075);
    text-align: center;
}

@media (max-width: 1100px) {
    .services {
        padding-top: clamp(34px, 5vw, 54px);
    }

    .services-head h2 {
        max-width: 12ch;
        font-size: clamp(34px, 4.7vw, 48px);
        line-height: 1.04;
    }
}

@media (max-width: 900px) {
    main {
        background:
            radial-gradient(ellipse 112% 30% at 0% 8%, rgba(10, 132, 255, 0.16), transparent 64%),
            radial-gradient(ellipse 110% 30% at 104% 17%, rgba(124, 92, 255, 0.14), transparent 64%),
            radial-gradient(ellipse 92% 24% at 76% 48%, rgba(35, 199, 167, 0.09), transparent 66%),
            linear-gradient(180deg, #f7f8fa 0%, #fbfcff 56%, #ffffff 100%);
    }

    .hero h1 {
        max-width: 100%;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .contact-card {
        justify-self: start;
    }

    .service-list article {
        min-height: 252px;
        padding: 30px 20px;
    }

    .service-list h2 {
        font-size: clamp(34px, 5.8vw, 46px);
    }

    .project-list a,
    .project-list div {
        gap: 10px;
    }

    .project-list span {
        font-size: 16px;
    }

    .project-list small {
        min-height: 26px;
        padding: 0 8px;
        font-size: 10px;
    }
}

@media (max-width: 700px) {
    main {
        background:
            radial-gradient(ellipse 150% 34% at -34% 7%, rgba(10, 132, 255, 0.2), transparent 62%),
            radial-gradient(ellipse 145% 34% at 128% 18%, rgba(124, 92, 255, 0.17), transparent 62%),
            radial-gradient(ellipse 118% 28% at 82% 48%, rgba(35, 199, 167, 0.11), transparent 68%),
            linear-gradient(180deg, #f7f8fa 0%, #fafbff 44%, #ffffff 100%);
    }

    .container {
        width: min(100% - 28px, 1120px);
    }

    .site-header {
        grid-template-columns: 1fr auto 1fr;
        height: 64px;
        align-items: center;
    }

    .brand {
        font-size: clamp(21px, 7.2vw, 30px);
        grid-column: 2;
        justify-self: center;
    }

    .hero {
        min-height: 86svh;
        display: grid;
        align-items: center;
        padding: 92px 0 36px;
    }

    .hero h1 {
        font-size: clamp(54px, 16vw, 86px);
        line-height: 0.95;
    }

    .hero-copy > p:not(.eyebrow) {
        max-width: 30rem;
        margin-top: 22px;
        font-size: clamp(19px, 5.2vw, 24px);
    }

    .primary-link {
        width: 100%;
    }

    .services {
        padding: 28px 0 56px;
        background: transparent;
    }

    .services-head h2 {
        max-width: none;
        font-size: clamp(24px, 7vw, 38px);
        line-height: 1.02;
        white-space: nowrap;
    }

    .service-list {
        grid-template-columns: 1fr;
        border-radius: 16px;
        margin-top: 24px;
        background:
            radial-gradient(ellipse 110% 20% at 0% 0%, rgba(10, 132, 255, 0.09), transparent 68%),
            radial-gradient(ellipse 110% 20% at 100% 46%, rgba(124, 92, 255, 0.08), transparent 70%),
            radial-gradient(ellipse 110% 20% at 100% 100%, rgba(35, 199, 167, 0.08), transparent 70%),
            linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(249, 251, 255, 0.86));
        box-shadow: 0 22px 66px rgba(26, 35, 55, 0.11);
    }

    .service-list article {
        min-height: auto;
        padding: 22px 20px;
    }

    .service-list article:nth-child(1) {
        background: radial-gradient(ellipse 95% 64% at 100% 0%, rgba(10, 132, 255, 0.055), transparent 70%);
    }

    .service-list article:nth-child(2) {
        background: radial-gradient(ellipse 95% 64% at 100% 0%, rgba(124, 92, 255, 0.055), transparent 70%);
    }

    .service-list article:nth-child(3) {
        background: radial-gradient(ellipse 95% 64% at 100% 0%, rgba(35, 199, 167, 0.055), transparent 70%);
    }

    .service-list article::before {
        width: 34px;
        height: 3px;
        margin-bottom: 18px;
    }

    .service-list h2 {
        font-size: clamp(30px, 9vw, 40px);
    }

    .service-list p {
        max-width: 20rem;
        margin-top: 10px;
        font-size: 16px;
        line-height: 1.42;
    }

    .service-list article + article {
        border-top: 1px solid rgba(17, 19, 24, 0.08);
        border-left: 0;
    }

    .project-list {
        gap: 8px;
        margin-top: 18px;
        padding-top: 0;
    }

    .project-list a,
    .project-list div {
        min-height: 48px;
        padding: 12px 0;
        align-items: center;
    }

    .project-list span {
        font-size: 16px;
    }

    .project-list small {
        min-height: 26px;
        padding: 0 9px;
        font-size: 11px;
    }

    .contact {
        padding: 68px 0 0;
        background:
            radial-gradient(ellipse 140% 44% at -18% 8%, rgba(10, 132, 255, 0.28), transparent 62%),
            radial-gradient(ellipse 140% 46% at 118% 16%, rgba(124, 92, 255, 0.3), transparent 62%),
            linear-gradient(180deg, #151b27 0%, #111826 54%, #111318 100%);
    }

    .contact-inner {
        gap: 26px;
    }

    .contact h2 {
        font-size: clamp(33px, 9vw, 48px);
    }

    .contact-card {
        max-width: none;
        width: 100%;
        padding: 20px;
        border-radius: 8px;
    }

    .site-footer {
        padding-top: 28px;
    }

    .footer-inner {
        justify-content: flex-start;
        text-align: left;
    }

}

@media (max-width: 420px) {
    main {
        background:
            radial-gradient(ellipse 168% 32% at -42% 7%, rgba(10, 132, 255, 0.21), transparent 62%),
            radial-gradient(ellipse 162% 34% at 136% 18%, rgba(124, 92, 255, 0.18), transparent 62%),
            radial-gradient(ellipse 132% 26% at 80% 49%, rgba(35, 199, 167, 0.115), transparent 68%),
            linear-gradient(180deg, #f7f8fa 0%, #fafbff 43%, #ffffff 100%);
    }

    .container {
        width: min(100% - 24px, 1120px);
    }

    .top-glass {
        height: 84px;
    }

    .hero h1 {
        font-size: clamp(48px, 16.6vw, 68px);
    }

    .services-head h2 {
        font-size: clamp(23px, 6.8vw, 30px);
    }

    .service-list article {
        padding: 20px 18px;
    }

    .service-list p {
        font-size: 15px;
    }

    .primary-link {
        width: 100%;
    }

    .project-list a,
    .project-list div {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
        align-items: center;
        min-height: 46px;
    }

    .project-list small {
        justify-self: end;
        font-size: 10px;
        padding: 0 8px;
    }

    .contact {
        padding-top: 62px;
    }

    .contact h2 {
        max-width: 9ch;
    }

    .contact-card p {
        font-size: 16px;
    }

    .site-footer {
        padding-bottom: 30px;
    }

}
