@font-face {
    font-family: "Inter";
    src: url("fonts/inter-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: optional;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("fonts/space-grotesk-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 500 700;
    font-display: optional;
}

:root {
    --ink: #f5f7f8;
    --muted: #a5adb8;
    --dim: #747d89;
    --night: #07090d;
    --night-soft: #0c1016;
    --panel: #111720;
    --panel-light: #161e29;
    --line: rgba(255, 255, 255, .12);
    --orange: #ff5a24;
    --orange-bright: #ff7548;
    --cyan: #55d9df;
    --cyan-soft: rgba(85, 217, 223, .16);
    --max: 1240px;
    --header: 82px;
    --radius: 22px;
    --display: "Space Grotesk", "Arial Narrow", sans-serif;
    --body: system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header) + 18px);
    background: var(--night);
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        radial-gradient(circle at 78% 2%, rgba(85, 217, 223, .06), transparent 27rem),
        radial-gradient(circle at 14% 32%, rgba(255, 90, 36, .05), transparent 34rem),
        var(--night);
    font-family: var(--body);
    font-size: 17px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

img, video { display: block; max-width: 100%; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }

button, input { font: inherit; }

button { color: inherit; }

::selection { color: #fff; background: var(--orange); }

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: var(--night);
    background: var(--cyan);
    border-radius: 6px;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.page-progress {
    position: fixed;
    z-index: 120;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: transparent;
    pointer-events: none;
}

.page-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--cyan));
    transform: scaleX(0);
    transform-origin: left center;
}

.site-header {
    position: fixed;
    z-index: 110;
    inset: 0 0 auto;
    height: var(--header);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(24px, calc((100vw - var(--max)) / 2));
    border-bottom: 1px solid transparent;
    transition: height .25s ease, background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-header.is-scrolled,
body:not([data-page="home"]) .site-header {
    height: 68px;
    background: rgba(7, 9, 13, .83);
    border-color: var(--line);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    height: 60px;
    text-decoration: none;
}

.brand img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .35));
}

.site-header.is-scrolled .brand,
body:not([data-page="home"]) .site-header .brand {
    height: 50px;
}

.site-nav { display: flex; align-items: center; gap: 28px; }

.site-nav a {
    color: #d8dce2;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: .015em;
    text-decoration: none;
    transition: color .2s ease;
}

.site-nav > a:hover { color: #fff; }

.site-nav .nav-cta {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 19px;
    color: #fff;
    background: rgba(255, 90, 36, .12);
    border: 1px solid rgba(255, 117, 72, .52);
    border-radius: 999px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.nav-toggle > span:not(.sr-only) {
    display: block;
    height: 1px;
    margin: 5px 0;
    background: #fff;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--orange-bright);
    font-size: 12px;
    line-height: 1.3;
    font-weight: 750;
    letter-spacing: .19em;
    text-transform: uppercase;
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--display);
    line-height: 1.04;
    letter-spacing: -.04em;
}

h1 { font-size: clamp(50px, 7.6vw, 116px); }
h2 { font-size: clamp(40px, 5.3vw, 78px); }
h3 { font-size: clamp(27px, 3vw, 44px); }

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: #05070a;
}

.hero-media,
.hero noscript {
    position: absolute;
    z-index: -4;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-vignette {
    position: absolute;
    z-index: -3;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 7, 10, .93) 0%, rgba(5, 7, 10, .62) 43%, rgba(5, 7, 10, .12) 72%),
        linear-gradient(0deg, var(--night) 0%, transparent 26%, rgba(0, 0, 0, .16) 100%);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -2;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, #000, transparent 70%);
}

.hero-content {
    width: min(860px, calc(100% - 48px));
    margin: 0 max(24px, calc((100vw - var(--max)) / 2));
    padding: 180px 0 13vh;
}

.hero h1 { max-width: 850px; text-wrap: balance; }

.hero-lede {
    max-width: 720px;
    margin: 28px 0 36px;
    color: #d1d6dd;
    font-size: clamp(18px, 1.7vw, 22px);
    line-height: 1.65;
}

.hero-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(85, 217, 223, .3);
    border-radius: 50%;
    box-shadow: 0 0 65px rgba(85, 217, 223, .08), inset 0 0 65px rgba(85, 217, 223, .05);
    pointer-events: none;
}

