:root {
  --ink: #071611;
  --ink-2: #0d211a;
  --ink-3: #17362a;
  --paper: #f3f0e8;
  --paper-2: #ebe6da;
  --card: #fffdf8;
  --white: #ffffff;
  --mint: #b9efd5;
  --mint-2: #78d8ae;
  --green: #1f7a5c;
  --green-dark: #135440;
  --lime: #d8ff79;
  --orange: #ef7652;
  --gold: #d4a84f;
  --red: #ba483a;
  --blue: #4f80d4;
  --muted: #65716a;
  --line: #d7d3c9;
  --line-dark: rgba(255, 255, 255, 0.16);
  --shadow: 0 22px 70px rgba(7, 22, 17, 0.12);
  --shadow-soft: 0 12px 32px rgba(7, 22, 17, 0.08);
  --radius: 18px;
  --radius-sm: 11px;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.drawer-open,
body.dialog-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }

.shell {
  width: min(1440px, calc(100% - 64px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -80px;
  z-index: 200;
  background: var(--lime);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus { top: 16px; }

.prototype-bar {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 24px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.prototype-bar span {
  padding: 2px 7px;
  background: var(--ink);
  color: var(--lime);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.prototype-bar p { margin: 0; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 90;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 0 32px;
  background: rgba(7, 22, 17, 0.96);
  color: var(--white);
  border-bottom: 1px solid var(--line-dark);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: -0.04em;
  box-shadow: inset 0 0 0 1px rgba(7, 22, 17, 0.16);
}

.brand-word {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.brand-word strong { font-weight: 850; }

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.desktop-nav a,
.text-link {
  padding: 9px 12px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 700;
  transition: 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.active,
.text-link:hover { color: var(--white); background: rgba(255, 255, 255, 0.08); }

.header-actions { display: flex; align-items: center; gap: 6px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: -0.01em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(216, 255, 121, 0.75); outline-offset: 2px; }
.button-small { min-height: 38px; padding-inline: 14px; }
.button-primary { background: var(--ink); color: var(--white); }
.button-primary:hover { background: var(--ink-3); }
.button-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.button-secondary:hover { background: var(--ink); color: var(--white); }
.button-ghost { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.13); }
.button-ghost:hover { background: rgba(255, 255, 255, 0.15); }
.button-dark { width: 100%; background: var(--ink); color: var(--white); }
.button-light { background: var(--lime); color: var(--ink); }
.button-outline-light { border-color: rgba(255, 255, 255, 0.5); color: var(--white); }

.menu-button {
  display: none;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: transparent;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.mobile-nav {
  position: fixed;
  inset: 106px 12px auto 12px;
  z-index: 100;
  padding: 10px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: var(--ink-2);
  color: white;
  box-shadow: var(--shadow);
}

.mobile-nav a { display: block; padding: 13px 12px; border-radius: 8px; font-weight: 750; }
.mobile-nav a:hover { background: rgba(255, 255, 255, 0.08); }

.hero {
  min-height: 640px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(440px, 0.92fr);
  align-items: center;
  gap: clamp(52px, 7vw, 110px);
  padding-block: 82px 76px;
}

.hero-copy { max-width: 780px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-dark { color: var(--muted); }

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(31, 122, 92, 0.12);
}

.hero h1 {
  margin: 23px 0 23px;
  font-family: var(--serif);
  font-size: clamp(54px, 6vw, 94px);
  line-height: 0.93;
  font-weight: 500;
  letter-spacing: -0.065em;
}

.hero-lead {
  max-width: 660px;
  margin: 0;
  color: #415048;
  font-size: clamp(18px, 1.65vw, 24px);
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.hero-search {
  max-width: 690px;
  min-height: 62px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding: 7px 7px 7px 18px;
  border: 1px solid #c7c5bb;
  border-radius: 13px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.hero-search > span { color: var(--muted); font-size: 25px; line-height: 1; }
.hero-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; }
.hero-search input::placeholder { color: #828980; }
.hero-search button { min-height: 48px; padding: 0 18px; border: 0; border-radius: 9px; background: var(--ink); color: white; cursor: pointer; font-size: 12px; font-weight: 900; }

.hero-actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

.hero-passport {
  position: relative;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(216, 255, 121, 0.16), transparent 32%),
    linear-gradient(155deg, #102a21 0%, #071611 76%);
  color: var(--white);
  box-shadow: 0 35px 90px rgba(7, 22, 17, 0.24);
}

.hero-passport::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -60px;
  bottom: -70px;
  border: 1px solid rgba(216, 255, 121, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(216, 255, 121, 0.035), 0 0 0 56px rgba(216, 255, 121, 0.025);
}

.passport-topline,
.rail-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.passport-kicker {
  color: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.verified-pill {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(185, 239, 213, 0.12);
  color: var(--mint);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.passport-identity {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 29px 0 24px;
  padding-bottom: 23px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.asset-monogram {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--mint);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 800;
}

.passport-identity h2 { margin: 0 0 2px; font-size: 23px; letter-spacing: -0.04em; }
.passport-identity p { margin: 0; color: rgba(255, 255, 255, 0.56); font-size: 11px; line-height: 1.35; }
.passport-identity > strong { font-size: 20px; letter-spacing: -0.04em; }

.truth-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.truth-grid > div {
  min-height: 76px;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
}

.truth-grid span { display: block; margin-bottom: 7px; color: rgba(255, 255, 255, 0.48); font-size: 9px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.truth-grid strong { font-size: 13px; }

.proof-chain {
  display: flex;
  align-items: flex-start;
  margin: 25px 0 22px;
}

.proof-node { width: 58px; flex: 0 0 58px; text-align: center; }
.proof-node span { width: 25px; height: 25px; display: grid; place-items: center; margin: 0 auto 7px; border-radius: 50%; font-size: 9px; font-weight: 950; }
.proof-node.complete span { background: var(--mint); color: var(--ink); }
.proof-node.watch span { background: var(--gold); color: var(--ink); }
.proof-node p { margin: 0; color: rgba(255, 255, 255, 0.56); font-size: 8px; font-weight: 700; }
.proof-line { flex: 1; height: 1px; margin-top: 12px; background: rgba(255, 255, 255, 0.18); }

.passport-note { margin: 0 0 18px; color: rgba(255, 255, 255, 0.67); font-size: 12px; line-height: 1.55; }
.passport-note strong { color: white; }
.inline-link { display: inline-flex; align-items: center; gap: 10px; color: var(--green-dark); font-size: 12px; font-weight: 900; }
.hero-passport .inline-link { position: relative; z-index: 1; color: var(--lime); }
.inline-link span { transition: transform 160ms ease; }
.inline-link:hover span { transform: translateX(3px); }

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics article { padding: 26px 28px; border-right: 1px solid var(--line); }
.metrics article:first-child { padding-left: 0; }
.metrics article:last-child { border-right: 0; }
.metrics span { display: block; color: var(--muted); font-size: 10px; font-weight: 850; letter-spacing: 0.1em; text-transform: uppercase; }
.metrics strong { display: block; margin: 6px 0 2px; font-family: var(--serif); font-size: clamp(32px, 3vw, 44px); font-weight: 600; letter-spacing: -0.055em; line-height: 1; }
.metrics small { color: var(--muted); font-size: 10px; }

.market-shell { margin-top: 82px; }

.category-bar {
  position: sticky;
  top: 72px;
  z-index: 60;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 240, 232, 0.95);
  backdrop-filter: blur(15px);
}

.category-scroll {
  width: min(1440px, calc(100% - 64px));
  margin: auto;
  display: flex;
  gap: 6px;
  padding: 11px 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar { display: none; }

.category-chip {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #59645e;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.category-chip:hover { border-color: #b9b9b0; }
.category-chip.active { background: var(--ink); color: white; }

.market-layout {
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
  padding-block: 45px 96px;
}

.board-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.board-heading h2,
.decode-section h2,
.page-hero h1,
.page-section h2,
.cta-section h2 {
  margin: 9px 0 4px;
  font-family: var(--serif);
  font-weight: 550;
  letter-spacing: -0.05em;
}

.board-heading h2 { font-size: clamp(34px, 4vw, 52px); }
.board-heading p { margin: 0; color: var(--muted); font-size: 12px; }

.board-controls { display: flex; align-items: center; gap: 8px; }
.board-controls label { color: var(--muted); font-size: 10px; font-weight: 800; }
.board-controls select { min-height: 38px; padding: 0 34px 0 12px; border: 1px solid #c8c6bd; border-radius: 8px; background: var(--card); color: var(--ink); font-size: 11px; font-weight: 750; }
.icon-button { min-height: 38px; padding: 0 11px; border: 1px solid #c8c6bd; border-radius: 8px; background: transparent; cursor: pointer; color: var(--muted); font-size: 10px; font-weight: 800; }

.asset-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.asset-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  border: 1px solid #d4d1c8;
  border-radius: 15px;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(7, 22, 17, 0.03);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.asset-card:hover { transform: translateY(-3px); border-color: #9fa79f; box-shadow: var(--shadow-soft); }
.asset-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--mint-2); opacity: 0; transition: opacity 180ms ease; }
.asset-card:hover::before { opacity: 1; }

.asset-card-top { display: grid; grid-template-columns: auto 1fr auto; align-items: start; gap: 12px; }
.asset-logo { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; background: var(--ink); color: var(--lime); font-family: var(--serif); font-size: 19px; font-weight: 800; }
.asset-title h3 { margin: 1px 0 2px; font-size: 17px; line-height: 1.2; letter-spacing: -0.035em; }
.asset-title p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.35; }
.watch-button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #d4d1c8; border-radius: 8px; background: transparent; cursor: pointer; color: var(--muted); font-size: 15px; }
.watch-button.active { border-color: var(--green); background: rgba(31, 122, 92, 0.08); color: var(--green); }

.asset-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 15px 0 14px; }
.asset-tag { padding: 4px 7px; border-radius: 999px; background: var(--paper); color: #566159; font-size: 9px; font-weight: 780; }
.asset-summary { min-height: 50px; margin: 0; color: #425047; font-size: 11px; line-height: 1.52; }

.asset-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 16px;
  border: 1px solid #e1ded6;
  border-radius: 10px;
  background: #e1ded6;
  overflow: hidden;
}

.asset-metrics > div { padding: 10px; background: #faf8f2; }
.asset-metrics span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: 0.06em; text-transform: uppercase; }
.asset-metrics strong { font-size: 12px; letter-spacing: -0.025em; }
.positive { color: var(--green); }
.negative { color: var(--red); }

.asset-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: 9px; font-weight: 850; }
.trust-badge::before { content: ""; width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; }
.trust-badge.strong { color: var(--green-dark); }
.trust-badge.strong::before { background: var(--green); }
.trust-badge.good { color: #6e6024; }
.trust-badge.good::before { background: var(--gold); }
.trust-badge.caution { color: var(--red); }
.trust-badge.caution::before { background: var(--red); }
.card-actions { display: flex; gap: 5px; }
.card-button { min-height: 31px; padding: 0 9px; border: 1px solid #cecac0; border-radius: 7px; background: transparent; cursor: pointer; font-size: 9px; font-weight: 850; }
.card-button.primary { border-color: var(--ink); background: var(--ink); color: white; }

.empty-state { padding: 60px 24px; border: 1px dashed #bbb8af; border-radius: 14px; text-align: center; }
.empty-state strong { font-family: var(--serif); font-size: 28px; }
.empty-state p { color: var(--muted); }

.intel-rail { position: sticky; top: 140px; display: grid; gap: 13px; }
.rail-card { padding: 20px; border: 1px solid #d4d1c8; border-radius: 15px; background: var(--card); }
.rail-card-head > span:first-child { color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.rail-card-head a { color: var(--green-dark); font-size: 9px; font-weight: 900; }
.signal-glyph { width: 38px; height: 38px; display: grid; place-items: center; margin: 25px 0 13px; border-radius: 50%; background: var(--mint); color: var(--green-dark); font-size: 18px; font-weight: 900; }
.signal-type { margin: 0 0 5px; color: var(--green-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.08em; }
.rail-card h3 { margin: 0 0 10px; font-size: 18px; line-height: 1.25; letter-spacing: -0.04em; }
.rail-card > p:not(.signal-type) { color: var(--muted); font-size: 10px; line-height: 1.55; }
.rail-card .inline-link { margin-top: 8px; }

.live-label { display: inline-flex; align-items: center; gap: 5px; color: var(--green-dark) !important; }
.live-label i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(31, 122, 92, 0.1); }
.evidence-card h3 { margin-top: 19px; }
.evidence-meter { height: 6px; margin: 12px 0 20px; overflow: hidden; border-radius: 99px; background: var(--paper-2); }
.evidence-meter span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.evidence-list { list-style: none; padding: 0; margin: 0; }
.evidence-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid #e7e3da; }
.evidence-icon { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 900; }
.evidence-icon.verified { background: rgba(31, 122, 92, 0.09); color: var(--green); }
.evidence-icon.watch { background: rgba(212, 168, 79, 0.13); color: #80681f; }
.evidence-list strong, .evidence-list small { display: block; }
.evidence-list strong { font-size: 10px; }
.evidence-list small { color: var(--muted); font-size: 8px; }

.wever-card { background: var(--mint); border-color: #8bd2b0; }
.powered-label { display: inline-block; margin-bottom: 18px; color: var(--green-dark); font-size: 9px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.wever-card h3 { font-size: 22px; }
.wever-card > p { color: #315d4a !important; }

.decode-section { padding-block: 92px; border-top: 1px solid var(--line); }
.decode-section > div:first-child { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.decode-section h2 { max-width: 900px; font-size: clamp(38px, 5.5vw, 72px); line-height: 1.02; }
.decode-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 58px; }
.decode-grid article { min-height: 220px; padding: 20px; border-top: 2px solid var(--ink); background: rgba(255, 255, 255, 0.32); }
.decode-grid article > span { color: var(--green); font-size: 10px; font-weight: 900; }
.decode-grid h3 { margin: 48px 0 10px; font-size: 17px; letter-spacing: -0.035em; }
.decode-grid p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.6; }

.cta-section { padding: 75px 0; background: var(--ink); color: var(--white); }
.cta-inner { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.cta-section .eyebrow { color: var(--mint); }
.cta-section h2 { max-width: 800px; font-size: clamp(36px, 4.5vw, 62px); line-height: 1.04; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 9px; }

.footer { padding: 70px 0 25px; background: #04100c; color: white; }
.footer-grid { display: grid; grid-template-columns: 2.1fr 0.7fr 0.8fr 1.2fr; gap: 45px; }
.footer-brand { margin-bottom: 18px; }
.footer-grid > div > p { max-width: 420px; margin: 0; color: rgba(255, 255, 255, 0.48); font-size: 11px; line-height: 1.6; }
.footer-grid > div > strong { display: block; margin-bottom: 15px; color: var(--mint); font-size: 9px; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.footer-grid > div > a:not(.brand) { display: block; margin: 9px 0; color: rgba(255, 255, 255, 0.62); font-size: 11px; font-weight: 700; }
.footer-grid > div > a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); color: rgba(255, 255, 255, 0.35); font-size: 9px; }

.drawer-backdrop { position: fixed; inset: 0; z-index: 110; background: rgba(4, 16, 12, 0.58); backdrop-filter: blur(3px); }
.asset-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  width: min(600px, 100%);
  height: 100dvh;
  padding: 25px 30px 60px;
  overflow-y: auto;
  background: var(--card);
  box-shadow: -30px 0 90px rgba(7, 22, 17, 0.24);
  transform: translateX(102%);
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.asset-drawer.open { transform: translateX(0); }
.drawer-close, .dialog-close { margin-left: auto; display: block; min-height: 34px; padding: 0 10px; border: 1px solid #cecac0; border-radius: 8px; background: transparent; cursor: pointer; color: var(--muted); font-size: 10px; font-weight: 850; }
.drawer-hero { margin-top: 24px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.drawer-hero .asset-logo { width: 54px; height: 54px; margin-bottom: 20px; font-size: 25px; }
.drawer-hero h2 { margin: 0 0 5px; font-family: var(--serif); font-size: 44px; font-weight: 600; letter-spacing: -0.055em; }
.drawer-hero > p { margin: 0; color: var(--muted); font-size: 12px; }
.drawer-section { padding: 25px 0; border-bottom: 1px solid var(--line); }
.drawer-section h3 { margin: 0 0 12px; font-size: 11px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.drawer-section p { margin: 0; color: #3f4c44; font-size: 12px; line-height: 1.65; }
.drawer-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.drawer-facts div { padding: 12px; border-radius: 9px; background: var(--paper); }
.drawer-facts span { display: block; color: var(--muted); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.07em; }
.drawer-facts strong { display: block; margin-top: 4px; font-size: 11px; }
.risk-list, .source-list { margin: 0; padding: 0; list-style: none; }
.risk-list li { position: relative; margin: 9px 0; padding-left: 16px; color: #48534c; font-size: 11px; }
.risk-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.drawer-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 24px; }

.auth-dialog { width: min(450px, calc(100% - 28px)); padding: 30px; border: 0; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: var(--shadow); }
.auth-dialog::backdrop { background: rgba(4, 16, 12, 0.68); backdrop-filter: blur(4px); }
.auth-dialog .brand-mark { margin: 20px 0 15px; }
.auth-dialog h2 { margin: 0; font-family: var(--serif); font-size: 34px; letter-spacing: -0.05em; }
.auth-dialog > p { color: var(--muted); font-size: 12px; }
.auth-dialog label { display: grid; gap: 7px; margin: 20px 0 12px; font-size: 10px; font-weight: 850; }
.auth-dialog input { min-height: 48px; padding: 0 13px; border: 1px solid #c8c6bd; border-radius: 9px; background: white; }
.auth-dialog form .button { width: 100%; }
.auth-dialog small { display: block; margin-top: 12px; color: var(--muted); font-size: 9px; line-height: 1.5; }

/* Shared interior page styles */
.page-main { min-height: 70vh; }
.page-hero { padding: 78px 0 55px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); gap: 70px; align-items: end; }
.page-hero h1 { max-width: 960px; font-size: clamp(52px, 7vw, 90px); line-height: 0.96; }
.page-hero p { max-width: 690px; margin: 18px 0 0; color: var(--muted); font-size: 17px; line-height: 1.55; }
.page-hero-aside { padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.page-hero-aside span { color: var(--green-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.09em; }
.page-hero-aside strong { display: block; margin: 15px 0 5px; font-family: var(--serif); font-size: 34px; letter-spacing: -0.05em; }
.page-hero-aside p { margin: 0; font-size: 10px; }
.page-section { padding: 62px 0 90px; }
.page-section h2 { font-size: clamp(36px, 4.5vw, 58px); }
.section-intro { max-width: 730px; margin: 8px 0 34px; color: var(--muted); font-size: 13px; }

.signal-feed { display: grid; gap: 10px; }
.signal-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: center; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); }
.signal-row .signal-meta span { display: block; color: var(--green-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.07em; }
.signal-row .signal-meta small { color: var(--muted); font-size: 9px; }
.signal-row h3 { margin: 0 0 6px; font-size: 17px; letter-spacing: -0.035em; }
.signal-row p { margin: 0; color: var(--muted); font-size: 11px; }
.severity-pill { padding: 5px 8px; border-radius: 99px; font-size: 8px; font-weight: 900; text-transform: uppercase; }
.severity-pill.info, .severity-pill.positive { background: rgba(31, 122, 92, 0.1); color: var(--green-dark); }
.severity-pill.watch { background: rgba(212, 168, 79, 0.15); color: #79611d; }
.severity-pill.risk { background: rgba(186, 72, 58, 0.1); color: var(--red); }

.compare-toolbar { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-bottom: 24px; }
.compare-toolbar label, .form-field { display: grid; gap: 7px; color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.07em; }
.compare-toolbar select, .form-field select, .form-field input, .form-field textarea { width: 100%; min-height: 48px; padding: 0 13px; border: 1px solid #c8c6bd; border-radius: 9px; background: var(--card); color: var(--ink); text-transform: none; letter-spacing: 0; }
.form-field textarea { min-height: 110px; padding-block: 12px; resize: vertical; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.compare-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.compare-table th, .compare-table td { padding: 16px 18px; border-bottom: 1px solid #e3dfd6; text-align: left; font-size: 11px; vertical-align: top; }
.compare-table thead th { background: var(--ink); color: white; font-size: 13px; }
.compare-table th:first-child { width: 190px; color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; }
.compare-table thead th:first-child { color: rgba(255,255,255,.55); }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.compare-callout { margin-top: 20px; padding: 20px; border-left: 4px solid var(--orange); background: #fff7ef; color: #5a493d; font-size: 12px; }

.passport-page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; }
.passport-main { display: grid; gap: 16px; }
.passport-panel { padding: 27px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); }
.passport-panel .panel-kicker { display: block; margin-bottom: 10px; color: var(--green-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.09em; }
.passport-panel h2 { margin: 0 0 12px; font-size: 27px; }
.passport-panel p { margin: 0; color: #46524b; font-size: 12px; line-height: 1.7; }
.passport-sidebar { position: sticky; top: 120px; display: grid; gap: 12px; }
.passport-sidebar .rail-card h3 { margin-top: 14px; }
.source-list li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-top: 1px solid #e5e1d8; }
.source-list li:first-child { border-top: 0; }
.source-id { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 7px; background: var(--paper); color: var(--green-dark); font-size: 8px; font-weight: 900; }
.source-list strong, .source-list small { display: block; }
.source-list strong { font-size: 10px; }
.source-list small { color: var(--muted); font-size: 8px; }
.source-status { color: var(--green-dark); font-size: 8px; font-weight: 850; }

.thesis-panel { background: var(--ink); color: white; }
.thesis-panel .panel-kicker { color: var(--mint); }
.thesis-panel h2 { color: white; }
.thesis-panel p { color: rgba(255,255,255,.7); }
.thesis-result { display: grid; gap: 13px; margin-top: 20px; }
.thesis-result article { padding: 15px; border: 1px solid rgba(255,255,255,.11); border-radius: 10px; background: rgba(255,255,255,.035); }
.thesis-result article span { display: block; margin-bottom: 6px; color: var(--mint); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.thesis-result article p { font-size: 11px; }

.agent-workbench { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); gap: 24px; align-items: start; }
.workbench-form, .workbench-output { padding: 25px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); }
.workbench-form { position: sticky; top: 120px; }
.workbench-form h2, .workbench-output h2 { margin: 0 0 6px; font-family: var(--serif); font-size: 30px; letter-spacing: -.045em; }
.workbench-form > p, .workbench-output > p { margin: 0 0 22px; color: var(--muted); font-size: 11px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field.full { grid-column: 1 / -1; }
.check-field { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0; color: #46524b; font-size: 10px; }
.check-field input { margin-top: 2px; accent-color: var(--green); }
.workbench-form .button { width: 100%; }
.run-stages { display: grid; gap: 9px; }
.run-stage { display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: start; padding: 15px; border: 1px solid #dedad1; border-radius: 11px; background: #faf8f2; }
.run-stage-number { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: var(--paper-2); color: var(--muted); font-size: 10px; font-weight: 900; }
.run-stage.active .run-stage-number, .run-stage.complete .run-stage-number { background: var(--mint); color: var(--green-dark); }
.run-stage.denied .run-stage-number { background: rgba(186,72,58,.11); color: var(--red); }
.run-stage h3 { margin: 1px 0 4px; font-size: 12px; }
.run-stage p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.run-stage-status { margin-top: 3px; color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.receipt-box { margin-top: 14px; padding: 17px; overflow: hidden; border-radius: 11px; background: var(--ink); color: white; }
.receipt-box span { display: block; color: var(--mint); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.receipt-box code { display: block; margin-top: 8px; overflow-wrap: anywhere; color: rgba(255,255,255,.7); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 9px; line-height: 1.6; }
.agent-service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 34px; }
.agent-service-grid article { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.agent-service-grid span { color: var(--green-dark); font-size: 9px; font-weight: 900; }
.agent-service-grid h3 { margin: 18px 0 7px; font-size: 14px; }
.agent-service-grid p { margin: 0; color: var(--muted); font-size: 10px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.price-card { position: relative; display: flex; flex-direction: column; min-height: 480px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.price-card.featured { border-color: var(--green); box-shadow: var(--shadow-soft); }
.price-card.featured::before { content: "Most useful"; position: absolute; top: 14px; right: 14px; padding: 4px 7px; border-radius: 99px; background: var(--mint); color: var(--green-dark); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.price-card > span { color: var(--green-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.price-card h2 { margin: 14px 0 0; font-size: 28px; }
.price-card .price { margin: 18px 0; font-family: var(--serif); font-size: 46px; letter-spacing: -.06em; }
.price-card .price small { font-family: var(--sans); color: var(--muted); font-size: 10px; letter-spacing: 0; }
.price-card p { min-height: 48px; color: var(--muted); font-size: 10px; }
.price-card ul { flex: 1; margin: 16px 0 22px; padding: 0; list-style: none; }
.price-card li { margin: 10px 0; padding-left: 17px; position: relative; font-size: 10px; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }

@media (max-width: 1180px) {
  .desktop-nav { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .menu-button { display: inline-block; }
  .hero { grid-template-columns: 1fr 430px; gap: 45px; }
  .market-layout { grid-template-columns: 1fr 285px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .agent-service-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .shell, .market-layout, .category-scroll { width: min(100% - 36px, 760px); }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-block: 65px; }
  .hero-copy { max-width: 760px; }
  .hero-passport { max-width: 620px; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .metrics article:nth-child(2) { border-right: 0; }
  .metrics article:first-child, .metrics article { padding-left: 20px; }
  .metrics article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .market-layout { grid-template-columns: 1fr; }
  .intel-rail { position: static; grid-template-columns: repeat(3, 1fr); }
  .rail-card { min-width: 0; }
  .decode-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, .7fr); }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .passport-page { grid-template-columns: 1fr; }
  .passport-sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .agent-workbench { grid-template-columns: 1fr; }
  .workbench-form { position: static; }
}

@media (max-width: 720px) {
  .prototype-bar { align-items: flex-start; gap: 7px; padding-inline: 12px; text-align: left; }
  .topbar { min-height: 64px; padding-inline: 14px; gap: 10px; }
  .brand-word { font-size: 15px; }
  .brand-mark { width: 33px; height: 33px; }
  .header-actions .text-link, .header-actions .button { display: none; }
  .mobile-nav { top: 104px; }
  .hero h1 { font-size: clamp(49px, 15vw, 68px); }
  .hero-search { grid-template-columns: auto 1fr; }
  .hero-search button { grid-column: 1 / -1; width: 100%; }
  .metrics strong { font-size: 31px; }
  .category-bar { top: 64px; }
  .market-shell { margin-top: 55px; }
  .board-heading { align-items: flex-start; flex-direction: column; }
  .board-controls { width: 100%; flex-wrap: wrap; }
  .board-controls select { flex: 1; }
  .asset-grid { grid-template-columns: 1fr; }
  .intel-rail { grid-template-columns: 1fr; }
  .decode-section > div:first-child, .cta-inner { align-items: flex-start; flex-direction: column; }
  .decode-grid { grid-template-columns: 1fr; }
  .decode-grid article { min-height: 180px; }
  .decode-grid h3 { margin-top: 35px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .signal-row { grid-template-columns: 1fr; gap: 10px; }
  .compare-toolbar { grid-template-columns: 1fr; }
  .passport-sidebar { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .agent-service-grid, .pricing-grid { grid-template-columns: 1fr; }
  .drawer-actions { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Market pulse, accessibility, and theme layer */
.brand-provenance {
  margin-left: 6px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--mint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-toggle {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: white;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}

.theme-toggle:hover { background: rgba(255, 255, 255, 0.14); }

.market-ticker {
  height: 44px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  padding: 0 24px;
  border-bottom: 1px solid rgba(185, 239, 213, 0.14);
  background: #0a1a14;
  color: white;
}

.ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mint);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.ticker-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px rgba(216, 255, 121, 0.85);
}

.ticker-mask { min-width: 0; overflow: hidden; }
.ticker-track { width: max-content; display: flex; align-items: center; animation: atlas-ticker 58s linear infinite; }
.market-ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { display: inline-flex; align-items: center; gap: 7px; margin-right: 28px; white-space: nowrap; font-size: 12px; }
.ticker-track b { color: white; font-size: 11px; letter-spacing: 0.04em; }
.ticker-track span { color: rgba(255, 255, 255, 0.68); }
.ticker-track strong { font-size: 11px; }
.market-ticker time { color: rgba(255, 255, 255, 0.52); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; }

@keyframes atlas-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.market-updated { margin-left: 8px; color: var(--green-dark); white-space: nowrap; }
.market-updated strong { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.95em; }
.passport-quote { text-align: right; }
.passport-quote small { display: block; margin-top: 4px; color: var(--mint); font-family: var(--sans); font-size: 10px; letter-spacing: 0; }

.market-quote-row,
.agent-price-row {
  display: grid;
  grid-template-columns: minmax(90px, 0.7fr) minmax(70px, 0.55fr) minmax(110px, 1fr);
  align-items: end;
  gap: 12px;
  margin-top: 18px;
  padding: 13px 0 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-quote-row span,
.agent-price-row span,
.agent-stat-grid span,
.agent-market-summary span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.market-quote-row strong { font-size: 16px; letter-spacing: -0.03em; }
.sparkline { height: 42px; display: flex; align-items: end; gap: 3px; }
.sparkline i { width: 100%; min-width: 3px; border-radius: 2px 2px 0 0; background: currentColor; opacity: 0.76; }
.sparkline.up { color: var(--mint-2); }
.sparkline.down { color: var(--orange); }
.sparkline-large { height: 58px; margin-top: 18px; }

.agent-market-section { padding: 56px 0 90px; background: #071611; color: white; }
.agent-market-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 58px; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.agent-market-summary article { padding: 22px; border-right: 1px solid rgba(255, 255, 255, 0.11); }
.agent-market-summary article:last-child { border-right: 0; }
.agent-market-summary span { color: rgba(255, 255, 255, 0.55); }
.agent-market-summary strong { display: block; margin: 6px 0; font-family: var(--serif); font-size: 38px; font-weight: 550; letter-spacing: -0.05em; }
.agent-market-summary small { color: rgba(255, 255, 255, 0.58); font-size: 12px; }
.agent-market-summary small.positive { color: var(--mint); }
.agent-board-heading .eyebrow { color: var(--mint); }
.agent-board-heading p { color: rgba(255, 255, 255, 0.58); }
.agent-board-heading select { border-color: rgba(255, 255, 255, 0.17); background: #10261d; color: white; }
.agent-board-heading label { color: rgba(255, 255, 255, 0.58); }
.agent-market-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.agent-market-card { min-width: 0; padding: 20px; border: 1px solid rgba(255, 255, 255, 0.13); border-radius: 15px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)); transition: transform 180ms ease, border-color 180ms ease; }
.agent-market-card:hover { transform: translateY(-3px); border-color: rgba(185, 239, 213, 0.5); }
.agent-card-head { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: start; }
.agent-token-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(216, 255, 121, 0.25); border-radius: 11px; background: rgba(216, 255, 121, 0.08); color: var(--lime); font-size: 12px; font-weight: 950; letter-spacing: -0.03em; }
.agent-card-head span { color: var(--mint); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: 0.07em; }
.agent-card-head h3 { margin: 4px 0 2px; font-size: 17px; letter-spacing: -0.035em; }
.agent-card-head p { margin: 0; color: rgba(255, 255, 255, 0.5); font-size: 11px; }
.agent-market-card .watch-button { border-color: rgba(255, 255, 255, 0.18); color: rgba(255, 255, 255, 0.7); }
.agent-market-card .watch-button.active { border-color: var(--mint); background: rgba(185, 239, 213, 0.1); color: var(--lime); }
.agent-price-row { border-color: rgba(255, 255, 255, 0.11); }
.agent-price-row span { color: rgba(255, 255, 255, 0.52); }
.agent-price-row strong { font-size: 19px; }
.agent-stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 14px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 9px; background: rgba(255, 255, 255, 0.1); }
.agent-stat-grid > div { padding: 11px; background: #0d2018; }
.agent-stat-grid span { color: rgba(255, 255, 255, 0.45); }
.agent-stat-grid strong { font-size: 14px; }
.agent-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 15px; }
.agent-card-foot > span { color: var(--mint); font-size: 11px; font-weight: 850; }
.agent-card-foot a { padding: 7px 9px; border-radius: 7px; background: var(--lime); color: #071611; font-size: 10px; font-weight: 900; }
.agent-index-quote { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.agent-index-quote b { color: var(--green); font-size: 16px; }

.free-machine-rail { padding: 80px 0; border-bottom: 1px solid var(--line); background: var(--paper-2); }
.free-machine-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(480px, 1.2fr); gap: 70px; align-items: center; }
.free-machine-grid h2 { margin: 10px 0 16px; font-family: var(--serif); font-size: clamp(38px, 4.5vw, 62px); font-weight: 550; line-height: 1; letter-spacing: -0.055em; }
.free-machine-grid p { max-width: 590px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.machine-tool-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.machine-tool-list a { min-width: 0; display: grid; gap: 7px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.machine-tool-list a:hover { border-color: var(--green); }
.machine-tool-list span { width: max-content; padding: 3px 6px; border-radius: 99px; background: var(--mint); color: #0b3d2d; font-size: 9px; font-weight: 950; }
.machine-tool-list strong { font-size: 15px; }
.machine-tool-list code { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; }
.service-exchange-section { background: var(--paper-2); }

/* Readability floor */
.prototype-bar { font-size: 13px; }
.prototype-bar span { font-size: 11px; }
.desktop-nav a, .text-link { font-size: 14px; }
.eyebrow { font-size: 12px; }
.passport-kicker, .verified-pill { font-size: 11px; }
.passport-identity p, .truth-grid span, .proof-node p { font-size: 11px; }
.truth-grid strong { font-size: 14px; }
.passport-note, .inline-link { font-size: 13px; }
.metrics span, .metrics small { font-size: 12px; }
.category-chip { font-size: 12px; }
.board-heading p, .board-controls label { font-size: 13px; }
.board-controls select, .icon-button { font-size: 12px; }
.asset-title p { font-size: 12px; }
.asset-tag { font-size: 10.5px; }
.asset-summary { min-height: 62px; color: #35443b; font-size: 13px; line-height: 1.6; }
.asset-metrics span, .trust-badge, .card-button { font-size: 10.5px; }
.asset-metrics strong { font-size: 13px; }
.rail-card-head > span:first-child, .rail-card-head a, .signal-type, .powered-label { font-size: 10.5px; }
.rail-card > p:not(.signal-type), .decode-grid p, .footer-grid > div > p, .footer-grid > div > a:not(.brand) { font-size: 12.5px; }
.evidence-list strong, .evidence-list small { font-size: 11px; }
.footer-grid > div > strong, .footer-bottom { font-size: 10.5px; }
.page-hero-aside span, .page-hero-aside p, .signal-row .signal-meta span, .signal-row .signal-meta small, .compare-toolbar label, .form-field, .passport-panel .panel-kicker, .source-id, .source-status { font-size: 10.5px; }
.section-intro, .signal-row p, .compare-table th, .compare-table td, .passport-panel p, .drawer-section p, .workbench-form > p, .workbench-output > p, .check-field, .agent-service-grid p, .price-card p, .price-card li { font-size: 13px; }
.source-list strong, .source-list small, .run-stage p, .run-stage-status, .receipt-box span, .receipt-box code { font-size: 10.5px; }
.run-stage h3, .drawer-facts strong { font-size: 13px; }
.form-field select, .form-field input, .form-field textarea, .compare-toolbar select { font-size: 14px; }

/* Dark mode is the default for new visitors */
html:not([data-theme]),
html[data-theme="dark"] {
  --paper: #07110d;
  --paper-2: #0b1812;
  --card: #0d1d16;
  --muted: #a8bbb1;
  --line: #274238;
  --green-dark: #85ddb4;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.32);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.24);
}

html:not([data-theme]) body,
html[data-theme="dark"] body { color: #eef8f3; background: var(--paper); }
html:not([data-theme]) .hero-lead,
html[data-theme="dark"] .hero-lead,
html:not([data-theme]) .asset-summary,
html[data-theme="dark"] .asset-summary,
html:not([data-theme]) .passport-panel p,
html[data-theme="dark"] .passport-panel p,
html:not([data-theme]) .drawer-section p,
html[data-theme="dark"] .drawer-section p,
html:not([data-theme]) .risk-list li,
html[data-theme="dark"] .risk-list li,
html:not([data-theme]) .check-field,
html[data-theme="dark"] .check-field { color: #c9d8d0; }
html:not([data-theme]) .category-bar,
html[data-theme="dark"] .category-bar { background: rgba(7, 17, 13, 0.95); }
html:not([data-theme]) .category-chip,
html[data-theme="dark"] .category-chip { color: #b7c8bf; }
html:not([data-theme]) .category-chip.active,
html[data-theme="dark"] .category-chip.active { background: var(--lime); color: #071611; }
html:not([data-theme]) .hero-search,
html[data-theme="dark"] .hero-search,
html:not([data-theme]) .asset-card,
html[data-theme="dark"] .asset-card,
html:not([data-theme]) .rail-card,
html[data-theme="dark"] .rail-card { border-color: #274238; }
html:not([data-theme]) .hero-search input,
html[data-theme="dark"] .hero-search input { color: #eef8f3; }
html:not([data-theme]) .hero-search input::placeholder,
html[data-theme="dark"] .hero-search input::placeholder { color: #81988c; }
html:not([data-theme]) .hero-search button,
html[data-theme="dark"] .hero-search button,
html:not([data-theme]) .button-primary,
html[data-theme="dark"] .button-primary,
html:not([data-theme]) .button-dark,
html[data-theme="dark"] .button-dark,
html:not([data-theme]) .card-button.primary,
html[data-theme="dark"] .card-button.primary { background: var(--lime); color: #071611; }
html:not([data-theme]) .button-secondary,
html[data-theme="dark"] .button-secondary { border-color: #b9c8c0; color: #eef8f3; }
html:not([data-theme]) .button-secondary:hover,
html[data-theme="dark"] .button-secondary:hover { background: #eef8f3; color: #071611; }
html:not([data-theme]) .asset-logo,
html[data-theme="dark"] .asset-logo { background: #173328; }
html:not([data-theme]) .asset-tag,
html[data-theme="dark"] .asset-tag { background: #14261e; color: #b8c9c0; }
html:not([data-theme]) .watch-button,
html[data-theme="dark"] .watch-button,
html:not([data-theme]) .card-button,
html[data-theme="dark"] .card-button,
html:not([data-theme]) .icon-button,
html[data-theme="dark"] .icon-button { border-color: #355248; }
html:not([data-theme]) .asset-metrics,
html[data-theme="dark"] .asset-metrics { border-color: #28443a; background: #28443a; }
html:not([data-theme]) .asset-metrics > div,
html[data-theme="dark"] .asset-metrics > div { background: #0a1913; }
html:not([data-theme]) .evidence-list li,
html[data-theme="dark"] .evidence-list li,
html:not([data-theme]) .source-list li,
html[data-theme="dark"] .source-list li { border-color: #284138; }
html:not([data-theme]) .wever-card,
html[data-theme="dark"] .wever-card { color: #071611; }
html:not([data-theme]) .wever-card .powered-label,
html[data-theme="dark"] .wever-card .powered-label { color: #135440; }
html:not([data-theme]) .decode-grid article,
html[data-theme="dark"] .decode-grid article { border-top-color: var(--lime); background: rgba(255, 255, 255, 0.035); }
html:not([data-theme]) .asset-drawer,
html[data-theme="dark"] .asset-drawer,
html:not([data-theme]) .auth-dialog,
html[data-theme="dark"] .auth-dialog { color: #eef8f3; }
html:not([data-theme]) .drawer-facts div,
html[data-theme="dark"] .drawer-facts div { background: #12251c; }
html:not([data-theme]) .auth-dialog input,
html[data-theme="dark"] .auth-dialog input,
html:not([data-theme]) .compare-toolbar select,
html[data-theme="dark"] .compare-toolbar select,
html:not([data-theme]) .form-field select,
html[data-theme="dark"] .form-field select,
html:not([data-theme]) .form-field input,
html[data-theme="dark"] .form-field input,
html:not([data-theme]) .form-field textarea,
html[data-theme="dark"] .form-field textarea { border-color: #355248; background: #0a1913; color: #eef8f3; }
html:not([data-theme]) .compare-table th,
html[data-theme="dark"] .compare-table th,
html:not([data-theme]) .compare-table td,
html[data-theme="dark"] .compare-table td { border-color: #284138; }
html:not([data-theme]) .compare-table thead th,
html[data-theme="dark"] .compare-table thead th { background: #071611; }
html:not([data-theme]) .compare-callout,
html[data-theme="dark"] .compare-callout { background: #291c15; color: #f0c6a8; }
html:not([data-theme]) .thesis-panel,
html[data-theme="dark"] .thesis-panel,
html:not([data-theme]) .receipt-box,
html[data-theme="dark"] .receipt-box { background: #04100c; }
html:not([data-theme]) .run-stage,
html[data-theme="dark"] .run-stage { border-color: #2b473c; background: #0a1913; }
html:not([data-theme]) .price-card.featured::before,
html[data-theme="dark"] .price-card.featured::before { color: #0b3d2d; }

@media (max-width: 1180px) {
  .agent-market-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-provenance { display: none; }
}

@media (max-width: 960px) {
  .agent-market-summary { grid-template-columns: repeat(2, 1fr); }
  .agent-market-summary article:nth-child(2) { border-right: 0; }
  .agent-market-summary article:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, 0.11); }
  .free-machine-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 720px) {
  .market-ticker { grid-template-columns: auto minmax(0, 1fr); gap: 12px; padding-inline: 14px; }
  .market-ticker time { display: none; }
  .theme-toggle { width: 38px; padding: 0; overflow: hidden; color: transparent; }
  .theme-toggle::after { content: "◐"; color: white; font-size: 17px; }
  .agent-market-grid, .machine-tool-list { grid-template-columns: 1fr; }
  .agent-market-summary { grid-template-columns: 1fr 1fr; }
  .agent-market-summary article { padding: 16px; }
  .agent-market-summary strong { font-size: 31px; }
  .agent-board-heading { align-items: flex-start; }
  .market-quote-row, .agent-price-row { grid-template-columns: minmax(82px, 0.65fr) minmax(66px, 0.5fr) minmax(90px, 1fr); gap: 8px; }
}

.wever-hero { background: radial-gradient(circle at 82% 15%, rgba(120, 216, 174, 0.12), transparent 31%); }
.wever-network-card { background: linear-gradient(145deg, var(--card), var(--paper-2)); }
.wever-proof-flow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin-top: 18px; }
.wever-proof-flow i { padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--green-dark); font-size: 10px; font-style: normal; font-weight: 850; text-align: center; text-transform: uppercase; letter-spacing: 0.06em; }
.wever-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 35px; }
.wever-product-grid a { min-height: 245px; display: flex; flex-direction: column; padding: 21px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: transform 180ms ease, border-color 180ms ease; }
.wever-product-grid a:hover { transform: translateY(-3px); border-color: var(--green); }
.wever-product-grid span, .field-note-grid span { color: var(--green-dark); font-size: 10.5px; font-weight: 900; letter-spacing: 0.07em; text-transform: uppercase; }
.wever-product-grid h3 { margin: 28px 0 9px; font-size: 19px; letter-spacing: -0.035em; }
.wever-product-grid p { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.wever-product-grid b { margin-top: auto; color: var(--green-dark); font-size: 11px; }
.field-note-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
.field-note-grid a { min-height: 230px; padding: 22px; border-top: 3px solid var(--green); background: var(--card); }
.field-note-grid h3 { margin: 40px 0 10px; font-family: var(--serif); font-size: 24px; line-height: 1.1; letter-spacing: -0.04em; }
.field-note-grid p { color: var(--muted); font-size: 13px; line-height: 1.6; }

@media (max-width: 960px) {
  .wever-product-grid, .field-note-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .wever-product-grid, .field-note-grid { grid-template-columns: 1fr; }
}

/* Larger market readouts */
.ticker-track a { font-size: 13.5px; }
.ticker-track b, .ticker-track strong, .market-ticker time { font-size: 12.5px; }
.market-quote-row span,
.agent-price-row span,
.agent-stat-grid span,
.agent-market-summary span { font-size: 11.5px; }
.market-quote-row strong { font-size: 19px; }
.asset-metrics span { font-size: 11px; }
.asset-metrics strong { font-size: 15px; }
.truth-grid span { font-size: 12px; }
.truth-grid strong { font-size: 15px; }
.proof-node p { font-size: 10.5px; }
.rail-card-head > span:first-child,
.rail-card-head a,
.signal-type,
.powered-label { font-size: 11.5px; }
.evidence-list strong { font-size: 12.5px; }
.evidence-list small { font-size: 11.5px; }
.agent-card-head span { font-size: 11px; }
.agent-card-head p { font-size: 12px; }
.agent-price-row strong { font-size: 22px; }
.agent-stat-grid strong { font-size: 16px; }
.agent-card-foot > span, .agent-card-foot a { font-size: 12px; }
.run-stage h3 { font-size: 14px; }
.run-stage p { font-size: 12.5px; }
.run-stage-status { font-size: 11px; }
.receipt-box span, .receipt-box code { font-size: 11.5px; }
.source-list strong { font-size: 12.5px; }
.source-list small, .source-status { font-size: 11px; }
.thesis-result article span { font-size: 11px; }
.thesis-result article p { font-size: 14px; line-height: 1.65; }
.passport-panel .panel-kicker { font-size: 11.5px; }
.passport-panel p { font-size: 14px; }
.atlas-contact-link { color: var(--mint); }
