:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #eef4fb;
    --ink: #172032;
    --muted: #59657a;
    --line: #d9e0eb;
    --primary: #1565c0;
    --primary-dark: #0b407a;
    --accent: #12a486;
    --warning: #c88420;
    --shadow: 0 18px 48px rgba(20, 38, 66, .14);
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.5;
}

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

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

button,
input,
textarea {
    font: inherit;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(100% - 32px, var(--max));
    margin: 16px auto 0;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: rgba(9, 18, 33, .74);
    color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
    backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    border-color: var(--line);
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.brand-logo {
    width: 174px;
    height: 46px;
    border-radius: 8px;
    background: #fff;
    object-fit: contain;
    padding: 5px 10px;
}

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

.site-nav a {
    padding: 9px 12px;
    border-radius: 8px;
    color: currentColor;
    font-size: 14px;
    font-weight: 650;
    opacity: .84;
}

.site-nav a:hover {
    background: rgba(255, 255, 255, .12);
    opacity: 1;
}

.site-header.is-scrolled .site-nav a:hover {
    background: var(--surface-2);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 38px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .12);
    color: currentColor;
    place-items: center;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 3px auto;
    background: currentColor;
}

.hero {
    position: relative;
    min-height: 92vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    padding: 160px 24px 74px;
    color: #fff;
    background: #08111f;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 17, 31, .96) 0%, rgba(8, 17, 31, .78) 42%, rgba(8, 17, 31, .36) 100%),
        linear-gradient(180deg, rgba(8, 17, 31, .18) 0%, rgba(8, 17, 31, .92) 100%);
}

.hero-product {
    position: absolute;
    inset: 76px max(24px, calc((100vw - var(--max)) / 2)) 38px auto;
    width: min(780px, 68vw);
    opacity: .9;
}

.product-shell {
    height: 100%;
    min-height: 560px;
    display: grid;
    grid-template-columns: 168px 1fr;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    background: #111a29;
    box-shadow: 0 34px 100px rgba(0, 0, 0, .45);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
    transform-origin: right center;
}

.product-sidebar {
    display: grid;
    align-content: start;
    gap: 12px;
    padding: 24px 18px;
    background: #0d1422;
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.product-sidebar span {
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .08);
}

.product-sidebar span:first-child {
    background: rgba(21, 101, 192, .82);
}

.product-main {
    padding: 26px;
    display: grid;
    gap: 18px;
    align-content: start;
}

.product-topline {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    color: rgba(255, 255, 255, .74);
}

.product-topline strong {
    color: #a8d8ff;
}

.product-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.product-kpis div,
.product-panel,
.product-table {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .055);
}

.product-kpis div {
    padding: 16px;
}

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

.product-kpis strong {
    margin-bottom: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, .58);
}

.product-kpis span {
    font-weight: 800;
}

.product-content {
    display: grid;
    grid-template-columns: 1.45fr .75fr;
    gap: 16px;
}

.product-table {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.product-table span {
    height: 28px;
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
}

.product-panel {
    padding: 18px;
}

.product-panel strong {
    margin-bottom: 16px;
}

.product-panel span {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: rgba(18, 164, 134, .14);
    color: #b8f3e5;
}

.hero-copy {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    margin: 0 auto;
    max-width: var(--max);
}

.hero-logo {
    width: min(420px, 86vw);
    margin-bottom: 26px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .96);
    padding: 13px 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #a8d8ff;
}

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

h1 {
    margin-bottom: 18px;
    max-width: 13ch;
    font-size: clamp(44px, 8vw, 86px);
    line-height: .92;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1;
}

h3 {
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1.15;
}

.hero-lead {
    max-width: 680px;
    color: rgba(255, 255, 255, .84);
    font-size: 20px;
}

.hero-actions,
.contact-form .btn {
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
}

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

.btn.primary {
    background: var(--primary);
    color: #fff;
}

.btn.primary:hover {
    background: var(--primary-dark);
}

.btn.secondary {
    border-color: rgba(255, 255, 255, .28);
    color: #fff;
    background: rgba(255, 255, 255, .08);
}