.hero-orbit-one { right: -13vw; bottom: -33vw; width: 70vw; height: 70vw; }
.hero-orbit-two { right: 2vw; bottom: -19vw; width: 43vw; height: 43vw; border-color: rgba(255, 90, 36, .24); }

.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }

.button {
    --button-padding-inline: 26px;
    min-height: 56px;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 13px var(--button-padding-inline);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -.01em;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
    color: #fff;
    background: linear-gradient(120deg, var(--orange), #ff784a);
    box-shadow: 0 12px 34px rgba(255, 90, 36, .23);
}

.button-primary:hover { box-shadow: 0 16px 42px rgba(255, 90, 36, .34); }

.button-ghost { background: rgba(7, 9, 13, .5); border-color: rgba(255, 255, 255, .3); }
.button-ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .62); }
.play-icon { color: var(--cyan); font-size: 12px; }
.text-link { color: var(--cyan); font-size: 14px; font-weight: 700; }

.scroll-cue {
    position: absolute;
    right: max(24px, calc((100vw - var(--max)) / 2));
    bottom: 44px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .15em;
    text-decoration: none;
    text-transform: uppercase;
    writing-mode: vertical-rl;
}

.scroll-cue i { display: block; width: 1px; height: 54px; background: linear-gradient(var(--cyan), transparent); }

.proof-strip {
    position: relative;
    z-index: 3;
    width: min(var(--max), calc(100% - 48px));
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: -1px auto 0;
    border-block: 1px solid var(--line);
}

.proof-strip div { padding: 28px 24px; border-right: 1px solid var(--line); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { display: block; font-family: var(--display); font-size: clamp(25px, 3vw, 40px); letter-spacing: -.04em; }
.proof-strip span { color: var(--muted); font-size: 13px; }

.section {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
    padding: clamp(100px, 13vw, 180px) 0;
}

.section-heading { max-width: 850px; margin-bottom: clamp(56px, 8vw, 100px); }
.section-heading h2 { text-wrap: balance; }
.section-heading > p:last-child { max-width: 720px; margin: 26px 0 0; color: var(--muted); font-size: 19px; }

.section-link { margin: 60px 0 0; color: var(--muted); }
.section-link a { color: var(--cyan); }

.how-story { display: grid; grid-template-columns: minmax(360px, .85fr) 1.15fr; gap: clamp(50px, 9vw, 140px); }

.how-visual {
    position: sticky;
    top: 110px;
    align-self: start;
    min-height: 540px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle, rgba(85, 217, 223, .08), transparent 62%);
}

.how-visual > p {
    position: absolute;
    right: 10px;
    bottom: 20px;
    margin: 0;
    color: var(--dim);
    font: 600 12px var(--display);
    letter-spacing: .12em;
}

.room-map {
    position: relative;
    width: min(78vw, 380px);
    aspect-ratio: 1;
    border: 1px solid rgba(85, 217, 223, .32);
    box-shadow: inset 0 0 80px rgba(85, 217, 223, .08), 0 0 80px rgba(85, 217, 223, .06);
    transform: rotateX(58deg) rotateZ(-28deg);
    transition: transform .8s cubic-bezier(.2,.75,.2,1);
}

