/* ============================================================
   HOME — mobile first
   ============================================================ */

.hero {
    position: relative;
    background: linear-gradient(150deg, var(--navy) 0%, var(--indigo) 55%, #35449e 100%);
    color: #fff;
    overflow: hidden;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    padding: 48px 0 56px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(28px, 8.5vw, 54px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.hero h1 em {
    font-style: normal;
    color: var(--sky);
}

.hero p.lede {
    margin-top: 18px;
    font-size: 15px;
    color: #c9d3f2;
    max-width: 46ch;
    line-height: 1.65;
}

.hero-cta {
    margin-top: 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-cta .btn { width: 100%; }

@media (min-width: 640px) {
    .hero-inner    { padding: 64px 0 72px; gap: 40px; }
    .hero p.lede   { font-size: 16px; }
    .hero-cta      { flex-direction: row; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
    .hero-cta .btn { width: auto; }
    .hero-grid     { background-size: 44px 44px; }
}

@media (min-width: 900px) {
    .hero-inner {
        padding: 96px 0 110px;
        grid-template-columns: 1.1fr 0.9fr;
        gap: 48px;
    }
    .hero p.lede { font-size: 17px; margin-top: 20px; }
    .hero-cta    { margin-top: 34px; }
}

/* ---------- Animated schematic SVG ---------- */

.schematic {
    width: 100%;
    height: auto;
    max-width: 460px;
    margin: 0 auto;
}

.schematic .flow {
    stroke-dasharray: 8 10;
    animation: flow 1.6s linear infinite;
}

@keyframes flow {
    to { stroke-dashoffset: -18; }
}

@media (prefers-reduced-motion: reduce) {
    .schematic .flow { animation: none; }
}

@media (min-width: 900px) {
    .schematic { max-width: none; margin: 0; }
}

/* ---------- Stats band ---------- */

.stats {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.stats-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.stat {
    padding: 24px 16px;
    border-top: 1px solid var(--line);
}

.stat:nth-child(-n+2) { border-top: 0; }
.stat:nth-child(even) { border-left: 1px solid var(--line); }

.stat .num {
    font-family: "Poppins", sans-serif;
    font-size: 32px;
    font-weight: 600;
    color: var(--indigo);
    line-height: 1;
}

.stat .lab {
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--electric);
    margin-top: 6px;
}

.stat .sub {
    font-size: 12.5px;
    color: var(--slate);
    margin-top: 6px;
    line-height: 1.45;
}

@media (min-width: 640px) {
    .stat { padding: 32px 22px; }
    .stat .num { font-size: 38px; }
    .stat .lab { font-size: 13px; }
    .stat .sub { font-size: 13px; }
}

@media (min-width: 900px) {
    .stats-inner { grid-template-columns: repeat(4, 1fr); }
    .stat {
        padding: 40px 26px;
        border-top: 0;
        border-left: 1px solid var(--line);
    }
    .stat:first-child { border-left: 0; }
    .stat .num { font-size: 42px; }
}

/* ---------- Core values grid ---------- */

.values {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
}

.value {
    background: linear-gradient(160deg, var(--indigo), var(--navy));
    color: #fff;
    border-radius: 12px;
    padding: 22px 20px;
}

.value h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--sky);
}

.value p {
    margin-top: 8px;
    font-size: 13.5px;
    color: #c9d3f2;
    line-height: 1.55;
}

@media (min-width: 480px) {
    .values { grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (min-width: 900px) {
    .values {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
        margin-top: 44px;
    }
    .value { padding: 28px 24px; border-radius: 14px; }
    .value h3 { font-size: 18px; }
}
