:root {
    --bg: #08111f;
    --bg-soft: #0d192a;
    --panel: rgba(255,255,255,.055);
    --panel-border: rgba(255,255,255,.10);

    --text: #f6f8fb;
    --muted: #9ba9bb;

    --accent: #72e0c2;
    --accent-soft: rgba(114,224,194,.12);

    --max-width: 1180px;

    --radius: 20px;
    --radius-small: 12px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at 75% 15%, rgba(43, 120, 180, .12), transparent 32rem),
        var(--bg);

    color: var(--text);

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    font-size: 17px;
    line-height: 1.65;
}

a {
    color: inherit;
}

.container {
    width: min(calc(100% - 40px), var(--max-width));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(8,17,31,.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.06);
}

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

.brand {
    color: var(--text);
    font-weight: 800;
    letter-spacing: -.04em;
    text-decoration: none;
}

nav {
    display: flex;
    gap: 1.6rem;
}

nav a {
    color: var(--muted);
    font-size: .92rem;
    text-decoration: none;
}

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

.hero {
    padding: 9rem 0 7rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 6rem;
    align-items: center;
}

.eyebrow {
    color: var(--accent);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .17em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    line-height: 1.08;
    letter-spacing: -.035em;
}

h1 {
    margin: .65rem 0 1.7rem;
    max-width: 850px;
    font-size: clamp(3.5rem, 7vw, 6rem);
}

h1 span {
    display: block;
    color: var(--muted);
}

h2 {
    font-size: clamp(2.3rem, 4vw, 3.8rem);
}

h3 {
    font-size: 1.3rem;
}

.hero-lead {
    max-width: 700px;
    margin-bottom: 1rem;
    color: #dce4ed;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.hero-detail {
    max-width: 700px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: .75rem 1.25rem;

    border: 1px solid var(--panel-border);
    border-radius: 999px;

    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.button-primary {
    border-color: var(--accent);
    background: var(--accent);
    color: #04110d;
}

.button-secondary {
    background: rgba(255,255,255,.03);
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;

    margin: 2rem 0 0;
    padding: 0;

    list-style: none;
}

.hero-tags li {
    padding: .35rem .7rem;

    border: 1px solid var(--panel-border);
    border-radius: 999px;

    color: var(--muted);
    font-size: .8rem;
}

.terminal {
    overflow: hidden;

    border: 1px solid var(--panel-border);
    border-radius: var(--radius);

    background: rgba(1,7,13,.78);
    box-shadow: 0 35px 100px rgba(0,0,0,.35);
}

.terminal-header {
    display: flex;
    gap: .45rem;
    padding: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.terminal-header span {
    width: 9px;
    height: 9px;
    border-radius: 100%;
    background: rgba(255,255,255,.22);
}

.terminal pre {
    margin: 0;
    padding: 2rem;
    overflow-x: auto;
}

.terminal code {
    color: #d5e1ee;
    font-size: .9rem;
    line-height: 1.8;
}

.code-muted {
    color: #637588;
}

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

.section {
    padding: 7rem 0;
}

.section-alt {
    border-top: 1px solid rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.05);
    background: rgba(255,255,255,.018);
}

.section-heading {
    max-width: 700px;
    margin-bottom: 3rem;
}

.section-heading > p:last-child {
    color: var(--muted);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.service-card {
    padding: 2rem;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    background: var(--panel);
}

.service-card:hover {
    transform: translateY(-3px);
    transition: transform .2s ease;
}

.service-number {
    display: block;
    margin-bottom: 2.5rem;
    color: var(--accent);
    font-family: monospace;
    font-size: .8rem;
}

.service-card p {
    color: var(--muted);
}

.service-card ul {
    margin: 1.5rem 0 0;
    padding-left: 1.2rem;
    color: #c8d2de;
}

.service-card li {
    margin: .35rem 0;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.prose {
    color: #c8d2de;
    font-size: 1.05rem;
}

.prose p:first-child {
    margin-top: 0;
}

.principles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.principles p {
    color: var(--muted);
}

.legal-status {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.legal-status details {
    color: var(--muted);
}

.legal-status summary {
    cursor: pointer;
    font-size: .9rem;
}

.legal-status-content {
    max-width: 650px;
    padding-top: 1rem;
}

.contact-section {
    padding-bottom: 10rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-lead {
    max-width: 500px;
    color: var(--muted);
}

.email-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    font-size: 1.3rem;
}

form {
    padding: 2rem;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius);
    background: var(--panel);
}

.form-field {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    margin-bottom: .45rem;
    font-size: .9rem;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid var(--panel-border);
    border-radius: var(--radius-small);
    background: rgba(0,0,0,.2);
    color: var(--text);
    font: inherit;
}

textarea {
    resize: vertical;
}

input:focus,
textarea:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.site-footer {
    border-top: 1px solid rgba(255,255,255,.07);
    color: var(--muted);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    font-size: .8rem;
}

@media (max-width: 900px) {
    nav {
        display: none;
    }

    .hero {
        padding-top: 6rem;
    }

    .hero-grid,
    .split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-grid {
        grid-template-columns: 1fr 1fr;
    }

    .principles {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    body {
        font-size: 16px;
    }

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

    .hero {
        padding: 5rem 0;
    }

    .section {
        padding: 5rem 0;
    }

    .service-grid,
    .principles {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        display: none;
    }

    .footer-content {
        display: block;
    }
}
