:root {
    --ink: #101828;
    --muted: #5f6b7a;
    --soft: #f5f7fb;
    --line: #dfe5ee;
    --blue: #2563eb;
    --blue-dark: #1d4ed8;
    --green: #16a34a;
    --amber: #d97706;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(16, 24, 40, .10);
}

* { 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(--ink);
    background: var(--white);
}

a { color: inherit; }

.container {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    font-size: 1.08rem;
    font-weight: 900;
}

.brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--ink);
    color: var(--white);
    font-size: .82rem;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 750;
}

.site-nav a,
.site-footer a,
.text-link {
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.text-link {
    color: var(--blue);
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: 8px;
    border: 1px solid transparent;
    padding: 12px 17px;
    text-decoration: none;
    font-weight: 850;
    line-height: 1;
}

.nav-cta,
.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.nav-cta:hover,
.btn-primary:hover {
    background: var(--blue-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--ink);
    border-color: var(--line);
}

.hero {
    position: relative;
    min-height: 680px;
    overflow: hidden;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--line);
    background: #eef3f9;
}

.command-scene {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(16, 24, 40, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 40, .05) 1px, transparent 1px);
    background-size: 44px 44px;
}

.command-scene::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(238, 243, 249, .96) 0%, rgba(238, 243, 249, .86) 39%, rgba(238, 243, 249, .22) 100%);
}

.scene-panel {
    position: absolute;
    z-index: 1;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(146, 160, 181, .45);
    box-shadow: var(--shadow);
    border-radius: 8px;
    padding: 18px;
}

.scene-panel-main {
    width: 420px;
    right: 8%;
    top: 118px;
}

.scene-panel-side {
    width: 300px;
    right: 19%;
    bottom: 126px;
}

.scene-panel-metrics {
    width: 260px;
    right: 4%;
    bottom: 88px;
    display: grid;
    gap: 12px;
}

.scene-title {
    color: var(--muted);
    font-size: .76rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: .08em;
    margin-bottom: 12px;
}

.scene-row {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    font-size: .88rem;
}

.scene-row span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--blue);
}

.scene-row.good span { background: var(--green); }
.scene-row.warn span { background: var(--amber); }
.scene-row em,
.scene-panel-metrics span {
    color: var(--muted);
    font-style: normal;
    font-size: .8rem;
}

.scene-panel-side code {
    display: block;
    color: #193154;
    line-height: 1.75;
    font-size: .9rem;
}

.scene-panel-metrics div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: baseline;
}

.scene-panel-metrics strong {
    font-size: 1.45rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 96px 0 112px;
}

.eyebrow,
.mini-label {
    color: var(--blue);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}

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

h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: .92;
    letter-spacing: 0;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.04;
    letter-spacing: 0;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.hero-copy,
.page-hero p,
.lead {
    max-width: 720px;
    color: var(--muted);
    font-size: 1.14rem;
    line-height: 1.65;
}

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

.section {
    padding: 80px 0;
}

.muted-section,
.intro-band {
    background: var(--soft);
}

.three-up {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.three-up article {
    background: var(--white);
    padding: 28px;
    min-height: 260px;
}

.three-up p,
.feature-block p,
.product-card p,
.pricing-card p,
.contact-point span,
.detail-panel p,
.site-footer p {
    color: var(--muted);
    line-height: 1.6;
}

.split-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr);
    gap: 56px;
    align-items: center;
}

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

.check-list span {
    position: relative;
    padding-left: 30px;
    color: #344054;
    line-height: 1.5;
}

.check-list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .34em;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green);
}

.workflow-visual,
.status-board,
.detail-panel,
.contact-panel {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 22px;
}

.workflow-step {
    position: relative;
    padding: 18px 18px 18px 24px;
    border-left: 4px solid var(--line);
}

.workflow-step.active { border-color: var(--blue); }
.workflow-step.done { border-color: var(--green); }

.workflow-step strong,
.workflow-step span {
    display: block;
}

.workflow-step span {
    margin-top: 4px;
    color: var(--muted);
}

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

.section-heading p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.6;
}

.product-strip,
.feature-grid,
.product-grid,
.pricing-grid,
.definition-grid,
.module-grid,
.industry-grid,
.evidence-grid,
.outcome-examples {
    display: grid;
    gap: 18px;
}

