:root {
    color-scheme: light;
    --navy: #071a33;
    --navy-soft: #0d294c;
    --blue: #1769e0;
    --cyan: #46c8ff;
    --ink: #11233b;
    --muted: #5d6d82;
    --line: #dce5ef;
    --surface: #f5f8fc;
    --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a { color: inherit; }

.site-header,
main,
footer {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--navy);
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.04em;
    text-decoration: none;
}

.brand > span:last-child > span { color: var(--blue); }

.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: var(--white);
    background: linear-gradient(145deg, var(--blue), #0a3c98);
    box-shadow: 0 10px 25px rgb(23 105 224 / 25%);
}

nav { display: flex; align-items: center; gap: 28px; }
nav a { color: #344760; font-size: .9rem; font-weight: 650; text-decoration: none; }
nav a:hover { color: var(--blue); }
.admin-link { padding-left: 28px; border-left: 1px solid var(--line); }

.hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    align-items: center;
    gap: 70px;
    padding: 72px 0 88px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--blue);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p { text-wrap: pretty; }

h1 {
    max-width: 720px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(3rem, 6vw, 5.55rem);
    line-height: .98;
    letter-spacing: -.065em;
}

.lead {
    max-width: 650px;
    margin: 30px 0 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 36px; }

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.button:hover { transform: translateY(-2px); }
.primary { color: var(--white); background: var(--blue); box-shadow: 0 16px 32px rgb(23 105 224 / 22%); }
.secondary { border-color: var(--line); color: var(--ink); background: var(--white); }
.secondary:hover { border-color: #9db3cc; }

.hero-visual {
    position: relative;
    min-height: 420px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 38px;
    background:
        radial-gradient(circle at 28% 25%, rgb(70 200 255 / 55%), transparent 32%),
        linear-gradient(145deg, #0c3974, var(--navy));
    box-shadow: 0 38px 75px rgb(7 26 51 / 22%);
}

.hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .18;
    background-image: linear-gradient(rgb(255 255 255 / 28%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 28%) 1px, transparent 1px);
    background-size: 36px 36px;
}

.orbit { position: absolute; border: 1px solid rgb(255 255 255 / 28%); border-radius: 50%; }
.orbit-one { width: 340px; height: 340px; }
.orbit-two { width: 245px; height: 245px; }

.server-card {
    z-index: 1;
    width: min(290px, calc(100% - 56px));
    padding: 28px;
    border: 1px solid rgb(255 255 255 / 24%);
    border-radius: 22px;
    color: var(--white);
    background: rgb(255 255 255 / 12%);
    box-shadow: 0 26px 50px rgb(0 0 0 / 25%);
    backdrop-filter: blur(16px);
}

.status-dot { width: 11px; height: 11px; display: inline-block; margin-right: 8px; border-radius: 50%; background: #5cf2a4; box-shadow: 0 0 0 6px rgb(92 242 164 / 12%); }
.server-card strong { display: inline; font-size: 1.05rem; }
.server-card small { display: block; margin: 13px 0 24px; color: #bcd3ef; }
.server-lines { display: grid; gap: 9px; }
.server-lines i { height: 7px; display: block; border-radius: 50px; background: linear-gradient(90deg, var(--cyan), rgb(255 255 255 / 16%) 72%); }
.server-lines i:nth-child(2) { width: 84%; }
.server-lines i:nth-child(3) { width: 65%; }

.services { padding: 100px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 690px; margin-bottom: 48px; }
h2 { margin: 0; color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.55rem); line-height: 1.08; letter-spacing: -.045em; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-grid article { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.service-number { color: var(--blue); font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
h3 { margin: 55px 0 12px; color: var(--navy); font-size: 1.28rem; }
.service-grid p { margin: 0; color: var(--muted); font-size: .94rem; }

.closing {
    margin: 20px 0 82px;
    padding: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    border-radius: 28px;
    color: var(--white);
    background: linear-gradient(125deg, var(--blue), #083576);
}
.closing .eyebrow { color: #bfe9ff; }
.closing h2 { max-width: 690px; color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.light { flex: 0 0 auto; color: var(--blue); background: var(--white); }

footer {
    padding: 30px 0 38px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .84rem;
}
footer p { margin: 0; }
footer strong { color: var(--navy); }

@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { min-height: 360px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .closing { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
    .site-header, main, footer { width: min(100% - 28px, 1180px); }
    .site-header { min-height: 76px; }
    nav > a:not(.admin-link) { display: none; }
    .admin-link { padding-left: 0; border-left: 0; }
    .hero { min-height: auto; padding: 58px 0 68px; }
    h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
    .hero-visual { min-height: 310px; border-radius: 24px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-grid article { min-height: 220px; }
    .services { padding: 75px 0; }
    .closing { padding: 34px 27px; border-radius: 22px; }
    footer { flex-direction: column; }
}

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