:root {
    --bg: #1f2328;
    --bg-soft: #2b3138;
    --panel: #343b44;
    --panel-2: #3d4650;
    --text: #f3f4f6;
    --muted: #c0c0c0;
    --line: #4c5662;
    --accent: #d9dde2;
    --accent-dark: #161a1f;
    --max: 1280px;
    --radius: 18px;
    --shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, .06), transparent 24%),
    linear-gradient(180deg, #1d2126 0%, #20262d 100%);
    color: var(--text);
    line-height: 1.55;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.section {
    padding: 72px 0;
    scroll-margin-top: 180px;
}

.eyebrow {
    display: inline-block;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 14px;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    font-size: clamp(2.2rem, 6vw, 4.8rem);
    line-height: .98;
    letter-spacing: -0.04em;
    max-width: 10ch;
    margin-bottom: 20px;
}

h2 {
    font-size: clamp(1.7rem, 3vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

p {
    color: var(--muted);
    font-size: 1rem;
    margin-bottom: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(14px);
    background: #f4f4f4;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    letter-spacing: -0.02em;

    img {
        height: 150px;
        width: auto;
    }
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d7dbe0, #808995);
    color: var(--accent-dark);
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: var(--shadow);
}

.nav-links {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    color: #333333;
    font-size: .95rem;
}

.button,
.button-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    font-weight: 600;
    transition: .2s ease;
}

.button {
    background: var(--accent);
    color: var(--accent-dark);
    box-shadow: var(--shadow);

    &.dark {
        background: var(--accent-dark);
        color: var(--accent);
    }
}

.button:hover {
    transform: translateY(-1px);
}

.button-outline {
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, .02);
}

.hero {
    padding: 76px 0 56px;
}

.hero-grid {
    width: 80%;
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 32px;
    align-items: center;
    justify-content: center;
}

.hero-copy p {
    max-width: 58ch;
    font-size: 1.08rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: var(--shadow);
}

.hero-stat {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 18px;
}

.mini-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 18px;
    padding: 18px;
}

.mini-card strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.trust-bar {
    margin-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 18px;
    color: var(--muted);
    font-size: .95rem;
}

.grid-3,
.grid-4 {
    display: grid;
    gap: 18px;
}

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

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .025));
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.card-number {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    display: grid;
    place-items: center;
    font-size: .85rem;
    margin-bottom: 16px;
    color: var(--text);
}

.segment-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 24px;
}

.segment-pill {
    padding: 16px 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    text-align: center;
    color: var(--text);
    font-weight: 600;
}

.split {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 22px;
    align-items: start;
}

.check-list {
    display: grid;
    gap: 12px;
}

.check-item {
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    align-items: start;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.check-icon {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    display: grid;
    place-items: center;
    color: var(--text);
    font-size: .85rem;
}

.cta-box,
.contact-form-box {
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, #d6dae0, #8f98a4);
    color: #11161b;
    box-shadow: var(--shadow);
}

.cta-box{
    padding: 46px;
}

.contact-form-box {
    background: transparent;
    height: 100%;
}

.cta-box p {
    color: rgba(17, 22, 27, .8);
}

.footer {
    padding: 30px 0 56px;
    color: var(--muted);
    font-size: .95rem;
}

.footer-topline {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-links {
    display: flex;
    flex-direction: column;
    width: 33%;
    margin: 0 auto;
}

.footer-links hr {
    width: 100%;
    padding: 0;
    margin: 0;
}

.footer-meta a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-form {
    .form-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
    }

    .form-group.full {
        grid-column: 1 / -1;
    }

    label {
        font-size: 0.9rem;
        margin-bottom: 6px;
        color: var(--muted);
    }

    input,
    textarea {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        padding: 12px 14px;
        color: var(--text);
        font-size: 0.95rem;
        transition: border 0.2s ease, background 0.2s ease;
    }

    input:focus,
    textarea:focus {
        outline: none;
        border-color: rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.08);
    }

    textarea {
        resize: vertical;
    }

    /* Mobile */
    @media (max-width: 720px) {
        .form-grid {
            grid-template-columns: 1fr;
        }
    }
}


.grecaptcha-badge {
    visibility: hidden;
}

.recaptcha-disclaimer {
    text-align: center;
    font-size: 0.7em;
    color: #787878;
    margin-top: 0.5em;
    padding: 0.8em;
    border-radius: 5px;

    a {
        color: #8383d9;
    }
}

/*Message dialog*/
.message-dialog {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;

    & .message-dialog-body {
        background-color: #f1f1f1;
        border: 1px solid #dcdcdc;
        border-radius: 10px;
        box-shadow: 2px 4px 4px -1px rgba(0, 0, 0, .2);
        padding: 1.5em 2em;
        max-width: 90%;
        width: 400px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1em;
        justify-content: center;
        &.success * {
            color: green;
        }

        & .message-dialog-icon:before {
            content: '\2713';
            font-size: 2em;
            font-weight: 700;
            border: 1px solid green;
            border-radius: 50%;
            display: flex;
            width: 2em;
            height: 2em;
            justify-content: center;
            align-items: center;
        }
    }
}

.privacy-modal {
    position: fixed;
    inset: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    background: rgba(12, 16, 20, .75);
    backdrop-filter: blur(10px);
}

.privacy-modal[hidden] {
    display: none;
}

.privacy-modal-dialog {
    width: min(960px, 100%);
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(38, 44, 51, .98), rgba(27, 31, 36, .98));
    box-shadow: var(--shadow);
}

.privacy-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.privacy-modal-header p {
    max-width: 62ch;
}

.privacy-modal-close {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-size: 1.4rem;
    cursor: pointer;
}

.privacy-modal-content {
    display: grid;
    gap: 24px;
}

.privacy-modal-section {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.privacy-modal-section:first-child {
    padding-top: 0;
    border-top: 0;
}

.privacy-modal-section h3 {
    margin-bottom: 12px;
}

.privacy-modal-section ul {
    margin: 12px 0 0;
    padding-left: 20px;
    color: var(--muted);
}

.privacy-modal-section li + li {
    margin-top: 8px;
}

@media (max-width: 1536px) {
    .hero-grid {
        width: 90%;
    }
}

@media (max-width: 1080px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .segment-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .split, .hero-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .section {
        padding: 36px 0;
        scroll-margin-top: 280px;
    }

    .nav {
        align-items: flex-start;
        padding: 16px 0;
        flex-direction: column;
    }

    .nav-links {
        gap: 12px 16px;
        justify-content: space-around;
    }

    .grid-3, .grid-4, .segment-list, .hero-stat {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 36px;
    }

    .hero-card, .cta-box, .card {
        padding: 22px;
    }

    h1 {
        max-width: none;
    }

    .brand {
        width: 100%;
        flex-direction: column;

        img {
            height: 120px;
            width: auto;
        }
    }

    .footer-links {
        width: 100%;
    }

    .footer-topline {
        flex-direction: column;
        gap: 6px;
    }

    .privacy-modal-dialog {
        padding: 24px;
    }

    .privacy-modal-header {
        flex-direction: column;
    }
}
