/* DotLab — design system. Layout and type follow the Fuse template (licensed), rebuilt by hand. */
:root {
  --ink: #041319;
  --text: #45474d;
  --muted: #797c86;
  --faint: #a1a6a8;
  --line: #eaeaea;
  --line-strong: #dfdede;
  --soft: #f7f7f7;
  --soft-2: #f2f3f5;
  --white: #fff;
  --cyan: #6af3ff;
  --cyan-ink: #0aa5b8;
  --brand: #2fe3f2;
  --blue: #0099ff;
  --blue-deep: #1168ea;
  --navy: #082a36;
  --green: #248830;
  --green-soft: #e3f5e5;
  --red: #c4302b;
  --red-soft: #fbe6e5;
  --amber: #b26a00;
  --amber-soft: #fdf1dc;
  --violet: #7a5af8;
  --violet-soft: #efeafe;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 1px 2px rgba(4, 19, 25, .05);
  --shadow: 0 1px 2px rgba(4, 19, 25, .04), 0 8px 24px -8px rgba(4, 19, 25, .10);
  --shadow-lg: 0 2px 4px rgba(4, 19, 25, .04), 0 24px 48px -16px rgba(4, 19, 25, .18);
  --font: 'Google Sans Flex', 'Google Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --container: 1312px;
  --gutter: 64px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--white); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }
