:root {
    --steel-dark: #101317;
    --steel: #252b31;
    --steel-light: #aeb7bf;
    --red: #d92828;
    --red-dark: #9f1c1c;
    --blue: #1f6feb;
    --text: #eff4f7;
    --muted: #aeb7bf;
    --paper: #f4f6f8;
    --ink: #15191e;
    --card: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.16);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: "Roboto", Arial, sans-serif;
    background: var(--paper);
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -2;
    content: "";
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 25%, transparent 25%) 0 0 / 42px 42px,
        linear-gradient(225deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%) 0 0 / 42px 42px,
        linear-gradient(315deg, rgba(0, 0, 0, 0.18) 25%, transparent 25%) 0 0 / 42px 42px,
        linear-gradient(45deg, rgba(0, 0, 0, 0.22) 25%, transparent 25%) 0 0 / 42px 42px,
        linear-gradient(120deg, #20262c, #0e1115);
}

a {
    color: inherit;
    text-decoration: none;
}

img,
svg {
    display: block;
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(12, 15, 19, 0.9);
    backdrop-filter: blur(16px);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
}

.brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    background: linear-gradient(145deg, #e5ebf0, #68717b 55%, #1b2026);
    color: #0c0f13;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.7), 0 10px 28px rgba(0, 0, 0, 0.25);
}

.brand-logo {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.82);
    border-radius: 50%;
    background: #fff;
    box-shadow:
        0 16px 34px rgba(0, 0, 0, 0.42),
        0 0 0 6px rgba(255, 255, 255, 0.08);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: "Montserrat", sans-serif;
    letter-spacing: 0.02em;
}

.brand small {
    color: var(--muted);
    font-size: 0.78rem;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.main-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 999px;
    color: #dce5ec;
    font-size: 0.94rem;
    font-weight: 700;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.main-menu a:hover,
.main-menu a:focus {
    color: #fff;
    background: rgba(217, 40, 40, 0.85);
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 10px 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    font: inherit;
    font-weight: 700;
}

.section {
    padding: 90px 0;
    background: rgba(244, 246, 248, 0.96);
}

.hero {
    min-height: calc(100vh - 78px);
    display: grid;
    align-items: center;
    color: var(--text);
    background:
        radial-gradient(circle at 78% 20%, rgba(31, 111, 235, 0.28), transparent 34%),
        radial-gradient(circle at 18% 32%, rgba(217, 40, 40, 0.32), transparent 30%),
        linear-gradient(180deg, rgba(12, 15, 19, 0.58), rgba(12, 15, 19, 0.88));
}

.hero-grid,
.two-column,
.form-layout,
.access-grid,
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 46px;
    align-items: center;
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--red);
    font-family: "Montserrat", sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin-top: 0;
    font-family: "Montserrat", sans-serif;
    line-height: 1.08;
}

h1 {
    max-width: 780px;
    margin-bottom: 22px;
    font-size: clamp(2.5rem, 6vw, 5.8rem);
    letter-spacing: -0.05em;
}

h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.04em;
}

h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

p {
    line-height: 1.7;
}

.hero-text {
    max-width: 660px;
    color: #dce5ec;
    font-size: 1.17rem;
}

.hero-actions,
.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 0 22px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover,
.btn:focus {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    box-shadow: 0 16px 36px rgba(217, 40, 40, 0.34);
}

.btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, var(--blue), #124ea7);
    box-shadow: 0 16px 36px rgba(31, 111, 235, 0.28);
}

.btn-outline {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.08);
}

.trust-strip span {
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: #f4f7f9;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    font-weight: 700;
}

.hero-card,
.content-card,
.service-card,
.portal-form,
.access-card {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(16, 19, 23, 0.86);
    box-shadow: var(--shadow);
}

.hero-card {
    position: relative;
    padding: 34px;
}

.hero-card h2 {
    font-size: 2rem;
}

.hero-card p,
.hero-card li {
    color: #dce5ec;
}

.hero-card ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.status-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #37d67a;
    box-shadow: 0 0 0 8px rgba(55, 214, 122, 0.13);
}

.content-card {
    padding: 34px;
    color: var(--text);
}

.content-card p {
    color: #dce5ec;
}

.content-card p:last-child {
    margin-bottom: 0;
}

.section-dark {
    color: var(--text);
    background: rgba(9, 12, 15, 0.78);
}

.section-muted {
    background: rgba(255, 255, 255, 0.86);
}

.section-heading {
    max-width: 780px;
    margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
    color: #dce5ec;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    min-height: 210px;
    padding: 26px;
}

.service-card h3 {
    color: #fff;
}

.service-card p {
    color: #dce5ec;
}

.portal-form {
    padding: 28px;
    color: var(--text);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: grid;
    gap: 8px;
    margin-bottom: 16px;
    color: #f4f7f9;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 14px 15px;
    color: #fff;
    background: rgba(5, 7, 9, 0.72);
    font: inherit;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(31, 111, 235, 0.9);
    box-shadow: 0 0 0 4px rgba(31, 111, 235, 0.18);
}

textarea {
    resize: vertical;
}

.access-section {
    color: var(--text);
    background: linear-gradient(180deg, rgba(12, 15, 19, 0.9), rgba(12, 15, 19, 0.98));
}

.access-card {
    min-height: 330px;
    padding: 34px;
}

.access-card p:not(.eyebrow) {
    color: #dce5ec;
}

.site-footer {
    padding: 38px 0;
    color: #dce5ec;
    background: #080a0d;
}

.footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: start;
}

.site-footer strong,
.site-footer span {
    display: block;
    margin-bottom: 10px;
    color: #fff;
    font-family: "Montserrat", sans-serif;
}

.site-footer p {
    margin: 0;
}

@media (max-width: 920px) {
    .menu-toggle {
        display: inline-flex;
    }

    .main-menu {
        position: absolute;
        top: 78px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border: 1px solid var(--border);
        border-radius: 22px;
        background: rgba(12, 15, 19, 0.98);
        box-shadow: var(--shadow);
    }

    .main-menu.is-open {
        display: flex;
    }

    .hero-grid,
    .two-column,
    .form-layout,
    .access-grid,
    .footer-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 66px 0;
    }
}

@media (max-width: 620px) {
    .navbar {
        min-height: 70px;
    }

    .brand small {
        display: none;
    }

    .main-menu {
        top: 70px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hero-card,
    .content-card,
    .portal-form,
    .access-card {
        border-radius: 22px;
        padding: 22px;
    }
}
