:root {
    color-scheme: dark;
    --bg: #080d14;
    --bg-2: #0b1016;
    --panel: #101822;
    --panel-2: #0d141d;
    --line: #1f2a38;
    --line-2: #2b3a4d;
    --text: #e8eff7;
    --muted: #93a7bd;
    --faint: #63758a;
    --blue: #60a5fa;
    --blue-2: #38bdf8;
    --teal: #5eead4;
    --warn: #fbbf24;
    --mono: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas, monospace;
    --sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --sidebar: 15.5rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(1100px 700px at 78% -10%, rgba(96, 165, 250, .16), transparent 60%),
        radial-gradient(900px 600px at 5% 35%, rgba(94, 234, 212, .08), transparent 60%),
        linear-gradient(180deg, #080d14 0%, #0a111a 55%, #070b11 100%);
    font-family: var(--sans);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: #93c5fd; }
code, pre, .mono { font-family: var(--mono); }
::selection { background: rgba(96, 165, 250, .35); }

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar);
    padding: 1.4rem 1rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    background: linear-gradient(180deg, rgba(10, 17, 26, .97), rgba(6, 10, 16, .98));
    border-right: 1px solid var(--line);
    z-index: 30;
}
.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--text);
    font-weight: 650;
    letter-spacing: -.01em;
}
.brand:hover { color: var(--text); }
.brand-mark {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: .65rem;
    display: grid;
    place-items: center;
    font-family: var(--mono);
    font-weight: 700;
    color: #03121a;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 0 28px rgba(96, 165, 250, .45);
}
.brand em {
    font-style: normal;
    color: var(--muted);
    font-weight: 500;
}
.nav { display: grid; gap: .3rem; }
.nav a {
    display: flex;
    align-items: center;
    gap: .6rem;
    padding: .62rem .7rem;
    border: 1px solid transparent;
    border-radius: .55rem;
    color: var(--muted);
    font-size: .86rem;
    letter-spacing: .01em;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .03); }
.nav a.active {
    color: var(--text);
    background: linear-gradient(90deg, rgba(96, 165, 250, .14), rgba(96, 165, 250, .03));
    border-color: rgba(96, 165, 250, .25);
}
.nav-index {
    font-family: var(--mono);
    font-size: .6rem;
    color: var(--faint);
}
.sidebar-foot {
    margin-top: auto;
    display: grid;
    gap: .5rem;
    color: var(--faint);
    font-size: .66rem;
    line-height: 1.5;
}
.sidebar-foot .pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    width: fit-content;
    padding: .2rem .5rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, .02);
}
.dot {
    width: .45rem;
    height: .45rem;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 10px var(--teal);
}
.github-link { font-size: .7rem; color: var(--faint); }
.github-link:hover { color: var(--text); }

