/* ---------- tokens ---------- */
:root {
  --bg: #070707;
  --bg-2: #0d0d0d;
  --card: #121212;
  --card-2: #171717;
  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.16);
  --fg: #fafafa;
  --muted: #a3a3a3;
  --muted-2: #737373;
  --green: #4ade80;
  --red: #f87171;
  --amber: #fbbf24;
  --radius: 18px;
  --radius-sm: 10px;
  --sans: "Syne", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--mono); }
.eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted-2);
}
.muted { color: var(--muted); }
.muted-2 { color: var(--muted-2); }
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.dot.pulse { animation: dotpulse 2s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes dotpulse { 50% { opacity: .5; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; transition: background .15s, border-color .15s, transform .15s;
  white-space: nowrap;
}
.btn:hover { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.04); }
.btn.primary { background: #fff; color: #111; border-color: #fff; }
.btn.primary:hover { background: #e8e8e8; }
.btn.sm { padding: 7px 13px; font-size: 13px; }
.btn.block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn .arrow { font-family: var(--mono); font-size: 12px; opacity: .8; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(7,7,7,.75);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700; letter-spacing: .22em; font-size: 14px; }
.brand .mark { width: 24px; height: 24px; border-radius: 7px; background: #fff; color: #000; display: grid; place-items: center; font-size: 13px; font-weight: 800; letter-spacing: 0; }
.nav-links { display: flex; gap: 22px; margin-left: 16px; font-size: 14px; color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.header-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); }
.mobile-nav { display: none; border-top: 1px solid var(--line); padding: 14px 20px 20px; flex-direction: column; gap: 14px; background: var(--bg); }
.mobile-nav.open { display: flex; }
@media (max-width: 860px) {
  .nav-links, .header-actions .btn.ghost-desktop { display: none; }
  .menu-btn { display: grid; place-items: center; }
}

/* ---------- sections ---------- */
section.block { padding: 96px 0; border-top: 1px solid var(--line); position: relative; }
.section-head { display: grid; gap: 18px; grid-template-columns: 1.1fr 1fr; align-items: end; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head h2 .soft { color: var(--muted-2); display: block; }
.section-head p { color: var(--muted); max-width: 46ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
}
.card.soft { background: var(--bg-2); }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line);
  font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.tag.live { color: var(--green); border-color: rgba(74,222,128,.35); }
.tag.ok { color: var(--green); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--muted); background: rgba(255,255,255,.02); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; }
.kv:first-child { border-top: 0; }
.kv .k { color: var(--muted-2); }
.kv .v { font-family: var(--mono); font-size: 12px; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.stat .k { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.stat .v { font-family: var(--mono); font-size: 15px; margin-top: 4px; }
.stat .v.up { color: var(--green); }
.stat .v.down { color: var(--red); }
.progress { height: 6px; border-radius: 999px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress > span { display: block; height: 100%; background: #fff; border-radius: 999px; transition: width .6s ease; }
.quote { font-size: 15px; line-height: 1.5; color: var(--fg); }
.divider-lines { height: 56px; border-top: 1px solid var(--line); background: repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 14px); opacity: .5; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; }
.hero .glow { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 900px; height: 420px; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.14), rgba(255,255,255,.04) 45%, transparent 72%); pointer-events: none; }
.hero .inner { position: relative; z-index: 2; text-align: center; max-width: 820px; margin: 0 auto; padding: 150px 20px 100px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.hero h1 { font-size: clamp(38px, 6.4vw, 58px); font-weight: 400; letter-spacing: -0.02em; }
.hero .lede { color: var(--muted); font-size: 16px; max-width: 58ch; margin: 22px auto 30px; }
.hero .cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero .built { margin-top: 40px; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker + .ticker { border-top: 0; }
.ticker .track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.ticker.reverse .track { animation-direction: reverse; }
.ticker .chip { white-space: nowrap; }

/* ---------- intro / agent card ---------- */
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.agent-card .head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.avatar { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #2a2a2a, #111); border: 1px solid var(--line-2); display: grid; place-items: center; font-weight: 700; }
.avatar.lg { width: 56px; height: 56px; border-radius: 16px; font-size: 22px; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars > div { position: relative; overflow: hidden; padding: 22px 18px; }
.pillars > div:nth-child(even) { border-left: 1px solid var(--line); }
.pillars > div:nth-child(n+3) { border-top: 1px solid var(--line); }
.pillars canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.pillars .k, .pillars p { position: relative; }
.pillars .k { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; margin-bottom: 6px; }
.pillars p { color: var(--muted); font-size: 14px; }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; } }

/* ---------- agent loop ---------- */
.loop { display: grid; grid-template-columns: 180px 1fr 1.1fr; gap: 40px; align-items: start; }
.loop-nav button { display: flex; gap: 14px; align-items: center; width: 100%; padding: 10px 0; color: var(--muted-2); font-size: 14px; text-align: left; }
.loop-nav button .n { font-family: var(--mono); font-size: 11px; width: 22px; }
.loop-nav button[aria-selected="true"] { color: var(--fg); }
.loop-nav .bar { height: 2px; background: rgba(255,255,255,.08); margin-top: 16px; border-radius: 2px; overflow: hidden; }
.loop-nav .bar span { display: block; height: 100%; width: 0; background: #fff; }
.loop-panel { display: none; }
.loop-panel.active { display: contents; }
.loop-copy h3 { font-size: 20px; line-height: 1.35; font-weight: 500; }
.loop-copy h3 .soft { color: var(--muted); font-weight: 400; }
.loop-copy .eyebrow { margin-bottom: 14px; }
.loop-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.loop-copy li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); padding: 10px 0; border-top: 1px solid var(--line); }
@media (max-width: 960px) { .loop { grid-template-columns: 1fr; } .loop-nav { display: flex; flex-wrap: wrap; gap: 4px 16px; } .loop-nav button { width: auto; } .loop-nav .bar { display: none; } }

/* ---------- capabilities grid ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.cap-grid > div { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cap-grid > div:nth-child(4n) { border-right: 0; }
.cap-grid > div:nth-last-child(-n+4) { border-bottom: 0; }
.cap-grid h3 { font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; }
.cap-grid .all { display: flex; flex-direction: column; justify-content: space-between; }
@media (max-width: 960px) { .cap-grid { grid-template-columns: repeat(2, 1fr); } .cap-grid > div:nth-child(2n) { border-right: 0; } .cap-grid > div:nth-child(odd) { border-right: 1px solid var(--line); } .cap-grid > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); } .cap-grid > div:nth-last-child(-n+2) { border-bottom: 0; } }

/* ---------- dashboard ---------- */
.dash { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); display: grid; grid-template-columns: 200px 1fr 1fr; min-height: 420px; overflow: hidden; }
.dash > * { padding: 20px; }
.dash aside { border-right: 1px solid var(--line); }
.dash aside .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-weight: 600; }
.dash aside button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 9px 10px; border-radius: 9px; color: var(--muted); font-size: 13px; }
.dash aside button[aria-selected="true"] { background: rgba(255,255,255,.07); color: var(--fg); }
.dash aside button .count { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.dash .main { border-right: 1px solid var(--line); }
.dash .filter { width: 100%; background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; font-size: 13px; color: var(--fg); outline: none; margin: 12px 0 10px; }
.dash .filter:focus { border-color: var(--line-2); }
.feed button { width: 100%; text-align: left; padding: 11px 12px; border-radius: 10px; border: 1px solid transparent; margin-bottom: 6px; }
.feed button:hover { background: rgba(255,255,255,.03); }
.feed button[aria-selected="true"] { border-color: var(--line); background: var(--card); }
.feed .row { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.feed .title { font-size: 13px; margin-top: 4px; }
.dash-panel { display: none; }
.dash-panel.active { display: block; }
.dash .detail .eyebrow { margin-bottom: 8px; }
.dash .detail .quote { margin: 12px 0 16px; color: var(--muted); }
.timeline-notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; font-size: 14px; color: var(--muted); }
.timeline-notes b { color: var(--fg); font-weight: 500; }
@media (max-width: 960px) { .dash { grid-template-columns: 1fr; } .dash aside, .dash .main { border-right: 0; border-bottom: 1px solid var(--line); } .timeline-notes { grid-template-columns: 1fr 1fr; } }

/* ---------- pipeline ---------- */
.policy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.policy-grid .card { min-height: 300px; display: flex; flex-direction: column; justify-content: space-between; }
.policy-grid p { color: var(--muted); font-size: 14px; }
.policy-grid p b { color: var(--fg); font-weight: 500; }
.pipe { position: relative; height: 170px; display: grid; place-items: center; }
.pipe .rail { position: absolute; inset: auto 0; height: 1px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 12px); top: 50%; }
.pipe .option-card { position: relative; background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 14px; width: 100%; max-width: 250px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.pipe .option-card .t { font-size: 14px; font-weight: 500; margin-top: 4px; }
.pipe .option-card .d { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pipe .stepdots { display: flex; gap: 6px; margin-top: 10px; }
.pipe .stepdots button { width: 22px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.12); padding: 0; }
.pipe .stepdots button[aria-selected="true"] { background: #fff; }
.notif { background: var(--card-2); border: 1px solid var(--line-2); border-radius: 12px; padding: 12px; font-size: 13px; }
.notif .row { display: flex; justify-content: space-between; align-items: center; }
.notif .sub { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 3px; }
.notif-stack { position: relative; height: 170px; display: grid; place-items: center; }
.notif-stack .notif { position: absolute; width: 85%; transition: transform .5s, opacity .5s; }
.notif-stack .notif:nth-child(1) { transform: translateY(-24px) scale(.92); opacity: .4; }
.notif-stack .notif:nth-child(2) { transform: translateY(-12px) scale(.96); opacity: .7; }
.notif-stack .notif:nth-child(3) { transform: translateY(0); opacity: 1; }
.key-iso { text-align: center; display: grid; place-items: center; gap: 10px; }
.key-iso h3 { font-size: 22px; }
.steps-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 16px; background: var(--bg-2); }
.steps-row li { padding: 18px; border-right: 1px solid var(--line); font-size: 13px; }
.steps-row li:last-child { border-right: 0; }
.steps-row .eyebrow { margin-bottom: 8px; }
.steps-row .t { font-weight: 500; margin-bottom: 6px; }
.steps-row p { color: var(--muted-2); font-size: 12px; }
.steps-row li.on { background: rgba(255,255,255,.04); }
@media (max-width: 960px) { .policy-grid { grid-template-columns: 1fr; } .steps-row { grid-template-columns: 1fr 1fr; } .steps-row li { border-bottom: 1px solid var(--line); } }

/* ---------- treasury flow ---------- */
.flow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.flow li { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.flow li + li { margin-top: 26px; position: relative; }
.flow li + li::before { content: "↓"; position: absolute; top: -24px; left: 50%; transform: translateX(-50%); color: var(--muted-2); font-size: 13px; }
.flow li .r { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.flow li.end { background: transparent; border: 0; padding: 0; justify-content: center; gap: 8px; flex-wrap: wrap; }
.action-card .big { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 16px 0; }
.action-card .big > div { padding: 14px 0; }
.action-card .big > div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.action-card .big .v { font-size: 22px; font-weight: 500; margin-top: 4px; }
.checks li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.checks li:first-child { border-top: 0; }
.checks .ok { color: var(--green); font-family: var(--mono); font-size: 12px; }
.checks .wait { color: var(--muted-2); font-family: var(--mono); font-size: 12px; }
.checks .fail { color: var(--red); font-family: var(--mono); font-size: 12px; }
@media (max-width: 860px) { .flow-grid { grid-template-columns: 1fr; } }

/* ---------- minds ---------- */
.minds { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg-2); }
.minds > div { padding: 26px; border-right: 1px solid var(--line); }
.minds > div:last-child { border-right: 0; }
.minds > div.featured { background: var(--card); }
.minds h3 { font-size: 20px; }
.minds .sub { color: var(--muted); margin: 4px 0 18px; }
.minds .eyebrow { margin-bottom: 18px; }
.minds ul { margin-top: 20px; }
.minds li { font-size: 14px; color: var(--muted); padding: 7px 0; display: flex; gap: 10px; }
.minds li::before { content: "✓"; color: var(--muted-2); font-family: var(--mono); font-size: 12px; }
@media (max-width: 860px) { .minds { grid-template-columns: 1fr; } .minds > div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---------- network ---------- */
.network { position: relative; overflow: hidden; }
.network canvas { position: absolute; left: 50%; bottom: -40%; transform: translateX(-50%); width: 900px; height: 900px; opacity: .8; pointer-events: none; }
.network .inner { position: relative; z-index: 1; }
.network h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 400; letter-spacing: -0.03em; }
.network h2 .soft { color: var(--muted); display: block; }
.stats4 { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 40px; background: rgba(7,7,7,.75); backdrop-filter: blur(6px); }
.stats4 > div { padding: 22px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats4 > div:nth-child(2n) { border-right: 0; }
.stats4 > div:nth-last-child(-n+2) { border-bottom: 0; }
.stats4 .v { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.network .spacer { height: 260px; }

/* ---------- archetypes ---------- */
.arch { flex: 0 0 min(540px, 86vw); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.arch h3 { font-size: 22px; margin-top: 10px; }
.arch footer { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.arch footer .name { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.faq .item { border-top: 1px solid var(--line); }
.faq .item:last-child { border-bottom: 1px solid var(--line); }
.faq .item button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; text-align: left; font-size: 15px; }
.faq .item button .ic { font-family: var(--mono); color: var(--muted-2); transition: transform .25s; }
.faq .item button[aria-expanded="true"] .ic { transform: rotate(180deg); }
.faq .item .a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq .item .a > div { overflow: hidden; }
.faq .item .a p { color: var(--muted); font-size: 14px; padding-bottom: 18px; }
.faq .item.open .a { grid-template-rows: 1fr; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */
.cta-block { text-align: center; padding: 120px 0; position: relative; overflow: hidden; }
.cta-block h2 { font-size: clamp(32px, 5vw, 48px); font-weight: 600; letter-spacing: -0.03em; }
.cta-block .ticker { border: 0; margin-bottom: 48px; }
.cta-block .ticker .chip { border: 0; background: transparent; font-weight: 600; letter-spacing: .06em; font-size: 15px; }
.cta-block .arc { position: absolute; left: 50%; bottom: -520px; transform: translateX(-50%); width: 1400px; height: 700px; border-radius: 50%; border: 1px solid var(--line); box-shadow: 0 0 0 40px rgba(255,255,255,.02), 0 0 0 80px rgba(255,255,255,.015); pointer-events: none; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; }
.site-footer .grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.site-footer h4 { font-size: 14px; margin-bottom: 14px; }
.site-footer li { margin-bottom: 9px; font-size: 14px; color: var(--muted); }
.site-footer li a:hover { color: var(--fg); }
.site-footer .about { color: var(--muted); font-size: 14px; max-width: 34ch; margin: 14px 0 18px; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 48px; padding-top: 22px; font-size: 13px; color: var(--muted-2); flex-wrap: wrap; }
.site-footer .bottom nav { display: flex; gap: 18px; }
@media (max-width: 860px) { .site-footer .grid { grid-template-columns: 1fr 1fr; } }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; place-items: center; background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }
.modal.open { display: grid; }
.modal .box { width: min(440px, 92vw); background: var(--card); border: 1px solid var(--line-2); border-radius: 16px; padding: 22px; }
.modal .box .head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.modal .box .close { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); font-family: var(--mono); }
.modal .wallets { display: grid; gap: 8px; margin: 18px 0; }
.modal .wallets button { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.modal .wallets button:hover { border-color: var(--line-2); }
.modal .note { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; color: var(--muted); font-size: 13px; text-align: center; margin: 18px 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: #fff; color: #111; padding: 10px 16px; border-radius: 999px; font-size: 13px; opacity: 0; transition: .25s; z-index: 200; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- page headers ---------- */
.page-head { padding: 72px 0 40px; }
.page-head h1 { font-size: clamp(34px, 5vw, 48px); margin: 12px 0 14px; font-weight: 500; }
.page-head p { color: var(--muted); max-width: 60ch; }

/* ---------- explore ---------- */
.explore-tools { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0 0 20px; }
.explore-tools input, .explore-tools select { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 13px; outline: none; color: var(--fg); }
.explore-tools input { min-width: 240px; }
.explore-tools .seg { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.explore-tools .seg button { padding: 8px 14px; font-size: 13px; color: var(--muted); }
.explore-tools .seg button[aria-pressed="true"] { background: rgba(255,255,255,.08); color: var(--fg); }
.agents-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 96px; }
.agent-tile { display: flex; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px; transition: border-color .15s, transform .15s; }
.agent-tile:hover { border-color: var(--line-2); transform: translateY(-2px); }
.agent-tile .body { flex: 1; min-width: 0; }
.agent-tile .name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.agent-tile .sub { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 3px; }
.agent-tile .right { text-align: right; font-family: var(--mono); font-size: 12px; }
.agent-tile .right .h { color: var(--muted-2); font-size: 11px; margin-top: 3px; }
.empty { padding: 48px; text-align: center; color: var(--muted-2); border: 1px dashed var(--line); border-radius: var(--radius); grid-column: 1 / -1; }
@media (max-width: 960px) { .agents-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .agents-grid { grid-template-columns: 1fr; } }

/* ---------- agent page ---------- */
.agent-head { display: flex; align-items: center; gap: 16px; padding: 48px 0 24px; flex-wrap: wrap; }
.agent-head h1 { font-size: 30px; font-weight: 600; }
.agent-head .ticker-sym { font-family: var(--mono); color: var(--muted-2); margin-left: 8px; font-size: 14px; }
.agent-head .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.agent-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-bottom: 96px; }
.agent-layout .col { display: grid; gap: 16px; align-content: start; }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 12px; }
.market-grid .v { font-family: var(--mono); font-size: 18px; margin-top: 4px; }
.market-grid .sub { font-family: var(--mono); font-size: 11px; color: var(--muted-2); margin-top: 2px; }
.ca { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.ca button { border: 1px solid var(--line); border-radius: 6px; padding: 2px 7px; font-size: 11px; }
.browser-frame { background: #000; border: 1px solid var(--line); border-radius: 12px; min-height: 220px; display: grid; place-items: center; color: var(--muted-2); font-size: 13px; position: relative; overflow: hidden; }
.browser-frame .bar { position: absolute; top: 0; left: 0; right: 0; height: 28px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding: 0 10px; font-family: var(--mono); font-size: 10px; color: var(--muted-2); }
.browser-frame .bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.12); }
.browser-frame .url { flex: 1; background: rgba(255,255,255,.04); border-radius: 4px; padding: 3px 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser-frame .skeleton { position: absolute; inset: 40px 14px 14px; display: grid; gap: 8px; align-content: start; }
.browser-frame .skeleton span { height: 10px; border-radius: 4px; background: rgba(255,255,255,.07); animation: shimmer 1.6s infinite; }
@keyframes shimmer { 50% { opacity: .4; } }
.list-rows li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.list-rows li:first-child { border-top: 0; }
.list-rows .meta { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 4px; }
.list-rows .q { color: var(--muted); font-size: 13px; margin-top: 4px; }
.list-rows details { margin-top: 6px; }
.list-rows summary { cursor: pointer; font-family: var(--mono); font-size: 11px; color: var(--muted-2); list-style: none; }
.list-rows summary::before { content: "+ "; }
.list-rows details[open] summary::before { content: "– "; }
.list-rows details p { color: var(--muted); font-size: 13px; margin-top: 6px; }
.cap-cats h4 { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin: 14px 0 8px; }
.cap-cats h4:first-child { margin-top: 0; }
.sel-seg { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; width: max-content; margin-bottom: 12px; }
.sel-seg button { padding: 6px 12px; font-size: 12px; color: var(--muted); }
.sel-seg button[aria-pressed="true"] { background: rgba(255,255,255,.08); color: var(--fg); }
@media (max-width: 960px) { .agent-layout { grid-template-columns: 1fr; } .market-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- launch wizard ---------- */
.launch-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; gap: 12px; flex-wrap: wrap; }
.launch-head .left { display: flex; gap: 12px; align-items: center; }
.wizard-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 34px 0 40px; }
.wizard-steps button { text-align: left; padding: 10px 0 12px; border-top: 2px solid rgba(255,255,255,.1); color: var(--muted-2); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.wizard-steps button.done { border-top-color: rgba(255,255,255,.45); color: var(--muted); }
.wizard-steps button[aria-current="step"] { border-top-color: #fff; color: var(--fg); }
.wizard-steps button[disabled] { cursor: not-allowed; opacity: .5; }
.wizard { display: grid; grid-template-columns: 1.7fr 1fr; gap: 24px; align-items: start; margin-bottom: 96px; }
.wizard .steps { display: grid; gap: 16px; }
.wizard .step { display: none; }
.wizard .step.active { display: grid; gap: 16px; }
.step-title h2 { font-size: 28px; margin: 8px 0 10px; }
.step-title p { color: var(--muted); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label, .field .lbl { font-family: var(--mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); display: flex; justify-content: space-between; }
.field input, .field textarea, .field select { background: #0d0d0d; border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; outline: none; font-size: 14px; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--line-2); }
.field.invalid input, .field.invalid textarea { border-color: rgba(248,113,113,.6); }
.field .err { color: var(--red); font-size: 12px; display: none; }
.field.invalid .err { display: block; }
.field .hint { color: var(--muted-2); font-size: 12px; }
.field textarea { min-height: 90px; resize: vertical; }
.field .with-suffix { position: relative; }
.field .with-suffix input { padding-right: 52px; }
.field .with-suffix .suf { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.field .with-prefix input { padding-left: 26px; }
.field .with-prefix .pre { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 12px; color: var(--muted-2); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; width: max-content; }
.seg button { padding: 8px 14px; font-size: 13px; color: var(--muted); }
.seg button[aria-checked="true"], .seg button[aria-pressed="true"] { background: rgba(255,255,255,.1); color: var(--fg); }
.upload { display: flex; gap: 14px; align-items: center; }
.upload .drop { width: 72px; height: 72px; border-radius: 14px; border: 1px dashed var(--line-2); display: grid; place-items: center; color: var(--muted-2); overflow: hidden; cursor: pointer; background-size: cover; background-position: center; }
.upload .drop input { display: none; }
.choice { border: 1px solid var(--line); border-radius: 14px; padding: 16px; text-align: left; background: var(--bg-2); transition: border-color .15s; display: grid; gap: 8px; }
.choice:hover { border-color: var(--line-2); }
.choice[aria-checked="true"] { border-color: #fff; background: var(--card-2); }
.choice .t { font-weight: 600; display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.choice .d { color: var(--muted); font-size: 13px; }
.choice .mini { font-family: var(--mono); font-size: 10px; color: var(--muted-2); letter-spacing: .12em; text-transform: uppercase; }
.choice .chips { margin-top: 2px; }
.switch { width: 38px; height: 22px; border-radius: 999px; background: rgba(255,255,255,.14); position: relative; flex: none; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; }
.switch[aria-checked="true"] { background: #fff; }
.switch[aria-checked="true"]::after { transform: translateX(16px); background: #111; }
.cap-group { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.cap-group .gh { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: var(--bg-2); border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.cap-group .gh button { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; color: var(--muted-2); }
.cap-group .gh button:hover { color: var(--fg); }
.cap-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 14px; border-top: 1px solid var(--line); }
.cap-row:first-of-type { border-top: 0; }
.cap-row .t { font-size: 14px; display: flex; gap: 8px; align-items: center; }
.cap-row .d { color: var(--muted-2); font-size: 12px; }
.cap-summary { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; }
.cap-summary div { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: 10px; text-align: center; }
.cap-summary .k { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.cap-summary .v { font-size: 18px; font-weight: 600; }
.callout { display: flex; gap: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 13px; color: var(--muted); }
.callout b { color: var(--fg); font-weight: 500; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.alloc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.alloc .total { grid-column: 1 / -1; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; padding-top: 8px; border-top: 1px solid var(--line); }
.alloc .total.bad { color: var(--red); }
.wiz-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.wiz-actions .msg { color: var(--red); font-size: 13px; }
.preview { position: sticky; top: 84px; }
.preview .head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.preview .head h3 { font-size: 16px; }
.preview .desc { color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.preview .blk { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.preview .blk .eyebrow { margin-bottom: 8px; }
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.review-grid .card-head button { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.review-grid .card-head button:hover { color: var(--fg); }
.flowline { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.flowline span.a { color: var(--muted-2); }
@media (max-width: 960px) { .wizard { grid-template-columns: 1fr; } .preview { position: static; } .wizard-steps { grid-template-columns: repeat(3, 1fr); } .grid2, .grid3, .review-grid { grid-template-columns: 1fr; } .cap-summary { grid-template-columns: repeat(4, 1fr); } .alloc { grid-template-columns: 1fr 1fr; } }

/* ---------- docs ---------- */
.docs { display: grid; grid-template-columns: 220px 1fr; gap: 56px; margin-bottom: 96px; }
.docs nav { position: sticky; top: 84px; align-self: start; border-left: 1px solid var(--line); }
.docs nav a { display: block; padding: 7px 16px; font-size: 13px; color: var(--muted-2); margin-left: -1px; border-left: 2px solid transparent; }
.docs nav a.active { color: var(--fg); border-left-color: #fff; }
.docs article section { padding: 0 0 56px; scroll-margin-top: 90px; }
.docs article h2 { font-size: 26px; margin: 10px 0 16px; }
.docs article p { color: var(--muted); margin-bottom: 14px; max-width: 68ch; }
.docs article ul.bul li { color: var(--muted); padding: 5px 0 5px 18px; position: relative; font-size: 14px; }
.docs article ul.bul li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--muted-2); }
.docs .defs { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 16px 0; }
.docs .defs div { display: grid; grid-template-columns: 160px 1fr; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.docs .defs div:first-child { border-top: 0; }
.docs .defs b { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg); font-weight: 500; }
.docs .flowline { margin: 10px 0 24px; }
.docs .faq .item button { font-size: 14px; }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; } .docs nav { position: static; display: flex; flex-wrap: wrap; border: 0; } .docs .defs div { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- legal ---------- */
.legal { max-width: 720px; margin-bottom: 96px; }
.legal h2 { font-size: 20px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.legal ul li { padding-left: 16px; position: relative; margin-bottom: 4px; }
.legal ul li::before { content: "–"; position: absolute; left: 0; color: var(--muted-2); }

/* ---------- misc ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
/* ---------- motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { transform: scale(.96); opacity: .6; } 100% { transform: none; opacity: 1; } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero .inner > * { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
.hero .inner > :nth-child(2) { animation-delay: .1s; } .hero .inner > :nth-child(3) { animation-delay: .25s; } .hero .inner > :nth-child(4) { animation-delay: .4s; } .hero .inner > :nth-child(5) { animation-delay: .55s; }
.loop-panel.active > * { animation: fadeIn .45s ease both; }
.loop-panel.active > :nth-child(2) { animation-delay: .08s; }
.pipe .option-card.bump { animation: pop .4s ease; }
.dash-panel.active, .dash .detail > * { animation: fadeIn .35s ease both; }
.card { transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: var(--line-2); box-shadow: 0 16px 50px rgba(0,0,0,.45); }
.agent-card { animation: floaty 6s ease-in-out infinite; }
.chip { transition: border-color .15s, color .15s; } .chip:hover { border-color: var(--line-2); color: var(--fg); }
.btn .arrow { transition: transform .2s; } .btn:hover .arrow { transform: translateX(3px); }
.brand img.mark { object-fit: cover; }
.avatar { background-size: cover; background-position: center; }
.creative-img { width: 100%; border-radius: 10px; border: 1px solid var(--line); margin: 12px 0; }
.chip .glyph { width: 12px; height: 12px; border-radius: 3px; background: #fff; display: inline-block; }
.arch { position: relative; overflow: hidden; }
.arch .art { position: absolute; right: -10%; top: 0; height: 100%; width: 60%; object-fit: cover; opacity: .55; mask-image: linear-gradient(90deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); transition: transform .6s ease, opacity .3s; pointer-events: none; }
.arch:hover .art { transform: scale(1.06); opacity: .8; }
.arch > div, .arch footer { position: relative; z-index: 1; }


/* ---------- hero motion & layers ---------- */
@keyframes hero-reveal { from { opacity: 0; filter: blur(4px); transform: translateY(12px); } to { opacity: 1; filter: blur(0); transform: none; } }
.hero { animation: hero-reveal .3s cubic-bezier(.215,.61,.355,1) both; }
.hero .inner > * { animation: none; }
.hero .lede, .hero .cta, .hero .built { animation: rise .8s cubic-bezier(.215,.61,.355,1) both; }
.hero .lede { animation-delay: .55s; } .hero .cta { animation-delay: .7s; } .hero .built { animation-delay: .85s; }
.hero h1 .word { display: inline-block; white-space: nowrap; }
.hero h1 .ch { display: inline-block; will-change: transform, opacity, filter; animation: hero-reveal .5s cubic-bezier(.215,.61,.355,1) both; }
.hero-glow { position: absolute; inset-inline: 0; top: 0; height: 420px; pointer-events: none; background: linear-gradient(to bottom, #e5e5e5, #f0f0f0 48%, #fafafa); opacity: .08; mask-image: radial-gradient(ellipse 130% 100% at 50% 0%, #000 0, #000 42%, rgba(0,0,0,.55) 62%, transparent 78%); -webkit-mask-image: radial-gradient(ellipse 130% 100% at 50% 0%, #000 0, #000 42%, rgba(0,0,0,.55) 62%, transparent 78%); }
.hero-glow::after { content: ""; position: absolute; top: -40px; left: 50%; width: 160%; height: 280px; transform: translateX(-50%); filter: blur(80px); background: radial-gradient(ellipse 85% 90% at 50% 0%, rgba(120,120,120,.6), rgba(163,163,163,.25) 48%, transparent 76%); }
.hero-corners { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1512px; height: 48%; display: flex; gap: 40px; overflow: hidden; pointer-events: none; z-index: 1; }
.corner { flex: 1; position: relative; min-width: 0; }
.corner canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.corner.left canvas { mask-image: radial-gradient(farthest-corner at 0 0, #000 25%, transparent 58%); -webkit-mask-image: radial-gradient(farthest-corner at 0 0, #000 25%, transparent 58%); }
.corner.right canvas { mask-image: radial-gradient(farthest-corner at 100% 0, #000 25%, transparent 58%); -webkit-mask-image: radial-gradient(farthest-corner at 100% 0, #000 25%, transparent 58%); }
.floor { position: absolute; inset-inline: 0; bottom: 0; height: 60%; overflow: hidden; opacity: .9; z-index: 1; pointer-events: none; mask-image: linear-gradient(to top, #000 0%, #000 55%, transparent 100%); -webkit-mask-image: linear-gradient(to top, #000 0%, #000 55%, transparent 100%); }
.floor-persp { position: absolute; inset: 0; perspective: 1000px; perspective-origin: center center; transform-style: preserve-3d; }
.floor-grid { position: absolute; left: 50%; top: 50%; width: 2000px; height: 480px; transform: translate(-50%, -50%) rotateX(50deg); background-image: linear-gradient(#262626 1px, transparent 1px), linear-gradient(90deg, #262626 1px, transparent 1px); background-size: 80px 80px; }
.ring-wrap { position: absolute; top: 98px; left: 50%; transform: translateX(-50%); width: 750px; height: 46px; overflow: hidden; pointer-events: none; z-index: 1; mask-image: linear-gradient(to bottom, #000 55%, transparent); -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.ring-stage { position: absolute; top: 0; left: 0; width: 750px; height: 750px; }
.ring { position: absolute; inset: 0; will-change: transform; font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .8px; color: #fff; }
.ring span { position: absolute; left: 50%; top: 50%; transform-origin: 0 0; line-height: 1; }
@media (max-width: 860px) { .ring-wrap { top: 84px; height: 40px; } .hero .inner { padding-top: 130px; } }

/* ---------- chip rows (scroll-linked) ---------- */
.chip-rows { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; display: grid; gap: 10px; overflow: hidden; }
.chip-row { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.chip-row .track { display: flex; gap: 10px; width: max-content; will-change: transform; }
.chip-row .chip { white-space: nowrap; }

/* ---------- strips ---------- */
.strip { height: 50px; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.strip canvas { width: 100%; height: 100%; display: block; opacity: .7; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.strip + section.block { border-top: 0; }

/* ---------- archetype rail ---------- */
.arch-rail-wrap { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent); }
.arch-rail { display: flex; gap: 20px; width: max-content; padding: 0 8px; animation: rail 40s linear infinite; }
.arch-rail:hover { animation-play-state: paused; }
@keyframes rail { to { transform: translateX(-33.333%); } }

/* ---------- cta ---------- */
.cta-dots { position: absolute; inset: 0; opacity: .35; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.4px); background-size: 16px 16px; mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 100%, #000, transparent 70%); }
.models { overflow: hidden; margin-bottom: 48px; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.models-track { display: flex; gap: 12px; width: max-content; align-items: center; will-change: transform; }
.models-track .chip { border: 0; background: transparent; font-weight: 600; letter-spacing: .06em; font-size: 15px; white-space: nowrap; }
.cta-mark { width: 60px; height: 60px; border-radius: 16px; border: 1px solid var(--line-2); background: var(--card); display: grid; place-items: center; margin: 0 auto 22px; animation: breathe 4s ease-in-out infinite; }
.cta-mark img { border-radius: 9px; }
@keyframes breathe { 0%, 10% { transform: scale(1.035); box-shadow: 0 12px 26px rgba(255,255,255,.12); } 25%, 54% { transform: scale(1); box-shadow: 0 8px 20px rgba(0,0,0,.28); } 64%, 74% { transform: scale(1.035); box-shadow: 0 12px 26px rgba(255,255,255,.12); } 100% { transform: scale(1); box-shadow: 0 8px 20px rgba(0,0,0,.28); } }

/* ---------- star button (light travelling along the border) ---------- */
.btn.star { position: relative; overflow: hidden; padding: 0; border: 0; background: transparent; isolation: isolate; --path: path("M 0 0 H 140 V 34 H 0 V 0"); }
.btn.star::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid rgba(255,255,255,.15); z-index: 1; }
.btn.star .light { position: absolute; top: 0; left: 0; width: 110px; aspect-ratio: 1; background: radial-gradient(ellipse at center, #fafafa, transparent, transparent); offset-path: var(--path); offset-distance: 0%; animation: star-btn 3s linear infinite; }
.btn.star .inner { position: absolute; inset: 2px; border-radius: inherit; background: var(--bg); z-index: 2; }
.btn.star .label { position: relative; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; }
@keyframes star-btn { to { offset-distance: 100%; } }

@font-face{font-family:Syne;font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/ab624315db63c58d-s.1uwhc7jrbo4mx.woff2)format("woff2");unicode-range:U+370-377,U+37A-37F,U+384-38A,U+38C,U+38E-3A1,U+3A3-3FF}
@font-face{font-family:Syne;font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/e94b8ab81811a983-s.2my4drvc0bavc.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Syne;font-style:normal;font-weight:400 800;font-display:swap;src:url(/assets/fonts/0c795a286deabae8-s.p.25jyahqycoolj.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/5ce348bf30bf5439-s.27spqqad3wyeo.woff2)format("woff2");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/4fa387ec64143e14-s.3f4zuumv8svu0.woff2)format("woff2");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/6306c77e7c8268e4-s.34r5yzckw0h2s.woff2)format("woff2");unicode-range:U+2000-2001,U+2004-2008,U+200A,U+23B8-23BD,U+2500-259F}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/7d817b4c03b0c5f1-s.2jyz_zw3a8jit.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/bbc41e54d2fcbd21-s.30bdpjkrtcces.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Geist Mono;font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/797e433ab948586e-s.p.1v5bejj26fx9h.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
/* Reference alignment: layout, typography and responsive navigation. */
:root { --mono: "Geist Mono", ui-monospace, monospace; --max: 1400px; --radius: 24px; }
body { margin: 0 30px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); }
.wrap { padding-inline: 24px; }
.site-header { position: fixed; top: 10px; left: 30px; right: 30px; background: rgba(7,7,7,.82); border: 1px solid var(--line); }
.site-header .wrap { height: 48px; position: relative; }
.brand { font-size: 18px; font-weight: 500; gap: 12px; }
.brand .mark { width: 24px; height: 28px; background: transparent; border-radius: 0; object-fit: contain; filter: drop-shadow(0 0 7px #ffffff35); }
.nav-links { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; gap: 32px; font-size: 14px; }
#walletBtn { background: #fafafa; color: #111; border-color: #ddd; padding: 8px 18px; }
#walletBtn::before { content: "▣"; font-size: 17px; }
.header-actions .star { height: 36px; }
.menu-btn { border: 0; font-size: 0; }
.menu-btn::before { content: ""; width: 18px; height: 10px; border-block: 2px solid #eee; }
.hero { min-height: 100svh; }
.hero .inner { width: 760px; max-width: calc(100% - 48px); padding: 112px 0 0; }
.hero h1 { font-size: 54px; line-height: 54px; letter-spacing: -.88px; text-wrap: balance; }
.hero .lede { font-size: 16px; line-height: 24px; max-width: 720px; margin: 16px auto 24px; }
.hero .cta { gap: 16px; }
.hero .btn { font-size: 14px; padding: 8px 16px; min-height: 40px; }
.hero .btn.primary, .intro .btn.primary, .end-cta .btn.primary { background: #070707; color: #fafafa; border: 2px solid #303030; box-shadow: inset 0 0 0 1px #111; }
.hero .cta > .btn:not(.primary), .end-cta .cta > .btn:not(.primary) { background: #fafafa; color: #111; border-color: #ddd; }
.hero .built { margin-top: 24px; font-size: 11px; letter-spacing: .12em; }
.ring-wrap { top: calc(50% - 112px); height: 44px; }
.hero-corners { height: 52%; }
.corner.left canvas { mask-image: radial-gradient(farthest-corner at 0 0, #000 5%, transparent 78%); }
.corner.right canvas { mask-image: radial-gradient(farthest-corner at 100% 0, #000 5%, transparent 78%); }
.floor { bottom: 26px; height: 55%; }
.floor-grid { width: 2000px; height: 600px; background-size: 100px 80px; }
.chip-rows { padding: 24px 0; gap: 12px; border: 0; }
section.block { padding: 96px 0; }
.section-head { grid-template-columns: 1fr; gap: 24px; }
.section-head h2 { font-size: 36px; line-height: 40px; font-weight: 500; }
.section-head h2 .soft { color: #a3a3a3; }
.section-head p { max-width: 660px; }
.intro { gap: 24px; }
.agent-card { width: min(100%, 420px); margin: auto; animation: none; }
.pillars { margin-top: 32px; }
.loop { grid-template-columns: 200px 1fr; gap: 48px; }
.loop-nav { position: sticky; top: 120px; }
.loop-nav .eyebrow { font: 14px var(--sans); letter-spacing: 0; text-transform: none; color: #a3a3a3; }
.loop-nav .bar { display: none; }
#loopPanels { display: grid !important; gap: 96px; }
.loop-panel, .loop-panel.active { display: grid; grid-template-columns: minmax(0, .64fr) minmax(0,1fr); gap: 48px; align-items: center; min-height: 550px; scroll-margin-top: 100px; }
.loop-copy h3 { font-size: 18px; line-height: 28px; }
.loop-copy ul { grid-template-columns: 1fr 1fr; }
.loop-preview { padding: 44px 40px; min-height: 520px; border: 1px solid var(--line); border-radius: 24px; background: #0d0d0d; display: flex; align-items: center; justify-content: center; }
.loop-preview > .card { width: 100%; max-width: 360px; padding: 28px; outline: 1px solid #ffffff08; outline-offset: 12px; border-radius: 32px; }
.stat { background: transparent; }
.cap-grid { background: transparent; border-radius: 0; }
.cap-grid .chip { background: transparent; border: 0; padding: 4px 0; }
.cap-grid .chips { flex-direction: column; align-items: flex-start; gap: 8px; }
.models-track .chip { gap: 12px; }
.models-track img { width: 32px; height: 32px; object-fit: contain; }
.home-page .network { display: block; }
.site-footer { padding-top: 80px; }
@media (max-width: 1023px) {
 .nav-links, .header-actions > .btn { display: none; }
 .menu-btn { display: grid; place-items: center; }
 .hero .inner { width: 520px; padding-top: 64px; }
 .hero .lede { max-width: 360px; font-size: 14px; line-height: 20px; }
 .hero-corners { height: 48%; }
 .ring-wrap { top: calc(50% - 155px); }
 .home-page .network, .home-page .network + .strip { display: none; }
 .loop { grid-template-columns: 1fr; }
 .loop-nav { display: none; }
 .loop-panel, .loop-panel.active { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
 body { margin-inline: 12px; }
 .site-header { left: 12px; right: 12px; }
 .wrap { padding-inline: 16px; }
 .hero .inner { max-width: calc(100% - 32px); }
 .hero h1 { font-size: 40px; line-height: 42px; }
 .hero .lede { font-size: 14px; }
 .hero .built { font-size: 9px; }
 .hero .cta { gap: 10px; }
 .hero .btn { padding-inline: 12px; font-size: 12px; }
 section.block { padding: 64px 0; }
 .section-head h2 { font-size: 30px; line-height: 34px; }
 .loop-panel, .loop-panel.active { grid-template-columns: 1fr; gap: 32px; }
 #loopPanels { gap: 64px; }
 .loop-preview { padding: 28px; min-height: 400px; }
 .loop-preview > .card { padding: 20px; }
 .cap-grid > div { padding: 16px; }
 .intro { gap: 40px; }
 .ring-wrap { top: calc(50% - 155px); }
}
@media (prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
 .reveal { opacity: 1; transform: none; }
}
/* The reference uses natural headline wrapping and a ring above the title. */
.hero h1 { text-wrap: pretty; }
.ring-wrap { top: calc(50% - 160px); }
.hero .btn { font-weight: 400; }
.hero .inner { padding-top: 128px; }
.hero-corners { height: 40%; }
.floor-grid { height: 620px; background-size: 100px 100px; }
@media (max-width:1023px) {
 .hero .inner { padding-top: 64px; }
 .ring-wrap { top: calc(50% - 160px); }
 .hero-corners { height: 48%; }
}
#how-it-works { scroll-margin-top: 80px; }
#how-it-works .section-head { margin-bottom: 128px; }
.loop-copy { align-self: start; }
.loop-preview .stat .k { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 12px; }
.loop-preview .stat .v.up { color: var(--fg); }
.loop-preview .card-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.loop-preview .tag { font-family: var(--sans); letter-spacing: 0; text-transform: none; }
@media (max-width:640px) { #how-it-works .section-head { margin-bottom: 48px; } }
body:not(.home-page) > main { padding-top: 40px; }
.deployment-note { padding-block: 22px; font-size: 13px; color: var(--muted); border-block: 1px solid var(--line); }
.agent-head { padding-top: 90px; }
.agent-layout input { width: 100%; background: var(--card-2); border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-top: 6px; }
.agent-layout .error { color: var(--red); }
button:disabled { opacity: .4; cursor: not-allowed; }

/* nod wordmark and matchbox: legible at header and footer sizes. */
.brand { gap: 11px; font-size: 28px; font-weight: 800; letter-spacing: -.04em; }
.brand img.mark { width: 52px; height: 38px; min-width: 52px; object-fit: contain; border-radius: 0; background: transparent; filter: none; }
@media (max-width: 600px) { .brand { font-size: 25px; gap: 8px; } .brand img.mark { width: 44px; min-width: 44px; height: 32px; } }

.brand img.mark { width: 56px; min-width: 56px; height: 34px; }
@media (max-width:600px) { .brand img.mark { width:48px; min-width:48px; height:29px; } }

/* nod palette: retain existing layout, typography and content. */
:root { --bg: #0c0d12; --bg-2: #11131a; --card: #171922; --card-2: #1c1f29; --green: #00d9f5; --nod-pink: #ff008b; }
.btn.primary, .hero .btn.primary, .intro .btn.primary, .end-cta .btn.primary { background: var(--nod-pink); border-color: var(--nod-pink); color: #fff; box-shadow: none; }
.btn.primary:hover { background: #df007a; border-color: #df007a; }
.hero .cta > .btn:not(.primary), .end-cta .cta > .btn:not(.primary) { background: transparent; color: var(--fg); border-color: var(--line-2); }
#walletBtn { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn.star .light { background: radial-gradient(ellipse at center, #ff008b, transparent, transparent); }
.tag.live { color: var(--green); border-color: rgba(0,217,245,.35); }
.nav-links a.active, .nav-links a:hover { color: var(--green); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); }
.hero-glow { background: linear-gradient(to bottom, #ff008b, #00d9f5 75%, transparent); opacity: .055; }
.loop-preview { background: var(--bg-2); }

/* Compact neutral wordmark, independent from the site's display font. */
.brand { font-family: Arial, Helvetica, sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
@media (max-width:600px) { .brand { font-size: 27px; } }

/* Quiet branded artwork behind card content. */
.card, .card.soft, .dash, .minds > div, .cap-grid > div, .arch, .agent-tile, .pipe .option-card, .notif {
 background-color: var(--card);
 background-image: radial-gradient(ellipse at 100% 0%, rgba(0,217,245,.12), transparent 48%), radial-gradient(ellipse at 0% 100%, rgba(255,0,139,.085), transparent 48%), url('/assets/card-lines.svg');
 background-repeat: no-repeat;
 background-size: auto, auto, cover;
 border-color: rgba(160,185,220,.16);
 box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 14px 38px rgba(0,0,0,.16);
}
.card:nth-child(even), .minds > div:nth-child(even) {
 background-image: radial-gradient(ellipse at 100% 0%, rgba(255,0,139,.11), transparent 48%), radial-gradient(ellipse at 0% 100%, rgba(0,217,245,.08), transparent 48%), url('/assets/card-lines.svg');
}
.card:hover { border-color: rgba(0,217,245,.27); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 16px 44px rgba(0,0,0,.23); }
.card .eyebrow, .card .kv .k { color: #969cac; }
