:root {
  color-scheme: dark;
  --bg: #070805;
  --bg-raised: #0b0d09;
  --surface: #10120e;
  --surface-strong: #141710;
  --surface-soft: #0d0f0c;
  --ink: #f3f1e9;
  --ink-soft: #cfcdc3;
  --muted: #918f84;
  --muted-strong: #aaa89d;
  --line: #282b23;
  --line-strong: #3b3d2e;
  --accent: #f1c928;
  --accent-bright: #ffdc3d;
  --accent-soft: rgba(241, 201, 40, 0.1);
  --accent-line: rgba(241, 201, 40, 0.45);
  --green: #42db7d;
  --red: #ff6464;
  --blue: #2f78ee;
  --kalshi: #09d896;
  --radius: 8px;
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --display: "Newsreader", Georgia, serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --page: 1820px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  scrollbar-color: #454433 #0a0b08;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% -6%, rgba(241, 201, 40, 0.08), transparent 30rem),
    radial-gradient(circle at 91% 8%, rgba(47, 120, 238, 0.045), transparent 28rem),
    linear-gradient(180deg, #080906 0, var(--bg) 34rem);
  font-family: var(--sans);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, black, transparent 58rem);
}

button,
input {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

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

.site-header {
  position: relative;
  z-index: 30;
  display: grid;
  grid-template-columns: minmax(255px, auto) minmax(280px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 10px clamp(16px, 2vw, 32px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 5, 0.94);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(241, 201, 40, 0.35), 0 8px 24px rgba(241, 201, 40, 0.12);
}

.brand-word {
  color: var(--accent-bright);
  font-size: 27px;
  font-weight: 720;
  letter-spacing: -0.055em;
}

.brand-descriptor,
.brand > span:last-child {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 520;
  letter-spacing: -0.01em;
}

.brand-descriptor b,
.brand > span:last-child b {
  color: var(--accent);
}

.brand > img:not(.brand-logo) {
  width: 116px;
  height: auto;
}

.search-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-self: center;
  width: min(100%, 610px);
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: rgba(16, 18, 14, 0.7);
  transition: border-color 160ms ease, background 160ms ease;
}

.search-shell:focus-within {
  border-color: var(--accent-line);
  background: var(--surface);
}

.search-shell > span {
  margin-left: 15px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 18px;
}

.search-shell input {
  width: 100%;
  min-width: 0;
  padding: 10px 14px 10px 12px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 13px;
}

.search-shell input::placeholder {
  color: #77766e;
}

.search-results {
  position: absolute;
  z-index: 80;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  background: #0d0f0c;
  box-shadow: var(--shadow);
}

.search-results a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.search-results a:last-child {
  border-bottom: 0;
}

.search-results a:hover {
  background: var(--accent-soft);
}

.search-results span {
  color: var(--accent);
  font-family: var(--mono);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-nav a {
  position: relative;
  padding: 11px 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.top-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--accent-bright);
}

.top-nav a:hover::after,
.top-nav a.active::after {
  transform: scaleX(1);
}

.socials {
  display: flex;
  align-items: center;
  gap: 7px;
}

.socials a {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink-soft);
  background: var(--surface);
  transition: border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.socials a:hover {
  border-color: var(--accent-line);
  color: var(--accent);
  transform: translateY(-1px);
}

.socials svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.market-ticker {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  min-height: 42px;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 11, 8, 0.95);
}

.ticker-status {
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  background: #0b0c09;
}

.ticker-status b {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  white-space: nowrap;
}

.live-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(241, 201, 40, 0.08);
}

.ticker-viewport {
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}

.ticker-track {
  display: flex;
  flex-shrink: 0;
  width: max-content;
  min-width: 100%;
  min-height: 42px;
  align-items: center;
  animation: ticker-scroll var(--ticker-duration, 60s) linear infinite;
  animation-play-state: running;
  will-change: transform;
}

.ticker-track.is-static,
.ticker-track.is-empty {
  width: 100%;
  animation: none;
}

.ticker-track.is-static .ticker-sequence {
  width: 100%;
  justify-content: space-around;
}

.ticker-sequence {
  display: inline-flex;
  align-items: center;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  white-space: nowrap;
}

.ticker-item b {
  max-width: 460px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
}

.ticker-source-dot {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(47, 120, 238, 0.8);
}

.ticker-probability {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
}

.ticker-sep {
  width: 1px;
  height: 17px;
  background: var(--line);
}

.ticker-empty {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 11px;
}

@keyframes ticker-scroll {
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.status-banner {
  margin: 12px clamp(12px, 1.7vw, 26px) 0;
  padding: 9px 12px;
  border: 1px solid rgba(255, 100, 100, 0.35);
  color: #ffb5b5;
  background: rgba(255, 100, 100, 0.06);
  font-size: 11px;
}

.dashboard {
  width: min(100%, var(--page));
  margin: 0 auto;
  padding: 16px clamp(6px, 0.65vw, 12px) 28px;
}

.top-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
  align-items: stretch;
  animation: section-reveal 360ms ease both;
}

.top-grid > .lead-panel {
  grid-column: 1 / span 2;
}

.top-grid > .certain-panel {
  grid-column: 3;
}

.top-grid > .new-market-panel {
  grid-column: 4;
}

.top-grid > .asset-panel {
  grid-column: 5;
}

@keyframes section-reveal {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.panel {
  position: relative;
  min-width: 0;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.014), transparent 44%),
    var(--surface);
}

.top-grid > .panel {
  height: 320px;
  min-height: 320px;
}

.panel::before,
.window-column::before,
.window-continuation::before {
  position: absolute;
  z-index: 2;
  top: -1px;
  right: 12px;
  left: 12px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent-line), transparent);
}

.lead-panel {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px 16px;
  border-color: var(--accent-line);
  background:
    radial-gradient(circle at 96% 2%, rgba(241, 201, 40, 0.1), transparent 16rem),
    linear-gradient(150deg, rgba(255, 255, 255, 0.018), transparent 48%),
    #0f110d;
}

.lead-panel::after {
  position: absolute;
  right: -18px;
  bottom: -58px;
  color: rgba(241, 201, 40, 0.035);
  content: "Q";
  font-family: var(--display);
  font-size: 230px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.lead-kicker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.lead-kicker > span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 4px;
}

.lead-kicker svg {
  width: 12px;
  height: 12px;
}

.lead-kicker em {
  margin-left: auto;
  padding: 5px 7px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.05em;
}

.lead-copy {
  position: relative;
  z-index: 1;
  max-width: 94%;
  margin: 16px 0 auto;
}

.lead-title {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(26px, 2.05vw, 36px);
  font-weight: 680;
  letter-spacing: -0.04em;
  line-height: 1.02;
  text-wrap: balance;
}

