/* ---- Reset ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: var(--font-sans);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.65;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
a {
    color: var(--accent);
    text-decoration: none;
    transition:
        color 0.15s,
        opacity 0.15s;
}
a:hover {
    color: var(--fg-bright);
}
img {
    max-width: 100%;
    display: block;
}
::selection {
    background: var(--accent);
    color: var(--bg);
}

/* ---- Layout primitives ---- */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
}
section {
    padding: 88px 0;
    border-top: 1px solid var(--border-soft);
}
section:first-of-type {
    border-top: none;
}
.section-head {
    margin-bottom: 40px;
}
.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.eyebrow::before {
    content: "$";
    color: var(--muted);
}
.h2 {
    font-family: var(--font-mono);
    font-size: clamp(1.5rem, 4vw, 2.1rem);
    color: var(--fg-bright);
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}
.h2 .cursor-blink {
    display: inline-block;
    width: 11px;
    height: 1.1em;
    background: var(--accent);
    margin-left: 4px;
    vertical-align: -2px;
    animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}
.lede {
    color: var(--muted);
    margin-top: 10px;
    max-width: 62ch;
    font-size: 1rem;
}

/* ---- Footer ---- */
footer {
    border-top: 1px solid var(--border-soft);
    padding: 34px 0 28px;
    margin-top: 40px;
}
.foot-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.foot-copy {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--muted);
}
.foot-socials {
    display: flex;
    gap: 16px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
}
.foot-note {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--muted);
    margin-top: 12px;
    grid-column: 1/-1;
}

/* ---- Reveal on scroll ---- */
.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}
.reveal.in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ---- Responsive (global) ---- */
@media (max-width: 600px) {
    .container {
        padding: 0 18px;
    }
    section {
        padding: 60px 0;
    }
}