.product-strip,
.outcome-examples {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-grid,
.product-grid,
.pricing-grid,
.definition-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-strip article,
.feature-block,
.product-card,
.pricing-card,
.definition-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, .05);
}

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

.product-strip span {
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.55;
}

.wide-heading {
    max-width: 920px;
    text-align: left;
}

.outcome-examples span,
.module-grid span,
.industry-grid span,
.evidence-grid span {
    display: block;
    min-height: 54px;
    padding: 16px 18px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    color: #344054;
    font-weight: 760;
    line-height: 1.35;
    box-shadow: 0 8px 24px rgba(16, 24, 40, .04);
}

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

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

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

.report-card {
    border: 1px solid var(--line);
    border-left: 5px solid var(--amber);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 24px;
}

.report-card strong,
.report-card span,
.report-card em {
    display: block;
}

.report-card strong {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.report-card span {
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 18px;
}

.report-card em {
    color: var(--amber);
    font-style: normal;
    font-weight: 900;
}

.cta-section {
    padding-top: 0;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border-radius: 8px;
    background: var(--ink);
    color: var(--white);
}

.cta-band p {
    color: #cbd5e1;
    max-width: 720px;
    line-height: 1.65;
    margin-bottom: 0;
}

.page-hero {
    padding: 84px 0 58px;
    background: var(--soft);
    border-bottom: 1px solid var(--line);
}

.feature-number,
.product-badge {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--blue);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.status-board {
    display: grid;
    gap: 12px;
}

.status-board div {
    display: grid;
    grid-template-columns: 110px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
}

.status-board div:last-child {
    border-bottom: 0;
}

.status-board span,
.status-board em {
    color: var(--muted);
    font-style: normal;
}

.status-board em {
    color: var(--green);
    font-weight: 800;
}

.product-card.featured,
.pricing-card.featured {
    border-color: rgba(37, 99, 235, .5);
    box-shadow: 0 18px 42px rgba(37, 99, 235, .12);
}

.product-card ul {
    padding-left: 18px;
    color: #344054;
    line-height: 1.8;
}

.pricing-card strong {
    display: block;
    font-size: 1.35rem;
    margin: 24px 0 8px;
}

.pricing-card span {
    color: var(--muted);
    line-height: 1.55;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .8fr);
    gap: 36px;
    align-items: start;
}

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

.contact-form label {
    display: grid;
    gap: 8px;
    color: #344054;
    font-weight: 750;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 13px 14px;
    font: inherit;
}

.contact-point {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.contact-point:last-child {
    border-bottom: 0;
}

.contact-point strong,
.contact-point span {
    display: block;
}

.contact-point span {
    margin-top: 5px;
}

.site-footer {
    background: #0b1220;
    color: #e5e7eb;
    padding: 54px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .7fr .7fr;
    gap: 32px;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 10px;
}

.site-footer strong,
.site-footer a,
.site-footer span {
    display: block;
}

.site-footer a,
.site-footer span,
.site-footer p {
    color: #b9c2d0;
}

.site-footer a {
    margin-top: 10px;
}

.copyright {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: #93a0b3;
    font-size: .92rem;
}

@media (max-width: 980px) {
    .site-nav {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .command-scene {
        opacity: .55;
    }

    .scene-panel-main,
    .scene-panel-side,
    .scene-panel-metrics {
        right: auto;
        left: 52%;
    }

    .scene-panel-side,
    .scene-panel-metrics {
        display: none;
    }

    .hero-content {
        padding: 84px 0;
    }

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

    .three-up,
    .feature-grid,
    .product-grid,
    .pricing-grid,
    .definition-grid,
    .product-strip,
    .module-grid,
    .industry-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .cta-band {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .nav-wrap {
        min-height: 66px;
    }

    .nav-cta {
        display: none;
    }

    h1 {
        font-size: 3rem;
    }

    .scene-panel-main {
        display: none;
    }

    .hero-copy,
    .page-hero p,
    .lead {
        font-size: 1rem;
    }

    .section,
    .page-hero {
        padding: 56px 0;
    }

    .status-board div {
        grid-template-columns: 1fr;
    }

    .evidence-grid,
    .outcome-examples {
        grid-template-columns: 1fr;
    }
}
