/* NovaSI — Nova Super Intelligence. Dark only, one palette:
 *   void #05050B · ink #0B0B13 · starlight #F5F6FF
 *   nova gold #FFC24B · aurora mint #4DFFB8 · ion cyan #3DD8FF · plasma violet #8B6CFF · flare rose #FF5C8A
 */
@font-face { font-family: "Inter"; src: url(/fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url(/fonts/inter-tight.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url(/fonts/archivo.woff2) format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(/fonts/jetbrains-mono.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  --void: #05050B;
  --ink: #0B0B13;
  --ink-2: #12121C;
  --ink-3: #1A1A27;
  --line: rgba(255, 255, 255, .11);
  --line-2: rgba(255, 255, 255, .2);
  --line-3: rgba(255, 255, 255, .34);
  --text: #F5F6FF;
  --dim: #A6A9C2;
  --mute: #6F7290;
  --gold: #FFC24B;
  --mint: #4DFFB8;
  --cyan: #3DD8FF;
  --violet: #8B6CFF;
  --rose: #FF5C8A;
  --nova: linear-gradient(118deg, #FFC24B 0%, #4DFFB8 38%, #3DD8FF 64%, #8B6CFF 100%);
  --nova-soft: linear-gradient(118deg, rgba(255, 194, 75, .16), rgba(77, 255, 184, .12) 38%, rgba(61, 216, 255, .12) 64%, rgba(139, 108, 255, .18));
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --tight: "Inter Tight", "Inter", system-ui, sans-serif;
  --wide: "Archivo", "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --r: 22px;
  --r-sm: 12px;
  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; background: var(--void); color: var(--text);
  font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(139, 108, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: #000; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: calc(820px + var(--gut) * 2); }
.mono, code, kbd { font-family: var(--mono); font-feature-settings: "zero" 0; }
.num { font-variant-numeric: tabular-nums; }
.dim { color: var(--dim); }
.mute { color: var(--mute); }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--tight); color: var(--text); text-wrap: balance; }
.h-xl { font-size: clamp(44px, 8.4vw, 112px); font-weight: 900; letter-spacing: -.045em; line-height: .96; }
.h-lg { font-size: clamp(36px, 5.6vw, 72px); font-weight: 900; letter-spacing: -.042em; line-height: 1; }
.h-md { font-size: clamp(30px, 4vw, 56px); font-weight: 900; letter-spacing: -.038em; line-height: 1.02; }
.h-sm { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; }
h3 { font-size: 19px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
.lead { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.6; color: var(--dim); max-width: 640px; }
.center { text-align: center; }
h2 + .lead, h1 + .lead { margin-top: 20px; }
.lookup { margin-top: 30px !important; }
.center .lead, .lead.center { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px;
  font: 600 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nova); box-shadow: 0 0 12px rgba(77, 255, 184, .7); }
.chrome {
  background-image:
    repeating-linear-gradient(180deg, rgba(5, 5, 11, 0) 0 2px, rgba(5, 5, 11, .22) 2px 3px),
    linear-gradient(180deg, #FFFFFF 0%, #EEF0FA 30%, #A9ACC4 48%, #FAFBFF 56%, #D4D6E6 78%, #9093AE 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 24px rgba(0, 0, 0, .55));
}
.iri { background: var(--nova); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-gold { color: var(--gold); } .c-mint { color: var(--mint); } .c-cyan { color: var(--cyan); } .c-violet { color: var(--violet); } .c-rose { color: var(--rose); }

/* ---------- header: logo left, glass pill centre, round X right ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 50; pointer-events: none; }
.hd-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 16px var(--gut); }
.hd a, .hd button { pointer-events: auto; }
.logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.logo-badge {
  width: 46px; height: 46px; border-radius: 50%; padding: 4px;
  background: radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .12), rgba(255, 255, 255, .02) 70%), rgba(10, 10, 18, .7);
  border: 1px solid var(--line-2); box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), 0 8px 30px rgba(0, 0, 0, .5);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.logo-badge img { width: 100%; height: 100%; }
.wordmark { font: 800 17px/1 var(--wide); font-stretch: 125%; letter-spacing: .06em; text-transform: uppercase; }
.wordmark b { font-weight: 800; background: var(--nova); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .wordmark { opacity: 0; transform: translateX(-6px); transition: opacity .35s, transform .35s; }
.hd.solid .logo .wordmark, .page .logo .wordmark { opacity: 1; transform: none; }
.pill {
  display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px;
  background: rgba(12, 12, 20, .55); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08), 0 10px 40px rgba(0, 0, 0, .45);
}
.pill a { padding: 8px 13px; border-radius: 999px; font-size: 14px; color: rgba(245, 246, 255, .82); transition: color .2s, background .2s; white-space: nowrap; }
.pill a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.pill a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.hd-end { display: flex; align-items: center; gap: 10px; justify-self: end; }
.round {
  width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
  background: rgba(12, 12, 20, .55); border: 1px solid var(--line-2); color: #fff; cursor: pointer;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); transition: border-color .2s, background .2s;
}
.round:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .08); }
.round svg { width: 17px; height: 17px; }
.menu-btn { display: none; }
.drawer { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 46px; padding: 0 22px;
  border-radius: 999px; font: 600 15px/1 var(--sans); border: 1px solid transparent; cursor: pointer;
  transition: transform .15s, box-shadow .25s, background .2s, border-color .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-white { background: #fff; color: #05050B; }
.btn-white:hover { box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 10px 40px rgba(61, 216, 255, .25); }
.btn-nova { background: var(--nova); color: #05050B; }
.btn-nova:hover { box-shadow: 0 0 0 4px rgba(77, 255, 184, .14), 0 12px 44px rgba(139, 108, 255, .4); }
.btn-ghost { background: rgba(255, 255, 255, .04); border-color: var(--line-2); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .08); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[disabled], .btn.is-off { opacity: .45; cursor: not-allowed; box-shadow: none; }
.arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; border-bottom: 1px solid var(--line-3); padding-bottom: 2px; transition: border-color .2s, gap .2s; }
.arrow::after { content: "→"; transition: transform .2s; }
.arrow:hover { border-color: var(--cyan); }
.arrow:hover::after { transform: translateX(3px); }
.arrow.ext::after { content: "↗"; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 210vh; height: 210svh; }
.hero-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-fallback.off { display: none; }
.hero canvas.gate { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-fallback { position: absolute; inset: 0; background:
  radial-gradient(40% 40% at 50% 46%, rgba(77, 255, 184, .22), transparent 60%),
  radial-gradient(60% 55% at 50% 46%, rgba(139, 108, 255, .28), transparent 70%),
  radial-gradient(80% 60% at 50% 100%, rgba(255, 194, 75, .12), transparent 70%), var(--void); }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(50% 30% at 50% 52%, rgba(3, 3, 8, .66) 0%, rgba(3, 3, 8, .3) 60%, rgba(3, 3, 8, 0) 100%),
  linear-gradient(180deg, rgba(5, 5, 11, .7) 0%, rgba(5, 5, 11, 0) 26%, rgba(5, 5, 11, 0) 70%, rgba(5, 5, 11, .95) 100%); }
.hero-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 96px var(--gut) 72px; will-change: opacity, transform; }
.hero-copy h1 { max-width: 13ch; }
.hero-sub { margin: 26px auto 30px; max-width: 560px; font-size: clamp(15px, 1.4vw, 18px); color: rgba(245, 246, 255, .8); text-shadow: 0 1px 18px rgba(0, 0, 0, .8); }
.hero .row { justify-content: center; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); font: 600 11px/1 var(--mono); letter-spacing: .2em; color: var(--mute); text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.scroll-cue i { width: 1px; height: 34px; background: linear-gradient(var(--line-3), transparent); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); } }
.hero-meta { position: absolute; left: var(--gut); right: var(--gut); bottom: 24px; display: flex; justify-content: space-between; gap: 16px; font: 500 12px/1.4 var(--mono); color: var(--mute); pointer-events: none; }

/* ---------- sections ---------- */
.sec { position: relative; padding: clamp(72px, 11vw, 150px) 0; }
.sec-tight { padding: clamp(48px, 7vw, 90px) 0; }
.sec-head { margin-bottom: clamp(32px, 4.5vw, 56px); }
.sec-head .lead { margin-top: 18px; }
.sec-no { display: block; margin-bottom: 14px; font: 600 12px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.sec-no b { color: var(--text); font-weight: 600; }
.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); border: 0; margin: 0; }

/* marquee of what it works with */
.works { padding: 30px 0 10px; }
.works p { text-align: center; font: 600 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 52px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 12px; font: 600 16px/1 var(--tight); color: rgba(245, 246, 255, .55); white-space: nowrap; }
.marquee span::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--g, var(--nova)); opacity: .55; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.card {
  position: relative; border-radius: var(--r); padding: clamp(20px, 2.4vw, 28px);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)), rgba(11, 11, 19, .82);
  border: 1px solid var(--line-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 20px 60px rgba(0, 0, 0, .35);
}
.card.glass { backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)), rgba(11, 11, 19, .55); }
.card.flush { padding: 0; overflow: hidden; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--dim); }
.card p:last-child { margin-bottom: 0; }
.grid { display: grid; gap: clamp(14px, 1.6vw, 22px); }
.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)); }
.g5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; margin-bottom: 64px; }
.ico { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.ico svg { width: 20px; height: 20px; }
.chips { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12.5px; color: rgba(245, 246, 255, .85); background: rgba(255, 255, 255, .02); white-space: nowrap; }
.chip.on { border-color: rgba(77, 255, 184, .45); color: var(--mint); }
.chip.warn { border-color: rgba(255, 194, 75, .45); color: var(--gold); }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--dim); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.tag.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.list { list-style: none; padding: 0; margin: 18px 0 0; }
.list li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.list li b { color: var(--text); font: 500 13.5px/1.4 var(--mono); text-align: right; overflow-wrap: anywhere; min-width: 0; }
.ticks { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 26px; color: rgba(245, 246, 255, .86); font-size: 14.5px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--nova); -webkit-mask: radial-gradient(circle, transparent 3px, #000 3.5px); mask: radial-gradient(circle, transparent 3px, #000 3.5px); }

/* stat cards (the record in numbers) */
.stat .k { font-size: 14px; color: var(--dim); }
.stat .v { margin: 6px 0 8px; font: 900 clamp(34px, 3.6vw, 48px)/1.05 var(--tight); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.stat .n { font-size: 13.5px; color: var(--dim); }
.pending { color: var(--mute); }

/* command box */
.cmd { display: flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: rgba(0, 0, 0, .45); }
.cmd code { flex: 1; min-width: 0; padding: 18px 20px; font-size: 14px; color: #E8EAFF; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd code .p { color: var(--mint); }
.cmd button { flex: none; padding: 0 22px; border: 0; border-left: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); font-weight: 600; cursor: pointer; transition: background .2s; }
.cmd button:hover { background: rgba(255, 255, 255, .12); }
pre.code { margin: 0; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .5); overflow-x: auto; font: 13.5px/1.7 var(--mono); color: #E3E5FA; }
pre.code .c { color: var(--mute); }
pre.code .p { color: var(--mint); }
pre.code .s { color: var(--gold); }

/* flow diagram: backer -> agent -> pool */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; gap: 0; margin: 10px 0 40px; }
.node { position: relative; text-align: center; padding: 26px 18px; border-radius: 20px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.node .t { font: 800 18px/1.2 var(--tight); letter-spacing: -.01em; }
.node .s { margin-top: 6px; font-size: 13px; color: var(--dim); }
.node::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--g); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .8; }
.edge { position: relative; min-width: 110px; padding: 0 8px; text-align: center; font: 500 11.5px/1.35 var(--mono); color: var(--dim); }
.edge::before { content: ""; display: block; height: 1px; margin: 8px 0; background: linear-gradient(90deg, var(--line-2), var(--cyan), var(--line-2)); }
.edge i { font-style: normal; display: block; }
.edge .back { color: var(--mint); }
.steps { counter-reset: s; }
.step { position: relative; }
.step .no { font: 600 12px/1 var(--mono); letter-spacing: .14em; color: var(--mute); margin-bottom: 30px; display: block; }
.step .note { margin-top: 14px; font-size: 13px; color: var(--gold); }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); padding: 16px 20px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 16px 20px; border-bottom: 1px solid var(--line); color: var(--dim); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; }
td b { color: var(--text); font-weight: 600; }
td .mono { font-size: 13px; }
.empty { padding: 44px 20px; text-align: center; color: var(--dim); }
.empty b { display: block; margin-bottom: 6px; color: var(--text); font: 800 18px/1.3 var(--tight); }
.tbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--dim); flex-wrap: wrap; }

