:root {
    --m-green: #3ebd6b;
    --m-yellow: #d6c234;
    --m-orange: #f2a23a;
    --m-red: #f0483e;
}

.seg-green  { --seg: var(--m-green); }
.seg-yellow { --seg: var(--m-yellow); }
.seg-orange { --seg: var(--m-orange); }
.seg-red    { --seg: var(--m-red); }
.seg-grey   { --seg: #8a8a9e; }

/* ─── INTRO ──────────────────────────────────────── */

.h-intro { position: relative; overflow: hidden; padding: 6.5rem 0 0; }

.h-intro::before {
    content: "";
    position: absolute;
    top: -20%;
    left: 50%;
    width: 1100px;
    height: 700px;
    transform: translateX(-50%);
    background: radial-gradient(closest-side, rgba(242,162,58,0.14), transparent);
    pointer-events: none;
}

.h-intro .wrap { position: relative; text-align: center; }

.h-logo { width: 72px; height: 72px; margin: 0 auto 1.5rem; border-radius: 16px; }

.h-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3.25rem, 9vw, 6.5rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.h-tagline {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.25rem, 2.6vw, 1.625rem);
    font-weight: 500;
    color: var(--text);
    margin: 1.25rem 0 1rem;
}

.h-intro .lead { margin: 0 auto 2rem; }

/* LED meter, the newsletter's signature */
.meter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 3.5rem 0 0;
}

.meter i {
    width: 38px;
    height: 8px;
    border-radius: 2px;
    background: var(--seg);
    opacity: 0.18;
    animation: led 2.4s infinite ease-in-out;
}

@keyframes led {
    0%, 100% { opacity: 0.18; }
    40%, 60% { opacity: 1; }
}

.meter i:nth-child(2) { animation-delay: .12s; }
.meter i:nth-child(3) { animation-delay: .24s; }
.meter i:nth-child(4) { animation-delay: .36s; }
.meter i:nth-child(5) { animation-delay: .48s; }
.meter i:nth-child(6) { animation-delay: .60s; }
.meter i:nth-child(7) { animation-delay: .72s; }
.meter i:nth-child(8) { animation-delay: .84s; }

.rec {
    margin-left: 1.25rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    color: var(--m-red);
}

.rec::before { content: "● "; animation: blink 1.2s infinite steps(1); }
@keyframes blink { 50% { opacity: 0; } }

.h-stage {
    position: relative;
    max-width: 980px;
    margin: 3.5rem auto 0;
    padding: 0 2rem;
}

.h-stage .main { width: 100%; }

.h-stage .float {
    position: absolute;
    width: 36%;
    left: -2%;
    bottom: -14%;
    border: 1px solid rgba(242,162,58,0.35);
    box-shadow: 0 30px 80px rgba(0,0,0,0.9), 0 0 60px rgba(242,162,58,0.12);
    transform: rotate(-2.5deg);
}

/* ─── BLOCKS ─────────────────────────────────────── */

.blocks-sec { padding: 10rem 0 5rem; }

.blocks {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
}

.block {
    background: #0e0e12;
    border: 1px solid #1d1d24;
    border-top: 3px solid var(--seg);
    border-radius: 0.75rem;
    padding: 1.375rem 1.25rem 1.5rem;
}

.block .n {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--seg);
    margin-bottom: 0.75rem;
}

.block h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.block p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.55; }

/* ─── HOW / WHO ──────────────────────────────────── */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    padding: 5rem 0 6rem;
    align-items: start;
}

.split p.body { font-size: 1rem; color: #c5c5d8; line-height: 1.72; margin-bottom: 1rem; }

.who { display: flex; flex-direction: column; }
.who div { padding: 1.125rem 0; border-bottom: 1px solid #1a1a22; }
.who div:first-child { padding-top: 0; }
.who div:last-child { border-bottom: none; }

.who b {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--seg);
    margin-bottom: 0.3rem;
}

.who span { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.6; }

/* ─── CLOSE ──────────────────────────────────────── */

.h-close { padding: 7rem 0 8rem; text-align: center; }
.h-close .h2 { margin-bottom: 1.75rem; }
.h-close .by { margin-top: 1.5rem; font-size: 0.875rem; color: var(--text-faint); }

@media (max-width: 1000px) {
    .blocks { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    .blocks { grid-template-columns: 1fr; }
    .split { grid-template-columns: 1fr; gap: 3rem; padding: 3.5rem 0 4rem; }
    .blocks-sec { padding: 7rem 0 3rem; }
    .h-stage { padding: 0 1.25rem; }
    .h-stage .float { width: 44%; left: 2%; }
    .meter i { width: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    .meter i, .rec::before { animation: none; opacity: 1; }
}
