:root {
    --bg: #091322;
    --panel: #111f31;
    --line: #26364a;
    --text: #eef4fb;
    --muted: #9eafc2;
    --accent: #e67e48; 
    --accent2: #8aaaff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #f6f8fb;
    color: #17283b;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
    transition: background 0.3s, color 0.3s;
}
a { text-decoration: none; color: inherit; }
.wrap { width: min(1160px, calc(100% - 48px)); margin: auto; }
.lead-magnet {
    margin-top: 30px;
    padding: 20px;
    background: #12263a;
    border: 1px solid #31495b;
    border-radius: 8px;
}
.lead-magnet h4 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
}
.lead-magnet p {
    font-size: 13px;
    color: #9fb2c4;
    margin-bottom: 15px;
}
.lead-magnet form {
    display: flex;
    gap: 10px;
}
.lead-magnet input {
    flex: 1;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #31495b;
    background: #0b1a2b;
    color: #fff;
    font-family: inherit;
    font-size: 13px;
}
.lead-magnet input:focus {
    outline: none;
    border-color: #e67e48;
}
@media(max-width: 600px) {
    .lead-magnet form { flex-direction: column; }
}
.nav { height: 82px; display: flex; align-items: center; gap: 42px; position: relative; }

/* Brand & Logo */
.brand { font-size: 24px; font-weight: 850; letter-spacing: -0.5px; white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; }

.brand-mark {
    width: 32px;
    height: 32px;
    background: #0e2637;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-mark span {
    display: block;
    width: 14px;
    height: 14px;
    background: var(--accent);
    border-radius: 2px;
}

