@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root {
    color-scheme: dark;
    --bg: #090b10;
    --bg-soft: #0d1017;
    --surface: #11151e;
    --surface-2: #151a24;
    --surface-3: #1b2130;
    --line: #252c3b;
    --line-soft: #1b2130;
    --text: #f4f5f8;
    --muted: #9ca5b5;
    --faint: #687386;
    --accent: #8aa4ff;
    --accent-bright: #b6c5ff;
    --accent-2: #a78bfa;
    --cyan: #67d8dd;
    --green: #72df9d;
    --amber: #f2bb66;
    --danger: #f08a88;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 24px 70px rgba(0, 0, 0, .35);
    --sans: 'DM Sans', Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --display: 'Manrope', var(--sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
    margin: 0;
    min-width: 320px;
    background:
        radial-gradient(circle at 75% 4%, rgba(75, 94, 163, .12), transparent 27rem),
        var(--bg);
    color: var(--text);
    font: 16px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}
body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: '';
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
code, kbd { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; }
code {
    padding: .13em .38em;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #0c0f16;
    color: #dbe2f4;
    font-size: .84em;
}
kbd {
    display: inline-flex;
    min-width: 1.65rem;
    min-height: 1.65rem;
    align-items: center;
    justify-content: center;
    padding: .14rem .44rem;
    border: 1px solid #394154;
    border-bottom-width: 2px;
    border-radius: 6px;
    background: #181e2a;
    box-shadow: inset 0 1px rgba(255, 255, 255, .04);
    color: #e4e8f1;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.skip-link {
    position: fixed;
    top: 10px;
    left: 12px;
    z-index: 1000;
    padding: 10px 14px;
    transform: translateY(-150%);
    border-radius: 8px;
    background: var(--text);
    color: var(--bg);
    font-weight: 700;
    text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(37, 44, 59, .82);
    background: rgba(9, 11, 16, .78);
    backdrop-filter: blur(18px) saturate(140%);
}
.header-inner {
    display: flex;
    width: min(1240px, calc(100% - 40px));
    height: 68px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #c4cad5;
    font-size: .87rem;
    font-weight: 600;
    text-decoration: none;
}
.brand strong { color: var(--text); }
.brand-mark {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid #465270;
    border-radius: 8px;
    background: linear-gradient(145deg, #28324c, #151a27);
    color: #dae3ff;
    font: 800 .85rem var(--display);
    box-shadow: inset 0 1px rgba(255,255,255,.08), 0 5px 18px rgba(0,0,0,.25);
}
.brand-slash { color: #454e60; }
.primary-nav { display: flex; align-items: center; gap: 3px; }
.primary-nav > a:not(.button) {
    padding: 8px 10px;
    border-radius: 7px;
    color: var(--muted);
    font-size: .83rem;
    font-weight: 600;
    text-decoration: none;
    transition: color .16s, background .16s;
}
.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button).active { background: rgba(255, 255, 255, .04); color: var(--text); }
.primary-nav .button { margin-left: 9px; }
.menu-toggle { display: none; }

.button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 0 17px;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: var(--surface);
    color: var(--text);
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform .16s, border-color .16s, background .16s, box-shadow .16s;
}
.button:hover { transform: translateY(-1px); border-color: #46506a; }
.button svg { width: 17px; }
.button-small { min-height: 35px; padding: 0 13px; font-size: .8rem; }
.button-primary {
    border-color: #91a8fb;
    background: linear-gradient(135deg, #9db0ff, #788fe6);
    box-shadow: 0 12px 30px rgba(100, 128, 222, .25), inset 0 1px rgba(255,255,255,.35);
    color: #0a0d15;
}
.button-primary:hover { border-color: #bcc9ff; box-shadow: 0 15px 38px rgba(100, 128, 222, .35); }
.button-quiet { background: rgba(17, 21, 30, .65); }

.hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line-soft);
    background:
        linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 72px 72px;
}
.hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 180px;
    content: '';
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none;
}
.hero-glow { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .22; pointer-events: none; }
.hero-glow-one { top: 40px; left: 8%; width: 300px; height: 220px; background: #4265d5; }
.hero-glow-two { right: 5%; bottom: 80px; width: 360px; height: 260px; background: #6f46b7; }
.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    width: min(1180px, calc(100% - 48px));
    min-height: 690px;
    margin: 0 auto;
    padding: 88px 0 112px;
    align-items: center;
    grid-template-columns: minmax(380px, .85fr) minmax(520px, 1.15fr);
    gap: 80px;
}
.eyebrow {
    display: flex;
    margin: 0 0 13px;
    align-items: center;
    gap: 9px;
    color: var(--accent-bright);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .14em;
    line-height: 1.3;
    text-transform: uppercase;
}
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(114, 223, 157, .11), 0 0 15px rgba(114, 223, 157, .45);
}
.hero h1 {
    margin: 0;
    font: 800 clamp(3.1rem, 5.1vw, 5.25rem)/.98 var(--display);
    letter-spacing: -.06em;
}
.hero h1 span {
    background: linear-gradient(100deg, #b9c9ff 5%, #a78bfa 80%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lede { max-width: 590px; margin: 25px 0 0; color: #aeb6c6; font-size: 1.12rem; line-height: 1.72; }
.hero-actions { display: flex; margin-top: 31px; gap: 10px; flex-wrap: wrap; }
.trust-row { display: flex; margin-top: 27px; gap: 7px; flex-wrap: wrap; }
.trust-row span {
    padding: 5px 9px;
    border: 1px solid #293143;
    border-radius: 6px;
    background: rgba(17, 21, 30, .55);
    color: #919cad;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .03em;
}
.source-note { margin: 12px 0 0; color: var(--faint); font-size: .75rem; }
.source-note a { color: #a9b9ef; text-underline-offset: 3px; }

.editor-preview {
    position: relative;
    height: 450px;
    overflow: hidden;
    border: 1px solid #30384b;
    border-radius: 16px;
    background: #10141c;
    box-shadow: 0 45px 100px rgba(0,0,0,.48), 0 0 0 1px rgba(255,255,255,.025) inset;
    transform: perspective(1400px) rotateY(-3deg) rotateX(1deg);
}
.editor-preview::after { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px rgba(255,255,255,.06); content: ''; pointer-events: none; }
.preview-titlebar { display: flex; height: 35px; padding: 0 13px; align-items: center; border-bottom: 1px solid #252c3a; background: #171c26; color: #aab3c2; font-size: .65rem; }
.preview-titlebar > span { margin: auto; }
.preview-titlebar small { color: #5e697b; }
.preview-dots { display: flex; gap: 5px; }
.preview-dots i { width: 7px; height: 7px; border-radius: 50%; background: #414b5d; }
.preview-dots i:first-child { background: #d67673; }
.preview-dots i:nth-child(2) { background: #d9ae5f; }
.preview-dots i:last-child { background: #6eb98a; }
.preview-menubar { display: flex; height: 26px; padding: 0 12px; align-items: center; gap: 16px; border-bottom: 1px solid #222938; background: #111620; color: #788497; font-size: .58rem; }
.preview-menubar span:last-child { margin-left: auto; }
.preview-stage { position: absolute; top: 61px; right: 0; bottom: 0; left: 0; overflow: hidden; background: linear-gradient(#283045 0 44%, #1a2023 44%); }
.preview-sky { position: absolute; inset: 0 0 55%; background: radial-gradient(circle at 70% 28%, #66718a 0 2%, transparent 18%), linear-gradient(#313a50, #4c5361); opacity: .78; }
.preview-grid { position: absolute; right: -100px; bottom: -100px; left: -100px; height: 330px; transform: perspective(370px) rotateX(62deg); transform-origin: center bottom; background-image: linear-gradient(rgba(135,150,170,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(135,150,170,.18) 1px, transparent 1px); background-size: 34px 34px; }
.preview-road { position: absolute; right: -60px; bottom: 40px; width: 500px; height: 110px; transform: rotate(-12deg) skewX(-12deg); background: #292d31; border: 1px solid #444a4f; box-shadow: inset 0 0 0 18px #262b28; }
.building { position: absolute; bottom: 117px; border: 1px solid #505a65; background: linear-gradient(90deg, #303740, #464f59); box-shadow: 10px 13px 20px rgba(0,0,0,.25); }
.building::after { position: absolute; inset: 8px; background: repeating-linear-gradient(90deg, #232b32 0 8px, transparent 8px 16px); content: ''; opacity: .45; }
.building-one { right: 75px; width: 115px; height: 120px; }
.building-two { right: 202px; bottom: 106px; width: 77px; height: 82px; }
.building-three { right: -20px; bottom: 115px; width: 88px; height: 160px; }
.gizmo { position: absolute; right: 235px; bottom: 118px; width: 65px; height: 80px; }
.gizmo i { position: absolute; bottom: 15px; left: 28px; display: block; height: 3px; transform-origin: left; border-radius: 3px; }
.gizmo i::after { position: absolute; top: -3px; right: -2px; width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent; border-left: 7px solid currentColor; content: ''; }
.axis-x { width: 46px; color: #ee7474; background: currentColor; transform: rotate(-8deg); }
.axis-y { width: 41px; color: #73d993; background: currentColor; transform: rotate(-100deg); }
.axis-z { width: 42px; color: #729cf1; background: currentColor; transform: rotate(-43deg); }
.gizmo b { position: absolute; bottom: 8px; left: 20px; width: 16px; height: 16px; border: 2px solid #f4d56c; transform: rotate(45deg); }
.selection-label { position: absolute; right: 177px; bottom: 195px; padding: 4px 7px; border: 1px solid rgba(190,205,255,.3); border-radius: 4px; background: rgba(12,15,21,.8); color: #c6d2f8; font-size: .52rem; }
.preview-browser { position: absolute; top: 82px; left: 15px; width: 195px; padding: 11px; border: 1px solid #30394b; border-radius: 8px; background: rgba(19, 24, 34, .96); box-shadow: 0 12px 30px rgba(0,0,0,.3); }
.preview-panel-title { display: flex; align-items: center; justify-content: space-between; color: #d8ddeb; font-size: .64rem; }
.preview-panel-title kbd { min-width: 18px; min-height: 17px; padding: 2px 4px; font-size: .5rem; }
.preview-search { margin-top: 9px; padding: 6px 7px; border: 1px solid #30384a; border-radius: 4px; background: #0d1118; color: #5d6879; font-size: .52rem; }
.preview-tabs { display: flex; margin-top: 8px; gap: 7px; color: #5f697a; font-size: .46rem; }
.preview-tabs .active { color: #a8baff; }
.preview-tiles { display: grid; margin-top: 8px; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.preview-tiles i { position: relative; height: 36px; border: 1px solid #2a3241; border-radius: 4px; background: linear-gradient(145deg, #222937, #111620); }
.preview-tiles i::after { position: absolute; inset: 10px 13px 7px; border: 1px solid #556175; background: #323c4c; content: ''; transform: skewY(-8deg); }
.preview-tiles i:nth-child(2) { border-color: #7c91dc; box-shadow: 0 0 0 1px rgba(124,145,220,.22); }
.preview-place { margin-top: 9px; padding: 6px; border-radius: 4px; background: #7188da; color: #0c1017; font-size: .52rem; font-weight: 800; text-align: center; }
.preview-tools { position: absolute; right: 14px; bottom: 14px; display: grid; width: 160px; padding: 10px; gap: 7px; border: 1px solid #30394b; border-radius: 8px; background: rgba(18, 23, 32, .96); box-shadow: 0 12px 30px rgba(0,0,0,.3); color: #8792a4; font-size: .51rem; }
.preview-tools strong { color: #d7dce6; font-size: .6rem; }
.preview-tools span { display: flex; align-items: center; gap: 6px; }
.preview-tools i { width: 8px; height: 8px; border: 1px solid #4b5669; border-radius: 2px; }
.preview-tools .check { border-color: #859ce7; background: #7389d7; }
.preview-toast { position: absolute; bottom: 16px; left: 225px; padding: 7px 10px; border: 1px solid rgba(100, 216, 154, .32); border-radius: 6px; background: rgba(16, 37, 29, .9); color: #8bdfae; font-size: .52rem; }

.docs-layout {
    display: grid;
    width: min(1130px, calc(100% - 48px));
    margin: 0 auto;
    grid-template-columns: 210px minmax(0, 820px);
    gap: 76px;
}
.side-nav {
    position: sticky;
    top: 100px;
    align-self: start;
    display: grid;
    padding: 74px 0 0;
    gap: 2px;
}
.side-nav > p { margin: 0 0 10px 11px; color: #596578; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.side-nav > a { padding: 6px 11px; border-left: 1px solid #212837; color: #7e899b; font-size: .76rem; font-weight: 500; line-height: 1.35; text-decoration: none; transition: all .15s; }
.side-nav > a:hover { color: #c4cbd7; }
.side-nav > a.active { border-left-color: #8ba4ff; background: linear-gradient(90deg, rgba(115, 140, 225, .1), transparent); color: #c6d2fc; }
.side-version { display: grid; margin-top: 24px; padding: 12px; border: 1px solid var(--line-soft); border-radius: 9px; background: #0c0f15; }
.side-version span { color: #606b7d; font-size: .62rem; }
.side-version strong { margin-top: 2px; color: #a4aec0; font-size: .72rem; }
.docs-content { min-width: 0; }
.doc-section { padding: 92px 0 24px; border-bottom: 1px solid var(--line-soft); }
.doc-section:last-child { border-bottom: 0; }
.section-heading { max-width: 700px; margin-bottom: 32px; }
.section-heading h2 { margin: 0; font: 750 clamp(2rem, 3.6vw, 3rem)/1.14 var(--display); letter-spacing: -.045em; }
.section-heading > p:not(.eyebrow) { margin: 15px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.75; }

.notice { display: flex; margin: 25px 0; padding: 18px 20px; gap: 14px; border: 1px solid; border-radius: 11px; }
.notice > svg { flex: 0 0 21px; width: 21px; margin-top: 2px; }
.notice strong { display: block; margin-bottom: 3px; font-size: .87rem; }
.notice p { margin: 0; color: inherit; font-size: .81rem; line-height: 1.65; opacity: .86; }
.notice-warning { border-color: rgba(219, 162, 82, .32); background: rgba(98, 64, 23, .15); color: #eac693; }
.notice-info { border-color: rgba(117, 146, 229, .3); background: rgba(40, 58, 112, .17); color: #b9c7f2; }
.notice-plain { border-color: var(--line); background: #0d1118; color: #b6c0d0; }
.notice.compact { padding: 14px 16px; }

.setup-steps { display: grid; margin: 34px 0 0; padding: 0; list-style: none; grid-template-columns: repeat(3, 1fr); gap: 12px; counter-reset: steps; }
.setup-steps li { position: relative; min-height: 230px; padding: 22px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; background: linear-gradient(145deg, #121722, #0e1219); }
.setup-steps li::before { position: absolute; right: -12px; bottom: -43px; color: rgba(150, 167, 218, .045); content: '0' counter(list-item); font: 800 8rem var(--display); }
.step-number { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #38445d; border-radius: 7px; background: #1b2231; color: #b9c8fb; font: 700 .7rem var(--display); }
.setup-steps h3 { margin: 39px 0 8px; font: 700 .98rem var(--display); letter-spacing: -.02em; }
.setup-steps p { margin: 0; color: var(--muted); font-size: .79rem; line-height: 1.65; }
.text-link { position: relative; z-index: 1; display: inline-block; margin-top: 13px; color: #adc0ff; font-size: .73rem; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.asi-callout { display: grid; margin-top: 16px; padding: 20px; align-items: center; border: 1px solid var(--line); border-radius: 12px; background: #0c1017; grid-template-columns: 56px 1fr; gap: 18px; }
.asi-icon { display: grid; width: 52px; height: 52px; place-items: center; border: 1px solid #38445d; border-radius: 12px; background: linear-gradient(145deg, #1d2535, #111620); color: #9db1f5; font: 800 .69rem var(--display); letter-spacing: .08em; }
.asi-callout h3 { margin: 0 0 4px; font-size: .93rem; }
.asi-callout p { margin: 0; color: var(--muted); font-size: .8rem; }

.journey { position: relative; border: 1px solid var(--line); border-radius: 14px; background: #0d1118; }
.journey-step { position: relative; display: grid; min-height: 128px; padding: 25px 25px 25px 84px; align-items: center; grid-template-columns: minmax(0, 1fr) auto; gap: 22px; border-bottom: 1px solid var(--line-soft); }
.journey-step:last-child { border-bottom: 0; }
.journey-step::before { position: absolute; top: 0; bottom: 0; left: 51px; width: 1px; background: #283143; content: ''; }
.journey-step:first-child::before { top: 50%; }
.journey-step:last-child::before { bottom: 50%; }
.journey-index { position: absolute; z-index: 1; left: 36px; display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #37435c; border-radius: 50%; background: #171e2b; color: #aebff5; font: 700 .59rem var(--display); }
.journey-copy h3 { margin: 0 0 5px; font: 700 .98rem var(--display); letter-spacing: -.015em; }
.journey-copy p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.7; }
.journey-copy kbd { margin: 0 1px; }
.context-tag, .mini-link { justify-self: end; padding: 5px 8px; border: 1px solid #2e3749; border-radius: 5px; color: #778397; font-size: .61rem; font-weight: 700; white-space: nowrap; }
.journey-step-accent { background: linear-gradient(90deg, rgba(103, 128, 211, .09), transparent); }
.journey-step-accent .journey-index { border-color: #8198e6; background: #273252; color: #d7e0ff; }
.mini-link { border-color: rgba(118,143,224,.35); color: #adbef6; text-decoration: none; }
.plus { margin: 0 .22rem; color: #596476; font-size: .68rem; }
.essential-strip { display: grid; margin-top: 12px; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.essential-strip div { display: grid; padding: 13px 15px; border: 1px solid var(--line-soft); border-radius: 9px; background: #0b0e14; }
.essential-strip span { color: #616d7e; font-size: .61rem; }
.essential-strip strong { margin-top: 3px; color: #adb6c4; font-size: .7rem; font-weight: 600; }

.save-section { position: relative; }
.save-section::before { position: absolute; inset: 38px -38px -1px; z-index: -1; border: 1px solid rgba(112,137,220,.08); border-radius: 22px; background: radial-gradient(circle at 48% 25%, rgba(74,97,169,.09), transparent 40%); content: ''; }
.save-targets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.save-card { padding: 24px; border: 1px solid var(--line); border-radius: 14px; background: #0e1219; }
.save-card-highlight { border-color: #3b4762; background: linear-gradient(145deg, #151b27, #0f131b); }
.save-card-head { display: flex; align-items: center; justify-content: space-between; }
.save-icon { position: relative; display: block; width: 36px; height: 36px; border: 1px solid #354058; border-radius: 9px; background: #171e2b; }
.source-icon::before, .source-icon::after { position: absolute; left: 9px; width: 16px; height: 5px; border: 1px solid #8498d6; border-radius: 50%; content: ''; }
.source-icon::before { top: 9px; }
.source-icon::after { top: 18px; border-top-color: transparent; }
.layers-icon::before, .layers-icon::after { position: absolute; width: 15px; height: 15px; border: 1px solid #8498d6; content: ''; transform: rotate(45deg); }
.layers-icon::before { top: 8px; left: 9px; }
.layers-icon::after { top: 12px; left: 9px; opacity: .5; }
.pill { display: inline-flex; padding: 4px 8px; align-items: center; border: 1px solid #465577; border-radius: 999px; background: rgba(76,97,160,.12); color: #aebef2; font-size: .58rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.pill-default { border-color: #3c4658; background: transparent; color: #788497; }
.pill-sa { margin-bottom: 13px; border-color: #3d6c69; background: rgba(53,109,102,.11); color: #87d4cd; }
.save-card h3 { margin: 23px 0 5px; font: 700 1rem var(--display); }
.save-card > p { margin: 0; color: var(--muted); font-size: .8rem; }
.check-list { display: grid; margin: 18px 0; padding: 0; gap: 10px; list-style: none; }
.check-list li { position: relative; padding-left: 20px; color: #a5afbf; font-size: .75rem; line-height: 1.5; }
.check-list li::before { position: absolute; top: .34rem; left: 1px; width: 8px; height: 4px; border-bottom: 1.5px solid #7ec39a; border-left: 1.5px solid #7ec39a; content: ''; transform: rotate(-45deg); }
.card-warning { padding-top: 13px; border-top: 1px solid var(--line-soft); color: #bca77f; font-size: .68rem; line-height: 1.55; }
.backup-block { display: grid; margin-top: 26px; padding: 26px; align-items: center; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(110deg, #111722, #0c1017); grid-template-columns: 1fr 285px; gap: 30px; }
.backup-block h3 { margin: 0 0 7px; font: 700 1.16rem var(--display); }
.backup-block > div > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: .79rem; }
.file-path { display: grid; padding: 15px; border: 1px solid #2b3446; border-radius: 9px; background: #090c11; }
.file-path span { color: #5d687b; font-size: .59rem; font-weight: 700; text-transform: uppercase; }
.file-path code { margin: 6px 0; overflow-wrap: anywhere; border: 0; background: none; color: #b9c7f1; font-size: .69rem; }
.file-path small { color: #6b7688; font-size: .59rem; }
.fine-print { margin: 12px 3px 0; color: #6e7889; font-size: .68rem; }

.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.workflow-link { display: grid; min-height: 154px; padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(145deg, #111620, #0d1118); text-decoration: none; transition: transform .16s, border-color .16s, background .16s; }
.workflow-link:hover { transform: translateY(-2px); border-color: #44516b; background: #141a25; }
.workflow-link strong { margin-top: 18px; font: 700 .81rem var(--display); }
.workflow-link small { margin-top: 1px; color: #707b8d; font-size: .65rem; }
.workflow-glyph { position: relative; display: block; width: 32px; height: 32px; border: 1px solid #35415a; border-radius: 8px; background: #18202e; }
.glyph-object::before { position: absolute; top: 8px; left: 9px; width: 12px; height: 12px; border: 1px solid #93a7ea; content: ''; transform: rotate(30deg) skewY(-10deg); }
.glyph-brush::before { position: absolute; top: 6px; left: 14px; width: 4px; height: 17px; border-radius: 3px; background: #93a7ea; content: ''; transform: rotate(38deg); }
.glyph-brush::after { position: absolute; right: 6px; bottom: 5px; width: 8px; height: 5px; border: 1px solid #93a7ea; border-radius: 50%; content: ''; }
.glyph-prefab::before, .glyph-prefab::after { position: absolute; width: 9px; height: 9px; border: 1px solid #93a7ea; content: ''; }
.glyph-prefab::before { top: 7px; left: 7px; }
.glyph-prefab::after { right: 7px; bottom: 7px; }
.glyph-import::before { position: absolute; top: 6px; left: 14px; width: 1px; height: 16px; background: #93a7ea; content: ''; }
.glyph-import::after { position: absolute; top: 12px; left: 10px; width: 8px; height: 8px; border-right: 1px solid #93a7ea; border-bottom: 1px solid #93a7ea; content: ''; transform: rotate(45deg); }
.glyph-water::before, .glyph-water::after { position: absolute; right: 6px; left: 6px; height: 5px; border-bottom: 1px solid #79d2d0; border-radius: 50%; content: ''; }
.glyph-water::before { top: 7px; }
.glyph-water::after { top: 14px; }
.glyph-inspect::before { position: absolute; top: 8px; left: 8px; width: 11px; height: 11px; border: 1px solid #93a7ea; border-radius: 50%; content: ''; }
.glyph-inspect::after { position: absolute; top: 20px; left: 19px; width: 7px; height: 1px; background: #93a7ea; content: ''; transform: rotate(45deg); }
.workflow-guides { display: grid; margin-top: 24px; gap: 8px; }
.workflow-guides details, .faq-list details { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #0d1118; }
.workflow-guides summary, .faq-list summary { display: flex; padding: 18px 20px; align-items: center; gap: 14px; cursor: pointer; list-style: none; user-select: none; transition: background .15s; }
.workflow-guides summary:hover, .faq-list summary:hover { background: rgba(255,255,255,.022); }
.workflow-guides summary::-webkit-details-marker, .faq-list summary::-webkit-details-marker { display: none; }
.workflow-guides summary > span:nth-child(2) { display: grid; }
.workflow-guides summary strong { font: 700 .82rem var(--display); }
.workflow-guides summary small { margin-top: 2px; color: #707b8c; font-size: .64rem; }
.workflow-guides summary svg, .faq-list summary svg { width: 17px; margin-left: auto; color: #687386; transition: transform .2s; }
.workflow-guides details[open] summary svg, .faq-list details[open] summary svg { transform: rotate(180deg); }
.summary-number { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid #343e52; border-radius: 7px; background: #161c27; color: #8596c9; font: 700 .57rem var(--display); }
.details-body { padding: 2px 24px 24px 62px; color: var(--muted); font-size: .78rem; }
.details-body p { margin: 0; }
.guide-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 21px 30px; }
.guide-columns h4 { margin: 0 0 5px; color: #dce0e8; font-size: .76rem; }
.guide-columns p { font-size: .73rem; line-height: 1.65; }
.guide-columns.two > div { padding: 18px; border: 1px solid var(--line-soft); border-radius: 9px; background: #0a0e14; }
.recipe { display: grid; grid-template-columns: 1.2fr .8fr; gap: 28px; }
.recipe ol, .compact-steps { margin: 0; padding-left: 18px; }
.recipe li, .compact-steps li { margin: 0 0 9px; padding-left: 5px; }
.option-cloud { display: flex; align-content: flex-start; gap: 6px; flex-wrap: wrap; }
.option-cloud span { padding: 5px 8px; border: 1px solid #30394c; border-radius: 5px; background: #111722; color: #8e9aab; font-size: .61rem; }
.details-note { margin-top: 17px !important; padding-top: 13px; border-top: 1px solid var(--line-soft); color: #778294; font-size: .68rem !important; }
.flow-line { display: flex; margin: 4px 0 17px; align-items: center; gap: 9px; flex-wrap: wrap; }
.flow-line span { padding: 6px 9px; border: 1px solid #30394c; border-radius: 6px; background: #121722; color: #a4afbf; font-size: .66rem; font-weight: 600; }
.flow-line i { width: 18px; height: 1px; background: #39445a; }
.compact-steps { display: grid; gap: 4px; }
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.feature-list span { padding: 12px; border: 1px solid var(--line-soft); border-radius: 8px; background: #0a0e14; color: #8792a4; font-size: .68rem; }
.feature-list strong { display: block; margin-bottom: 2px; color: #c7ceda; font-size: .71rem; }

.test-section { border-bottom: 0; }
.test-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.test-grid article { position: relative; min-height: 240px; padding: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, #131925, #0d1118); }
.test-grid article::after { position: absolute; right: -20px; bottom: -40px; width: 150px; height: 150px; border: 1px solid rgba(130,150,220,.08); border-radius: 50%; content: ''; }
.command { display: flex; align-items: center; gap: 4px; }
.command span { color: #596476; font-size: .66rem; }
.test-grid h3 { margin: 44px 0 6px; font: 700 1.05rem var(--display); }
.test-grid p { max-width: 310px; margin: 0; color: var(--muted); font-size: .76rem; }
.availability { position: absolute; right: 22px; bottom: 19px; color: #7886a1; font-size: .6rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

.controls-heading { display: flex; max-width: none; align-items: end; justify-content: space-between; gap: 20px; }
.controls-heading > div { max-width: 670px; }
.controls-heading h2 { margin: 0; }
.controls-heading > div > p:last-child { margin: 15px 0 0; color: var(--muted); font-size: 1rem; }
.verified { padding: 5px 8px; border: 1px solid #30423d; border-radius: 6px; background: rgba(43,85,69,.12); color: #7cbd9a; font-size: .61rem; font-weight: 700; white-space: nowrap; }
.shortcut-finder { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #0c1017; }
.shortcut-search { display: grid; height: 48px; padding: 0 12px; align-items: center; border: 1px solid #313a4d; border-radius: 9px; background: #090c12; grid-template-columns: 21px 1fr auto; gap: 10px; }
.shortcut-search:focus-within { border-color: #7187d3; box-shadow: 0 0 0 3px rgba(111,135,213,.1); }
.shortcut-search svg { width: 18px; color: #6f7b8e; }
.shortcut-search input { min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font-size: .78rem; }
.shortcut-search input::placeholder { color: #586375; }
.shortcut-search > kbd { min-width: 22px; min-height: 21px; color: #677285; font-size: .57rem; }
.shortcut-filters { display: flex; margin: 13px 0 15px; gap: 5px; overflow-x: auto; scrollbar-width: none; }
.shortcut-filters::-webkit-scrollbar { display: none; }
.shortcut-filters button { padding: 5px 9px; border: 1px solid #2a3243; border-radius: 999px; background: transparent; color: #748093; cursor: pointer; font-size: .61rem; font-weight: 700; white-space: nowrap; }
.shortcut-filters button:hover { color: #b9c2d0; }
.shortcut-filters button.active { border-color: #50628b; background: rgba(80,102,164,.17); color: #b7c5f3; }
.shortcut-list { display: grid; }
.shortcut-row { display: grid; min-height: 58px; padding: 10px 12px; align-items: center; border-top: 1px solid var(--line-soft); grid-template-columns: 165px minmax(0, 1fr) 105px; gap: 13px; }
.shortcut-row:first-child { border-top: 0; }
.shortcut-keys { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.shortcut-keys span { color: #566174; font-size: .6rem; }
.shortcut-action { color: #c0c7d2; font-size: .72rem; }
.shortcut-context { justify-self: end; color: #667184; font-size: .59rem; text-align: right; }
.shortcut-empty { padding: 25px 10px 10px; color: #747f91; font-size: .73rem; text-align: center; }

.faq-list { display: grid; gap: 8px; }
.faq-list summary { padding: 17px 19px; }
.faq-list summary strong { font-size: .79rem; }
.faq-list details > div { padding: 0 52px 18px 19px; }
.faq-list p { margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.7; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.resource-grid a { display: grid; min-height: 140px; padding: 18px; align-content: start; border: 1px solid var(--line); border-radius: 12px; background: #0e1219; grid-template-columns: 34px 1fr auto; gap: 12px; text-decoration: none; transition: transform .16s, border-color .16s; }
.resource-grid a:hover { transform: translateY(-2px); border-color: #46536c; }
.resource-icon { display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid #35415a; border-radius: 8px; background: #18202e; color: #9fb1ec; font-size: .7rem; font-weight: 800; }
.resource-grid a > span:nth-child(2) { display: grid; }
.resource-grid strong { font-size: .73rem; }
.resource-grid small { margin-top: 3px; color: #6f7a8c; font-size: .63rem; }
.resource-grid b { color: #5e6a7c; font-size: .7rem; }
.privacy-note { margin-top: 16px; padding: 15px 17px; border: 1px solid var(--line-soft); border-radius: 9px; background: #0b0e14; color: #737f91; font-size: .68rem; }
.privacy-note strong { color: #9ca7b8; }

footer { display: flex; width: min(1130px, calc(100% - 48px)); margin: 80px auto 0; padding: 28px 0 42px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); color: #5e697b; font-size: .68rem; }
footer > div { display: flex; align-items: center; gap: 9px; }
footer strong { color: #9da7b7; }
footer p { margin: 0; }

@media (max-width: 1050px) {
    .primary-nav > a:not(.button) { display: none; }
    .hero-inner { grid-template-columns: .8fr 1.2fr; gap: 35px; }
    .editor-preview { transform: none; }
    .docs-layout { grid-template-columns: 175px minmax(0, 1fr); gap: 42px; }
}

@media (max-width: 850px) {
    html { scroll-padding-top: 76px; }
    .header-inner { width: min(100% - 28px, 720px); height: 60px; }
    .primary-nav { position: absolute; top: 60px; right: 14px; left: 14px; display: none; padding: 8px; align-items: stretch; border: 1px solid var(--line); border-radius: 12px; background: rgba(12,15,22,.98); box-shadow: var(--shadow); }
    .primary-nav.open { display: grid; }
    .primary-nav > a:not(.button) { display: block; padding: 11px; }
    .primary-nav .button { margin: 4px 0 0; }
    .menu-toggle { display: grid; width: 36px; height: 36px; padding: 8px; place-content: center; gap: 4px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); cursor: pointer; }
    .menu-toggle span:not(.sr-only) { display: block; width: 16px; height: 1px; background: #aeb6c4; }
    .hero-inner { display: block; width: min(100% - 36px, 700px); min-height: 0; padding: 70px 0 90px; }
    .hero-copy { max-width: 640px; }
    .editor-preview { height: 415px; margin-top: 55px; }
    .docs-layout { display: block; width: min(100% - 36px, 740px); }
    .side-nav { display: none; }
    .doc-section { padding-top: 76px; }
    .save-section::before { inset: 24px -12px -1px; }
}

@media (max-width: 650px) {
    .brand > span:nth-child(2), .brand-slash { display: none; }
    .hero h1 { font-size: clamp(2.75rem, 13vw, 4.2rem); }
    .hero-lede { font-size: 1rem; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
    .trust-row { gap: 5px; }
    .editor-preview { height: 350px; }
    .preview-browser { left: 10px; width: 170px; }
    .preview-tools { display: none; }
    .preview-toast { right: 12px; bottom: 12px; left: auto; }
    .section-heading h2 { font-size: 2rem; }
    .section-heading > p:not(.eyebrow), .controls-heading > div > p:last-child { font-size: .9rem; }
    .setup-steps, .save-targets, .workflow-grid, .test-grid, .resource-grid { grid-template-columns: 1fr; }
    .setup-steps li { min-height: 205px; }
    .journey-step { min-height: 0; padding: 22px 18px 22px 69px; grid-template-columns: 1fr; gap: 10px; }
    .journey-step::before { left: 37px; }
    .journey-index { left: 21px; }
    .context-tag, .mini-link { justify-self: start; }
    .essential-strip { grid-template-columns: 1fr; }
    .backup-block { padding: 20px; grid-template-columns: 1fr; gap: 18px; }
    .workflow-grid { grid-template-columns: repeat(2, 1fr); }
    .details-body { padding: 0 18px 20px; }
    .guide-columns, .guide-columns.two, .recipe, .feature-list { grid-template-columns: 1fr; }
    .flow-line i { display: none; }
    .controls-heading { display: block; }
    .verified { display: inline-flex; margin-top: 15px; }
    .shortcut-row { grid-template-columns: 125px minmax(0, 1fr); gap: 9px; }
    .shortcut-context { display: none; }
    footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}

@media (max-width: 430px) {
    .hero-inner, .docs-layout, footer { width: calc(100% - 28px); }
    .hero-inner { padding-top: 55px; }
    .hero h1 { font-size: 2.65rem; }
    .editor-preview { height: 315px; margin-top: 42px; }
    .preview-browser { top: 74px; width: 150px; }
    .preview-tiles i { height: 28px; }
    .building-one { right: 18px; }
    .building-two { right: 110px; }
    .gizmo { right: 145px; }
    .selection-label { display: none; }
    .doc-section { padding-top: 65px; }
    .asi-callout { align-items: start; grid-template-columns: 1fr; }
    .workflow-grid { grid-template-columns: 1fr; }
    .workflow-link { min-height: 125px; }
    .workflow-guides summary { padding: 16px 14px; gap: 10px; }
    .summary-number { display: none; }
    .shortcut-finder { padding: 11px; }
    .shortcut-row { padding: 11px 4px; grid-template-columns: 108px minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
