:root {
    --bg: #080914;
    --bg-soft: #0d1020;
    --surface: rgba(255, 255, 255, 0.075);
    --surface-solid: #121629;
    --surface-light: #ffffff;
    --text: #f8fafc;
    --text-dark: #0f172a;
    --muted: #a8b3cf;
    --muted-dark: #64748b;
    --line: rgba(255, 255, 255, 0.12);
    --line-dark: #e2e8f0;
    --primary: #8b5cf6;
    --primary-2: #22d3ee;
    --primary-3: #f97316;
    --success: #10b981;
    --error: #ef4444;
    --success-bg: rgba(16, 185, 129, 0.13);
    --error-bg: rgba(239, 68, 68, 0.13);
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 16% 2%, rgba(139, 92, 246, 0.24), transparent 30%),
        radial-gradient(circle at 84% 10%, rgba(34, 211, 238, 0.16), transparent 28%),
        var(--bg);
    line-height: 1.55;
}

body.nav-open {
    overflow: hidden;
}

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

button,
input,
select,
textarea {
    font: inherit;
}

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

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--surface-light);
    color: var(--text-dark);
    font-weight: 800;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(8, 9, 20, 0.72);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-mark {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent),
        linear-gradient(135deg, var(--primary), var(--primary-2));
    box-shadow: 0 18px 40px rgba(139, 92, 246, 0.34);
}

.brand-name {
    font-size: 1.15rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu a {
    padding: 9px 13px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 750;
    transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nav-menu .nav-button {
    color: #07111f;
    background: #fff;
}

.nav-menu .nav-button:hover,
.nav-menu .nav-button:focus-visible {
    color: #07111f;
    background: #e8fbff;
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 99px;
    background: #fff;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 66px 0 58px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: linear-gradient(to bottom, #000, transparent 78%);
}

.hero-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.72fr);
    align-items: center;
    gap: 46px;
}

.status-pill {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #dce6ff;
    font-size: 0.84rem;
    font-weight: 780;
}

.status-pill span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.14);
}

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

h1 {
    max-width: 680px;
    margin-bottom: 18px;
    font-size: clamp(2.15rem, 4.6vw, 4.35rem);
    line-height: 0.98;
    letter-spacing: -0.065em;
}

h2 {
    margin-bottom: 14px;
    font-size: clamp(1.85rem, 3.4vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
}

h3 {
    margin-bottom: 10px;
    font-size: 1.22rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
}

.hero-text {
    max-width: 620px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 17px;
    border: 0;
    border-radius: 999px;
    font-weight: 900;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #6d5df6 50%, var(--primary-2));
    box-shadow: 0 18px 44px rgba(139, 92, 246, 0.34);
}

.btn-light {
    color: #fff;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.075);
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.trust-row span {
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.045);
    font-size: 0.84rem;
    font-weight: 750;
}

.hero-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        radial-gradient(circle at 80% 8%, rgba(34, 211, 238, 0.26), transparent 36%),
        radial-gradient(circle at 0% 100%, rgba(139, 92, 246, 0.28), transparent 44%),
        rgba(255, 255, 255, 0.06);
    box-shadow: var(--shadow);
}

.panel-topbar {
    display: flex;
    gap: 7px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--line);
}

.panel-topbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.panel-content {
    padding: 28px;
}

.panel-badge {
    width: fit-content;
    margin-bottom: 16px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #06101d;
    background: #dffaff;
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.panel-content h2 {
    margin-bottom: 10px;
    font-size: clamp(1.7rem, 2.4vw, 2.4rem);
}

.panel-content p {
    margin-bottom: 24px;
    color: var(--muted);
}

.panel-progress {
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.16);
}

.panel-progress div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.panel-progress span {
    color: var(--muted);
    font-weight: 760;
}

.panel-progress strong {
    color: #fff;
}

.progress-line {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-line span {
    display: block;
    width: 86%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
}

.panel-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.panel-cards div {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.055);
}

.panel-cards span,
.panel-cards strong {
    display: block;
}

.panel-cards span {
    margin-bottom: 10px;
    color: var(--primary-2);
    font-size: 0.78rem;
    font-weight: 900;
}

.panel-cards strong {
    font-size: 0.94rem;
}

.signal-strip {
    padding: 15px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.035);
}

.signal-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.signal-grid span {
    padding: 8px 11px;
    border-radius: 999px;
    color: #dbeafe;
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.84rem;
    font-weight: 780;
}

.section {
    padding: 78px 0;
}

.eyebrow {
    margin-bottom: 10px;
    color: var(--primary-2);
    font-size: 0.78rem;
    font-weight: 950;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.section-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.72fr);
    gap: 34px;
    align-items: end;
    margin-bottom: 30px;
}

.section-split p {
    color: var(--muted);
    font-size: 1rem;
}

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

