:root {
    color-scheme: dark;
    --bg: #05070b;
    --panel: #0b1018;
    --line: #222c3a;
    --text: #f1f5f9;
    --muted: #98a6b8;
    --accent: #75e6ff;
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top, #101c2b 0, var(--bg) 44rem);
    color: var(--text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

.shell {
    width: min(1120px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 11, 0.9);
}

.site-header .shell {
    padding: 1.25rem 0;
}

.identity {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 800;
    text-decoration: none;
}

.authority {
    color: var(--muted);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.2rem;
    margin-top: 1rem;
}

nav a {
    color: var(--muted);
    text-decoration: none;
}

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

.hero {
    padding: 6rem 0 4rem;
    max-width: 850px;
}

.hero.operative {
    padding-bottom: 2.5rem;
}

.hero h1 {
    margin: 0.25rem 0 1rem;
    font-size: clamp(3rem, 10vw, 6.5rem);
    line-height: 0.95;
    letter-spacing: -0.055em;
}

.hero-glyph {
    font-size: 4rem;
}

.eyebrow {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.lead {
    color: #c4ceda;
    max-width: 760px;
    font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading h2,
.content h2,
.company-law h2 {
    margin-top: 0;
    font-size: 2rem;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.card {
    min-height: 260px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(11, 16, 24, 0.88);
    text-decoration: none;
    transition:
        transform 140ms ease,
        border-color 140ms ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #42536b;
}

.card .glyph {
    display: block;
    font-size: 2rem;
}

.card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.35rem;
}

.card p,
.content p,
.company-law p {
    color: var(--muted);
}

.content,
.company-law {
    max-width: 820px;
    padding: 1rem 0 5rem;
}

.company-law {
    margin-top: 5rem;
    padding: 2rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel);
}

.site-footer {
    margin-top: 4rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.site-footer .shell {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem 2rem;
    padding: 2rem 0 3rem;
}
