:root {
    --m4-navy: #08111f;
    --m4-navy-soft: #0d1a2d;
    --m4-blue: #176bff;
    --m4-cyan: #20c7d9;
    --m4-surface: #f5f7fa;
    --m4-text: #111827;
    --m4-muted: #667085;
    --m4-border: #dfe5ec;
    --m4-white: #ffffff;
    --m4-radius: 1.25rem;
    --m4-shadow: 0 22px 65px rgba(8, 17, 31, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--m4-text);
    background: var(--m4-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}
img { max-width: 100%; height: auto; }
a { text-decoration: none; }
.m4-navbar {
    background: rgba(8, 17, 31, .96);
    border-bottom: 1px solid rgba(255,255,255,.08);
    min-height: 76px;
}
.navbar-brand { letter-spacing: .08em; }
.btn-m4 {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--m4-blue);
    --bs-btn-border-color: var(--m4-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0f5ce0;
    --bs-btn-hover-border-color: #0f5ce0;
    border-radius: .85rem;
    font-weight: 700;
}
.mobile-link {
    display: block;
    padding: 1rem;
    color: #fff;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: .9rem;
    font-size: 1.05rem;
}
.hero {
    color: #fff;
    background:
      radial-gradient(circle at 75% 30%, rgba(32,199,217,.18), transparent 28rem),
      radial-gradient(circle at 20% 20%, rgba(23,107,255,.20), transparent 24rem),
      var(--m4-navy);
    overflow: hidden;
}
.min-vh-75 { min-height: 75vh; }
.eyebrow, .section-kicker {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .16em;
}
.eyebrow { color: #a9c7ff; }
.section-kicker { color: var(--m4-blue); }
.hero h1 {
    max-width: 850px;
    margin: 0;
    font-size: clamp(2.65rem, 6vw, 5.8rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 800;
}
.hero h1 span {
    background: linear-gradient(90deg, #fff, #73dcea);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-copy {
    max-width: 760px;
    margin-top: 1.5rem;
    color: #c7d1df;
    font-size: clamp(1.05rem, 2vw, 1.28rem);
}
.ecosystem-card {
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 2rem;
    background: rgba(255,255,255,.055);
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
    backdrop-filter: blur(18px);
}
.ecosystem-core {
    display: grid;
    width: 110px;
    height: 110px;
    margin: 0 auto 1.5rem;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--m4-blue), var(--m4-cyan));
    font-size: 2rem;
    font-weight: 900;
    box-shadow: 0 0 50px rgba(32,199,217,.25);
}
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .75rem;
}
.ecosystem-grid span {
    padding: .85rem;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: .8rem;
    color: #dbe6f5;
    text-align: center;
    font-size: .76rem;
    font-weight: 800;
}
.section { padding: clamp(4.5rem, 8vw, 8rem) 0; }
.section-alt { background: var(--m4-surface); }
.section-dark { background: var(--m4-navy-soft); color: #fff; }
.section h2 {
    max-width: 900px;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.06;
    letter-spacing: -.04em;
    font-weight: 800;
}
.solution-card {
    padding: 1.65rem;
    border: 1px solid var(--m4-border);
    border-radius: var(--m4-radius);
    background: #fff;
    box-shadow: 0 10px 30px rgba(8,17,31,.04);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.solution-card:hover {
    transform: translateY(-6px);
    border-color: rgba(23,107,255,.35);
    box-shadow: var(--m4-shadow);
}
.solution-card h3 { font-size: 1.25rem; font-weight: 800; }
.solution-card p { color: var(--m4-muted); margin-bottom: 0; }
.site-footer {
    padding: 2rem 0;
    color: #b7c2d1;
    background: #050b14;
    border-top: 1px solid rgba(255,255,255,.08);
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition-duration: .001ms !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
    }
}
@media (max-width: 575.98px) {
    .hero { padding: 2.5rem 0 3.5rem; }
    .ecosystem-grid { grid-template-columns: 1fr; }
    .btn-lg { width: 100%; }
}

/* M4WS v0.2.1 public branding */
.m4-public-brand{
    display:flex;
    align-items:center;
    min-height:48px;
}
.m4-public-logo{
    display:block;
    max-width:210px;
    width:auto;
    height:46px;
    object-fit:contain;
}
.m4-mobile-brand{
    display:flex;
    align-items:center;
    min-height:48px;
}
@media (max-width:575.98px){
    .m4-public-logo{
        max-width:170px;
        height:42px;
    }
}