.proof-strip {
    width: min(100% - 32px, var(--max));
    margin: -34px auto 0;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.proof-strip div {
    padding: 24px;
}

.proof-strip div + div {
    border-left: 1px solid var(--line);
}

.proof-strip strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.proof-strip span,
.section-heading p,
.module-card p,
.sector-list p,
.timeline p,
.contact-copy p,
.site-footer {
    color: var(--muted);
}

.section,
.contact-section {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 94px 0;
}

.section-heading {
    max-width: 820px;
    margin-bottom: 38px;
}

.section-heading p {
    max-width: 720px;
    font-size: 18px;
}

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

.module-card {
    min-height: 240px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.module-card:hover {
    border-color: rgba(21, 101, 192, .5);
    box-shadow: 0 16px 34px rgba(20, 38, 66, .08);
}

.module-code {
    display: inline-grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 26px;
    border-radius: 8px;
    background: var(--surface-2);
    color: var(--primary-dark);
    font-weight: 900;
    font-size: 13px;
}

.muted {
    width: 100%;
    max-width: none;
    padding-left: max(16px, calc((100vw - var(--max)) / 2));
    padding-right: max(16px, calc((100vw - var(--max)) / 2));
    background: #eaf0f7;
}

.sector-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(360px, 1fr);
    gap: 42px;
    align-items: start;
}

.sector-list {
    display: grid;
    gap: 14px;
}

.sector-list article,
.timeline article {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
}

.workflow-board {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #172032;
    box-shadow: var(--shadow);
}

.workflow-step {
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    color: rgba(255, 255, 255, .74);
    background: rgba(255, 255, 255, .05);
    font-weight: 800;
}

.workflow-step.active {
    background: var(--accent);
    color: #052119;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.timeline span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 28px;
    border-radius: 8px;
    background: #172032;
    color: #fff;
    font-weight: 900;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(360px, .72fr);
    gap: 44px;
    align-items: start;
    padding-top: 60px;
}

.contact-copy {
    padding: 40px;
    border-radius: 8px;
    background: #172032;
    color: #fff;
}

.contact-copy .eyebrow {
    color: #a8d8ff;
}

.contact-copy p,
.contact-copy dd {
    color: rgba(255, 255, 255, .72);
}

.contact-copy dl {
    display: grid;
    gap: 12px;
    margin: 28px 0 0;
}

.contact-copy dt {
    font-weight: 800;
}

.contact-copy dd {
    margin: 2px 0 0;
}

.contact-form {
    display: grid;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

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

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--ink);
    font-weight: 800;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    background: #fff;
    color: var(--ink);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 3px solid rgba(21, 101, 192, .16);
    border-color: var(--primary);
}

.form-status {
    min-height: 22px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.site-footer {
    width: min(100% - 32px, var(--max));
    margin: 0 auto;
    padding: 24px 0 42px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 24px;
}

.site-footer span:first-child {
    color: var(--ink);
    font-weight: 900;
}

@media (max-width: 980px) {
    .hero {
        min-height: 860px;
        align-items: end;
    }

    .hero-product {
        inset: 96px 20px auto;
        width: auto;
        height: 470px;
    }

    .product-shell {
        min-height: 470px;
        grid-template-columns: 116px 1fr;
        transform: none;
    }

    .product-kpis,
    .module-grid,
    .timeline,
    .proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .proof-strip div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .proof-strip div:nth-child(2) {
        border-top: 0;
        border-left: 1px solid var(--line);
    }

    .sector-layout,
    .contact-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .site-header {
        width: calc(100% - 24px);
        margin-top: 12px;
        gap: 12px;
    }

    .brand-logo {
        width: 138px;
        height: 40px;
        padding: 5px 8px;
    }

    .nav-toggle {
        display: grid;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: 0;
        display: none;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: #fff;
        color: var(--ink);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: grid;
    }

    .site-nav a {
        padding: 12px;
    }

    .hero {
        min-height: 820px;
        padding: 128px 16px 56px;
    }

    .hero::after {
        background: linear-gradient(180deg, rgba(8, 17, 31, .52) 0%, rgba(8, 17, 31, .98) 70%);
    }

    .hero-product {
        inset: 84px 12px auto;
        height: 410px;
    }

    .product-shell {
        min-height: 410px;
        grid-template-columns: 1fr;
        opacity: .72;
    }

    .product-sidebar {
        display: none;
    }

    .product-main {
        padding: 16px;
    }

    .product-kpis,
    .product-content,
    .module-grid,
    .timeline,
    .proof-strip {
        grid-template-columns: 1fr;
    }

    .proof-strip div:nth-child(2) {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .section,
    .contact-section {
        width: calc(100% - 24px);
        padding: 64px 0;
    }

    .muted {
        width: 100%;
        padding-left: 12px;
        padding-right: 12px;
    }

    .module-card {
        min-height: auto;
    }

    .contact-copy {
        padding: 26px;
    }

    .site-footer {
        width: calc(100% - 24px);
        display: grid;
    }
}
