:root {
	--bg: #070b14;
	--panel: rgba(255, 255, 255, .04);
	--panel-border: rgba(255, 255, 255, .09);
	--text: #eef1f8;
	--muted: #98a3b8;
	--accent: #6d8cff;
	--accent-2: #b46dff;
	--radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 17px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
a { color: inherit; }
code, pre, kbd { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Background */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; animation: float 18s ease-in-out infinite; }
.orb.o1 { width: 520px; height: 520px; left: -120px; top: -140px; background: rgba(109, 140, 255, .55); }
.orb.o2 { width: 460px; height: 460px; right: -100px; top: 60px; background: rgba(180, 109, 255, .45); animation-delay: -6s; }
.orb.o3 { width: 380px; height: 380px; left: 40%; top: 55%; background: rgba(60, 200, 255, .22); animation-delay: -12s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, 50px) scale(1.12); } }
.gridbg {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 70%);
}

/* Nav */
header {
	position: sticky; top: 0; z-index: 20;
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	background: rgba(7, 11, 20, .65);
	border-bottom: 1px solid var(--panel-border);
}
header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { font-weight: 700; font-size: 20px; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--accent); }
nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
nav a:not(.btn) { color: var(--muted); text-decoration: none; transition: color .15s; }
nav a:not(.btn):hover, nav a.active { color: var(--text); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 8px; text-decoration: none; cursor: pointer;
	padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 1px solid transparent;
	transition: transform .15s, box-shadow .15s, background .15s;
}
.btn-primary {
	color: #fff;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	box-shadow: 0 8px 30px rgba(109, 140, 255, .35);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(109, 140, 255, .55); }
.btn-ghost { color: var(--text); border-color: var(--panel-border); background: var(--panel); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero { padding: 96px 0 40px; text-align: center; }
.badge {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
	background: var(--panel); border: 1px solid var(--panel-border); color: var(--muted); font-size: 13px; margin-bottom: 26px;
}
.badge b { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(40px, 7.5vw, 76px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 22px; font-weight: 800; }
.grad {
	background: linear-gradient(120deg, #fff 10%, var(--accent) 50%, var(--accent-2) 90%);
	background-size: 200% auto;
	-webkit-background-clip: text; background-clip: text; color: transparent;
	animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.hero > .wrap > p { max-width: 620px; margin: 0 auto 34px; color: var(--muted); font-size: clamp(17px, 2.2vw, 20px); }
.actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.note { margin-top: 16px; color: var(--muted); font-size: 14px; }

/* Demo */
.demo { margin: 64px auto 0; max-width: 960px; perspective: 1400px; }
.browser {
	position: relative; border-radius: 16px; overflow: hidden; text-align: left;
	background: #0d1322; border: 1px solid var(--panel-border);
	box-shadow: 0 40px 120px rgba(109, 140, 255, .22), 0 0 0 1px rgba(255, 255, 255, .03);
	transform: rotateX(5deg); transform-origin: 50% 100%; transition: transform .6s;
}
.demo:hover .browser { transform: rotateX(0); }
.bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: rgba(255, 255, 255, .04); border-bottom: 1px solid var(--panel-border); }
.bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.bar .url { margin-left: 10px; flex: 1; max-width: 340px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .05); color: var(--muted); font-size: 12.5px; }
.stage { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 340px; }
.demo-page { padding: 44px 36px; background: #f4f6fb; color: #1b2233; font-family: Georgia, serif; }
.demo-page h2 { font-size: 34px; line-height: 1.15; letter-spacing: 0; margin: 0 0 12px; font-weight: 700; color: #1b2233; font-family: Georgia, serif; }
.demo-page p { font-size: 15px; margin: 0 0 22px; color: #5a6379; font-family: system-ui, sans-serif; }
.demo-page .cta { display: inline-block; padding: 10px 20px; border: 2px solid #1b2233; background: transparent; color: #1b2233; font: 600 14px system-ui, sans-serif; cursor: default; }
.editor { background: #0a0f1c; border-left: 1px solid var(--panel-border); display: flex; flex-direction: column; }
.tabs { display: flex; gap: 4px; padding: 10px 12px; border-bottom: 1px solid var(--panel-border); font-size: 13px; }
.tabs span { padding: 5px 12px; border-radius: 8px; color: var(--muted); }
.tabs span.on { background: rgba(109, 140, 255, .18); color: #fff; }
.code { flex: 1; margin: 0; padding: 16px 18px; font-size: 13.5px; line-height: 1.7; color: #c9d1e2; white-space: pre-wrap; min-height: 230px; }
.code .caret { display: inline-block; width: 7px; height: 15px; margin-left: 1px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.code .sel { color: #8fb0ff; } .code .prop { color: #c99bff; } .code .val { color: #8ee6b4; }
.editor .foot { padding: 10px 14px; border-top: 1px solid var(--panel-border); color: var(--muted); font-size: 12.5px; display: flex; justify-content: space-between; }
.editor .foot b { color: #4ade80; font-weight: 600; }

/* Sections */
section { padding: 84px 0; }
.eyebrow { color: var(--accent); font-weight: 600; font-size: 14px; letter-spacing: .02em; margin-bottom: 12px; }
h2 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 14px; font-weight: 750; }
.lead { color: var(--muted); max-width: 580px; margin: 0 0 44px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }

/* Feature cards with spotlight */
.features { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
	position: relative; padding: 30px; border-radius: var(--radius); overflow: hidden;
	background: var(--panel); border: 1px solid var(--panel-border);
	transition: transform .2s, border-color .2s;
}
.card::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .25s;
	background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(109, 140, 255, .18), transparent 65%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(109, 140, 255, .5); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.icon {
	width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
	background: linear-gradient(135deg, rgba(109, 140, 255, .25), rgba(180, 109, 255, .25));
	border: 1px solid rgba(109, 140, 255, .35);
}
.icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { margin: 0 0 8px; font-size: 21px; letter-spacing: -.015em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .05em; vertical-align: 3px; color: var(--accent-2); background: rgba(180, 109, 255, .14); }

/* Steps */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.step { padding: 4px 0; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.step h4 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Pricing */
.pricing { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 820px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; }
.plan.pro { border-color: rgba(109, 140, 255, .55); background: linear-gradient(180deg, rgba(109, 140, 255, .1), var(--panel)); }
.plan .name { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.plan .amount { font-size: 48px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.plan .amount small { font-size: 16px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .desc { margin: 8px 0 22px !important; }
.plan ul, .check { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; font-size: 15px; color: #c9d1e2; }
.plan li, .check li { display: flex; gap: 10px; align-items: flex-start; }
.plan li::before, .check li::before {
	content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
	background: rgba(109, 140, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d8cff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.plan .btn { margin-top: auto; }
.ribbon { position: absolute; top: 18px; right: 18px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }

/* CTA */
.cta-box {
	text-align: center; padding: 64px 24px; border-radius: 28px; border: 1px solid var(--panel-border);
	background: radial-gradient(500px 220px at 50% 0%, rgba(109, 140, 255, .25), transparent 70%), var(--panel);
}
.cta-box h2 { margin-bottom: 12px; } .cta-box p { color: var(--muted); margin: 0 auto 28px; max-width: 480px; }

footer { border-top: 1px solid var(--panel-border); padding: 32px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
footer a { text-decoration: none; } footer a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* Docs */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 56px; padding: 56px 0 90px; align-items: start; }
.toc { position: sticky; top: 96px; display: grid; gap: 4px; font-size: 14.5px; }
.toc a { color: var(--muted); text-decoration: none; padding: 6px 12px; border-radius: 8px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); }
.toc a.on { color: #fff; background: rgba(109, 140, 255, .12); border-left-color: var(--accent); }
.toc .grp { margin: 14px 12px 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: #667089; }
.doc { max-width: 720px; min-width: 0; }
.doc h1 { font-size: clamp(34px, 5vw, 46px); margin-bottom: 12px; }
.doc > p.lead { margin-bottom: 40px; }
.doc section { padding: 0; margin: 0 0 56px; }
.doc h2 { font-size: 28px; margin: 0 0 14px; padding-top: 8px; }
.doc h3 { font-size: 19px; margin: 26px 0 8px; }
.doc p, .doc li { color: #c3cbdc; font-size: 16.5px; }
.doc ul, .doc ol { padding-left: 22px; } .doc li { margin: 4px 0; }
.doc code { background: rgba(255, 255, 255, .08); padding: 2px 7px; border-radius: 6px; font-size: .88em; }
.doc pre { background: #0a0f1c; border: 1px solid var(--panel-border); border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: 14px; line-height: 1.65; color: #c9d1e2; }
.doc pre code { background: none; padding: 0; }
kbd { background: rgba(255, 255, 255, .09); border: 1px solid var(--panel-border); border-bottom-width: 2px; border-radius: 6px; padding: 1px 7px; font-size: .85em; }
.callout { border: 1px solid rgba(109, 140, 255, .35); background: rgba(109, 140, 255, .08); border-radius: 12px; padding: 14px 18px; margin: 18px 0; color: #c3cbdc; font-size: 15.5px; }
.callout strong { color: #fff; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 14px 0; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--panel-border); color: #c3cbdc; }
.table th { color: #fff; font-weight: 600; }


@media (max-width: 820px) {
	.stage { grid-template-columns: 1fr; }
	.editor { border-left: 0; border-top: 1px solid var(--panel-border); }
	.docs { grid-template-columns: 1fr; gap: 24px; }
	.toc { position: static; grid-auto-flow: column; overflow-x: auto; padding-bottom: 6px; }
	.toc .grp { display: none; } .toc a { white-space: nowrap; border-left: 0; }
}
/* Claude showcase */
.try { margin: 56px 0 14px; color: var(--muted); font-size: 14px; letter-spacing: .02em; }
.try b { color: var(--accent); }
.showcase { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; align-items: stretch; text-align: left; max-width: 1040px; margin: 0 auto; padding-bottom: 20px; }
.chat, .mk-wrap { border-radius: 18px; border: 1px solid var(--panel-border); overflow: hidden; background: #0d1322; box-shadow: 0 30px 90px rgba(109, 140, 255, .2); }
.chat { display: flex; flex-direction: column; height: 500px; }
.chat-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--panel-border); font-size: 14px; }
.chat-head .tag { margin-left: 0; }
.dotlive { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: none; }
.chat-log::-webkit-scrollbar { display: none; }
.msg { max-width: 92%; padding: 10px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; animation: pop .3s ease; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.msg.me { align-self: flex-end; background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; border-bottom-right-radius: 4px; overflow-wrap: anywhere; }
.msg.ai { align-self: flex-start; background: rgba(255, 255, 255, .06); border: 1px solid var(--panel-border); color: #d6dcec; border-bottom-left-radius: 4px; width: 94%; }
.msg.ai .who { font-size: 12px; font-weight: 700; color: var(--accent-2); margin-bottom: 4px; }
.msg.ai pre { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #070b14; font-size: 12px; line-height: 1.55; white-space: pre-wrap; color: #c9d1e2; }
.msg.ai pre .sel { color: #8fb0ff; } .msg.ai pre .prop { color: #c99bff; } .msg.ai pre .val { color: #8ee6b4; }
.dots span { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.dots span:nth-child(2) { animation-delay: .15s; } .dots span:nth-child(3) { animation-delay: .3s; }
@keyframes bounce { 50% { transform: translateY(-5px); opacity: .5; } }
.applied { margin-top: 8px; font-size: 12.5px; color: #4ade80; }
.chat-input { display: flex; align-items: center; gap: 8px; margin: 0 14px 14px; padding: 6px 6px 6px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--panel-border); transition: border-color .15s; }
.chat-input:focus-within { border-color: var(--accent); }
.chat-input input { flex: 1; min-width: 0; padding: 8px 0; border: 0; outline: 0; background: none; color: var(--text); font: inherit; font-size: 14.5px; }
.chat-input input::placeholder { color: #667089; }
.chat-input .send { width: 34px; height: 34px; flex: none; border: 0; cursor: pointer; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--accent-2)) center / 100% no-repeat; position: relative; transition: transform .15s; }
.chat-input .send::after { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 18V6M6.5 11.5L12 6l5.5 5.5'/%3E%3C/svg%3E") center / 18px no-repeat; }
.chat-input .send:hover { transform: scale(1.08); }
.chat-input .send.go { transform: scale(.82); }

/* The page Claude styles (deliberately plain until styled) */
.mk-wrap { display: flex; flex-direction: column; height: 500px; }
.mk-wrap .bar .hint { margin-left: auto; font-size: 12px; color: var(--muted); }
.mk, .mk * { transition: all .7s ease; }
.mk { flex: 1; overflow: hidden; display: grid; place-items: center; background: #fff; color: #222; font-family: "Times New Roman", serif; }
.mk-body { padding: 26px 24px; width: 100%; max-width: 440px; text-align: center; }
.mk-title { margin: 0 0 8px; font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: 0; color: #222; }
.mk-text { margin: 0 0 28px; font-size: 15px; color: #555; }
.mk-btns { display: grid; grid-template-columns: repeat(3, auto); gap: 16px 12px; justify-content: center; }
.mk-b {
	display: inline-block; padding: 9px 16px; font-size: 14px; line-height: 1.2; cursor: pointer; user-select: none; white-space: nowrap;
	background: #eee; color: #222; border: 1px solid #999; border-radius: 0; box-shadow: 0 0 0 rgba(0, 0, 0, 0);
	letter-spacing: 0; text-transform: none; font-weight: 400; text-shadow: none; transform: none;
	transition: all .35s ease;
}

@media (max-width: 820px) {
	.showcase { grid-template-columns: 1fr; }
	.chat, .mk-wrap { height: 460px; }
}
@media (max-width: 460px) {
	.mk-btns { grid-template-columns: repeat(2, auto); }
	.mk-wrap .bar .hint { display: none; }
}
@media (max-width: 640px) {
	.hero { padding: 64px 0 24px; }
	section { padding: 60px 0; }
	nav { gap: 14px; font-size: 14px; }
	.hide-sm { display: none; }
	.logo { font-size: 18px; }
	.card { padding: 24px; }
	.browser { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; animation: none !important; }
	html { scroll-behavior: auto; }
	.reveal { opacity: 1; transform: none; }
}


/* Site branding */
.bstage { max-width: 940px; margin: 0 auto; border-radius: 18px; border: 1px solid var(--panel-border); background: #0d1322; overflow: hidden; box-shadow: 0 40px 120px rgba(119, 221, 144, .13), 0 30px 90px rgba(109, 140, 255, .18); }
.bbody { display: grid; grid-template-columns: 1fr 390px; min-height: 580px; }

/* mock site behind the panel */
.bsite { padding: 22px 26px; background: #f0f6fc; display: flex; flex-direction: column; gap: 22px; }
.bs-nav { display: flex; align-items: center; gap: 14px; }
.bs-nav b { width: 70px; height: 14px; border-radius: 4px; background: #003432; margin-right: auto; }
.bs-nav span { width: 38px; height: 8px; border-radius: 4px; background: #c5d0dc; }
.bs-hero { padding: 34px 28px; border-radius: 14px; background: #003432; display: flex; flex-direction: column; gap: 10px; }
.bs-hero i { display: block; height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .85); width: 78%; }
.bs-hero i.short { width: 52%; }
.bs-hero i.bs-p { height: 7px; background: rgba(255, 255, 255, .35); width: 66%; margin-top: 6px; }
.bs-hero i.mid { width: 44%; margin-top: 0; }
.bs-btn { width: 96px; height: 30px; margin-top: 12px; border-radius: 999px; background: #77dd90; }
.bs-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bs-cards span { height: 96px; border-radius: 12px; background: #fff; border: 1px solid #dde4ec; }
.bs-cards span:nth-child(2) { border-top: 4px solid #77dd90; }

/* the extension panel */
.bp { position: relative; display: flex; flex-direction: column; background: #080b13; border-left: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: #d6dcec; text-align: left; }
.bp-title { display: flex; align-items: center; gap: 8px; padding: 12px 14px 10px; }
.bp-title b { font-size: 14px; color: #fff; }
.bp-status { font-size: 12.5px; color: #4ade80; opacity: 0; transition: opacity .3s; }
.bp-status.show { opacity: 1; }
.bp-x { margin-left: auto; font-style: normal; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: rgba(255, 255, 255, .08); color: #fff; }
.bp-tabs { display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bp-tabs span { padding: 8px 10px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.bp-tabs span.on { color: #fff; border-bottom-color: #8b9dff; }
.bp-tabs em { margin-left: auto; font-style: normal; color: var(--muted); padding: 0 6px; }
.bp-tools { padding: 10px 12px 4px; min-height: 46px; position: relative; }
.tl { display: none; gap: 6px; flex-wrap: wrap; }
.bp-btn { display: inline-block; padding: 6px 11px; border-radius: 8px; font-size: 12px; font-weight: 500; color: #e6ebfa; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); white-space: nowrap; }
.bp-btn.go { background: linear-gradient(135deg, #6d8cff, #b46dff); border-color: transparent; color: #fff; }
.t-colors .tl-colors, .t-fonts .tl-fonts, .t-images .tl-images { display: flex; }

.bp-view { position: relative; flex: 1; padding: 6px 12px 10px; overflow: hidden; }
.pane { position: absolute; inset: 6px 12px 10px; opacity: 0; visibility: hidden; transition: opacity .3s; }
.t-colors .pane-colors, .t-fonts .pane-fonts, .t-images .pane-images { opacity: 1; visibility: visible; }

.cgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cs { position: relative; padding: 6px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .02); text-align: center; }
.cs i { display: block; height: 40px; border-radius: 7px; background: var(--c); border: 1px solid rgba(255, 255, 255, .12); }
.cs b { display: block; margin-top: 5px; font: 700 11.5px ui-monospace, Consolas, monospace; color: #e6ebfa; }
.cs span { font-size: 11px; color: var(--muted); }
.cs.pick.hit { border-color: #4ade80; box-shadow: 0 0 0 3px rgba(74, 222, 128, .2); }


.bp-hint { align-self: center; font-size: 12px; color: var(--muted); padding-left: 4px; }
.bp-btn.wide { display: block; text-align: center; padding: 8px; }
.sc { will-change: transform; }
.fcard { padding: 12px; margin-bottom: 8px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.fcard h4 { margin: 0 0 6px; font-size: 20px; font-weight: 600; color: #fff; line-height: 1.2; }
.fcard p { margin: 0 0 10px; font-size: 11.5px; line-height: 1.45; color: var(--muted); }
.ffile { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.ffile code { font: 11.5px ui-monospace, Consolas, monospace; color: #dfe5f7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.irow { display: flex; align-items: center; gap: 10px; padding: 9px; margin-bottom: 8px; border-radius: 10px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .07); }
.th { flex: none; width: 46px; height: 46px; border-radius: 6px; display: grid; place-items: center; background: conic-gradient(#2a2f3c 25%, #1c2029 0 50%, #2a2f3c 0 75%, #1c2029 0) 0 0 / 12px 12px; }
.th i { width: 30px; height: 30px; border-radius: 9px 9px 9px 2px; background: var(--g); }
.it { flex: 1; min-width: 0; line-height: 1.35; }
.it code { display: block; font: 600 11.5px ui-monospace, Consolas, monospace; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.it span { font-size: 11.5px; color: var(--muted); }
.ibtns { flex: none; display: flex; flex-wrap: wrap; gap: 5px; justify-content: flex-end; width: 142px; }
.ibtns .bp-btn { padding: 5px 9px; font-size: 11.5px; }
@keyframes bscroll { to { transform: translateY(var(--d)); } }
.t-fonts .pane-fonts .sc { --d: -150px; animation: bscroll 3.6s ease-in-out 1.4s both; }
.t-images .pane-images .sc { --d: -120px; animation: bscroll 3.6s ease-in-out 1.4s both; }
/* items pop in each time a tab is shown */
@keyframes bpop { from { opacity: 0; transform: translateY(10px) scale(.96); } }
.t-colors .cs, .t-fonts .fcard, .t-images .irow { animation: bpop .5s both; animation-delay: calc(var(--i) * 70ms + 80ms); }

.bp-bottom { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; padding: 8px; border-top: 1px solid rgba(255, 255, 255, .08); background: #0b0f19; }
.bp-bottom span { padding: 9px; text-align: center; border-radius: 9px; color: var(--muted); font-weight: 600; }
.bp-bottom span.on { color: #fff; background: linear-gradient(135deg, #6d8cff, #b46dff); }

@media (max-width: 820px) {
	.bbody { grid-template-columns: 1fr; min-height: 0; }
	.bsite { display: none; }
	.bp { min-height: 520px; border-left: 0; }
}
.btn-sm { white-space: nowrap; }
@media (max-width: 460px) {
	.logo span { display: none; }
}

/* Builder-aware */
.tag.free { color: #4ade80; background: rgba(74, 222, 128, .12); }
.trio { margin-top: 28px; }
.bld { max-width: 980px; margin: 0 auto; border-radius: 18px; border: 1px solid var(--panel-border); background: #0d1322; overflow: hidden; box-shadow: 0 40px 120px rgba(109, 140, 255, .2); }
.bld-body { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 470px; }

/* screenshot side */
.bshot { position: relative; background: #0a0f1c; padding: 26px; overflow: hidden; display: grid; place-items: center; }
.shot-page { position: relative; width: 100%; max-width: 400px; border-radius: 10px; overflow: hidden; background: #f4f6fa; padding: 16px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.sp-nav { display: flex; align-items: center; gap: 10px; }
.sp-nav b { width: 54px; height: 11px; border-radius: 4px; background: #1d2a44; margin-right: auto; }
.sp-nav span { width: 28px; height: 6px; border-radius: 3px; background: #c9d2e0; }
.sp-hero { padding: 26px 20px; border-radius: 10px; background: #1d2a44; display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.sp-hero i { display: block; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .88); width: 80%; }
.sp-hero i.short { width: 52%; }
.sp-hero i.sp-p { height: 6px; background: rgba(255, 255, 255, .35); width: 68%; margin-top: 4px; }
.sp-hero i.mid { width: 46%; margin-top: 0; }
.shot-btn { margin-top: 10px; padding: 8px 18px; font: 600 12px system-ui, sans-serif; color: #333; background: #dcdfe5; border: 1px solid #b9bec8; border-radius: 0; }
.sp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sp-cards span { height: 54px; border-radius: 8px; background: #fff; border: 1px solid #dde3ec; }
.scanline { position: absolute; left: 0; right: 0; top: 0; height: 3px; opacity: 0; background: linear-gradient(90deg, transparent, #7df9ff, transparent); box-shadow: 0 0 22px 6px rgba(125, 249, 255, .55); }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.crop { position: absolute; width: 22px; height: 22px; opacity: 0; border: 0 solid #7df9ff; }
.crop.tl { left: 14px; top: 14px; border-width: 3px 0 0 3px; border-top-left-radius: 6px; }
.crop.tr { right: 14px; top: 14px; border-width: 3px 3px 0 0; border-top-right-radius: 6px; }
.crop.bl { left: 14px; bottom: 14px; border-width: 0 0 3px 3px; border-bottom-left-radius: 6px; }
.crop.br { right: 14px; bottom: 14px; border-width: 0 3px 3px 0; border-bottom-right-radius: 6px; }
.shot-label { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #04121a; background: #7df9ff; opacity: 0; white-space: nowrap; }

/* detection side */
.bdet { padding: 20px 22px; border-left: 1px solid var(--panel-border); display: flex; flex-direction: column; gap: 14px; text-align: left; }
.btabs { display: flex; gap: 6px; flex-wrap: wrap; }
.btabs span { padding: 5px 13px; border-radius: 999px; font-size: 13px; color: var(--muted); background: var(--panel); border: 1px solid var(--panel-border); transition: all .25s; }
.btabs span.on { color: #fff; border-color: rgba(109, 140, 255, .7); background: rgba(109, 140, 255, .22); }
.bdet-status { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: #fff; opacity: 0; }
.bdet-status i { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 12px; background: #4ade80; color: #04210f; }
.tree { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; min-height: 150px; align-content: start; }
.tree li { display: flex; align-items: center; gap: 9px; padding-left: calc(var(--d) * 16px); font-size: 13px; color: #d6dcec; opacity: 0; }
.tree li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.tree li:last-child::before { background: #4ade80; }
.tree code { font: 11.5px ui-monospace, Consolas, monospace; color: #8fb0ff; }
.bcode { margin: auto 0 0; padding: 12px 14px; border-radius: 10px; background: #070b14; border: 1px solid var(--panel-border); font-size: 12px; line-height: 1.6; color: #c9d1e2; min-height: 100px; }
.bcode > span { display: block; opacity: 0; white-space: pre; }
.bcode .sel { color: #8fb0ff; } .bcode .prop { color: #c99bff; } .bcode .val { color: #8ee6b4; }

/* the sequence: runs each time the .go class is added */
@keyframes bscan { 0% { top: 0; opacity: 1; } 100% { top: calc(100% - 3px); opacity: 1; } }
@keyframes bflash { 0% { opacity: 0; } 12% { opacity: .85; } 100% { opacity: 0; } }
@keyframes bcrop { from { opacity: 0; transform: scale(1.5); } to { opacity: 1; transform: none; } }
@keyframes bup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bfix { to { background: linear-gradient(135deg, #6d8cff, #b46dff); color: #fff; border-color: transparent; border-radius: 999px; padding: 11px 26px; box-shadow: 0 8px 22px rgba(109, 140, 255, .55); } }
.bld.go .scanline { animation: bscan 1.5s ease-in-out .1s forwards; }
.bld.go .flash { animation: bflash .6s ease-out 1.7s; }
.bld.go .crop { animation: bcrop .5s ease 1.6s forwards; }
.bld.go .shot-label { animation: bup .4s ease 2s forwards; }
.bld.go .bdet-status { animation: bup .4s ease 2.1s forwards; }
.bld.go .tree li { animation: bup .4s ease forwards; animation-delay: calc(2.4s + var(--i) * .26s); }
.bld.go .bcode > span { animation: bup .35s ease forwards; animation-delay: calc(4s + var(--i) * .28s); }
.bld.go .shot-btn { animation: bfix .9s ease 5.4s forwards; }
.bld.static .scanline { opacity: 0; }
.bld.static .crop, .bld.static .shot-label, .bld.static .bdet-status, .bld.static .tree li, .bld.static .bcode > span { opacity: 1; }
.bld.static .shot-btn { background: linear-gradient(135deg, #6d8cff, #b46dff); color: #fff; border-color: transparent; border-radius: 999px; padding: 11px 26px; }

@media (max-width: 820px) {
	.bld-body { grid-template-columns: 1fr; }
	.bdet { border-left: 0; border-top: 1px solid var(--panel-border); }
}

/* Dropdown, docs tabs, home */
nav .dd { position: relative; }
nav .dd > a::after { content: "▾"; margin-left: 5px; font-size: 11px; }
nav .dd-menu { position: absolute; top: 100%; left: -14px; padding-top: 14px; display: none; }
nav .dd:hover .dd-menu, nav .dd:focus-within .dd-menu { display: block; }
nav .dd-menu .box { min-width: 260px; padding: 8px; border-radius: 14px; background: #0d1322; border: 1px solid var(--panel-border); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
nav .dd-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 600; }
nav .dd-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
nav .dd-menu small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.dd-i { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, rgba(109, 140, 255, .25), rgba(180, 109, 255, .25)); border: 1px solid rgba(109, 140, 255, .35); }
.dd-i svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.dtabs-wrap { padding-top: 34px; }
.dtabs { display: flex; gap: 8px; border-bottom: 1px solid var(--panel-border); }
.dtabs a { padding: 10px 18px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s; }
.dtabs a:hover { color: var(--text); }
.dtabs a.on { color: #fff; border-bottom-color: var(--accent); }
.dtabs-wrap + .docs { padding-top: 40px; }

.prod { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 44px; border-radius: 28px; border: 1px solid var(--panel-border); background: radial-gradient(520px 260px at 90% 0%, rgba(109, 140, 255, .18), transparent 70%), var(--panel); }
.prod-copy { text-align: left; }
.prod-vis .browser { transform: none; }
.prod-vis .stage { min-height: 300px; }
.soon { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14.5px; }
.hero .actions { margin-bottom: 8px; }
.hero { padding-bottom: 40px; }

@media (max-width: 900px) {
	.prod { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
}

/* Dropdown, docs tabs, home */
nav .dd { position: relative; }
nav .dd > a::after { content: "▾"; margin-left: 5px; font-size: 11px; }
nav .dd-menu { position: absolute; top: 100%; left: -14px; padding-top: 14px; display: none; }
nav .dd:hover .dd-menu, nav .dd:focus-within .dd-menu { display: block; }
nav .dd-menu .box { min-width: 260px; padding: 8px; border-radius: 14px; background: #0d1322; border: 1px solid var(--panel-border); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
nav .dd-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); font-weight: 600; }
nav .dd-menu a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
nav .dd-menu small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.dd-i { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, rgba(109, 140, 255, .25), rgba(180, 109, 255, .25)); border: 1px solid rgba(109, 140, 255, .35); }
.dd-i svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.dtabs-wrap { padding-top: 34px; }
.dtabs { display: flex; gap: 8px; border-bottom: 1px solid var(--panel-border); }
.dtabs a { padding: 10px 18px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .15s; }
.dtabs a:hover { color: var(--text); }
.dtabs a.on { color: #fff; border-bottom-color: var(--accent); }
.dtabs-wrap + .docs { padding-top: 40px; }

.prod { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; padding: 44px; border-radius: 28px; border: 1px solid var(--panel-border); background: radial-gradient(520px 260px at 90% 0%, rgba(109, 140, 255, .18), transparent 70%), var(--panel); }
.prod-copy { text-align: left; }
.prod-vis .browser { transform: none; }
.prod-vis .stage { min-height: 300px; }
.soon { margin-top: 22px; text-align: center; color: var(--muted); font-size: 14.5px; }
.hero .actions { margin-bottom: 8px; }
.hero { padding-bottom: 40px; }

@media (max-width: 900px) {
	.prod { grid-template-columns: 1fr; padding: 28px; gap: 32px; }
}

/* Home extras */
a.card { text-decoration: none; color: inherit; }
.hero-home { position: relative; }
.fchip { position: absolute; z-index: 0; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 13px; color: #d6dcec; background: rgba(255, 255, 255, .06); border: 1px solid var(--panel-border); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 14px 40px rgba(0, 0, 0, .3); animation: fl 7s ease-in-out infinite; }
.fchip code { font: 12.5px ui-monospace, Consolas, monospace; } .fchip code b { color: #c99bff; font-weight: 600; }
.fchip i { width: 14px; height: 14px; border-radius: 50%; margin-right: -2px; }
.fchip svg { width: 16px; height: 16px; stroke: #fff; fill: #6d8cff; stroke-width: 1.6; stroke-linejoin: round; }
.fchip .spark, .mc .spark { color: var(--accent-2); }
.f1 { left: 7%; top: 120px; } .f2 { left: 12%; top: 300px; animation-delay: -2s; } .f3 { right: 8%; top: 140px; animation-delay: -4s; } .f4 { right: 12%; top: 310px; animation-delay: -1s; }
@keyframes fl { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.hero-home .wrap { position: relative; z-index: 1; }
.cyc { display: inline-block; transition: opacity .3s, transform .3s; }
.cyc.out { opacity: 0; transform: translateY(10px); }
@media (max-width: 1100px) { .fchip { display: none; } }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.bt { text-align: left; min-height: 280px; }
.bt3 { grid-column: span 3; } .bt2 { grid-column: span 2; }
.bt-vis { height: 130px; margin-bottom: 20px; border-radius: 12px; background: rgba(0, 0, 0, .22); border: 1px solid var(--panel-border); display: grid; place-items: center; overflow: hidden; position: relative; }
.bt h3 { margin: 0 0 8px; font-size: 19px; }
.mini-code { margin: 0; font: 13px/1.7 ui-monospace, Consolas, monospace; color: #c9d1e2; }
.mini-code .sel { color: #8fb0ff; } .mini-code .prop { color: #c99bff; } .mini-code .val { color: #8ee6b4; }
.mini-code .caret { display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--accent); animation: blink 1s steps(1) infinite; }
.mini-chat { width: 86%; display: grid; gap: 8px; font-size: 13px; }
.mc { padding: 8px 12px; border-radius: 12px; opacity: 0; }
.mc.me { justify-self: end; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); animation: mcme 6s infinite; }
.mc.ai { justify-self: start; background: rgba(255, 255, 255, .08); border: 1px solid var(--panel-border); animation: mcai 6s infinite; }
@keyframes mcme { 0% { opacity: 0; transform: translateY(8px); } 8%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes mcai { 0%, 28% { opacity: 0; transform: translateY(8px); } 38%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.mini-chips { display: grid; gap: 7px; justify-items: start; }
.mini-chips span { padding: 4px 12px 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #fff; background: rgba(109, 140, 255, .2); border: 1px solid rgba(109, 140, 255, .5); }
.mini-chips span::before { content: "✓"; margin-right: 7px; color: #4ade80; }
.mini-shot { position: relative; width: 70%; height: 86px; border-radius: 8px; background: #f4f6fa; padding: 10px; display: grid; gap: 6px; align-content: start; overflow: hidden; }
.mini-shot i { display: block; height: 7px; border-radius: 4px; background: #c9d2e0; width: 70%; } .mini-shot i:nth-child(2) { width: 45%; } .mini-shot i:nth-child(3) { width: 58%; }
.mini-shot b { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #2bd9d9, transparent); box-shadow: 0 0 12px 3px rgba(43, 217, 217, .6); animation: mscan 2.8s ease-in-out infinite; }
@keyframes mscan { 0% { top: 0; } 100% { top: calc(100% - 3px); } }
.mini-sw { display: grid; grid-template-columns: repeat(3, 34px); gap: 8px; }
.mini-sw i { height: 34px; border-radius: 9px; background: var(--c); border: 1px solid rgba(255, 255, 255, .15); animation: swp 2.4s ease-in-out infinite; }
.mini-sw i:nth-child(2) { animation-delay: .2s; } .mini-sw i:nth-child(3) { animation-delay: .4s; } .mini-sw i:nth-child(4) { animation-delay: .6s; } .mini-sw i:nth-child(5) { animation-delay: .8s; } .mini-sw i:nth-child(6) { animation-delay: 1s; }
@keyframes swp { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }

.marquee { margin-top: 44px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-track { display: flex; gap: 14px; width: max-content; animation: mq 30s linear infinite; }
.mq-track span { padding: 9px 20px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); background: var(--panel); border: 1px solid var(--panel-border); white-space: nowrap; }
@keyframes mq { to { transform: translateX(calc(-50% - 7px)); } }

@media (max-width: 900px) {
	.bt3, .bt2 { grid-column: span 6; }
	.bt { min-height: 0; }
}

/* Principles */
.principles { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.principle { padding: 4px 0; text-align: left; }
.principle h4 { margin: 0 0 6px; font-size: 18px; letter-spacing: -.01em; }
.principle p { margin: 0; color: var(--muted); font-size: 15.5px; }
.principle .num { color: var(--accent); font-weight: 700; font-size: 14px; margin-bottom: 8px; }

/* Blog, posts and footer */
.post-wrap { padding-top: 40px; padding-bottom: 80px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 auto 28px; max-width: 760px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; } .crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.post { max-width: 760px; margin: 0 auto; }
.post-head h1 { font-size: clamp(32px, 5vw, 48px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 16px; font-weight: 800; }
.post-lead { font-size: 19px; color: var(--muted); margin: 0 0 22px; }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 30px; padding-bottom: 22px; border-bottom: 1px solid var(--panel-border); font-size: 14.5px; color: var(--muted); }
.byline a { color: var(--text); text-decoration: none; font-weight: 600; } .byline a:hover { text-decoration: underline; }
.byline .dot { opacity: .5; }
.avatar { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--accent), var(--accent-2)); }
.avatar.lg { width: 52px; height: 52px; font-size: 22px; flex: none; }
.toc-box { margin: 0 0 32px; padding: 18px 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--panel-border); }
.toc-box strong { display: block; margin-bottom: 8px; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.toc-box ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.toc-box a { color: #c3cbdc; text-decoration: none; } .toc-box a:hover { color: #fff; text-decoration: underline; }
.post .doc { max-width: none; }
.doc a { color: #9db3ff; text-underline-offset: 3px; }
.doc a:hover { color: #fff; }
.doc table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 18px 0; display: block; overflow-x: auto; }
.doc table th, .doc table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--panel-border); color: #c3cbdc; vertical-align: top; }
.doc table th { color: #fff; font-weight: 600; white-space: nowrap; }
.doc h2 { margin-top: 44px; }
.doc strong { color: #fff; }
.faq { margin-top: 48px; }
.faq h2 { font-size: 28px; margin: 0 0 14px; }
.faq details { border: 1px solid var(--panel-border); border-radius: 12px; background: var(--panel); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: #fff; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq-a { padding: 0 18px 16px; color: #c3cbdc; font-size: 16px; }
.faq-a a { color: #9db3ff; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 48px; padding: 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--panel-border); }
.author-box strong a { color: #fff; text-decoration: none; }
.author-box .role { display: block; font-size: 13.5px; color: var(--accent); margin-bottom: 6px; }
.author-box p { margin: 0; color: var(--muted); font-size: 15px; }
.more { max-width: 1000px; margin: 64px auto 0; }
.more h2 { font-size: 26px; margin: 0 0 18px; }
.blog-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.blog-list.big { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.bl-item { text-align: left; }
.bl-item time { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.bl-item h2, .bl-item h3 { margin: 0 0 8px; font-size: 20px; line-height: 1.25; letter-spacing: -.01em; color: #fff; }
.bl-item p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }
.more-link { color: var(--accent); font-weight: 600; font-size: 14.5px; }

footer { padding: 48px 0 28px; }
footer .foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; justify-content: stretch; }
.foot-brand p { margin: 10px 0 0; max-width: 300px; color: var(--muted); font-size: 14.5px; }
footer h5 { margin: 0 0 12px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #667089; }
footer .foot-grid a:not(.logo) { display: block; margin-bottom: 8px; color: var(--muted); text-decoration: none; font-size: 14.5px; }
footer .foot-grid a:not(.logo):hover { color: var(--text); }
footer .foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--panel-border); display: block; }
@media (max-width: 760px) {
	footer .foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
	.byline .dot { display: none; }
}

/* Scope fixes: global header/nav rules must not hit article elements */
header.post-head { position: static; z-index: auto; background: none; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
nav.toc-box { display: block; font-size: inherit; }
nav.toc-box a { color: #c3cbdc; }
nav.toc-box a:hover { color: #fff; }
nav.crumbs { gap: 8px; font-size: 14px; }
nav.crumbs a { color: var(--muted); }
nav.crumbs a:hover { color: var(--text); }

/* WordPress blog extras */
.post-image { margin: 0 0 30px; } .post-image img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--panel-border); display: block; }
.doc img { max-width: 100%; height: auto; border-radius: 10px; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 36px; flex-wrap: wrap; }
.pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pager a, .pager span { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--panel-border); background: var(--panel); color: var(--muted); text-decoration: none; font-size: 14.5px; }
.pager a:hover { color: #fff; border-color: rgba(109, 140, 255, .5); }
.pager .current { color: #fff; border-color: rgba(109, 140, 255, .7); background: rgba(109, 140, 255, .22); }

/* sitetool: area cards, facts strip and audit mock-ups */
.tabrow { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.tabrow span { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; color: #c3cbdc; background: rgba(255, 255, 255, .06); border: 1px solid var(--panel-border); }
.facts { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 34px; padding: 26px 28px; border-radius: 20px; border: 1px solid var(--panel-border); background: var(--panel); }
.facts b { display: block; font-size: 18px; margin-bottom: 4px; } .facts span { color: var(--muted); font-size: 15px; }

.audit { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 1040px; margin: 0 auto; }
.amock { padding: 18px; border-radius: 16px; border: 1px solid var(--panel-border); background: #0d1322; box-shadow: 0 24px 70px rgba(109, 140, 255, .14); text-align: left; font-size: 13.5px; }
.am-title { margin-bottom: 14px; font-weight: 700; font-size: 14px; color: #fff; letter-spacing: .01em; }
.amock em { font-style: normal; font-size: 11.5px; font-weight: 600; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.amock em.ok { color: #4ade80; background: rgba(74, 222, 128, .12); }
.amock em.warn { color: #ffd23f; background: rgba(255, 210, 63, .13); }
.amock em.bad { color: #ff9a9a; background: rgba(255, 123, 123, .14); }
.hrow { display: flex; align-items: center; gap: 10px; padding: 8px 10px; margin-bottom: 6px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: #d6dcec; }
.hrow .lv { font-style: normal; font: 700 11px ui-monospace, Consolas, monospace; padding: 2px 6px; border-radius: 6px; background: rgba(109, 140, 255, .2); color: #aebcff; }
.hrow span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hrow.l2 { margin-left: 14px; } .hrow.l4 { margin-left: 42px; }
.wrow { display: grid; grid-template-columns: 82px 1fr 56px auto; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #d6dcec; }
.wrow:last-child { border-bottom: 0; }
.wrow .fn { font: 12px ui-monospace, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wrow .bar { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; display: block; padding: 0; border: 0; margin: 0; width: auto; }
.wrow .bar b { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #ffd23f, #ff7b7b); } .wrow .bar b.good { background: #4ade80; }
.wrow .sz { text-align: right; color: var(--muted); font-size: 12px; }
.shotedit { position: relative; margin-bottom: 12px; }
.se-page { padding: 14px; border-radius: 10px; background: #f4f6fa; display: grid; gap: 8px; }
.se-page i { display: block; height: 9px; border-radius: 5px; background: #c9d2e0; width: 85%; } .se-page i.short { width: 55%; }
.se-btn { width: 84px; height: 24px; border-radius: 999px; background: #6d8cff; display: block; }
.se-blur { position: absolute; right: 12px; top: 14px; width: 74px; height: 22px; border-radius: 6px; background: #c9d2e0; filter: blur(5px); }
.se-box { position: absolute; left: 6px; top: 62px; width: 112px; height: 40px; border: 3px solid #ff4d6d; border-radius: 6px; }
.se-arrow { position: absolute; left: 130px; top: 74px; width: 54px; height: 3px; background: #ff4d6d; transform: rotate(-18deg); transform-origin: left center; }
.se-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 10px solid #ff4d6d; }
.se-text { position: absolute; left: 188px; top: 38px; font: 700 14px system-ui, sans-serif; color: #ff4d6d; }
.se-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.se-tools span { padding: 4px 10px; border-radius: 8px; font-size: 12px; color: #dfe5f7; background: rgba(255, 255, 255, .07); border: 1px solid var(--panel-border); }

/* sitetool: deep-dive sections */
.dgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 36px; }
.dgrid .card { text-align: left; }
.dgrid .card h3 { margin: 0 0 8px; font-size: 19px; }
.dgrid .card p { font-size: 15px; line-height: 1.6; }
.dgrid .card code, .dgrid .card kbd { font-size: .86em; }
.audit.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 1160px; }
.amock .mrow { display: flex; align-items: center; gap: 12px; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #d6dcec; }
.amock .mrow:last-of-type { border-bottom: 0; }
.th2 { flex: none; width: 38px; height: 38px; border-radius: 8px; background: var(--g, #2a3350); border: 1px solid rgba(255, 255, 255, .14); }
.th2.v { background: linear-gradient(135deg, #1d2a44, #3a4a7a); position: relative; } .th2.v::after { content: ""; position: absolute; left: 14px; top: 11px; border: 8px solid transparent; border-left: 12px solid #fff; border-right: 0; }
.th2.s { background: linear-gradient(135deg, #003432, #77dd90); }
.mi { flex: 1; min-width: 0; line-height: 1.3; } .mi b { display: block; font-size: 13.5px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mi small { color: var(--muted); font-size: 12px; }
.chipx { padding: 3px 9px; border-radius: 8px; font-size: 11.5px; color: #c3cbdc; background: rgba(255, 255, 255, .07); border: 1px solid var(--panel-border); white-space: nowrap; }
.mbtns { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; } .mbtns.left { margin: 0 0 12px; }
.dlbtn { display: inline-block; padding: 7px 14px; border-radius: 9px; font-size: 12.5px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #6d8cff, #b46dff); }
.dlbtn.ghost { background: rgba(255, 255, 255, .08); border: 1px solid var(--panel-border); color: #e6ebfa; }
.dlbtn.stop { background: #ff4d6d; }
.svgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svgs span { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--panel-border); }
.svgs svg { width: 26px; height: 26px; fill: none; stroke: #aebcff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kv { display: flex; align-items: center; gap: 10px; padding: 8px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); color: #d6dcec; }
.kv span { flex: 1; color: var(--muted); } .kv b { font-weight: 600; color: #fff; font-size: 13px; }
.kv:last-of-type { border-bottom: 0; }
.altgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.altgrid span { position: relative; height: 74px; border-radius: 10px; background: var(--g); border: 1px solid rgba(255, 255, 255, .14); }
.altgrid em { position: absolute; left: 6px; top: 6px; }
.modes { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.modes span { padding: 4px 11px; border-radius: 999px; font-size: 12px; color: var(--muted); background: var(--panel); border: 1px solid var(--panel-border); }
.modes span.on { color: #fff; border-color: rgba(109, 140, 255, .7); background: rgba(109, 140, 255, .22); }
.rec { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 14px; }
.rec .dot { width: 12px; height: 12px; border-radius: 50%; background: #ff4d6d; box-shadow: 0 0 12px #ff4d6d; animation: pulse 1.4s infinite; }
.rec b { color: #ff9aa9; letter-spacing: .08em; } .rec .time { margin-left: auto; font-variant-numeric: tabular-nums; color: #fff; }
#design .bstage, #design .dgrid + .bstage { margin-top: 8px; }

/* home: blog teaser stacks on small screens */
@media (max-width: 700px) { #learn .cta-box { grid-template-columns: 1fr !important; } }

/* ---- every-feature overview ---- */
.fgroups { display: grid; gap: 22px; max-width: 1040px; margin: 0 auto; }
.fgroup { padding: 24px; border-radius: 20px; border: 1px solid var(--panel-border); background: var(--panel); text-align: left; }
.fgroup.pro { border-color: rgba(180, 109, 255, .45); background: linear-gradient(180deg, rgba(180, 109, 255, .08), var(--panel)); }
.fg-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.fg-head h3 { margin: 0; font-size: 21px; }
.fg-head .tag { margin: 0; }
.fg-head .more-link { margin-left: auto; font-size: 14px; text-decoration: none; }
.icon.sm { width: 40px; height: 40px; margin: 0; border-radius: 11px; } .icon.sm svg { width: 20px; height: 20px; }
.fg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fn { padding: 13px 15px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--panel-border); }
.fn b { display: block; font-size: 15.5px; color: #fff; margin-bottom: 3px; }
.fn span { font-size: 14px; line-height: 1.5; color: var(--muted); }

/* ---- fixed columns, so a card never sits alone on the last row ---- */
.dgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audit { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audit.four, .audit.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.audit.two { max-width: 760px; }
.steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) {
	.audit { grid-template-columns: 1fr; max-width: 560px; }
	.audit.four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1040px; }
	.steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .features.three { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .dgrid { grid-template-columns: 1fr; } .fg-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .audit.four, .audit.two { grid-template-columns: 1fr; } .steps { grid-template-columns: 1fr; } }

/* Chrome AI */
.aipill { display: inline-flex; align-items: center; gap: 8px; margin: 20px auto 0; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: #e6ebfa; text-decoration: none; background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(135deg, var(--accent), var(--accent-2)) border-box; border: 1px solid transparent; transition: transform .15s; }
.aipill:hover { transform: translateY(-1px); }
.aipill .spark { color: var(--accent-2); }
.hero .note + .aipill { display: flex; width: max-content; max-width: 100%; }
.prov { display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; border: 1px solid var(--panel-border); background: rgba(255, 255, 255, .03); }
.prov.on { border-color: rgba(109, 140, 255, .7); background: rgba(109, 140, 255, .14); }
.prov .rd { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #667089; }
.prov.on .rd { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 45%, transparent 50%); }
.dlbar { height: 8px; margin: 6px 4px 12px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.dlbar b { display: block; height: 100%; width: 62%; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }

.svgs span { aspect-ratio: 1.7; }

/* compress section */
.audit.one { grid-template-columns: 1fr; max-width: 640px; }
.cm-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.cb { display: inline-block; padding: 6px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: #e6ebfa; background: rgba(255, 255, 255, .08); border: 1px solid var(--panel-border); }
.cb.pr { background: #5b6cf5; border-color: transparent; color: #fff; }
.cm-bar .cnt { margin-left: 4px; font-style: normal; font-size: 12.5px; font-weight: 400; color: var(--muted); background: none; padding: 0; }
.cm-row { padding: 14px; border-radius: 12px; border: 1px solid var(--panel-border); background: rgba(255, 255, 255, .03); display: grid; gap: 12px; }
.cm-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cm-top .mi { flex: 1; min-width: 120px; }
.cm-opts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: #c3cbdc; }
.cm-opts .sel, .cm-opts .inp { padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .07); border: 1px solid var(--panel-border); font-size: 12.5px; }
.cm-opts .inp { color: #667089; }
.cm-opts .rng { position: relative; width: 110px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); }
.cm-opts .rng i { position: absolute; left: 62%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #5b6cf5; box-shadow: 0 0 0 4px rgba(91, 108, 245, .25); }
.cm-opts b { color: #fff; font-size: 13px; }
.cm-est { font-size: 13px; color: #9fdcb4; }
.cm-ba { display: grid; gap: 8px; }
.cm-ba > div { display: grid; grid-template-columns: 52px 1fr 64px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.cm-ba > div span:last-child { text-align: right; color: #d6dcec; }
.bb { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; display: block; }
.bb b { display: block; height: 100%; border-radius: 99px; }
.bb b.bad { background: linear-gradient(90deg, #ffd23f, #ff7b7b); } .bb b.good { background: #4ade80; }
.cm-row > .cb.pr { justify-self: start; }

/* home: more air between the hero and the next section */
.hero.hero-home { padding-bottom: 88px; }
@media (max-width: 640px) { .hero.hero-home { padding-bottom: 56px; } }

/* feature overview as tabs */
.fg-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 1040px; margin: 0 auto 22px; }
.fg-tabs button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--panel-border); background: var(--panel); color: var(--muted); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.fg-tabs button:hover { color: var(--text); }
.fg-tabs button[aria-selected="true"] { color: #fff; border-color: rgba(109, 140, 255, .75); background: rgba(109, 140, 255, .22); }
.fg-tabs button.pro[aria-selected="true"] { border-color: rgba(180, 109, 255, .8); background: rgba(180, 109, 255, .22); }
.fgroups.is-tabs .fgroup[hidden] { display: none; }
@media (max-width: 640px) {
	.fg-tabs { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
	.fg-tabs button { flex: none; }
}

/* ---- product tour ---- */
.tour { max-width: 1040px; margin: 0 auto; text-align: left; }
.tour-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 18px; }
.tour-steps span { position: relative; overflow: hidden; padding: 9px 18px; border-radius: 999px; border: 1px solid var(--panel-border); background: var(--panel); color: var(--muted); font-size: 14.5px; font-weight: 600; transition: color .2s, border-color .2s; }
.tour-steps b { margin-right: 6px; opacity: .55; }
.tour-steps span.on { color: #fff; border-color: rgba(109, 140, 255, .6); }
.tour-steps span::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.tour-steps span.on::after { animation: tourbar var(--dur, 8s) linear forwards; }
@keyframes tourbar { to { width: 100%; } }
.tour-win { max-width: none; transform: none; box-shadow: 0 40px 120px rgba(109, 140, 255, .22); }
.tour-body { display: grid; grid-template-columns: minmax(0, 1fr) 370px; min-height: 440px; }
.tour-panel { min-height: 440px; }
.tour-panel .bp-view { min-height: 300px; }
.tscene { position: absolute; inset: 8px 12px 10px; opacity: 0; visibility: hidden; transition: opacity .3s; overflow: hidden; }
.tour[data-scene="0"] .s0, .tour[data-scene="1"] .s1, .tour[data-scene="2"] .s2, .tour[data-scene="3"] .s3 { opacity: 1; visibility: visible; }
.t-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.t-code { min-height: 0 !important; padding: 12px 14px; border-radius: 10px; background: #060910; border: 1px solid rgba(255, 255, 255, .06); font-size: 13px; }
.press { transform: scale(.93); box-shadow: 0 0 0 4px rgba(109, 140, 255, .35); }
.bp-btn, .cb, .dlbtn { transition: transform .15s, box-shadow .15s; }

/* the mock page */
.tp { position: relative; padding: 28px; background: #f4f6fa; color: #1b2233; font-family: system-ui, sans-serif; overflow: hidden; }
.tp-nav { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; font-size: 13px; }
.tp-nav b { margin-right: auto; font-size: 16px; } .tp-nav span { color: #6b7488; }
.tp-h { margin-bottom: 10px; font: 700 34px/1.15 Georgia, serif; transition: all .5s; }
.tp-p { margin: 0 0 18px; max-width: 340px; font-size: 15px; color: #5a6379; transition: all .4s; }
.tp-btn { display: inline-block; padding: 9px 20px; border: 2px solid #1b2233; font-weight: 600; font-size: 14px; color: #1b2233; background: transparent; transition: all .4s; }
.tp-img { position: relative; height: 130px; margin-top: 22px; border-radius: 6px; overflow: hidden; transition: all .5s; }
.tp-img .pic { position: absolute; inset: 0; background: linear-gradient(135deg, #9fb4ff, #e6b8ff); }
.tpb { position: absolute; left: 10px; bottom: 10px; padding: 3px 10px; border-radius: 999px; font: 700 11px system-ui, sans-serif; font-style: normal; color: #fff; background: #ff6b6b; transition: background .3s; }
.tpb.ok { background: #22b573; }
.tp-mail { margin: 16px 0 0; font-size: 13px; color: #6b7488; }
.tp-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.tp.flash .tp-flash { animation: tflash .6s ease-out; }
@keyframes tflash { 0% { opacity: 0; } 15% { opacity: .9; } 100% { opacity: 0; } }
.tp.hl-title .tp-h, .tp.hl-body .tp-p { outline: 2px dashed #6d8cff; outline-offset: 6px; border-radius: 4px; }
.tp.hl-body .tp-p { font-family: system-ui, sans-serif; }

/* fonts scene */
.t-fc { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.t-fc.in { opacity: 1; transform: none; }

/* compress scene */
.t-opts { display: none; gap: 12px; }
.t-opts.show { display: grid; animation: bup .4s ease both; }
.t-opts .cm-ba { opacity: 0; transition: opacity .4s; } .t-opts .cm-ba.show { opacity: 1; }
.t-opts .t-after { transform-origin: left; transform: scaleX(.05); transition: transform 1.1s ease; }
.t-opts .cm-ba.show .t-after { transform: scaleX(1); }

/* screenshot scene */
.tshot { position: relative; margin-bottom: 12px; }
.ts-page { padding: 16px; border-radius: 10px; background: #f4f6fa; display: grid; gap: 9px; }
.ts-page i { display: block; height: 10px; width: 80%; border-radius: 5px; background: #c9d2e0; } .ts-page i.s { width: 52%; }
.ts-b { width: 90px; height: 26px; border-radius: 999px; background: #6d8cff; display: block; }
.ts-mail { font: 600 12px system-ui, sans-serif; font-style: normal; color: #1b2233; }
.ts-blur { position: absolute; left: 12px; bottom: 12px; width: 124px; height: 20px; border-radius: 6px; background: #b9c3d6; opacity: 0; transition: opacity .4s; filter: blur(0); }
.tshot.has-blur .ts-blur { opacity: 1; backdrop-filter: blur(6px); background: rgba(180, 190, 210, .95); }
.ts-box { position: absolute; left: 8px; top: 74px; width: 108px; height: 40px; border: 3px solid #ff4d6d; border-radius: 6px; opacity: 0; transform: scale(1.3); transition: all .35s; }
.tshot.has-box .ts-box { opacity: 1; transform: none; }
.ts-arrow { position: absolute; left: 124px; top: 90px; width: 0; height: 3px; background: #ff4d6d; transform: rotate(-14deg); transform-origin: left center; transition: width .45s ease; }
.ts-arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 10px solid #ff4d6d; opacity: 0; transition: opacity .2s .4s; }
.tshot.has-arrow .ts-arrow { width: 70px; } .tshot.has-arrow .ts-arrow::after { opacity: 1; }
.ts-text { position: absolute; left: 204px; top: 56px; font: 700 15px system-ui, sans-serif; color: #ff4d6d; opacity: 0; transition: opacity .3s; }
.tshot.has-text .ts-text { opacity: 1; }
.se-tools span { transition: background .2s, border-color .2s, color .2s; }
.se-tools span.on { color: #fff; border-color: rgba(109, 140, 255, .8); background: rgba(109, 140, 255, .25); }
.tour .modes { margin-bottom: 10px; }

@media (max-width: 900px) {
	.tour-body { grid-template-columns: 1fr; }
	.tour-panel { min-height: 420px; border-left: 0; border-top: 1px solid var(--panel-border); }
}

/* tour: roomier panel, tighter compress scene */
.tour-body { min-height: 530px; }
.tour-panel { min-height: 530px; }
.tour-panel .bp-view { min-height: 390px; }
.tour .cm-bar { margin-bottom: 8px; }
.tour .cm-row { padding: 10px 12px; gap: 8px; }
.tour .cm-top .th2 { width: 32px; height: 32px; }
.tour .t-opts { gap: 8px; }
.tour .cm-ba { gap: 5px; }
.tour .cb { padding: 5px 10px; }
@media (max-width: 900px) { .tour-body { grid-template-columns: minmax(0, 1fr); min-height: 0; } .tour-panel .sp-tabs { flex-wrap: wrap; } .tour-panel { min-height: 500px; } }

.t-code { height: calc(100% - 46px); overflow: hidden; font-size: 12.5px; line-height: 1.55; }

/* tour: the red box frames the button, the blur hides the e-mail */
.ts-box { left: 8px; top: 47px; width: 106px; height: 38px; }
.ts-arrow { left: 120px; top: 70px; }
.ts-text { left: 200px; top: 38px; }

/* tour on narrow screens */
@media (max-width: 900px) { .tour-body { grid-template-columns: minmax(0, 1fr); } }
.tour-body > * { min-width: 0; }
@media (max-width: 480px) {
	.tp { padding: 20px; }
	.tp-h { font-size: 28px; }
	.tour-panel .bp-tabs { padding: 0 6px; gap: 0; }
	.tour-panel .bp-tabs span { padding: 8px 7px; font-size: 12px; }
	.tour-panel .bp-tabs em { padding: 0 4px; }
	.tour-steps span { padding: 7px 12px; font-size: 13px; }
}

.audit > .amock { min-width: 0; overflow-x: auto; }

/* =====================================================================================
   sitetool panel – copies the real extension UI (flat, dark neutral, one blue accent)
   ===================================================================================== */
.sp { --spbg: #111319; --spcard: #1b1e26; --spbtn: #292c36; --spacc: #4f5df5; --spnavy: #202556; --spline: rgba(255, 255, 255, .08);
	display: flex; flex-direction: column; background: var(--spbg); color: #fff; font-family: Inter, system-ui, sans-serif; font-size: 13px; line-height: 1.4;
	border: 1px solid var(--spline); border-radius: 14px; overflow: hidden; text-align: left; box-shadow: 0 24px 70px rgba(0, 0, 0, .45); }
.sp *, .sp *::before, .sp *::after { box-sizing: border-box; }
.sp svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sp-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--spline); }
.sp-head b { font-size: 14px; font-weight: 700; }
.sp-st { font-size: 12px; color: #3ddc84; opacity: 0; transition: opacity .25s; } .sp-st.show { opacity: 1; }
.sp-hb { margin-left: auto; display: flex; gap: 6px; }
.sp-hb i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--spbtn); color: #fff; }
.sp-hb i.x { width: 34px; height: 34px; } .sp-hb svg { width: 15px; height: 15px; }
.sp-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--spline); }
.sp-tabs span { padding: 7px 12px; border-radius: 9px; background: var(--spnavy); color: #fff; font-weight: 700; font-size: 12.5px; transition: background .2s; }
.sp-tabs span.on { background: var(--spacc); }
.sp-body { flex: 1; min-height: 0; position: relative; }
.sp-nav { display: flex; gap: 8px; padding: 9px 10px; border-top: 1px solid var(--spline); }
.sp-nav i { flex: 1; display: grid; place-items: center; height: 36px; border-radius: 9px; color: #8b90a0; transition: background .2s, color .2s; }
.sp-nav i.on { background: var(--spacc); color: #fff; } .sp-nav svg { width: 18px; height: 18px; }
.sp.adv { flex-direction: row; } .sp-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sp-side { width: 74px; flex: none; border-left: 1px solid var(--spline); padding: 8px 6px; display: flex; flex-direction: column; gap: 6px; }
.sp-side i { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 9px 2px; border-radius: 9px; color: #8b90a0; font-style: normal; }
.sp-side i.on { background: var(--spacc); color: #fff; } .sp-side svg { width: 20px; height: 20px; } .sp-side em { font-style: normal; font-size: 10.5px; font-weight: 600; }
.sp.mini { box-shadow: none; } .sp.mini .sp-tabs { border-bottom: 1px solid var(--spline); }

.sp-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 12px; border-bottom: 1px solid var(--spline); }
.sp-tools .gap { margin-left: auto; display: flex; gap: 6px; }
.sp-pad { padding: 10px 12px; }
.sp-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 8px; border: 0; background: var(--spbtn); color: #fff; font: inherit; font-weight: 700; font-size: 12.5px; white-space: nowrap; transition: transform .15s, box-shadow .15s; }
.sp-btn.pr { background: var(--spacc); } .sp-btn.sm { padding: 5px 10px; font-size: 12px; } .sp-btn.wide { display: flex; justify-content: center; width: 100%; }
.sp-btn.press { transform: scale(.94); box-shadow: 0 0 0 4px rgba(79, 93, 245, .4); }
.sp-code { margin: 0; padding: 12px 14px; font: 12.5px/1.6 ui-monospace, "SF Mono", Menlo, Consolas, monospace; color: #fff; white-space: pre-wrap; overflow: hidden; }
.sp-code .sel, .sp-code .prop, .sp-code .val { color: inherit; }
.sp-code .caret { display: inline-block; width: 7px; height: 14px; margin-left: 1px; vertical-align: -2px; background: #fff; animation: blink 1s steps(1) infinite; }
.sp-ask { display: grid; gap: 8px; padding: 8px 10px; border-top: 1px solid var(--spline); }
.sp-chip { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: var(--spbtn); font-size: 12px; color: #e6e8ee; }
.sp-chip span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-in { padding: 10px 12px; border-radius: 9px; background: var(--spcard); border: 1px solid var(--spline); color: #6e7383; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-askrow { display: flex; align-items: center; gap: 8px; } .sp-askrow .pr { margin-left: auto; }

.sp-sub { display: inline-flex; gap: 4px; padding: 4px; border-radius: 10px; background: var(--spbtn); }
.sp-sub span { padding: 6px 12px; border-radius: 7px; font-weight: 700; font-size: 12.5px; } .sp-sub span.on { background: var(--spacc); }
.sp-h { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 8px; font-weight: 700; font-size: 13px; }
.sp-h.muted { color: #9aa0b0; font-weight: 600; }
.sp-sws { display: grid; grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 6px; }
.sp-sw { padding: 5px; border-radius: 8px; background: #161921; border: 1px solid var(--spline); text-align: center; }
.sp-sw i { display: block; height: 22px; border-radius: 5px; background: var(--c); border: 1px solid rgba(255, 255, 255, .12); }
.sp-sw b { display: block; margin-top: 4px; font: 600 9.5px ui-monospace, Consolas, monospace; color: #e6e8ee; }
.sp-sw.hit { border-color: #3ddc84; box-shadow: 0 0 0 2px rgba(61, 220, 132, .25); }

.sp-card { padding: 10px 12px; margin-bottom: 8px; border-radius: 10px; background: var(--spcard); }
.sp-card h4 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.sp-card p { margin: 0 0 8px; font-size: 12px; color: #9aa0b0; }
.sp-file { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.sp-file code { font: 11.5px ui-monospace, Consolas, monospace; color: #e6e8ee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sp-ir { display: flex; gap: 10px; padding: 8px; margin-bottom: 8px; border-radius: 10px; background: var(--spcard); }
.sp-th { flex: none; width: 92px; height: 66px; border-radius: 6px; display: grid; place-items: center; overflow: hidden; color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .06em; text-align: center; line-height: 1.15;
	background: conic-gradient(#2d313c 25%, #20232c 0 50%, #2d313c 0 75%, #20232c 0) 0 0 / 12px 12px; }
.sp-th.photo { background: var(--g, linear-gradient(135deg, #5b6cf5, #b46dff)); }
.sp-th.play { background: linear-gradient(135deg, #1d2a44, #3a4a7a); position: relative; } .sp-th.play::after { content: ""; border: 8px solid transparent; border-left: 13px solid #fff; border-right: 0; }
.sp-ib { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.sp-fn { font: 12px ui-monospace, Consolas, monospace; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-meta { font-size: 12px; color: #9aa0b0; }
.sp-ibtns { display: flex; gap: 6px; justify-content: flex-end; margin-top: auto; flex-wrap: wrap; }
.sp-wb { height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; } .sp-wb b { display: block; height: 100%; background: var(--spacc); border-radius: 99px; }
.sp-bds { display: flex; gap: 6px; flex-wrap: wrap; }
.sp-bd { padding: 3px 9px; border-radius: 7px; font-weight: 700; font-size: 12px; background: var(--spnavy); color: #fff; }
.sp-bd.heavy, .sp-bd.over { background: #e5a021; color: #201500; } .sp-bd.vheavy { background: #e5484d; color: #fff; } .sp-bd.ok { background: #1f7a4d; color: #fff; } .sp-bd.bad { background: #e5484d; color: #fff; }
.sp-total { font-size: 12px; color: #9aa0b0; margin: 8px 0 10px; }

.sp-opt { display: flex; align-items: center; gap: 12px; padding: 12px; margin-bottom: 8px; border-radius: 10px; background: var(--spbtn); transition: box-shadow .2s; }
.sp-opt svg { width: 22px; height: 22px; stroke: #5a6cff; } .sp-opt b { display: block; font-size: 13.5px; } .sp-opt small { color: #a4a9b8; font-size: 12px; }
.sp-opt.press { box-shadow: 0 0 0 3px rgba(79, 93, 245, .55); }
.sp-frow { display: flex; align-items: center; gap: 8px; color: #c9ccd6; font-size: 12.5px; }
.sp-sel { padding: 7px 12px; border-radius: 8px; background: var(--spbtn); color: #fff; font-size: 12.5px; }
.sp-field { padding: 8px 10px; border-radius: 8px; background: var(--spbtn); color: #7c8190; font-size: 12.5px; flex: 1; min-width: 0; }
.sp-site { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; background: var(--spbtn); margin-top: 8px; }
.sp-site div { flex: 1; min-width: 0; } .sp-site b { display: block; font-size: 13px; } .sp-site small { color: #a4a9b8; font-size: 12px; }
.sp-x { display: grid; place-items: center; width: 26px; height: 26px; color: #c9ccd6; }

.sp-hr { display: flex; align-items: center; gap: 8px; padding: 7px 9px; margin-bottom: 6px; border-radius: 9px; background: var(--spcard); }
.sp-hr .lv { flex: none; padding: 2px 6px; border-radius: 6px; background: var(--spnavy); font: 700 11px ui-monospace, Consolas, monospace; }
.sp-hr span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-hr.l2 { margin-left: 14px; } .sp-hr.l4 { margin-left: 40px; }
.sp-kv { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin-bottom: 6px; border-radius: 9px; background: var(--spcard); }
.sp-kv span { flex: 1; color: #9aa0b0; } .sp-kv b { font-weight: 600; font-size: 12.5px; }
.sp-alt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sp-alt div { position: relative; height: 70px; border-radius: 9px; background: var(--g); border: 1px solid var(--spline); } .sp-alt .sp-bd { position: absolute; left: 6px; top: 6px; }
.sp-svgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .sp-svgs span { display: grid; place-items: center; aspect-ratio: 1.5; border-radius: 9px; background: var(--spcard); border: 1px solid var(--spline); } .sp-svgs svg { width: 24px; height: 24px; stroke: #aab4ff; }

.sp-opts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: 12.5px; color: #c9ccd6; }
.sp-rng { position: relative; width: 120px; height: 5px; border-radius: 99px; background: rgba(255, 255, 255, .15); } .sp-rng i { position: absolute; left: 62%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--spacc); box-shadow: 0 0 0 4px rgba(79, 93, 245, .25); }
.sp-est { margin-top: 8px; font-size: 12px; color: #9aa0b0; }
.sp-est b { color: #fff; }
.sp-ba { display: grid; gap: 6px; margin-top: 8px; } .sp-ba > div { display: grid; grid-template-columns: 48px 1fr 56px; align-items: center; gap: 8px; font-size: 12px; color: #9aa0b0; } .sp-ba > div span:last-child { text-align: right; color: #e6e8ee; }
.sp-ba .sp-wb b.bad { background: linear-gradient(90deg, #e5a021, #e5484d); } .sp-ba .sp-wb b.good { background: #3ddc84; }

@media (max-width: 520px) { .sp-th { width: 76px; height: 58px; } .sp-side { width: 62px; } }

/* =====================================================================================
   tour, design stage and layouts on top of the new panel
   ===================================================================================== */
.sp-rd { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #7a8090; }
.sp-rd.on { border-color: var(--spacc); background: radial-gradient(circle, var(--spacc) 45%, transparent 50%); }
.sp-rec { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sp-rec .dot { width: 12px; height: 12px; border-radius: 50%; background: #e5484d; box-shadow: 0 0 12px #e5484d; animation: pulse 1.4s infinite; }
.sp-rec b { color: #ff9aa9; letter-spacing: .08em; } .sp-rec .time { margin-left: auto; font-variant-numeric: tabular-nums; }
.audit > div { display: flex; min-width: 0; } .audit > div > .sp { flex: 1; min-width: 0; }
.audit > .reveal { display: flex; }

/* tour */
.tour-body { grid-template-columns: minmax(0, 1fr) 390px; min-height: 580px; }
.sp.tour-panel { border: 0; border-left: 1px solid var(--spline); border-radius: 0; box-shadow: none; min-height: 580px; }
.tour-panel .sp-body { position: relative; min-height: 450px; }
.tscene { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .3s; }
.tscene .sp-tabs { flex: none; }
.sp-code.t-code { flex: 1; min-height: 0; height: auto; background: transparent; border: 0; border-radius: 0; padding: 12px 14px; font-size: 12.5px; line-height: 1.6; }
.tscene .sp-ask { flex: none; }
.tscene .sp-pad { overflow: hidden; }
.t-opts { display: none; flex-basis: 100%; }
.t-opts.show { display: block; animation: bup .4s ease both; }
.t-opts .sp-ba { opacity: 0; transition: opacity .4s; } .t-opts .sp-ba.show { opacity: 1; }
.t-opts .t-after { transform-origin: left; transform: scaleX(.05); transition: transform 1.1s ease; }
.t-opts .sp-ba.show .t-after { transform: scaleX(1); }
.tscene.s3 .s3b { display: none; } .tscene.s3.edit .s3a { display: none; } .tscene.s3.edit .s3b { display: block; }
.tscene .t-fc { opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; } .tscene .t-fc.in { opacity: 1; transform: none; }
@media (max-width: 900px) { .tour-body { grid-template-columns: minmax(0, 1fr); min-height: 0; } .tour-panel .sp-tabs { flex-wrap: wrap; } .sp.tour-panel { border-left: 0; border-top: 1px solid var(--spline); min-height: 540px; } }
@media (max-width: 480px) { .tour-panel .sp-tabs span { padding: 6px 8px; font-size: 12px; } .sp-hb i { width: 26px; height: 26px; } .sp-hb i.x { width: 30px; height: 30px; } }

/* design stage (Colors / Fonts) */
.bbody { grid-template-columns: minmax(0, 1fr) 400px; min-height: 600px; }
.sp.dz-panel { border: 0; border-left: 1px solid var(--spline); border-radius: 0; box-shadow: none; }
.dz-panel .sp-body { min-height: 470px; }
.dz-pane { display: none; }
.dz[data-view="colors"] .dz-colors, .dz[data-view="fonts"] .dz-fonts { display: block; animation: bup .35s ease both; }
@media (max-width: 820px) { .bbody { grid-template-columns: minmax(0, 1fr); min-height: 0; } .sp.dz-panel { border-left: 0; } }

/* layouts */
.lay { display: grid; grid-template-columns: minmax(0, 390px) minmax(0, 590px); gap: 26px; justify-content: center; align-items: start; max-width: 1040px; margin: 0 auto; }
.lay > div { display: block !important; }
.lay-cap { margin-top: 12px; text-align: center; color: var(--muted); font-weight: 600; font-size: 14px; }
@media (max-width: 1000px) { .lay { grid-template-columns: minmax(0, 560px); } }

/* builder detection card in the same colours as the panel */
.bdet { background: #111319; }
.btabs span { background: #202556; border: 0; border-radius: 9px; color: #fff; font-weight: 700; }
.btabs span.on { background: #4f5df5; }
.bdet-status i { background: #3ddc84; } .tree li::before { background: #4f5df5; }
.bcode { background: #0a0c10; }

/* home teaser panel */
.stage .sp.home-panel { align-self: stretch; min-width: 0; border-radius: 0; border: 0; border-left: 1px solid var(--spline); box-shadow: none; }
.home-panel .sp-code { min-height: 170px; font-size: 12px; }
@media (max-width: 560px) { .home-panel .sp-tabs span { padding: 5px 7px; font-size: 11px; } }
