:root {
    --bg: #000;
    --bg-soft: #0a0a0a;
    --fg: #fff;
    --muted: rgba(255, 255, 255, 0.55);
    --dim: rgba(255, 255, 255, 0.35);
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --chip: rgba(255, 255, 255, 0.06);
    --mint: rgb(112, 255, 186);
    --mint-dim: rgba(112, 255, 186, 0.5);
    --mint-glow: rgba(112, 255, 186, 0.15);
    --delay: 250ms;
    --mx: 50%;
    --my: 50%;
    --agent: #ffae0b; /* secondary accent — for "agent" flavor */
    --agent-dim: rgba(255, 174, 11, 0.45);
    --font-display: "Bai Jamjuree", system-ui, sans-serif;
    --font-body: "Inter Tight", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, monospace;
    --maxw: 1440px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-corner {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    transition: background-color 250ms;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    margin: 1px;
    border-radius: 10px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--fg);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    text-wrap: pretty;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---- Typography ---- */
.display {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.92;
    text-transform: uppercase;
    margin: 0;
}

.display.xl {
    font-size: clamp(64px, 9.5vw, 136px);
}

.display.lg {
    font-size: clamp(48px, 6vw, 84px);
}

.display.md {
    font-size: clamp(36px, 4vw, 56px);
}

.kicker {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--mint);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.kicker::before {
    content: "";
    width: 22px;
    height: 1px;
    background: var(--mint);
}

.lede {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.75);
    max-width: 58ch;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.01em;
    border: 1.5px solid var(--fg);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    background: var(--fg);
    color: #000;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    background: var(--mint);
    border-color: var(--mint);
}

.btn.ghost {
    background: transparent;
    color: var(--fg);
    border-color: var(--line-strong);
}

.btn.ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--fg);
    border-color: var(--fg);
}

.btn .arrow {
    transition: transform .2s ease;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

/* ---- Nav ---- */
nav.top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.55);
    border-bottom: 1px solid var(--line);
}

nav.top .inner {
    max-width: var(--maxw);
    margin: 0 auto;
    height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

nav.top .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

nav.top .logo img {
    height: 26px;
    width: auto;
    display: block;
}

nav.top .links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
}

nav.top .links a:hover {
    color: var(--mint);
}

nav.top .cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    transition: all .2s;
}

nav.top .cta:hover {
    border-color: var(--mint);
    color: var(--mint);
}

nav.top .ticker-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 10px var(--mint);
    animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}

/* ---- Layout ---- */
section {
    position: relative;
    padding: 140px 0;
}

section .wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    position: relative;
    padding: 0 24px;
}

section + section {
    border-top: 1px solid var(--line);
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s ease, transform .8s ease;
    transition-delay: var(--delay, 0ms);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ---- Cards ---- */
.card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 28px;
    transition: border-color .25s ease, background .25s ease, transform .25s ease;
}

.card:hover {
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.045);
}

/* ---- Tokens: human / agent chips ---- */
.token {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 8px;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    font-family: var(--font-mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.token .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 8px var(--mint-dim);
}

.token.agent .dot {
    border-radius: 1px;
    background: var(--agent);
    box-shadow: 0 0 8px var(--agent-dim);
}

.token.human {
    color: var(--mint);
}

.token.agent {
    color: var(--agent);
}

/* ---- Grid utilities ---- */
.row {
    display: flex;
    flex-wrap: wrap;
}

.between {
    justify-content: space-between;
}

.center {
    align-items: center;
}

.gap8 {
    gap: 8px;
}

.gap16 {
    gap: 16px;
}

.gap24 {
    gap: 24px;
}

.gap32 {
    gap: 32px;
}

.grid {
    display: grid;
    gap: 20px;
}

.grid.c2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid.c3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid.c4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ---- Section header layout ---- */
.shead {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: end;
    margin-bottom: 64px;
}

.shead .right {
    padding-top: 20px;
}

/* ---- Tweaks panel ---- */
.tweaks-panel {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 60;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    padding: 18px;
    min-width: 260px;
    backdrop-filter: blur(10px);
    font-size: 13px;
    color: var(--muted);
}

.tweaks-panel h3 {
    margin: 0 0 12px;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    color: var(--fg);
    text-transform: uppercase;
}

.tweaks-panel .tweak-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    gap: 12px;
}

