﻿/* ─── Tokens ────────────────────────────────────────────────── */
:root {
    --bg:       #070c17;
    --surface:  #0d1525;
    --surface2: #111e34;
    --bd:       rgba(255,255,255,0.08);
    --bd2:      rgba(255,255,255,0.14);
    --text:     #edf2f7;
    --text2:    #8fa3bb;
    --accent:   #0ea5e9;
    --accent2:  #0284c7;
    --nav-h:    72px;
    --radius:   10px;
    --maxw:     1140px;
    --font:     "Inter", system-ui, -apple-system, sans-serif;
    --ease:     cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); font-size: 1rem; line-height: 1.72; color: var(--text); background: var(--bg); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
main { padding-top: var(--nav-h); }

/* ─── Layout ─────────────────────────────────────────────────── */
.container { width: min(var(--maxw), calc(100% - 3rem)); margin-inline: auto; }

/* ─── Nav ────────────────────────────────────────────────────── */
.site-nav {
    position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 100;
    display: flex; align-items: center;
    background: rgba(7,12,23,0.92); backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--bd);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-mark { width: 38px; height: 38px; }
.brand-text { font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; }
.nav-panel { display: flex; align-items: center; gap: 2rem; }
.nav-link { font-size: 0.9375rem; font-weight: 500; color: var(--text2); transition: color 0.18s; }
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-cta {
    display: inline-flex; align-items: center; height: 38px; padding: 0 1.125rem;
    font-size: 0.9375rem; font-weight: 600;
    background: var(--accent); color: #fff; border-radius: var(--radius);
    transition: background 0.18s;
}
.nav-cta:hover { background: var(--accent2); color: #fff; }
.nav-toggle {
    display: none; background: transparent; border: 1px solid var(--bd2);
    border-radius: 8px; padding: 8px; cursor: pointer;
}
.nav-toggle span { display: block; width: 18px; height: 1.5px; background: var(--text2); }
.nav-toggle span + span { margin-top: 4px; }

/* ─── Type ───────────────────────────────────────────────────── */
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -0.022em; color: var(--text); }
h1 { font-size: clamp(2.25rem, 5vw, 3.625rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.375rem); }
h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
p { color: var(--text2); }
.eyebrow {
    display: inline-block;
    font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.12em;
    color: var(--accent); margin-bottom: 0.75rem;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    height: 48px; padding: 0 1.5rem;
    font-size: 0.9375rem; font-weight: 600;
    border-radius: var(--radius); border: 1px solid transparent;
    cursor: pointer; transition: background 0.18s, border-color 0.18s, color 0.18s;
    white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent2); }
.btn-ghost { background: transparent; color: var(--text2); border-color: var(--bd2); }
.btn-ghost:hover { color: var(--text); border-color: rgba(255,255,255,0.28); }

/* ─── Sections ───────────────────────────────────────────────── */
.section { padding: 6rem 0; }
.section-alt { background: var(--surface); }
.s-label { margin-bottom: 3rem; }
.s-label h2 { margin-top: 0.5rem; margin-bottom: 0.875rem; }
.s-label p { max-width: 540px; font-size: 1.0625rem; }
hr.rule { border: none; border-top: 1px solid var(--bd); }

/* ─── Cards ──────────────────────────────────────────────────── */
.card {
    background: var(--surface); border: 1px solid var(--bd);
    border-radius: var(--radius); padding: 1.75rem 2rem;
}
.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.9375rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.25rem; }

/* ─── Service grid ───────────────────────────────────────────── */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.svc-card { background: var(--surface); border: 1px solid var(--bd); border-radius: var(--radius); padding: 2rem; }
.svc-card h3 { margin-bottom: 0.5rem; }
.svc-card p { font-size: 0.9375rem; }

/* ─── Steps ──────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.step { padding: 2rem; border: 1px solid var(--bd); border-radius: var(--radius); }
.step-n { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 0.875rem; }
.step h3 { margin-bottom: 0.5rem; }
.step p { font-size: 0.9375rem; }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero { padding: 7rem 0 6rem; text-align: center; }
.hero h1 { margin-top: 0.75rem; margin-bottom: 1.25rem; max-width: 780px; margin-inline: auto; }
.hero .lead { font-size: 1.125rem; max-width: 560px; margin-inline: auto; margin-bottom: 2.25rem; }
.hero-btns { display: flex; justify-content: center; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ─── Page hero (inner pages) ────────────────────────────────── */
.page-hero { padding: 5rem 0 4rem; }
.page-hero h1 { margin-top: 0.5rem; max-width: 720px; margin-bottom: 1rem; }
.page-hero p { font-size: 1.0625rem; max-width: 560px; }

/* ─── CTA band ───────────────────────────────────────────────── */
.cta-band { padding: 5rem 0; border-top: 1px solid var(--bd); border-bottom: 1px solid var(--bd); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-text h2 { margin-bottom: 0.5rem; max-width: 500px; }
.cta-text p { max-width: 440px; }
.cta-btns { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer { padding: 2.5rem 0; border-top: 1px solid var(--bd); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.footer-copy { font-size: 0.875rem; color: var(--text2); }
.footer-links { display: flex; gap: 1.5rem; align-items: center; }
.footer-links a { font-size: 0.875rem; color: var(--text2); transition: color 0.18s; }
.footer-links a:hover { color: var(--text); }

/* ─── Reveal ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    .grid-3, .svc-grid, .steps { grid-template-columns: repeat(2,1fr); }
    .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .nav-panel {
        display: none; flex-direction: column; align-items: flex-start;
        position: absolute; top: var(--nav-h); left: 0; right: 0;
        background: var(--surface); border-bottom: 1px solid var(--bd);
        padding: 1.5rem; gap: 1.25rem;
    }
    .nav-panel.is-open { display: flex; }
    .nav-toggle { display: flex; flex-direction: column; justify-content: center; }
    .nav-panel .nav-cta { height: 44px; padding: 0 1.25rem; }
    .grid-3, .grid-2, .svc-grid, .steps { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .footer-links { flex-wrap: wrap; }
}