.room-boundary { position: absolute; inset: 11%; border: 2px solid rgba(255,255,255,.7); }
.room-path { position: absolute; display: block; border: 2px solid var(--orange); transition: inset .8s ease, transform .8s ease; }
.room-path-one { inset: 23% 25% 50% 20%; border-bottom: 0; }
.room-path-two { inset: 50% 18% 19% 43%; border-top: 0; border-color: var(--cyan); }
.walker-dot { position: absolute; left: 20%; top: 59%; width: 13px; height: 13px; background: #fff; border-radius: 50%; box-shadow: 0 0 24px #fff; transition: left .8s ease, top .8s ease; }
.portal-door { position: absolute; left: 44%; top: 44%; width: 16%; height: 3px; background: var(--orange); box-shadow: 0 0 20px var(--orange); }

[data-how-story][data-active="1"] .room-map { transform: rotateX(58deg) rotateZ(2deg) scale(.94); }
[data-how-story][data-active="1"] .room-path-one { inset: 18% 18% 56% 29%; transform: rotate(90deg); }
[data-how-story][data-active="1"] .room-path-two { inset: 53% 24% 17% 31%; }
[data-how-story][data-active="1"] .walker-dot { left: 46%; top: 45%; }
[data-how-story][data-active="2"] .room-map { transform: rotateX(48deg) rotateZ(42deg) scale(1.04); }
[data-how-story][data-active="2"] .room-path-one { inset: 17% 37% 41% 17%; transform: rotate(-90deg); }
[data-how-story][data-active="2"] .room-path-two { inset: 43% 15% 15% 42%; transform: rotate(90deg); }
[data-how-story][data-active="2"] .walker-dot { left: 71%; top: 68%; }

.how-step { min-height: 58vh; display: flex; flex-direction: column; justify-content: center; border-top: 1px solid var(--line); opacity: .38; transition: opacity .35s ease; }
.how-step:last-child { border-bottom: 1px solid var(--line); }
.how-step.is-active { opacity: 1; }
.how-step > span { margin-bottom: 22px; color: var(--cyan); font: 600 12px var(--display); letter-spacing: .15em; }
.how-step h3 { margin-bottom: 18px; }
.how-step p { max-width: 600px; margin: 0; color: var(--muted); }

.worlds-section { width: 100%; max-width: none; padding-bottom: 0; }
.worlds-section > .section-heading { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.portal-story { display: grid; grid-template-columns: 43% 57%; align-items: start; }

.portal-stage {
    position: sticky;
    top: 0;
    height: 100svh;
    display: grid;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at center, rgba(85,217,223,.11), transparent 42%),
        linear-gradient(150deg, #080b10, #030507);
    border-block: 1px solid var(--line);
}

.portal-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle, #000, transparent 72%);
}

.portal-render {
    position: absolute;
    width: min(41vw, 720px);
    opacity: 0;
    transform: scale(.88) rotate(-2deg);
    filter: drop-shadow(0 0 45px rgba(85,217,223,.1));
    transition: opacity .65s ease, transform .9s cubic-bezier(.2,.75,.2,1), filter .65s ease;
}

.portal-render img { width: 100%; height: auto; }
.portal-render.is-active { opacity: 1; transform: scale(1) rotate(0); filter: drop-shadow(0 0 55px rgba(85,217,223,.22)); }
.portal-glow { position: absolute; width: 30%; aspect-ratio: 1; background: var(--cyan); border-radius: 50%; filter: blur(110px); opacity: .08; }
.portal-label { position: absolute; left: 40px; bottom: 28px; margin: 0; font: 600 12px var(--display); letter-spacing: .12em; text-transform: uppercase; }
.portal-label span { margin-right: 14px; color: var(--orange); }

.portal-chapters { background: #0c1016; border-left: 1px solid var(--line); }

.portal-chapter {
    min-height: 115svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(70px, 9vw, 130px) clamp(32px, 7vw, 110px);
    border-bottom: 1px solid var(--line);
    opacity: .48;
    transition: opacity .35s ease;
}

.portal-chapter.is-active { opacity: 1; }
.chapter-copy { max-width: 640px; margin-bottom: 42px; }
.chapter-copy h3 { margin-bottom: 20px; }
.chapter-copy > p:last-child { color: var(--muted); }
.portal-chapter picture { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: #000; }
.portal-chapter picture img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform 1.2s ease; }
.portal-chapter.is-active picture img { transform: scale(1.025); }

.features-section { padding-block: clamp(120px, 15vw, 210px); }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature-card { min-height: 330px; padding: clamp(32px, 5vw, 64px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-card > span { color: var(--orange); font: 600 12px var(--display); letter-spacing: .14em; }
.feature-card h3 { margin: 52px 0 20px; }
.feature-card p { max-width: 470px; margin: 0; color: var(--muted); }

.builder-section {
    position: relative;
    min-height: 900px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    gap: clamp(40px, 8vw, 120px);
    align-items: center;
    padding: clamp(100px, 12vw, 180px) max(24px, calc((100vw - var(--max)) / 2));
    overflow: hidden;
    background: linear-gradient(135deg, #14100e, #0b1016 58%, #071012);
    border-block: 1px solid var(--line);
}

.builder-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 48%, rgba(255,90,36,.14), transparent 30%), radial-gradient(circle at 86% 28%, rgba(85,217,223,.1), transparent 34%); pointer-events: none; }
.builder-portal { position: absolute; right: -22vw; top: -22vw; width: 60vw; opacity: .17; filter: saturate(.7); transform: rotate(12deg); }
.builder-copy, .builder-media { position: relative; z-index: 1; }
.builder-copy h2 { max-width: 700px; }
.builder-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.builder-manifesto { margin: 38px 0 !important; font-family: var(--display); font-size: clamp(23px, 3vw, 38px); line-height: 1.2; letter-spacing: -.035em; }
.builder-manifesto strong { color: var(--cyan); }
.builder-media video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #050608; border: 1px solid rgba(85,217,223,.24); box-shadow: 0 32px 80px rgba(0,0,0,.42); }
.builder-media > p { margin: 15px 0 0; color: var(--dim); font-size: 13px; }

.reviews-section { padding-bottom: 80px; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review-card { min-height: 420px; display: flex; flex-direction: column; margin: 0; padding: 38px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); border: 1px solid var(--line); border-radius: var(--radius); }
.review-card > div { color: var(--orange); letter-spacing: .2em; }
.review-card blockquote { margin: 54px 0 40px; font: 500 clamp(19px, 1.8vw, 25px)/1.55 var(--display); letter-spacing: -.025em; }
.review-card figcaption { margin-top: auto; color: var(--muted); font-size: 13px; }

.faq-section { max-width: 1040px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 25px 58px 25px 0; font: 600 clamp(18px, 2vw, 23px) var(--display); letter-spacing: -.02em; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; top: 19px; color: var(--cyan); font-size: 28px; font-weight: 300; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { max-width: 820px; margin: 0; padding: 0 55px 28px 0; color: var(--muted); }
.faq-list a { color: var(--cyan); }

.closing-cta {
    position: relative;
    min-height: 72vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--line);
}

.closing-cta h2 { max-width: 1000px; }
.closing-cta > p:not(.eyebrow) { color: var(--muted); font-size: 20px; }
.closing-cta .button-row { justify-content: center; margin-top: 24px; }
.closing-rings { position: absolute; z-index: -1; width: min(88vw, 1050px); aspect-ratio: 1; border: 1px solid rgba(85,217,223,.12); border-radius: 50%; box-shadow: 0 0 100px rgba(85,217,223,.07), inset 0 0 100px rgba(255,90,36,.04); }
.closing-rings::before, .closing-rings::after { content: ""; position: absolute; border: 1px solid rgba(255,90,36,.14); border-radius: 50%; }
.closing-rings::before { inset: 13%; }
.closing-rings::after { inset: 29%; border-color: rgba(85,217,223,.18); }

.trailer-dialog {
    width: min(1120px, calc(100% - 32px));
    max-height: calc(100dvh - 32px);
    padding: 0;
    color: var(--ink);
    background: #080b10;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 12px;
    box-shadow: 0 40px 120px #000;
}

.trailer-dialog::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(8px); }
.dialog-bar { min-height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px 12px 24px; }
.dialog-bar .eyebrow { margin-bottom: 4px; font-size: 9px; }
.dialog-bar h2 { font-size: 24px; }
.dialog-close { width: 46px; height: 46px; color: #fff; background: transparent; border: 1px solid var(--line); border-radius: 50%; font-size: 30px; line-height: 1; cursor: pointer; }
.trailer-dialog video { width: 100%; max-height: calc(100dvh - 120px); background: #000; }

.site-footer {
    position: relative;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(250px, .68fr) minmax(0, 1.32fr);
    column-gap: clamp(56px, 7vw, 112px);
    row-gap: 30px;
    margin: 0;
    padding: clamp(54px, 5vw, 68px) max(24px, calc((100vw - var(--max)) / 2)) 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 0, rgba(85, 217, 223, .09), transparent 27rem),
        radial-gradient(circle at 92% 112%, rgba(255, 90, 36, .07), transparent 25rem),
        #0d2631;
    border-top: 1px solid var(--line);
}

.footer-mark { align-self: start; padding-top: 2px; }
.footer-mark img { width: 154px; height: auto; margin: 0 0 17px; filter: brightness(0) invert(1); opacity: .94; }
.footer-mark p { max-width: 290px; margin: 0; color: #c3ccd2; font-family: var(--display); font-size: 18px; line-height: 1.45; }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 58px); align-self: start; }
.footer-links h2 { margin: 3px 0 15px; color: var(--dim); font: 700 10px var(--display); letter-spacing: .18em; text-transform: uppercase; }
.footer-links a { display: block; width: fit-content; margin: 7px 0; color: #c9d2d7; font-size: 13px; line-height: 1.45; text-decoration: none; transition: color .2s ease, transform .2s ease; }
.footer-links a:hover { color: var(--cyan); transform: translateX(2px); }
.footer-fineprint { grid-column: 1 / -1; margin: 0; padding-top: 18px; color: #7f8d96; border-top: 1px solid rgba(255,255,255,.1); font-size: 11px; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.75,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Evergreen guide pages */
.guide-hero {
    position: relative;
    min-height: clamp(580px, 58svh, 680px);
    display: flex;
    align-items: flex-end;
    padding: calc(var(--header) + 64px) max(24px, calc((100vw - var(--max)) / 2)) 68px;
    overflow: hidden;
    background: linear-gradient(130deg, #10161e, #07090d 62%);
    border-bottom: 1px solid var(--line);
}

.guide-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 83% 38%, rgba(85,217,223,.13), transparent 26%), radial-gradient(circle at 69% 78%, rgba(255,90,36,.11), transparent 28%); }
.guide-hero-inner { position: relative; z-index: 1; max-width: 980px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; color: var(--dim); font-size: 12px; }
.breadcrumbs a { color: var(--muted); }
.guide-hero h1 { max-width: 1050px; font-size: clamp(46px, 6.5vw, 94px); text-wrap: balance; }
.guide-deck { max-width: 790px; margin: 30px 0 24px; color: #c5cbd3; font-size: clamp(18px, 2vw, 23px); }
.updated { color: var(--dim); font-size: 12px; }

.guide-shell {
    width: min(var(--max), calc(100% - 48px));
    display: grid;
    grid-template-columns: 250px minmax(0, 790px);
    gap: clamp(55px, 9vw, 130px);
    margin: 0 auto;
    padding: 76px 0 120px;
}

.guide-toc { position: sticky; top: 100px; align-self: start; }
.guide-toc > p { color: var(--orange); font: 700 10px var(--display); letter-spacing: .16em; text-transform: uppercase; }
.guide-toc nav { display: flex; flex-direction: column; padding-left: 16px; border-left: 1px solid var(--line); }
.guide-toc nav a { padding: 8px 0; color: var(--dim); font-size: 13px; text-decoration: none; }
.guide-toc nav a:hover { color: var(--cyan); }
.guide-toc .button { width: fit-content; margin-top: 28px; }
.guide-toc a.button { color: #fff; }

.guide-content { min-width: 0; }
.guide-content > section { padding: 20px 0 80px; scroll-margin-top: 100px; }
.guide-content h2 { margin-bottom: 28px; font-size: clamp(34px, 4vw, 54px); }
.guide-content h3 { margin: 44px 0 18px; font-size: clamp(24px, 2.7vw, 34px); }
.guide-content p, .guide-content li { color: #b4bbc4; }
.guide-content p { margin: 0 0 21px; }
.guide-content strong { color: #e8ebee; }
.guide-content a:not(.button) { color: var(--cyan); }
.guide-content ul, .guide-content ol { padding-left: 23px; }
.guide-content li { margin: 10px 0; padding-left: 7px; }
.guide-content figure { margin: 42px 0; }
.guide-content figure picture img, .guide-content figure > img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 8px; }
.guide-content figcaption { margin-top: 12px; color: var(--dim); font-size: 12px; line-height: 1.55; }
.guide-content .faq-list { margin-top: 40px; }
.guide-content .faq-list details > p { padding-right: 30px; }

.lead-paragraph { color: #d9dde2 !important; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.55; }

.callout {
    margin: 44px 0;
    padding: 28px 30px;
    background: linear-gradient(130deg, rgba(85,217,223,.08), rgba(255,90,36,.055));
    border: 1px solid rgba(85,217,223,.2);
    border-left: 3px solid var(--cyan);
    border-radius: 4px;
}

.callout p:last-child { margin-bottom: 0; }
.callout-label { margin-bottom: 10px !important; color: var(--cyan) !important; font: 700 10px var(--display); letter-spacing: .16em; text-transform: uppercase; }

.concept-diagram {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
    margin: 45px 0;
    overflow: hidden;
    background: radial-gradient(circle, rgba(85,217,223,.08), transparent 58%), #0b0f14;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.concept-diagram .physical-room {
    position: relative;
    width: 330px;
    aspect-ratio: 1.08;
    overflow: hidden;
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
        rgba(255,255,255,.018);
    background-size: 12.5% 12.5%;
    border: 2px solid rgba(255,255,255,.68);
    box-shadow: inset 0 0 45px rgba(85,217,223,.035), 0 30px 65px rgba(0,0,0,.28);
    transform: rotateX(54deg) rotateZ(-30deg);
}
.concept-diagram .virtual-room {
    position: absolute;
    z-index: 2;
    width: 72%;
    height: 38%;
    border: 2px solid #7de6ee;
    background: rgba(85,217,223,.1);
    box-shadow: inset 0 0 24px rgba(85,217,223,.06);
    mix-blend-mode: screen;
}
.concept-diagram .virtual-room:nth-child(1) { left: 7%; top: 13%; }
.concept-diagram .virtual-room:nth-child(2) { left: 21%; top: 31%; border-color: #ff7142; background: rgba(255,90,36,.1); }
.concept-diagram .virtual-room:nth-child(3) { left: 13%; top: 49%; border-color: #b9ea78; background: rgba(166,221,114,.1); }
.concept-diagram .transition-zone {
    position: absolute;
    z-index: 4;
    left: 45%;
    top: 43%;
    width: 17%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(255,255,255,.95) 0 8%, rgba(85,217,223,.42) 9% 27%, rgba(255,90,36,.22) 28% 45%, transparent 47%);
    border: 2px dashed rgba(255,255,255,.9);
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(85,217,223,.08), 0 0 28px rgba(85,217,223,.45);
    animation: transition-pulse 2.8s ease-in-out infinite alternate;
}
@keyframes transition-pulse { to { box-shadow: 0 0 0 13px rgba(85,217,223,.035), 0 0 38px rgba(255,90,36,.36); } }
.concept-diagram .diagram-label { position: absolute; color: var(--dim); font: 600 10px var(--display); letter-spacing: .12em; text-transform: uppercase; }
.concept-diagram .label-real { left: 24px; bottom: 21px; }
.concept-diagram .label-virtual { right: 24px; top: 21px; }
.concept-diagram .diagram-key { position: absolute; right: 24px; bottom: 21px; display: inline-flex; align-items: center; gap: 8px; color: #aab4bd; font: 600 9px var(--display); letter-spacing: .1em; text-transform: uppercase; }
.concept-diagram .diagram-key i { width: 10px; height: 10px; border: 1px dashed #dff; border-radius: 50%; box-shadow: 0 0 10px rgba(85,217,223,.55); }

.comparison-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 36px 0; }
.comparison-card { padding: 27px; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 8px; }
.comparison-card h3 { margin: 0 0 12px; font-size: 23px; }
.comparison-card p:last-child { margin: 0; font-size: 15px; }

.process-list { margin: 45px 0; padding: 0 !important; list-style: none; counter-reset: process; }
.process-list li { position: relative; min-height: 105px; margin: 0 !important; padding: 24px 20px 24px 82px !important; border-top: 1px solid var(--line); counter-increment: process; }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list li::before { content: "0" counter(process); position: absolute; left: 14px; top: 24px; color: var(--orange); font: 600 12px var(--display); letter-spacing: .12em; }
.process-list strong { display: block; margin-bottom: 5px; font-family: var(--display); font-size: 20px; }

.guide-cta {
    margin-top: 50px;
    padding: 48px;
    background: linear-gradient(140deg, rgba(255,90,36,.13), rgba(85,217,223,.08));
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.guide-cta h2 { margin-bottom: 17px; font-size: clamp(31px, 4vw, 47px); }
.guide-cta .button-row { margin-top: 28px; }

@media (max-width: 1040px) {
    :root { --header: 70px; }
    .site-nav { gap: 17px; }
    .site-nav a { font-size: 12px; }
    .portal-story { grid-template-columns: 46% 54%; }
    .review-grid { grid-template-columns: 1fr; }
    .review-card { min-height: 0; }
    .site-footer { grid-template-columns: 1fr; column-gap: 0; row-gap: 34px; }
}

@media (max-width: 820px) {
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 7px;
        padding: 100px 28px 60px;
        background: rgba(7,9,13,.98);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s ease, visibility .2s ease;
    }
    .site-nav a { width: 100%; padding: 10px 0; font: 600 29px var(--display); letter-spacing: -.035em; }
    .site-nav .nav-cta { width: auto; margin-top: 18px; padding: 12px 18px; font: 700 14px var(--body); }
    .nav-open .site-nav { opacity: 1; visibility: visible; }
    .nav-open .nav-toggle { border-color: var(--orange); }
    .proof-strip { grid-template-columns: repeat(2, 1fr); }
    .proof-strip div:nth-child(2) { border-right: 0; }
    .proof-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .how-story { grid-template-columns: 1fr; }
    .how-visual { position: relative; top: 0; min-height: 440px; }
    .how-step { min-height: 380px; }
    .portal-story { display: block; }
    .portal-stage { position: relative; height: min(86vw, 620px); }
    .portal-render { width: min(92vw, 600px); }
    .portal-chapters { border-left: 0; }
    .portal-chapter { min-height: auto; padding: 80px 24px; opacity: 1; }
    .portal-chapter picture { border-radius: 8px; }
    .portal-label { display: none; }
    .feature-grid { grid-template-columns: 1fr; }
    .builder-section { min-height: 0; grid-template-columns: 1fr; }
    .builder-portal { width: 110vw; right: -55vw; top: -35vw; }
    .guide-shell { grid-template-columns: 1fr; }
    .guide-toc { position: relative; top: auto; }
    .guide-toc nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 18px; }
}

@media (max-width: 620px) {
    body { font-size: 16px; }
    .site-header { padding-inline: 18px; }
    .brand,
    .site-header.is-scrolled .brand,
    body:not([data-page="home"]) .site-header .brand { height: 46px; }
    .hero { min-height: 780px; }
    .hero-media { object-position: center; }
    .hero-vignette { background: linear-gradient(0deg, var(--night) 5%, rgba(5,7,10,.7) 57%, rgba(5,7,10,.22)); }
    .hero-content { width: calc(100% - 36px); margin-inline: 18px; padding-bottom: 94px; }
    .hero h1 { font-size: clamp(48px, 15vw, 69px); }
    .hero-lede { margin: 21px 0 27px; font-size: 16px; line-height: 1.55; }
    .hero .button { width: 100%; }
    .hero-orbit-one { width: 120vw; height: 120vw; right: -61vw; bottom: -26vw; }
    .hero-orbit-two { display: none; }
    .scroll-cue { display: none; }
    .proof-strip, .section, .guide-shell { width: calc(100% - 36px); }
    .proof-strip div { padding: 21px 14px; }
    .proof-strip strong { font-size: 25px; }
    .section { padding-block: 92px; }
    .section-heading { margin-bottom: 52px; }
    .section-heading > p:last-child { font-size: 16px; }
    .how-visual { min-height: 350px; }
    .room-map { width: 260px; }
    .how-step { min-height: 340px; }
    .worlds-section > .section-heading { width: calc(100% - 36px); }
    .portal-stage { height: 105vw; max-height: 520px; }
    .portal-chapter { padding-inline: 18px; }
    .feature-card { min-height: 280px; padding: 30px; }
    .feature-card h3 { margin-top: 38px; }
    .builder-section { padding-inline: 18px; }
    .builder-section .button { width: 100%; }
    .review-card { padding: 28px; }
    .review-card blockquote { margin-top: 38px; }
    .faq-list summary { padding-right: 46px; }
    .closing-cta { min-height: 680px; padding-inline: 18px; }
    .closing-cta .button { width: 100%; }
    .site-footer { row-gap: 28px; padding: 38px 18px 20px; }
    .footer-mark img { width: 138px; }
    .footer-mark p { font-size: 16px; }
    .footer-links { grid-template-columns: repeat(2, 1fr); column-gap: 24px; row-gap: 24px; }
    .guide-hero { min-height: auto; padding: calc(var(--header) + 56px) 18px 58px; }
    .guide-hero h1 { font-size: 48px; }
    .guide-shell { padding-top: 52px; }
    .guide-toc nav { grid-template-columns: 1fr; }
    .guide-toc .button,
    .guide-cta .button { width: 100%; }
    .button { --button-padding-inline: 24px; }
    .comparison-grid { grid-template-columns: 1fr; }
    .concept-diagram { min-height: 380px; }
    .concept-diagram .physical-room { width: 250px; }
    .concept-diagram .label-virtual { max-width: 170px; text-align: right; }
    .concept-diagram .diagram-key { right: 18px; bottom: 17px; }
    .guide-cta { padding: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .hero { background-color: var(--night); }
}

@media (prefers-contrast: more) {
    :root { --muted: #d1d5db; --dim: #b0b7c0; --line: rgba(255,255,255,.32); }
}