.tweaks-panel label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.tweaks-panel .swatches {
    display: flex;
    gap: 6px;
}

.tweaks-panel .swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: border-color .15s;
}

.tweaks-panel .swatch.on {
    border-color: var(--fg);
}

.tweaks-panel select {
    background: #000;
    color: var(--fg);
    border: 1px solid var(--line-strong);
    border-radius: 6px;
    padding: 4px 8px;
    font-family: var(--font-body);
    font-size: 12px;
}

.tweaks-panel .toggle {
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: var(--line-strong);
    position: relative;
    cursor: pointer;
    transition: background .2s;
}

.tweaks-panel .toggle.on {
    background: var(--mint);
}

.tweaks-panel .toggle::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #000;
    border-radius: 50%;
    transition: transform .2s;
}

.tweaks-panel .toggle.on::after {
    transform: translateX(14px);
}

/* ---- Hero specific ---- */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero .wrap {
    z-index: 2;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.65;
}

.hero .social-strip {
    display: flex;
    align-items: center;
    gap: 28px;
    font-family: var(--font-mono);
    font-size: 11.5px;
    color: var(--muted);
    letter-spacing: 0.05em;
    padding-top: 36px;
    border-top: 1px solid var(--line);
    margin-top: 48px;
    max-width: 720px;
    flex-wrap: wrap;
}

.hero .social-strip strong {
    color: var(--fg);
    font-weight: 600;
    margin-right: 6px;
}

.hero .social-strip .sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--dim);
}

/* Activity feed */
.feed {
    position: absolute;
    right: 40px;
    top: 140px;
    width: 380px;
    max-width: 36vw;
    z-index: 2;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    border-radius: 16px;
    overflow: hidden;
    font-family: var(--font-mono);
}

.feed-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.feed-header .live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--mint);
}

.feed-header .live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mint);
    animation: pulse 1.4s infinite;
}

.feed-list {
    height: 420px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 10%, black 85%, transparent);
}

.feed-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
    animation: feedIn .5s ease both;
}

.feed-item .avatar {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 9px;
    color: #000;
    font-weight: 700;
    margin-top: 1px;
}

.feed-item.h .avatar {
    background: var(--mint);
    border-radius: 50%;
}

.feed-item.a .avatar {
    background: var(--agent);
    border-radius: 3px;
}

.feed-item .body {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.35;
}

.feed-item .body .name {
    color: var(--fg);
}

.feed-item .body .verb {
    color: var(--muted);
}

.feed-item .body .amt {
    color: var(--mint);
}

.feed-item .time {
    font-size: 10px;
    color: var(--dim);
    flex-shrink: 0;
}

@keyframes feedIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Neuraverse section ---- */
.nv-hero {
    position: relative;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(135deg, #050d0a 0%, #000 60%), #000;
    border: 1px solid var(--line);
    margin-bottom: 32px;
}

.nv-hero .image {
    position: absolute;
    inset: 0;
    background: url(assets/neuraverse-world.jpg) center/cover no-repeat;
    opacity: 0.85;
    filter: contrast(1.05) saturate(1.1);
}

.nv-hero .image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, #000 0%, transparent 40%, transparent 70%, rgba(0, 0, 0, 0.4) 100%),
    linear-gradient(to top, #000 0%, transparent 40%);
}

.nv-hero .content {
    position: absolute;
    left: 40px;
    bottom: 40px;
    right: 40px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    z-index: 2;
}

.nv-hero .hud {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--mint);
    letter-spacing: 0.14em;
    z-index: 2;
}

.nv-hero .hud .r {
    color: var(--muted);
}

/* ---- Stack section (3 capabilities) ---- */
.capability {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 24px;
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
    transition: border-color .3s;
    position: relative;
    overflow: hidden;
}

.capability:hover {
    border-color: var(--mint-dim);
}