.feature-card {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
        var(--surface-solid);
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -52px;
    bottom: -52px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.28), transparent 65%);
}

.feature-kicker {
    display: inline-block;
    margin-bottom: 58px;
    padding: 7px 10px;
    border-radius: 999px;
    color: #08111f;
    background: #fff;
    font-size: 0.74rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.feature-card a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    margin-top: 4px;
    color: var(--primary-2);
    font-weight: 900;
}

.impact-section {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.055));
}

.impact-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
    gap: 16px;
}

.impact-card {
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
}

.main-impact {
    min-height: 360px;
    padding: 34px;
    background:
        radial-gradient(circle at 90% 18%, rgba(249, 115, 22, 0.19), transparent 32%),
        radial-gradient(circle at 12% 86%, rgba(34, 211, 238, 0.16), transparent 32%),
        rgba(255, 255, 255, 0.07);
}

.main-impact h2 {
    max-width: 700px;
}

.main-impact p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.05rem;
}

.impact-stack {
    display: grid;
    gap: 16px;
}

.metric-card {
    min-height: 109px;
    display: grid;
    align-content: center;
    gap: 8px;
    padding: 24px;
}

.metric-card strong {
    color: var(--primary-2);
    font-size: 0.88rem;
}

.metric-card span {
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.2;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.process-step {
    min-height: 230px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.055);
}

.process-step > span {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--primary-2);
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.process-step p {
    color: var(--muted);
    font-size: 0.96rem;
}

.contact-section {
    padding-bottom: 92px;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

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

.contact-mini-card {
    display: grid;
    gap: 6px;
    margin-top: 22px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
}

.contact-mini-card span {
    color: var(--muted);
}

.form-shell {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.06));
    box-shadow: var(--shadow);
}

.flash-list {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.flash {
    padding: 11px 13px;
    border-radius: 14px;
    font-weight: 800;
}

.flash-success {
    color: #b9f6da;
    background: var(--success-bg);
}

.flash-error {
    color: #fecaca;
    background: var(--error-bg);
}

.contact-form {
    display: grid;
    gap: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.field {
    display: grid;
    gap: 7px;
}

.field span,
.checkbox span {
    color: #dbe3f8;
    font-size: 0.9rem;
    font-weight: 800;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    outline: none;
    color: #fff;
    background: rgba(3, 7, 18, 0.52);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

input,
select {
    height: 46px;
    padding: 0 13px;
}

textarea {
    min-height: 132px;
    padding: 13px;
    resize: vertical;
}

select option {
    color: #0f172a;
}

input::placeholder,
textarea::placeholder {
    color: rgba(226, 232, 240, 0.48);
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(34, 211, 238, 0.72);
    background: rgba(3, 7, 18, 0.68);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.hidden-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.checkbox {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 11px;
    align-items: start;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 4px;
}

.submit-button {
    width: fit-content;
    min-width: 180px;
}

.footer {
    padding: 56px 0 26px;
    border-top: 1px solid var(--line);
    background: #060711;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(180px, 0.5fr) minmax(220px, 0.7fr);
    gap: 34px;
}

.footer p,
.footer a {
    color: var(--muted);
}

.footer h2 {
    margin-bottom: 12px;
    font-size: 1rem;
    letter-spacing: -0.02em;
}

.footer a {
    display: block;
    margin-bottom: 8px;
}

.footer-intro p {
    max-width: 420px;
    margin-top: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.88rem;
}

@media (max-width: 1080px) {
    .hero-layout,
    .section-split,
    .impact-layout,
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        max-width: 720px;
    }

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

@media (max-width: 860px) {
    .service-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 230px;
    }

    .feature-kicker {
        margin-bottom: 36px;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .nav {
        min-height: 64px;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        inset: 76px 12px auto 12px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(11, 13, 27, 0.96);
        box-shadow: var(--shadow);
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu a {
        padding: 13px 14px;
        border-radius: 14px;
    }

    .hero {
        padding: 42px 0 42px;
    }

    h1 {
        font-size: clamp(2rem, 10.2vw, 3.05rem);
        line-height: 1;
    }

    h2 {
        font-size: clamp(1.65rem, 8vw, 2.35rem);
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-actions .btn,
    .submit-button {
        width: 100%;
    }

    .panel-content {
        padding: 22px;
    }

    .panel-cards,
    .form-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 58px 0;
    }

    .section-split {
        margin-bottom: 22px;
    }

    .main-impact {
        min-height: 290px;
        padding: 24px;
    }

    .form-shell {
        padding: 16px;
        border-radius: 24px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 420px) {
    .brand-name {
        font-size: 1.05rem;
    }

    .status-pill {
        align-items: flex-start;
        border-radius: 18px;
        line-height: 1.35;
    }

    .hero-panel {
        border-radius: 24px;
    }

    .feature-card,
    .impact-card,
    .process-step {
        border-radius: 22px;
    }
}