.lead-subtitle {
  display: -webkit-box;
  max-width: 650px;
  margin: 12px 0 0;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lead-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.lead-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.lead-metric {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
  padding: 0 14px;
  border-right: 1px solid var(--line);
}

.lead-metric:first-child {
  padding-left: 0;
}

.lead-metric:last-child {
  border-right: 0;
}

.lead-value {
  overflow: visible;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-overflow: clip;
  white-space: nowrap;
}

.lead-value.primary {
  color: var(--accent-bright);
  font-size: 30px;
  line-height: 0.92;
}

.lead-value.up,
.card-change.up {
  color: var(--green);
}

.lead-value.down,
.card-change.down {
  color: var(--red);
}

.lead-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.lead-action {
  display: grid;
  grid-template-columns: 34px auto 14px;
  align-items: center;
  gap: 10px;
  min-width: 170px;
  padding: 9px 10px;
  border: 1px solid rgba(47, 120, 238, 0.72);
  border-radius: 7px;
  color: white;
  background: linear-gradient(135deg, #0e4ba7, #145dc8);
  box-shadow: 0 8px 26px rgba(47, 120, 238, 0.18);
}

.lead-action.source-kalshi {
  border-color: rgba(9, 216, 150, 0.7);
  color: #06130f;
  background: linear-gradient(135deg, #08c78c, #15e5a5);
  box-shadow: 0 8px 26px rgba(9, 216, 150, 0.15);
}

.lead-action > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.lead-action b {
  font-size: 11px;
}

.lead-action small {
  margin-top: 1px;
  opacity: 0.78;
  font-size: 8px;
}

.lead-action i {
  font-style: normal;
}

.lead-poly {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(4, 15, 38, 0.35);
}

.lead-poly img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.source-kalshi .lead-poly {
  border: 0;
  background: transparent;
}

.source-kalshi .lead-poly img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
}

.lead-empty {
  margin: auto 0;
}

.lead-empty strong {
  font-family: var(--display);
  font-size: 27px;
}

.lead-empty p {
  color: var(--muted);
}

.panel-title {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 47px;
  align-items: center;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
}

.panel-title > span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.panel-title i {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 4px;
  color: var(--accent);
  font-style: normal;
  background: var(--accent-soft);
}

.panel-title svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.intel-list {
  display: flex;
  height: calc(100% - 47px);
  min-height: 0;
  flex-direction: column;
  overflow-y: auto;
  scrollbar-width: thin;
}

.intel-list.is-scrolling {
  overflow: hidden;
  scrollbar-width: none;
}

.intel-list.is-scrolling::-webkit-scrollbar {
  display: none;
}

.intel-scroll-track {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  animation: intel-scroll var(--intel-duration, 28s) linear infinite;
  will-change: transform;
}

.intel-scroll-track:hover {
  animation-play-state: paused;
}

.intel-scroll-track > .intel-row {
  flex: 0 0 auto;
}

@keyframes intel-scroll {
  to {
    transform: translate3d(0, -50%, 0);
  }
}

.intel-row {
  display: grid;
  min-height: 82px;
  flex: 1 0 auto;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-bottom: 1px solid var(--line);
  transition: background 150ms ease;
}

.intel-row:last-child {
  border-bottom: 0;
}

.intel-row:hover {
  background: var(--accent-soft);
}

.intel-copy {
  min-width: 0;
}

.intel-copy b {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 610;
  letter-spacing: -0.018em;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.intel-value b {
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 18px;
  letter-spacing: -0.05em;
}

.new-market-list .intel-row {
  min-height: 72px;
  grid-template-columns: minmax(0, 1fr);
}

.new-market-list .intel-copy b {
  -webkit-line-clamp: 3;
}

.intel-empty {
  display: flex;
  height: 100%;
  min-height: 180px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 7px;
  padding: 18px;
}

.intel-empty strong {
  color: var(--ink-soft);
  font-size: 13px;
}

.intel-empty span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.asset-scroll,
.asset-track {
  height: calc(100% - 47px);
  min-height: 0;
}

.asset-head {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  padding: 8px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.asset-head span:last-child {
  text-align: right;
}

.asset-body {
  height: calc(100% - 29px);
  overflow: hidden;
}

.asset-rows {
  height: 100%;
}

.asset-rows.is-scrolling {
  height: auto;
  animation: asset-scroll 28s linear infinite;
  will-change: transform;
}

.asset-body:hover .asset-rows.is-scrolling {
  animation-play-state: paused;
}

@keyframes asset-scroll {
  to {
    transform: translate3d(0, -50%, 0);
  }
}

.asset-row {
  display: grid;
  min-height: 58px;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-bottom: 1px solid var(--line);
}

.asset-row:hover {
  background: rgba(255, 255, 255, 0.018);
}

.asset-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.asset-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  place-items: center;
}

.asset-icon img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.asset-glyph {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7px;
}

.asset-copy,
.asset-range-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.asset-copy b {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 620;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-copy em,
.asset-date {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.03em;
}

.asset-range-wrap {
  align-items: flex-end;
  text-align: right;
}

.asset-range {
  max-width: 100%;
  overflow: hidden;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-direction {
  font-size: 8px;
  font-style: normal;
}

.asset-direction.up {
  color: var(--green);
}

.asset-direction.down {
  color: var(--red);
}

.asset-direction.flat {
  color: var(--muted);
}

.window-grid {
  margin-top: 14px;
}

.primary-window-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 11px;
  align-items: start;
}

.window-column,
.window-continuation {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(14, 16, 12, 0.9);
}

.window-column {
  animation: section-reveal 400ms ease both;
}

.window-column:nth-child(2) {
  animation-delay: 40ms;
}

.window-column:nth-child(3) {
  animation-delay: 80ms;
}

.window-column:nth-child(4) {
  animation-delay: 120ms;
}

.window-column:nth-child(5) {
  animation-delay: 160ms;
}

.window-head {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 11px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(241, 201, 40, 0.035), transparent);
}

.window-label {
  display: grid;
  min-width: 0;
  grid-template-columns: auto 1fr;
  align-items: baseline;
  column-gap: 8px;
}

.window-label b {
  grid-row: 1 / span 2;
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.07em;
}

.window-label span {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.window-label em {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  font-style: normal;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.view-all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 7px 8px;
  border: 1px solid var(--accent-line);
  border-radius: 5px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 7px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.view-all:hover {
  color: #0a0b08;
  background: var(--accent);
}

.view-all i {
  font-size: 11px;
  font-style: normal;
}

.card-list-primary {
  display: flex;
  flex-direction: column;
}

.market-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 146px;
  flex-direction: column;
  padding: 13px 12px 11px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.025), transparent 8rem),
    rgba(8, 9, 7, 0.46);
  transition: background 150ms ease;
}

.market-card:hover {
  background: rgba(241, 201, 40, 0.035);
}

.market-card:last-child {
  border-bottom: 0;
}

.card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
}

.card-title {
  display: -webkit-box;
  min-height: 50px;
  overflow: hidden;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 625;
  letter-spacing: -0.018em;
  line-height: 1.23;
  text-wrap: pretty;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.poly-btn {
  display: grid;
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(47, 120, 238, 0.62);
  border-radius: 7px;
  background: linear-gradient(145deg, #0c3d82, #0f5bc4);
  box-shadow: 0 7px 20px rgba(47, 120, 238, 0.16);
}

.poly-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.poly-btn.source-kalshi {
  border-color: rgba(9, 216, 150, 0.58);
  background: var(--kalshi);
  box-shadow: 0 7px 20px rgba(9, 216, 150, 0.13);
}

.poly-btn.source-kalshi img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.card-metrics {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-top: auto;
  padding-top: 8px;
}

.card-prob {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 1;
}

.card-change {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.card-meta {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 8px;
}

.card-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-timing {
  display: block;
  margin-top: 6px;
  overflow: hidden;
  color: #77766c;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.3;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 7px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.empty-card {
  justify-content: center;
  background:
    repeating-linear-gradient(135deg, transparent, transparent 9px, rgba(255, 255, 255, 0.012) 9px, rgba(255, 255, 255, 0.012) 10px),
    rgba(8, 9, 7, 0.4);
}

.empty-card .card-title {
  min-height: 0;
  color: var(--muted-strong);
}

.empty-card .card-prob,
.empty-card .card-change {
  color: #54544d;
}

.column-foot {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.column-foot:hover {
  color: var(--accent);
}

.continuation-stream {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.window-continuation {
  animation: section-reveal 420ms ease both;
}

.continuation-window-head {
  min-height: 62px;
}

.card-list-more {
  display: grid;
}

.card-list-more.count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.card-list-more.count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-list-more.count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-list-more.count-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card-list-more.count-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card-list-more .market-card {
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.card-list-more .market-card:last-child {
  border-right: 0;
}

.skeleton-stack,
.skeleton-list {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.skeleton-line {
  display: block;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(90deg, #191b15, #272a21, #191b15);
  background-size: 200% 100%;
  animation: skeleton 1.4s linear infinite;
}

.skeleton-line.short {
  width: 28%;
}

.skeleton-line.medium {
  width: 60%;
}

.skeleton-line.wide {
  width: 100%;
}

.skeleton-line.title {
  width: 75%;
  height: 20px;
}

.skeleton-window {
  min-height: 440px;
  padding: 18px;
}

@keyframes skeleton {
  to {
    background-position: -200% 0;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 48px;
  margin: 0 clamp(8px, 1.2vw, 18px) 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  background: rgba(10, 11, 8, 0.9);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-weight: 600;
}

.footer-brand img {
  width: 56px;
  height: auto;
}

.footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-status {
  justify-self: end;
  color: var(--ink-soft);
}

.live-dot {
  margin-right: 5px;
  color: var(--green);
  font-size: 9px;
}

/* About */
.about-shell,
.content-shell,
.window-page-shell {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: 22px clamp(14px, 2vw, 30px) 46px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--muted-strong);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.back-link:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

.about-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  padding: clamp(38px, 6vw, 82px);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background:
    radial-gradient(circle at 84% 36%, rgba(241, 201, 40, 0.13), transparent 24rem),
    linear-gradient(135deg, #11130f 0, #0b0d0a 70%);
}

.about-hero::after {
  position: absolute;
  right: -30px;
  bottom: -128px;
  color: rgba(241, 201, 40, 0.045);
  content: "OQ";
  font-family: var(--display);
  font-size: 330px;
  font-weight: 700;
  line-height: 1;
}

.about-eyebrow,
.window-page-eyebrow {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-eyebrow span {
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.about-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 950px;
  margin: 30px 0 22px;
  font-family: var(--sans);
  font-size: clamp(48px, 6.2vw, 88px);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.about-hero h1 em {
  color: var(--accent-bright);
  font-style: normal;
}

.about-hero > p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.55;
}

.about-source-line {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 680px;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-source-line i {
  width: 18px;
  height: 1px;
  background: var(--line-strong);
}

.about-source-line b {
  color: var(--accent);
}

.about-proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 12px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
}

.about-proof article {
  display: flex;
  min-height: 96px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 18px 22px;
  border-right: 1px solid var(--line);
}

.about-proof article:last-child {
  border-right: 0;
}

.about-proof b {
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.about-proof span {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-process {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.8fr);
  gap: 36px;
  margin-top: 12px;
  padding: 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #0b0d0a;
}

.about-process > header > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-process h2 {
  margin: 16px 0 12px;
  font-family: var(--display);
  font-size: 38px;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-process header p {
  max-width: 380px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.about-principles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.about-principles article {
  min-height: 150px;
  padding: 20px;
  background: var(--surface);
}

.about-principles article > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 9px;
}

.about-principles h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.about-principles p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.5;
}

.about-manifesto {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.5fr);
  gap: 46px;
  margin-top: 12px;
  padding: 38px 34px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(241, 201, 40, 0.045), transparent 42%),
    var(--surface);
}

.about-statement {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
}

.about-statement h2 {
  margin: 24px 0 0;
  font-family: var(--display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.about-copy p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.about-copy .about-note {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

.about-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.about-socials a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  color: var(--ink-soft);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.about-socials a:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

/* View all */
.view-all-page .site-header {
  min-height: 68px;
}

.view-all-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.view-all-page .window-page-shell {
  flex: 1 0 auto;
}

.window-page-hero {
  display: flex;
  min-height: 190px;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 32px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background:
    radial-gradient(circle at 86% 18%, rgba(241, 201, 40, 0.11), transparent 18rem),
    linear-gradient(140deg, #12140f, #0b0d0a);
}

.window-page-hero h1 {
  margin: 18px 0 7px;
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.window-page-hero p {
  max-width: 680px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
}

.window-count-pill {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.window-market-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.window-market-grid .market-card {
  min-height: 180px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
}

.window-market-grid .card-title {
  min-height: 54px;
  font-size: 14px;
}

.window-market-grid .card-prob {
  font-size: 28px;
}

.window-market-grid .card-meta {
  margin-top: 12px;
}

.window-page-notes {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.7fr);
  gap: 24px;
  margin-top: 12px;
  padding: 24px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--surface);
}

.window-guide-copy > span {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.window-guide-copy h2 {
  margin: 11px 0 8px;
  font-family: var(--display);
  font-size: 27px;
  font-weight: 600;
  letter-spacing: -0.035em;
}

.window-guide-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.window-switcher {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.window-switcher a {
  display: flex;
  min-width: 0;
  min-height: 72px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--muted);
  background: var(--surface-soft);
}

.window-switcher a:hover,
.window-switcher a.active {
  border-color: var(--accent-line);
  color: var(--ink);
  background: var(--accent-soft);
}

.window-switcher b {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
}

.window-switcher span {
  overflow: hidden;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* API and utility content */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(260px, 0.7fr);
  gap: 12px;
}

.content-panel {
  min-height: 0;
  padding: 24px;
}

.content-panel .panel-title {
  margin: -24px -24px 24px;
}

.content-panel h1 {
  max-width: 780px;
  margin: 0 0 16px;
  font-family: var(--display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.content-panel h2 {
  margin: 30px 0 10px;
  color: var(--accent);
  font-size: 14px;
}

.content-panel p,
.roadmap {
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.6;
}

.endpoint-list {
  display: grid;
  gap: 6px;
}

.endpoint-list a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--ink-soft);
  background: var(--surface-soft);
  font-family: var(--mono);
  font-size: 9px;
}

.endpoint-list a:hover {
  border-color: var(--accent-line);
  color: var(--accent);
}

.stat-stack {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.stat-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  font-size: 11px;
}

.stat-line span {
  color: var(--muted);
}

.stat-line b {
  color: var(--ink-soft);
}

@media (max-width: 1280px) {
  .site-header {
    gap: 18px;
  }

  .brand-descriptor {
    display: none;
  }

  .top-grid {
    grid-template-columns: minmax(0, 1.8fr) repeat(3, minmax(0, 1fr));
  }

  .lead-title {
    font-size: 29px;
  }

  .lead-metrics {
    grid-template-columns: repeat(2, minmax(90px, 1fr));
    row-gap: 10px;
  }

  .lead-metric:nth-child(2) {
    border-right: 0;
  }

  .lead-action {
    min-width: 150px;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto minmax(230px, 1fr) auto;
  }

  .socials {
    display: none;
  }

  .top-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .top-grid > .panel {
    grid-column: auto;
  }

  .top-grid > .lead-panel {
    grid-column: 1 / -1;
  }

  .primary-window-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .primary-window-grid .window-column:last-child {
    grid-column: 1 / -1;
  }

  .primary-window-grid .window-column:last-child .card-list-primary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .primary-window-grid .window-column:last-child .market-card {
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .primary-window-grid .window-column:last-child .market-card:last-child {
    border-right: 0;
  }

  .card-list-more.count-4,
  .card-list-more.count-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .card-list-more .market-card {
    border-bottom: 1px solid var(--line);
  }

  .window-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body {
    font-size: 14px;
  }

  body::before {
    opacity: 0.1;
    background-size: 28px 28px;
  }

  .site-header {
    grid-template-areas:
      "brand social"
      "search search"
      "nav nav";
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 9px 12px;
    min-height: 0;
    padding: 10px 12px 8px;
  }

  .brand {
    grid-area: brand;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-word {
    font-size: 23px;
  }

  .brand-descriptor,
  .brand > span:last-child {
    display: none;
  }

  .brand > img:not(.brand-logo) {
    width: 92px;
  }

  .search-shell {
    width: 100%;
    min-height: 38px;
    grid-area: search;
  }

  .search-shell input {
    padding-top: 8px;
    padding-bottom: 8px;
    font-size: 12px;
  }

  .top-nav {
    grid-area: nav;
    justify-content: center;
    gap: 28px;
    border-top: 1px solid var(--line);
  }

  .top-nav a {
    padding: 9px 0 7px;
    font-size: 10px;
  }

  .socials {
    display: flex;
    grid-area: social;
  }

  .socials a {
    width: 30px;
    height: 30px;
  }

  .socials svg {
    width: 13px;
    height: 13px;
  }

  .market-ticker {
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 38px;
  }

  .ticker-status {
    padding: 0 10px;
  }

  .ticker-status b {
    gap: 6px;
    font-size: 8px;
  }

  .ticker-track {
    min-height: 38px;
  }

  .ticker-item {
    padding: 0 13px;
  }

  .ticker-item b {
    max-width: 290px;
    font-size: 10px;
  }

  .dashboard {
    padding: 10px 8px 20px;
  }

  .top-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .top-grid > .panel {
    grid-column: auto;
    height: auto;
    min-height: 0;
  }

  .top-grid > .lead-panel {
    grid-column: auto;
    min-height: 365px;
    padding: 15px;
  }

  .lead-copy {
    max-width: 100%;
    margin-top: 20px;
  }

  .lead-title {
    font-size: 32px;
    line-height: 0.98;
  }

  .lead-subtitle {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }

  .lead-bottom {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .lead-metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lead-metric {
    padding: 0 7px;
  }

  .lead-value {
    font-size: 11px;
  }

  .lead-value.primary {
    font-size: 24px;
  }

  .lead-action {
    grid-template-columns: 32px auto 14px;
    width: 100%;
    min-width: 0;
  }

  .panel {
    min-height: 0;
  }

  .certain-panel,
  .new-market-panel,
  .asset-panel {
    height: 270px;
    min-height: 270px;
  }

  .intel-list {
    height: 224px;
  }

  .asset-scroll,
  .asset-track {
    height: 260px;
  }

  .primary-window-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .primary-window-grid .window-column:last-child {
    grid-column: auto;
  }

  .window-head {
    min-height: 62px;
  }

  .window-label b {
    font-size: 25px;
  }

  .card-list-primary,
  .primary-window-grid .window-column:last-child .card-list-primary,
  .card-list-more,
  .card-list-more.count-1,
  .card-list-more.count-2,
  .card-list-more.count-3,
  .card-list-more.count-4,
  .card-list-more.count-5 {
    display: grid;
    grid-auto-columns: minmax(254px, 84vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 1px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
  }

  .card-list-primary .market-card,
  .primary-window-grid .window-column:last-child .market-card,
  .card-list-more .market-card {
    min-height: 158px;
    border-right: 1px solid var(--line);
    border-bottom: 0;
    scroll-snap-align: start;
  }

  .continuation-stream {
    gap: 8px;
    margin-top: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin: 0 7px 7px;
    padding: 8px 9px;
  }

  .footer-links {
    display: none;
  }

  .footer-brand img {
    width: 48px;
  }

  .footer-brand span {
    font-size: 6px;
  }

  .about-shell,
  .content-shell,
  .window-page-shell {
    padding: 12px 8px 28px;
  }

  .about-hero {
    min-height: 460px;
    padding: 32px 22px;
  }

  .about-hero::after {
    right: -55px;
    bottom: -90px;
    font-size: 220px;
  }

  .about-hero h1 {
    margin-top: 40px;
    font-size: 49px;
  }

  .about-hero > p {
    font-size: 15px;
  }

  .about-source-line {
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 28px;
  }

  .about-proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-proof article:nth-child(2) {
    border-right: 0;
  }

  .about-proof article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .about-process,
  .about-manifesto {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 24px 18px;
  }

  .about-process h2 {
    font-size: 34px;
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principles article {
    min-height: 130px;
  }

  .window-page-hero {
    min-height: 230px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px 20px;
  }

  .window-page-hero h1 {
    font-size: 46px;
  }

  .window-market-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .window-market-grid .market-card {
    min-height: 170px;
  }

  .window-page-notes {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .window-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-panel {
    padding: 18px;
  }

  .content-panel .panel-title {
    margin: -18px -18px 20px;
  }

  .content-panel h1 {
    font-size: 37px;
  }
}

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

/* Five-window hero correction: separate short windows above the fold while
   keeping the combined intraday continuation below the hero. */
:root {
  --page: 1420px;
}

.top-grid {
  grid-template-rows: repeat(2, 168px);
}

.top-grid > .lead-panel {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
}

.top-grid > .certain-panel {
  grid-column: 7 / -1;
  grid-row: 1;
}

.top-grid > .asset-panel {
  grid-column: 7 / -1;
  grid-row: 2;
}

.lead-panel {
  padding: 18px 20px 17px;
}

.lead-copy {
  max-width: 96%;
  margin: 15px 0 auto;
}

.lead-title {
  max-width: 650px;
  font-size: clamp(24px, 2.05vw, 31px);
  line-height: 1.09;
}

.lead-subtitle {
  max-width: 620px;
  font-size: 12px;
  line-height: 1.4;
}

.certain-panel,
.asset-panel {
  border-color: rgba(241, 201, 40, 0.22);
  background:
    radial-gradient(circle at 100% 0, rgba(241, 201, 40, 0.075), transparent 18rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025), transparent 52%),
    rgba(24, 29, 32, 0.96);
}

.certain-panel .panel-title,
.asset-panel .panel-title {
  min-height: 42px;
  padding: 0 15px;
}

.certain-panel .panel-title > span,
.asset-panel .panel-title > span {
  font-size: 12px;
  font-weight: 680;
}

.certain-panel .intel-list {
  height: calc(100% - 42px);
}

.certain-panel .intel-row {
  min-height: 63px;
  padding: 9px 15px;
  border-left: 2px solid transparent;
}

.certain-panel .intel-row:hover {
  border-left-color: var(--accent);
}

.certain-panel .intel-copy b {
  font-size: 13px;
  font-weight: 600;
  -webkit-line-clamp: 2;
}

.certain-panel .intel-value b {
  display: inline-flex;
  align-items: center;
  min-width: 47px;
  min-height: 27px;
  justify-content: center;
  padding: 0 8px;
  border: 1px solid rgba(241, 201, 40, 0.32);
  border-radius: 999px;
  background: rgba(241, 201, 40, 0.09);
  color: var(--accent-bright);
  font-size: 14px;
}

.asset-scroll,
.asset-track {
  height: calc(100% - 42px);
}

.asset-body {
  height: 100%;
}

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

.asset-row {
  min-height: 58px;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 6px;
  padding: 7px 13px;
  border-bottom-color: rgba(255, 255, 255, 0.075);
}

.asset-row:nth-child(odd) {
  border-right: 1px solid rgba(255, 255, 255, 0.075);
}

.asset-copy b,
.asset-range {
  font-size: 13px;
}

.asset-copy em,
.asset-date {
  font-size: 9px;
}

.asset-icon {
  width: 26px;
  height: 26px;
}

.asset-icon img {
  width: 25px;
  height: 25px;
}

.primary-window-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.primary-window-grid .window-column {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.primary-window-grid .window-head {
  min-height: 54px;
  padding: 0 2px 9px;
  border: 0;
  background: transparent;
}

.primary-window-grid .window-label {
  gap: 1px;
}

.primary-window-grid .window-label b {
  font-size: 15px;
  font-weight: 680;
}

.primary-window-grid .window-label span {
  font-size: 9px;
}

.primary-window-grid .window-label em {
  font-size: 8px;
}

.primary-window-grid .view-all {
  padding: 6px 8px;
  font-size: 8px;
}

.primary-window-grid .card-list-primary {
  gap: 10px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.primary-window-grid .market-card {
  min-height: 154px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.035), transparent 58%),
    rgba(20, 25, 28, 0.94);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
}

.primary-window-grid .market-card:hover {
  border-color: rgba(241, 201, 40, 0.34);
  background:
    linear-gradient(140deg, rgba(241, 201, 40, 0.07), transparent 62%),
    rgba(23, 28, 31, 0.98);
}

.primary-window-grid .card-title {
  min-height: 45px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.primary-window-grid .card-prob {
  font-size: 23px;
}

.primary-window-grid .card-meta,
.primary-window-grid .card-timing {
  font-size: 9px;
}

.primary-window-grid .column-foot {
  display: none;
}

@media (max-width: 1180px) {
  :root {
    --page: 100%;
  }

  .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 300px 176px;
  }

  .top-grid > .lead-panel {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .top-grid > .certain-panel {
    grid-column: 1;
    grid-row: 2;
  }

  .top-grid > .asset-panel {
    grid-column: 2;
    grid-row: 2;
  }

  .primary-window-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .top-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 302px 186px 210px;
  }

  .top-grid > .lead-panel,
  .top-grid > .certain-panel,
  .top-grid > .asset-panel {
    grid-column: 1;
  }

  .top-grid > .lead-panel { grid-row: 1; }
  .top-grid > .certain-panel { grid-row: 2; }
  .top-grid > .asset-panel { grid-row: 3; }

  .asset-rows {
    grid-template-columns: 1fr;
    grid-auto-rows: 52px;
  }

  .asset-row:nth-child(odd) {
    border-right: 0;
  }

  .primary-window-grid {
    grid-template-columns: 1fr;
  }
}

/* Final homepage surface pass: compact Kalshi-inspired tiles without changing data flow. */
.certain-panel,
.asset-panel {
  border-color: rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.022), transparent 46%),
    rgba(17, 22, 25, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.certain-panel .panel-title,
.asset-panel .panel-title {
  min-height: 36px;
  padding: 0 13px;
  border-bottom: 0;
}

.certain-panel .intel-list,
.asset-scroll {
  height: calc(100% - 36px);
  overflow: hidden;
}

.certain-panel .intel-scroll-track,
.asset-rows {
  display: flex;
  height: auto;
  flex-direction: column;
  animation-play-state: running !important;
  will-change: transform;
}

.certain-panel .intel-scroll-track {
  animation: intel-scroll 32s linear infinite !important;
}

.asset-rows.is-scrolling {
  animation: asset-scroll 32s linear infinite !important;
}

.intel-scroll-sequence,
.asset-sequence {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 8px;
  padding: 4px 10px 10px;
}

.certain-panel .intel-scroll-sequence > .intel-row {
  display: grid;
  flex: 0 0 74px;
  min-height: 74px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.027), transparent 74%),
    rgba(25, 31, 34, 0.9);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.asset-row,
.asset-row:nth-child(odd) {
  display: grid;
  min-height: 58px;
  flex: 0 0 58px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 72%),
    rgba(25, 31, 34, 0.9);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.certain-panel .intel-row:hover,
.asset-row:hover {
  border-color: rgba(241, 201, 40, 0.32);
  background:
    linear-gradient(145deg, rgba(241, 201, 40, 0.055), transparent 82%),
    rgba(28, 34, 37, 0.96);
}

.certain-panel .intel-copy b,
.asset-copy b,
.asset-range {
  font-size: 13px;
  font-weight: 620;
}

.certain-panel .intel-value b {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-bright);
  font-size: 13px;
}

.asset-rows {
  grid-template-columns: none;
  grid-auto-rows: auto;
}

@media (min-width: 1181px) {
  .top-grid {
    grid-template-rows: 308px;
  }

  .lead-panel {
    min-height: 308px;
  }

  .primary-window-grid .window-head {
    min-height: 50px;
  }

  .primary-window-grid .market-card {
    min-height: 180px;
    padding: 14px;
  }

  .primary-window-grid .card-title {
    min-height: 61px;
    font-size: 13px;
    line-height: 1.34;
    -webkit-line-clamp: 4;
  }

  .primary-window-grid .card-prob {
    font-size: 26px;
  }

  .primary-window-grid .card-meta,
  .primary-window-grid .card-timing {
    font-size: 10px;
  }

  .certain-panel .intel-scroll-sequence > .intel-row {
    flex-basis: 80px;
    min-height: 80px;
  }

  .asset-row,
  .asset-row:nth-child(odd) {
    min-height: 56px;
    flex-basis: 56px;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .certain-panel .intel-scroll-sequence > .intel-row {
    flex-basis: 58px;
    min-height: 58px;
    padding: 8px 10px;
  }

  .asset-row,
  .asset-row:nth-child(odd) {
    min-height: 52px;
    flex-basis: 52px;
    padding: 6px 10px;
  }
}

@media (max-width: 760px) {
  .certain-panel .intel-scroll-sequence > .intel-row {
    flex-basis: 62px;
    min-height: 62px;
    padding: 8px 10px;
  }

  .asset-row,
  .asset-row:nth-child(odd) {
    min-height: 52px;
    flex-basis: 52px;
    padding: 6px 10px;
  }
}

/* Compact upper rail: use the reclaimed height for the two readable cards in
   every time window while keeping the established five-column composition. */
.brand-logo {
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 0 0 1px rgba(241, 201, 40, 0.3), 0 8px 24px rgba(241, 201, 40, 0.12);
}

.footer-brand {
  gap: 8px;
}

.footer-brand img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.footer-brand b {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: -0.02em;
}

.lead-kicker,
.certain-panel .panel-title > span,
.asset-panel .panel-title > span {
  font-family: var(--sans);
  letter-spacing: -0.01em;
  text-transform: none;
}

.lead-kicker > b,
.certain-panel .panel-title > span,
.asset-panel .panel-title > span {
  font-size: 13px;
  font-weight: 650;
}

.certain-panel,
.asset-panel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 62%),
    rgba(21, 26, 29, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.certain-panel .panel-title,
.asset-panel .panel-title {
  min-height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.certain-panel .panel-title .surface-icon,
.asset-panel .panel-title .surface-icon {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 7px;
}

.certain-panel .panel-title .surface-icon svg,
.asset-panel .panel-title .surface-icon svg {
  width: 15px;
  height: 15px;
}

.certain-panel .intel-list,
.asset-scroll {
  height: calc(100% - 40px);
  overflow: hidden;
}

.certain-panel .intel-scroll-track {
  height: auto;
  animation: intel-scroll 32s linear infinite !important;
  animation-play-state: running !important;
  will-change: transform;
}

.certain-panel .intel-scroll-sequence > .intel-row {
  display: grid;
  flex: 0 0 88px;
  min-height: 88px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
}

.certain-panel .intel-copy b {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.32;
}

.certain-panel .intel-value b {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--accent-bright);
  font-size: 13px;
  letter-spacing: -0.035em;
}

.asset-rows {
  grid-auto-rows: 70px;
}

.asset-rows.is-scrolling {
  animation: asset-scroll 32s linear infinite !important;
  animation-play-state: running !important;
}

.asset-row {
  min-height: 70px;
  gap: 10px;
  padding: 9px 14px;
  border-bottom-color: rgba(255, 255, 255, 0.075);
}

.asset-copy b,
.asset-range {
  font-size: 13px;
  font-weight: 600;
}

.asset-copy em,
.asset-date {
  font-size: 9px;
}

.asset-icon {
  width: 29px;
  height: 29px;
}

.asset-icon img {
  width: 28px;
  height: 28px;
}

@media (min-width: 1181px) {
  .top-grid {
    grid-template-rows: 324px;
  }

  .lead-panel {
    min-height: 324px;
    padding: 17px 20px 16px;
  }

  .lead-copy {
    max-width: 100%;
    margin: 11px 0 auto;
  }

  .lead-title {
    max-width: none;
    font-size: clamp(21px, 1.48vw, 24px);
    font-weight: 620;
    letter-spacing: -0.025em;
    line-height: 1.14;
    text-wrap: pretty;
  }

  .lead-subtitle {
    max-width: none;
    margin-top: 9px;
    font-size: 12px;
    line-height: 1.38;
  }

  .lead-bottom {
    gap: 12px;
    padding-top: 12px;
  }

  .lead-value.primary {
    font-size: 27px;
  }

  .primary-window-grid .market-card {
    min-height: 174px;
    padding: 13px;
  }

  .primary-window-grid .card-title {
    min-height: 67px;
    font-size: 12.5px;
    line-height: 1.34;
    -webkit-line-clamp: 4;
  }

  .primary-window-grid .card-prob {
    font-size: 24px;
  }

  .primary-window-grid .card-meta,
  .primary-window-grid .card-timing {
    font-size: 9.5px;
  }
}

@media (max-width: 760px) {
  .footer-brand img {
    width: 26px;
    height: 26px;
  }

  .footer-brand b {
    font-size: 13px;
  }

  .certain-panel .intel-scroll-sequence > .intel-row {
    flex-basis: 62px;
    min-height: 62px;
    padding: 8px 11px;
  }

  .asset-rows {
    grid-auto-rows: 52px;
  }

  .asset-row {
    min-height: 52px;
    padding: 6px 11px;
  }
}

/* Tiled intelligence surfaces take their cue from Kalshi's compact hub cards:
   quiet containers, no title rule, and a readable tile for every item. */
.certain-panel,
.asset-panel {
  border-color: rgba(255, 255, 255, 0.09);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.026), transparent 62%),
    rgba(17, 22, 25, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.018);
}

.certain-panel .panel-title,
.asset-panel .panel-title {
  min-height: 36px;
  padding: 0 13px;
  border-bottom: 0;
}

.certain-panel .intel-list,
.asset-scroll {
  height: calc(100% - 36px);
  overflow: hidden;
}

.certain-panel .intel-scroll-track,
.asset-rows {
  display: flex;
  height: auto;
  flex-direction: column;
  animation-play-state: running !important;
  will-change: transform;
}

.certain-panel .intel-scroll-track {
  animation: intel-scroll 32s linear infinite !important;
}

.asset-rows.is-scrolling {
  animation: asset-scroll 32s linear infinite !important;
}

.intel-scroll-sequence,
.asset-sequence {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  gap: 8px;
  padding: 4px 10px 10px;
}

.certain-panel .intel-scroll-track > .intel-row,
.certain-panel .intel-scroll-track > .intel-row[aria-hidden="true"] {
  display: grid;
  flex: 0 0 74px;
  min-height: 74px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.027), transparent 80%),
    rgba(25, 31, 34, 0.9);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.certain-panel .intel-row:hover,
.asset-row:hover {
  border-color: rgba(241, 201, 40, 0.32);
  background:
    linear-gradient(145deg, rgba(241, 201, 40, 0.055), transparent 82%),
    rgba(28, 34, 37, 0.96);
}

.certain-panel .intel-copy b,
.asset-copy b,
.asset-range {
  font-size: 13px;
  font-weight: 620;
}

.certain-panel .intel-value b {
  color: var(--accent-bright);
  font-size: 13px;
}

.asset-rows {
  grid-template-columns: none;
  grid-auto-rows: auto;
}

.asset-row,
.asset-row:nth-child(odd) {
  display: grid;
  min-height: 58px;
  flex: 0 0 58px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 10px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 80%),
    rgba(25, 31, 34, 0.9);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.asset-icon {
  width: 27px;
  height: 27px;
}

.asset-icon img {
  width: 26px;
  height: 26px;
}

@media (min-width: 1181px) {
  .top-grid {
    grid-template-rows: 308px;
  }

  .lead-panel {
    min-height: 308px;
  }

  .primary-window-grid .window-head {
    min-height: 50px;
  }

  .certain-panel .intel-scroll-sequence > .intel-row {
    flex-basis: 80px;
    min-height: 80px;
  }

  .asset-row,
  .asset-row:nth-child(odd) {
    min-height: 56px;
    flex-basis: 56px;
  }

  .primary-window-grid .market-card {
    min-height: 202px;
    padding: 14px;
  }

  .primary-window-grid .card-title {
    min-height: 67px;
    font-size: 13px;
    line-height: 1.34;
    -webkit-line-clamp: 4;
  }

  .primary-window-grid .card-prob {
    font-size: 26px;
  }

  .primary-window-grid .card-meta,
  .primary-window-grid .card-timing {
    font-size: 10px;
  }
}

@media (min-width: 761px) and (max-width: 1180px) {
  .certain-panel .intel-scroll-sequence > .intel-row {
    flex-basis: 58px;
    min-height: 58px;
    padding: 8px 10px;
  }

  .asset-row,
  .asset-row:nth-child(odd) {
    min-height: 52px;
    flex-basis: 52px;
    padding: 6px 10px;
  }
}

@media (max-width: 760px) {
  .certain-panel .intel-scroll-track > .intel-row,
  .certain-panel .intel-scroll-track > .intel-row[aria-hidden="true"] {
    flex-basis: 62px;
    min-height: 62px;
    padding: 8px 10px;
  }

  .asset-row,
  .asset-row:nth-child(odd) {
    min-height: 52px;
    flex-basis: 52px;
    padding: 6px 10px;
  }
}

/* These are intentional information rails, not decorative motion. Keep them
   moving even when a browser's reduced-motion setting is enabled. */
@media (prefers-reduced-motion: reduce) {
  .ticker-track:not(.is-empty),
  .intel-scroll-track,
  .asset-rows.is-scrolling {
    animation-duration: 28s !important;
    animation-iteration-count: infinite !important;
  }
}

/*
  Market UI refinement
  The data surface remains unchanged. This layer replaces the earlier
  dashboard-heavy treatment with a centered, editorial market interface.
*/
:root {
  --bg: #101315;
  --bg-raised: #14181b;
  --surface: #171c1f;
  --surface-strong: #1d2327;
  --surface-soft: #121719;
  --ink: #f7f7f2;
  --ink-soft: #d7dbd8;
  --muted: #8f9a9b;
  --muted-strong: #aeb7b6;
  --line: #293135;
  --line-strong: #3a454a;
  --accent: #f1c928;
  --accent-bright: #ffdc3d;
  --accent-soft: rgba(241, 201, 40, 0.1);
  --accent-line: rgba(241, 201, 40, 0.5);
  --radius: 16px;
  --page: 1280px;
  --sans: "Inter", "Segoe UI", sans-serif;
  --display: "Inter", "Segoe UI", sans-serif;
  --mono: "Inter", "Segoe UI", sans-serif;
  --shadow: 0 18px 52px rgba(0, 0, 0, 0.18);
}

html {
  background: var(--bg);
  scrollbar-color: #465055 #0f1315;
}

body {
  background:
    radial-gradient(circle at 17% -20%, rgba(241, 201, 40, 0.09), transparent 31rem),
    radial-gradient(circle at 84% 8%, rgba(255, 255, 255, 0.024), transparent 30rem),
    linear-gradient(180deg, #15191c 0, #101315 37rem);
  font-family: var(--sans);
  letter-spacing: -0.012em;
}

body::before {
  display: none;
}

.site-header {
  grid-template-columns: max-content minmax(240px, 1fr) max-content max-content;
  gap: 20px;
  min-height: 70px;
  padding: 11px max(20px, calc((100vw - var(--page)) / 2));
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(16, 19, 21, 0.92);
}

.brand {
  gap: 9px;
}

.brand-logo {
  width: 31px;
  height: 31px;
  box-shadow: 0 0 0 1px rgba(241, 201, 40, 0.42), 0 5px 16px rgba(241, 201, 40, 0.1);
}

.brand-word {
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.065em;
}

.brand-descriptor,
.brand > span:last-child {
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

.brand-descriptor b,
.brand > span:last-child b {
  color: var(--accent);
}

.search-shell {
  width: min(100%, 540px);
  min-height: 40px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: #1a2024;
}

.search-shell:focus-within {
  border-color: rgba(241, 201, 40, 0.65);
  background: #1d2428;
}

.search-shell > span {
  color: #aeb7b6;
  font-size: 18px;
}

.search-shell input {
  color: var(--ink-soft);
  font-size: 12px;
}

.top-nav {
  gap: 16px;
}

.top-nav a {
  padding: 8px 0;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.012em;
  text-transform: none;
}

.top-nav a::after {
  bottom: 1px;
  height: 2px;
  border-radius: 999px;
}

.socials {
  gap: 6px;
}

.socials a {
  width: 31px;
  height: 31px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: #1a2024;
}

.socials a:hover {
  border-color: rgba(241, 201, 40, 0.55);
  background: #202629;
  transform: translateY(-1px);
}

.market-ticker {
  grid-template-columns: 136px minmax(0, 1fr);
  min-height: 44px;
  padding: 0 max(20px, calc((100vw - var(--page)) / 2));
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(15, 18, 20, 0.9);
}

.ticker-status {
  padding: 0 14px 0 0;
  border-right-color: rgba(255, 255, 255, 0.08);
  background: transparent;
}

.ticker-status b {
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -0.012em;
  text-transform: none;
}

.live-pulse {
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.ticker-track {
  min-height: 44px;
}

.ticker-item {
  gap: 8px;
  padding: 0 18px;
}

.ticker-item b {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 550;
}

.ticker-probability {
  color: var(--accent-bright);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.status-banner {
  width: min(calc(100% - 40px), var(--page));
  margin: 14px auto 0;
  border-radius: 10px;
}

.dashboard {
  width: min(calc(100% - 40px), var(--page));
  padding: 22px 0 52px;
}

.top-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(2, 168px);
  gap: 12px;
}

.top-grid > .panel {
  height: auto;
  min-height: 0;
}

.top-grid > .lead-panel {
  grid-column: 1 / span 6;
  grid-row: 1 / span 2;
}

.top-grid > .certain-panel {
  grid-column: 7 / span 3;
  grid-row: 1;
}

.top-grid > .new-market-panel {
  grid-column: 10 / span 3;
  grid-row: 1;
}

.top-grid > .asset-panel {
  grid-column: 7 / span 6;
  grid-row: 2;
}

.panel,
.window-column,
.window-continuation {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.022), transparent 16rem),
    rgba(24, 29, 32, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.025), var(--shadow);
}

.panel::before,
.window-column::before,
.window-continuation::before {
  display: none;
}

.lead-panel {
  min-height: 348px;
  padding: 20px 22px 18px;
  border-color: rgba(241, 201, 40, 0.55);
  background:
    radial-gradient(circle at 96% 0, rgba(241, 201, 40, 0.11), transparent 20rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent 46%),
    #181c1a;
}

.lead-panel::after {
  display: none;
}

.lead-kicker {
  color: var(--muted-strong);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: -0.012em;
  text-transform: none;
}

.lead-kicker > span,
.panel-title i {
  width: 22px;
  height: 22px;
  border-color: rgba(241, 201, 40, 0.42);
  border-radius: 8px;
  color: var(--accent);
  background: rgba(241, 201, 40, 0.07);
}

.lead-kicker em {
  padding: 5px 8px;
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.lead-copy {
  max-width: 95%;
  margin: 20px 0 auto;
}

.lead-title {
  max-width: 720px;
  font-family: var(--sans);
  font-size: clamp(28px, 2.55vw, 38px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.06;
}

.lead-subtitle {
  max-width: 690px;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.45;
}

.lead-bottom {
  gap: 18px;
  padding-top: 15px;
  border-top-color: rgba(255, 255, 255, 0.11);
}

.lead-metric {
  gap: 4px;
  padding: 0 12px;
  border-right-color: rgba(255, 255, 255, 0.1);
}

.lead-value {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.lead-value.primary {
  font-size: 29px;
  font-weight: 700;
}

.lead-label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.lead-action {
  grid-template-columns: 31px auto 13px;
  min-width: 180px;
  padding: 8px 11px;
  border-radius: 12px;
  box-shadow: 0 3px 0 rgba(12, 52, 111, 0.92), 0 10px 22px rgba(47, 120, 238, 0.14);
  transition: transform 150ms ease, box-shadow 150ms ease, filter 150ms ease;
}

.lead-action:hover,
.view-all:hover,
.about-primary-action:hover,
.about-secondary-action:hover,
.back-link:hover {
  transform: translateY(-1px);
}

.lead-action:active,
.view-all:active,
.about-primary-action:active,
.about-secondary-action:active,
.back-link:active {
  transform: translateY(2px);
}

.lead-action.source-kalshi {
  box-shadow: 0 3px 0 #087352, 0 10px 22px rgba(9, 216, 150, 0.12);
}

.lead-action b {
  font-size: 11px;
}

.lead-action small {
  font-size: 9px;
}

.lead-poly {
  width: 31px;
  height: 31px;
  border-radius: 8px;
}

.lead-poly img {
  width: 22px;
  height: 22px;
}

.source-kalshi .lead-poly img {
  width: 31px;
  height: 31px;
}

.panel-title {
  min-height: 43px;
  padding: 0 13px;
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.panel-title > span {
  gap: 8px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -0.012em;
  text-transform: none;
}

.intel-list,
.asset-scroll,
.asset-track {
  height: calc(100% - 43px);
}

.intel-row {
  min-height: 62px;
  gap: 8px;
  padding: 10px 13px;
  border-bottom-color: rgba(255, 255, 255, 0.075);
}

.intel-row:hover,
.asset-row:hover,
.market-card:hover {
  background: rgba(241, 201, 40, 0.045);
}

.intel-copy b {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 570;
  letter-spacing: -0.018em;
  line-height: 1.3;
  -webkit-line-clamp: 2;
}

.intel-value b {
  color: var(--accent-bright);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.05em;
}

.new-market-list .intel-row {
  min-height: 62px;
}

.asset-head {
  padding: 7px 13px;
  border-bottom-color: rgba(255, 255, 255, 0.075);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: lowercase;
}

.asset-row {
  min-height: 47px;
  padding: 6px 13px;
  border-bottom-color: rgba(255, 255, 255, 0.075);
}

.asset-icon {
  width: 24px;
  height: 24px;
}

.asset-icon img {
  width: 23px;
  height: 23px;
}

.asset-copy b {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
}

.asset-copy em,
.asset-date {
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: -0.01em;
}

.asset-range {
  color: var(--accent-bright);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 680;
  letter-spacing: -0.038em;
}

.window-grid {
  margin-top: 16px;
}

.primary-window-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.window-column {
  animation: section-reveal 380ms ease both;
}

.window-head {
  min-height: 72px;
  padding: 12px 13px;
  border-bottom-color: rgba(255, 255, 255, 0.09);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent);
}

.window-label {
  grid-template-columns: 1fr;
  gap: 2px;
}

.window-label b {
  grid-row: auto;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 680;
  letter-spacing: -0.045em;
}

.window-label span {
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 530;
  letter-spacing: -0.01em;
  text-transform: none;
}

.window-label em {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: -0.012em;
  text-transform: lowercase;
}

.view-all {
  gap: 5px;
  padding: 7px 9px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--ink-soft);
  background: #20272b;
  box-shadow: 0 2px 0 #0c1012;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-transform: none;
  transition: transform 150ms ease, color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.view-all:hover {
  color: #171b1d;
  background: var(--accent);
  box-shadow: 0 2px 0 #a98b09;
}

.card-list-primary {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.market-card {
  min-height: 158px;
  padding: 13px;
  border-bottom-color: rgba(255, 255, 255, 0.075);
  background: rgba(16, 20, 22, 0.38);
  transition: background 160ms ease;
}

.card-window-tag {
  display: inline-flex;
  margin-bottom: 6px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card-title {
  min-height: 49px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 590;
  letter-spacing: -0.023em;
  line-height: 1.28;
  -webkit-line-clamp: 3;
}

.card-window-tag + .card-title {
  min-height: 39px;
}

.poly-btn {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  box-shadow: 0 4px 12px rgba(47, 120, 238, 0.14);
}

.poly-btn img {
  width: 21px;
  height: 21px;
}

.poly-btn.source-kalshi img {
  width: 24px;
  height: 24px;
}

.card-metrics {
  gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}

.card-prob {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.065em;
}

.card-change {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.card-meta {
  margin-top: 7px;
  color: var(--muted-strong);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
}

.card-timing {
  margin-top: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: -0.012em;
  text-align: left;
}

.card-tags {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 550;
  letter-spacing: -0.012em;
  text-transform: none;
}

.column-foot {
  min-height: 40px;
  padding: 0 13px;
  border-top-color: rgba(255, 255, 255, 0.075);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 550;
  letter-spacing: -0.012em;
  text-transform: none;
}

.column-foot:hover {
  color: var(--accent);
}

.continuation-stream {
  gap: 16px;
  margin-top: 16px;
}

.continuation-window-head {
  min-height: 68px;
}

.card-list-more {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.card-list-more .market-card {
  min-height: 170px;
  border-right-color: rgba(255, 255, 255, 0.075);
}

.site-footer {
  width: min(calc(100% - 40px), var(--page));
  grid-template-columns: minmax(235px, 1.25fr) minmax(450px, 1.65fr) auto;
  align-items: start;
  gap: 34px;
  min-height: 0;
  margin: 0 auto 28px;
  padding: 25px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: transparent;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: -0.012em;
  text-transform: none;
}

.footer-core {
  display: grid;
  gap: 8px;
}

.footer-brand {
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.footer-brand img {
  width: 58px;
}

.footer-core p {
  max-width: 250px;
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.footer-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-group {
  display: grid;
  align-content: start;
  gap: 7px;
}

.footer-group b {
  margin-bottom: 3px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
}

.footer-group a {
  color: var(--muted-strong);
  font-size: 10px;
}

.footer-group a:hover {
  color: var(--accent);
}

.footer-status {
  justify-self: end;
  padding-top: 1px;
  color: var(--muted-strong);
  font-size: 10px;
}

/* About and utility pages */
.about-shell,
.content-shell,
.window-page-shell {
  width: min(calc(100% - 40px), var(--page));
  padding: 28px 0 52px;
}

.back-link {
  gap: 7px;
  margin-bottom: 18px;
  padding: 8px 11px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted-strong);
  background: #1a2023;
  box-shadow: 0 2px 0 #0d1113;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.012em;
  text-transform: none;
  transition: transform 150ms ease, border-color 150ms ease, color 150ms ease;
}

.about-hero {
  min-height: 405px;
  padding: clamp(38px, 5vw, 70px);
  border-color: rgba(241, 201, 40, 0.48);
  border-radius: 20px;
  background:
    radial-gradient(circle at 89% 14%, rgba(241, 201, 40, 0.11), transparent 21rem),
    linear-gradient(145deg, #1a1f21, #14191b 72%);
}

.about-hero::after {
  display: none;
}

.about-eyebrow,
.window-page-eyebrow {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -0.012em;
  text-transform: none;
}

.about-hero h1 {
  max-width: 820px;
  margin: 28px 0 18px;
  font-family: var(--sans);
  font-size: clamp(39px, 5.4vw, 72px);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.about-hero h1 em {
  color: var(--accent);
  font-style: normal;
}

.about-hero > p {
  max-width: 670px;
  font-size: 15px;
  line-height: 1.58;
}

.about-source-line {
  color: var(--muted-strong);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: -0.012em;
  text-transform: none;
}

.about-source-line b {
  color: var(--accent);
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 26px;
}

.about-primary-action,
.about-secondary-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 650;
  transition: transform 150ms ease, border-color 150ms ease, color 150ms ease;
}

.about-primary-action {
  color: #171b1d;
  background: var(--accent);
  box-shadow: 0 3px 0 #a98b09;
}

.about-secondary-action {
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.42);
}

.about-proof {
  gap: 12px;
  margin: 16px 0;
}

.about-proof article {
  min-height: 105px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(24, 29, 32, 0.82);
}

.about-proof b {
  color: var(--accent-bright);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.055em;
}

.about-proof span {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: -0.012em;
  text-transform: none;
}

.about-process,
.about-manifesto {
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(24, 29, 32, 0.74);
}

.about-process {
  padding: clamp(24px, 4vw, 46px);
}

.about-process > header > span,
.window-guide-copy > span {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: -0.012em;
  text-transform: none;
}

.about-process h2,
.window-guide-copy h2 {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -0.052em;
}

.about-process h2 {
  font-size: clamp(28px, 3.5vw, 45px);
}

.about-process header p,
.about-principles p {
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.55;
}

.about-principles {
  gap: 10px;
  margin-top: 28px;
}

.about-principles article {
  min-height: 180px;
  padding: 19px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: #151a1c;
}

.about-principles article > span {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
}

.about-principles h3 {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.about-manifesto {
  margin-top: 16px;
  padding: clamp(24px, 4vw, 46px);
}

.about-statement h2 {
  font-family: var(--sans);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 650;
  letter-spacing: -0.055em;
}

.about-mark {
  color: var(--accent);
  font-family: var(--sans);
  font-weight: 700;
}

.about-copy p {
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.6;
}

.about-socials a {
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: -0.012em;
  text-transform: none;
}

/* All-window pages */
.view-all-page .site-header {
  min-height: 70px;
}

.window-page-hero {
  min-height: 200px;
  padding: 32px 36px;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  background:
    radial-gradient(circle at 88% 15%, rgba(241, 201, 40, 0.09), transparent 19rem),
    #181d20;
}

.window-page-hero h1 {
  margin: 13px 0 7px;
  font-family: var(--sans);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 650;
  letter-spacing: -0.058em;
  line-height: 1;
}

.window-page-hero p {
  color: var(--muted-strong);
  font-size: 13px;
}

.window-count-pill {
  padding: 8px 11px;
  border-color: rgba(241, 201, 40, 0.5);
  color: var(--accent);
  background: rgba(241, 201, 40, 0.07);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: -0.012em;
  text-transform: none;
}

.window-market-grid {
  gap: 12px;
  margin-top: 16px;
}

.window-market-grid .market-card {
  min-height: 185px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
}

.window-market-grid .card-title {
  min-height: 52px;
  font-size: 14px;
}

.window-market-grid .card-prob {
  font-size: 27px;
}

.window-page-notes {
  gap: 24px;
  margin-top: 16px;
  padding: 25px;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(24, 29, 32, 0.8);
}

.window-guide-copy h2 {
  font-size: 26px;
}

.window-guide-copy p {
  color: var(--muted-strong);
  font-size: 12px;
}

.window-switcher {
  gap: 9px;
}

.window-switcher a {
  min-height: 76px;
  padding: 11px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  background: #151a1d;
}

.window-switcher b {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 650;
}

.window-switcher span {
  font-size: 10px;
}

.content-panel {
  border-radius: 16px;
}

.content-panel h1,
.content-panel h2 {
  font-family: var(--sans);
}

@media (max-width: 1100px) {
  .site-header {
    gap: 14px;
  }

  .brand-descriptor {
    display: none;
  }

  .socials {
    display: none;
  }

  .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 310px 174px 174px;
  }

  .top-grid > .lead-panel {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .top-grid > .certain-panel {
    grid-column: 1;
    grid-row: 2;
  }

  .top-grid > .new-market-panel {
    grid-column: 2;
    grid-row: 2;
  }

  .top-grid > .asset-panel {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .primary-window-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: minmax(230px, 1fr) minmax(360px, 1.45fr);
  }

  .footer-status {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 0;
    padding: 12px 16px;
  }

  .brand-logo {
    width: 29px;
    height: 29px;
  }

  .brand-word {
    font-size: 21px;
  }

  .search-shell {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
  }

  .top-nav {
    grid-column: 1;
    grid-row: 3;
  }

  .socials {
    display: flex;
    grid-column: 2;
    grid-row: 3;
  }

  .market-ticker {
    grid-template-columns: 108px minmax(0, 1fr);
    min-height: 42px;
    padding: 0 16px;
  }

  .ticker-status {
    padding-right: 10px;
  }

  .ticker-status b {
    font-size: 10px;
  }

  .ticker-item {
    padding: 0 13px;
  }

  .dashboard,
  .about-shell,
  .content-shell,
  .window-page-shell,
  .site-footer,
  .status-banner {
    width: min(calc(100% - 24px), var(--page));
  }

  .dashboard {
    padding: 14px 0 38px;
  }

  .top-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 320px 184px 184px 218px;
    gap: 10px;
  }

  .top-grid > .lead-panel,
  .top-grid > .certain-panel,
  .top-grid > .new-market-panel,
  .top-grid > .asset-panel {
    grid-column: 1;
  }

  .top-grid > .lead-panel { grid-row: 1; }
  .top-grid > .certain-panel { grid-row: 2; }
  .top-grid > .new-market-panel { grid-row: 3; }
  .top-grid > .asset-panel { grid-row: 4; }

  .lead-panel {
    padding: 17px;
  }

  .lead-title {
    font-size: 27px;
  }

  .lead-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 0;
  }

  .lead-metric:nth-child(2) {
    border-right: 0;
  }

  .lead-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .lead-action {
    justify-self: stretch;
  }

  .card-list-primary,
  .primary-window-grid,
  .card-list-more,
  .card-list-more.count-1,
  .card-list-more.count-2,
  .card-list-more.count-3,
  .card-list-more.count-4,
  .card-list-more.count-5 {
    grid-auto-columns: auto;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .window-head {
    min-height: 68px;
  }

  .market-card,
  .card-list-more .market-card {
    min-height: 152px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 22px;
  }

  .footer-groups {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .footer-status {
    grid-column: auto;
  }

  .about-shell,
  .content-shell,
  .window-page-shell {
    padding: 20px 0 38px;
  }

  .about-hero {
    min-height: 400px;
    padding: 30px 24px;
    border-radius: 17px;
  }

  .about-hero h1 {
    font-size: clamp(38px, 12vw, 55px);
  }

  .about-hero > p {
    font-size: 13px;
  }

  .about-source-line {
    flex-wrap: wrap;
  }

  .about-proof {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-process,
  .about-manifesto {
    border-radius: 16px;
  }

  .about-statement,
  .about-manifesto {
    grid-template-columns: 1fr;
  }

  .window-page-hero {
    min-height: 210px;
    padding: 27px 23px;
    border-radius: 16px;
  }

  .window-page-hero h1 {
    font-size: 34px;
  }

  .window-market-grid {
    grid-template-columns: 1fr;
  }

  .window-page-notes {
    padding: 20px;
    border-radius: 15px;
  }

  .window-switcher {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track:not(.is-empty) {
    animation: ticker-scroll var(--ticker-duration, 72s) linear infinite !important;
    animation-play-state: running !important;
  }

  .intel-scroll-track {
    animation: intel-scroll var(--intel-duration, 40s) linear infinite !important;
    animation-play-state: running !important;
  }

  .asset-rows.is-scrolling {
    animation: asset-scroll 40s linear infinite !important;
    animation-play-state: running !important;
  }
}

/* Homepage composition is intentionally declared last. Older visual passes
   remain below in this file, so this is the authoritative page geometry. */
:root {
  --page: 1420px;
}

.top-grid {
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: 348px;
  gap: 12px;
}

.top-grid > .lead-panel {
  grid-column: 1 / span 4;
  grid-row: 1;
}

.top-grid > .certain-panel {
  grid-column: 5 / span 3;
  grid-row: 1;
}

.top-grid > .asset-panel {
  grid-column: 8 / span 3;
  grid-row: 1;
}

.lead-panel {
  min-height: 348px;
  padding: 20px 22px 18px;
}

.lead-title {
  max-width: 500px;
  font-family: var(--sans);
  font-size: clamp(24px, 1.78vw, 29px);
  line-height: 1.08;
}

.lead-subtitle {
  max-width: 490px;
  font-size: 11px;
  line-height: 1.38;
}

.certain-panel,
.asset-panel {
  overflow: hidden;
  border-color: rgba(241, 201, 40, 0.28);
  background:
    radial-gradient(circle at 100% 0, rgba(241, 201, 40, 0.075), transparent 17rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 58%),
    rgba(24, 29, 32, 0.96);
}

.certain-panel .panel-title,
.asset-panel .panel-title {
  min-height: 44px;
  padding: 0 15px;
}

.certain-panel .panel-title > span,
.asset-panel .panel-title > span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
}

.lead-kicker > .surface-icon,
.certain-panel .panel-title .surface-icon,
.asset-panel .panel-title .surface-icon {
  display: inline-grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border: 1px solid rgba(241, 201, 40, 0.28);
  border-radius: 9px;
  background: rgba(241, 201, 40, 0.1);
}

.lead-kicker > .surface-icon svg,
.certain-panel .panel-title .surface-icon svg,
.asset-panel .panel-title .surface-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.surface-icon-top {
  color: var(--accent-bright);
}

.surface-icon-certain {
  color: #72b7ff;
  border-color: rgba(114, 183, 255, 0.34) !important;
  background: rgba(72, 139, 236, 0.11) !important;
}

.surface-icon-asset {
  color: #47d8a1;
  border-color: rgba(71, 216, 161, 0.34) !important;
  background: rgba(71, 216, 161, 0.1) !important;
}

.certain-panel .intel-list,
.asset-scroll {
  height: calc(100% - 44px);
}

.asset-track {
  height: 100%;
}

.certain-panel .intel-row {
  min-height: 0;
  padding: 16px;
}

.certain-panel .intel-copy b {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.28;
}

.certain-panel .intel-scroll-track {
  height: 100%;
  animation: none;
}

.certain-panel .intel-scroll-track > .intel-row {
  flex: 1 1 0;
}

.certain-panel .intel-scroll-track > .intel-row[aria-hidden="true"] {
  display: none;
}

.certain-panel .intel-value b {
  min-width: 46px;
  padding: 3px 7px;
  border: 1px solid rgba(241, 201, 40, 0.28);
  border-radius: 999px;
  background: rgba(241, 201, 40, 0.09);
  color: var(--accent-bright);
  font-size: 14px;
}

.asset-body {
  height: 100%;
  overflow: hidden;
}

.asset-rows {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 76px;
  height: auto;
}

.asset-rows.is-scrolling {
  animation: asset-scroll 32s linear infinite;
}

.asset-row {
  min-height: 76px;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 12px;
  padding: 10px 16px;
  border-bottom-color: rgba(255, 255, 255, 0.075);
}

.asset-row:nth-child(odd) {
  border-right: 0;
}

.asset-copy b,
.asset-range {
  font-size: 14.5px;
}

.asset-copy em,
.asset-date {
  font-size: 10px;
}

.asset-icon {
  width: 32px;
  height: 32px;
}

.asset-icon img {
  width: 31px;
  height: 31px;
}

.primary-window-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.primary-window-grid .window-column {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.primary-window-grid .window-head {
  min-height: 54px;
  padding: 0 2px 9px;
  border: 0;
  background: transparent;
}

.primary-window-grid .window-label {
  gap: 1px;
}

.primary-window-grid .window-label b {
  font-size: 15px;
  font-weight: 680;
}

.primary-window-grid .window-label span {
  font-size: 9px;
}

.primary-window-grid .window-label em {
  font-size: 8px;
}

.primary-window-grid .view-all {
  padding: 6px 8px;
  border-radius: 999px;
  font-size: 8px;
}

.primary-window-grid .card-list-primary {
  gap: 10px;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.primary-window-grid .market-card {
  min-height: 154px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 15px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.035), transparent 58%),
    rgba(20, 25, 28, 0.94);
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.12);
}

.primary-window-grid .market-card:hover {
  border-color: rgba(241, 201, 40, 0.34);
  background:
    linear-gradient(140deg, rgba(241, 201, 40, 0.07), transparent 62%),
    rgba(23, 28, 31, 0.98);
}

.primary-window-grid .card-title {
  min-height: 45px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.primary-window-grid .card-prob {
  font-size: 23px;
}

.primary-window-grid .card-meta,
.primary-window-grid .card-timing {
  font-size: 9px;
}

.primary-window-grid .column-foot {
  display: none;
}

@media (max-width: 1180px) {
  :root {
    --page: 100%;
  }

  .top-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 300px 176px;
  }

  .top-grid > .lead-panel {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .top-grid > .certain-panel {
    grid-column: 1;
    grid-row: 2;
  }

  .top-grid > .asset-panel {
    grid-column: 2;
    grid-row: 2;
  }

  .primary-window-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .top-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 302px 186px 210px;
  }

  .top-grid > .lead-panel,
  .top-grid > .certain-panel,
  .top-grid > .asset-panel {
    grid-column: 1;
  }

  .top-grid > .lead-panel { grid-row: 1; }
  .top-grid > .certain-panel { grid-row: 2; }
  .top-grid > .asset-panel { grid-row: 3; }

  .asset-rows {
    grid-template-columns: 1fr;
    grid-auto-rows: 52px;
  }

  .asset-row:nth-child(odd) {
    border-right: 0;
  }

  .primary-window-grid {
    grid-template-columns: 1fr;
  }
}
