:root {
    --ink: #09151d;
    --muted: #68757d;
    --paper: #f4f5f0;
    --line: #dfe4dd;
    --solar: #ffb23f;
    --green: #41bd79;
    --blue: #59aee8;
    --mint: #73d9aa
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif
}

main {
    min-height: calc(100vh - 75px);
    overflow: hidden
}

.topbar {
    height: 76px;
    padding: 0 clamp(24px, 5vw, 72px);
    border-bottom: 1px solid #e2e5df;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(244, 245, 240, .94);
    position: sticky;
    top: 0;
    z-index: 10
}

.brand {
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--ink);
    text-decoration: none;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .18em
}

.brand-mark {
    width: 26px;
    height: 27px;
    display: flex;
    align-items: end;
    gap: 3px
}

.brand-mark i {
    display: block;
    width: 6px;
    border-radius: 6px 6px 1px 1px;
    background: var(--ink);
    transform: skew(-9deg)
}

.brand-mark i:nth-child(1) {
    height: 15px;
    background: var(--blue)
}

.brand-mark i:nth-child(2) {
    height: 23px;
    background: var(--solar)
}

.brand-mark i:nth-child(3) {
    height: 18px;
    background: var(--green)
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center
}

.status {
    border: 1px solid #d8ddd6;
    background: #eef1eb;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 10px;
    letter-spacing: .11em;
    font-weight: 750
}

.status i {
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--solar);
    border-radius: 50%;
    margin-right: 7px
}

.status.is-live i {
    background: var(--green)
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    font-size: 11px;
    font-weight: 700
}

.hero {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 72px 0 34px;
    display: flex;
    align-items: end;
    justify-content: space-between
}

.eyebrow {
    margin: 0 0 11px;
    font-size: 10px;
    letter-spacing: .18em;
    font-weight: 780;
    color: #7d878c
}

h1 {
    font-size: clamp(48px, 7vw, 86px);
    line-height: .96;
    letter-spacing: -.065em;
    margin: 0;
    font-weight: 600
}

.intro {
    margin: 19px 0 0;
    color: var(--muted);
    font-size: 17px
}

.intro strong {
    color: var(--green)
}

.live-note {
    display: flex;
    gap: 11px;
    align-items: center;
    text-align: right
}

.live-note b,
.live-note small {
    display: block
}

.live-note b {
    font-size: 12px
}

.live-note small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 10px
}

.pulse {
    width: 9px;
    height: 9px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(65, 189, 121, .13);
    animation: pulse 2s infinite
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 12px rgba(65, 189, 121, 0)
    }
}

.flow-card {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    min-height: 475px;
    padding: 42px;
    background: #0d1b24;
    border-radius: 4px;
    color: #f7faf5;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 65px rgba(24, 35, 39, .13)
}

.flow-card:before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .13;
    background-image: linear-gradient(rgba(255, 255, 255, .14) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .14) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, #000, transparent 75%)
}

.flow-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 125px 125px 125px;
    align-items: center;
    height: 390px
}

.energy-node {
    width: 235px;
    min-height: 105px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 3px;
    background: rgba(255, 255, 255, .035);
    display: flex;
    gap: 16px;
    align-items: center
}

.energy-node:nth-of-type(2),
.energy-node:nth-of-type(4) {
    justify-self: end
}

.node-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 26px
}

.energy-node p {
    margin: 0 0 6px;
    font-size: 9px;
    letter-spacing: .16em;
    color: #9ca9af
}

.energy-node strong,
.energy-node small {
    display: block
}

.energy-node strong {
    font: 500 23px monospace
}

.energy-node small {
    margin-top: 4px;
    font-size: 10px;
    color: #9ca9af
}

.solar {
    color: var(--solar);
    grid-area: 1/1
}

.home {
    color: var(--green);
    grid-area: 1/3
}

.grid {
    color: var(--blue);
    grid-area: 3/1
}

.car {
    color: var(--mint);
    grid-area: 3/3
}

.energy-core {
    grid-area: 2/2;
    justify-self: center;
    text-align: center;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(66, 189, 121, .18), rgba(13, 27, 36, .98) 67%);
    border: 1px solid rgba(105, 216, 164, .35);
    display: grid;
    place-content: center;
    position: relative
}