.capability:hover::before {
    opacity: 1;
}

.capability::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 18px;
    pointer-events: none;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), var(--mint-glow), transparent 40%);
    opacity: 0;
    transition: opacity .3s;
}

.capability .num {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--mint);
}

.capability h3 {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    line-height: 1.1;
}

.capability p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
}

.capability .icon {
    width: 56px;
    height: 56px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.4);
}

/* ---- Experiences (What You Can Do) ---- */
.exp-tabs {
    display: inline-flex;
    padding: 4px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.02);
    margin-bottom: 48px;
}

.exp-tabs button {
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    background: transparent;
    color: var(--muted);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.01em;
}

.exp-tabs button.on.human {
    background: var(--mint);
    color: #000;
}

.exp-tabs button.on.agent {
    background: var(--agent);
    color: #000;
}

.exp-tabs button .glyph {
    width: 10px;
    height: 10px;
    background: var(--muted);
    border-radius: 50%;
    transition: all .2s;
}

.exp-tabs button[data-kind=agent] .glyph {
    border-radius: 2px;
}

.exp-tabs button.on .glyph {
    background: #000;
}

.exp-body {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: start;
}

.exp-body h3 {
    font-family: var(--font-display);
    font-size: 44px;
    letter-spacing: -0.03em;
    line-height: 1;
    margin: 0 0 20px;
    text-transform: uppercase;
}

.exp-body p.desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
    max-width: 48ch;
    margin: 0 0 32px;
}

.exp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--line);
}

.exp-list li {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
}

.exp-list li .bullet {
    flex-shrink: 0;
    margin-top: 7px;
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
}

.exp-body.agent .exp-list li .bullet {
    background: var(--agent);
    border-radius: 2px;
}

/* Agent network visual */
.agent-viz {
    position: relative;
    aspect-ratio: 1;
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(112, 255, 186, 0.04), transparent 60%), #000;
    padding-top: 35px;
}

.agent-viz svg {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

/* ---- Vision ---- */
.vision-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.vision-lines {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.04;
    letter-spacing: -0.03em;
    max-width: 18ch;
    text-transform: uppercase;
}

.vision-lines em {
    font-style: normal;
    color: var(--mint);
}

.vision-body {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 56ch;
    line-height: 1.55;
}

.vision-stat {
    font-family: var(--font-display);
    font-size: 96px;
    letter-spacing: -0.04em;
    line-height: 0.85;
    color: var(--mint);
}

.vision-stat small {
    display: block;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 14px;
}

/* ---- Build section ---- */
.build-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
    transition: all .25s;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 220px;
}

.build-card:hover {
    border-color: var(--mint-dim);
    transform: translateY(-3px);
}

.build-card .tag {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--mint);
    text-transform: uppercase;
}

.build-card h4 {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.05;
    text-transform: uppercase;
}

.build-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.build-card .code {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--mint);
    padding: 10px 12px;
    background: rgba(112, 255, 186, 0.05);
    border: 1px solid rgba(112, 255, 186, 0.15);
    border-radius: 8px;
}

/* ---- Roadmap ---- */
.roadmap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 48px;
}

.roadmap-track {
    position: absolute;
    top: 28px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line);
}

.roadmap-track .fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--mint);
    transition: width 1.5s ease;
}

.phase {
    padding: 0 24px 0 0;
    position: relative;
}

.phase .node {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #000;
    border: 2px solid var(--line-strong);
    position: relative;
    z-index: 2;
    margin-bottom: 34px;
}

.phase.active .node {
    background: var(--mint);
    border-color: var(--mint);
    box-shadow: 0 0 0 4px rgba(112, 255, 186, 0.15);
}

.phase.next .node {
    border-color: var(--mint);
}

.phase h5 {
    font-family: var(--font-display);
    font-size: 20px;
    margin: 0 0 12px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.phase .label {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    color: var(--mint);
    text-transform: uppercase;
    margin-bottom: 14px;
    display: block;
}

.phase.future .label {
    color: var(--muted);
}

.phase p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13.5px;
    line-height: 1.5;
    margin: 0;
}

