/* Sorex website */
:root {
  --bg: #0a0a0b; --bg-2: #0e0f11; --surface: #131416; --surface-2: #18191c; --line: #1f2023; --line-2: #2a2b30;
  --text: #ededef; --text-2: #b8bac0; --muted: #8b8e96; --faint: #5d6068;
  --accent: #74c54a; --accent-2: #8ad35f; --accent-bg: rgba(116,197,74,.1); --accent-line: rgba(116,197,74,.32); --on-accent: #0b1407;
  --font: Geist, Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif; --mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { background: var(--bg); color: var(--text); font: 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent-line); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

/* nav */
.site-nav { position: sticky; top: 0; z-index: 50; background: rgba(10,10,11,.72); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-nav.scrolled { border-color: var(--line); }
.nav-in { height: 64px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo .mark { width: 26px; height: 26px; object-fit: contain; }
.logo .word { height: 14px; width: auto; }
.links { display: flex; gap: 4px; flex: 1; }
.links a { padding: 6px 12px; border-radius: 6px; color: var(--muted); font-size: 14px; transition: color .15s, background .15s; }
.links a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-btn { display: none; width: 36px; height: 36px; border-radius: 8px; align-items: center; justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s; border: 1px solid transparent; }
.btn:active { transform: translateY(1px); }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13.5px; }
.btn.lg { height: 44px; padding: 0 22px; font-size: 15px; }
.btn.primary { background: var(--text); color: #0a0a0b; } .btn.primary:hover { background: #fff; }
.btn.accent { background: var(--accent); color: var(--on-accent); } .btn.accent:hover { background: var(--accent-2); }
.btn.ghost { border-color: var(--line-2); color: var(--text); background: #0d0d0e; } .btn.ghost:hover { border-color: #3a3b41; background: var(--surface); }
.btn.text { color: var(--muted); padding: 0 10px; } .btn.text:hover { color: var(--text); }
.btn .i { flex: none; }

/* hero */
.hero { position: relative; padding: 0 0 40px; }
.grid-frame { position: relative; max-width: var(--max); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.grid-frame::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 90px 90px; background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, transparent 30%, #000 75%); opacity: .7; }
.cross { position: absolute; width: 21px; height: 21px; pointer-events: none; }
.cross::before, .cross::after { content: ''; position: absolute; background: var(--muted); }
.cross::before { left: 10px; top: 0; bottom: 0; width: 1px; } .cross::after { top: 10px; left: 0; right: 0; height: 1px; }
.hero-in { position: relative; padding: 96px 24px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-mark { position: relative; width: 132px; height: 132px; display: grid; place-items: center; margin-bottom: 34px; }
.hero-mark img { position: relative; z-index: 1; width: 92px; height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.hero-mark .ring { position: absolute; inset: 0; border-radius: 28px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #151618, #0c0c0d); box-shadow: inset 0 1px 0 rgba(255,255,255,.04), 0 30px 60px -20px rgba(0,0,0,.8); }
.hero-mark .ring::after { content: ''; position: absolute; inset: -1px; border-radius: 28px; padding: 1px; background: linear-gradient(180deg, rgba(116,197,74,.5), transparent 45%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--line-2); background: #0d0d0e; font-size: 13px; color: var(--text-2); margin-bottom: 22px; }
.eyebrow b { font-weight: 500; font-size: 11.5px; padding: 1px 8px; border-radius: 999px; background: var(--accent-bg); color: var(--accent); }
.hero h1 { font-size: clamp(38px, 6.2vw, 68px); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; max-width: 900px; }
.hero h1 .dim { color: var(--muted); }
.hero p.lead { margin: 22px auto 34px; max-width: 620px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); line-height: 1.55; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-note { margin-top: 18px; font-size: 13px; color: var(--faint); }
.rays { position: absolute; left: 50%; top: 24px; width: 760px; height: 420px; transform: translateX(-50%); pointer-events: none; opacity: .55;
  mask-image: radial-gradient(ellipse 50% 60% at 50% 30%, #000 10%, transparent 70%); }

/* product preview */
.preview-wrap { position: relative; margin-top: 8px; padding: 0 24px 0; }
.preview { position: relative; max-width: 1120px; margin: 0 auto; border-radius: 12px; border: 1px solid var(--line-2); background: #0e0f11; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 50px 120px -30px rgba(0,0,0,.9), 0 0 120px -40px rgba(116,197,74,.15); }
.pv-title { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-bottom: 1px solid #1f2024; background: #0b0b0c; font-size: 12px; color: var(--faint); }
.pv-title .dots { display: flex; gap: 6px; margin-right: 8px; } .pv-title .dots i { width: 10px; height: 10px; border-radius: 50%; background: #2a2b30; }
.pv-title img { width: 14px; } .pv-title span { flex: 1; text-align: center; margin-right: 60px; }
.pv { display: grid; grid-template-columns: 44px 210px minmax(0, 1fr) 330px; height: 540px; font-size: 12.5px; }
.pv-act { background: #121316; border-right: 1px solid #1f2024; display: flex; flex-direction: column; align-items: center; padding-top: 8px; gap: 6px; color: #5d6068; }
.pv-act i { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 6px; } .pv-act i.on { color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.pv-side { background: #121316; border-right: 1px solid #1f2024; padding: 8px 0; overflow: hidden; }
.pv-h { font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 4px 14px 8px; font-weight: 600; }
.pv-row { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px 0 calc(12px + var(--d, 0) * 12px); color: var(--text-2); white-space: nowrap; cursor: pointer; }
.pv-row:hover { background: #18191c; } .pv-row.on { background: #222328; color: var(--text); }
.pv-row .st { margin-left: auto; font: 600 10px var(--mono); color: var(--warn, #e3b341); } .pv-row .st.A { color: var(--accent); }
.pv-row .ic { width: 13px; height: 13px; color: #6aa6f0; flex: none; } .pv-row .ic.dir { color: var(--muted); }
.pv-center { display: flex; flex-direction: column; min-width: 0; background: #0e0f11; }
.pv-tabs { display: flex; height: 34px; background: #121316; border-bottom: 1px solid #1f2024; }
.pv-tab { display: flex; align-items: center; gap: 6px; padding: 0 14px; border-right: 1px solid #1f2024; color: var(--muted); cursor: pointer; white-space: nowrap; }
.pv-tab.on { background: #0e0f11; color: var(--text); box-shadow: inset 0 1px 0 var(--accent); }
.pv-crumbs { height: 22px; padding: 0 14px; display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 11.5px; border-bottom: 1px solid #1f2024; }
.pv-code { flex: 1; overflow: hidden; padding: 10px 0; font: 12.5px/1.7 var(--mono); }
.pv-code .l { display: flex; white-space: pre; } .pv-code .n { width: 44px; text-align: right; padding-right: 16px; color: #45484f; flex: none; }
.pv-code .l.add { background: rgba(116,197,74,.09); } .pv-code .l.add .n { color: var(--accent); }
.k { color: #c792ea; } .s { color: #a5d98b; } .c { color: #5e6570; font-style: italic; } .f { color: #82b1ff; } .nu { color: #f2a65a; } .p { color: #e6c07b; }
.pv-bottom { height: 120px; border-top: 1px solid #1f2024; background: #121316; display: flex; flex-direction: column; }
.pv-btabs { display: flex; gap: 16px; padding: 0 14px; height: 28px; align-items: center; font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.pv-btabs .on { color: var(--text); box-shadow: inset 0 -1px 0 var(--accent); padding: 7px 0; }
.pv-log { padding: 4px 14px; font: 11.5px/1.7 var(--mono); color: var(--muted); } .pv-log b { color: var(--accent); font-weight: 400; }
.pv-ai { background: #121316; border-left: 1px solid #1f2024; display: flex; flex-direction: column; min-width: 0; }
.pv-ai-head { height: 34px; display: flex; align-items: center; padding: 0 12px; gap: 6px; border-bottom: 1px solid #1f2024; color: var(--text-2); }
.pv-thread { flex: 1; padding: 14px 12px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.pv-msg-u { align-self: flex-end; background: #222328; border: 1px solid #2c2d32; padding: 7px 10px; border-radius: 9px 9px 2px 9px; color: var(--text); max-width: 92%; }
.pv-who { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--text-2); margin-bottom: 4px; }
.pv-who img { width: 13px; }
.pv-txt { color: var(--text-2); line-height: 1.55; }
.pv-tool { display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 9px; border: 1px solid #1f2024; border-radius: 6px; background: #0e0f11; font-size: 11.5px; color: var(--text-2); margin-top: 4px; }
.pv-tool .src { font-size: 10px; color: var(--faint); border: 1px solid #2a2b30; border-radius: 3px; padding: 0 4px; }
.pv-tool .ok { margin-left: auto; color: var(--accent); font-size: 11px; } .pv-tool .mono { font-size: 11px; }
.pv-tool, .pv-step { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; } .pv-tool.in, .pv-step.in { opacity: 1; transform: none; }
.pv-review { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; border: 1px solid rgba(227,179,65,.3); background: rgba(227,179,65,.08); color: var(--text); font-size: 12px; }
.pv-review button { margin-left: auto; background: var(--accent); color: var(--on-accent); border-radius: 5px; height: 22px; padding: 0 9px; font-size: 11.5px; font-weight: 600; }
.pv-composer { margin: 10px; border: 1px solid #2a2b30; border-radius: 9px; background: #16171a; padding: 9px 10px 7px; color: var(--faint); }
.pv-bar { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 11.5px; color: var(--text-2); }
.pv-chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 7px; border-radius: 5px; background: #1b1c20; }
.pv-chip img, .pv-chip svg { width: 12px; height: 12px; } .pv-chip.green { color: var(--accent); }
.pv-send { margin-left: auto; width: 24px; height: 24px; border-radius: 6px; background: var(--accent); }
.pv-status { height: 24px; display: flex; align-items: center; gap: 16px; padding: 0 12px; border-top: 1px solid #1f2024; background: #0b0b0c; color: var(--faint); font-size: 11px; }
.pv-status .live { color: var(--accent); display: inline-flex; align-items: center; gap: 6px; } .pv-status .live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.preview-caption { text-align: center; color: var(--faint); font-size: 13px; margin-top: 16px; }

/* sections */
.section { border-top: 1px solid var(--line); }
.section .wrap { padding-top: 96px; padding-bottom: 96px; }
.sec-head { max-width: 640px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.label { display: inline-block; font: 500 12.5px var(--mono); color: var(--accent); margin-bottom: 14px; letter-spacing: .02em; }
.sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.1; letter-spacing: -.035em; font-weight: 600; }
.sec-head p { margin-top: 14px; color: var(--muted); font-size: 16.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.rev > :first-child { order: 2; }
.ticks { list-style: none; display: grid; gap: 12px; margin-top: 26px; }
.ticks li { display: flex; gap: 12px; color: var(--text-2); } .ticks li::before { content: ''; flex: none; width: 16px; height: 16px; margin-top: 4px; border-radius: 50%; background: var(--accent-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2374c54a' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/10px no-repeat; border: 1px solid var(--accent-line); }
.panel { border: 1px solid var(--line-2); border-radius: 12px; background: var(--bg-2); overflow: hidden; }

/* models */
.models { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.model { padding: 26px 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; background: var(--bg-2); transition: background .2s; }
.model:last-child { border-right: 0; } .model:hover { background: var(--surface); }
.model .pm { width: 26px; height: 26px; }
.model h3 { font-size: 17px; font-weight: 600; letter-spacing: -.01em; } .model h3 small { display: block; color: var(--faint); font-size: 12.5px; font-weight: 400; }
.caps { display: flex; flex-wrap: wrap; gap: 5px; }
.cap { font-size: 11.5px; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }
.cap.on { color: var(--accent); border-color: var(--accent-line); }
.server-status { margin-top: auto; font-size: 12px; color: var(--faint); display: flex; align-items: center; gap: 6px; }
.server-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--faint); } .server-status.on { color: var(--accent); } .server-status.on::before { background: var(--accent); }

/* compare mock */
.cmp { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 14px; }
.cmp-p { border: 1px solid var(--line); border-radius: 8px; background: #0b0b0c; padding: 10px 12px; min-height: 140px; }
.cmp-h { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; margin-bottom: 8px; } .cmp-h .t { margin-left: auto; font: 400 11px var(--mono); color: var(--accent); }
.cmp-h svg { width: 13px; height: 13px; }
.bar-l { height: 7px; border-radius: 4px; background: #1d1e22; margin-top: 7px; } .bar-l.g { background: linear-gradient(90deg, #22262a, #1a1c1f); }
.cmp-prompt { margin: 14px 14px 0; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: #121315; color: var(--text-2); font-size: 13px; display: flex; align-items: center; gap: 10px; }
.cmp-prompt .run { margin-left: auto; font-size: 12px; background: var(--text); color: #000; border-radius: 6px; padding: 2px 10px; font-weight: 500; }

/* agents */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.step { padding: 22px 20px; border-right: 1px solid var(--line); background: var(--bg-2); }
.step:last-child { border-right: 0; } .step .n { font: 12px var(--mono); color: var(--accent); }
.step h4 { font-size: 15px; font-weight: 600; margin: 10px 0 6px; } .step p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 16px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.mode { padding: 18px 20px; border-right: 1px solid var(--line); background: var(--bg-2); } .mode:last-child { border-right: 0; }
.mode b { font-weight: 600; } .mode p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }

/* roblox flow */
.flow { padding: 26px; display: grid; gap: 14px; }
.node { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 9px; border: 1px solid var(--line-2); background: #0b0b0c; }
.node .ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); flex: none; }
.node .ic img { width: 20px; } .node b { display: block; font-size: 14px; font-weight: 600; } .node small { color: var(--muted); font-size: 12.5px; }
.node .tag { margin-left: auto; font: 11px var(--mono); color: var(--faint); }
.link-line { height: 22px; margin-left: 29px; border-left: 1px dashed var(--line-2); position: relative; }
.link-line span { position: absolute; left: 14px; top: 2px; font: 11px var(--mono); color: var(--faint); }
.tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 26px 26px; }
.tools code { font: 11.5px var(--mono); padding: 3px 8px; border-radius: 5px; border: 1px solid var(--line-2); color: var(--text-2); background: #0b0b0c; }

/* features grid */
.feat { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.feat > div { padding: 24px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.feat > div:nth-child(3n) { border-right: 0; } .feat > div:nth-last-child(-n+3) { border-bottom: 0; }
.feat h4 { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.feat h4 .i { color: var(--accent); } .feat p { font-size: 13.5px; color: var(--muted); }

/* web + download band */
.band { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.band > div { padding: 36px; background: var(--bg-2); display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.band > div + div { border-left: 1px solid var(--line); }
.band h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 600; } .band p { color: var(--muted); }
.band .meta { font: 12.5px var(--mono); color: var(--faint); }

/* faq */
.faq { max-width: 780px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 4px; font-size: 16px; font-weight: 500; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--muted); font-weight: 300; font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 22px; color: var(--muted); max-width: 680px; }

/* final cta + footer */
.final { text-align: center; }
.final img { width: 56px; margin: 0 auto 26px; }
.final h2 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: -.04em; font-weight: 600; line-height: 1.08; }
.final p { color: var(--muted); margin: 16px 0 30px; }
footer { border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding: 56px 24px 40px; }
.foot h5 { font-size: 13px; font-weight: 500; margin-bottom: 12px; } .foot a { display: block; color: var(--muted); font-size: 13.5px; padding: 4px 0; } .foot a:hover { color: var(--text); }
.foot .about { color: var(--faint); font-size: 13.5px; max-width: 280px; margin-top: 14px; }
.foot-bottom { border-top: 1px solid var(--line); padding: 18px 24px; display: flex; justify-content: space-between; color: var(--faint); font-size: 13px; }

/* pages */
.page { padding: 72px 0 96px; }
.page-head { margin-bottom: 40px; } .page-head h1 { font-size: clamp(32px, 4.6vw, 48px); letter-spacing: -.04em; font-weight: 600; line-height: 1.1; } .page-head p { color: var(--muted); margin-top: 10px; font-size: 17px; }
.dl { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.dl-p { padding: 28px; border-right: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 10px; }
.dl-p:last-child { border-right: 0; } .dl-p h3 { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.dl-p .meta { font: 12.5px var(--mono); color: var(--faint); } .dl-p .btns { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 10px; }
.dl-p .btn { width: 100%; } .dl-p .na { font-size: 13.5px; color: var(--muted); }
.notes { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.notes .panel { padding: 24px; } .notes h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; } .notes ul, .notes ol { padding-left: 18px; color: var(--text-2); display: grid; gap: 6px; font-size: 14px; }
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; }
.docs nav { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.docs nav a { padding: 5px 10px; border-radius: 6px; color: var(--muted); font-size: 14px; } .docs nav a:hover { color: var(--text); background: var(--surface); }
.prose h2 { font-size: 24px; letter-spacing: -.02em; font-weight: 600; margin: 48px 0 12px; padding-top: 8px; } .prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 24px 0 8px; }
.prose p, .prose li { color: var(--text-2); } .prose p + p { margin-top: 12px; } .prose ul, .prose ol { padding-left: 20px; display: grid; gap: 6px; margin: 10px 0; }
.prose code { font: 13px var(--mono); background: var(--surface-2); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; color: var(--text); }
.prose pre { font: 13px/1.6 var(--mono); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 14px 16px; overflow-x: auto; margin: 12px 0; color: var(--text-2); }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14px; } .prose td, .prose th { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); } .prose th { color: var(--muted); font-weight: 500; }
.prose a { color: var(--accent); }
.callout { border: 1px solid var(--line-2); border-left: 2px solid var(--accent); background: var(--bg-2); padding: 12px 16px; border-radius: 6px; margin: 14px 0; color: var(--text-2); font-size: 14px; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

@media (max-width: 1000px) {
  .pv { grid-template-columns: 44px 180px minmax(0, 1fr); } .pv-ai { display: none; }
  .models { grid-template-columns: 1fr 1fr; } .model:nth-child(2) { border-right: 0; } .model:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr 1fr; } .step { border-bottom: 1px solid var(--line); }
  .split { grid-template-columns: 1fr; gap: 40px; } .split.rev > :first-child { order: 0; }
  .feat { grid-template-columns: 1fr 1fr; } .feat > div { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; } .feat > div:nth-child(2n) { border-right: 0 !important; }
  .dl { grid-template-columns: 1fr; } .dl-p { border-right: 0; border-bottom: 1px solid var(--line); }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .links, .nav-cta .btn.text { display: none; } .menu-btn { display: inline-flex; }
  .site-nav.open .links { display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; padding: 8px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .wrap { padding: 0 16px; } .hero-in { padding: 64px 16px 32px; } .preview-wrap { padding: 0 12px; }
  .pv { grid-template-columns: minmax(0, 1fr); height: 380px; } .pv-act, .pv-side { display: none; } .pv-bottom { display: none; }
  .models, .steps, .modes, .band, .notes, .feat, .docs { grid-template-columns: 1fr; }
  .model, .step, .mode, .feat > div { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .band > div + div { border-left: 0; border-top: 1px solid var(--line); } .band > div { padding: 26px; }
  .section .wrap { padding-top: 64px; padding-bottom: 64px; }
  .docs nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .foot { grid-template-columns: 1fr; } .foot-bottom { flex-direction: column; gap: 6px; }
  .cmp { grid-template-columns: 1fr; }
}
.docs > * { min-width: 0; }
.prose table { display: block; overflow-x: auto; }
@media (max-width: 720px) { .docs { grid-template-columns: minmax(0, 1fr); } .prose pre { white-space: pre-wrap; word-break: break-word; } }

/* large 16:9 (1920+) and ultrawide (3440×1440) */
@media (min-width: 1800px) {
  :root { --max: 1440px; }
  body { font-size: 16px; }
  .hero-in { padding-top: 120px; }
  .hero h1 { font-size: 78px; max-width: 1100px; }
  .hero p.lead { font-size: 20px; max-width: 700px; }
  .preview { max-width: 1360px; } .pv { height: 640px; grid-template-columns: 48px 240px minmax(0, 1fr) 380px; font-size: 13px; }
  .sec-head h2 { font-size: 48px; } .sec-head { max-width: 760px; }
  .section .wrap { padding-top: 120px; padding-bottom: 120px; }
  .grid-frame::before { background-size: 110px 110px; }
}
@media (min-width: 2600px) {
  :root { --max: 1720px; }
  body { font-size: 17px; }
  .hero h1 { font-size: 92px; max-width: 1300px; }
  .preview { max-width: 1640px; } .pv { height: 780px; grid-template-columns: 52px 280px minmax(0, 1fr) 440px; font-size: 14px; }
  .pv-code { font-size: 14px; }
  .rays { width: 1000px; height: 520px; }
  .models .model, .step, .mode, .feat > div { padding: 32px 28px; }
}
.model-sample { list-style: none; display: grid; gap: 3px; font: 12px var(--mono); color: var(--muted); }
.model-sample li::before { content: '› '; color: var(--faint); }

/* download hero */
.dl-hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 0 64px; margin-bottom: 40px; border-bottom: 1px solid var(--line); }
.dl-glow { position: absolute; left: 50%; top: 30px; width: 620px; height: 420px; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(74,222,128,.14), transparent 65%); filter: blur(20px); pointer-events: none; }
.dl-icon { position: relative; width: 112px; height: 112px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(180deg, #17181b, #0c0c0d); border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 30px 60px -20px rgba(0,0,0,.9), 0 0 60px -10px rgba(74,222,128,.25); margin-bottom: 28px; animation: dlFloat 6s ease-in-out infinite; }
.dl-icon img { width: 74px; filter: drop-shadow(0 0 16px rgba(74,222,128,.4)); }
@keyframes dlFloat { 50% { transform: translateY(-6px); } }
.dl-hero h1 { position: relative; font-size: clamp(34px, 5vw, 56px); letter-spacing: -.04em; font-weight: 600; line-height: 1.05; }
.dl-sub { position: relative; color: var(--muted); margin: 14px 0 30px; font-size: 15px; }
.dl-cta { position: relative; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.dl-big { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 28px; border-radius: 14px; font-size: 16.5px; font-weight: 600; color: #04140a;
  background: linear-gradient(180deg, #4ade80, #22c55e); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 16px 40px -12px rgba(34,197,94,.6); transition: transform .15s, filter .15s, box-shadow .15s; }
.dl-big:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 22px 50px -12px rgba(34,197,94,.7); }
.dl-big small { font-weight: 500; font-size: 13px; opacity: .65; padding-left: 12px; border-left: 1px solid rgba(4,20,10,.2); }
.dl-alt { color: var(--muted); font-size: 13.5px; } .dl-alt:hover { color: var(--accent); }
.dl-steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(3, auto); gap: 40px; margin-top: 48px; text-align: left; }
.dl-steps li { display: flex; gap: 12px; align-items: flex-start; }
.dl-steps span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--mono); color: var(--accent); border: 1px solid var(--accent-line); background: var(--accent-bg); flex: none; }
.dl-steps b { display: block; font-size: 14px; font-weight: 600; } .dl-steps small { color: var(--muted); font-size: 13px; }
.dl-h2 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; margin-bottom: 16px; }
@media (max-width: 720px) { .dl-steps { grid-template-columns: 1fr; gap: 16px; } }

.narrow-doc{max-width:780px;margin:0 auto}