.main { margin-left: var(--sidebar); max-width: 100vw; overflow-x: hidden; }
.wrap { width: min(1180px, calc(100% - 4rem)); margin: 0 auto; }

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4rem 0 3rem;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(96, 165, 250, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, .05) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 60% 40%, black 20%, transparent 72%);
    pointer-events: none;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .5;
    pointer-events: none;
}
.orb.a { width: 34rem; height: 34rem; right: -6rem; top: 5rem; background: rgba(96, 165, 250, .22); }
.orb.b { width: 22rem; height: 22rem; left: 18%; bottom: 2rem; background: rgba(94, 234, 212, .12); }
.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: .95fr 1.15fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
    min-width: 0;
}
.hero-grid > * { min-width: 0; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .65rem;
    border: 1px solid rgba(96, 165, 250, .28);
    border-radius: 999px;
    color: var(--blue);
    background: rgba(96, 165, 250, .07);
    font-size: .66rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    font-family: var(--mono);
}
.hero h1 {
    margin: 1.1rem 0 .9rem;
    font-size: clamp(2.6rem, 5vw, 4.5rem);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 700;
}
.hero h1 span {
    background: linear-gradient(90deg, var(--text) 20%, var(--blue) 65%, var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero p {
    max-width: 34rem;
    color: var(--muted);
    font-size: 1.02rem;
}
.hero-actions { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.5rem; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border-radius: .55rem;
    border: 1px solid var(--line-2);
    color: var(--text);
    background: rgba(255, 255, 255, .03);
    font-size: .86rem;
    font-weight: 550;
}
.button:hover { color: var(--text); border-color: var(--blue); background: rgba(96, 165, 250, .08); }
.button.primary {
    color: #04121b;
    border-color: transparent;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: 0 10px 35px rgba(96, 165, 250, .22);
}
.button.primary:hover { color: #04121b; filter: brightness(1.07); }
.hero-note { margin-top: 1.15rem; font-size: .72rem; color: var(--faint); }

.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.4rem; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .28rem .6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    background: rgba(255, 255, 255, .025);
    font-size: .66rem;
}
.chip b { color: var(--text); font-weight: 550; }
.chip.soon { border-style: dashed; color: var(--faint); }

.stage {
    position: relative;
    min-height: 34rem;
    min-width: 0;
    display: grid;
    align-items: center;
}
.desktop {
    position: relative;
    width: min(46rem, 100%);
    aspect-ratio: 16 / 10;
    margin-left: auto;
    border: 1px solid var(--line-2);
    border-radius: .9rem;
    background: linear-gradient(150deg, #0f1824, #0a1018 60%);
    box-shadow:
        0 40px 90px rgba(0, 0, 0, .55),
        0 0 80px rgba(96, 165, 250, .12);
    overflow: hidden;
    transform: perspective(1200px) rotateY(-7deg) rotateX(2deg);
    transform-origin: 60% 50%;
}
.desktop-top {
    height: 2rem;
    display: flex;
    align-items: center;
    gap: .35rem;
    padding: 0 .7rem;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .02);
}
.window-dot { width: .45rem; height: .45rem; border-radius: 50%; background: #334155; }
.desktop-body { display: grid; grid-template-columns: 9rem 1fr; height: calc(100% - 2rem); }
.desktop-side {
    padding: .8rem .55rem;
    border-right: 1px solid var(--line);
    background: rgba(5, 9, 14, .35);
    display: grid;
    align-content: start;
    gap: .3rem;
}
.desktop-side span {
    height: .55rem;
    border-radius: .25rem;
    background: rgba(148, 163, 184, .14);
}
.desktop-side span:nth-child(1) { width: 80%; background: rgba(96, 165, 250, .35); }
.desktop-side span:nth-child(3) { width: 65%; }
.desktop-side span:nth-child(5) { width: 72%; }
.desktop-main { padding: .75rem; display: grid; gap: .65rem; grid-template-rows: auto 1fr auto; }
.desktop-head { display: flex; justify-content: space-between; align-items: center; }
.desktop-head strong { font-size: .62rem; color: var(--muted); font-weight: 500; }
.desktop-head i { width: 4.5rem; height: .5rem; border-radius: .2rem; background: rgba(96, 165, 250, .25); }
.desktop-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: .65rem; }
.panel {
    border: 1px solid var(--line);
    border-radius: .55rem;
    background: rgba(10, 17, 24, .75);
    padding: .65rem;
    display: grid;
    gap: .5rem;
    align-content: start;
}
.panel-title { font-size: .58rem; color: var(--faint); letter-spacing: .12em; text-transform: uppercase; }
.panel-line { height: .45rem; border-radius: .2rem; background: rgba(148, 163, 184, .13); }
.panel-line.short { width: 62%; }
.chart { width: 100%; height: 8.5rem; }
.chart path.line {
    fill: none;
    stroke: var(--blue);
    stroke-width: 2;
    filter: drop-shadow(0 0 5px rgba(96, 165, 250, .7));
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: draw 2.4s ease forwards;
}
.chart path.area { fill: url(#chartfill); opacity: .35; }
.chart path.grid { stroke: rgba(148, 163, 184, .12); stroke-width: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.desktop-cards { display: grid; gap: .45rem; }
.mini-card {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .5rem;
    border: 1px solid var(--line);
    border-radius: .45rem;
    background: rgba(255, 255, 255, .02);
}
.mini-card i { width: .55rem; height: .55rem; border-radius: .18rem; background: var(--teal); box-shadow: 0 0 10px rgba(94, 234, 212, .6); }
.mini-card span { height: .4rem; flex: 1; border-radius: .2rem; background: rgba(148, 163, 184, .14); }

.phone {
    position: absolute;
    right: 0;
    bottom: 0.5rem;    width: 14rem;
    aspect-ratio: 9 / 18.5;
    border: 7px solid #0c121a;
    border-radius: 2.2rem;
    background: #05080d;
    box-shadow:
        0 35px 80px rgba(0, 0, 0, .65),
        0 0 60px rgba(96, 165, 250, .2),
        inset 0 0 0 1px rgba(148, 163, 184, .2);
    overflow: hidden;
    transform: rotate(2deg);
    animation: float 7s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: rotate(2deg) translateY(0); }
    50% { transform: rotate(2deg) translateY(-9px); }
}
.phone::before {
    content: "";
    position: absolute;
    top: .35rem;
    left: 50%;
    transform: translateX(-50%);
    width: 5.5rem;
    height: .8rem;
    border-radius: 999px;
    background: #05080d;
    z-index: 2;
}
.phone-screen {
    position: absolute;
    inset: .35rem;
    border-radius: 1.8rem;
    background:
        radial-gradient(120% 60% at 50% 0%, rgba(96, 165, 250, .16), transparent 60%),
        linear-gradient(180deg, #0b1420, #070b11);
    padding: 2.1rem .7rem .8rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.phone-top { display: flex; justify-content: space-between; align-items: center; padding: 0 .2rem; }
.phone-top strong { font-size: .55rem; color: var(--muted); font-weight: 550; }
.phone-top .dot { width: .35rem; height: .35rem; }
.bubble {
    max-width: 92%;
    padding: .5rem .6rem;
    border-radius: .7rem;
    font-size: .55rem;
    line-height: 1.45;
    color: var(--text);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
}
.bubble.user {
    align-self: flex-end;
    border-color: rgba(96, 165, 250, .3);
    background: rgba(96, 165, 250, .13);
}
.bubble.agent {
    align-self: flex-start;
    border-color: rgba(94, 234, 212, .22);
    background: rgba(94, 234, 212, .06);
}
.bubble small { display: block; margin-top: .3rem; color: var(--faint); font-size: .45rem; }
.phone-chips { margin-top: auto; display: flex; gap: .3rem; flex-wrap: wrap; }
.phone-chips span {
    font-size: .42rem;
    padding: .18rem .35rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: var(--muted);
}
.phone-chips .live { color: var(--teal); border-color: rgba(94, 234, 212, .35); }
.phone-input {
    height: 1.55rem;
    border: 1px solid var(--line);
    border-radius: .5rem;
    background: rgba(255, 255, 255, .03);
    display: flex;
    align-items: center;
    padding: 0 .45rem;
    color: var(--faint);
    font-size: .45rem;
}

.section { padding: 5rem 0; position: relative; }
.section-head { max-width: 44rem; margin-bottom: 2rem; }
.section-head h2 { margin: .5rem 0 .6rem; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.035em; line-height: 1.05; }
.section-head p { color: var(--muted); margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.feature {
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: .75rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
    min-height: 10.5rem;
}
.feature .icon {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: .55rem;
    color: var(--blue);
    background: rgba(96, 165, 250, .1);
    border: 1px solid rgba(96, 165, 250, .22);
    font-family: var(--mono);
    font-size: .7rem;
}
.feature h3 { margin: 1rem 0 .45rem; font-size: 1rem; letter-spacing: -.015em; }
.feature p { margin: 0; color: var(--muted); font-size: .82rem; }
.feature .tag { display: inline-block; margin-top: .8rem; font-size: .62rem; color: var(--faint); font-family: var(--mono); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.mode-card {
    padding: 1.3rem;
    border: 1px solid var(--line);
    border-radius: .8rem;
    background: rgba(255, 255, 255, .02);
}
.mode-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.mode-card p { margin: 0; color: var(--muted); font-size: .84rem; }
.mode-card .badge { font-family: var(--mono); font-size: .6rem; color: var(--blue); }
.mode-card.soon { border-style: dashed; }
.mode-card.soon .badge { color: var(--warn); }

.quick {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 1.5rem;
    align-items: start;
}
pre.code {
    margin: 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: .7rem;
    background: rgba(4, 8, 12, .65);
    color: #cbd5e1;
    font-size: .74rem;
    line-height: 1.7;
    overflow: auto;
}
pre.code .cmd { color: var(--teal); }
pre.code .comment { color: var(--faint); }
.note {
    padding: .85rem 1rem;
    border-left: 2px solid var(--blue);
    background: rgba(96, 165, 250, .06);
    border-radius: 0 .5rem .5rem 0;
    color: var(--muted);
    font-size: .8rem;
}

footer {
    margin-left: 0;
    border-top: 1px solid var(--line);
    padding: 2rem 0 3rem;
    color: var(--faint);
    font-size: .72rem;
}
footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Wiki */
.wiki-layout {
    display: grid;
    grid-template-columns: 15rem minmax(0, 1fr);
    gap: 2.4rem;
    align-items: start;
    padding: 3.2rem 0 4rem;
}
.toc {
    position: sticky;
    top: 1.5rem;
    border: 1px solid var(--line);
    border-radius: .7rem;
    background: rgba(255, 255, 255, .02);
    padding: .8rem;
}
.toc strong {
    display: block;
    margin-bottom: .5rem;
    font-size: .62rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--faint);
    font-family: var(--mono);
}
.toc a {
    display: block;
    padding: .32rem .45rem;
    border-radius: .35rem;
    color: var(--muted);
    font-size: .74rem;
}
.toc a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.wiki-content { min-width: 0; }
.wiki-content h1 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.04em; margin: 0 0 .6rem; }
.wiki-content h2 { margin: 3rem 0 .7rem; font-size: 1.45rem; letter-spacing: -.025em; scroll-margin-top: 1.5rem; }
.wiki-content h3 { margin: 1.5rem 0 .4rem; font-size: 1rem; }
.wiki-content p, .wiki-content li { color: var(--muted); font-size: .88rem; }
.wiki-content ul { padding-left: 1.15rem; }
.wiki-content li { margin: .25rem 0; }
.wiki-content code {
    padding: .1rem .3rem;
    border: 1px solid var(--line);
    border-radius: .3rem;
    background: rgba(255, 255, 255, .04);
    font-size: .78rem;
}
.wiki-content pre code { border: 0; background: none; padding: 0; }
.wiki-content .lead { font-size: 1rem; color: var(--text); }
.wiki-content table { width: 100%; border-collapse: collapse; margin: .8rem 0 1.2rem; font-size: .8rem; }
.wiki-content th, .wiki-content td { padding: .55rem .65rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.wiki-content th { background: rgba(255, 255, 255, .03); color: var(--text); font-weight: 550; }
.wiki-content td { color: var(--muted); }
.wiki-content .callout {
    margin: 1rem 0;
    padding: .85rem 1rem;
    border: 1px solid rgba(96, 165, 250, .22);
    border-left: 2px solid var(--blue);
    border-radius: 0 .55rem .55rem 0;
    background: rgba(96, 165, 250, .05);
    color: var(--muted);
    font-size: .82rem;
}
.wiki-content .callout.warn {
    border-color: rgba(251, 191, 36, .25);
    border-left-color: var(--warn);
    background: rgba(251, 191, 36, .05);
}
.wiki-content .callout.soon {
    border-color: rgba(251, 191, 36, .2);
    border-left-color: var(--warn);
    background: rgba(251, 191, 36, .04);
}

@media (max-width: 1100px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
    .stage { min-height: 30rem; }
    .desktop { width: 90%; }
    .phone { right: 0; }
    .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
    .sidebar {
        position: static;
        width: 100%;
        max-width: 100vw;
        min-width: 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: .75rem 1rem;
        overflow: hidden;
    }
    .brand { flex: 0 0 auto; }
    .nav { display: flex; gap: .2rem; min-width: 0; flex: 1 1 auto; overflow-x: auto; max-width: none; }
    .nav a { padding: .4rem .55rem; }
    .nav-index { display: none; }
    .sidebar-foot { display: none; }
    .main { margin-left: 0; }
    .wrap { width: min(100% - 2rem, 1180px); }
    .hero { min-height: auto; padding-top: 2.5rem; }
    .features, .split, .quick { grid-template-columns: 1fr; }
    .wiki-layout { grid-template-columns: 1fr; padding-top: 2rem; }
    .toc { position: static; }
    .stage { min-height: 27rem; }
    .desktop { transform: none; width: 100%; }
    .phone { width: 11.5rem; right: 0; bottom: -1rem; }
}
@media (max-width: 520px) {
    .brand em { display: none; }
    .hero h1 { font-size: 2.2rem; }
    .stage { min-height: 24rem; }
    .phone { width: 9.5rem; }
    .desktop-side { display: none; }
    .desktop-body { grid-template-columns: 1fr; }
    .desktop-grid { grid-template-columns: 1fr; }
    .chart { height: 6rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* --- Guide shell ---------------------------------------------------- */
.nav-group {
    margin: 1rem 0 .25rem;
    padding: 0 .7rem;
    font-family: var(--mono);
    font-size: .58rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--faint);
}
.sidebar { overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.sidebar::-webkit-scrollbar { width: 6px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
    margin-bottom: 1.4rem;
    font-family: var(--mono);
    font-size: .68rem;
    color: var(--faint);
}
.breadcrumb a { color: var(--faint); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb span { color: var(--line-2); }

.wiki-hero {
    position: relative;
    padding: 4.4rem 0 2.4rem;
    border-bottom: 1px solid var(--line);
}
.wiki-hero h1 {
    margin: .5rem 0 .7rem;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    letter-spacing: -.045em;
    line-height: 1.02;
}
.wiki-hero p { max-width: 46rem; color: var(--muted); font-size: 1rem; }
.wiki-hero .hero-actions { margin-top: 1.4rem; }

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .9rem;
    margin: 1.4rem 0 .4rem;
}
.guide-card {
    display: block;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: .85rem;
    background: linear-gradient(180deg, rgba(16, 24, 34, .78), rgba(10, 16, 24, .65));
    color: var(--text);
    transition: border-color .15s ease, transform .15s ease;
}
.guide-card:hover { color: var(--text); border-color: var(--line-2); transform: translateY(-2px); }
.guide-card .kicker {
    font-family: var(--mono);
    font-size: .58rem;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--blue);
}
.guide-card h3 { margin: .5rem 0 .35rem; font-size: 1rem; letter-spacing: -.015em; }
.guide-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.guide-card .meta { display: block; margin-top: .75rem; color: var(--faint); font-family: var(--mono); font-size: .62rem; }
.guide-card.gpu { border-color: rgba(94, 234, 212, .25); }
.guide-card.gpu .kicker { color: var(--teal); }

.steps { display: grid; gap: .9rem; margin: 1rem 0 1.4rem; padding: 0; list-style: none; counter-reset: step; }
.steps > li {
    position: relative;
    padding: .95rem 1rem .95rem 3.2rem;
    border: 1px solid var(--line);
    border-radius: .75rem;
    background: rgba(16, 24, 34, .55);
    color: var(--muted);
    font-size: .86rem;
}
.steps > li::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: .9rem;
    top: .85rem;
    width: 1.6rem;
    height: 1.6rem;
    display: grid;
    place-items: center;
    border-radius: .45rem;
    border: 1px solid var(--line-2);
    color: var(--blue);
    font-family: var(--mono);
    font-size: .62rem;
    background: rgba(96, 165, 250, .06);
}
.steps > li strong { color: var(--text); font-weight: 550; }
.steps > li p { margin: .35rem 0 0; }
.steps > li code { font-size: .78rem; }

.checklist { display: grid; gap: .45rem; margin: .8rem 0 1.2rem; padding: 0; list-style: none; }
.checklist li { position: relative; padding-left: 1.5rem; color: var(--muted); font-size: .86rem; }
.checklist li::before {
    content: "";
    position: absolute;
    left: .25rem;
    top: .55rem;
    width: .55rem;
    height: .3rem;
    border-left: 2px solid var(--teal);
    border-bottom: 2px solid var(--teal);
    transform: rotate(-45deg);
}

.wiki-content .callout.ok { border-left-color: var(--teal); background: rgba(94, 234, 212, .04); }
.wiki-content .callout.danger { border-left-color: #fb7185; background: rgba(251, 113, 133, .05); }
.wiki-content .callout strong { color: var(--text); }

.table-wrap { overflow-x: auto; margin: .8rem 0 1.2rem; }
.table-wrap table { margin: 0; min-width: 46rem; }
.wiki-content table th:first-child,
.wiki-content table td:first-child { min-width: 11rem; }

.pill-row { display: flex; flex-wrap: wrap; gap: .4rem; margin: .8rem 0 1.2rem; }
.pill-row .pill {
    padding: .25rem .55rem;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: .62rem;
}
.pill-row .pill.gpu { color: var(--teal); border-color: rgba(94, 234, 212, .3); }
.pill-row .pill.warn { color: var(--warn); border-color: rgba(251, 191, 36, .3); }

.badge-row { display: flex; flex-wrap: wrap; gap: .45rem; margin: .75rem 0 1rem; }
.badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .6rem;
    border: 1px solid var(--line-2);
    border-radius: .45rem;
    font-family: var(--mono);
    font-size: .6rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
.badge.gpu { color: var(--teal); border-color: rgba(94, 234, 212, .3); }
.badge.warn { color: var(--warn); border-color: rgba(251, 191, 36, .3); }
.badge.blue { color: var(--blue); border-color: rgba(96, 165, 250, .3); }

.kbd {
    display: inline-block;
    padding: .08rem .35rem;
    border: 1px solid var(--line-2);
    border-bottom-width: 2px;
    border-radius: .3rem;
    background: rgba(255, 255, 255, .03);
    font-family: var(--mono);
    font-size: .72rem;
    color: var(--text);
}

.signup-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
    margin: 1rem 0 .45rem;
}.signup-row .referral-label {
    font-family: var(--mono);
    font-size: .62rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--faint);
}
.signup-row .button { font-size: .78rem; }
.referral-note {
    margin: 0 0 1rem;
    color: var(--faint);
    font-size: .68rem;
}
.referral-note a { color: var(--faint); text-decoration: underline; }
.referral-note a:hover { color: var(--text); }

.top-links {
    position: absolute;
    top: .9rem;
    right: 1.1rem;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--mono);
    font-size: .62rem;
}
.top-links a {
    padding: .22rem .55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(8, 13, 20, .72);
    backdrop-filter: blur(8px);
    color: var(--faint);
}
.top-links a:hover { color: var(--text); border-color: var(--line-2); }
.top-links .sponsor { color: var(--teal); border-color: rgba(94, 234, 212, .3); }
.top-links .sponsor:hover { border-color: rgba(94, 234, 212, .55); background: rgba(94, 234, 212, .07); }
@media (max-width: 820px) {
    .top-links { display: none; }
}

a.phone { color: inherit; text-decoration: none; }
a.phone:hover { border-color: rgba(94, 234, 212, .45); }
a.phone:focus-visible { outline: 2px solid var(--teal); outline-offset: 6px; }

.brief-section { padding-top: 1rem; padding-bottom: 0; }
.brief {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 1.6rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background:
        radial-gradient(600px 200px at 10% 0%, rgba(96, 165, 250, .08), transparent 70%),
        linear-gradient(180deg, rgba(16, 24, 34, .62), rgba(9, 14, 21, .5));
}
.brief h2 { margin: .4rem 0 .5rem; font-size: clamp(1.35rem, 2.2vw, 1.9rem); letter-spacing: -.03em; line-height: 1.12; }
.brief p { margin: 0; color: var(--muted); font-size: .84rem; }
.brief-grid { display: grid; gap: .7rem; align-content: center; }
.brief-item { display: grid; grid-template-columns: 2rem 1fr; gap: .6rem; align-items: start; }
.brief-num {
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: .45rem;
    border: 1px solid var(--line-2);
    color: var(--blue);
    background: rgba(96, 165, 250, .06);
    font-family: var(--mono);
    font-size: .6rem;
}
.brief-item h3 { margin: .15rem 0 .2rem; font-size: .88rem; }
.brief-item p { font-size: .78rem; }

.shot {
    margin: 1.4rem 0 0;
    border: 1px solid var(--line);
    border-radius: 1rem;
    overflow: hidden;
    background: #070c12;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: .65rem 1rem;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-family: var(--mono);
    font-size: .66rem;
}
.shot figcaption a { color: var(--faint); }
.shot figcaption a:hover { color: var(--text); }

.anchor-list { display: grid; gap: .35rem; margin: .8rem 0 1.4rem; padding: 0; list-style: none; }
.anchor-list a { color: var(--muted); font-size: .84rem; }
.anchor-list a:hover { color: var(--text); }

.wiki-content h2 { scroll-margin-top: 1.5rem; }
.wiki-content h3 { color: var(--text); }
.wiki-content table td code, .wiki-content p code, .wiki-content li code {
    white-space: normal;
    overflow-wrap: anywhere;
}
.wiki-content pre code { white-space: pre; }
.wiki-content pre {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: .6rem;
    background: #070c12;
    padding: .85rem 1rem;
    font-size: .76rem;
    line-height: 1.55;
}

@media (max-width: 1100px) {
    .guide-grid { grid-template-columns: repeat(2, 1fr); }
    .brief { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .nav-group { display: none; }
    .nav { overflow-x: auto; max-width: none; }
    .guide-grid { grid-template-columns: 1fr; }
    .wiki-hero { padding-top: 2.5rem; }
}