/* ---- Community ---- */
.community {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.channel {
    display: block;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    transition: all .25s;
    background: rgba(255, 255, 255, 0.02);
}

.channel:hover {
    border-color: var(--mint);
    background: rgba(112, 255, 186, 0.04);
}

.channel .icon {
    width: 28px;
    height: 28px;
    color: var(--fg);
    margin-bottom: 18px;
}

.channel:hover .icon {
    color: var(--mint);
}

.channel h5 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}

.channel p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

/* ---- Footer ---- */
footer.site {
    padding: 60px 0 40px;
    border-top: 1px solid var(--line);
    background: #000;
}

footer.site .inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

footer.site .big {
    font-family: var(--font-display);
    font-size: clamp(80px, 14vw, 220px);
    letter-spacing: -0.05em;
    line-height: 0.85;
    color: var(--mint);
    text-transform: uppercase;
}

footer.site .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: var(--muted);
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

footer.site .bottom a:hover {
    color: var(--mint);
}

footer.site .links {
    display: flex;
    gap: 24px;
}

/* ---- SVG helpers ---- */
.arrow {
    display: inline-block;
}

/* Hero split variant */
.split-title {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 32px;
    align-items: start;
    max-width: 900px;
}

.split-title .divider {
    width: 1px;
    background: var(--line-strong);
    align-self: stretch;
}

.split-title .tag-row {
    margin-bottom: 6px;
}

.split-title .left-side h1, .split-title .right-side h1 {
    font-size: clamp(48px, 6.5vw, 96px) !important;
}

.primary-cta {
    background: var(--mint) !important;
    border-color: var(--mint) !important;
    color: #000 !important;
    box-shadow: 0 0 40px rgba(112, 255, 186, 0.25);
}

.primary-cta:hover {
    background: #fff !important;
    border-color: #fff !important;
}

/* ---------- Responsive utilities ---------- */
/* Default (desktop): show desktop-only, hide mobile-only */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

.hamburger {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}

.hamburger span {
    position: absolute;
    left: 10px;
    right: 10px;
    height: 1.5px;
    background: var(--fg);
    border-radius: 2px;
    transition: all .25s ease;
}

.hamburger span:nth-child(1) {
    top: 13px;
}

.hamburger span:nth-child(2) {
    top: 19px;
}

.hamburger span:nth-child(3) {
    top: 25px;
}

.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 60;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    overflow-y: auto;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu .mm-inner {
    padding: 80px 24px 48px;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 100%;
    box-sizing: border-box;
}

.mobile-menu .mm-close {
    position: absolute;
    top: 18px;
    right: 20px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
}

