:root {
    --ink: #f3f7fb;
    --muted: #9baaba;
    --bg: #07111f;
    --panel: #0b1929;
    --line: rgba(203, 220, 237, 0.16);
    --blue: #4ca8ff;
    --blue-soft: #b9ddff;
    --max-width: 1180px;
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    min-width: 320px;
    margin: 0;
    background:
        radial-gradient(circle at 88% 8%, rgba(44, 139, 231, 0.13), transparent 28rem),
        var(--bg);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 680;
    letter-spacing: -.02em;
}

.brand-mark {
    width: 1.65rem;
    fill: var(--blue);
}

.company-status {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: var(--muted);
    font-size: .86rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.company-status i {
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 4px rgba(76, 168, 255, .1);
}

.hero {
    display: grid;
    grid-template-columns: 1fr minmax(17rem, 35rem);
    column-gap: clamp(2rem, 8vw, 8rem);
    padding: clamp(6rem, 14vw, 10rem) 0 clamp(5rem, 10vw, 8rem);
}

.eyebrow,
.card-index,
.section-number {
    margin: 0;
    color: var(--blue);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .78rem;
    font-weight: 650;
    letter-spacing: .13em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero > .eyebrow { grid-column: 1 / -1; margin-bottom: 1.6rem; }

h1 {
    max-width: 900px;
    grid-column: 1 / -1;
    margin: 0;
    font-size: clamp(3.1rem, 8.5vw, 7.6rem);
    font-weight: 620;
    letter-spacing: -.065em;
    line-height: .92;
}

.hero-copy {
    grid-column: 2;
    margin: 3.5rem 0 0;
    color: var(--blue-soft);
    font-size: clamp(1.08rem, 1.8vw, 1.3rem);
    line-height: 1.58;
}

.contact-link {
    grid-column: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    margin-top: 2.2rem;
    padding: 1rem 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-decoration: none;
}

.contact-link span {
    grid-column: 1;
    color: var(--muted);
    font-size: .76rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-link strong {
    grid-column: 1;
    font-size: 1rem;
    font-weight: 560;
}

.contact-link svg {
    grid-column: 2;
    grid-row: 1 / 3;
    width: 1.3rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
    transition: transform .2s ease;
}

.contact-link:hover svg,
.contact-link:focus-visible svg { transform: translateX(.3rem); }

.functions {
    padding: clamp(4rem, 10vw, 7rem) 0;
    border-top: 1px solid var(--line);
}

.section-intro {
    display: grid;
    grid-template-columns: 1fr 2fr;
    margin-bottom: 2.5rem;
}

.section-intro h2 {
    margin: .4rem 0 0;
    font-size: clamp(2.3rem, 5vw, 4.3rem);
    font-weight: 580;
    letter-spacing: -.05em;
    line-height: 1;
}

.function-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--line);
}

.function-card {
    min-height: 22rem;
    padding: clamp(1.7rem, 4vw, 3rem);
    background: var(--panel);
}

.function-card h3 {
    max-width: 12ch;
    margin: 4rem 0 1.25rem;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 570;
    letter-spacing: -.045em;
    line-height: 1;
}

.function-card p:last-child {
    max-width: 34rem;
    margin: 0;
    color: var(--muted);
}

.accent-card {
    background: var(--blue);
    color: #04101d;
}

.accent-card .card-index,
.accent-card p:last-child { color: #082c4d; }

.wide-card {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    min-height: 18rem;
}

.wide-card h3 { margin-bottom: 0; }

.statement {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 3rem;
    padding: clamp(4rem, 9vw, 7rem) 0;
    font-size: clamp(1.25rem, 3vw, 2.2rem);
    font-weight: 520;
    letter-spacing: -.035em;
}

.statement p { margin: 0; }
.statement p:last-child { color: var(--blue); }

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.7rem 0 2.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .8rem;
}

.site-footer p { margin: 0; }

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 4px;
}

@media (max-width: 760px) {
    .site-shell { width: min(calc(100% - 2rem), var(--max-width)); }
    .site-header { min-height: 76px; }
    .company-status { font-size: .72rem; }
    .hero { display: block; padding-top: 5rem; }
    .hero > .eyebrow { margin-bottom: 1.3rem; }
    .hero-copy { margin-top: 2.5rem; }
    .section-intro { grid-template-columns: 3rem 1fr; }
    .function-grid { grid-template-columns: 1fr; }
    .function-card { min-height: 19rem; }
    .wide-card { grid-column: auto; display: block; }
    .wide-card h3 { margin-bottom: 1.25rem; }
    .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}