/* particle shell backdrop */
.shell-sec { overflow: hidden; }
.shell { position: absolute; top: -420px; right: -260px; width: min(1250px, 110vw); height: min(1250px, 110vw); pointer-events: none; }
.shell-sec .card.glass { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .01)), rgba(8, 8, 15, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.shell-sec > .wrap { position: relative; }

/* token / CA block */
.ca { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 16px 18px; border: 1px dashed var(--line-3); border-radius: 16px; background: rgba(0, 0, 0, .35); }
.ca code { font-size: 14px; color: #E8EAFF; word-break: break-all; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line-2); border-radius: 18px; background: rgba(255, 255, 255, .02); transition: border-color .2s, background .2s; }
.faq details[open] { border-color: var(--line-3); background: rgba(255, 255, 255, .035); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 22px; font: 700 17px/1.35 var(--tight); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font: 400 18px/1 var(--sans); color: var(--dim); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: var(--dim); max-width: 760px; }
.faq .a p:last-child { margin: 0; }

/* closing band */
.band { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(40px, 6vw, 84px); border: 1px solid var(--line-2);
  background: radial-gradient(70% 120% at 100% 0%, rgba(139, 108, 255, .28), transparent 60%), radial-gradient(60% 100% at 0% 100%, rgba(255, 194, 75, .16), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01)), var(--ink); }
.band .burst { position: absolute; right: -60px; top: 50%; width: min(460px, 60vw); transform: translateY(-50%) rotate(-9deg); opacity: .9; filter: drop-shadow(0 0 60px rgba(61, 216, 255, .35)); animation: spin 90s linear infinite; }
.band > *:not(.burst) { position: relative; max-width: 620px; }
@keyframes spin { to { transform: translateY(-50%) rotate(351deg); } }

/* page hero (inner pages) */
.phero { position: relative; padding: clamp(140px, 17vw, 200px) 0 clamp(40px, 6vw, 70px); overflow: hidden; }
.phero::before { content: ""; position: absolute; inset: -30% -10% auto; height: 120%; background:
  radial-gradient(38% 50% at 22% 30%, rgba(139, 108, 255, .22), transparent 70%),
  radial-gradient(30% 40% at 70% 18%, rgba(61, 216, 255, .14), transparent 70%),
  radial-gradient(26% 36% at 88% 60%, rgba(255, 194, 75, .1), transparent 70%); pointer-events: none; }
.phero > .wrap { position: relative; }
.phero .h-lg { max-width: 15ch; }
.phero .lead { margin-top: 22px; }
.phero .row { margin-top: 30px; }
.phero .ring { position: absolute; right: -120px; top: 60px; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; opacity: .55;
  background: repeating-radial-gradient(circle, transparent 0 22px, rgba(255, 255, 255, .06) 22px 23px);
  -webkit-mask: radial-gradient(circle, #000 30%, transparent 70%); mask: radial-gradient(circle, #000 30%, transparent 70%); }

/* prose (protocol, privacy, log) */
.prose { color: var(--dim); font-size: 15.5px; line-height: 1.75; }
.prose h2 { font-size: clamp(26px, 2.8vw, 34px); font-weight: 900; letter-spacing: -.03em; margin: 64px 0 18px; color: var(--text); scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 10px; color: var(--text); }
.prose strong { color: var(--text); }
.prose a { color: var(--text); border-bottom: 1px solid var(--line-3); }
.prose a:hover { border-color: var(--cyan); }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose code { font-size: 13px; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: #E3E5FA; }
.prose pre.code code { padding: 0; background: none; }
.prose .card { margin: 22px 0; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); color: var(--dim); }
.toc a:hover { color: #fff; border-color: var(--cyan); }
.doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); }
.kv { display: grid; grid-template-columns: minmax(180px, 280px) 1fr; border: 1px solid var(--line-2); border-radius: 18px; overflow: hidden; margin: 18px 0; }
.kv > div { padding: 14px 18px; border-top: 1px solid var(--line); font-size: 14px; overflow-wrap: anywhere; min-width: 0; }
.kv > div:nth-child(-n+2) { border-top: 0; }
.kv > div:nth-child(odd) { color: var(--dim); background: rgba(255, 255, 255, .02); }
.kv > div:nth-child(even) { color: var(--text); font-family: var(--mono); font-size: 13.5px; }
.callout { padding: 18px 20px; border-radius: 16px; border: 1px solid rgba(255, 194, 75, .35); background: rgba(255, 194, 75, .06); color: rgba(245, 246, 255, .88); font-size: 14.5px; }
.callout b { color: var(--gold); }
.callout.mint { border-color: rgba(77, 255, 184, .35); background: rgba(77, 255, 184, .05); }
.callout.mint b { color: var(--mint); }

/* forms */
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--dim); }
.input { height: 48px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .4); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; }
.input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(61, 216, 255, .12); }
textarea.input { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.lookup { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
.lookup .input { height: 46px; border-radius: 999px; text-align: center; }

/* board */
.tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.score-bar { height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.score-bar i { display: block; height: 100%; background: var(--nova); border-radius: inherit; }
.meter { display: grid; grid-template-columns: 120px 1fr 60px; gap: 14px; align-items: center; font-size: 13.5px; padding: 10px 0; border-top: 1px solid var(--line); }
.meter span:last-child { text-align: right; font-family: var(--mono); color: var(--text); }

/* brand page */
.swatch { border-radius: 18px; border: 1px solid var(--line-2); overflow: hidden; }
.swatch .chip-c { height: 120px; }
.swatch .meta { padding: 14px 16px; font-size: 13px; }
.swatch .meta b { display: block; color: var(--text); font: 700 15px/1.3 var(--tight); }
.swatch .meta code { color: var(--dim); }
.brand-tile { display: grid; place-items: center; min-height: 260px; border-radius: 22px; border: 1px solid var(--line-2); background: radial-gradient(60% 60% at 50% 50%, rgba(139, 108, 255, .14), transparent 70%), var(--ink); }

/* footer */
.ft { position: relative; margin-top: 40px; border-top: 1px solid var(--line); padding: 64px 0 40px; background: linear-gradient(180deg, transparent, rgba(139, 108, 255, .05)); }
.ft-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.ft .logo .wordmark { opacity: 1; transform: none; }
.ft h4 { font: 600 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ft ul a { color: var(--dim); font-size: 14px; }
.ft ul a:hover { color: #fff; }
.ft-blurb { margin: 18px 0 0; max-width: 340px; color: var(--dim); font-size: 14px; }
.ft-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 54px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 80; transform: translate(-50%, 20px); opacity: 0; padding: 12px 18px; border-radius: 999px; background: #fff; color: #05050B; font-weight: 600; font-size: 14px; transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
/* the header: the pill tightens, drops Skill and Agents (still in the menu and footer), then gives way to the menu button */
@media (max-width: 1280px) {
  .pill a { padding: 8px 10px; font-size: 13.5px; }
  .pill a[href="/skill.md"], .pill a[href="/agents"] { display: none; }
}
@media (max-width: 1140px) {
  .hd-in { grid-template-columns: 1fr auto; }
  .pill { display: none; }
  .menu-btn { display: grid; }
  .logo .wordmark { opacity: 1; transform: none; }
  .drawer { position: fixed; inset: 0; z-index: 60; display: block; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; background: rgba(5, 5, 11, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); padding: 92px var(--gut) 40px; overflow-y: auto; pointer-events: auto; }
  .drawer.on { visibility: visible; opacity: 1; }
  .drawer a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font: 800 26px/1.1 var(--tight); letter-spacing: -.02em; }
  .drawer .btn { display: flex; margin-top: 26px; width: 100%; font: 600 16px/1 var(--sans); border: 0; }
  .hd-in { position: relative; z-index: 61; }
}
@media (max-width: 980px) {
  .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-grid > :first-child { grid-column: 1 / -1; }
  .doc { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
  .flow { grid-template-columns: 1fr; gap: 0; }
  .edge { padding: 6px 0; min-width: 0; }
  .edge::before { width: 1px; height: 26px; margin: 4px auto; background: linear-gradient(180deg, var(--line-2), var(--cyan), var(--line-2)); }
}
@media (max-width: 680px) {
  .hide-sm { display: none; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .g5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-top { margin-bottom: 36px; }
  .hero-meta { display: none; }
  .kv { grid-template-columns: 1fr; }
  .kv > div:nth-child(even) { border-top: 0; padding-top: 0; }
  .kv > div:nth-child(odd) { background: none; padding-bottom: 6px; }
  .kv > div:nth-child(2) { border-top: 0; }
  th, td { padding: 13px 14px; }
  .cmd { flex-direction: column; }
  .cmd button { border-left: 0; border-top: 1px solid var(--line-2); height: 46px; }
  .cmd code { white-space: normal; word-break: break-all; }
  .band .burst { opacity: .35; right: -120px; }
  .lookup { flex-direction: column; }
  .ft-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .meter { grid-template-columns: 96px 1fr 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .marquee-track, .band .burst, .scroll-cue i { animation: none; }
}

/* ---------- wallet, desk, transactions ---------- */
.btn-wallet { height: 38px; padding: 0 16px; font-size: 14px; font-family: var(--mono); }
.btn-wallet.on { border-color: rgba(77, 255, 184, .45); color: var(--mint); }
.sheet { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; background: rgba(5, 5, 11, .72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sheet[hidden] { display: none; }
.sheet-in { width: min(440px, 100%); border-radius: 24px; padding: 26px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .015)), var(--ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .6); }
.sheet-in h3 { font-size: 22px; margin-bottom: 10px; }
.sheet-in p { color: var(--dim); font-size: 14.5px; }
.sheet-in code { font-size: 12.5px; word-break: break-all; color: var(--text); }
.sheet-list { display: grid; gap: 8px; margin-top: 16px; }
.sheet-list button, .sheet-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--text); font-weight: 600; cursor: pointer; text-align: left; }
.sheet-list button:hover, .sheet-list a:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .07); }
.sheet-list img { width: 26px; height: 26px; border-radius: 6px; }
.sheet-foot { display: flex; justify-content: flex-end; margin-top: 18px; }
.txs { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; line-height: 1.5; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: var(--dim); overflow-wrap: anywhere; }
.txs.wait { border-color: rgba(61, 216, 255, .35); color: var(--text); }
.txs.ok { border-color: rgba(77, 255, 184, .4); background: rgba(77, 255, 184, .05); color: var(--text); }
.txs.bad { border-color: rgba(255, 92, 138, .45); background: rgba(255, 92, 138, .06); color: var(--text); }
.txs .arrow { font-size: 13.5px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--text); font: inherit; font-weight: 600; border-bottom: 1px solid var(--line-3); cursor: pointer; }
.linkbtn:hover { border-color: var(--cyan); }
.seg { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--dim); transition: border-color .2s, color .2s, background .2s; }
.seg input:checked + span { color: var(--text); border-color: rgba(61, 216, 255, .55); background: rgba(61, 216, 255, .08); }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
select.input { appearance: none; -webkit-appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--dim) 50%), linear-gradient(135deg, var(--dim) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
.btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.desk .stat .v { font-size: clamp(26px, 2.6vw, 34px); }
.desk details summary::-webkit-details-marker { display: none; }
.desk table .btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.mine { display: grid; gap: 12px; margin-top: 18px; }
@media (max-width: 480px) {
  .hd-end > .btn-nova { display: none; }
  .btn-wallet { padding: 0 12px; }
}

/* ---------------------------------------------------------------- Ask Nova (js/ask.js, Grok) */
.ask { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: min(410px, calc(100vw - 24px)); height: min(640px, calc(100dvh - 40px)); display: flex; flex-direction: column; border-radius: 24px; border: 1px solid var(--line-2); background: rgba(9, 9, 16, .95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 30px 90px rgba(0, 0, 0, .72), 0 0 0 1px rgba(0, 0, 0, .5), 0 0 70px rgba(139, 108, 255, .12); overflow: hidden; }
.ask::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), var(--mint), var(--cyan), var(--violet), transparent); opacity: .75; }
.ask-hd { display: flex; align-items: center; gap: 12px; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--line); }
.ask-hd > img { flex: none; }
.ask-ttl { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ask-ttl b { font: 800 16px/1 var(--tight); letter-spacing: -.01em; }
.ask-ttl span { font: 500 11px/1.2 var(--mono); color: var(--mute); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask-ic { flex: none; width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: var(--dim); cursor: pointer; }
.ask-ic:hover { color: #fff; border-color: var(--line-3); }
.ask-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.ask-hello { text-align: center; padding-top: 4px; }
.ask-hello > svg { display: block; margin: 0 auto 10px; }
.ask-hello > b { display: block; font: 800 19px/1.2 var(--tight); color: #fff; }
.ask-hello > span { display: block; margin: 6px 0 12px; font: 500 11px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.ask-hello p { color: var(--dim); margin: 0 0 14px; font-size: 14px; line-height: 1.55; }
.ask-hello .ask-sugg { justify-content: center; }
.ask-hello p.ask-lock { color: var(--gold); }
.ask-sugg { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-sugg .chip { cursor: pointer; height: auto; min-height: 30px; padding: 6px 12px; white-space: normal; text-align: left; line-height: 1.35; font-family: var(--sans); }
.ask-sugg .chip:hover { border-color: rgba(61, 216, 255, .55); color: #fff; }
.ask-m { max-width: 92%; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere; }
.ask-m.me { align-self: flex-end; background: #fff; color: #05050B; padding: 9px 14px; border-radius: 18px 18px 6px 18px; font-weight: 500; }
.ask-m.nova { align-self: flex-start; color: var(--text); display: flex; gap: 10px; align-items: flex-start; }
.ask-md p { margin: 0 0 8px; }
.ask-md p:last-child, .ask-md ul:last-child, .ask-md ol:last-child { margin-bottom: 0; }
.ask-md ul, .ask-md ol { margin: 0 0 8px; padding-left: 20px; }
.ask-md li { margin: 3px 0; }
.ask-md a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(61, 216, 255, .4); }
.ask-md code { font-size: 12.5px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.ask-md b { color: #fff; }
.ask-tools { margin-top: 7px; font: 500 11px/1.3 var(--mono); color: var(--mute); letter-spacing: .03em; }
.ask-wait { color: var(--dim); display: flex; align-items: center; gap: 10px; }
.ask-dots { display: inline-flex; gap: 4px; }
.ask-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); animation: ask-b 1s ease-in-out infinite; }
.ask-dots i:nth-child(2) { animation-delay: .15s; background: var(--mint); }
.ask-dots i:nth-child(3) { animation-delay: .3s; background: var(--violet); }
@keyframes ask-b { 0%, 80%, 100% { opacity: .25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ask-m.ask-err { color: var(--rose); }
.ask-in { display: flex; align-items: flex-end; gap: 8px; margin: 0 12px; padding: 5px 5px 5px 14px; border: 1px solid var(--line-2); border-radius: 22px; background: rgba(255, 255, 255, .04); }
.ask-in:focus-within { border-color: rgba(61, 216, 255, .55); }
.ask-in textarea { flex: 1; min-width: 0; resize: none; border: 0; outline: 0; background: transparent; color: #fff; font: 400 14px/1.45 var(--sans); padding: 9px 0; max-height: 120px; overflow-y: hidden; }
.ask-in textarea:focus-visible { outline: none; }
.ask-in textarea::placeholder { color: var(--mute); }
.ask-send { flex: none; width: 38px; height: 38px; border-radius: 999px; border: 0; background: #fff; color: #05050B; display: grid; place-items: center; cursor: pointer; }
.ask-send:disabled { opacity: .4; cursor: default; }
.ask-ft { margin: 8px 16px 12px; font-size: 11px; line-height: 1.45; color: var(--mute); }
@media (max-width: 560px) {
  .ask { right: 0; left: 0; bottom: 0; width: 100%; height: min(86dvh, calc(100dvh - 56px)); border-radius: 22px 22px 0 0; border-bottom: 0; }
  html.ask-open, html.ask-open body { overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .ask-dots i { animation: none; } }
.ask-tier { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 9px 16px; border-bottom: 1px solid var(--line); font-size: 12.5px; line-height: 1.4; color: var(--dim); background: rgba(255, 255, 255, .02); }
.ask-tier .tag { flex: none; }
.ask-tier > span:not(.tag) { flex: 1 1 180px; min-width: 0; }
.ask-tier a, .ask-tier button { flex: none; font: 600 12.5px/1 var(--sans); color: #05050B; background: #fff; border: 0; border-radius: 999px; padding: 7px 12px; cursor: pointer; text-decoration: none; }
.ask-report { width: 100%; max-width: 100%; padding: 14px 14px 12px; border: 1px solid rgba(139, 108, 255, .35); border-radius: 16px; background: linear-gradient(180deg, rgba(139, 108, 255, .08), rgba(61, 216, 255, .03)); }
.ask-rhd { font: 600 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--violet); margin-bottom: 10px; }
.ask-hello code { font-size: 12.5px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }

/* ---------------------------------------------------------------- $NOVASI page */
.nv-uses .card { display: flex; flex-direction: column; }
.nv-uses .card .list { flex: 1; }
.nv-uses .chip.on { border-color: rgba(77, 255, 184, .45); color: var(--mint); }
.nv-uses code { font-size: 13px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.nv-steps { margin: 22px 0 0; padding: 0; list-style: none; counter-reset: nv; display: grid; gap: 12px; }
.nv-steps li { counter-increment: nv; display: flex; gap: 12px; align-items: baseline; color: var(--dim); }
.nv-steps li::before { content: counter(nv); flex: none; width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font: 700 12px/1 var(--mono); color: #05050B; background: linear-gradient(135deg, var(--gold), var(--mint), var(--cyan), var(--violet)); }
.nv-steps b { color: var(--text); }
.needs-ask { display: none !important; }
html.ask-on .needs-ask { display: inline-flex !important; }
.pill a.pill-nv { color: var(--gold); }

/* ---------- the crew pane: a light chat window inside the dark site (js/crew.js, characters in js/crew-faces.js) ---------- */
.crew-wrap { container-type: inline-size; --crew-h: 660px; }
.crew {
  /* pale grey, not white: a softer step down from the dark site */
  --c-side: #DADBE2; --c-main: #E4E5EB; --c-raise: #EEEFF3; --c-field: #DCDDE4; --c-line: #CACBD4; --c-text: #15151C; --c-dim: #55586B; --c-mute: #7C7F92;
  --c-hover: #D0D1D9; --c-on: #C7C8D2; --c-me: #0B0B13; --c-them: #D6D7DF; --c-link: #4C30D2;
  color-scheme: light; position: relative;
  display: grid; grid-template-columns: 300px minmax(0, 1fr); height: var(--crew-h);
  border-radius: 22px; overflow: hidden; background: var(--c-main); color: var(--c-text); text-align: left;
  font: 400 14.5px/1.5 var(--sans);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .62), 0 0 0 1px rgba(255, 255, 255, .16), 0 0 110px rgba(139, 108, 255, .18);
}
.crew :focus-visible { outline: 2px solid var(--c-link); outline-offset: 2px; }
.crew-side { display: flex; flex-direction: column; min-height: 0; background: var(--c-side); border-right: 1px solid var(--c-line); }
.crew-top { display: flex; align-items: center; gap: 12px; padding: 16px 18px 8px; }
.crew-lights { display: flex; gap: 8px; }
.crew-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5C8A; }
.crew-lights i:nth-child(2) { background: #FFC24B; }
.crew-lights i:nth-child(3) { background: #2BD99A; }
.crew-app { margin-left: auto; font: 600 11px/1 var(--mono); color: var(--c-mute); letter-spacing: .06em; text-transform: uppercase; }
.crew-search { display: flex; align-items: center; gap: 9px; height: 40px; margin: 8px 14px 10px; padding: 0 12px; border-radius: 12px; background: #CFD0D8; color: var(--c-mute); cursor: text; }
.crew-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: var(--c-text); font-size: 16px; }
.crew-search input::placeholder { color: var(--c-mute); }
.crew-search input:focus-visible { outline: none; }
.crew-search:focus-within { box-shadow: 0 0 0 2px #B3ACE6; background: var(--c-raise); }
.crew-search input::-webkit-search-cancel-button { filter: grayscale(1); }
.crew-scroll { flex: 1; min-height: 0; overflow-y: auto; padding: 0 10px 10px; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .18) transparent; overscroll-behavior: contain; }
.crew-pins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px 2px 6px; }
.crew-pin { position: relative; display: grid; justify-items: center; gap: 8px; padding: 12px 4px 10px; border: 0; border-radius: 16px; background: transparent; cursor: pointer; font-weight: 500; font-size: 13.5px; line-height: 1.2; }
.crew-pin:hover, .crew-row:hover { background: var(--c-hover); }
.crew-pin.on, .crew-row.on { background: var(--c-on); }
.crew-sec { margin: 12px 10px 6px; font-size: 13px; font-weight: 500; color: var(--c-mute); }
.crew-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.crew-row { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; padding: 10px; border: 0; border-radius: 14px; background: transparent; cursor: pointer; text-align: left; }
.crew-row .cf { flex: none; }
.crew-rt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.crew-r1 { display: flex; align-items: baseline; gap: 8px; }
.crew-r1 b { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crew-r1 time { flex: none; font-size: 12.5px; color: var(--c-mute); }
.crew-r2 { padding-right: 16px; font-size: 13.5px; color: var(--c-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crew-r2.new { color: #B26A00; }
.crew-dot { position: absolute; right: 12px; bottom: 17px; width: 8px; height: 8px; border-radius: 50%; background: #F39A1E; }
.crew-pin .crew-dot { top: 12px; right: 22px; bottom: auto; }
.crew-none { margin: 14px 10px; font-size: 13.5px; color: var(--c-mute); }
.crew-board { display: flex; align-items: center; gap: 12px; margin: 0 10px; padding: 12px; border-top: 1px solid var(--c-line); font-size: 15px; font-weight: 500; color: var(--c-text); }
.crew-board:hover { color: var(--c-link); }
.crew-me { display: flex; align-items: center; gap: 10px; padding: 12px 16px 14px; border-top: 1px solid var(--c-line); background: #D2D3DB; }
.crew-av { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 14px/1 var(--sans); color: #fff; background: conic-gradient(from 200deg, hsl(var(--h) 80% 58%), hsl(calc(var(--h) + 80) 75% 55%), hsl(var(--h) 80% 58%)); }
.crew-mt { flex: 1; min-width: 0; display: grid; }
.crew-mt b { font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.crew-mt span { font-size: 12px; color: var(--c-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crew-sbtn { flex: none; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid #BDBECA; border-radius: 999px; background: var(--c-raise); color: var(--c-text); font-size: 12.5px; font-weight: 600; line-height: 1; cursor: pointer; white-space: nowrap; }
.crew-sbtn:hover { border-color: #A6A7B6; }
.crew-b .crew-sbtn { margin-left: 6px; vertical-align: middle; }

.crew-main { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--c-main); }
.crew-hd { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 12px 14px 12px 20px; border-bottom: 1px solid var(--c-line); }
.crew-hface { display: flex; flex: none; }
.crew-who { flex: 1; min-width: 0; display: flex; align-items: baseline; gap: 10px; }
.crew-who b { font-size: 17px; font-weight: 650; line-height: 1.2; white-space: nowrap; }
.crew-who span { font-size: 13px; color: var(--c-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crew-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 11px; background: transparent; color: var(--c-dim); cursor: pointer; }
.crew-ic:hover { background: var(--c-hover); color: var(--c-text); }
.crew-back { display: none; margin-left: -8px; }
.crew-log { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 24px 22px; display: flex; flex-direction: column; gap: 8px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(0, 0, 0, .18) transparent; }
.crew-time { align-self: center; margin: 12px 0 6px; font-size: 13px; color: var(--c-mute); }
.crew-b { max-width: min(78%, 640px); padding: 10px 16px; border-radius: 22px; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.crew-b.me { align-self: flex-end; background: var(--c-me); color: #fff; }
.crew-b.them { align-self: flex-start; background: var(--c-them); color: var(--c-text); }
.crew-b.err { align-self: flex-start; background: #FFF0F4; color: #B01E4C; border: 1px solid #FFD2DE; }
.crew-md p { margin: 0 0 8px; }
.crew-md p:last-child, .crew-md ul:last-child, .crew-md ol:last-child { margin-bottom: 0; }
.crew-md ul, .crew-md ol { margin: 0 0 8px; padding-left: 20px; }
.crew-md li { margin: 3px 0; }
.crew-md a { color: var(--c-link); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(91, 63, 224, .35); }
.crew-md code { font-size: 13px; background: rgba(0, 0, 0, .06); border-radius: 6px; padding: 1px 5px; }
.crew-md b { font-weight: 650; }
.crew-tools { margin-top: 6px; font: 500 11px/1.3 var(--mono); color: var(--c-mute); letter-spacing: .03em; }
.crew-b.crew-rep { position: relative; overflow: hidden; max-width: min(92%, 700px); padding: 16px 18px; border-radius: 18px; background: var(--c-raise); border: 1px solid var(--c-line); box-shadow: 0 10px 34px rgba(20, 20, 45, .09); }
.crew-rep::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--nova); }
.crew-rhd { display: flex; align-items: center; gap: 9px; margin: 0 0 12px; font: 600 11.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-dim); }
.crew-wait { display: flex; align-items: center; gap: 10px; color: var(--c-dim); }
.crew-hello { margin: auto; max-width: 460px; padding: 12px 0; display: grid; justify-items: center; gap: 4px; text-align: center; }
.crew-hello > b { margin-top: 10px; font: 750 21px/1.2 var(--tight); letter-spacing: -.01em; }
.crew-hello > span { font-size: 13.5px; color: var(--c-mute); }
.crew-hello > p { margin: 10px 0 14px; font-size: 15px; color: var(--c-dim); }
.crew-sugg { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.crew-chip { padding: 8px 14px; border: 1px solid var(--c-line); border-radius: 999px; background: var(--c-raise); font-size: 13.5px; font-weight: 500; line-height: 1.3; cursor: pointer; text-align: left; }
.crew-chip:hover:not(:disabled) { border-color: #B1B2C0; background: #F3F4F7; }
.crew-chip:disabled { opacity: .5; cursor: default; }
.crew-hello > p.crew-off { padding: 8px 12px; border: 1px solid #F6DFAE; border-radius: 12px; background: #FFF7E6; color: #7A5200; font-size: 13.5px; margin: -4px 0 14px; }
.crew-in { display: flex; align-items: flex-end; gap: 8px; margin: 0 18px 16px; padding: 6px; border: 1px solid var(--c-line); border-radius: 27px; background: var(--c-field); }
.crew-in:focus-within { border-color: #B3ACE6; background: var(--c-raise); }
.crew-plus { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--c-raise); box-shadow: 0 0 0 1px var(--c-line); font-size: 22px; line-height: 1; cursor: pointer; }
.crew-in textarea { flex: 1; min-width: 0; padding: 9px 4px; border: 0; outline: none; resize: none; background: transparent; color: var(--c-text); font: 400 16px/1.4 var(--sans); max-height: 140px; overflow-y: hidden; }
.crew-in textarea::placeholder { color: var(--c-mute); }
.crew-in textarea:focus-visible { outline: none; }
.crew-send { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--c-me); color: #fff; cursor: pointer; }
.crew-send:disabled, .crew-plus:disabled { opacity: .35; cursor: default; }
.crew-menu { position: absolute; left: 18px; bottom: 76px; z-index: 2; width: min(360px, calc(100% - 36px)); padding: 8px; display: grid; gap: 2px; border: 1px solid var(--c-line); border-radius: 16px; background: var(--c-raise); box-shadow: 0 18px 50px rgba(20, 20, 45, .18); }
.crew-menu p { margin: 4px 12px 6px; font: 600 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-mute); }
.crew-menu button { padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; text-align: left; font-size: 14px; line-height: 1.35; cursor: pointer; }
.crew-menu button:hover { background: var(--c-hover); }
/* the faces blink now and then, follow the pointer (js/companion.js), and glance around while they read the chain */
.cf-eyes { transform-box: fill-box; transform-origin: center; animation: crew-blink 7s infinite; animation-delay: var(--blink, 0s); transition: translate .3s ease-out; }
.crew-list li:nth-child(2n) .cf-eyes, .crew-pin:nth-child(2) .cf-eyes { animation-delay: 2.3s; }
.crew-list li:nth-child(3n) .cf-eyes, .crew-pin:nth-child(3) .cf-eyes { animation-delay: 4.1s; }
.cf.think .cf-eyes { animation: crew-look 1.3s ease-in-out infinite; }
@keyframes crew-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.12); } }
@keyframes crew-look { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-5px); } 70% { transform: translateX(5px); } }
@media (prefers-reduced-motion: reduce) { .cf-eyes, .cf.think .cf-eyes { animation: none; } }
@container (max-width: 700px) {
  .crew { grid-template-columns: minmax(0, 1fr); border-radius: 20px; }
  .crew[data-view="list"] .crew-main, .crew[data-view="chat"] .crew-side { display: none; }
  .crew-back { display: grid; }
  .crew-hd { padding: 10px 10px 10px 12px; min-height: 58px; }
  .crew-who { flex-direction: column; gap: 1px; }
  .crew-who b { font-size: 16px; }
  .crew-log { padding: 14px 14px 18px; }
  .crew-b { max-width: 88%; }
  .crew-in { margin: 0 10px 12px; }
  .crew-menu { left: 10px; width: calc(100% - 20px); }
  .crew-scroll, .crew-log { overscroll-behavior: auto; } /* a swipe past the end scrolls the page, never traps it */
  .crew-mt span { white-space: normal; }
}

/* the crew page and the crew cards */
.crew-page .crew-wrap { --crew-h: clamp(580px, calc(100dvh - 150px), 860px); }
.crew-cards .card { display: grid; align-content: start; gap: 10px; }
.crew-cards .card .cf { margin-bottom: 8px; }
.crew-cards h3 { margin: 0; }
.crew-cards .card p { margin: 0; color: var(--dim); font-size: 14.5px; }
.crew-cards .card-top { margin: 0; flex-wrap: wrap; gap: 8px 12px; }
.crew-cards .linkbtn { justify-self: start; margin-top: 6px; }
@media (max-width: 680px) { .crew-wrap { --crew-h: min(600px, calc(100dvh - 112px)); } .crew-page .crew-wrap { --crew-h: max(520px, calc(100dvh - 112px)); } }

/* ---------- stock coins: company logos on round coins, as parestocks.com shows them (js/stock-list.js) ---------- */
.coin { --z: 28px; flex: none; display: inline-grid; place-items: center; width: var(--z); height: var(--z); border-radius: 50%; overflow: hidden; vertical-align: middle; background: var(--d, #F2F4EF); box-shadow: 0 0 0 1.5px rgba(242, 244, 239, .3), 0 6px 18px rgba(0, 0, 0, .35); }
.coin img { width: var(--s, 70%); height: var(--s, 70%); object-fit: contain; }
.tk { display: inline-flex; align-items: center; gap: 12px; }
/* the homepage tape: the stock tokens with live prices */
.tape { padding: 4px 0 26px; }
.tape p { text-align: center; font: 600 11px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--mute); margin: 0 0 18px; }
.tape-m { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tape-track { display: flex; gap: 14px; width: max-content; animation: marquee 70s linear infinite reverse; }
.tape-m:hover .tape-track { animation-play-state: paused; }
.tape-i { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); white-space: nowrap; transition: border-color .2s, background .2s; }
.tape-i:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .06); }
.tape-i b { font: 700 14px/1 var(--tight); letter-spacing: .01em; }
.tape-i span { font-size: 12.5px; color: var(--dim); }
.tape-i em { font-style: normal; margin-left: 8px; color: var(--mint); font-size: 11.5px; }
/* the coin cloud on the stocks page */
.phero .coin-cloud { position: absolute; top: 50%; right: var(--gut); width: 560px; height: 470px; transform: translateY(-46%); pointer-events: none; }
.cc { position: absolute; display: grid; justify-items: center; gap: 6px; translate: -50% -50%; animation: cc-float 6s ease-in-out infinite; animation-delay: var(--dl); }
.cc em { font: 600 10.5px/1 var(--mono); font-style: normal; letter-spacing: .06em; color: var(--mute); }
.cc-usdg { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 112px; height: 112px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: var(--nova); color: #05050B; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .4), 0 0 80px rgba(77, 255, 184, .35), 0 20px 50px rgba(0, 0, 0, .5); }
.cc-usdg b { font: 900 40px/1 var(--tight); }
.cc-usdg em { font: 700 11px/1 var(--mono); font-style: normal; letter-spacing: .14em; margin-top: 4px; }
@keyframes cc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@media (max-width: 1180px) { .phero .coin-cloud { transform: translateY(-46%) scale(.82); transform-origin: right center; } }
@media (max-width: 980px) {
  .phero .coin-cloud { position: relative; inset: auto; width: 100%; height: auto; transform: none; margin-top: 34px; display: flex; flex-wrap: wrap; gap: 10px; }
  .phero .coin-cloud .cc { position: static; translate: none; animation: none; }
  .phero .coin-cloud .cc-usdg { display: none; }
  .phero .coin-cloud .coin { --z: 40px !important; width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) { .tape-track, .cc { animation: none; } }

/* ---------- examples on empty pages (js/example.js): always labelled ---------- */
.xtag { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font: 700 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #C9BBFF; background: rgba(139, 108, 255, .16); border: 1px solid rgba(139, 108, 255, .4); white-space: nowrap; vertical-align: middle; }
tr.xrow td { opacity: .6; }
tr.xrow td:last-child, tr.xrow td .xtag { opacity: 1; }
tr.xrow:hover td { opacity: .85; }
.empty .row { justify-content: center; margin-top: 14px; }
tr.xrow td:nth-child(-n+2) b { white-space: nowrap; }
tbody[data-feed] tr:not(:has(.empty)) td { white-space: nowrap; } /* loan rows scroll sideways on a phone instead of squeezing */
/* inside a table that scrolls sideways on a phone, the empty message stays in view and wraps to the screen */
@media (max-width: 760px) {
  .table-wrap td > .empty { position: sticky; left: 0; width: calc(100vw - var(--gut) * 2 - 4px); box-sizing: border-box; padding: 32px 16px; }
}
.xrec { position: relative; padding: 22px; border-radius: var(--r); border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)), var(--ink); box-shadow: 0 30px 90px rgba(0, 0, 0, .55), 0 0 80px rgba(139, 108, 255, .1); overflow: hidden; }
.xrec::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--nova); opacity: .8; }
.xrec-hd { display: flex; align-items: center; gap: 12px; }
.xrec-av { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font: 800 14px/1 var(--tight); color: #05050B; background: linear-gradient(135deg, #4DFFB8, #3DD8FF); }
.xrec-id { flex: 1; min-width: 0; display: grid; gap: 3px; }
.xrec-id b { font: 700 16px/1.2 var(--tight); }
.xrec-id span { font-size: 12.5px; color: var(--mute); }
.xrec-mid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; align-items: center; margin: 20px 0 18px; }
.xrec-ring { position: relative; width: 132px; height: 132px; }
.xrec-ring svg { position: absolute; inset: 0; }
.xrec-ring > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.xrec-ring b { font: 900 34px/1 var(--tight); }
.xrec-ring span { font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
.xrec-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 0; }
.xrec-kv div { display: grid; gap: 2px; min-width: 0; }
.xrec-kv dt { font: 600 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.xrec-kv dd { margin: 4px 0 0; font: 800 19px/1.1 var(--tight); }
.xrec-kv small { font-size: 12px; color: var(--mute); }
.xrec-tl { padding: 14px 14px 10px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.xrec-bars { height: 70px; display: flex; align-items: flex-end; gap: 8px; }
.xrec-bars i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, #4DFFB8, rgba(77, 255, 184, .35)); }
.xrec-bars i.open { background: repeating-linear-gradient(135deg, rgba(61, 216, 255, .9) 0 5px, rgba(61, 216, 255, .45) 5px 10px); }
.xrec-axis { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; font: 500 11px/1 var(--mono); color: var(--mute); }
.xrec-axis i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin: 0 4px 0 8px; vertical-align: -1px; }
.xrec-axis .k-ok { background: #4DFFB8; } .xrec-axis .k-open { background: #3DD8FF; }
.xrec-ft { margin: 14px 0 0; font-size: 12.5px; color: var(--mute); }
.xrec-ft a { color: var(--text); border-bottom: 1px solid var(--line-3); }
/* hero with a picture on the right (board) and the plain-words section (homepage) */
.phero-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.what { align-items: center; gap: clamp(32px, 5vw, 72px); }
.steps3 { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 18px; }
.steps3 li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; color: var(--dim); font-size: 15.5px; line-height: 1.55; }
.steps3 li > span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 16px/1 var(--tight); color: #05050B; background: var(--nova); }
.steps3 b { display: block; color: var(--text); font: 700 17px/1.3 var(--tight); margin-bottom: 4px; }
@media (max-width: 980px) {
  .phero-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .xrec { padding: 18px; }
  .xrec-mid { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .xrec-kv { width: 100%; }
  .tape-i { padding: 6px 14px 6px 6px; }
}

/* ---------- Nova's crew on every page (js/companion.js) ---------- */
/* the companion in the corner */
.buddy { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 58; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; transition: opacity .25s, transform .25s; }
.buddy > * { pointer-events: auto; }
.buddy-me { position: relative; display: flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.buddy-tag { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(12, 12, 20, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font: 600 13.5px/1 var(--sans); transition: border-color .2s; }
.buddy-me:hover .buddy-tag { border-color: var(--line-3); }
.buddy-bod { display: block; transform-origin: 50% 100%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)) drop-shadow(0 0 16px rgba(139, 108, 255, .28)); animation: buddy-bob 3.6s ease-in-out infinite; }
.buddy-bod svg { display: block; }
.buddy-bod.think { animation-duration: 1.1s; }
.buddy-me:hover .buddy-bod { animation: buddy-wiggle .6s ease-in-out; }
.buddy.hop .buddy-bod { animation: buddy-hop .75s cubic-bezier(.3, .6, .3, 1.3); }
.buddy-me:focus-visible { outline: none; }
.buddy-me:focus-visible .buddy-bod { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 22px; }
.buddy-dot { position: absolute; right: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--rose); border: 2px solid var(--void); }
.buddy-say { position: relative; width: min(320px, calc(100vw - 28px)); padding: 15px 15px 14px; border-radius: 20px 20px 6px 20px; background: #E4E5EB; color: #14141C; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); transform-origin: 100% 100%; animation: buddy-in .35s cubic-bezier(.2, .8, .2, 1); }
.buddy-say p { margin: 0 26px 12px 0; font-size: 14px; line-height: 1.5; color: #3B3D4F; }
.buddy-say p b { display: block; margin-bottom: 4px; font: 800 15px/1.2 var(--tight); color: #0B0B13; }
.buddy-chips { display: flex; flex-direction: column; gap: 6px; }
.buddy-chips button { padding: 9px 12px; border-radius: 12px; border: 1px solid #CACBD4; background: #EEEFF3; color: #14141C; font: 500 13.5px/1.35 var(--sans); text-align: left; cursor: pointer; }
.buddy-chips button:hover { border-color: var(--violet); }
.buddy-x { position: absolute; top: 9px; right: 9px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #5E6176; cursor: pointer; }
.buddy-x:hover { background: #D0D1D9; color: #14141C; }
html.crew-seen .buddy { opacity: 0; transform: translateY(14px); }
html.crew-seen .buddy > * { pointer-events: none; }
@keyframes buddy-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes buddy-hop { 0% { transform: none; } 25% { transform: scale(1.1, .86); } 55% { transform: translateY(-18px) scale(.94, 1.07); } 80% { transform: scale(1.05, .95); } 100% { transform: none; } }
@keyframes buddy-wiggle { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-8deg); } 65% { transform: rotate(6deg); } }
@keyframes buddy-in { from { opacity: 0; transform: translateY(10px) scale(.95); } }
@media (max-width: 560px) {
  .buddy { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .buddy-tag { display: none; }
  .buddy-bod svg { width: 54px; height: 54px; }
  /* on a phone the hello is short and out of the way: a tap on it opens the chat */
  .buddy-say { width: min(270px, calc(100vw - 96px)); padding: 12px 40px 12px 14px; margin-right: 6px; cursor: pointer; }
  .buddy-say p { margin: 0; font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .buddy-say p b { font-size: 14px; }
  .buddy-chips { display: none; }
  .buddy-x { top: 6px; right: 6px; }
}
@media (prefers-reduced-motion: reduce) { .buddy-bod, .buddy.hop .buddy-bod, .buddy-me:hover .buddy-bod, .buddy-say { animation: none; } }

/* the chat it opens: the .ask panel, with the crew to pick from */
.ask-face { flex: none; }
.ask-face svg, .ask-av svg { display: block; }
.ask-crew { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 2px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.ask-cm { width: 100%; max-width: 42px; aspect-ratio: 1; justify-self: center; display: grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 12px; background: transparent; opacity: .55; cursor: pointer; transition: opacity .2s, transform .2s, background .2s; }
.ask-cm:hover { opacity: 1; transform: translateY(-2px); }
.ask-cm.on { opacity: 1; border-color: var(--line-2); background: rgba(255, 255, 255, .08); }
.ask-cm svg { display: block; }
.ask-av { flex: none; margin-top: 1px; }
.ask-mb { flex: 1; min-width: 0; }

/* the guide under each page title */
.guide { display: flex; align-items: center; gap: 14px; max-width: 580px; margin-top: 26px; padding: 12px 14px 12px 12px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .035); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.guide-f { flex: none; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .25s; }
.guide-f:hover { transform: rotate(-7deg) scale(1.06); }
.guide-f svg { display: block; }
.guide p { flex: 1; min-width: 0; margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--dim); }
.guide p b { font: 800 15px/1.2 var(--tight); color: var(--text); }
.guide p span { margin-left: 4px; font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.guide-ask { flex: none; height: 36px; padding: 0 15px; border: 0; border-radius: 999px; background: #fff; color: #05050B; font: 600 13px/1 var(--sans); cursor: pointer; }
.phero-split .guide { max-width: 520px; }
@media (max-width: 560px) {
  .guide { flex-wrap: wrap; }
  .guide p span { display: block; margin: 4px 0 2px; }
  .guide-ask { width: 100%; }
}

/* a crew member's note inside a page */
.note { display: flex; align-items: flex-start; gap: 14px; margin-top: 22px; }
.note-f { flex: none; padding-top: 2px; }
.note-f svg { display: block; }
.note-b { flex: 1; min-width: 0; padding: 13px 16px 14px; border: 1px solid var(--line); border-radius: 6px 18px 18px 18px; background: rgba(255, 255, 255, .045); color: var(--dim); font-size: 14.5px; line-height: 1.55; }
.note-b p { margin: 0; }
.note-who { display: flex; align-items: baseline; gap: 8px; margin-bottom: 4px; font: 800 15px/1.2 var(--tight); color: var(--text); }
.note-who span { font: 500 10.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.note-ask { display: inline-block; margin-top: 8px; padding: 4px 0; border: 0; background: none; color: var(--cyan); font: 600 13.5px/1.2 var(--sans); cursor: pointer; }
.note-ask:hover { text-decoration: underline; text-underline-offset: 3px; }

/* faces in eyebrows, card icons, empty tables, the 404 */
.eyebrow[data-face]::before { display: none; }
.eyebrow > .cf { flex: none; margin: -4px 0; }
.ico[data-face] { border: 0; background: none; box-shadow: none; }
.ico[data-face] svg { width: auto; height: auto; }
.empty[data-face] > .cf { display: block; margin: 0 auto 12px; }
.lost-f { display: block; width: 150px; margin: 0 auto 26px; filter: drop-shadow(0 0 40px rgba(61, 216, 255, .3)); animation: buddy-bob 3.6s ease-in-out infinite; }
.lost-f svg { display: block; }
@media (prefers-reduced-motion: reduce) { .lost-f { animation: none; } }

/* the crew in the footer, and on the brand page */
.ft-crew { margin-top: 22px; }
.ft-crew p { margin: 0 0 10px; font-size: 13px; color: var(--mute); }
.ft-crew p a { color: var(--dim); border-bottom: 1px solid var(--line-2); }
.ft-crew p a:hover { color: #fff; }
.ft-row { display: flex; flex-wrap: wrap; gap: 2px; margin-left: -4px; }
.ft-face { padding: 4px; border: 0; border-radius: 12px; background: none; cursor: pointer; transition: transform .2s; }
.ft-face:hover { transform: translateY(-4px) rotate(-6deg); }
.ft-face svg { display: block; }
@media (max-width: 560px) { .ft-row { gap: 0; } .ft-face { padding: 3px; } .ft-face svg { width: 34px; height: 34px; } }
.crew-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.crew-card h3 { margin: 12px 0 2px; }
.crew-card p { margin: 0; }
.crew-card .crew-card-k { display: flex; flex-direction: column; margin: 8px 0 12px; font: 500 12px/1.6 var(--mono); color: var(--mute); }

/* ---------- the /launches dashboard (js/launches.js) ---------- */
.launch-ini { background: linear-gradient(118deg, #FFC24B, #4DFFB8 38%, #3DD8FF 64%, #8B6CFF); color: #05050B; font: 800 12px/1 var(--tight); letter-spacing: .02em; }
.launch-ca { cursor: pointer; font-family: var(--mono); font-size: 12px; }
.launch-ca:hover { border-color: var(--line-3); color: #fff; }
.launch-table td { vertical-align: middle; white-space: nowrap; }
@media (max-width: 560px) { .launch-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .launch-stats .stat { padding: 18px; } .launch-stats .stat .v { font-size: 30px; } .launch-stats .stat .n { font-size: 12.5px; } }
.launch-empty { display: flex; align-items: center; gap: 18px; padding: 26px; border: 1px dashed var(--line-2); border-radius: 20px; }
.launch-empty p { margin: 0; color: var(--dim); }
@media (max-width: 560px) { .launch-empty { flex-direction: column; text-align: center; } }
/* the homepage's news link above the hero title */
.hero-news { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 7px 14px 7px 7px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(12, 12, 20, .55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-size: 14px; color: var(--text); transition: border-color .2s; }
.hero-news:hover { border-color: var(--line-3); }
.hero-news b { padding: 4px 9px; border-radius: 999px; background: linear-gradient(118deg, #FFC24B, #4DFFB8 38%, #3DD8FF 64%, #8B6CFF); color: #05050B; font: 700 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