.brand-text { color: #17283b; }
.orange-text { color: #c9602a; } 

.nav nav { display: flex; gap: 28px; margin-left: auto; font-size: 13px; font-weight: 650; color: #405268; }
.nav nav a:hover { color: #e67e48; }

/* Buttons */
.btn {
    display: inline-flex;
    gap: 23px;
    align-items: center;
    justify-content: center;
    background: #e67e48; 
    color: #ffffff; 
    padding: 16px 23px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    transition: transform .2s, background .2s;
}
.btn:hover {
    background: #f09e73; 
    transform: translateY(-2px);
}
.btn-small { padding: 12px 17px; font-size: 12px; background: #0e2637; color: white; }
.btn-small:hover { background: #173e4d; }

.menu { display: none; background: none; border: 0; font-size: 23px; cursor: pointer; color: inherit; }

.hero { min-height: 590px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 55px; padding-top: 30px; padding-bottom: 76px; }
.eyebrow, .kicker { font-size: 11px; font-weight: 800; letter-spacing: 2px; color: #e67e48; }
.eyebrow { display: flex; align-items: center; gap: 10px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #e67e48; box-shadow: 0 0 0 5px #fdf1e9; }

h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(54px, 6vw, 88px); line-height: 1.02; letter-spacing: -5px; margin: 27px 0; }
h1 em { font-style: normal; color: #e67e48; } 
.lead { font-size: 18px; line-height: 1.75; color: #5a6c7e; max-width: 520px; }
.actions { display: flex; align-items: center; gap: 30px; margin-top: 30px; }
.text-link { font-size: 13px; font-weight: 750; color: #213a4d; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 45px; }
.hero-tags span { border: 1px solid #dbe5ed; border-radius: 5px; padding: 8px 11px; font-size: 11px; font-weight: 650; color: #62768a; }

.hero-art { background: radial-gradient(circle at 70% 20%, #204f57, #0b1a2c 55%); min-height: 460px; border-radius: 18px; display: flex; align-items: center; padding: 35px; position: relative; overflow: hidden; box-shadow: 0 28px 55px #1a30412a; }
.hero-art:before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 29px 29px; }
.diagram { position: relative; width: 100%; background: #0d1b2ddd; border: 1px solid #355263; border-radius: 12px; padding: 20px; box-shadow: 0 20px 50px #0006; z-index: 1; }
.diagram-top, .diag-footer, .card-top { display: flex; justify-content: space-between; gap: 8px; font-size: 9px; font-weight: 750; letter-spacing: 1px; color: #7f9db0; }
.live { color: #e67e48; } 
.node-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 28px; }
.node { background: #182e40; border: 1px solid #355063; border-radius: 9px; padding: 18px 8px; text-align: center; color: white; }
.node-icon { display: block; font-size: 28px; color: #e67e48; margin-bottom: 13px; } 
.node b, .node small { display: block; }
.node b { font-size: 12px; }
.node small { font-size: 9px; color: #91a9bb; margin-top: 6px; }
.path { height: 46px; display: flex; justify-content: center; align-items: center; }
.path i { width: 1px; height: 45px; background: #e67e48; } 
.target { display: flex; align-items: center; gap: 14px; border: 1px solid #a8582f; background: #382419; border-radius: 8px; padding: 17px; color: white; } 
.target-symbol { font-size: 29px; color: #e67e48; } 
.target b, .target small { display: block; }
.target b { font-size: 13px; }
.target small { font-size: 10px; color: #c9b3a8; margin-top: 5px; }
.target strong { margin-left: auto; color: #e67e48; } 
.diag-footer { margin-top: 25px; }

.strip { background: #0d1e30; color: #a4b9c9; }
.strip-inner { display: flex; justify-content: space-between; gap: 20px; padding: 21px 0; font-size: 10px; letter-spacing: 1.4px; font-weight: 750; }

.section { padding-top: 105px; padding-bottom: 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 40px; }
.section-heading>p { max-width: 350px; color: #647588; line-height: 1.7; font-size: 14px; }
h2 { font-size: clamp(37px, 4.4vw, 57px); line-height: 1.12; letter-spacing: -2.4px; margin: 20px 0 0; }
h2 span { color: #c9602a; } 

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.service { min-height: 300px; padding: 28px; background: white; border: 1px solid #e0e8ee; border-radius: 11px; position: relative; transition: background 0.3s, border-color 0.3s; }
.service.featured { background: #fcf2ec; border-color: #f3cdb8; } 
.service-num { position: absolute; right: 25px; top: 28px; font-size: 11px; color: #9aafbb; font-weight: 750; }
.service-icon { font-size: 28px; color: #e67e48; margin: 0 0 28px; } 
.service h3 { font-size: 20px; letter-spacing: -.5px; margin-bottom: 12px; }
.service p { font-size: 13px; line-height: 1.8; color: #63778a; }
.service a { color: #c9602a; font-size: 12px; font-weight: 600; } 

.assessment { background: #0b1a2b; color: #f2f8fc; padding: 100px 0; }
.assessment-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.assessment h2 span, .about h2 span { color: #e67e48; }; 
.assessment-grid>div>p:not(.kicker) { color: #9fb2c4; line-height: 1.85; font-size: 15px; max-width: 470px; }
.assessment-grid .btn { margin-top: 18px; }
.assessment-card { border: 1px solid #31495b; background: #12263a; border-radius: 14px; padding: 26px; }
.card-top { padding-bottom: 20px; border-bottom: 1px solid #2b4054; }
.step { display: flex; gap: 20px; border-bottom: 1px solid #2b4054; padding: 20px 0; }
.step>span { color: #e67e48; font-size: 13px; font-weight: 850; } 
.step b, .step small { display: block; }
.step b { font-size: 14px; }
.step small { font-size: 12px; line-height: 1.6; color: #9ab1c2; margin-top: 6px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.timeline>div { border-top: 2px solid #f3cdb8; padding-top: 24px; } 
.timeline span { font-size: 10px; color: #c9602a; font-weight: 850; letter-spacing: 1px; } 
.timeline h3 { font-size: 22px; margin: 17px 0 10px; }
.timeline p { font-size: 13px; color: #65788b; line-height: 1.75; }

.about { background: #163248; color: white; padding: 86px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.about-grid>div:nth-child(2)>p { color: #b4c6d2; font-size: 15px; line-height: 1.8; }
.values { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.values span { border: 1px solid #587186; border-radius: 5px; padding: 9px 12px; font-size: 11px; }

.contact { text-align: center; padding: 110px 0; }
.contact>p:not(.kicker) { max-width: 570px; margin: 15px auto; color: #61768a; line-height: 1.8; font-size: 16px; }
.contact .btn { margin: 25px auto 18px; }
.contact small { display: block; color: #8797a6; font-size: 11px; }

footer { background: #091522; color: #e8f3f7; padding: 45px 0 25px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-main p { color: #9cafbf; font-size: 12px; margin: 0; }
.footer-bottom { border-top: 1px solid #293b4b; margin-top: 35px; padding-top: 22px; display: flex; justify-content: space-between; gap: 25px; color: #8ea5b6; font-size: 11px; line-height: 1.7; }
.legal { margin-top: 16px; color: #718a9e; font-size: 10px; }

/* Footer specific brand fix */
footer .brand-text { color: #ffffff; }
footer .orange-text { color: #e67e48; }

@media(max-width:900px) {
    .nav nav { display: none; position: absolute; z-index: 10; top: 70px; left: 24px; right: 24px; background: white; box-shadow: 0 20px 35px #0002; padding: 25px; border-radius: 10px; flex-direction: column; }
    .nav nav.open { display: flex; }
    .nav>.btn { margin-left: auto; }
    .menu { display: block; }
    .hero { grid-template-columns: 1fr; }
    .hero-art { min-height: 380px; }
    .assessment-grid { gap: 35px; }
    .services { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width:600px) {
    .wrap { width: min(100% - 32px, 1160px); }
    .nav { height: 70px; gap: 12px; }
    .nav>.btn { display: none; }
    .menu { margin-left: auto; }
    .hero { padding: 50px 0 65px; gap: 35px; }
    .hero h1 { font-size: 54px; letter-spacing: -3px; }
    .hero-art { padding: 16px; min-height: 330px; }
    .diagram { padding: 12px; }
    .node { padding: 12px 3px; }
    .node small { font-size: 8px; }
    .strip-inner { flex-direction: column; align-items: center; text-align: center; }
    .section { padding: 70px 0; }
    .section-heading { display: block; }
    .services, .assessment-grid, .about-grid, .timeline { grid-template-columns: 1fr; }
    .assessment { padding: 70px 0; }
    .timeline { gap: 14px; }
    .about { padding: 65px 0; }
    .contact { padding: 75px 0; }
    .footer-main, .footer-bottom { flex-direction: column; align-items: flex-start; }
    h2 { letter-spacing: -1.5px; }
}

/* =========================================
   DARK MODE / USER PREFERENCE
   ========================================= */
@media (prefers-color-scheme: dark) {
    body {
        background: #091322;
        color: #eef4fb;
    }
    
    .lead, .section-heading > p, .service p, .timeline p, .contact > p:not(.kicker) {
        color: #9eafc2;
    }
    .text-link {
        color: #eef4fb;
    }
    
    .service {
        background: #111f31;
        border-color: #26364a;
    }
    .service.featured {
        background: #2a1e16;
        border-color: #6e4025;
    }
    
    .nav nav {
        background: #111f31;
        box-shadow: 0 20px 35px #0006;
    }
    .nav nav a {
        color: #eef4fb;
    }
    .nav nav a:hover {
        color: #e67e48;
    }
    
    .hero-tags span {
        border-color: #26364a;
        color: #9eafc2;
    }

    .brand-mark {
        background: #163248;
    }

    .brand-text {
        color: #ffffff;
    }
    .orange-text {
        color: #e67e48; 
    }
}
.legal a {
    color: #718a9e;
    text-decoration: none;
    transition: color 0.2s;
}

.legal a:hover {
    color: #e67e48;
}