/* stylasso.pixlasso.com. Tokens from design/BRAND.md ("Proof"). Self-hosted fonts, no trackers. */
@font-face { font-family: "Brand"; src: url("/fonts/brand-latin.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Brand"; src: url("/fonts/brand-vi.woff2") format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Brand Mono"; src: url("/fonts/mono-latin.woff2") format("woff2"); font-weight: 400; font-display: swap; }
:root {
  color-scheme: light;
  --accent: #b01b8e; --accent-deep: #890a6e; --accent-ink: #fff; --mark: #0088a8;
  --text: #24151f; --muted: #705d69; --soft: #faf3f7; --line: #e8d9e2; --bg: #fff;
  --font: "Brand", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --mono: "Brand Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--font); font-variant-numeric: tabular-nums; }
a { color: var(--accent); }
a:hover { color: var(--accent-deep); }
code { font-family: var(--mono); font-size: .9em; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(34px, 6vw, 60px); font-weight: 700; }
h2 { font-size: clamp(24px, 3.4vw, 34px); }
h3 { font-size: 19px; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px)); }
.prose { max-width: 720px; }
.prose > * + * { margin-top: 14px; }
.prose h2 { margin-top: 34px; font-size: 24px; }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; padding: 13px 20px; border-radius: 10px; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.btn:hover { background: var(--accent-deep); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--muted); }
:focus-visible { outline: 2px solid var(--accent-deep); outline-offset: 3px; }
nav.top, header.top { display: flex; align-items: center; gap: 14px; padding-block: 18px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -0.02em; }
.top .links { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
.top .links a { color: var(--muted); text-decoration: none; }

/* Signature: the color bar with crop marks outside its corners. */
.bar { position: relative; display: flex; height: 22px; margin: 6px 0; }
.bar span { flex: 1; }
.bar::before, .bar::after { content: ""; position: absolute; width: 12px; height: 12px; border: 0 solid var(--accent); }
.bar::before { top: -7px; left: -7px; border-width: 1.5px 0 0 1.5px; }
.bar::after { bottom: -7px; right: -7px; border-width: 0 1.5px 1.5px 0; }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-block: 40px 64px; }
.hero .lead { font-size: 20px; color: var(--muted); margin-top: 18px; max-width: 34em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .fine { font-size: 14px; color: var(--muted); margin-top: 12px; }
.shot { width: 100%; height: auto; border-radius: 14px; box-shadow: 0 0 0 1px var(--line), 0 30px 70px -28px rgb(36 21 31 / .45); }
section.band { padding-block: 64px; border-top: 1px solid var(--line); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 28px; }
.grid p { color: var(--muted); margin-top: 6px; font-size: 16px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.formats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.formats code { background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 5px 9px; font-size: 14px; }
table.plans { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 16px; }
.plans th, .plans td { text-align: left; padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plans th { font-size: 15px; color: var(--muted); font-weight: 600; }
.plans td:nth-child(n+2) { width: 18%; }
.price { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
details { border-bottom: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 8px; color: var(--muted); }
footer.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; margin-top: 48px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer.foot a { color: var(--muted); }
.key { font-family: var(--mono); font-size: 18px; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; user-select: all; overflow-wrap: anywhere; }
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.reasons a { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; color: var(--text); }
.reasons a:hover { border-color: var(--accent); }
@media (max-width: 820px) { .hero, .split { grid-template-columns: 1fr; gap: 32px; } .top .links { display: none; } }

/* Share pages (rendered by functions/s/[id].js). */
body.share main { max-width: 960px; margin: 0 auto; padding: 8px 20px 40px; }
body.share header.top { max-width: 960px; margin: 0 auto; padding: 18px 20px; flex-wrap: wrap; }
body.share h1 { font-size: clamp(30px, 5vw, 44px); margin-top: 18px; }
body.share h2 { font-size: 20px; margin: 36px 0 12px; }
body.share .band { position: relative; display: flex; height: 120px; margin: 28px 0 8px; padding: 0; border: 0; }
body.share .band span { min-width: 8px; box-shadow: inset 0 0 0 1px #8882; }
body.share .band::before, body.share .band::after { content: ""; position: absolute; width: 14px; height: 14px; border: 0 solid var(--accent); }
body.share .band::before { top: -8px; left: -8px; border-width: 1.5px 0 0 1.5px; }
body.share .band::after { bottom: -8px; right: -8px; border-width: 0 1.5px 1.5px 0; }
.sws { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 6px; }
.sw { display: flex; gap: 12px; align-items: center; width: 100%; background: none; border: 0; padding: 8px; border-radius: 10px; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.sw:hover { background: var(--soft); }
.sw .chip { width: 44px; height: 44px; border-radius: 8px; flex: none; box-shadow: inset 0 0 0 1px #8883; }
.sw span:last-child { display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; }
.sw small, .fonts small { color: var(--muted); }
.fonts { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.fonts li { display: flex; flex-direction: column; }
.spec { display: block; height: 56px; width: 100%; max-width: 560px; background: var(--text); -webkit-mask: no-repeat left center / contain; mask: no-repeat left center / contain; }
.tw { overflow-x: auto; }
.tw table { border-collapse: collapse; min-width: 480px; width: 100%; font-size: 15px; }
.tw th, .tw td { text-align: left; padding: 7px 10px 7px 0; border-bottom: 1px solid var(--line); }
.tiles { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 18px; }
.tiles li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13px; }
.rad { width: 64px; height: 44px; border: 1.5px solid var(--text); }
.shd { width: 64px; height: 44px; border-radius: 8px; background: #fff; }
.made { margin-top: 44px; padding: 22px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.made p { max-width: 560px; }
body.share .foot { max-width: 960px; margin: 0 auto; padding: 22px 20px 40px; }
.toast { position: fixed; left: 50%; bottom: max(20px, env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--text); color: #fff; padding: 9px 14px; border-radius: 9px; font-size: 14px; opacity: 0; transition: opacity .15s ease; pointer-events: none; }
.toast.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Landing (index.html + landing.js) ---------- */
@font-face { font-family: "Fraunces"; src: url("/demo/fonts/fraunces.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/demo/fonts/hanken.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/demo/fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/demo/fonts/space.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
:root { --ink: #24151f; }
.btn.small { padding: 8px 14px; font-size: 15px; border-radius: 8px; }
.home nav.top .links { margin-left: auto; }
.home nav.top #nav-install { margin-left: 6px; }

.home .hero { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 56px; align-items: end; padding-block: 56px 40px; }
.home .hero h1 { font-size: clamp(40px, 6.4vw, 78px); line-height: .98; letter-spacing: -0.035em; }
.home .hero .lead { font-size: 18px; margin: 0; max-width: none; color: var(--muted); }
.home .hero .cta { margin-top: 22px; align-items: center; }
.soon { font-size: 15px; color: var(--text); padding: 10px 14px; border-radius: 10px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }

/* The proof sheet: crop marks at the outer corners, registration targets on the sides. */
.stage-wrap { padding-bottom: 72px; }
.stage { position: relative; background: var(--soft); border-radius: 4px; padding: 22px 22px 16px; }
.stage::before, .stage::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid var(--accent); pointer-events: none; }
.stage::before { top: -10px; left: -10px; border-width: 1.5px 0 0 1.5px; }
.stage::after { bottom: -10px; right: -10px; border-width: 0 1.5px 1.5px 0; }
.stage-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.stage-title { font-weight: 600; font-size: 15px; color: var(--muted); }
.picker { display: flex; flex-wrap: wrap; gap: 6px; }
.picker button { display: flex; align-items: center; gap: 10px; padding: 7px 12px 7px 9px; border-radius: 10px; border: 0; background: transparent; font: inherit; color: var(--text); cursor: pointer; text-align: left; }
.picker button:hover { background: #fff8; }
.picker button[aria-selected="true"] { background: #fff; box-shadow: 0 0 0 1px var(--line), 0 6px 18px -10px rgb(36 21 31 / .35); }
.picker b { display: block; font-size: 14px; line-height: 1.2; }
.picker small { display: block; font-size: 12px; color: var(--muted); line-height: 1.2; }
.dots { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 22px; height: 22px; flex: none; }
.dots i { border-radius: 2px; box-shadow: inset 0 0 0 1px #8883; }
.stage-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.stage-note { margin-top: 12px; font-size: 13px; color: var(--muted); }

.browser { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -30px rgb(36 21 31 / .45); display: flex; flex-direction: column; }
.chrome-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: #fff; }
.chrome-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.chrome-bar .url { margin-left: 10px; flex: 1; font: 12px var(--mono); color: var(--muted); background: var(--soft); border-radius: 6px; padding: 4px 10px; }
.site { position: relative; flex: 1; overflow: hidden; background: var(--bg); color: var(--tx); font-family: var(--fb); font-size: 14px; line-height: 1.55; transition: background-color .3s ease, color .3s ease; }
.site .s-nav { display: flex; align-items: center; gap: 10px; padding: 14px 22px; border-bottom: 1px solid var(--ln); }
.site .s-nav b { font: 700 16px var(--fh); letter-spacing: -0.02em; }
.site .s-nav span { margin-left: auto; display: flex; gap: 16px; color: var(--mu); font-size: 13px; }
.site .s-nav i { font-style: normal; }
.s-btn { display: inline-block; font-style: normal; font-weight: 600; font-size: 13px; padding: 8px 14px; border-radius: var(--r); background: var(--p); color: #fff; box-shadow: var(--sh); }
.s-btn.alt { background: transparent; color: var(--tx); box-shadow: inset 0 0 0 1px var(--ln); margin-left: 6px; }
.site.dark .s-btn:not(.alt) { box-shadow: 0 0 0 1px color-mix(in oklab, var(--p) 60%, transparent), 0 8px 24px -10px var(--p); }
.s-hero { padding: 34px 22px 26px; }
.s-pill { display: inline-block; font-size: 12px; font-weight: 600; color: var(--a); background: color-mix(in oklab, var(--a) 12%, var(--bg)); padding: 3px 10px; border-radius: 999px; margin-bottom: 14px; }
.s-hero h2 { font: 600 clamp(24px, 3vw, 36px)/1.05 var(--fh); letter-spacing: -0.03em; max-width: 15em; margin: 0 0 10px; }
.s-hero p { color: var(--mu); margin: 0 0 18px; max-width: 32em; }
.s-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 22px 22px; }
.s-band { margin: 0 22px; padding: 18px; border-radius: var(--r); background: var(--sf); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.s-band b { font: 600 17px/1.2 var(--fh); letter-spacing: -0.02em; }
.s-foot { padding: 18px 22px; margin-top: 18px; border-top: 1px solid var(--ln); font-size: 11.5px; color: var(--mu); }
.s-card { background: var(--sf); border: 1px solid var(--ln); border-radius: var(--r); padding: 12px; display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--mu); }
.s-card b { font: 600 14px var(--fh); color: var(--tx); }
.scan { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: linear-gradient(180deg, transparent 0 46%, rgb(176 27 142 / .0) 46%, rgb(176 27 142 / .9) 50%, rgb(176 27 142 / .0) 54%, transparent 54%) no-repeat; background-size: 100% 220%; }
.run .scan { animation: scan .9s cubic-bezier(.5, 0, .3, 1) both; }
@keyframes scan { 0% { opacity: 1; background-position: 0 100%; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 0 -10%; } }
.run .kp-band span, .run .kp-sw li { animation: drop .45s cubic-bezier(.2, .7, .2, 1) both; animation-delay: inherit; }
@keyframes drop { from { opacity: 0; transform: translateY(6px); } }

.kitpanel { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 24px 60px -30px rgb(36 21 31 / .45); display: flex; flex-direction: column; min-width: 0; overflow: hidden; font-size: 13px; }
.kp-top { display: flex; align-items: center; gap: 7px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.kp-top span { color: var(--muted); font-size: 12px; }
.kp-band { position: relative; display: flex; height: 40px; margin: 16px 16px 8px; }
.kp-band span { min-width: 5px; box-shadow: inset 0 0 0 1px #8882; }
.kp-band::before, .kp-band::after { content: ""; position: absolute; width: 8px; height: 8px; border: 0 solid var(--accent); }
.kp-band::before { top: -5px; left: -5px; border-width: 1.5px 0 0 1.5px; }
.kp-band::after { bottom: -5px; right: -5px; border-width: 0 1.5px 1.5px 0; }
.kp-sw { list-style: none; margin: 0; padding: 4px 12px 8px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px 8px; }
.kp-sw li { display: flex; align-items: center; gap: 8px; padding: 4px; }
.kp-sw li > i { width: 26px; height: 26px; border-radius: 5px; flex: none; box-shadow: inset 0 0 0 1px #8883; }
.kp-sw span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.kp-sw code { font-size: 11px; color: var(--muted); }
.kp-sw b { font-size: 12.5px; }
.kp-sw small { font-size: 11px; color: var(--muted); }
.kp-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; padding: 8px 16px 12px; border-top: 1px dashed var(--line); }
.kp-spec { display: block; height: 34px; background: var(--text); -webkit-mask: no-repeat left center / contain; mask: no-repeat left center / contain; }
.kp-fonts small { color: var(--muted); font-size: 11px; }
.kp-export { border-top: 1px solid var(--line); display: flex; flex-direction: column; min-height: 0; flex: 1; }
.kp-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; position: relative; }
.kp-tabs { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; flex: 1; }
.kp-tabs button { flex: none; border: 0; background: transparent; font: 500 12px var(--font); color: var(--muted); padding: 5px 8px; border-radius: 6px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.kp-tabs button.on { background: var(--soft); color: var(--accent); }
.pro-tag { font-size: 9.5px; font-weight: 700; color: var(--accent); border: 1px solid currentColor; border-radius: 4px; padding: 0 3px; line-height: 1.4; }
.kp-copy { border: 0; background: var(--accent); color: #fff; font: 600 12px var(--font); padding: 6px 12px; border-radius: 7px; cursor: pointer; }
.kp-copy:hover { background: var(--accent-deep); }
.kp-toast { position: absolute; right: 12px; top: -22px; font-size: 12px; color: var(--accent); }
.out { flex: 1; min-height: 160px; max-height: 230px; overflow: auto; background: #fcf8fb; border-top: 1px solid var(--line); }
.code { margin: 0; padding: 10px 14px; font: 11.5px/1.6 var(--mono); color: var(--text); white-space: pre; }
.code .cm { color: var(--muted); }
.hx { white-space: nowrap; }
.hx i { display: inline-block; width: .8em; height: .8em; border-radius: 2px; margin-right: 4px; vertical-align: -0.05em; box-shadow: inset 0 0 0 1px #8884; }

/* How it works: a real sequence, so the steps are numbered. */
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--accent); color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.steps p { color: var(--muted); margin-top: 8px; font-size: 16px; }

/* Pro: the one dark band. The preview is styled only by the exported shadcn theme. */
section.pro { background: var(--ink); color: #f6eef3; border-top: 0; }
.pro .muted { color: #cbb9c4; margin-top: 14px; }
.pro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.pro h2 { color: #fff; }
.pro-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; font-size: 16px; color: #e3d5de; }
.pro-list li { padding-left: 22px; position: relative; }
.pro-list li::before { content: ""; position: absolute; left: 0; top: .45em; width: 9px; height: 9px; border: 0 solid #e875c6; border-width: 1.5px 0 0 1.5px; }
.pro-list b { color: #fff; }
.pro-buy { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.pro .btn { background: #e875c6; color: #240c1d; }
.pro .btn:hover { background: #f4a8db; color: #240c1d; }
.pro .fine { color: #cbb9c4; font-size: 14px; }
.ui-preview { display: grid; grid-template-columns: 150px 1fr; background: var(--ui-background); color: var(--ui-foreground); border-radius: calc(var(--ui-radius) + 6px); overflow: hidden; box-shadow: 0 30px 80px -30px #000; font: 13px/1.5 system-ui, sans-serif; transition: background-color .3s ease; }
.ui-side { background: var(--ui-sidebar); border-right: 1px solid var(--ui-sidebar-border); padding: 14px 10px; display: flex; flex-direction: column; gap: 2px; color: var(--ui-sidebar-foreground); }
.ui-brand { font-weight: 700; margin: 0 6px 10px; font-size: 13px; }
.ui-side a { padding: 6px 8px; border-radius: var(--ui-radius); color: inherit; }
.ui-side a.on { background: var(--ui-sidebar-primary); color: var(--ui-sidebar-primary-foreground); }
.ui-main { padding: 14px; display: grid; gap: 12px; }
.ui-card { background: var(--ui-card); color: var(--ui-card-foreground); border: 1px solid var(--ui-border); border-radius: var(--ui-radius); padding: 14px; display: grid; gap: 10px; }
.ui-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ui-card h4 { margin: 0; font-size: 14px; flex: 1; }
.ui-badge { background: var(--ui-accent); color: var(--ui-accent-foreground); border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 600; }
.ui-chart { display: flex; align-items: flex-end; gap: 6px; height: 84px; }
.ui-chart i { flex: 1; border-radius: calc(var(--ui-radius) / 2) calc(var(--ui-radius) / 2) 0 0; background: var(--ui-chart-1); }
.ui-chart i:nth-child(3n+2) { background: var(--ui-chart-2); }
.ui-chart i:nth-child(3n) { background: var(--ui-chart-3); }
.ui-legend { display: flex; gap: 12px; font-size: 11.5px; color: var(--ui-muted-foreground); }
.ui-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.ui-legend .c1 { background: var(--ui-chart-1); } .ui-legend .c2 { background: var(--ui-chart-2); } .ui-legend .c3 { background: var(--ui-chart-3); }
.ui-label { font-weight: 600; font-size: 13px; }
.ui-input { flex: 1; min-width: 140px; border: 1px solid var(--ui-input); border-radius: var(--ui-radius); padding: 7px 10px; color: var(--ui-muted-foreground); background: var(--ui-background); }
.ui-btn { background: var(--ui-primary); color: var(--ui-primary-foreground); border-radius: var(--ui-radius); padding: 7px 12px; font-weight: 600; font-size: 12.5px; }
.ui-btn.secondary { background: var(--ui-secondary); color: var(--ui-secondary-foreground); }
.ui-btn.outline { background: transparent; color: var(--ui-foreground); box-shadow: inset 0 0 0 1px var(--ui-border); }
.ui-muted { color: var(--ui-muted-foreground); font-size: 12px; margin-left: auto; }

.ai { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ai .muted { margin-top: 14px; }
.prompt { margin-top: 22px; display: inline-block; font: 14px var(--mono); padding: 10px 14px; border-radius: 10px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.prompt::before { content: "› "; color: var(--accent); }
.doc { margin: 0; max-height: 420px; overflow: auto; background: #fcf8fb; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font: 12.5px/1.6 var(--mono); white-space: pre; }
.doc .cm { color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 24px; }
.facts p { color: var(--muted); margin-top: 6px; font-size: 16px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; max-width: 860px; }
.plan { border-radius: 14px; padding: 26px; box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 12px; }
.plan-pro { box-shadow: inset 0 0 0 1.5px var(--accent); background: var(--soft); }
.plan .amount { font-size: 40px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.plan .amount span { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font-size: 16px; }
.plan .btn { align-self: flex-start; margin-top: 4px; }
.plan .fine { font-size: 13px; color: var(--muted); }

@media (max-width: 980px) {
  .stage-body, .pro-grid, .ai { grid-template-columns: 1fr; }
  .home .hero { grid-template-columns: 1fr; align-items: start; padding-block-start: 28px; }
}
@media (max-width: 720px) {
  .steps ol, .facts, .plans { grid-template-columns: 1fr; gap: 24px; }
  .s-cards { grid-template-columns: 1fr 1fr; } .s-cards .s-card:nth-child(3) { display: none; }
  .site .s-nav span { display: none; }
  .stage { padding: 14px 12px 12px; }
  .ui-preview { grid-template-columns: 1fr; } .ui-side { display: none; }
  .home nav.top .links { display: none; }
  .home nav.top #nav-install { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .run .scan, .run .kp-band span, .run .kp-sw li { animation: none; } }
