@font-face { font-family: 'Instrument Sans'; font-weight: 400; font-display: swap; src: url(/fonts/instrument-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 500; font-display: swap; src: url(/fonts/instrument-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 600; font-display: swap; src: url(/fonts/instrument-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Sans'; font-weight: 700; font-display: swap; src: url(/fonts/instrument-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: normal; font-display: swap; src: url(/fonts/instrument-serif-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-display: swap; src: url(/fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 500; font-display: swap; src: url(/fonts/jetbrains-mono-latin-500-normal.woff2) format('woff2'); }

:root {
  --bg: #040605;
  --paper: #0b100e;
  --paper-2: #0f1613;
  --ink: #eef6f1;
  --ink-2: #c4d0ca;
  --muted: #8a9891;
  --faint: #5f6d66;
  --line: #1c2622;
  --line-2: #141d19;
  --tint: #121a16;
  --hover: #26332e;
  --accent: #19e07d;
  --accent-ink: #03140b;
  --accent-soft: rgba(25, 224, 125, .12);
  --accent-text: #bfffdc;
  --good: #3ddc84;
  --good-soft: rgba(61, 220, 132, .12);
  --bad: #ff6b5e;
  --bad-soft: rgba(255, 107, 94, .12);
  --warn: #f2b84b;
  --warn-soft: rgba(242, 184, 75, .12);
  --radius: 18px;
  --radius-s: 12px;
  --shadow: 0 1px 0 rgba(255, 255, 255, .03) inset, 0 10px 30px -16px rgba(0, 0, 0, .7);
  --sans: 'Instrument Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', ui-serif, Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --w: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a.link, .prose a { color: var(--accent); }
::selection { background: rgba(25, 224, 125, .3); }
a.link:hover, .prose a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.015em; }
p { margin: 0; }
.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.mono, .num { font-family: var(--mono); font-feature-settings: 'tnum'; letter-spacing: -0.02em; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.good { color: var(--good); }
.bad { color: var(--bad); }
.small { font-size: 13px; }
.tiny { font-size: 12px; }
.hide { display: none !important; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.view { min-height: calc(100vh - 160px); outline: none; }
.row { display: flex; align-items: center; gap: 10px; }
.row.wrap-x { flex-wrap: wrap; }
.between { justify-content: space-between; }
.stack > * + * { margin-top: 12px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .g2, .g3 { grid-template-columns: minmax(0, 1fr); } .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wrap { padding-left: 16px; padding-right: 16px; } .kpi .value { font-size: 18px; } .team-head h1 { font-size: 24px; } }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: rgba(4, 6, 5, .62); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .04); }
.top .wrap { height: 62px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; color: #fff; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 7px 13px; border-radius: 99px; color: var(--ink-2); font-size: 14px; }
.nav a:hover { background: var(--tint); }
.nav a.on { background: var(--tint); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.netchip { font-size: 12px; padding: 4px 9px; border-radius: 99px; background: var(--warn-soft); color: var(--warn); font-weight: 500; white-space: nowrap; }
.netchip.main { background: var(--good-soft); color: var(--good); }
.bell { position: relative; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; }
.bell:hover { background: var(--tint); }
.bell .dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 600; }
.icon-btn.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .nav.open { display: flex; }
  .icon-btn.menu-btn { display: grid; }
  .netchip { display: none; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 18px; border-radius: 99px; border: 1px solid transparent; background: rgba(255, 255, 255, .07); cursor: pointer; font-weight: 500; font-size: 14px; white-space: nowrap; transition: background .12s, border-color .12s, transform .06s; }
.btn:hover { background: rgba(255, 255, 255, .12); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
.btn.primary { background: linear-gradient(180deg, #6ef5b2, #19e07d); color: var(--accent-ink); border-color: transparent; font-weight: 600; box-shadow: 0 8px 26px -10px rgba(25, 224, 125, .7), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn.primary:hover { background: linear-gradient(180deg, #8bf8c3, #2fe78c); }
.btn.accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.accent:hover { filter: brightness(1.08); }
.btn.good { background: var(--good); color: var(--accent-ink); border-color: var(--good); }
.btn.danger { color: var(--bad); border-color: rgba(255, 107, 94, .35); }
.btn.danger:hover { background: var(--bad-soft); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn.ghost:hover { background: var(--tint); }
.btn.sm { height: 30px; padding: 0 13px; font-size: 13px; border-radius: 99px; }
.btn.lg { height: 48px; padding: 0 26px; font-size: 15px; border-radius: 99px; }
.btn.block { width: 100%; }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; border: 0; background: transparent; cursor: pointer; color: var(--muted); }
.icon-btn:hover { background: var(--tint); color: var(--ink); }

/* cards & panels */
.card { background: linear-gradient(180deg, #0c1512 0%, #090f0c 100%); border: 1px solid rgba(255, 255, 255, .05); border-radius: var(--radius); }
.pad { padding: 20px; }
.pad-s { padding: 14px 16px; }
.panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-2); }
.panel-title h3 { font-size: 15px; }
.kpi { padding: 16px 18px; }
.kpi .label { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.kpi .value { font-family: var(--mono); font-size: 22px; margin-top: 6px; letter-spacing: -0.03em; }
.kpi .sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 99px; background: var(--tint); color: var(--ink-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.chip.good { background: var(--good-soft); color: var(--good); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.accent { background: var(--accent-soft); color: var(--accent); }
.dotx { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.divider { height: 1px; background: var(--line-2); margin: 16px 0; }
.empty { padding: 34px 20px; text-align: center; color: var(--muted); font-size: 14px; }
.notice { padding: 12px 14px; border-radius: 10px; background: var(--tint); color: var(--ink-2); font-size: 13.5px; }
.notice.warn { background: var(--warn-soft); color: #f5d08f; }
.notice.bad { background: var(--bad-soft); color: #ffb3ab; }
.notice.good { background: var(--good-soft); color: #a6f2c8; }
.notice.accent { background: var(--accent-soft); color: var(--accent-text); }

/* hero */
.hero-band { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background:
    radial-gradient(85% 75% at 100% 100%, rgba(20, 224, 122, .78) 0%, rgba(12, 128, 70, .5) 34%, rgba(3, 36, 20, 0) 72%),
    radial-gradient(55% 55% at 22% 112%, rgba(20, 224, 122, .30), rgba(20, 224, 122, 0) 70%),
    linear-gradient(180deg, #000 0%, #010604 55%, #03140b 100%); }
.hero-band .wave { position: absolute; left: 0; right: 0; bottom: 18px; height: 210px; pointer-events: none; }
.hero-band .wave svg { width: 100%; height: 100%; display: block; }
.hero-band .wave .glow { animation: drift 14s ease-in-out infinite alternate; }
.hero { position: relative; padding-top: 110px; padding-bottom: 210px; }
.hero h1 { font-weight: 600; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; letter-spacing: -0.035em; max-width: 720px; }
.hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; color: var(--accent-text); }
.hero .lede { margin-top: 22px; max-width: 520px; font-size: 18px; color: var(--ink-2); }
.hero .cta { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero .cta .btn:not(.primary) { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.hero .cta .btn:not(.primary):hover { background: rgba(255, 255, 255, .12); }
.hero-mark { position: absolute; right: 24px; top: 96px; width: clamp(280px, 30vw, 380px); color: #fff; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .45)); }
.hero-mark polygon { transform-box: fill-box; transform-origin: center; animation: hover 6s ease-in-out infinite; }
.hero-mark polygon:nth-child(2), .hero-mark polygon:nth-child(3) { animation-delay: -.6s; }
.hero-mark polygon:nth-child(4), .hero-mark polygon:nth-child(5) { animation-delay: -1.2s; }
.hero-mark svg { display: block; overflow: visible; }
@keyframes hover { 50% { transform: translateY(-7px); } }
@keyframes drift { to { transform: translateX(-3%); } }
@media (prefers-reduced-motion: reduce) { .hero-mark polygon, .hero-band .wave .glow { animation: none; } }
@media (max-width: 980px) { .hero-mark { display: none; } .hero h1 { max-width: 900px; } }
@media (max-width: 620px) { .hero { padding-top: 64px; padding-bottom: 150px; } .hero-band .wave { height: 150px; } }
.stats-wrap { position: relative; z-index: 2; margin-top: -58px; }
.statsbar { margin-top: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(255, 255, 255, .09); border-radius: var(--radius); background: rgba(6, 12, 9, .72); box-shadow: 0 20px 50px -24px rgba(0, 0, 0, .8); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(14px); overflow: hidden; }
.statsbar > div { padding: 16px 18px; border-right: 1px solid rgba(255, 255, 255, .07); }
.statsbar > div:last-child { border-right: 0; }
@media (max-width: 720px) { .statsbar { grid-template-columns: repeat(2, minmax(0, 1fr)); } .statsbar > div:nth-child(2) { border-right: 0; } .statsbar > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .07); } }
.section { padding-top: 56px; padding-bottom: 24px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { font-size: 32px; letter-spacing: -0.03em; }
.sub { margin-top: 8px; color: var(--muted); font-size: 15px; max-width: 560px; }
.page-title { font-size: 42px; font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
@media (max-width: 620px) { .section-head h2 { font-size: 26px; } .page-title { font-size: 34px; } }
.steps3 { counter-reset: s; }
.step3 { padding: 22px; }
.step3 .n { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.step3 h3 { margin-top: 10px; font-size: 17px; }
.step3 p { margin-top: 6px; color: var(--muted); font-size: 14px; }

/* team cards */
.tcard { display: block; padding: 18px; transition: border-color .12s, transform .12s; }
.tcard:hover { border-color: var(--hover); transform: translateY(-1px); }
.tcard .head { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; background: var(--tint); flex: none; border: 1px solid var(--line-2); }
.avatar.lg { width: 76px; height: 76px; border-radius: 18px; }
.avatar.sm { width: 30px; height: 30px; border-radius: 8px; }
.tcard .name { font-weight: 600; }
.tcard .tick { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.tstats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.tstats .l { font-size: 12px; color: var(--muted); }
.tstats .v { font-size: 14px; margin-top: 3px; }
.tstats .agents-mini { margin-top: 3px; }
.tcard .desc { margin-top: 10px; color: var(--muted); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.tcard .foot2 { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 13px; }
.agents-mini { display: flex; }
.agents-mini span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #0b1310; margin-left: -6px; display: grid; place-items: center; font-size: 10px; font-weight: 700; color: #fff; }
.agents-mini span:first-child { margin-left: 0; }

/* tables */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--muted); padding: 10px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table td.r, .table th.r { text-align: right; }
.table tbody tr.click { cursor: pointer; }
.table tbody tr.click:hover { background: var(--tint); }
.tscroll { overflow-x: auto; }

/* tabs */
.tabs { display: flex; gap: 4px; padding: 4px; background: rgba(255, 255, 255, .05); border-radius: 99px; width: max-content; max-width: 100%; overflow-x: auto; }
.tabs button { border: 0; background: transparent; padding: 7px 15px; border-radius: 99px; cursor: pointer; font-size: 14px; color: var(--ink-2); white-space: nowrap; }
.tabs button.on { background: var(--hover); color: var(--ink); font-weight: 500; }

/* forms */
label.f { display: block; }
label.f > span { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
label.f > small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.input, select.input, textarea.input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper-2); outline: none; transition: border-color .12s, box-shadow .12s; }
textarea.input { height: auto; min-height: 84px; padding: 10px 12px; resize: vertical; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; accent-color: var(--accent); }
.seg { display: inline-flex; padding: 3px; background: rgba(255, 255, 255, .05); border-radius: 99px; gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 99px; cursor: pointer; font-size: 14px; }
.seg button.on { background: var(--hover); font-weight: 600; }
.drop { border: 1.5px dashed var(--hover); border-radius: var(--radius); background: var(--paper); padding: 20px; display: flex; gap: 16px; align-items: center; cursor: pointer; }
.drop:hover { border-color: var(--accent); }
.drop img, .drop .ph { width: 92px; height: 92px; border-radius: 18px; object-fit: cover; flex: none; background: var(--tint); display: grid; place-items: center; color: var(--faint); }
.agent-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 620px) { .agent-pick { grid-template-columns: minmax(0, 1fr); } }
.agent-opt { text-align: left; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 12px 14px; cursor: pointer; display: flex; gap: 12px; align-items: flex-start; }
.agent-opt:hover { border-color: var(--hover); }
.agent-opt.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.agent-opt .badge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; flex: none; font-size: 14px; }
.agent-opt .t { font-weight: 600; font-size: 14px; }
.agent-opt .d { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

/* team page */
.team-head { padding-top: 34px; padding-bottom: 20px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.team-head h1 { font-size: 30px; }
.team-head .ticker { font-family: var(--mono); color: var(--muted); font-size: 15px; }
.team-head .acts { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.addr { font-family: var(--mono); font-size: 12.5px; color: var(--ink-2); background: var(--tint); padding: 2px 7px; border-radius: 6px; }
.chart { width: 100%; height: 190px; display: block; }
.chart .area { fill: var(--accent-soft); }
.chart .line { fill: none; stroke: var(--accent); stroke-width: 1.8; }
.proposal { border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: var(--paper); }
.proposal.pending { border-color: rgba(25, 224, 125, .45); box-shadow: 0 0 0 3px var(--accent-soft); }
.proposal .top2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.proposal .reason { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); }
.timer { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.setup-step { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line-2); }
.setup-step:first-child { border-top: 0; }
.setup-step .ix { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--tint); font-size: 12px; font-weight: 600; flex: none; }
.setup-step.done .ix { background: var(--good-soft); color: var(--good); }
.setup-step.now .ix { background: var(--accent); color: var(--accent-ink); }
.src { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-top: 1px solid var(--line-2); }
.src:first-child { border-top: 0; }
.src .stats { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.src .stats b { color: var(--ink); font-weight: 500; font-family: var(--mono); }
.rank { width: 30px; height: 30px; border-radius: 9px; background: var(--tint); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; flex: none; }

/* chat */
.chat { display: flex; flex-direction: column; height: 560px; }
.chat .msgs { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.msg { display: flex; gap: 10px; max-width: 88%; }
.msg .bubble { padding: 10px 13px; border-radius: 13px; background: var(--tint); font-size: 14px; white-space: pre-wrap; word-wrap: break-word; }
.msg.owner { align-self: flex-end; flex-direction: row-reverse; }
.msg.owner .bubble { background: #133325; color: var(--ink); }
.msg .who { font-size: 12px; color: var(--muted); margin-bottom: 3px; }
.msg .badge { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-size: 12px; font-weight: 700; flex: none; }
.composer { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line-2); }
.composer textarea { flex: 1; min-height: 42px; height: 42px; resize: none; }
.dirs { display: flex; gap: 6px; flex-wrap: wrap; }
.dirs .chip button { border: 0; background: transparent; cursor: pointer; padding: 0 0 0 2px; color: var(--muted); }

/* feed */
.feed-item { display: flex; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line-2); align-items: center; }
.feed-item:first-child { border-top: 0; }
.feed-item .t { font-size: 14px; }
.feed-item .when { margin-left: auto; font-size: 12px; color: var(--faint); white-space: nowrap; }

/* launch steps */
.lsteps { counter-reset: l; }
.lstep { display: flex; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line-2); }
.lstep:first-child { border-top: 0; }
.lstep .ix { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 13px; font-weight: 600; flex: none; background: var(--paper); }
.lstep.done .ix { background: var(--good); border-color: var(--good); color: var(--accent-ink); }
.lstep.now .ix { border-color: var(--accent); color: var(--accent); }
.lstep .body { flex: 1; }
.lstep h4 { font-size: 15px; }
.lstep p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }

/* modal + toasts */
.modal-back { position: fixed; inset: 0; background: rgba(0, 0, 0, .66); z-index: 60; display: grid; place-items: center; padding: 16px; animation: fade .12s ease; }
.modal { width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 80px -20px rgba(0,0,0,.35); }
.modal.wide { width: min(860px, 100%); }
.modal .mh { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line-2); }
.modal .mb { padding: 20px; }
.modal .mf { padding: 14px 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: flex-end; gap: 8px; }
@keyframes fade { from { opacity: 0; } }
.toasts { position: fixed; bottom: 18px; right: 18px; z-index: 80; display: flex; flex-direction: column; gap: 8px; }
.toast { background: #16211c; color: var(--ink); border: 1px solid var(--line); padding: 11px 14px; border-radius: 11px; font-size: 14px; max-width: 360px; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); animation: fade .15s ease; }
.toast.bad { background: #3a1613; border-color: rgba(255, 107, 94, .4); }
.toast.good { background: #0f3322; border-color: rgba(61, 220, 132, .4); }
.wallet-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; cursor: pointer; margin-top: 8px; font-weight: 500; }
.wallet-opt:hover { background: var(--tint); }
.wallet-opt img { width: 28px; height: 28px; border-radius: 7px; }

/* footer */
.foot { margin-top: 60px; border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 13px; color: var(--muted); }
.foot .wrap { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.foot .risk { flex-basis: 100%; font-size: 12px; color: var(--faint); margin-top: 6px; }
.foot a:hover { color: var(--ink); }

/* docs */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose h3 { font-size: 16px; margin-top: 22px; }
.prose p, .prose li { color: var(--ink-2); margin-top: 10px; }
.prose ul { padding-left: 20px; }
.doc-nav { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 2px; }
.doc-nav a { padding: 6px 10px; border-radius: 8px; color: var(--muted); font-size: 14px; }
.doc-nav a:hover { background: var(--tint); color: var(--ink); }
.skeleton { background: linear-gradient(90deg, var(--tint), #1b2521, var(--tint)); background-size: 200% 100%; animation: sk 1.2s linear infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

.split-2-1 { display: grid; gap: 16px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: start; }
@media (max-width: 860px) { .split-2-1 { grid-template-columns: minmax(0, 1fr); } .team-head .acts { margin-left: 0; } }
.doc-grid { grid-template-columns: 200px minmax(0, 1fr); align-items: start; }
@media (max-width: 760px) { .doc-grid { grid-template-columns: minmax(0, 1fr); } .doc-nav { position: static; flex-direction: row; flex-wrap: wrap; } }

/* home: how-it-works cards with small visuals, closing band */
.card.how { overflow: hidden; }
.how .viz { height: 150px; display: grid; place-items: center; border-bottom: 1px solid rgba(255, 255, 255, .04);
  background: radial-gradient(70% 90% at 50% 120%, rgba(25, 224, 125, .16), rgba(25, 224, 125, 0) 70%); }
.how .txt { padding: 18px 20px 22px; }
.how h3 { font-size: 17px; }
.how p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.viz-agents { display: flex; }
.viz-agents span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 15px; border: 3px solid #0b1411; margin-left: -10px; }
.viz-agents span:first-child { margin-left: 0; }
.viz-agents .more { background: #1a2621; color: var(--muted); font-size: 13px; }
.viz-route { display: flex; align-items: center; gap: 10px; }
.viz-route .pill { padding: 8px 14px; border-radius: 99px; background: rgba(255, 255, 255, .07); font-family: var(--mono); font-size: 13px; }
.viz-route .pill.usdc { background: var(--accent-soft); color: var(--accent-text); }
.viz-route .line { position: relative; width: 70px; height: 1px; background: linear-gradient(90deg, rgba(25, 224, 125, .2), var(--accent)); }
.viz-route .line i { position: absolute; left: 50%; top: -20px; transform: translateX(-50%); font-style: normal; font-size: 11px; color: var(--muted); }
.viz-prop { display: flex; align-items: center; gap: 16px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); }
.viz-prop > div { display: flex; flex-direction: column; font-size: 14px; }
.viz-prop .mono { font-size: 12px; }
.viz-prop .ok { padding: 7px 14px; border-radius: 99px; background: linear-gradient(180deg, #6ef5b2, #19e07d); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 40px; flex-wrap: wrap;
  background: radial-gradient(60% 140% at 100% 100%, rgba(25, 224, 125, .22), rgba(25, 224, 125, 0) 70%), linear-gradient(180deg, #0c1512, #090f0c); }
.cta-band h2 { font-size: 32px; letter-spacing: -0.03em; }
@media (max-width: 620px) { .cta-band { padding: 26px; } .cta-band h2 { font-size: 26px; } }
