:root {
  --bg: #07080c;
  --bg-2: #0c0e14;
  --card: #10131a;
  --card-2: #141822;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f6fb;
  --muted: #9aa1b4;
  --faint: #6f7688;
  --blue: #3a6cf0;
  --blue-2: #4d7cf3;
  --danger: #ff5d73;
  --ok: #3dd68c;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --nav: 64px;
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
html.reduce-motion { scroll-behavior: auto; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 78%);
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
img { max-width: 100%; display: block; }
::selection { background: rgba(58, 108, 240, 0.35); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
body.lock { overflow: hidden; }

.mark { height: 18px; width: auto; }
h1, h2, h3, p { margin: 0; }
h1 {
  font-size: clamp(40px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.038em;
  line-height: 1.04;
  max-width: 11ch;
}
h2 {
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.032em;
  text-align: center;
}
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--nav);
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 16px 0 18px;
  background: rgba(7, 8, 12, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.nav-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-right: 6px;
  border-radius: 8px;
}
.nav-logo:hover { background: rgba(255, 255, 255, 0.04); }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > button,
.menu > button,
.mobile-panel button {
  color: rgba(236, 239, 246, 0.86);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 9px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.nav-links > button:hover,
.menu > button:hover,
.mobile-panel button:hover,
.nav-links > button[aria-current="page"] {
  background: rgba(255, 255, 255, 0.05);
  color: white;
}
.chev { width: 12px; height: 12px; opacity: 0.7; }
.nav-spacer { flex: 1; }
.nav-right { display: flex; align-items: center; gap: 8px; }
.search-btn {
  height: 34px;
  min-width: 268px;
  border-radius: 9px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 12px;
  font-size: 13px;
}
.search-btn:hover { border-color: rgba(255, 255, 255, 0.22); color: #c5cad6; }
.search-btn svg { flex: none; opacity: 0.8; }
.search-btn kbd {
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom-width: 2px;
  border-radius: 5px;
  padding: 0 6px;
  font-family: inherit;
  font-size: 11px;
  color: #b4bacc;
}
.btn-quiet { color: #eceff6; font-size: 13.5px; font-weight: 500; padding: 7px 8px; border-radius: 8px; }
.btn-quiet:hover { background: rgba(255, 255, 255, 0.05); }
.btn-blue, .btn-white, .btn-ghost, .btn-soft {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), transform 0.18s var(--ease);
}
.btn-blue { background: var(--blue); color: white; }
.btn-blue:hover { background: var(--blue-2); }
.btn-white { background: white; color: #101218; }
.btn-white:hover { background: #f3f4f6; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.16); color: white; background: rgba(255, 255, 255, 0.02); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-soft { background: rgba(255, 255, 255, 0.06); color: white; }
.btn-soft:hover { background: rgba(255, 255, 255, 0.1); }
.btn-blue:active, .btn-white:active, .btn-ghost:active, .btn-soft:active { transform: translateY(1px); }
.lg { height: 40px; padding: 0 16px; font-size: 14px; }
.wide { width: 100%; }
.user-chip {
  height: 34px;
  padding: 0 10px 0 4px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
}
.user-chip:hover { background: rgba(255, 255, 255, 0.04); }
.avatar, .ava {
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(180deg, #79a6ff, #3a6cf0);
  color: white; font-size: 11px; font-weight: 650; flex: none;
}
.account-line { padding: 8px 10px 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.account-line b { display: block; font-weight: 560; font-size: 13px; }
.account-line span { color: var(--muted); font-size: 12px; }
.icon-btn, .burger {
  width: 34px; height: 34px; border-radius: 8px;
  display: grid; place-items: center; color: #d7dbe6;
}
.icon-btn:hover, .burger:hover { background: rgba(255, 255, 255, 0.06); }
.burger { display: none; }
.menu { position: relative; }
.pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 200px;
  padding: 6px;
  background: #141821;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 50;
}
.pop.right { left: auto; right: 0; }
.pop button, .pop a {
  display: flex;
  width: 100%;
  text-align: left;
  padding: 9px 10px;
  border-radius: 8px;
  color: #e6e9f2;
  font-size: 13.5px;
  text-decoration: none;
}
.pop button:hover { background: rgba(255, 255, 255, 0.05); }
.mobile-panel {
  position: fixed;
  z-index: 39;
  top: var(--nav);
  left: 0; right: 0;
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: rgba(8, 9, 14, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.hero-screen { min-height: 100vh; display: flex; flex-direction: column; padding-top: var(--nav); }
.hero {
  flex: 1;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(500px, 560px) minmax(0, 1fr);
  align-items: center;
  padding: 10px 0 8px 56px;
}
.hero-copy { display: flex; flex-direction: column; min-height: 480px; padding: 28px 0 8px; animation: rise 0.6s var(--ease) both; }
.wordmark { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.wordmark img { height: 34px; width: auto; }
.wordmark strong { font-size: 20px; font-weight: 620; letter-spacing: 0.2em; }
.hero-actions { display: flex; gap: 10px; margin-top: 26px; }
.stats { margin-top: auto; display: flex; gap: 0; padding-top: 36px; }
.stat { padding-right: 28px; margin-right: 28px; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.stat:last-child { border: 0; margin: 0; padding: 0; }
.stat span { display: block; max-width: 96px; color: var(--muted); font-size: 12.5px; line-height: 1.35; margin-bottom: 8px; }
.stat b { font-size: 20px; font-weight: 520; letter-spacing: -0.03em; white-space: nowrap; }

.hero-stage { position: relative; height: 100%; min-height: 540px; overflow: hidden; }
.appwin-wrap {
  position: absolute;
  left: 12px; right: -72px; top: 18px; bottom: 18px;
  display: flex; align-items: center;
  animation: rise 0.7s var(--ease) 0.06s both;
}
.appwin {
  height: min(640px, 100%);
  width: 100%;
  background: linear-gradient(180deg, #12141c, #0c0e14 80px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.aw-top, .aw-bottom {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
}
.aw-bottom { border-bottom: 0; border-top: 1px solid var(--line); color: var(--muted); }
.aw-brand { display: flex; align-items: center; gap: 6px; font-weight: 650; letter-spacing: 0.08em; font-size: 10px; }
.aw-brand img { height: 12px; }
.aw-links { display: flex; gap: 2px; }
.aw-links button, .tiny {
  color: #c5cad6; font-size: 11px; padding: 4px 6px; border-radius: 6px;
}
.aw-links button:hover, .tiny:hover { background: rgba(255, 255, 255, 0.05); color: white; }
.aw-search {
  margin-left: auto;
  height: 26px; min-width: 180px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
  color: var(--faint);
  display: flex; align-items: center; padding: 0 8px; font-size: 11px;
}
.aw-body { flex: 1; display: grid; grid-template-columns: 230px minmax(0, 1fr) 230px; min-height: 0; }
.aw-col { border-right: 1px solid var(--line); padding: 12px; overflow: hidden; }
.aw-col:last-child { border-right: 0; }
.kicker { font-size: 10px; letter-spacing: 0.12em; color: var(--faint); font-weight: 650; }
.aw-title { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 10px; }
.aw-title b { font-size: 13px; font-weight: 580; }
.metric { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; color: var(--muted); padding: 3px 0; }
.metric b { color: var(--text); font-weight: 540; }
.ent {
  width: 100%;
  display: flex; align-items: center; gap: 8px;
  text-align: left;
  padding: 6px; border-radius: 8px; margin-top: 2px;
}
.ent:hover, .ent.on { background: rgba(58, 108, 240, 0.12); }
.dot { width: 16px; height: 16px; border-radius: 50%; flex: none; display: grid; place-items: center; font-size: 8px; font-weight: 700; }
.ent small { display: block; color: var(--faint); font-size: 10px; }
.ent b { display: block; font-size: 11px; font-weight: 560; }
.ent em { margin-left: auto; font-style: normal; font-size: 10px; color: var(--muted); }
.graph-wrap { height: 100%; display: grid; place-items: center; position: relative; }
.graph { width: min(100%, 460px); transition: transform 0.25s var(--ease); }
.gnode {
  fill: #171b25; stroke: rgba(255, 255, 255, 0.14);
}
.edge { fill: none; stroke: rgba(170, 188, 230, 0.55); stroke-width: 1.4; }
.edge.off { opacity: 0; }
.aw-side h4 { font-size: 12px; font-weight: 580; margin: 2px 0 8px; }
.side-actions { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.side-actions button {
  height: 26px; border-radius: 7px; border: 1px solid var(--line-strong);
  font-size: 11px; color: #d5d9e4;
}
.side-actions button:hover { background: rgba(255, 255, 255, 0.04); }
.tmini { width: 100%; border-collapse: collapse; font-size: 10px; color: var(--muted); }
.tmini th { text-align: left; font-weight: 550; color: var(--faint); padding-bottom: 6px; }
.tmini td { padding: 4px 4px 4px 0; }
.zoom { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.pill-on { background: rgba(58, 108, 240, 0.18); color: white; border-radius: 99px; padding: 3px 8px; }

.teams { padding: 6px 40px 28px; }
.teams > p { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 16px; }
.teams-row {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.logo-btn { color: rgba(255, 255, 255, 0.78); opacity: 0.85; transition: opacity 0.18s ease; }
.logo-btn:hover { opacity: 1; }
.seal { width: 34px; height: 34px; }
.sq {
  width: 28px; height: 28px; border-radius: 6px;
  background: #1a1d27; display: grid; place-items: center;
  border: 1px solid var(--line);
}
.sq img { height: 12px; }
.wm { font-weight: 650; letter-spacing: -0.03em; font-size: 16px; white-space: nowrap; }
.wm-jpm { font-size: 15px; font-weight: 600; }
.wm-jpm span { font-weight: 500; }
.wm-coin { font-weight: 560; letter-spacing: -0.04em; font-size: 20px; }
.wm-kraken { letter-spacing: 0.16em; font-size: 13px; font-weight: 750; }
.wm-nasdaq { font-style: italic; font-weight: 700; letter-spacing: -0.03em; font-size: 20px; }
.wm-rh { font-weight: 620; font-size: 16px; }
.wm-del { font-weight: 720; letter-spacing: -0.04em; font-size: 18px; }
.wm-sp { font-size: 15px; font-weight: 700; }
.wm-sp span { font-weight: 500; font-size: 13px; }

.section { padding: 88px 28px 10px; position: relative; scroll-margin-top: 84px; }
.sub {
  text-align: center; color: var(--muted); max-width: 640px; margin: 12px auto 0;
  font-size: 14.5px; line-height: 1.55;
}
.sub b { color: var(--text); font-weight: 560; }
.tabs { display: flex; justify-content: center; gap: 6px; margin: 22px 0 16px; flex-wrap: wrap; }
.tab {
  height: 34px; padding: 0 14px; border-radius: 999px;
  color: var(--muted); font-size: 13.5px; font-weight: 520;
}
.tab.on { background: white; color: #12141a; }
.tab:not(.on):hover { color: white; }
.panel {
  max-width: 1100px; margin: 0 auto;
  background: rgba(12, 14, 20, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 18px 18px;
}
.flow {
  min-height: 280px;
  display: flex; align-items: center; justify-content: center;
  gap: 22px; padding: 36px 28px 8px;
}
.ghost-node { width: 54px; height: 36px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.02); }
.wire { width: 70px; height: 90px; flex: none; }
.person, .venue {
  background: #161a24;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  text-align: left;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.person:hover, .venue:hover { border-color: rgba(255, 255, 255, 0.28); transform: translateY(-1px); }
.person b, .venue b { display: block; font-size: 13px; font-weight: 580; }
.person span, .venue span { color: var(--muted); font-size: 12px; }
.venue-col { display: flex; flex-direction: column; gap: 8px; }
.amt {
  align-self: flex-start;
  background: #1c212d; border: 1px solid var(--line);
  border-radius: 8px; padding: 4px 8px; font-size: 11px; color: #d5d9e4;
}
.amt small { display: block; color: var(--faint); font-size: 10px; }
.ico {
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  font-weight: 750; font-size: 13px; flex: none;
}
.cb { background: #1652f0; }
.bn { background: #f0b90b; color: #1a1a1a; }
.rd { background: #e5484d; }
.gn { background: #1f8a5b; }
.pp { background: #6d5efc; }
.canvas-copy { padding: 8px 28px 22px; max-width: 560px; }
.canvas-copy h3 { font-size: 16px; font-weight: 560; margin-bottom: 4px; }
.canvas-copy p { color: var(--muted); font-size: 13.5px; }
.split { max-width: 1100px; margin: 14px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.card {
  background: #0e1117;
  border: 1px solid var(--line);
  border-radius: 16px;
  position: relative;
}
.case-card, .filter-card { padding: 16px; min-height: 196px; }
.open-pill {
  display: inline-flex; height: 22px; padding: 0 8px; border-radius: 7px;
  background: rgba(58, 108, 240, 0.16); color: #9eb6ff; font-size: 11px; font-weight: 600;
}
.case-card h3, .below h3 { font-size: 18px; font-weight: 540; letter-spacing: -0.02em; margin: 18px 0 4px; }
.case-meta { color: var(--muted); font-size: 13px; }
.case-icons { display: flex; gap: 12px; color: var(--faint); font-size: 12px; margin-top: 22px; }
.contributors {
  position: absolute; right: 16px; top: 48px; width: 158px;
  background: #1a1e29; border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 8px; box-shadow: var(--shadow);
}
.contributors span { display: block; font-size: 9px; letter-spacing: 0.12em; color: var(--faint); padding: 2px 6px 6px; }
.contributors button {
  width: 100%; display: flex; align-items: center; gap: 8px;
  padding: 5px 6px; border-radius: 8px; font-size: 12.5px; text-align: left;
}
.contributors button:hover { background: rgba(255, 255, 255, 0.05); }
.ava.sm { width: 18px; height: 18px; font-size: 8px; }
.ava.a { background: #3a6cf0; }
.ava.b { background: #8b5cf6; }
.ava.c { background: #e25b45; }
.seg { display: flex; gap: 6px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.seg button {
  height: 26px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); font-size: 12px;
}
.seg button.on { background: white; color: #141820; border-color: white; }
.trow {
  display: grid; grid-template-columns: 42px 1fr 1fr auto auto;
  gap: 8px; align-items: center;
  font-size: 12px; color: #c9ceda; padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.trow b { font-weight: 580; }
.below { padding: 14px 4px 0; }
.below p { color: var(--muted); font-size: 13.5px; max-width: 360px; }
.center-note { text-align: center; color: var(--muted); margin: 28px auto 18px; font-size: 14.5px; }
.center-actions { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }

.bento {
  max-width: 1120px; margin: 28px auto 0;
  display: grid; grid-template-columns: 320px 1fr; gap: 14px;
}
.stack { display: flex; flex-direction: column; gap: 14px; }
.stack .card, .chart-card { padding: 16px; }
.big { font-size: 28px; font-weight: 520; letter-spacing: -0.04em; margin-top: 4px; }
.chains { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 12px; }
.chain {
  aspect-ratio: 1; border-radius: 8px; display: grid; place-items: center;
  font-size: 8px; font-weight: 750; color: white; border: 1px solid transparent;
}
.chain.on { outline: 2px solid white; outline-offset: 1px; }
.chain-note { margin-top: 8px; min-height: 16px; font-size: 12px; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tag, .chip {
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  color: #d0d4e0; border-radius: 999px; padding: 4px 8px; font-size: 11px;
}
.tag.on, .chip.on { background: rgba(58, 108, 240, 0.16); border-color: rgba(126, 162, 255, 0.45); color: white; }
.tag:hover, .chip:hover { border-color: rgba(255, 255, 255, 0.2); }
.pred-head { display: flex; justify-content: space-between; align-items: center; }
.mrow {
  width: 100%; display: flex; align-items: center; gap: 8px;
  text-align: left; padding: 8px 0; color: #d7dbe6; font-size: 12.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.mrow:hover { color: white; }
.bullet { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.voted { margin-left: auto; color: #9eb6ff; font-size: 11px; }
.chart-card { display: flex; flex-direction: column; min-height: 520px; position: relative; background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px); background-size: 16px 16px; }
.legend { position: absolute; top: 18px; left: 18px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.legend button { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.legend button.off { opacity: 0.35; }
.swatch { width: 28px; height: 3px; border-radius: 99px; margin-bottom: 4px; }
.legend small { color: var(--faint); font-size: 10px; letter-spacing: 0.08em; }
.legend b { font-size: 18px; font-weight: 540; letter-spacing: -0.03em; }
.chart { width: 100%; flex: 1; min-height: 280px; }
.series.off { opacity: 0; }

.suite-head {
  max-width: 1120px; margin: 0 auto 16px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.suite-head h2 { text-align: left; }
.suite-head p { color: var(--muted); margin-top: 6px; font-size: 14.5px; }
.arrows { display: flex; gap: 8px; }
.arrow {
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--line-strong); color: white;
  display: grid; place-items: center;
}
.arrow:hover:not(:disabled) { background: rgba(255, 255, 255, 0.06); }
.arrow:disabled { opacity: 0.35; cursor: default; }
.carousel-window { max-width: 1120px; margin: 0 auto; overflow: hidden; }
.carousel-track { display: flex; gap: 14px; transition: transform 0.45s var(--ease); }
.pcard {
  flex: 0 0 270px; text-align: left;
  background: #0e1117; border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.pcard:hover { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-2px); }
.art { height: 168px; background: #0b0d13; position: relative; padding: 14px; overflow: hidden; }
.art-card {
  background: #141824; border: 1px solid var(--line); border-radius: 12px; padding: 12px; height: 100%;
}
.art h4 { font-size: 14px; margin: 10px 0 4px; }
.art p, .art li { color: var(--muted); font-size: 11px; }
.risk-badge { display: inline-flex; gap: 6px; align-items: center; background: rgba(255, 93, 115, 0.12); color: #ff8b9a; border-radius: 99px; padding: 3px 8px; font-size: 11px; }
.hat { font-size: 22px; }
.pcard-body { padding: 14px 14px 16px; }
.pcard-body h3 { font-size: 15px; font-weight: 560; margin-bottom: 6px; }
.pcard-body p { color: var(--muted); font-size: 13px; line-height: 1.45; }
.faces { display: flex; }
.faces span {
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  margin-right: -6px; border: 2px solid #0b0d13; font-size: 10px; font-weight: 700;
}

.faq { max-width: 760px; margin: 22px auto 0; display: flex; flex-direction: column; gap: 10px; }
.faq-item { background: #12141c; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.04); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  text-align: left; padding: 16px 18px; font-size: 14.5px; font-weight: 530;
}
.faq-q i { font-style: normal; color: var(--muted); font-size: 18px; }
.faq-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.28s var(--ease); }
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-panel > div { overflow: hidden; }
.faq-a { padding: 0 18px 16px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.text-link { color: white; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

.footer { padding: 54px 28px 40px; }
.footer-in {
  max-width: 1120px; margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  border-top: 1px solid var(--line); padding-top: 22px;
  color: var(--muted); font-size: 13px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; color: white; font-weight: 620; letter-spacing: 0.14em; font-size: 12px; }
.footer-links { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-links button { color: var(--muted); padding: 6px 8px; border-radius: 7px; }
.footer-links button:hover { color: white; background: rgba(255, 255, 255, 0.04); }
.footer-in span { margin-left: auto; }

.announce {
  position: fixed; right: 18px; bottom: 18px; width: 280px; z-index: 46;
  background: #12141c; border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px; padding: 10px; box-shadow: var(--shadow);
  animation: rise 0.45s var(--ease) 0.35s both;
}
.announce-x {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 6px; color: var(--muted);
}
.announce-x:hover { background: rgba(255, 255, 255, 0.06); color: white; }
.announce-art {
  height: 92px; border-radius: 10px; margin-bottom: 10px;
  background:
    radial-gradient(circle at 70% 40%, rgba(58, 108, 240, 0.35), transparent 40%),
    linear-gradient(180deg, #171b27, #10131b);
  border: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.announce-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.announce-brand { display: flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: 0.12em; color: #d5d9e4; font-weight: 680; }
.announce-brand img { height: 11px; }
.announce h3 { font-size: 12px; letter-spacing: 0.04em; margin: 8px 0 6px; font-weight: 680; }
.announce p { color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-bottom: 10px; }

.overlay {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(0, 0, 0, 0.58);
  display: grid; place-items: center; padding: 20px;
  animation: fade 0.2s ease;
}
.modal, .drawer {
  width: min(440px, 100%);
  background: #10131a;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  animation: pop 0.22s var(--ease);
  position: relative;
}
.modal.wide-modal { width: min(640px, 100%); }
.modal h3, .drawer h3 { font-size: 22px; font-weight: 540; letter-spacing: -0.03em; }
.modal .lead, .drawer .lead { color: var(--muted); margin: 6px 0 16px; font-size: 14px; }
.close-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 8px; color: var(--muted); }
.close-x:hover { background: rgba(255, 255, 255, 0.06); color: white; }
.auth-error { color: #ff8d8d; font-size: 13px; margin: 0 0 12px; }
.auth-switch { display: block; width: 100%; margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }
.auth-switch:hover { color: white; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; font-size: 13px; color: var(--muted); }
.field input, .field textarea, .field select, .bare {
  width: 100%; background: #0b0d12; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 11px 12px; outline: none;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .bare:focus { border-color: rgba(58, 108, 240, 0.85); }
.fine { margin-top: 12px; color: var(--faint); font-size: 12px; line-height: 1.45; }
.search-modal { width: min(620px, 100%); padding: 14px; }
.search-row { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; border-bottom: 1px solid var(--line); }
.search-row input { border: 0; background: transparent; padding: 8px; font-size: 16px; }
.results { max-height: 380px; overflow: auto; padding-top: 8px; }
.result, .list-row {
  width: 100%; display: flex; align-items: center; gap: 10px;
  text-align: left; padding: 10px; border-radius: 10px;
}
.result:hover, .result.active, .list-row:hover, .list-row.on { background: rgba(255, 255, 255, 0.05); }
.kind { font-size: 10px; letter-spacing: 0.08em; color: var(--faint); width: 62px; flex: none; }
.result b, .list-row b { display: block; font-weight: 560; font-size: 14px; }
.result small, .list-row small { color: var(--muted); }
.result em, .list-row em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 13px; }
.group-label { font-size: 11px; color: var(--faint); letter-spacing: 0.08em; padding: 8px 10px 4px; }
.drawer { width: min(460px, 100%); }
.timeline { display: flex; flex-direction: column; gap: 10px; margin: 8px 0 16px; }
.timeline div { padding-left: 12px; border-left: 2px solid rgba(58, 108, 240, 0.5); }
.timeline b { display: block; font-size: 13.5px; }
.timeline span { color: var(--muted); font-size: 12.5px; }
.note { background: #0b0d12; border-radius: 10px; padding: 8px 10px; margin-bottom: 8px; font-size: 13.5px; }
.inline { display: flex; gap: 8px; }
.inline input { flex: 1; }

.popover {
  position: fixed; z-index: 75; max-width: 260px;
  background: #1a1e29; border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 10px 12px; font-size: 13px; box-shadow: var(--shadow);
  animation: pop 0.16s var(--ease);
}
.toasts {
  position: fixed; z-index: 85; top: 76px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none;
}
.toast {
  background: #1b2030; border: 1px solid var(--line-strong); color: white;
  border-radius: 999px; padding: 8px 14px; font-size: 13px; box-shadow: var(--shadow);
  animation: rise 0.22s var(--ease);
}
.toast.out { opacity: 0; transform: translateY(-4px); transition: 0.2s ease; }

.screen { padding: 96px 28px 48px; animation: rise 0.35s var(--ease); }
.tool { max-width: 1120px; margin: 0 auto; }
.tool-head, .page-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-end; margin-bottom: 18px; }
.eyebrow { color: var(--faint); letter-spacing: 0.14em; font-size: 11px; font-weight: 680; margin-bottom: 6px; }
.tool h2, .page h2 { text-align: left; font-size: 34px; }
.lede { color: var(--muted); margin-top: 6px; max-width: 520px; }
.tool-actions, .row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.work {
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 14px;
}
.surface { background: #0e1117; border: 1px solid var(--line); border-radius: 16px; padding: 16px; min-height: 280px; }
.hop-row { display: flex; align-items: center; gap: 8px; overflow: auto; padding: 12px 0; }
.hop {
  min-width: 160px; text-align: left; background: #161a24; border: 1px solid var(--line-strong);
  border-radius: 12px; padding: 10px;
}
.hop.on { border-color: #8eabff; }
.hop b { display: block; font-size: 13px; }
.hop span { color: var(--muted); font-size: 12px; }
.arrow-lite { color: var(--faint); }
.markets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.market {
  text-align: left; background: #0e1117; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
.market h3 { font-size: 16px; font-weight: 540; margin-bottom: 12px; }
.yn { display: flex; gap: 8px; }
.yn button { flex: 1; height: 36px; border-radius: 9px; border: 1px solid var(--line-strong); }
.yn button.on { background: white; color: #141820; }
.page { max-width: 760px; margin: 0 auto; }
.page p { color: var(--muted); margin-top: 10px; }
.posts, .jobs { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.post, .job {
  text-align: left; background: #0e1117; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px;
}
.post:hover, .job:hover { border-color: rgba(255, 255, 255, 0.2); }
.post b, .job b { display: block; margin-bottom: 4px; }
.status-row, .alert-row {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.ok-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.switch {
  width: 38px; height: 22px; border-radius: 99px; background: #2a2f3c; position: relative; margin-left: auto; flex: none;
}
.switch span { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: white; transition: transform 0.2s var(--ease); }
.switch[aria-checked="true"] { background: var(--blue); }
.switch[aria-checked="true"] span { transform: translateX(16px); }
.setting { display: flex; align-items: center; gap: 12px; padding: 8px 2px; }
.keybox {
  margin-top: 10px; background: #0b0d12; border-radius: 10px; padding: 12px;
  display: flex; justify-content: space-between; gap: 8px; align-items: center;
  border: 1px solid var(--line);
}
.spin {
  width: 14px; height: 14px; border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.18); border-top-color: #1f1f1f;
  animation: spin 0.7s linear infinite;
}
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes pop {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 1180px) {
  .search-btn { min-width: 180px; }
  .nav-links > button, .menu > button { padding: 7px; font-size: 13px; }
  .hero { padding-left: 28px; }
}
@media (max-width: 980px) {
  .nav-links, .search-btn span, .search-btn kbd { display: none; }
  .search-btn { min-width: 0; width: 34px; padding: 0; justify-content: center; }
  .burger { display: grid; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding: 12px 20px 0; }
  .hero-copy { min-height: 0; }
  .stats { margin-top: 36px; }
  .hero-stage { min-height: 380px; }
  .appwin-wrap { width: 920px; left: 0; top: 12px; bottom: 0; }
  .bento, .split, .work, .markets { grid-template-columns: 1fr; }
  .suite-head { align-items: flex-start; }
  .teams-row { flex-wrap: wrap; justify-content: center; }
  .footer-in { flex-wrap: wrap; }
  .footer-in span { margin-left: 0; }
  .contributors { position: static; width: auto; margin-top: 12px; }
}
@media (max-width: 640px) {
  .btn-quiet { display: none; }
  .hero-actions, .center-actions, .tool-head, .page-head { flex-direction: column; align-items: stretch; }
  .announce { width: calc(100% - 24px); right: 12px; }
  .trow { grid-template-columns: 36px 1fr auto; }
  .trow span:nth-child(3) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
html.reduce-motion *, html.reduce-motion *::before, html.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
}