.mobile-menu a {
    padding: 20px 4px;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu a:hover,
.mobile-menu a:active {
    color: var(--mint);
}

.mobile-menu a.btn.mm-cta {
    margin-top: 28px;
    border-bottom: none;
    justify-content: center;
    padding: 18px 22px;
    font-size: 13px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #000;
    background: var(--mint);
    border-radius: 999px;
    gap: 8px;
}

/* ---------- Tablet: ≤ 1024px ---------- */
@media (max-width: 1024px) {
    section {
        padding: 100px 0;
    }

    nav.top .inner {
        padding: 0 24px;
    }

    nav.top .links {
        gap: 20px;
        font-size: 12px;
    }

    .split-title {
        grid-template-columns: 1fr;
    }

    .split-title .divider {
        display: none;
    }

    .feed {
        display: none;
        width: 320px;
        max-width: 320px;
        top: auto;
        bottom: 40px;
        right: 32px;
    }

    .feed-list {
        height: 320px;
    }

    .grid.c4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid.c3 {
        grid-template-columns: 1fr;
    }

    .exp-body {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .shead {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }

    .shead .right {
        padding-top: 0;
    }

    .roadmap {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }

    .roadmap-track {
        display: none;
    }

    .phase {
        padding: 0;
    }

    .community {
        grid-template-columns: 1fr 1fr;
    }

    .nv-hero {
        height: 440px;
    }

    .nv-hero .content {
        flex-direction: column;
        align-items: start;
        gap: 20px;
        left: 24px;
        right: 24px;
        bottom: 24px;
    }

    .nv-hero .hud {
        left: 16px;
        right: 16px;
        top: 16px;
        font-size: 9px;
    }

    .exp-tabs button {
        padding: 9px 16px;
        font-size: 12px;
    }

    .exp-body h3 {
        font-size: 36px;
    }

    .vision-lines {
        font-size: clamp(36px, 5vw, 56px);
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    footer.site .row.between > div:last-child {
        width: 100%;
    }
}

/* ---------- Mobile: ≤ 720px ---------- */
@media (max-width: 720px) {
    /* Swap nav: hide desktop links/CTA, show hamburger + mobile menu */
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: inline-flex !important;
    }

    .mobile-menu {
        display: block;
    }

    section {
        padding: 72px 0;
    }

    nav.top .inner {
        padding: 0 16px;
        height: 56px;
        gap: 16px;
    }

    nav.top .logo img {
        height: 22px;
    }

    /* Typography scale down */
    .display.xl {
        font-size: clamp(44px, 13vw, 64px);
    }

    .display.lg {
        font-size: clamp(36px, 10vw, 52px);
    }

    .display.md {
        font-size: clamp(30px, 8vw, 40px);
    }

    .lede {
        font-size: 16px;
    }

    .kicker {
        font-size: 10px;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 72px;
    }

    .feed {
        display: none !important;
    }

    .hero .social-strip {
        gap: 12px;
        font-size: 10.5px;
        padding-top: 24px;
        margin-top: 32px;
    }

    .hero .social-strip .sep {
        display: none;
    }

    .hero .social-strip span {
        flex: 1 1 45%;
    }

    .btn {
        padding: 12px 18px;
        font-size: 13px;
        width: 100%;
        justify-content: center;
    }

    .row.gap16 {
        gap: 10px;
    }

    /* Grids collapse */
    .grid.c4, .grid.c3, .grid.c2 {
        grid-template-columns: 1fr;
    }

    .roadmap, .community {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Neuraverse hero tile */
    .nv-hero {
        height: 380px;
        border-radius: 16px;
    }

    .nv-hero .content {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .nv-hero .content > div:first-child > div:last-child {
        font-size: 28px !important;
    }

    .nv-hero .hud {
        top: 12px;
        left: 12px;
        right: 12px;
        font-size: 8.5px;
        flex-direction: column;
        gap: 4px;
    }

    .nv-hero .hud .r {
        text-align: left;
    }

    /* Stack */
    .capability {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 24px;
    }

    .capability h3 {
        font-size: 24px;
    }

    /* Experiences */
    .exp-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        padding: 4px;
        border-radius: 12px;
    }

    .exp-tabs button {
        padding: 10px 8px;
        font-size: 12px;
        border-radius: 8px;
        justify-content: center;
    }

    .exp-body h3 {
        font-size: 30px;
    }

    .exp-body p.desc {
        font-size: 15px;
    }

    .agent-viz {
        aspect-ratio: 1;
    }

    /* Vision */
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .vision-lines {
        font-size: clamp(32px, 9vw, 44px);
        max-width: none;
    }

    .vision-lines br {
        display: none;
    }

    .vision-body {
        font-size: 15px;
    }

    /* Build cards */
    .build-card {
        padding: 22px;
        min-height: 0;
    }

    .build-card h4 {
        font-size: 22px;
    }

    /* Tweaks panel — make it smaller + movable to bottom sheet */
    .tweaks-panel {
        right: 12px;
        bottom: 12px;
        left: 12px;
        min-width: 0;
        padding: 14px;
    }

    /* Footer */
    footer.site {
        padding: 40px 0 28px;
    }

    footer.site .inner {
        gap: 32px;
    }

    footer.site .bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        font-size: 10.5px;
    }

    footer.site .links {
        flex-wrap: wrap;
        gap: 16px;
    }
}

/* Very small phones */
@media (max-width: 380px) {
    .display.xl {
        font-size: 40px;
    }

    section {
        padding: 60px 0;
    }
}