.core-orbit {
    position: absolute;
    inset: 12px;
    border: 1px dashed rgba(112, 219, 171, .38);
    border-radius: 50%;
    animation: spin 18s linear infinite
}

.core-orbit span {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mint);
    position: absolute;
    top: -4px;
    left: 50%
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.energy-core p {
    margin: 0 0 6px;
    color: #7f958d;
    font-size: 9px;
    letter-spacing: .17em
}

.energy-core strong {
    font: 500 27px monospace;
    color: var(--mint)
}

.energy-core small {
    margin-top: 4px;
    color: #98aaa3;
    font-size: 10px
}

.connector {
    position: relative;
    opacity: .8
}

.connector:after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
    animation: travel 7s ease-in-out infinite
}

.horizontal {
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor, transparent)
}

.horizontal:after {
    top: -2px;
    left: 0
}

.solar-line {
    grid-area: 1/2;
    color: var(--solar)
}

.grid-line {
    grid-area: 3/2;
    color: var(--blue)
}

.vertical {
    width: 1px;
    height: 78px;
    justify-self: center;
    background: linear-gradient(transparent, currentColor, transparent)
}

.vertical:after {
    left: -2px;
    top: 0;
    animation-name: travel-y
}

.left-line {
    grid-area: 2/1;
    color: var(--blue)
}

.right-line {
    grid-area: 2/3;
    color: var(--green)
}

@keyframes travel {
    50% {
        left: calc(100% - 6px)
    }
}

@keyframes travel-y {
    50% {
        top: calc(100% - 6px)
    }
}

.today {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 92px 0 55px
}

.section-heading {
    margin-bottom: 30px
}

h2 {
    margin: 0;
    font-size: clamp(29px, 4vw, 42px);
    letter-spacing: -.045em;
    font-weight: 560
}

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

.stat {
    padding: 23px 21px;
    border-top: 1px solid #cfd5ce;
    display: flex;
    gap: 14px;
    background: rgba(255, 255, 255, .18)
}

.stat-icon {
    width: 31px;
    height: 31px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    background: #e4ebe3
}

.stat p {
    margin: 0 0 7px;
    font-size: 11px;
    color: var(--muted)
}

.stat strong,
.stat small {
    display: block
}

.stat strong {
    font: 520 22px monospace;
    letter-spacing: -.04em
}

.stat small {
    margin-top: 8px;
    color: #7f8b90;
    font-size: 9px
}

.notice {
    margin-top: 22px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6
}

footer {
    padding: 24px clamp(24px, 5vw, 72px);
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    color: #8c9699;
    font-size: 9px;
    letter-spacing: .08em
}

@media(max-width:760px) {
    .topbar {
        height: 66px;
        padding: 0 18px
    }

    .status {
        display: none
    }

    .hero {
        width: calc(100% - 32px);
        padding: 48px 0 27px;
        display: block
    }

    .live-note {
        margin-top: 25px;
        text-align: left
    }

    .flow-card {
        width: calc(100% - 24px);
        padding: 21px 16px;
        min-height: auto
    }

    .flow-grid {
        height: auto;
        grid-template: auto/1fr 1fr;
        gap: 12px
    }

    .energy-node {
        width: 100%;
        min-height: 112px;
        padding: 14px
    }

    .solar,
    .home,
    .grid,
    .car,
    .energy-core {
        grid-area: auto;
        justify-self: auto
    }

    .energy-core {
        grid-column: 1/-1;
        grid-row: 2;
        justify-self: center;
        margin: 9px 0
    }

    .grid {
        grid-row: 3
    }

    .connector {
        display: none
    }

    .node-icon {
        width: 40px;
        height: 40px;
        font-size: 19px
    }

    .energy-node strong {
        font-size: 18px
    }

    .today {
        width: calc(100% - 32px);
        padding-top: 65px
    }

    .stats {
        grid-template-columns: 1fr 1fr
    }

    .stat {
        padding: 18px 10px
    }

    .stat-icon {
        display: none
    }

    .stat strong {
        font-size: 16px
    }

    footer {
        display: block;
        line-height: 2
    }
}

@media(prefers-reduced-motion:reduce) {

    *,
    *:before,
    *:after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important
    }
}