code, pre, kbd { font-family: var(--mono); }
::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 880px; }
.section { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.band { background: var(--soft); }
.center { text-align: center; }

/* ---------- type ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 16px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }
.eyebrow svg { width: 16px; height: 16px; color: var(--ink); }
.h1 { font-size: 60px; line-height: 64px; letter-spacing: -0.02em; }
.h2 { font-size: 48px; line-height: 1.2; letter-spacing: -0.015em; }
.h3 { font-size: 36px; line-height: 1.2; }
.h4 { font-size: 24px; line-height: 1.3; }
.h5 { font-size: 18px; line-height: 1.2; }
.lead { font-size: 18px; line-height: 1.43; color: var(--text); }
.small { font-size: 14px; line-height: 20px; }
.tiny { font-size: 12px; line-height: 16px; }
.muted { color: var(--muted); }
.ink { color: var(--ink); }
.mono { font-family: var(--mono); font-size: .92em; }
.section-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 56px; }
.section-head.center { align-items: center; }
.section-head.center .lead { max-width: 560px; }
.section-head .lead { max-width: 520px; }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 40px; }
.section-head.split > div:first-child { display: flex; flex-direction: column; gap: 16px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: var(--radius); font-size: 16px; font-weight: 400; white-space: nowrap; transition: background-color .2s, color .2s, box-shadow .2s, transform .2s var(--ease); }
.btn svg { width: 16px; height: 16px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #12303b; }
.btn-light { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.btn-light:hover { background: var(--soft); }
.btn-lg { height: 50px; padding: 0 24px; border-radius: var(--radius-lg); font-size: 18px; font-weight: 500; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-size: 16px; }
.link-arrow svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(3px); }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; height: 68px; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 24px; font-weight: 500; letter-spacing: -0.03em; }
.logo img { width: 30px; height: 30px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav a { padding: 8px 10px; border-radius: 10px; font-size: 16px; color: var(--text); transition: color .2s, background-color .2s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.nav .tag { margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--soft-2); font-size: 11px; color: var(--muted); vertical-align: 1px; }
.header-cta { margin-left: auto; display: flex; gap: 12px; align-items: center; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); align-items: center; justify-content: center; }
.menu-btn svg { width: 20px; height: 20px; color: var(--ink); }
.mobile-nav { display: none; }

/* ---------- search palette ---------- */
.icon-link { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); transition: background-color .2s, color .2s; }
.icon-link:hover { background: var(--soft); color: var(--ink); }
.icon-link svg { width: 17px; height: 17px; }
.search-btn { gap: 8px; color: var(--muted); }
.search-btn svg { width: 15px; height: 15px; }
.search-btn kbd { font-family: var(--mono); font-size: 11px; padding: 1px 5px; border-radius: 5px; background: var(--soft-2); color: var(--muted); }
.palette { position: fixed; inset: 0; z-index: 90; display: none; align-items: flex-start; justify-content: center; padding: 12vh 16px 16px; background: rgba(4, 19, 25, .32); backdrop-filter: blur(4px); }
.palette.open { display: flex; }
.palette-box { width: 100%; max-width: 620px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.palette-in { display: flex; align-items: center; gap: 10px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.palette-in svg { width: 18px; height: 18px; color: var(--muted); }
.palette-in input { flex: 1; height: 56px; border: 0; outline: 0; font-size: 17px; color: var(--ink); background: transparent; }
.palette-in input::-webkit-search-cancel-button { display: none; }
.palette-in kbd { font-family: var(--mono); font-size: 11px; padding: 2px 6px; border-radius: 5px; background: var(--soft-2); color: var(--muted); }
.palette-list { max-height: 56vh; overflow: auto; padding: 8px; margin: 0; list-style: none; }
.palette-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 12px; border-radius: 10px; color: var(--ink); }
.palette-list a span { grid-column: 1; font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.palette-list a em { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-style: normal; font-size: 11px; color: var(--muted); padding: 2px 8px; border-radius: 6px; background: var(--soft-2); }
.palette-list a[aria-selected="true"] { background: var(--soft); }
.palette-empty { padding: 28px; text-align: center; color: var(--muted); font-size: 15px; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 112px 0 0; overflow: hidden; }
.hero::before { content: ""; position: absolute; left: 50%; top: 210px; width: 1100px; height: 520px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(106, 243, 255, .55), rgba(106, 243, 255, .18) 55%, transparent 80%); filter: blur(30px); pointer-events: none; z-index: -1; }
.hero-copy { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.hero-copy .h1 { max-width: 820px; }
.hero-copy .lead { max-width: 640px; }
.pill-note { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); font-size: 14px; color: var(--text); margin-bottom: 8px; }
.pill-note svg { width: 14px; height: 14px; color: var(--muted); }
.pill-note b { padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 500; font-size: 12px; }
.capture { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 420px; padding: 6px 6px 6px 18px; margin-top: 24px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.capture input { flex: 1; min-width: 0; height: 38px; border: 0; outline: 0; background: transparent; font-size: 16px; color: var(--ink); }
.capture input::placeholder { color: var(--muted); }
.capture .btn { height: 44px; }
.capture-note { font-size: 14px; color: var(--ink); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 24px; }
.hero-prompt { max-width: 640px; padding-left: 16px; }
.hero-prompt .sigil { color: var(--cyan-ink); font-family: var(--mono); font-size: 15px; }
.hero-prompt code { flex: 1; min-width: 0; font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.live-strip { display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 18px; margin-top: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--muted); }
.live-strip b { color: var(--ink); font-weight: 500; }
.live-strip:hover { color: var(--ink); }
.capture-note span { color: var(--muted); }
.form-msg { min-height: 20px; font-size: 14px; color: var(--muted); }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: var(--red); }
.hp { position: absolute; left: -9999px; }

/* ---------- product frame ---------- */
.frame-wrap { position: relative; margin-top: 48px; }
.frame { position: relative; border-radius: 14px 14px 0 0; background: #fff; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(4, 19, 25, .06); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); background: #fff; }
.frame-dots { display: flex; gap: 6px; }
.frame-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.frame-dots i:nth-child(2) { background: #febc2e; }
.frame-dots i:nth-child(3) { background: #28c840; }
.frame-url { flex: 1; display: flex; justify-content: center; }
.frame-url span { display: inline-flex; align-items: center; gap: 6px; padding: 3px 60px; border-radius: 6px; background: var(--soft-2); font-size: 11px; color: var(--muted); }
.frame-url svg { width: 10px; height: 10px; }
.app { display: grid; grid-template-columns: 216px 1fr; min-height: 640px; }
.app-side { border-right: 1px solid var(--line); padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.app-brand { display: flex; align-items: center; justify-content: space-between; padding: 6px 8px 18px; }
.app-brand .logo { font-size: 20px; }
.app-brand .logo img { width: 24px; height: 24px; }
.app-nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 8px; font-size: 14px; color: var(--text); }
.app-nav a svg { width: 16px; height: 16px; color: var(--muted); }
.app-nav a.on { background: rgba(106, 243, 255, .16); color: var(--ink); box-shadow: inset 2px 0 0 var(--brand); }
.app-nav a.on svg { color: var(--ink); }
.app-nav .sep { height: 1px; background: var(--line); margin: 10px 4px; }
.app-main { background: #fbfbfc; display: flex; flex-direction: column; min-width: 0; }
.app-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fff; }
.app-top h4 { font-size: 16px; font-weight: 500; }
.app-top .who { display: flex; align-items: center; gap: 12px; }
.sim-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-size: 11px; font-weight: 500; }
.sim-chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.app-body { padding: 16px 20px 20px; display: grid; gap: 14px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; grid-template-columns: 1fr auto; row-gap: 4px; }
.kpi .t { font-size: 12px; color: var(--muted); grid-column: 1 / -1; }
.kpi .v { font-size: 20px; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.kpi .d { font-size: 11px; color: var(--green); display: flex; align-items: center; gap: 4px; grid-column: 1 / -1; }
.kpi .d.down { color: var(--red); }
.kpi .d svg { width: 11px; height: 11px; }
.kpi svg.spark { width: 64px; height: 24px; align-self: center; }
.app-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px; min-width: 0; }
.panel-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.panel-h h5 { font-size: 14px; font-weight: 500; }
.panel-h .chip { font-size: 11px; padding: 3px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--text); }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding: 0 4px; border-bottom: 1px dashed var(--line); }
.bars i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--blue) 0%, rgba(0, 153, 255, .15) 100%); transform-origin: bottom; }
.bars-x { display: flex; gap: 10px; padding: 6px 4px 0; }
.bars-x span { flex: 1; text-align: center; font-size: 10px; color: var(--muted); }
.big-num { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.big-num b { font-size: 26px; font-weight: 500; color: var(--ink); }
.big-num span { font-size: 12px; color: var(--muted); }
.cmp { display: grid; gap: 8px; }
.cmp-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.cmp-row .k { color: var(--muted); }
.cmp-row .v { color: var(--ink); font-family: var(--mono); font-size: 12px; }
.cmp-total { text-align: center; padding: 6px 0 2px; }
.cmp-total b { display: block; font-size: 22px; color: var(--ink); font-weight: 500; }
.cmp-total span { font-size: 12px; color: var(--muted); }
.verdict-btn { display: flex; align-items: center; justify-content: center; gap: 6px; height: 34px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 13px; }
.table { width: 100%; border-collapse: collapse; font-size: 12px; }
.table th { text-align: left; font-weight: 400; color: var(--muted); background: var(--soft); padding: 8px 10px; }
.table th:first-child { border-radius: 6px 0 0 6px; }
.table th:last-child { border-radius: 0 6px 6px 0; }
.table td { padding: 9px 10px; border-bottom: 1px solid var(--line); color: var(--ink); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td small { display: block; color: var(--muted); font-size: 11px; margin-top: 2px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 500; white-space: nowrap; background: var(--soft-2); color: var(--text); }
.pill.ok { background: var(--green-soft); color: var(--green); }
.pill.bad { background: var(--red-soft); color: var(--red); }
.pill.warn { background: var(--amber-soft); color: var(--amber); }
.pill.info { background: #e5f3ff; color: #0870c4; }
.pill.vio { background: var(--violet-soft); color: var(--violet); }
.pill.dark { background: var(--ink); color: #fff; }
.chat { display: flex; flex-direction: column; gap: 8px; }
.msg { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: start; font-size: 12px; }
.msg .av { width: 22px; height: 22px; border-radius: 50%; }
.msg .meta { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 10.5px; margin-bottom: 2px; }
.msg .meta b { color: var(--ink); font-weight: 500; font-family: var(--mono); font-size: 10.5px; }
.msg p { color: var(--text); line-height: 1.4; }
.mtype { padding: 1px 6px; border-radius: 4px; font-size: 10px; font-weight: 500; }
.mtype.note { background: var(--soft-2); color: var(--text); }
.mtype.question { background: #e5f3ff; color: #0870c4; }
.mtype.finding { background: var(--green-soft); color: var(--green); }
.mtype.handoff { background: var(--violet-soft); color: var(--violet); }
.mtype.blocker { background: var(--amber-soft); color: var(--amber); }
.frame-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 85%); pointer-events: none; }

/* ---------- marquee ---------- */
.marquee-sec { padding: 72px 0 24px; }
.marquee-sec p { text-align: center; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 500; color: #5f6268; letter-spacing: -0.01em; white-space: nowrap; }
.marquee-item svg { width: 26px; height: 26px; color: #6d7076; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.card { position: relative; background: var(--soft); border-radius: var(--radius-lg); padding: 24px; overflow: hidden; display: flex; flex-direction: column; }
.card.white { background: #fff; border: 1px solid var(--line); }
.bento .card { min-height: 560px; }
.bento .c7 { grid-column: span 7; }
.bento .c5 { grid-column: span 5; }
.card-head { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 2; }
.card-title { display: flex; align-items: center; gap: 12px; }
.card-title h3 { font-size: 18px; line-height: 1.2; }
.icon-chip { width: 26px; height: 26px; border-radius: 7px; background: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); flex: none; }
.icon-chip svg { width: 14px; height: 14px; }
.card-head p { font-size: 16px; line-height: 1.5; max-width: 470px; }
.card-art { position: relative; flex: 1; margin-top: 24px; display: flex; align-items: flex-end; justify-content: center; }
.mini { background: #fff; border-radius: 14px; box-shadow: var(--shadow); border: 1px solid rgba(4, 19, 25, .05); }
.toast { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); border: 1px solid rgba(4, 19, 25, .05); font-size: 12px; z-index: 3; }
.toast .ti { width: 26px; height: 26px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.toast .ti svg { width: 14px; height: 14px; }
.toast b { display: block; color: var(--ink); font-weight: 500; font-size: 12px; }
.toast span { color: var(--muted); font-size: 11px; }
.float { animation: float 6s ease-in-out infinite; }
.float.d2 { animation-delay: -3s; }
@keyframes float { 50% { transform: translateY(-6px); } }

/* manifest widget */
.manifest-card { width: 100%; max-width: 380px; padding: 18px 18px 8px; border-radius: 16px 16px 0 0; }
.manifest-card .mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; color: var(--ink); font-weight: 500; }
.manifest-card .mh a { font-size: 12px; color: var(--blue-deep); font-weight: 500; }
.mrow { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.mrow:last-child { border-bottom: 0; }
.mrow .mi { width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; }
.mrow .mi svg { width: 16px; height: 16px; }
.mrow b { display: block; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.mrow span { font-size: 11.5px; color: var(--faint); font-family: var(--mono); }
.mrow .ok { width: 18px; height: 18px; color: var(--green); }

/* bounty stack widget */
.stack { position: relative; width: 300px; height: 300px; }
.stack .mini { position: absolute; width: 270px; padding: 16px; }
.stack .s1 { top: 0; right: -10px; }
.stack .s2 { top: 50px; right: 10px; }
.stack .s3 { top: 100px; right: 30px; }
.stack .row { display: flex; justify-content: space-between; align-items: center; }
.stack .row b { font-size: 15px; color: var(--ink); font-weight: 500; }
.ring { width: 26px; height: 26px; }
.stack .line { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; color: var(--text); }
.stack .line + .line { border-top: 1px solid var(--line); }
.stack .line .k { display: flex; align-items: center; gap: 8px; }
.stack .line .k::before { content: ""; width: 3px; height: 12px; border-radius: 2px; background: var(--blue); }
.stack .line.alt .k::before { background: #9fd6ff; }
.stack .line b { font-size: 13px; color: var(--ink); font-weight: 500; }

/* terminal widget */
.term { width: 100%; max-width: 360px; padding: 14px 16px; border-radius: 14px 14px 0 0; font-family: var(--mono); font-size: 11.5px; line-height: 1.75; color: var(--text); }
.term .tl { display: flex; gap: 8px; white-space: nowrap; overflow: hidden; }
.term .tl .ts { color: var(--faint); }
.term .tl .lv { color: var(--cyan-ink); }
.term .tl .ok { color: var(--green); }
.term .tl .bad { color: var(--red); }
.term .bar-skel { height: 10px; border-radius: 4px; background: var(--soft-2); margin: 10px 0; }

/* orbit widget */
.orbit { position: relative; width: 360px; height: 300px; }
.orbit .rings { position: absolute; left: 50%; bottom: -150px; transform: translateX(-50%); }
.orbit .rings i { position: absolute; left: 50%; top: 50%; border: 1px solid #dcdfe2; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit .node { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; }
.orbit .node svg { width: 26px; height: 26px; }
.orbit .node.main { width: 64px; height: 64px; background: var(--ink); }
.orbit .node.main img { width: 34px; height: 34px; filter: invert(1) hue-rotate(180deg); }

/* ---------- feature rows (band) ---------- */
.rows { display: grid; gap: 24px; }
.row-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; background: #fff; border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--line); }
.row-card.flip .row-copy { order: 2; }
.row-copy { display: flex; flex-direction: column; padding: 8px; }
.row-copy .eyebrow { margin-bottom: 18px; color: var(--ink); }
.row-copy .h3 { margin-bottom: 16px; max-width: 440px; }
.row-copy .lead { max-width: 440px; font-size: 16px; line-height: 1.5; }
.checks { list-style: none; padding: 0; margin: auto 0 0; padding-top: 40px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--ink); }
.checks li svg { width: 16px; height: 16px; flex: none; margin-top: 3px; padding: 3px; border-radius: 4px; background: var(--soft); color: var(--ink); box-sizing: content-box; }
.row-art { position: relative; border-radius: 14px; background: var(--soft); min-height: 440px; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 28px; }
.room { width: 100%; max-width: 420px; padding: 16px; }
.room-h { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.room-h span { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.room .chat { gap: 12px; min-height: 270px; }
.room .msg { animation: msgIn .5s var(--ease) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } }
.draw { width: 100%; max-width: 400px; padding: 18px; }
.draw-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.draw-h b { font-size: 14px; font-weight: 500; color: var(--ink); }
.draw-h code { font-size: 11px; color: var(--muted); }
.cands { display: grid; gap: 6px; }
.cand { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; border: 1px solid var(--line); font-size: 12.5px; color: var(--text); transition: background-color .3s, border-color .3s, color .3s; }
.cand .av { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.cand code { font-size: 12px; color: var(--ink); }
.cand .why { margin-left: auto; font-size: 11px; color: var(--faint); }
.cand.excluded { opacity: .5; }
.cand.pick { border-color: var(--ink); background: var(--ink); color: #fff; }
.cand.pick code, .cand.pick .why { color: #fff; }
.draw-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 12px; color: var(--muted); }
.prompt-box { width: 100%; max-width: 440px; }
.prompt { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 12px; background: var(--ink); color: #e9fbfd; font-family: var(--mono); font-size: 13px; }
.prompt .sigil { color: var(--brand); }
.prompt code { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.copy-btn { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 10px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: #fff; font-family: var(--font); font-size: 12px; transition: background-color .2s; }
.copy-btn:hover { background: rgba(255, 255, 255, .18); }
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn.light { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.copy-btn.light:hover { background: var(--soft); }
.roles-mini { display: grid; gap: 8px; margin-top: 14px; }
.roles-mini a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; color: var(--ink); transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.roles-mini a:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.roles-mini a span { margin-left: auto; color: var(--muted); font-size: 12px; }
.roles-mini a > svg:last-child { width: 14px; height: 14px; color: var(--faint); transition: transform .2s var(--ease), color .2s; }
.roles-mini a:hover > svg:last-child { transform: translateX(2px); color: var(--ink); }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .n { font-size: 56px; line-height: 1.2; color: #000; letter-spacing: -0.02em; }
.stat .l { margin-top: 18px; font-size: 18px; color: var(--ink); }
.stat .s { margin-top: 8px; font-size: 15px; color: var(--muted); }
.stat .s a { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.stat .s a:hover { color: var(--ink); }

/* ---------- integrations ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split-copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.split-copy .lead { max-width: 440px; margin-bottom: 24px; }
.tiles { display: grid; grid-template-columns: repeat(7, 64px); gap: 10px; justify-content: center; -webkit-mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 60% 62% at 50% 50%, #000 55%, transparent 100%); }
.tile { width: 64px; height: 64px; border-radius: 12px; background: var(--soft); display: flex; align-items: center; justify-content: center; transition: transform .3s var(--ease), background-color .3s; }
.tile:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow); }
.tile svg, .tile img { width: 28px; height: 28px; }
.tile.main { background: var(--ink); }
.tile.main img { width: 36px; height: 36px; }

/* ---------- security ---------- */
.sec-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.sec-head .left { display: flex; flex-direction: column; gap: 16px; }
.badges { display: flex; justify-content: flex-end; gap: 12px; }
.badge-c { width: 76px; height: 76px; border-radius: 50%; border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10px; color: var(--muted); text-align: center; line-height: 1.1; }
.badge-c svg { width: 20px; height: 20px; color: var(--ink); }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feat { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 32px; }
.feat .card-title h3 { font-size: 18px; }
.feat p { font-size: 16px; line-height: 1.55; }
.feat code { font-size: 12px; color: var(--muted); }
.center-link { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; min-height: 420px; }
.step .num { align-self: flex-start; padding: 6px 12px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--ink); }
.step-art { overflow: hidden; margin: 0 -24px; flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 190px; }
.step h3 { font-size: 18px; margin-bottom: 12px; }
.step p { font-size: 16px; line-height: 1.55; }
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.outcome { padding: 16px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 8px; }
.outcome code { font-size: 13px; font-weight: 500; }
.outcome p { font-size: 14px; color: var(--text); }

/* ---------- stories carousel ---------- */
.stories { position: relative; }
.story-track { display: flex; gap: 20px; transition: transform .7s var(--ease); }
.story { flex: 0 0 100%; display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; }
.story-viz { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 470px; background: var(--navy); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; }
.story-viz canvas, .story-viz svg.viz { position: absolute; inset: 0; width: 100%; height: 100%; }
.story-viz .lab-tag { position: absolute; top: 28px; left: 32px; display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: rgba(255, 255, 255, .85); z-index: 2; }
.story-viz .sample { position: absolute; top: 26px; right: 28px; z-index: 2; }
.story-viz blockquote { position: relative; z-index: 2; margin: 0; font-size: 32px; line-height: 1.2; font-weight: 500; color: #fff; max-width: 760px; letter-spacing: -0.01em; }
.story-viz .who { position: relative; z-index: 2; margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, .75); }
.story-side { border-radius: var(--radius-lg); background: var(--ink); color: #fff; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; }
.story-side .metric { font-size: 24px; line-height: 1.3; color: #fff; }
.story-side .metric small { display: block; margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .6); }
.story-side dl { display: grid; gap: 12px; margin: 0; font-size: 14px; }
.story-side dl div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.story-side dt { color: rgba(255, 255, 255, .6); }
.story-side dd { margin: 0; font-family: var(--mono); font-size: 13px; }
.story-foot { display: flex; align-items: center; justify-content: space-between; }
.story-foot a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-size: 15px; }
.story-foot a svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: rgba(255, 255, 255, .15); box-sizing: content-box; }
.dots-nav { display: flex; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); }
.dots-nav button { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: background-color .3s, width .3s; }
.dots-nav button[aria-current="true"] { background: #fff; width: 18px; border-radius: 3px; }
.carousel-ctrl { display: flex; gap: 8px; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); display: inline-flex; align-items: center; justify-content: center; background: #fff; transition: background-color .2s; }
.round-btn:hover { background: var(--soft); }
.round-btn svg { width: 18px; height: 18px; color: var(--ink); }

/* ---------- roles (pricing) ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.plan-top { padding: 24px 24px 20px; }
.plan-top .card-title { margin-bottom: 14px; }
.plan-top .card-title h3 { font-size: 18px; }
.plan-top p { font-size: 15px; line-height: 1.5; min-height: 66px; }
.plan-body { padding: 24px; border-top: 1px solid var(--line); border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: #fff; }
.plan-price { font-size: 36px; color: var(--ink); line-height: 1.2; margin-bottom: 4px; }
.plan-price small { font-size: 15px; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text); }
.plan li svg { width: 12px; height: 12px; padding: 2px; margin-top: 3px; flex: none; border-radius: 3px; background: var(--soft-2); color: var(--ink); box-sizing: content-box; }
.plan.pop { margin-top: -40px; border-color: var(--navy); }
.plan.pop .ribbon { background: var(--cyan); color: var(--ink); text-align: center; font-size: 14px; font-weight: 500; padding: 10px; }
.plan.pop .plan-top { background: var(--navy); color: rgba(255, 255, 255, .78); }
.plan.pop .plan-top h3 { color: #fff; }
.plan.pop .plan-top .icon-chip { background: rgba(255, 255, 255, .12); box-shadow: none; color: #fff; }
.plan.pop .plan-body { margin-top: -12px; position: relative; }
.plan .btn { width: 100%; }

/* ---------- token ---------- */
.token-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.uses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.use { padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.use h4 { font-size: 16px; margin: 10px 0 6px; }
.use p { font-size: 14px; line-height: 1.5; }
.kv { display: grid; }
.kv div { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.kv div:last-child { border-bottom: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; color: var(--ink); text-align: right; display: flex; align-items: center; gap: 8px; min-width: 0; }
.kv dd code { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
.burn-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.burn-mini .b { padding: 14px; border-radius: var(--radius); background: var(--soft); }
.burn-mini .b span { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.burn-mini .b b { font-size: 20px; font-weight: 500; color: var(--ink); }
.meter { height: 8px; border-radius: 999px; background: var(--soft-2); overflow: hidden; margin-top: 16px; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--brand), var(--blue)); border-radius: inherit; transition: width 1.2s var(--ease); }
.notice { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--amber-soft); color: #6b4a12; font-size: 14px; line-height: 1.5; }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.notice.info { background: #e9f6ff; color: #0b4f80; }

/* ---------- status / roadmap ---------- */
.phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.phase { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; gap: 14px; }
.phase .top { display: flex; justify-content: space-between; align-items: center; }
.phase .top span { font-size: 14px; color: var(--muted); }
.phase h3 { font-size: 20px; }
.phase p { font-size: 15px; line-height: 1.55; }
.phase ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 14px; color: var(--text); }
.phase li { display: flex; gap: 8px; }
.phase li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--faint); margin-top: 8px; flex: none; }
.statusboard { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.statuslist { padding: 24px; border-radius: var(--radius-lg); background: var(--soft); }
.statuslist h4 { font-size: 16px; display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.statuslist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.statuslist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: inline-block; box-shadow: 0 0 0 3px rgba(36, 136, 48, .15); }
.dot.amber { background: #e8a33a; box-shadow: 0 0 0 3px rgba(232, 163, 58, .18); }
.dot.grey { background: var(--faint); box-shadow: 0 0 0 3px rgba(161, 166, 168, .2); }
.dot.live { animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(36, 136, 48, 0); } }

/* ---------- faq ---------- */
.faq { max-width: 1040px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 16px; cursor: pointer; font-size: 18px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 16px 24px; font-size: 16px; line-height: 1.6; max-width: 820px; }
.faq .ans a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- cta band ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 96px 32px; text-align: center; background: linear-gradient(120deg, #eafcff 0%, #c6f7ff 30%, #a6f0fb 50%, #dffbff 75%, #f1fdff 100%); }
.cta::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 210deg at 50% 50%, rgba(106, 243, 255, 0), rgba(106, 243, 255, .5), rgba(255, 255, 255, .0) 40%, rgba(106, 243, 255, .35) 70%, rgba(106, 243, 255, 0)); filter: blur(40px); animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.cta > * { position: relative; }
.cta .h2 { max-width: 700px; margin: 0 auto 16px; }
.cta .lead { max-width: 520px; margin: 0 auto; }
.cta .capture { margin: 32px auto 12px; }
.cta .prompt { max-width: 560px; margin: 20px auto 0; text-align: left; background: rgba(4, 19, 25, .92); }

/* ---------- footer ---------- */
.footer { padding: 120px 0 32px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand p { margin: 24px 0; max-width: 320px; font-size: 18px; line-height: 1.33; color: var(--ink); }
.socials { display: flex; gap: 14px; }
.socials a { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; color: var(--text); transition: background-color .2s, color .2s; }
.socials a:hover { background: var(--soft); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.footer-col h4 { font-size: 16px; margin-bottom: 18px; font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a { font-size: 15px; color: var(--text); transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.wordmark { margin: 40px 0 0; font-size: clamp(96px, 22vw, 330px); line-height: .8; font-weight: 500; letter-spacing: -0.06em; color: var(--soft-2); text-align: center; user-select: none; white-space: nowrap; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; font-size: 14px; color: var(--text); }
.footer-bottom .tags { display: flex; gap: 10px; }
.footer-bottom .tags span { padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); font-size: 13px; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; padding: 96px 0 64px; overflow: hidden; }
.page-hero.glow::before { content: ""; position: absolute; left: 50%; top: 40px; width: 900px; height: 360px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(106, 243, 255, .38), transparent 75%); filter: blur(30px); z-index: -1; }
.page-hero .inner { display: flex; flex-direction: column; gap: 16px; align-items: center; text-align: center; }
.page-hero .h1 { font-size: 56px; line-height: 1.1; max-width: 860px; }
.page-hero .lead { max-width: 620px; }
.page-hero.left .inner { align-items: flex-start; text-align: left; }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-split .copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.hero-split .copy .actions { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.filter { height: 40px; padding: 0 16px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); font-size: 15px; color: var(--text); transition: background-color .2s, color .2s; }
.filter:hover { color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }

.toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 20px; }
.search { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border-radius: var(--radius); background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.search svg { width: 16px; height: 16px; color: var(--muted); }
.search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; }
.select { height: 44px; padding: 0 36px 0 14px; border-radius: var(--radius); border: 0; box-shadow: inset 0 0 0 1px var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23797c86' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font-size: 15px; color: var(--ink); cursor: pointer; }
.board { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.board .table { font-size: 14px; }
.board .table th { background: var(--soft); padding: 12px 16px; border-radius: 0; font-size: 13px; }
.board .table td { padding: 16px; }
.board .table tr.rowlink { cursor: pointer; transition: background-color .15s; }
.board .table tr.rowlink:hover { background: #fafbfb; }
.board .table td small { font-size: 12px; }
.board-foot { display: flex; justify-content: space-between; padding: 14px 16px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.empty { padding: 48px; text-align: center; color: var(--muted); }
.progress { width: 88px; height: 6px; border-radius: 999px; background: var(--soft-2); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.sim-banner { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 16px; background: var(--amber-soft); color: #6b4a12; font-size: 14px; text-align: center; }
.sim-banner a { text-decoration: underline; text-underline-offset: 3px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi-row .kpi { border-radius: var(--radius); padding: 18px; }
.kpi-row .kpi .v { font-size: 28px; font-weight: 400; }

.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.detail > * { min-width: 0; }
.timeline { overflow-x: auto; }
.timeline .st { min-width: 84px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.box + .box { margin-top: 24px; }
.box h3 { font-size: 18px; margin-bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.box.soft { background: var(--soft); }
.box .mono { overflow-wrap: anywhere; }
.timeline { display: flex; gap: 0; margin: 8px 0 4px; }
.timeline .st { flex: 1; position: relative; padding-top: 18px; font-size: 12px; color: var(--muted); }
.timeline .st::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: var(--line); }
.timeline .st::after { content: ""; position: absolute; top: 0; left: 0; width: 10px; height: 10px; border-radius: 50%; background: #fff; border: 2px solid var(--line); }
.timeline .st.done::before { background: var(--ink); }
.timeline .st.done::after { background: var(--ink); border-color: var(--ink); }
.timeline .st.now { color: var(--ink); font-weight: 500; }
.timeline .st.now::after { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(106, 243, 255, .5); }
pre.code { margin: 0; padding: 16px; border-radius: var(--radius); background: var(--ink); color: #dff8fb; font-size: 12.5px; line-height: 1.65; overflow: auto; max-height: 420px; }
pre.code .k { color: #7fe9f4; }
pre.code .s { color: #c8f2a0; }
pre.code .n { color: #ffcf8a; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.crumbs a:hover { color: var(--ink); }
.crumbs svg { width: 12px; height: 12px; }

.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rooms > * { min-width: 0; }
.room-card { display: flex; flex-direction: column; gap: 14px; padding: 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s var(--ease); }
.room-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.room-card .top { display: flex; justify-content: space-between; align-items: center; }
.room-card .top code { font-size: 13px; color: var(--ink); }
.room-card h4 { font-size: 16px; line-height: 1.35; }
.room-card .last { font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-card .foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.avatars { display: flex; }
.avatars svg { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; }
.avatars svg:first-child { margin-left: 0; }
.room-live { min-height: 460px; }
.room-live .chat { gap: 14px; }
.room-live .msg { font-size: 14px; grid-template-columns: 28px 1fr; }
.room-live .msg .av { width: 28px; height: 28px; }
.room-live .msg .meta, .room-live .msg .meta b { font-size: 12px; }
.typing { display: inline-flex; gap: 4px; padding: 8px 0 0 36px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }

/* docs */
.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr) 200px; gap: 56px; align-items: start; padding-top: 48px; padding-bottom: 96px; }
.docs-nav { position: sticky; top: 92px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); max-height: calc(100vh - 120px); overflow: auto; }
.docs-nav h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin: 16px 0 8px; font-weight: 400; }
.docs-nav h5:first-child { margin-top: 0; }
.docs-nav a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 15px; color: var(--text); }
.docs-nav a::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: transparent; flex: none; }
.docs-nav a:hover { color: var(--ink); }
.docs-nav a[aria-current="page"] { color: var(--ink); }
.docs-nav a[aria-current="page"]::before { background: var(--brand); }
.toc { position: sticky; top: 92px; font-size: 14px; }
.toc h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--muted); margin-bottom: 10px; font-weight: 400; }
.toc a { display: block; padding: 5px 0; color: var(--text); }
.toc a:hover, .toc a.on { color: var(--ink); }
.prose { color: var(--text); font-size: 17px; line-height: 1.7; min-width: 0; }
.prose > :first-child { margin-top: 0; }
.prose h1 { font-size: 44px; line-height: 1.15; margin-bottom: 16px; }
.prose h2 { font-size: 30px; line-height: 1.25; margin: 56px 0 16px; }
.prose h3 { font-size: 22px; margin: 36px 0 12px; }
.prose h4 { font-size: 18px; margin: 28px 0 10px; }
.prose p { margin: 0 0 16px; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brand); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 18px; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--faint); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose code { font-size: .86em; padding: 2px 6px; border-radius: 6px; background: var(--soft-2); color: var(--ink); }
.prose pre { margin: 0 0 20px; padding: 18px; border-radius: var(--radius); background: var(--ink); color: #dff8fb; overflow: auto; font-size: 13.5px; line-height: 1.65; }
.prose pre code { padding: 0; background: none; color: inherit; font-size: inherit; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 24px; font-size: 15px; display: block; overflow-x: auto; }
.prose th { text-align: left; font-weight: 500; color: var(--ink); background: var(--soft); padding: 10px 12px; }
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose blockquote { margin: 0 0 18px; padding: 12px 18px; border-left: 3px solid var(--brand); background: var(--soft); border-radius: 0 10px 10px 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.prose .lede { font-size: 20px; color: var(--text); margin-bottom: 32px; }
.doc-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.doc-pager a { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 4px; transition: border-color .2s; }
.doc-pager a:hover { border-color: var(--ink); }
.doc-pager a span { font-size: 13px; color: var(--muted); }
.doc-pager a b { font-weight: 400; color: var(--ink); font-size: 17px; }
.doc-pager a.next { text-align: right; grid-column: 2; }
.lifecycle { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 24px; }
.lifecycle span { padding: 6px 12px; border-radius: 8px; background: var(--soft); font-size: 14px; color: var(--ink); }
.lifecycle i { color: var(--faint); font-style: normal; }

/* legal (privacy layout) */
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; align-items: start; padding-bottom: 96px; }

/* tools */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 32px; }
.tool { display: none; }
.tool.on { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.field { display: grid; gap: 8px; margin-bottom: 16px; }
.field label { font-size: 14px; color: var(--ink); }
.field small { font-size: 13px; color: var(--muted); }
.input, .textarea { width: 100%; border: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); background: #fff; padding: 12px 14px; font-size: 14px; outline: none; transition: box-shadow .2s; }
.input:focus, .textarea:focus { box-shadow: inset 0 0 0 1.5px var(--ink); }
.textarea { min-height: 220px; font-family: var(--mono); font-size: 12.5px; line-height: 1.6; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.out { display: grid; gap: 12px; }
.out .res { padding: 14px; border-radius: var(--radius); background: var(--soft); font-family: var(--mono); font-size: 12.5px; word-break: break-all; color: var(--ink); }
.out .res span { display: block; font-family: var(--font); font-size: 12px; color: var(--muted); margin-bottom: 6px; word-break: normal; }
.verdict { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius); font-size: 15px; }
.verdict.ok { background: var(--green-soft); color: var(--green); }
.verdict.bad { background: var(--red-soft); color: var(--red); }
.verdict.idle { background: var(--soft); color: var(--muted); }
.drop { border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 28px; text-align: center; color: var(--muted); font-size: 14px; cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover, .drop.over { border-color: var(--ink); background: var(--soft); color: var(--ink); }
.vote-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 8px; margin-bottom: 8px; }

/* status page */
.log { display: grid; gap: 24px; }
.log-item { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.log-item .copy { padding: 16px 8px; display: flex; flex-direction: column; gap: 14px; }
.log-item .copy .h3 { font-size: 32px; }
.log-item .art { border-radius: 14px; background: var(--soft); min-height: 300px; display: flex; align-items: center; justify-content: center; padding: 24px; }

/* 404 */
.nf { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 80px 0; }
.nf .code { font-size: 140px; line-height: 1; color: var(--ink); letter-spacing: -0.05em; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }
.js .bars.anim i { transform: scaleY(0); transition: transform 1s var(--ease); }
.js .bars.anim.in i { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  :root { --gutter: 40px; }
  .nav a { padding: 8px 8px; font-size: 15px; }
  .app { grid-template-columns: 180px 1fr; }
  .docs { grid-template-columns: 220px minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 1024px) {
  .nav, .header-cta .btn-light { display: none; }
  .mobile-nav .btn-light { display: inline-flex; margin-top: 20px; height: 52px; font-size: 17px; }
  .mobile-nav .btn-light svg { width: 18px; height: 18px; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: fixed; inset: 68px 0 0; z-index: 49; background: #fff; padding: 24px var(--gutter); display: flex; flex-direction: column; gap: 4px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease); overflow: auto; }
  .mobile-nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .mobile-nav a { padding: 14px 4px; font-size: 20px; color: var(--ink); border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { margin-top: 20px; height: 52px; font-size: 17px; border: 0; }
  .h1 { font-size: 48px; line-height: 1.1; }
  .h2 { font-size: 40px; }
  .h3 { font-size: 30px; }
  .bento .c7, .bento .c5 { grid-column: span 12; }
  .bento .card { min-height: 520px; }
  .row-card, .split, .sec-head, .token-grid, .hero-split, .log-item, .detail { grid-template-columns: minmax(0, 1fr); }
  .row-card.flip .row-copy { order: 0; }
  .badges { justify-content: flex-start; }
  .steps, .plans, .phases, .cards-3 { grid-template-columns: 1fr; }
  .plan.pop { margin-top: 0; }
  .story { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .outcomes { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .app { grid-template-columns: 1fr; }
  .app-side { display: none; }
  .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .docs, .legal { grid-template-columns: 1fr; gap: 24px; }
  .docs-nav { position: static; max-height: none; }
  .tool.on { grid-template-columns: 1fr; }
  .statusboard { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  :root { --gutter: 16px; }
  .section { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .hero { padding-top: 64px; }
  .h1, .page-hero .h1 { font-size: 38px; line-height: 1.1; }
  .h2 { font-size: 32px; }
  .h3 { font-size: 26px; }
  .lead { font-size: 17px; }
  .section-head { margin-bottom: 40px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .header-cta .btn-dark { display: none; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .app-grid { grid-template-columns: 1fr; }
  .bars, .bars-x { gap: 4px; }
  .bars-x span { font-size: 9px; }
  .manifest-card { max-width: 100%; }
  .app-body .hide-sm { display: none; }
  .frame-url span { padding: 3px 20px; }
  .bento .card { min-height: 0; }
  .card-art { min-height: 300px; }
  .stack { transform: scale(.9); transform-origin: bottom center; }
  .orbit { transform: scale(.85); transform-origin: bottom center; }
  .row-card { padding: 16px; gap: 24px; }
  .row-art { min-height: 360px; padding: 16px; }
  .stats { grid-template-columns: 1fr; }
  .stat .n { font-size: 48px; }
  .tiles { grid-template-columns: repeat(5, 56px); }
  .tile { width: 56px; height: 56px; }
  .tiles .xs-hide { display: none; }
  .story-viz { min-height: 420px; padding: 24px; }
  .story-viz blockquote { font-size: 24px; }
  .story-side { padding: 24px; gap: 24px; }
  .outcomes, .uses, .burn-mini, .grid-2 { grid-template-columns: 1fr; }
  .cta { padding: 64px 20px; }
  .capture { flex-direction: column; align-items: stretch; padding: 8px; }
  .capture input { padding: 0 10px; height: 44px; }
  .hero-actions { width: 100%; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-prompt { flex-direction: row; align-items: center; padding: 6px 6px 6px 12px; }
  .hero-prompt code { font-size: 12px; white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
  .hero-prompt .btn { padding: 0 12px; height: 40px; font-size: 14px; }
  .live-strip { border-radius: 16px; }
  .footer { padding-top: 80px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .rooms { grid-template-columns: minmax(0, 1fr); }
  .board { overflow-x: auto; }
  .board .table { min-width: 720px; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .doc-pager { grid-template-columns: 1fr; }
  .doc-pager a.next { grid-column: 1; }
  .prose h1 { font-size: 34px; }
  .prose h2 { font-size: 26px; }
  .vote-row { grid-template-columns: 1fr 1fr; }
  .log-item .copy .h3 { font-size: 26px; }
  .nf .code { font-size: 96px; }
}
