/* TAPE Markets site styles, shared by every page. The home page links this too and keeps only its own rules inline.
   The --t-* values mirror the terminal's T tokens (app/preview/terminal-ui.tsx in the Polycopy repo) and must match them. */
  :root {
    --midnight: #0F1A33; --navy: #1F3358; --denim: #3E5A86; --steel: #6C86AA; --mist: #B9CBE2; --ice: #E3ECF8; --paper: #F7F9FC;
    --bone: #F3F1EC; --bone-2: #FAF9F6; --bone-line: #E2DED5; --stone: #5F5B53;
    --moss: #2E3B22; --sage: #C9D6BE; --sage-ink: #4F5F46;
    --ink: #0F1A33; --muted: #4A5670; --line: #E3E8F0;
    /* The terminal's own tokens. */
    --t-canvas: #10141D; --t-surface: #171D2A; --t-raised: #1F2738; --t-hover: #243049; --t-hair: #20283A; --t-border: #323D51;
    --t-ink: #EEF2F6; --t-muted: #93A3B5; --t-faint: #808FA2; --t-blue: #5B9CE6; --t-profit: #3FB27F; --t-loss: #F0616D;
    --t-chrome: #0D1119; --t-rail: #0F131B; --t-blue-text: #A9CBF2; --t-dim: #6B7A8C; --t-track: #2A3346;
    --gain-l: #0B7A53; --loss-l: #C2412D;
    --copy-clear: #12875A;
  }
  * { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
  .wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
  .h { font-family: Archivo, sans-serif; font-weight: 500; font-stretch: 100%; letter-spacing: -.025em; }
  .eyebrow { font: 500 11px/1 Inter; letter-spacing: .18em; text-transform: uppercase; }
  .btn { display: inline-flex; align-items: center; font: 500 14px/1 Inter; padding: 13px 20px; border-radius: 4px; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s; }
  .btn.primary-d { background: #fff; color: var(--midnight); }
  .btn.primary-d:hover { background: var(--ice); }
  .btn.ghost-d { color: #fff; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.04); }
  .btn.ghost-d:hover { border-color: rgba(255,255,255,.55); }
  .btn.ink { background: var(--midnight); color: #fff; }
/* Hover: the button's accent grows from the left to fill it, the label steps left, an arrow slides in. */
.btn { position: relative; overflow: hidden; isolation: isolate; padding: 13px 27px; transition: padding .35s cubic-bezier(.22,1,.36,1), color .3s ease, border-color .3s ease; --fx: var(--midnight); --fx-ink: #fff; }
.btn.sm { padding: 10px 22px; }
.btn::before { content: ""; position: absolute; z-index: -1; left: 16px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--fx); transform: scale(0); transition: transform .5s cubic-bezier(.22,1,.36,1); }
.btn.sm::before { left: 12px; width: 7px; height: 7px; margin-top: -3.5px; }
.btn::after { content: "\2192" / ""; position: absolute; right: 16px; top: 50%; transform: translate(-8px, -50%); opacity: 0; transition: opacity .3s ease, transform .35s cubic-bezier(.22,1,.36,1); }
.btn.sm::after { right: 12px; }
.btn:hover:not(:disabled) { padding: 13px 34px 13px 20px; color: var(--fx-ink); }
.btn.sm:hover { padding: 10px 28px 10px 16px; }
.btn:hover:not(:disabled)::before { transform: scale(130); }
.btn:hover:not(:disabled)::after { opacity: 1; transform: translate(0, -50%); }
.btn.primary-d { --fx: var(--midnight); --fx-ink: #fff; }
.btn.ghost-d { --fx: #fff; --fx-ink: var(--midnight); }
.btn.ink { --fx: var(--denim); --fx-ink: #fff; }
@media (prefers-reduced-motion: reduce) { .btn, .btn::before, .btn::after { transition: none; } }
  .link { font: 500 14px/1 Inter; color: var(--denim); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
  .wm-link { color: inherit; text-decoration: none; display: inline-flex; }
  .wm { font-family: Archivo; display: inline-flex; gap: .3em; align-items: baseline; }
  .wm b { font-weight: 650; letter-spacing: .04em; } .wm span { font-weight: 400; }
  .num { font-variant-numeric: tabular-nums; }
  .bar { display: block; height: 6px; border-radius: 3px; background: var(--t-track); }
  .lbar { display: block; height: 6px; border-radius: 3px; background: #E6E9EF; }

  /* ---------- Hero ---------- */
  .hero { position: relative; overflow: hidden; isolation: isolate; color: var(--t-ink); background: #5E7AA0; }
  .haze { position: absolute; inset: 0; z-index: 0; }
  .haze > div { position: absolute; inset: -80px; filter: blur(60px); background:
      radial-gradient(50% 45% at 0% 0%, #0F1A33 0%, rgba(15,26,51,0) 70%),
      radial-gradient(50% 45% at 100% 0%, #16264A 0%, rgba(22,38,74,0) 70%),
      radial-gradient(55% 35% at 50% 22%, #3E5A86 0%, rgba(62,90,134,0) 75%),
      radial-gradient(60% 30% at 50% 62%, #B9CBE2 0%, rgba(185,203,226,0) 70%),
      radial-gradient(45% 50% at 100% 100%, #0F1A33 0%, rgba(15,26,51,0) 70%),
      radial-gradient(45% 50% at 0% 100%, #1F3358 0%, rgba(31,51,88,0) 70%); }
  .grain { position: absolute; inset: 0; z-index: 1; opacity: .2; mix-blend-mode: overlay; pointer-events: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.7'/></svg>"); }
  .hero > .in { position: relative; z-index: 2; }
  .nav { display: flex; align-items: center; justify-content: space-between; padding: 24px 0; }
  .nav .wm { font-size: 20px; }
  .nav .links { display: flex; gap: 32px; font-size: 14px; color: rgba(238,242,246,.84); }
  .nav .right { display: flex; gap: 20px; align-items: center; font-size: 14px; }
  .hero-copy { text-align: center; padding: 84px 0 0; }
  .hero-copy .eyebrow { color: var(--ice); opacity: .9; }
  .hero-copy h1 { font-size: 74px; line-height: 1.02; margin: 22px auto 0; max-width: 960px; }
  .hero-copy p { font-size: 19px; line-height: 1.5; margin-top: 24px; color: rgba(238,242,246,.86); }
  .hero-copy .ctas { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }

  /* The terminal, touched up: menu bar, workspace tabs, watchlist, dashboard. */
  .stage { position: relative; height: 480px; margin-top: 72px; }
  .win { position: absolute; border-radius: 10px 10px 0 0; overflow: hidden; }
  .term { left: 150px; right: 0; top: 0; height: 660px; background: var(--t-canvas); border: 1px solid #2E3A52; border-bottom: 0;
    box-shadow: 0 40px 80px -20px rgba(8,12,24,.55), 0 0 0 1px rgba(0,0,0,.2); color: var(--t-ink); font-size: 12px; }
  .tbar { display: flex; align-items: center; gap: 22px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--t-hair); background: var(--t-chrome); }
  .tbar .wm { font-size: 13px; color: var(--t-ink); }
  .tbar .menu { display: flex; gap: 18px; color: var(--t-muted); font-size: 12px; }
  .tbar .menu span { white-space: nowrap; }
  .tbar .menu { gap: 6px; }
  .tbar .menu span { padding: 6px 9px; border-radius: 4px; }
  .tbar .menu span.on { background: var(--t-raised); color: var(--t-ink); }
  .tb-api { color: var(--t-muted); font-size: 12px; }
  .tb-av { font-size: 10px; padding: 4px 5px; border: 1px solid var(--t-border); border-radius: 3px; color: var(--t-muted); }
  .tbar .search { margin-left: auto; width: 220px; height: 26px; border: 1px solid var(--t-border); border-radius: 4px; display: flex; align-items: center; padding: 0 10px; }
  .wtabs { display: flex; height: 34px; border-bottom: 1px solid var(--t-hair); background: var(--t-chrome); }
  .wtabs span { display: flex; align-items: center; gap: 7px; padding: 0 14px; border-right: 1px solid var(--t-hair); color: var(--t-muted); font-size: 11.5px; white-space: nowrap; }
  .wtabs span em { font-style: normal; font-size: 10px; color: var(--t-faint); }
  .wtabs span.on { background: var(--t-canvas); color: var(--t-ink); box-shadow: inset 0 2px 0 var(--t-blue); }
  .tbody { display: grid; grid-template-columns: 196px 1fr; height: calc(100% - 78px); }
  .watch { border-right: 1px solid var(--t-hair); padding: 14px 14px; background: var(--t-rail); }
  .watch .hd { font: 500 12px/1 Inter; display: flex; justify-content: space-between; }
  .watch .grp { font: 500 9.5px/1 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--t-faint); margin: 20px 0 10px; }
  .watch .row { padding: 8px 0; border-bottom: 1px solid var(--t-hair); }
  .watch .px { display: flex; gap: 5px; margin-top: 7px; }
  .watch .px b { font-weight: 500; font-size: 10.5px; padding: 3px 5px; border-radius: 3px; }
  .yes-chip { background: rgba(63,178,127,.16); color: var(--t-profit); }
  .no-chip { background: rgba(240,97,109,.16); color: var(--t-loss); }
  .dash { padding: 14px 18px; min-width: 0; }
  .cats { display: flex; gap: 4px; border-bottom: 1px solid var(--t-hair); padding-bottom: 10px; }
  .cats span { padding: 5px 9px; border-radius: 4px; color: var(--t-muted); font-size: 11.5px; }
  .cats span.on { background: var(--t-raised); color: var(--t-ink); }
  .dgrid { display: grid; grid-template-columns: 1.75fr 1fr; gap: 12px; margin-top: 12px; }
  .panel { background: var(--t-surface); border: 1px solid var(--t-border); border-radius: 6px; overflow: hidden; }
  .panel .ph { display: flex; align-items: baseline; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--t-hair); }
  .panel .ph b { font: 500 13px/1 Archivo; letter-spacing: -.01em; }
  .panel .ph span { font-size: 10.5px; color: var(--t-faint); }
  .panel .ph .r { margin-left: auto; color: var(--t-blue); }
  table { width: 100%; border-collapse: collapse; }
  th { font: 500 9.5px/1 Inter; letter-spacing: .1em; text-transform: uppercase; color: var(--t-faint); text-align: left; padding: 9px 14px 7px; }
  td { padding: 8px 14px; border-top: 1px solid var(--t-hair); white-space: nowrap; }
  td.r, th.r { text-align: right; }
  .mk { font-weight: 500; } .mk small { display: block; font-size: 10px; color: var(--t-faint); font-weight: 400; margin-top: 3px; }
  .up { color: var(--t-profit); } .dn { color: var(--t-loss); }
  .spot { padding: 14px; }
  .spot .q { font: 500 14px/1.3 Archivo; letter-spacing: -.01em; }
  .spot .yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
  .spot .yn div { display: flex; justify-content: space-between; align-items: center; padding: 12px; border-radius: 4px; font-weight: 500; }
  .spot .yn .y { background: rgba(63,178,127,.12); border: 1px solid rgba(63,178,127,.4); color: var(--t-profit); }
  .spot .yn .n { background: rgba(240,97,109,.10); border: 1px solid rgba(240,97,109,.36); color: var(--t-loss); }
  .spot .yn b { font: 500 20px/1 Archivo; }
  .spot .kv { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
  .spot .kv span { display: block; font-size: 10px; color: var(--t-faint); }
  .spot .kv b { display: block; font-weight: 500; margin-top: 4px; }
  .lab { display: inline-block; font: 500 10.5px/1 Inter; padding: 4px 7px; border-radius: 3px; background: var(--t-raised); color: #C3CEDB; }
  .lab.blue { background: rgba(91,156,230,.14); color: var(--t-blue-text); }
  .lab.yes-chip { background: rgba(63,178,127,.16); color: var(--t-profit); }
  .fills { margin-top: 12px; }

  .sat { position: absolute; left: 40px; top: 160px; width: 252px; background: var(--t-surface); border: 1px solid #3A4762; border-radius: 8px;
    box-shadow: 0 24px 48px -12px rgba(8,12,24,.65); color: var(--t-ink); padding: 16px; z-index: 3; font-size: 12px; }
  .sat .who { display: flex; justify-content: space-between; align-items: baseline; }
  .sat .who b { font: 500 15px/1 Archivo; }
  .sat .who span { font-size: 10.5px; color: var(--t-faint); }
  .sat .chips { display: flex; gap: 5px; margin-top: 12px; flex-wrap: wrap; }
  .sat .score { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--t-hair); }
  .sat .score b { font: 500 34px/1 Archivo; letter-spacing: -.03em; }
  .sat .score span { color: var(--t-muted); line-height: 1.4; font-size: 11.5px; }
  .sat .kv { display: grid; grid-template-columns: 1fr auto; gap: 9px 10px; margin-top: 14px; color: var(--t-muted); }
  .sat .kv b { color: var(--t-ink); font-weight: 500; text-align: right; }
  .verdict { font: 600 10px/1 Inter; letter-spacing: .08em; padding: 4px 7px; border-radius: 3px; background: var(--copy-clear); color: #fff; }

  /* ---------- Figures ---------- */
  .figs { background: var(--paper); border-bottom: 1px solid var(--line); }
  .figs .row { display: grid; grid-template-columns: repeat(4, 1fr); }
  .fig { padding: 56px 28px 48px; border-left: 1px solid var(--line); }
  .fig:first-child { border-left: 0; padding-left: 0; }
  .fig b { display: block; font: 400 52px/1 Archivo; letter-spacing: -.035em; }
  .fig > span { display: block; margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.45; max-width: 220px; }
  .figs .note { font-size: 11px; color: #8A93A6; padding: 0 0 22px; }

  /* ---------- Sections ---------- */
  .sec { padding: 120px 0; }
  .sec.bone { background: var(--bone); }
  .sec.white { background: #fff; }
  .lead h2 { font-size: 52px; line-height: 1.05; max-width: 840px; }
  .lead p { font-size: 18px; line-height: 1.55; color: var(--muted); margin-top: 20px; max-width: 660px; }
  .bone .lead p { color: var(--stone); }

  .feat { display: grid; grid-template-columns: 360px 1fr; gap: 64px; margin-top: 104px; align-items: start; }
  .feat .k { font: 500 12px/1 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
  .feat h3 { font-size: 34px; line-height: 1.1; margin-top: 16px; }
  .feat p { font-size: 16px; line-height: 1.6; color: var(--stone); margin-top: 16px; }
  .feat ul { list-style: none; margin-top: 22px; border-top: 1px solid var(--bone-line); }
  .feat li { padding: 12px 0; border-bottom: 1px solid var(--bone-line); font-size: 14px; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
  .feat li span { color: var(--stone); text-align: right; }

  /* Feature card: a dark terminal window inset top and sides, running off the bottom. */
  .card { position: relative; height: 450px; border-radius: 10px; overflow: hidden; background: var(--bone-2); border: 1px solid var(--bone-line); }
  .card .dw { position: absolute; left: 7%; right: 7%; top: 9%; height: 120%; background: var(--t-canvas); border: 1px solid #2E3A52; border-radius: 8px;
    box-shadow: 0 1px 2px rgba(15,26,51,.06), 0 28px 56px -20px rgba(15,26,51,.35); color: var(--t-ink); font-size: 12px; overflow: hidden; }
  .dw .dh { padding: 16px 18px 14px; border-bottom: 1px solid var(--t-hair); }
  .dw .dh .t { font: 500 16px/1.2 Archivo; letter-spacing: -.01em; }
  .dw .dh .s { font-size: 11px; color: var(--t-muted); margin-top: 5px; }
  .dw .dh .chips { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 12px; }
  .ev { color: var(--t-muted); font-size: 11px; }
  .rank { color: var(--t-ink); font-weight: 500; }
  .rank.top { color: var(--t-blue-text); }

  .mini { position: absolute; right: 4%; bottom: 30px; width: 46%; background: var(--t-surface); border: 1px solid #3A4762; border-radius: 8px;
    box-shadow: 0 22px 44px -14px rgba(15,26,51,.45); color: var(--t-ink); font-size: 12px; overflow: hidden; z-index: 2; }
  .mini .mh { padding: 12px 14px; border-bottom: 1px solid var(--t-hair); font: 500 13px/1 Archivo; }
  .mini .mh span { font: 400 10.5px/1 Inter; color: var(--t-faint); margin-left: 8px; }
  .mrow { display: grid; grid-template-columns: 84px 1fr 50px; gap: 10px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--t-hair); }
  .mrow:first-of-type { border-top: 0; }
  .mrow .m { height: 5px; background: var(--t-raised); border-radius: 3px; position: relative; }
  .mrow .m i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
  .mrow .m i.p { left: 50%; background: var(--t-profit); }
  .mrow .m i.l { right: 50%; background: var(--t-loss); }
  .mrow .m::after { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--t-border); }

  .kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--t-hair); }
  .kpi { padding: 14px 16px; border-left: 1px solid var(--t-hair); }
  .kpi:first-child { border-left: 0; }
  .kpi span { display: block; font: 500 9px/1.2 Inter; letter-spacing: .1em; text-transform: uppercase; color: var(--t-faint); }
  .kpi b { display: block; font: 500 20px/1 Archivo; letter-spacing: -.02em; margin-top: 8px; }
  .kpi em { display: block; font-style: normal; font-size: 10.5px; margin-top: 6px; color: var(--t-muted); }
  .seg { display: flex; gap: 2px; padding: 12px 16px 0; }
  .seg span { padding: 6px 10px; border-radius: 4px; font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--t-muted); border: 1px solid var(--t-border); }
  .seg span.on { background: rgba(91,156,230,.16); color: var(--t-blue-text); border-color: rgba(91,156,230,.4); }

  .recon { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
  .recon div { padding: 16px 18px; border-top: 1px solid var(--t-hair); }
  .recon div:nth-child(odd) { border-right: 1px solid var(--t-hair); }
  .recon span { display: block; font: 500 9.5px/1.2 Inter; letter-spacing: .1em; text-transform: uppercase; color: var(--t-faint); }
  .recon b { display: block; font: 500 22px/1 Archivo; letter-spacing: -.02em; margin-top: 9px; }
  .recon b.sm { font: 500 14px/1.2 Inter; letter-spacing: 0; }

  /* Tools grid */
  .tools-h { display: flex; justify-content: space-between; align-items: baseline; margin-top: 104px; padding-bottom: 18px; border-bottom: 1px solid var(--bone-line); }
  .tools-h h3 { font-size: 28px; }
  .tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
  .tool { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--bone-line); }
  .tool:not(:nth-child(4n+1)) { padding-left: 24px; border-left: 1px solid var(--bone-line); }
  .tool b { font: 500 16px/1.2 Archivo; letter-spacing: -.01em; display: block; }
  .tool p { font-size: 13.5px; line-height: 1.55; color: var(--stone); margin-top: 8px; }
  .tool .grp { font: 500 10px/1 Inter; letter-spacing: .14em; text-transform: uppercase; color: #8C877C; margin-bottom: 12px; }

  /* Buyers, with the Sequence-style hover: a soft field rises in the card and the figure tints. */
  .buyers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 72px; }
  .buyer { position: relative; overflow: hidden; isolation: isolate; padding: 32px 30px 30px; border: 1px solid var(--line); border-radius: 10px; background: #fff; transition: border-color .35s; min-height: 420px; display: flex; flex-direction: column; }
  .buyer::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .45s ease;
    background:
      radial-gradient(80% 55% at 50% 110%, #B9CBE2 0%, rgba(185,203,226,0) 70%),
      radial-gradient(60% 45% at 0% 100%, #E3ECF8 0%, rgba(227,236,248,0) 70%),
      radial-gradient(60% 45% at 100% 90%, #C8D6EA 0%, rgba(200,214,234,0) 70%),
      linear-gradient(180deg, #fff 30%, #F2F6FB 100%); }
  .buyer.moss::before { background:
      radial-gradient(80% 55% at 50% 110%, #C9D6BE 0%, rgba(201,214,190,0) 70%),
      radial-gradient(60% 45% at 0% 100%, #E4EBDD 0%, rgba(228,235,221,0) 70%),
      radial-gradient(60% 45% at 100% 90%, #D5E0CB 0%, rgba(213,224,203,0) 70%),
      linear-gradient(180deg, #fff 30%, #F4F7F1 100%); }
  .buyer:hover { border-color: #C8D6EA; }
  .buyer.moss:hover { border-color: #C9D6BE; }
  .buyer:hover::before { opacity: 1; }
  .buyer .who { font: 500 12px/1 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
  .buyer .big { font: 400 64px/1 Archivo; letter-spacing: -.04em; margin-top: 28px; color: var(--ink); transition: color .45s; }
  .buyer .big-l { font-size: 13px; color: var(--muted); margin-top: 8px; }
  .buyer:hover .big { color: var(--denim); }
  .buyer.moss:hover .big { color: var(--sage-ink); }
  .buyer h4 { font: 500 24px/1.15 Archivo; letter-spacing: -.02em; margin-top: 64px; }
  .buyer p { font-size: 15px; line-height: 1.6; color: var(--muted); margin-top: 12px; }
  .buyer .link { display: inline-block; margin-top: auto; padding-top: 20px; align-self: flex-start; }

  /* Access (dark) */
  .dark { background: var(--midnight); color: var(--t-ink); }
  .dark .lead p { color: #9AA6BA; }
  .access { display: grid; grid-template-columns: 360px 1fr; gap: 64px; margin-top: 64px; align-items: start; }
  .alist { border-top: 1px solid #24304A; }
  .aitem { display: block; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid #24304A; padding: 18px 0 18px 16px; cursor: pointer; color: inherit; font: inherit; position: relative; }
  .aitem::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 2px; background: transparent; transition: background .2s; }
  .aitem b { font: 500 17px/1.2 Archivo; letter-spacing: -.01em; display: block; color: #9AA6BA; transition: color .2s; }
  .aitem span { display: none; color: #9AA6BA; font-size: 14px; line-height: 1.55; margin-top: 6px; }
  .aitem:hover b { color: #fff; }
  .aitem.on::before { background: var(--mist); }
  .aitem.on b { color: #fff; }
  .aitem.on span { display: block; }
  .aitem:focus-visible { outline: 2px solid var(--mist); outline-offset: 2px; }
  .apanel { display: none; }
  .apanel.on { display: block; }
  .code { background: #0B1326; border: 1px solid #24304A; border-radius: 8px; overflow: hidden; font: 400 12.5px/1.7 ui-monospace, "SF Mono", Menlo, monospace; color: #B5C2D8; min-height: 360px; }
  .code .ch { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid #24304A; font-family: Inter; font-size: 12px; align-items: center; }
  .code .ch button { padding: 6px 10px; border-radius: 4px; color: #7D89A0; background: none; border: 0; font: inherit; cursor: pointer; }
  .code .ch button:hover { color: var(--t-ink); }
  .code .ch button.on { background: #18223A; color: var(--t-ink); }
  .code .ch .meta { margin-left: auto; color: #5E6A80; padding-right: 6px; }
  .code pre { padding: 20px 22px; white-space: pre; overflow: hidden; }
  .code pre[hidden] { display: none; }
  .code .c { color: #5E6A80; } .code .s { color: #C8D8F0; } .code .n { color: #9FD9BE; } .code .k { color: #8FA6CC; }
  .chat { padding: 22px; font-family: Inter; font-size: 14px; line-height: 1.55; }
  .chat .q { margin-left: auto; max-width: 74%; background: #18223A; border: 1px solid #24304A; border-radius: 10px 10px 2px 10px; padding: 12px 14px; color: var(--t-ink); }
  .chat .a { max-width: 88%; margin-top: 16px; color: #C3CEDB; }
  .chat .a .tool-call { display: inline-flex; gap: 8px; align-items: center; font: 400 11.5px/1 ui-monospace, Menlo, monospace; color: #7D89A0; border: 1px solid #24304A; border-radius: 4px; padding: 6px 8px; margin-bottom: 12px; }
  .chat table td { border-top: 1px solid #24304A; padding: 8px 10px 8px 0; font-size: 13px; }
  .chat table th { padding: 0 10px 8px 0; color: #5E6A80; }
  .ws { position: relative; height: 360px; overflow: hidden; border-radius: 8px; border: 1px solid #24304A; background: var(--t-canvas); }
  .ws .tbar { height: 38px; }
  .ws .wtabs { height: 30px; }

  /* Closing: the moss fold from "Blue, Bone and Moss". */
  .close { position: relative; overflow: hidden; isolation: isolate; background: #2E3B22; color: #EEF2E6; text-align: center; }
  .fold { position: absolute; inset: 0; z-index: 0; }
  .fold > div { position: absolute; inset: -40px; display: flex; filter: blur(9px); }
  .fold > div i { display: block; height: 100%; flex: none; }
  .fold::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,16,8,.35), rgba(12,16,8,0) 40%, rgba(12,16,8,0) 60%, rgba(12,16,8,.45)); }
  .close .scrim { position: absolute; inset: 0; z-index: 1; background: radial-gradient(48% 46% at 50% 50%, rgba(14,20,9,.55) 0%, rgba(14,20,9,0) 100%); }
  .close .grain { z-index: 1; opacity: .22; }
  .close .in { position: relative; z-index: 2; padding: 150px 0 160px; }
  .close h2 { font-size: 60px; line-height: 1.04; max-width: 1000px; margin: 0 auto; }
  .close p { font-size: 18px; margin-top: 20px; color: rgba(238,242,230,.88); }
  .close .ctas { display: flex; gap: 12px; justify-content: center; margin-top: 34px; }
  .close .btn.primary-d { color: var(--moss); }
  .close .btn.primary-d:hover { background: #EEF2E6; }
  .close .btn.primary-d { --fx: var(--moss); }
  .close .btn.primary-d:hover { color: #fff; }

  footer { background: var(--midnight); color: #9AA6BA; font-size: 13px; }
  footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
  footer .wrap.c4 { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; }
  footer .wm { color: var(--t-ink); font-size: 18px; }
  footer p { margin-top: 14px; line-height: 1.6; max-width: 320px; }
  footer h5 { font: 500 11px/1 Inter; letter-spacing: .14em; text-transform: uppercase; color: #6B7790; margin-bottom: 16px; }
  footer li { list-style: none; margin-bottom: 10px; color: var(--t-ink); opacity: .8; }
  footer .legal { grid-column: 1 / -1; border-top: 1px solid #24304A; padding-top: 22px; display: flex; justify-content: space-between; color: #6B7790; font-size: 12px; }
  footer .disclaimer { grid-column: 1 / -1; max-width: none; margin-top: -20px; color: #6B7790; font-size: 11.5px; line-height: 1.6; }

  /* ---------- v2.1: motion, content-sized cards, mobile ---------- */
  :root { --travel: cubic-bezier(0.45, 0, 0.1, 1); --arrive: cubic-bezier(0.25, 0.8, 0.25, 1); }
  .lead h2 { max-width: 920px; }

  /* Cards size to what the window holds. The window still runs off the bottom edge. */
  .card { height: auto; padding: 36px 7% 0; }
  .card .dw { position: relative; left: auto; right: auto; top: auto; height: auto; border-bottom: 0; border-radius: 8px 8px 0 0; padding-bottom: 12px; overflow: visible; }
  .card .dw .dh { position: relative; z-index: 4; }
  @media (min-width: 901px) {
    .card { height: 430px; }
    .card .dw { height: calc(100% - 0px); overflow: hidden; }
  }
  .grid3, .grid4, .grid-mm { display: grid; gap: 12px; padding: 0 14px; align-items: center; }
  .grid3 { grid-template-columns: 1fr 1fr 1.45fr; }
  .grid4 { grid-template-columns: 1fr .9fr .7fr 1.1fr; }
  .grid-mm { grid-template-columns: 22px 1fr 72px 120px; }
  .grid4 .r, .grid-mm .r { text-align: right; }
  .lhead, .ehead, .mhead { font: 500 9.5px/1 Inter; letter-spacing: .1em; text-transform: uppercase; color: var(--t-faint); padding-top: 12px; padding-bottom: 8px; }
  .lrow, .erow.grid4 { padding-top: 9px; padding-bottom: 9px; border-top: 1px solid var(--t-hair); }
  .sub { padding: 16px 14px 8px; font: 500 13px/1 Archivo; border-top: 1px solid var(--t-hair); margin-top: 4px; }
  .sub span { font: 400 10.5px/1 Inter; color: var(--t-faint); margin-left: 8px; }
  .card .mrow { grid-template-columns: 96px 1fr 56px; }
  .card .mrow > span:last-child { text-align: right; }
  .card .mrow .m i { width: var(--w); transition: width 1s var(--travel); }

  /* Highlighter: sweeps across the figure that makes the point. */
  mark { color: inherit; background: linear-gradient(rgba(91,156,230,.30), rgba(91,156,230,.30)) no-repeat 0 0 / 100% 100%; padding: 2px 5px; margin: -2px -5px; border-radius: 3px; transition: background-size .7s var(--travel); }

  /* Search with a blinking caret and a result dropdown (Labels). */
  .srch { position: relative; display: flex; align-items: center; height: 32px; border: 1px solid var(--t-border); border-radius: 4px; padding: 0 10px; margin-bottom: 14px; background: var(--t-chrome); transition: border-color .2s; }
  .srch.focus { border-color: rgba(91,156,230,.6); }
  .srch .ph-t { position: absolute; left: 10px; color: var(--t-dim); transition: opacity .12s; }
  .srch.has .ph-t { opacity: 0; }
  .srch .typed { color: var(--t-ink); white-space: pre; }
  .caret { display: inline-block; width: 1px; height: 14px; background: var(--t-ink); margin-left: 1px; opacity: 0; }
  .srch.focus .caret { opacity: 1; animation: blink 1.05s steps(1) infinite; }
  @keyframes blink { 50% { visibility: hidden; } }
  .dd { position: absolute; left: -1px; right: -1px; top: calc(100% + 6px); background: var(--t-surface); border: 1px solid var(--t-border); border-radius: 6px; box-shadow: 0 18px 36px -10px rgba(0,0,0,.65); padding: 4px; z-index: 6; opacity: 0; transform: translateY(-4px); transition: opacity .2s var(--arrive), transform .28s var(--arrive); pointer-events: none; }
  .dd.open { opacity: 1; transform: none; }
  .ddr { display: flex; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 4px; transition: background .15s; }
  .ddr.hot { background: var(--t-hover); }
  .dd-name { font-weight: 500; }
  .dd-k { margin-left: auto; color: var(--t-faint); font-size: 10.5px; }
  .lchips { min-height: 19px; }
  .lchips .lab, .lrow, .lname { transition: opacity .45s var(--arrive), transform .45s var(--arrive); }
  .out { opacity: 0 !important; transform: translateY(6px) !important; }

  /* Market Maker Monitor: rows re-sort as the tab changes. */
  .mtabs span { transition: background .25s, color .25s, border-color .25s; }
  .mlist { position: relative; height: 120px; }
  .mm { position: absolute; left: 0; right: 0; top: 0; height: 40px; border-top: 1px solid var(--t-hair); transition: transform .7s var(--travel); }
  .mm .rk { color: var(--t-faint); }
  .roll { display: inline-block; transition: opacity .2s ease, transform .26s var(--arrive); }

  /* Reconciliation ledger. */
  .ledger { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--t-hair); }
  .lg { padding: 14px 18px; border-left: 1px solid var(--t-hair); }
  .lg:first-child { border-left: 0; }
  .lg span { display: block; font: 500 9.5px/1.2 Inter; letter-spacing: .1em; text-transform: uppercase; color: var(--t-faint); }
  .lg b { display: block; font: 500 15px/1 Archivo; margin-top: 9px; }
  .recon div:nth-child(-n+2) { border-top: 0; }
  .step { transition: opacity .6s var(--arrive), transform .6s var(--arrive); }
  .ok { font: 600 10px/1 Inter; font-style: normal; letter-spacing: .08em; text-transform: uppercase; padding: 4px 7px; border-radius: 3px; background: rgba(63,178,127,.16); color: var(--t-profit); vertical-align: 4px; margin-left: 8px; }

  /* Armed: the pre-play state, set by script only when motion is allowed. */
  .armed .erow { clip-path: inset(0 100% 0 0); }
  .armed .mrow .m i { width: 0; }
  .armed .step { opacity: 0; transform: translateY(6px); }
  .play .erow { clip-path: inset(0 0 0 0); transition: clip-path .8s var(--travel); transition-delay: calc(var(--i) * 90ms); }

  /* Split-flap figures. */
  .fl { display: inline-block; text-align: center; perspective: 400px; }
  .fl > span { display: inline-block; transform-origin: 50% 56%; }
  .fl.flip > span { animation: flap 90ms linear; }
  @keyframes flap { 0% { transform: rotateX(0); } 49.9% { transform: rotateX(-90deg); } 50% { transform: rotateX(90deg); } 100% { transform: rotateX(0); } }

  .docs { margin-top: 28px; }
  .access > *, .feat > * { min-width: 0; }

  @media (max-width: 900px) {
    .wrap { padding: 0 20px; }
    .nav .links, .nav .right > span { display: none; }
    .hero-copy { padding-top: 48px; }
    .hero-copy h1 { font-size: 46px; }
    .hero-copy p { font-size: 17px; }
    .stage { height: 360px; margin-top: 48px; }
    .term { left: 0; right: auto; width: 820px; }
    .tbody { grid-template-columns: 1fr; }
    .watch, .sat { display: none; }
    .figs .row { grid-template-columns: 1fr 1fr; }
    .fig { padding: 36px 16px 32px; }
    .fig:nth-child(odd) { border-left: 0; padding-left: 0; }
    .fig:nth-child(n+3) { border-top: 1px solid var(--line); }
    .fig b { font-size: 40px; }
    .sec { padding: 80px 0; }
    .lead h2 { font-size: 38px; }
    .br-d { display: none; }
    .feat { grid-template-columns: 1fr; gap: 32px; margin-top: 72px; }
    .feat h3 { font-size: 28px; }
    .tools-h { margin-top: 72px; }
    .tools { grid-template-columns: 1fr 1fr; }
    .tool, .tool:not(:nth-child(4n+1)) { padding: 20px 16px 22px 0; border-left: 0; }
    .tool:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--bone-line); }
    .buyers { grid-template-columns: 1fr; margin-top: 48px; }
    .buyer { min-height: 0; }
    .buyer h4 { margin-top: 40px; }
    .access { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
    .close .in { padding: 100px 0 110px; }
    .close h2 { font-size: 42px; }
    footer .wrap, footer .wrap.c4 { grid-template-columns: 1fr 1fr; }
    footer .wrap > div:first-child { grid-column: 1 / -1; }
  }
  @media (max-width: 600px) {
    .hero-copy h1 { font-size: 38px; }
    .hero-copy .eyebrow { font-size: 10px; letter-spacing: .1em; }
    .hero-copy .ctas, .close .ctas { flex-direction: column; align-items: stretch; }
    .hero-copy .ctas .btn, .close .ctas .btn { justify-content: center; }
    .stage { height: 320px; }
    .fig b { font-size: 31px; }
    .fig > span { font-size: 13px; }
    .lead h2 { font-size: 32px; }
    .lead p { font-size: 16px; }
    .card { padding: 20px 14px 0; }
    .kpis { grid-template-columns: 1fr 1fr; }
    .kpi:nth-child(3) { border-left: 0; }
    .kpi:nth-child(n+3) { border-top: 1px solid var(--t-hair); }
    .hide-m { display: none; }
    .grid-mm { grid-template-columns: 22px 1fr 100px; }
    .grid3 { grid-template-columns: 1fr 1fr; row-gap: 6px; }
    .grid3 > :nth-child(3) { grid-column: 1 / -1; }
    .lhead > :nth-child(3) { display: none; }
    .grid4 { grid-template-columns: 1fr 1fr 1.2fr; }
    .grid4 > :nth-child(3) { display: none; }
    .ledger { grid-template-columns: 1fr; }
    .lg { border-left: 0; border-top: 1px solid var(--t-hair); display: flex; justify-content: space-between; align-items: center; }
    .lg:first-child { border-top: 0; }
    .lg b { margin-top: 0; }
    .recon b { font-size: 18px; }
    .recon div { padding: 14px; }
    .tools { grid-template-columns: 1fr; }
    .tool, .tool:nth-child(even) { padding-left: 0; border-left: 0; }
    .tools-h { flex-direction: column; gap: 12px; align-items: flex-start; }
    .buyer .big { font-size: 52px; }
    .code pre { overflow-x: auto; font-size: 11.5px; }
    .chat .q { max-width: 92%; }
    .close h2 { font-size: 34px; }
    .docs { width: 100%; justify-content: center; }
  }
  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
  }

/* ================= Audience pages ================= */
.nav a, .links a, footer a { color: inherit; text-decoration: none; }
.nav .links a:hover, footer a:hover { color: #fff; }
.hero-copy.aud { padding-top: 72px; }
.hero-copy.aud h1 { font-size: 66px; max-width: 900px; }
.hero-copy.aud p { max-width: 720px; margin-left: auto; margin-right: auto; }
.hero-copy .ctas .btn.ghost-d { padding: 13px 20px; }

/* Hero product shot: one window, centered, running off the bottom, with an optional satellite. */
.astage { position: relative; height: 440px; margin-top: 64px; }
.astage .term { left: 60px; right: 60px; height: 560px; }
.astage .sat { left: auto; right: 0; top: 170px; }
.astage .sat.l { right: auto; left: 0; }
.astage.sat-r .term { left: 0; right: 180px; }
.astage.sat-l .term { left: 180px; right: 0; }
.astage.sat-l .sat { top: 270px; }
.abody { padding: 16px 18px; }
.abody .h-t { font: 500 20px/1.2 Archivo; letter-spacing: -.015em; }
.abody .h-s { font-size: 11.5px; color: var(--t-muted); margin-top: 5px; }
.agrid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 14px; }

/* Flow-by-label stacked bar. */
.stack { display: flex; height: 10px; border-radius: 3px; overflow: hidden; background: var(--t-raised); margin: 4px 0 12px; }
.stack i { display: block; height: 100%; width: var(--w); transition: width 1.1s var(--travel); }
.armed .stack i { width: 0; }
.key { display: grid; grid-template-columns: 10px 1fr auto; gap: 8px 10px; align-items: center; font-size: 11.5px; color: var(--t-muted); }
.key i { width: 8px; height: 8px; border-radius: 2px; }
.key b { color: var(--t-ink); font-weight: 500; text-align: right; }
.c-mm { background: #7E8DA6; } .c-dir { background: var(--t-blue); }

/* Price chart with a marked move. */
.chart { position: relative; padding: 6px 14px 12px; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .line { fill: none; stroke: var(--t-profit); stroke-width: 1.6; }
.armed .chart .line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); }
.play .chart .line { stroke-dasharray: var(--len); stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--travel); }
.chart .band { fill: rgba(91,156,230,.10); }
.chart.vol .line { stroke: var(--t-blue); }
.chart .tick { font: 400 9.5px Inter; fill: var(--t-faint); transform-box: fill-box; transform-origin: 0 100%; }
/* A wide chart on a phone is a sliver. Let the stretchable ones grow taller (site.js keeps their labels square). */
@media (max-width: 600px) { .chart svg[preserveAspectRatio="none"] { min-height: 170px; } }
.note-chip { position: absolute; font: 500 10.5px/1.3 Inter; padding: 6px 8px; border-radius: 4px; background: #1F2738; border: 1px solid #3A4762; color: var(--t-ink); white-space: nowrap; box-shadow: 0 10px 20px -8px rgba(0,0,0,.6); }
.note-chip em { font-style: normal; color: var(--t-muted); display: block; font-weight: 400; }
.armed .note-chip { opacity: 0; transform: translateY(6px); }
.note-chip { transition: opacity .5s var(--arrive), transform .5s var(--arrive); }

/* Proofs: the same three on every audience page. */
.proofs .row { grid-template-columns: repeat(3, 1fr); }

/* History and freshness, stated up front. */
.honest { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-top: 64px; align-items: start; }
.tl { position: relative; padding: 8px 0 0; }
.tl .track { position: relative; height: 56px; }
.tl .seg-a, .tl .seg-b { position: absolute; top: 22px; height: 12px; border-radius: 3px; }
.tl .seg-a { left: 0; right: 0; background: var(--mist); }
.tl .seg-b { left: 91%; right: 0; background: var(--denim); }
.tl .pin { position: absolute; top: 0; font: 500 11px/1 Inter; color: var(--muted); transform: translateX(-50%); white-space: nowrap; }
.tl .pin::after { content: ""; position: absolute; left: 50%; top: 16px; width: 1px; height: 26px; background: var(--steel); }
.tl .legend { display: flex; gap: 22px; margin-top: 14px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.tl .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; vertical-align: -1px; }
.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--muted); }
.facts li b { font: 500 15px/1.4 Archivo; color: var(--ink); letter-spacing: -.01em; }

/* The catalogue: every live data set, one row each. Live only, nothing planned. */
.catalog { margin-top: 72px; overflow-x: auto; }
.catalog h3 { font: 500 22px/1.3 Archivo; letter-spacing: -.015em; color: var(--ink); }
.catalog > p { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 640px; }
.catalog table { width: 100%; min-width: 860px; border-collapse: collapse; margin-top: 28px; border-top: 1px solid var(--line); }
.catalog th { font: 500 11px/1.3 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 14px 20px 14px 0; border-bottom: 1px solid var(--line); }
.catalog td { padding: 18px 20px 18px 0; border-top: 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.5; color: var(--muted); vertical-align: top; white-space: normal; }
.catalog th:nth-child(2) { width: 30%; } .catalog th:nth-child(3) { width: 22%; } .catalog th:nth-child(4) { width: 20%; }
.catalog td:first-child { font: 500 15px/1.4 Archivo; color: var(--ink); letter-spacing: -.01em; white-space: nowrap; }
/* A definitions table: a short name, a long explanation, and an optional short source. */
.catalog.defs table { min-width: 640px; }
.catalog.defs th:nth-child(1) { width: 18%; } .catalog.defs th:nth-child(2) { width: auto; } .catalog.defs th:nth-child(3) { width: 24%; }
.catalog.defs td:nth-child(2) { padding-right: 48px; }
.catalog.defs td a, .fig > span a, .lb-lead a { color: var(--denim); text-decoration: underline; text-underline-offset: 3px; }

/* The free-tool boards (whale tracker, insider signals): a clean read-only data table. */
.board-wrap { margin-top: 36px; overflow-x: auto; }
.board { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.board th { font: 500 11px/1.3 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.board th.r { text-align: right; }
.board td { padding: 15px 18px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); white-space: nowrap; vertical-align: middle; }
.board td.r { text-align: right; font-variant-numeric: tabular-nums; }
.board td.tag { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.board td.amt { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.board td.mkt { white-space: normal; min-width: 240px; color: var(--ink); font-weight: 500; line-height: 1.4; }
.board tbody tr:last-child td { border-bottom: 0; }
.board .lb-empty td { text-align: center; white-space: normal; padding: 36px 18px; color: var(--muted); }
@media (max-width: 720px) {
  .board th, .board td { padding-left: 10px; padding-right: 10px; font-size: 14px; }
}
.lb-lead { margin-bottom: 40px; }

/* The accuracy page: a calibration curve and its bands table. */
.calchart { position: relative; max-width: 560px; margin: 36px auto 0; background: var(--bone-2); border: 1px solid var(--bone-line); border-radius: 10px; padding: 22px 20px 14px; }
.calchart .hv { position: relative; }
.calchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.calframe { fill: #fff; stroke: var(--line); }
.calgrid { stroke: var(--line); stroke-width: 1; }
.caldiag { stroke: var(--steel); stroke-width: 1.4; stroke-dasharray: 5 5; }
.calline { fill: none; stroke: #4A90E2; stroke-width: 2.2; }
.caldot { fill: #4A90E2; stroke: #fff; stroke-width: 1.4; }
.caltick { font: 400 11px Inter; fill: var(--muted); }
.callabel { font: 500 11px Inter; letter-spacing: .12em; text-transform: uppercase; fill: var(--muted); }
/* The shared hover readout (public/site.js) is styled for dark charts; recolor it for this light one. */
.calchart .hv-x { background: rgba(26,31,46,.18); }
.calchart .hv-dot { background: #4A90E2; box-shadow: 0 0 0 2px #fff; }
.calchart .hv-tip { background: var(--ink); border-color: var(--ink); color: rgba(255,255,255,.72); }
.calchart .hv-tip b { color: #fff; }
.calcap { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; font-size: 13px; color: var(--muted); }
.calcap b { font-weight: 600; color: var(--ink); }
.calkey { display: inline-flex; align-items: center; gap: 7px; }
.calkey i { width: 18px; height: 0; border-top: 2px solid #4A90E2; display: inline-block; }
.calkey.diag i { border-top: 2px dashed var(--steel); }
/* Bands table: one aligned track per row carries the outcome (fill) and the priced level (marker). */
.board td.calcell { width: 180px; min-width: 120px; }
.calbar { position: relative; display: block; width: 100%; height: 10px; background: var(--line); border-radius: 5px; overflow: hidden; }
.calbar span { display: block; height: 100%; background: #4A90E2; border-radius: 5px; }
.calbar i { position: absolute; top: -2px; width: 2px; height: 14px; background: var(--ink); transform: translateX(-1px); }
/* The Brier scale: a gradient rail with a marker for Polymarket's score. */
.brier { max-width: 640px; margin: 72px 0 0; }
.brier-rail { position: relative; height: 12px; border-radius: 6px; background: linear-gradient(90deg, #5CB85C 0%, #4A90E2 25%, #E5E5E5 100%); }
.brier-mark { position: absolute; top: -7px; width: 2px; height: 26px; background: var(--ink); }
.brier-mark b { position: absolute; top: -22px; left: 50%; transform: translateX(-50%); white-space: nowrap; font: 600 12px Inter; color: var(--ink); }
.brier-ends { display: flex; justify-content: space-between; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.brier-ends span b { display: block; color: var(--ink); font-weight: 600; }
.catalog.cmp table { min-width: 720px; } .catalog.cmp th:nth-child(1) { width: 24%; } .catalog.cmp th:nth-child(2), .catalog.cmp th:nth-child(3) { width: 38%; }
@media (max-width: 720px) {
  .catalog.cmp table, .catalog.cmp tbody, .catalog.cmp tr, .catalog.cmp td { display: block; min-width: 0; width: auto; }
  .catalog.cmp tr:first-child { display: none; }
  .catalog.cmp tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .catalog.cmp td { padding: 0; border: 0; white-space: normal; }
  .catalog.cmp td + td { margin-top: 10px; }
  .catalog.cmp td:nth-child(2)::before, .catalog.cmp td:nth-child(3)::before { display: block; font: 500 10.5px/1.3 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
  .catalog.cmp td:nth-child(2)::before { content: "Polymarket's free API"; }
  .catalog.cmp td:nth-child(3)::before { content: "TAPE Markets"; }
  .catalog.cmp td:nth-child(3) { color: var(--ink); }
}
.catalog code { font: 400 12.5px/1.4 ui-monospace, Menlo, monospace; color: var(--ink); white-space: nowrap; }
.lead p a, .faq a, .catalog a, .steps a, .rg-h p a { color: var(--denim); }

/* Questions people ask first. */
.faq { margin-top: 56px; border-top: 1px solid var(--bone-line); max-width: 920px; }
.faq details { border-bottom: 1px solid var(--bone-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; font: 500 20px/1.3 Archivo; letter-spacing: -.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 24px/1 Inter; color: var(--stone); transition: transform .25s var(--arrive); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { font-size: 16px; line-height: 1.65; color: var(--stone); padding: 0 0 24px; max-width: 760px; }

/* Delivery routes, side by side. */
.routes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px 14px; }
.route { background: var(--t-surface); border: 1px solid var(--t-border); border-radius: 6px; padding: 14px; min-height: 150px; }
.route b { font: 500 14px/1.2 Archivo; display: block; }
.route span { display: block; font-size: 11px; color: var(--t-muted); margin-top: 8px; line-height: 1.5; }
.route em { display: block; font-style: normal; font: 400 10.5px/1.4 ui-monospace, Menlo, monospace; color: var(--t-blue-text); margin-top: 12px; }

/* Schema browser. */
.schema { display: grid; grid-template-columns: 190px 1fr; height: calc(100% - 78px); }
.schema .list { border-right: 1px solid var(--t-hair); padding: 12px 10px; background: var(--t-rail); font: 400 11px/1 ui-monospace, Menlo, monospace; }
.schema .list div { padding: 8px; border-radius: 4px; color: var(--t-muted); }
.schema .list div.on { background: var(--t-raised); color: var(--t-ink); }
.schema .list .grp { font: 500 9.5px/1 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--t-faint); padding: 6px 8px 10px; }
.fld td { font-size: 11.5px; white-space: normal; vertical-align: top; }
.fld td:first-child { font-family: ui-monospace, Menlo, monospace; color: var(--t-ink); white-space: nowrap; }
.fld td.ty { font-family: ui-monospace, Menlo, monospace; color: #9FD9BE; white-space: nowrap; }
.fld td.ds { color: var(--t-muted); }
.hl { animation: none; }
.armed .fld tr.erow { clip-path: inset(0 100% 0 0); }

/* Left-anchored bars (depth), and a wider value column. */
.card .mrow.w { grid-template-columns: 96px 1fr 76px; }
.mrow .m.f::after { display: none; }
.mrow .m i.f { left: 0; background: var(--t-blue); }

/* Label history (dated rows). */
.hist .grid4 { grid-template-columns: 1fr 1fr .8fr .9fr; }

/* Also in the terminal, a short row. */
.also { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 104px; border-top: 1px solid var(--bone-line); }
.also .tool { border-bottom: 0; }

/* Platform: the terminal's menus as a map, and the full tool list. */
.mmap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding: 16px 14px; align-items: start; }
.mmap .col { background: var(--t-surface); border: 1px solid var(--t-border); border-radius: 6px; overflow: hidden; }
.mmap h4 { font: 500 9.5px/1 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--t-faint); padding: 12px 12px 10px; border-bottom: 1px solid var(--t-hair); }
.mmap .col div { padding: 9px 12px; font-size: 11.5px; color: var(--t-ink); border-bottom: 1px solid var(--t-hair); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mmap .col div:last-child { border-bottom: 0; }
.tools.pf { margin-top: 56px; border-top: 1px solid var(--bone-line); }

/* Smart Money Index: the curve, and contributors with the addresses held back. */
.smi-chart { padding: 18px 18px 6px; }
.lk { display: grid; grid-template-columns: 22px 104px 1fr 64px; gap: 10px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--t-hair); font-size: 11.5px; }
.lk > span:first-child { color: var(--t-faint); }
.lk > span:last-child { text-align: right; }
.lk .ad { font: 400 11px/1 ui-monospace, Menlo, monospace; color: var(--t-faint); letter-spacing: .04em; }
.lk .m { height: 5px; background: var(--t-raised); border-radius: 3px; position: relative; }
.tool b a { color: inherit; text-decoration: none; }
.tool b a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lk .m i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--t-profit); border-radius: 3px; }

@media (max-width: 900px) {
  .hero-copy.aud { padding-top: 44px; }
  .hero-copy.aud h1 { font-size: 44px; }
  .astage { height: 360px; margin-top: 44px; }
  .astage .term, .astage.sat-r .term, .astage.sat-l .term { left: 0; right: auto; width: 820px; }
  .astage .sat { display: none; }
  .proofs .row { grid-template-columns: 1fr; }
  .proofs .fig, .proofs .fig:nth-child(odd) { border-left: 0; padding-left: 0; }
  .proofs .fig:nth-child(n+2) { border-top: 1px solid var(--line); }
  .honest { grid-template-columns: 1fr; gap: 40px; margin-top: 40px; }
  .routes { grid-template-columns: 1fr 1fr; }
  .also { grid-template-columns: 1fr 1fr; margin-top: 72px; }
  .also .tool:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
  .hero-copy.aud h1 { font-size: 36px; }
  .astage { height: 300px; }
  .facts li { grid-template-columns: 1fr; gap: 6px; }
  .faq summary { font-size: 17px; }
  .faq details p { font-size: 15px; }
  .agrid { grid-template-columns: 1fr; }
  .routes { grid-template-columns: 1fr; }
  .schema { grid-template-columns: 1fr; }
  .schema .list { display: none; }
  .also { grid-template-columns: 1fr; }
  .also .tool, .also .tool:nth-child(even) { padding-left: 0; border-left: 0; }
  .tl .pin { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* A card whose table is the content, so every row shows instead of running off the bottom edge. */
.card.full { height: auto; padding-bottom: 36px; }
.card.full .dw { height: auto; overflow: visible; border-bottom: 1px solid #2E3A52; border-radius: 8px; }

/* Four cards read better two by two than three and one. */
@media (min-width: 901px) { .buyers.c2 { grid-template-columns: repeat(2, 1fr); } }

/* Index readout: the number, its move since the day before, what 100 is, and the trend beside it.
   Direction is shown by the arrow, never by colour: a rise is good news on one index and bad on another. */
.readout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; padding: 72px 0 88px; }
/* The index name is the page's one h1. It keeps the eyebrow size, so the big number stays the figure. */
.ro-copy h1.eyebrow { margin: 0 0 22px; font: 500 11px/1 Inter; letter-spacing: .18em; text-transform: uppercase; }
.ro-level { font: 400 128px/.9 Archivo; letter-spacing: -.05em; color: var(--t-ink); }
.ro-delta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 18px; font-size: 18px; }
.ro-delta b { font-weight: 500; color: inherit; }
.ro-delta span { font-size: .78em; opacity: .7; }
.ro-delta.up, .ro-delta.down, .ro-delta.flat { color: var(--t-ink); }
.ro-asof { margin-top: 22px; font-size: 13px; color: rgba(238,242,246,.78); }
.ro-copy h1.eyebrow { color: var(--ice); opacity: .9; }
.ro-copy p { margin-top: 18px; max-width: 440px; color: rgba(238,242,246,.86); font-size: 17px; line-height: 1.55; }
.ro-copy .ctas { justify-content: flex-start; margin-top: 30px; }
.ro-chart { background: var(--t-canvas); border: 1px solid #2E3A52; border-radius: 8px; overflow: hidden; color: var(--t-ink); box-shadow: 0 28px 56px -20px rgba(15,26,51,.45); }
.ro-chart .chart { padding: 10px 18px 14px; }
.proofs.ro-stats .row { grid-template-columns: repeat(4, 1fr); }
.ro-stats .fig b.up, .ro-stats .fig b.down, .ro-stats .fig b.flat { color: var(--ink); }
@media (max-width: 900px) {
  .readout { grid-template-columns: 1fr; gap: 36px; padding: 44px 0 56px; }
  .ro-level { font-size: 88px; }
  .proofs.ro-stats .row { grid-template-columns: 1fr; }
}

/* A hero with no buttons under it. */
.hero-copy.solo { padding-bottom: 104px; }
@media (max-width: 900px) { .hero-copy.solo { padding-bottom: 64px; } }

/* /indexes: one feature row per index, the home page's layout on white. */
.ix-feat .btn.ink { margin-top: 28px; }
.ix-feat .card { background: #F3F5F9; border-color: var(--line); }
.ix-feat ul, .ix-feat li { border-color: var(--line); }
.ix-feat li em { font-style: normal; white-space: nowrap; }
.ix-feat .kpis { grid-template-columns: repeat(3, 1fr); }
.ix-feat .chart { padding: 10px 16px 14px; }
@media (max-width: 900px) { .ix-feat .kpis { grid-template-columns: repeat(3, 1fr); } }
.ix-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 20px 6px; }
.ix-name { font: 500 26px/1.1 Archivo; letter-spacing: -.02em; color: var(--t-ink); max-width: 12em; }
.ix-level { font: 400 76px/.85 Archivo; letter-spacing: -.045em; color: var(--t-ink); }
.ix-asof { padding: 10px 20px 14px; font-size: 11px; color: var(--t-muted); border-bottom: 1px solid var(--t-hair); }
.ix-list .feat:first-child { margin-top: 0; }
@media (max-width: 900px) { .ix-name { font-size: 20px; } .ix-level { font-size: 56px; } }

/* The index's ticker, a small tag beside its name. */
.nowrap { white-space: nowrap; }
.ix-ticker, .ro-ticker { display: inline-block; vertical-align: middle; margin-left: .5em; padding: 3px 7px 2px; border: 1px solid currentColor; border-radius: 3px; font: 600 12px/1.2 Inter; letter-spacing: .08em; white-space: nowrap; }
.ix-ticker { color: var(--muted); position: relative; top: -.12em; }
.ro-ticker { margin-left: .7em; font-size: 11px; }
.ch-ticker { display: inline-block; vertical-align: middle; margin-left: .55em; padding: 3px 7px 2px; border: 1px solid currentColor; border-radius: 3px; font: 600 11px/1.2 Inter; letter-spacing: .08em; color: var(--t-ink); position: relative; top: -.08em; }

/* The foot of every index chart card, so a screenshot carries the wordmark and the ticker. */
.ix-mark { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 20px 14px; border-top: 1px solid var(--t-hair); color: var(--t-ink); }
.ix-mark .wm { font-size: 14px; color: var(--t-ink); }
.ix-mark span { font: 500 11px/1 Inter; letter-spacing: .06em; color: var(--t-ink); white-space: nowrap; }

/* Under a chart card: download its picture, or copy its embed code. */
.ix-share { display: flex; justify-content: flex-end; gap: 22px; margin-top: 14px; }
.ix-share a, .ix-share button { font: 500 13px/1.2 Inter; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(84,110,122,.4); }
.ix-share a:hover, .ix-share button:hover { color: var(--ink); }
.readout .ix-share a, .readout .ix-share button { color: rgba(238,242,246,.82); text-decoration-color: rgba(238,242,246,.4); }
.readout .ix-share a:hover, .readout .ix-share button:hover { color: #fff; }

/* The embed page: the chart card alone, filling its frame. */
body.ix-embed { margin: 0; background: transparent; }
.ix-embed .card.full { height: auto; padding: 0; border: 0; background: none; border-radius: 0; }
.ix-embed .card.full .dw { border-radius: 8px; }
.ix-embed a { color: inherit; text-decoration: none; }
.ix-embed .ix-name a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ix-mark-link { display: block; }

/* Hover readout on index charts: a rule and a dot at the nearest day, and its value above. */
.hv { position: relative; touch-action: pan-y; cursor: crosshair; }
.hv-x, .hv-dot, .hv-tip { position: absolute; pointer-events: none; opacity: 0; transition: opacity .12s; }
.hv.on .hv-x, .hv.on .hv-dot, .hv.on .hv-tip { opacity: 1; }
.hv-x { top: 0; bottom: 0; width: 1px; background: rgba(238,242,246,.35); }
.hv-dot { width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--t-blue); box-shadow: 0 0 0 2px var(--t-canvas); }
.hv-tip { transform: translate(-50%, calc(-100% - 12px)); white-space: nowrap; background: #1C2433; border: 1px solid #2E3A52; border-radius: 4px; padding: 6px 9px; font: 400 11px/1.2 Inter; color: var(--t-muted); }
.hv-tip b { display: block; font: 500 15px/1.1 Archivo; color: var(--t-ink); margin-bottom: 3px; }
.hv-tip.l { transform: translate(calc(-100% - 10px), -50%); }
.hv-tip.r { transform: translate(10px, -50%); }

/* No orphaned last words: centered copy is balanced, body copy avoids a lone word on its last line. */
.hero-copy p, .hero-copy h1, .close p, .close h2, h1, h2, h3, h4 { text-wrap: balance; }
p, li span, .ro-asof, .fig > span, .note { text-wrap: pretty; }

/* ================= Tools: the fees and rebates lookups, the calculator =================
   Marketing components on the page, not product shots: white cards, Archivo figures, Denim for
   what can be clicked. Green and red only for money, always with a sign. */
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tool-sec { padding-top: 88px; }
.lk-search { scroll-margin-top: 24px; position: relative; display: flex; gap: 10px; max-width: 760px; margin-top: 36px; }
.lk-search input { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border: 1px solid var(--mist); border-radius: 4px; background: #fff; color: var(--ink); font: 400 16px/1 Inter; }
.lk-search input::placeholder { color: var(--muted); opacity: .75; }
.lk-search input:focus { outline: 2px solid var(--denim); outline-offset: 1px; border-color: var(--denim); }
.lk-search .btn { height: 48px; }
.lk-hint { margin-top: 12px; font-size: 14px; color: var(--muted); }
.lk-dd { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 8; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 18px 40px -16px rgba(15,26,51,.28); }
.lk-dd[hidden] { display: none; }
.lk-dd button { display: flex; width: 100%; gap: 12px; align-items: baseline; padding: 11px 12px; border: 0; border-radius: 4px; background: none; color: var(--ink); font: 500 15px/1.2 Archivo; letter-spacing: -.01em; text-align: left; cursor: pointer; }
.lk-dd button:hover, .lk-dd button:focus-visible { background: var(--paper); outline: none; }
.lk-dd button span { margin-left: auto; font: 400 13px/1 Inter; letter-spacing: 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.lk-dd p { padding: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); }

.lk-result { margin-top: 40px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 24px 48px -32px rgba(15,26,51,.3); }
.lk-result[hidden] { display: none; }
.lk-rh { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; padding: 24px 28px; border-bottom: 1px solid var(--line); }
.lk-rh h3 { font: 500 28px/1.1 Archivo; letter-spacing: -.02em; color: var(--ink); }
.lk-ad { font: 400 12.5px/1.2 ui-monospace, Menlo, monospace; color: var(--muted); }
.lk-chip { font: 500 12px/1 Inter; padding: 6px 9px; border-radius: 3px; background: var(--ice); color: var(--denim); white-space: nowrap; }
.lk-rh .sp { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lk-rh a.ext { font: 500 14px/1 Inter; color: var(--denim); text-decoration: none; white-space: nowrap; }
.lk-rh a.ext:hover { text-decoration: underline; text-underline-offset: 3px; }
.lk-x { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--muted); font: 400 18px/1 Inter; cursor: pointer; }
.lk-x:hover { color: var(--ink); border-color: var(--mist); }
.lk-rbody { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.lk-tiles { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border-right: 1px solid var(--line); }
.lk-tile { padding: 22px 28px; border-bottom: 1px solid var(--line); }
.lk-tile:nth-child(even of :not(.lead)) { border-left: 1px solid var(--line); }
.lk-tile.lead, .lk-tile.lead ~ .lk-tile:last-child:nth-child(even) { grid-column: 1 / -1; }
.lk-tile > span { display: block; font: 500 11px/1.3 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lk-lbl { position: relative; }
.lk-tip { display: inline-grid; place-items: center; width: 17px; height: 17px; margin: -3px 0 0 7px; vertical-align: middle; padding: 0; border: 1px solid var(--mist); border-radius: 50%; background: #fff; color: var(--denim); font: 600 10px/1 Inter; letter-spacing: 0; text-transform: none; cursor: pointer; }
.lk-tip:hover, .lk-tip[aria-expanded="true"] { border-color: var(--denim); background: var(--ice); }
.lk-tip:focus-visible { outline: 2px solid var(--denim); outline-offset: 2px; }
.lk-tipbox { position: absolute; left: 0; top: calc(100% + 10px); z-index: 9; width: min(300px, calc(100vw - 56px)); padding: 12px 14px; border: 1px solid var(--line); border-radius: 6px; background: #fff; box-shadow: 0 18px 40px -16px rgba(15,26,51,.28); font: 400 13.5px/1.5 Inter; letter-spacing: 0; text-transform: none; color: var(--ink); display: none; }
.lk-tile:nth-child(even of :not(.lead)) .lk-tipbox { left: auto; right: 0; }
.lk-tip:hover + .lk-tipbox, .lk-tip:focus-visible + .lk-tipbox, .lk-tip[aria-expanded="true"] + .lk-tipbox { display: block; }
.lk-tile b { display: block; margin-top: 10px; font: 400 30px/1 Archivo; letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.lk-tile.lead b { font-size: 52px; letter-spacing: -.035em; }
.lk-tile b.up { color: var(--gain-l); } .lk-tile b.dn { color: var(--loss-l); }
.lk-tile b.na { font: 400 17px/1.3 Inter; letter-spacing: 0; color: var(--muted); }
.lk-tile em { display: block; margin-top: 8px; font-style: normal; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.lk-chart { display: flex; flex-direction: column; padding: 22px 28px; }
.lk-chart .cap { display: flex; justify-content: space-between; gap: 12px; font: 500 11px/1.3 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lk-chart .hv { flex: 1 1 0; min-height: 220px; margin-top: 18px; }
.lk-chart svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; overflow: visible; }
.lk-chart .hv-x { background: var(--line); }
.lk-chart .hv-dot { background: var(--denim); box-shadow: 0 0 0 2px #fff; }
.lk-chart .ln { fill: none; stroke: var(--denim); stroke-width: 2; vector-effect: non-scaling-stroke; }
.lk-chart .ar { fill: var(--ice); }
.lk-chart .ax { display: flex; justify-content: space-between; margin-top: 8px; font-size: 13px; color: var(--muted); }
.lk-note { padding: 18px 28px 22px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.lk-msg { padding: 28px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.lk-msg.err { color: var(--loss-l); }

.lk-board { margin-top: 56px; }
.lk-board h3 { font: 500 22px/1.3 Archivo; letter-spacing: -.015em; color: var(--ink); }
.lk-scroll { margin-top: 20px; overflow-x: auto; }
.lk-table { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line); }
.lk-table th { font: 500 11px/1.3 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.lk-table th.r { text-align: right; }
.lk-table th.sorted { color: var(--ink); }
.lk-table th.sorted::after { content: " \2193"; }
.lk-table td { padding: 14px 16px; border-top: 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); white-space: nowrap; }
.lk-table td.r { text-align: right; font-variant-numeric: tabular-nums; }
.lk-table tbody tr { cursor: pointer; transition: background .15s; }
.lk-table tbody tr:hover { background: var(--paper); }
.lk-table tbody tr.on { background: var(--ice); box-shadow: inset 3px 0 0 var(--denim); }
.lk-rk { width: 48px; color: var(--muted); font-variant-numeric: tabular-nums; }
.lk-who { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.lk-name { font: 500 15.5px/1.25 Archivo; letter-spacing: -.01em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; max-width: 320px; }
.lk-who:hover .lk-name { color: var(--denim); }
.lk-lead { font-weight: 500; color: var(--ink) !important; }
.lk-empty { padding: 36px 16px !important; text-align: center; white-space: normal !important; }
.lk-go { width: 1%; text-align: right; }
.lk-cta { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border: 1px solid var(--midnight); border-radius: 4px; background: var(--midnight); color: #fff; font: 500 13.5px/1 Inter; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.lk-table tbody tr:hover .lk-cta, .lk-cta:focus-visible { border-color: var(--denim); background: var(--denim); color: #fff; }
.lk-cta:focus-visible { outline: 2px solid var(--denim); outline-offset: 2px; }
.lk-table tbody tr.on .lk-cta { border-color: var(--denim); background: var(--denim); }
.sec.white + .figs { border-top: 1px solid var(--line); }
.lk-sum { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--line); }
.lk-foot { margin-top: 16px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* The Polymarket leaderboards: the TAPE trading screen's table and controls, in the marketing
   site's palette. Copy Score chips use Polycopy's verdict colors, which are never remapped. */
.lb-term {
  --t-canvas: #fff; --t-surface: var(--paper); --t-raised: #fff; --t-hover: var(--ice); --t-hair: var(--line);
  --t-border: var(--line); --t-ink: var(--ink); --t-muted: var(--muted); --t-faint: var(--muted); --t-control: var(--ink);
  --t-blue: var(--denim); --t-blue-soft: var(--ice); --t-blue-edge: var(--denim); --t-blue-text: var(--denim);
  --t-profit: var(--gain-l); --t-loss: var(--loss-l);
  background: var(--t-canvas); border: 1px solid var(--t-border); border-radius: 10px; color: var(--t-ink); font-family: Inter, sans-serif;
  box-shadow: 0 24px 48px -32px rgba(15,26,51,.3);
}
.lb-caps { display: block; font: 500 11px/1.2 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--t-faint); }
.lb-ctl { display: grid; grid-template-columns: minmax(200px, 1.5fr) repeat(4, minmax(120px, 1fr)); gap: 12px; padding: 16px; background: var(--t-surface); border-bottom: 1px solid var(--t-hair); border-radius: 10px 10px 0 0; }
.lb-f { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.lb-ctl-in { height: 38px; width: 100%; padding: 0 12px; background: var(--t-raised); border: 1px solid var(--mist); border-radius: 4px; color: var(--t-control); font: 400 14px/1 Inter; cursor: pointer; }
select.lb-ctl-in { appearance: none; padding-right: 28px; background-image: linear-gradient(45deg, transparent 50%, var(--t-faint) 50%), linear-gradient(135deg, var(--t-faint) 50%, transparent 50%); background-position: calc(100% - 15px) 17px, calc(100% - 10px) 17px; background-size: 5px 5px; background-repeat: no-repeat; }
select.lb-ctl-in option { background: #fff; color: var(--t-ink); }
.lb-ctl-in:hover { border-color: var(--denim); }
.lb-ctl-in:focus-visible { outline: 2px solid var(--t-blue); outline-offset: 1px; }
.lb-ctl-in.set { color: var(--t-blue-text); border-color: var(--t-blue-edge); }
.lb-ctl-in:disabled { cursor: default; opacity: .7; }
.lb-pick { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }
.lb-pick span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-pick i { font-style: normal; color: var(--t-faint); }
.lb-menu { position: absolute; z-index: 30; top: 100%; left: 0; width: 320px; max-width: calc(100vw - 48px); margin-top: 6px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 24px 48px -24px rgba(15,26,51,.35); overflow: hidden; }
.lb-menu[hidden] { display: none; }
.lb-pick-q { display: block; width: 100%; height: 42px; padding: 0 16px; border: 0; border-bottom: 1px solid var(--t-hair); background: #fff; color: var(--t-ink); font: 400 14px/1 Inter; outline: none; }
.lb-pick-q::placeholder { color: var(--t-faint); }
.lb-pick-body { max-height: 420px; overflow-y: auto; padding: 6px 0; }
.lb-pick-level[hidden] { display: none; }
.lb-pick-h { padding: 12px 16px 6px; }
.lb-pick-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; padding: 0 16px; color: var(--t-ink); font: 400 14px/1.2 Inter; text-decoration: none; }
.lb-pick-row:hover, .lb-pick-row:focus-visible { background: var(--t-hover); outline: none; }
.lb-pick-row i, .lb-pick-row em { font-style: normal; color: var(--t-faint); font-size: 13px; }
.lb-pick-row[aria-checked="true"] { color: var(--t-blue-text); background: var(--t-blue-soft); font-weight: 500; }
.lb-pick-back { display: block; width: 100%; padding: 10px 16px 4px; border: 0; background: none; color: var(--t-blue-text); font: 500 13px/1.2 Inter; text-align: left; cursor: pointer; }
.lb-pick-empty { padding: 16px; color: var(--t-muted); font-size: 14px; }
.lb-tally { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--t-hair); color: var(--t-muted); font: 400 13px/1.2 Inter; }
.lb-tally b { color: var(--t-ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.lb-clear { border: 0; background: none; padding: 0; color: var(--t-blue-text); font: 500 13px/1.2 Inter; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.lb-clear[hidden] { display: none; }
.lb-heading { padding: 20px 16px 16px; font: 500 22px/1.3 Archivo; letter-spacing: -.015em; color: var(--t-ink); }
.lb-scroll { overflow-x: auto; }
.lb-term.busy .lb-scroll { opacity: .5; transition: opacity .2s; }
.lb-table { width: 100%; border-collapse: collapse; }
.lb-table th { height: 44px; padding: 0 16px; background: #fff; border-top: 1px solid var(--t-hair); border-bottom: 1px solid var(--t-hair); text-align: left; white-space: nowrap; font: 500 11px/1.2 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--t-faint); }
.lb-table th.r { text-align: right; }
.lb-table th button { padding: 0; border: 0; background: none; font: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; cursor: pointer; }
.lb-table th button:hover { color: var(--t-control); }
.lb-table th.on { color: var(--t-ink); }
.lb-table th.on > button::after { content: " \2193"; }
.lb-table th.on[aria-sort="ascending"] > button::after { content: " \2191"; }
.lb-table td { height: 52px; padding: 0 16px; border-bottom: 1px solid var(--t-hair); white-space: nowrap; font: 400 15px/1.2 Inter; color: var(--t-muted); }
.lb-table td.r { text-align: right; font-variant-numeric: tabular-nums; }
.lb-table tbody tr { transition: background .15s; }
.lb-table tbody tr:hover td { background: var(--paper); }
.lb-table tbody tr[hidden] { display: none; }
.lb-table tbody tr:last-child td { border-bottom: 0; }
.lb-table .lb-rk { width: 48px; color: var(--t-faint); font-variant-numeric: tabular-nums; }
.lb-who { display: flex; align-items: baseline; gap: 10px; }
.lb-name { overflow: hidden; text-overflow: ellipsis; max-width: 180px; font: 500 15.5px/1.25 Archivo; letter-spacing: -.01em; color: var(--t-ink); }
.lb-ad { font: 400 12.5px/1 Inter; color: var(--t-faint); }
.lb-sk { display: inline-flex; align-items: baseline; gap: 8px; }
.lb-sk b { font: 500 15.5px/1 Inter; color: var(--t-ink); font-variant-numeric: tabular-nums; }
.lb-sk-none { font-size: 13px; color: var(--t-faint); }
.lb-table td .up, .lb-table td .dn { font-weight: 500; }
.lb-table td .up { color: var(--t-profit); } .lb-table td .dn { color: var(--t-loss); }
.lb-table .lb-empty td { height: auto; padding: 40px 16px; text-align: center; white-space: normal; color: var(--t-muted); }
.lb-none { padding: 40px 16px; text-align: center; color: var(--t-muted); font-size: 14px; }
.lb-none[hidden] { display: none; }
.lb-tip { position: relative; display: inline-block; margin-left: 6px; vertical-align: middle; }
.lb-tip-i { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; padding: 0; border: 1px solid var(--steel); border-radius: 50%; background: #fff; color: var(--denim); font: italic 600 10px/1 Georgia, serif; letter-spacing: 0; text-transform: none; cursor: help; }
.lb-tip-i:hover, .lb-tip-i:focus-visible { border-color: var(--denim); outline: none; }
/* The 8px above the box is transparent, so the pointer can cross from the icon to the link. */
.lb-tip-box { position: absolute; z-index: 20; top: 100%; right: -12px; box-sizing: border-box; width: 260px; padding: 20px 16px 12px; visibility: hidden; opacity: 0; transition: opacity .15s, visibility .15s; color: #fff; font: 400 13px/1.5 Inter; letter-spacing: 0; text-transform: none; white-space: normal; text-align: left; }
.lb-tip-box::before { content: ""; position: absolute; inset: 8px 0 0; background: var(--midnight); border-radius: 6px; box-shadow: 0 16px 32px -16px rgba(15,26,51,.5); z-index: -1; }
.lb-tip-box a { display: inline-block; margin-top: 6px; color: var(--mist); text-decoration: underline; text-underline-offset: 3px; }
.lb-tip-box a:hover { color: #fff; }
.lb-tip:hover .lb-tip-box, .lb-tip:focus-within .lb-tip-box { visibility: visible; opacity: 1; }
.lb-cs { display: inline-block; padding: 5px 8px; border-radius: 3px; font: 600 11px/1 Inter; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-decoration: none; white-space: nowrap; }
.lb-cs[data-tone="clear"] { background: #12875A; }
.lb-cs[data-tone="ahead"] { background: #3F9E74; color: #10141D; }
.lb-cs[data-tone="caution"] { background: #C77F0A; color: #10141D; }
.lb-cs[data-tone="negative"] { background: #D0021B; }
.lb-cs[data-tone="neutral"] { background: #2E6F8E; }
.lb-cs[data-tone="unknown"], .lb-cs[data-tone="none"] { background: #A1A1AA; color: #10141D; }
@media (max-width: 1100px) {
  .lb-ctl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-f-cat { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .lb-ctl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lb-f-cat { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .lb-table th, .lb-table td { padding: 0 8px; }
  .lb-table td { font-size: 14px; }
  .lb-table .lb-rk { width: 28px; }
  .lb-cs { padding: 4px 6px; font-size: 10px; letter-spacing: .06em; }
  .lb-name { max-width: 130px; font-size: 14.5px; }
  .lb-heading { font-size: 19px; }
  .lb-ad { display: none; }
}

/* The calculator: inputs on the left, the answer on the right, in one white card. */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 24px 48px -32px rgba(15,26,51,.3); }
.calc-in { padding: 36px; border-right: 1px solid var(--line); }
.calc-in label, .calc-in .lbl { display: block; margin: 24px 0 10px; font: 500 14px/1.2 Inter; color: var(--ink); }
.calc-in label:first-child { margin-top: 0; }
.calc-in select, .calc-in input[type=number] { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--mist); border-radius: 4px; background: #fff; color: var(--ink); font: 400 16px/1 Inter; font-variant-numeric: tabular-nums; }
.calc-in select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%234A5670' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.calc-in select:focus, .calc-in input:focus { outline: 2px solid var(--denim); outline-offset: 1px; border-color: var(--denim); }
.calc-px { display: grid; grid-template-columns: 1fr 110px; gap: 16px; align-items: center; }
.calc-px input[type=range] { width: 100%; accent-color: var(--denim); }
.calc-seg { display: inline-flex; border: 1px solid var(--mist); border-radius: 4px; overflow: hidden; }
.calc-seg label { position: relative; margin: 0; padding: 12px 18px; font: 500 14px/1 Inter; color: var(--muted); cursor: pointer; border-left: 1px solid var(--mist); }
.calc-seg label:first-child { border-left: 0; }
.calc-seg input { position: absolute; opacity: 0; pointer-events: none; }
.calc-seg label:has(input:checked) { background: var(--ice); color: var(--denim); }
.calc-seg label:has(input:focus-visible) { outline: 2px solid var(--denim); outline-offset: -2px; }
.calc-res { padding: 36px; background: var(--paper); border-radius: 0 10px 10px 0; }
.calc-big > span { display: block; font: 500 11px/1.3 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.calc-big b { display: block; margin-top: 12px; font: 400 64px/1 Archivo; letter-spacing: -.04em; color: var(--gain-l); font-variant-numeric: tabular-nums; }
.calc-big b.dn { color: var(--loss-l); }
.calc-big em { display: block; margin-top: 12px; font-style: normal; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.calc-rows { margin-top: 28px; border-top: 1px solid var(--line); }
.calc-rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.calc-rows span { font-size: 15px; color: var(--muted); }
.calc-rows b { font-weight: 500; font-size: 15px; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc-rows b.dn { color: var(--loss-l); }
.calc-note { margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.calc-err { font-size: 16px; color: var(--loss-l); }

@media (max-width: 900px) {
  .lk-rbody, .calc { grid-template-columns: 1fr; }
  .lk-tiles { border-right: 0; }
  .calc-in { border-right: 0; border-bottom: 1px solid var(--line); }
  .calc-res { border-radius: 0 0 10px 10px; }
  .lk-tile.lead b { font-size: 44px; }
  .calc-big b { font-size: 52px; }
}
@media (max-width: 600px) {
  .tool-sec { padding-top: 56px; }
  .lk-search { flex-direction: column; }
  .lk-rh, .lk-tile, .lk-chart, .lk-note { padding-left: 18px; padding-right: 18px; }
  .lk-rh h3 { font-size: 24px; }
  .lk-rh .sp { margin-left: 0; width: 100%; justify-content: space-between; }
  .lk-tile b { font-size: 26px; }
  .lk-tile.lead b { font-size: 40px; }
  .lk-table th, .lk-table td { padding-left: 6px; padding-right: 6px; }
  .lk-table td { font-size: 14px; }
  .lk-table th:first-child, .lk-table td.lk-rk { display: none; }
  .lk-name { max-width: 110px; }
  .lk-cta { width: 30px; height: 30px; padding: 0; justify-content: center; }
  .lk-cta .t { display: none; }
  .calc-in, .calc-res { padding: 22px 18px; }
  .calc-big b { font-size: 44px; }
}

/* A light table on the page body, for fee curves and stream definitions. */
.ptable { width: 100%; border-collapse: collapse; margin-top: 28px; border-top: 1px solid var(--line); }
.ptable th { font: 500 11px/1.3 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); text-align: left; }
.ptable td { padding: 14px 16px 14px 0; border-top: 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); white-space: normal; vertical-align: top; }
.ptable td:first-child { font: 500 15px/1.4 Archivo; color: var(--ink); letter-spacing: -.01em; }
.ptable .r { text-align: right; font-variant-numeric: tabular-nums; }
.twocol { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; margin-top: 56px; align-items: start; }
.twocol h3 { font: 500 22px/1.3 Archivo; letter-spacing: -.015em; }
.twocol > div > p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.formula { margin-top: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font: 500 17px/1.4 ui-monospace, Menlo, monospace; color: var(--ink); }
.formula small { display: block; margin-top: 8px; font: 400 13px/1.5 Inter; color: var(--muted); }
.live { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--denim); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px rgba(62,90,134,.15); }
.lead .stat { font-size: 18px; color: var(--ink); }
@media (max-width: 900px) { .twocol { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 600px) {
  .ptable.stack thead { display: none; }
  .ptable.stack tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .ptable.stack td { display: block; padding: 3px 0; border: 0; }
  .ptable.stack td:first-child { margin-bottom: 4px; }
}

/* The payout programs, one card each, every card linking to Polymarket's own rules. */
.streams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.stream { display: flex; flex-direction: column; padding: 26px 26px 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.stream .k { font: 500 11px/1.3 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stream h3 { margin-top: 10px; font: 500 22px/1.2 Archivo; letter-spacing: -.015em; color: var(--ink); }
.stream dl { margin: 16px 0 0; border-top: 1px solid var(--line); }
.stream dt { margin-top: 14px; font: 500 12px/1.3 Inter; color: var(--ink); }
.stream dd { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.stream dd a { color: var(--denim); }
.stream a.ext { margin-top: auto; padding-top: 20px; font: 500 14px/1 Inter; color: var(--denim); text-decoration: none; }
.stream a.ext:hover { text-decoration: underline; text-underline-offset: 3px; }
.stream.rel { background: var(--paper); }
@media (max-width: 900px) { .streams { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .streams { grid-template-columns: 1fr; } .stream { padding: 22px 18px 20px; } }

/* Numbered steps that sit on the text edge, numbers inside the column rather than hung outside it. */
.steps { list-style: none; counter-reset: step; margin: 36px 0 0; padding: 0; max-width: 720px; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px minmax(0, 1fr); align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.55; color: var(--muted); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 500 13px/1 Inter; letter-spacing: .08em; color: var(--denim); font-variant-numeric: tabular-nums; }

/* A FAQ on a white section rather than bone: the same rows, on the white palette. */
.sec.white .faq, .sec.white .faq details { border-color: var(--line); }
.sec.white .faq summary::after { color: var(--muted); }
.sec.white .faq details p { color: var(--muted); }

/* Resources hub: grouped cards, the Polycopy hub's structure in the TAPE system. */
.rg { margin-top: 0; }
.rg + .rg { margin-top: 88px; }
.rg-h { display: flex; justify-content: space-between; align-items: end; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.rg-h h2 { font: 500 34px/1.1 Archivo; letter-spacing: -.025em; margin-top: 14px; }
.rg-h p { font-size: 15px; line-height: 1.55; color: var(--muted); max-width: 420px; }
.rcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.rcard { position: relative; display: flex; flex-direction: column; min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: inherit; text-decoration: none; transition: border-color .25s, box-shadow .25s, transform .25s var(--arrive); }
.rcard:hover { border-color: var(--denim); box-shadow: 0 18px 36px -22px rgba(15,26,51,.35); transform: translateY(-2px); }
.rcard .ic { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; background: var(--ice); color: var(--denim); }
.rcard .ic svg { width: 20px; height: 20px; }
.rcard b { display: block; font: 500 19px/1.25 Archivo; letter-spacing: -.015em; margin-top: 22px; color: var(--ink); }
.rcard span.d { display: block; font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 8px; }
.rcard .go { margin-top: auto; padding-top: 18px; font: 500 13px/1 Inter; color: var(--denim); }
.rcard .go::after { content: " \2192"; transition: margin .2s; }
.rcard:hover .go::after { margin-left: 4px; }
@media (max-width: 900px) { .rcards { grid-template-columns: 1fr 1fr; } .rg-h { flex-direction: column; align-items: flex-start; } }
@media (max-width: 600px) { .rcards { grid-template-columns: 1fr; } .rcard { min-height: 0; } .rg-h h2 { font-size: 28px; } }

/* Trade ticket and order book mock, shared by the home and quant desks pages. */
.tk-k { font: 500 9px/1 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--t-faint); }
.tk-q { font: 500 13px/1.3 Inter; margin-top: 6px; }
.tk-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.tk-yn div { display: flex; justify-content: space-between; align-items: center; padding: 10px; border-radius: 4px; font-size: 11px; }
.tk-yn b { font: 500 20px/1 Archivo; }
.tk-yn .y { background: rgba(63,178,127,.10); border: 1px solid rgba(63,178,127,.3); color: var(--t-profit); }
.tk-yn .y.on { background: rgba(63,178,127,.2); border-color: var(--t-profit); }
.tk-yn .n { background: rgba(240,97,109,.08); border: 1px solid rgba(240,97,109,.3); color: var(--t-loss); }
.tk-ot { display: flex; gap: 2px; margin-top: 10px; border: 1px solid var(--t-border); border-radius: 4px; padding: 2px; }
.tk-ot span { flex: 1; text-align: center; font-size: 10px; padding: 5px 0; color: var(--t-muted); border-radius: 3px; white-space: nowrap; }
.tk-ot span.on { background: var(--t-raised); color: var(--t-ink); box-shadow: inset 0 0 0 1px var(--t-blue); }
.tk-amt { margin-top: 10px; }
.tk-amt small { font-size: 10px; color: var(--t-faint); }
.tk-amt div { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; padding: 9px 10px; border: 1px solid var(--t-border); border-radius: 4px; background: #121827; }
.tk-amt b { font: 500 14px/1 Inter; }
.tk-amt em { font-style: normal; font-size: 10px; color: var(--t-faint); }
.tk-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; padding: 10px; border: 1px solid var(--t-border); border-radius: 4px; }
.tk-sum small { display: block; font-size: 9.5px; color: var(--t-faint); }
.tk-sum b { display: block; font: 500 13px/1 Inter; margin-top: 4px; }
.tk-go { margin-top: 10px; padding: 11px 0; text-align: center; border-radius: 4px; background: var(--t-profit); color: #0B1A12; font: 600 10.5px/1 Inter; letter-spacing: .1em; text-transform: uppercase; }
.card .dw.ex { display: grid; grid-template-columns: 1fr 1.08fr; align-items: stretch; }
.tk-card { padding: 20px 18px; border-right: 1px solid var(--t-hair); }
.tk-book { padding: 20px 18px; display: flex; flex-direction: column; }
.ob-h { display: flex; align-items: center; justify-content: space-between; }
.ob-h span { font: 500 9px/1 Inter; letter-spacing: .12em; text-transform: uppercase; color: var(--t-faint); }
.ob-live { font: 500 8.5px/1 Inter; letter-spacing: .1em; text-transform: uppercase; padding: 3px 5px; border-radius: 2px; color: var(--t-profit); background: rgba(63,178,127,.16); }
.ob-hint { font-size: 9.5px; color: var(--t-faint); margin: 5px 0 10px; }
.ob-r > span:nth-child(3) { text-align: right; }
.ob-r > span:last-child { text-align: right; }
.ob-r.ob-l { border-top: 0; padding-top: 0; font: 500 8.5px/1 Inter; letter-spacing: .1em; text-transform: uppercase; color: var(--t-faint); }
.ob-bar { display: flex; height: 13px; }
.ob-bar.b { justify-content: flex-end; }
.ob-bar i { display: block; background: rgba(91,141,214,.28); }
.ob-bar.b i { background: rgba(63,178,127,.24); }
.ob-r .bp { color: var(--t-profit); }
.ob-r .ap { color: #7FA8E6; }
.ob-f { display: flex; justify-content: space-between; font-size: 10px; color: var(--t-faint); margin-top: 0; padding-top: 10px; border-top: 1px solid var(--t-hair); }
.ob-f .num { color: var(--t-ink); }
@media (max-width: 900px) { .card .dw.ex { grid-template-columns: 1fr; } .tk-book { display: none; } }

/* Named versions of inline styles the pages used to repeat. */
.eyebrow.muted { color: var(--muted); }
.eyebrow.stone { color: var(--stone); }
.mt-18, .kv.mt-18 { margin-top: 18px; }
.nav .signin { opacity: .84; }

/* Arbitrage guide: fee breakdown rows, the break-even chart, and an even three-column grid. */
.ab-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-top: 1px solid var(--t-hair); font-size: 12px; color: var(--t-muted); }
.ab-row b { font: 500 13px/1 Inter; color: var(--t-ink); font-variant-numeric: tabular-nums; }
.ab-row.tot { color: var(--t-ink); }
.ab-row.tot b { font: 500 16px/1 Archivo; letter-spacing: -.01em; }
.ab-row b.up { color: var(--t-profit); } .ab-row b.dn { color: var(--t-loss); }
.erow.tot { font-weight: 500; }
.ab-chart { margin-top: 48px; background: var(--t-canvas); border: 1px solid #2E3A52; border-radius: 8px; padding: 22px 22px 16px; color: var(--t-ink); }
.ab-ch-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 16px; }
.ab-ch-h b { display: block; font: 500 16px/1.2 Archivo; letter-spacing: -.01em; }
.ab-ch-h span { display: block; font-size: 11px; color: var(--t-muted); margin-top: 5px; }
.ab-key { display: flex; gap: 18px; flex-wrap: wrap; }
.ab-key span { display: flex; align-items: center; gap: 7px; margin: 0; }
.ab-key i { display: block; width: 16px; height: 2px; }
.ab-key .k1 { background: var(--t-blue); }
.ab-key .k2 { background: repeating-linear-gradient(90deg, var(--t-profit) 0 5px, transparent 5px 9px); }
.ab-chart svg { display: block; width: 100%; height: auto; }
.ab-g { stroke: var(--t-hair); stroke-width: 1; }
.ab-t { fill: var(--t-faint); font: 400 10px Inter; }
.ab-l { fill: none; stroke: var(--t-blue); stroke-width: 2.2; }
.ab-l2 { fill: none; stroke: var(--t-profit); stroke-width: 2; stroke-dasharray: 5 4; }
.ab-ch-x { text-align: center; font-size: 10.5px; color: var(--t-faint); margin-top: 6px; }
.catalog .ab-table { min-width: 560px; }
.catalog .ab-table th:nth-child(2), .catalog .ab-table th:nth-child(3) { width: 34%; }
.catalog .ab-table td { font-variant-numeric: tabular-nums; }
.tools.ab-tools { margin-top: 48px; border-top: 1px solid var(--bone-line); }
.ab-tools .tool p a, .feat > div > p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 901px) {
  .tools.c3 { grid-template-columns: repeat(3, 1fr); }
  .tools.c3 .tool:nth-child(4n+1) { padding-left: 24px; border-left: 1px solid var(--bone-line); }
  .tools.c3 .tool:nth-child(3n+1) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  #mm-table .lb-rk { display: none; }
  #mm-table th, #mm-table td { padding-left: 6px; padding-right: 6px; }
  #mm-table th:nth-child(2), #mm-table td:nth-child(2) { padding-left: 12px; }
  #mm-table th:last-child, #mm-table td:last-child { padding-right: 8px; }
  #mm-table th { white-space: normal; line-height: 1.35; }
}

/* Index and link cards, the home page standard. */
.ixg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 56px; }
.ixc { display: flex; flex-direction: column; padding: 26px 24px 24px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: inherit; text-decoration: none; min-height: 300px; transition: transform .35s var(--arrive), box-shadow .35s, border-color .35s; }
.ixc:hover { transform: translateY(-3px); border-color: #C8D6EA; box-shadow: 0 18px 36px -18px rgba(15,26,51,.28); }
.ixc-t { font: 500 12px/1 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ixc b { font: 500 20px/1.2 Archivo; letter-spacing: -.015em; margin-top: 18px; }
.ixc p { font-size: 14.5px; line-height: 1.55; color: var(--muted); margin-top: 8px; }
.ixc-v { display: flex; align-items: baseline; gap: 10px; margin: auto 0 24px; padding-top: 22px; }
.ixc-v span { font: 400 40px/1 Archivo; letter-spacing: -.03em; }
.ixc-v em { font-style: normal; font-size: 13px; color: var(--muted); }
.ix-more { display: flex; gap: 18px; align-items: baseline; margin-top: 28px; font-size: 14px; color: var(--muted); }
.ixc .go { display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid var(--line); font: 500 15px/1 Inter; color: var(--ink); }
.ixc .go i { font-style: normal; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); transition: transform .3s var(--arrive), background .3s, color .3s, border-color .3s; }
.ixc:hover .go i { transform: translateX(4px); background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 900px) { .ixg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ixg { grid-template-columns: 1fr; } .ixc { min-height: 0; } }

/* Statistics page: daily volume bars and the market tables. */
.ms-bar { fill: #34415C; }
.ms-bar.on { fill: var(--t-blue); }
.ab-key .k3 { background: #34415C; }
.ab-chart:has(.ms-bar) .ab-key i { width: 10px; height: 10px; border-radius: 2px; }
.ms-empty { padding: 48px 0; text-align: center; color: var(--t-muted); font-size: 14px; }
.lb-table td.ms-mkt { white-space: normal; min-width: 260px; }
.ms-mkt a { color: inherit; text-decoration: none; }
.ms-mkt a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  #ms-week .lb-rk { display: none; }
  .lb-table td.ms-mkt { min-width: 0; }
}
.hero-copy.aud p a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.hero-copy.aud p a:hover { color: var(--ice); }
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 64px; align-items: center; }
.split2 .calchart { margin: 0; max-width: none; }
.split2 .lead h2 { font-size: 40px; line-height: 1.08; }
.lean { background: #fff; border: 1px solid var(--bone-line); border-radius: 10px; padding: 22px 22px 16px; }
.lean-h { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.lean-h b { font-weight: 600; color: var(--ink); font-size: 14px; }
.lean-row { display: grid; grid-template-columns: 88px 1fr 48px; align-items: center; gap: 12px; padding: 7px 0; border-top: 1px solid var(--line); font: 400 13px/1 Inter; color: var(--muted); }
.lean-t { position: relative; height: 10px; }
.lean-t::before { content: ""; position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: rgba(26,31,46,.3); }
.lean-t i { position: absolute; top: 0; height: 100%; border-radius: 2px; }
.lean-t i.up { left: 50%; background: #5CB85C; }
.lean-t i.dn { right: 50%; background: #FF6B6B; }
.lean-v { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
@media (max-width: 900px) {
  .split2 { grid-template-columns: 1fr; gap: 36px; }
}
.rv-card { background: var(--bone-2, #F5F4EF); border: 1px solid var(--bone-line); border-radius: 10px; padding: 28px; }
.rv-card .rv-k { font: 500 12px/1 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.rv-card b { display: block; margin-top: 16px; font: 500 64px/1 Archivo, Inter; color: var(--ink); letter-spacing: -.02em; }
.rv-card p { margin-top: 16px; font-size: 14.5px; line-height: 1.55; color: var(--stone); }
.rv-wrap { margin-top: 40px; background: #fff; border: 1px solid var(--bone-line); border-radius: 10px; padding: 22px 22px 18px; }
.split2 .rv-wrap { margin-top: 0; }
.rv-h { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; font-size: 13px; color: var(--muted); }
.rv-h b { font-weight: 600; color: var(--ink); font-size: 14px; }
.rv-split { display: flex; height: 64px; border-radius: 6px; overflow: hidden; font: 400 13px/1.2 Inter; }
.rv-split span { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 0 16px; color: #fff; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-split b { font: 600 20px/1 Inter; }
.rv-back { background: #4A90E2; }
.rv-kept { background: var(--midnight); }
.rv-row { display: grid; grid-template-columns: 170px 1fr 48px; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font: 400 13.5px/1.2 Inter; color: var(--muted); }
.rv-t { height: 12px; background: var(--line); border-radius: 3px; overflow: hidden; }
.rv-t i { display: block; height: 100%; background: #4A90E2; }
.rv-v { text-align: right; font: 600 14px/1 Inter; color: var(--ink); font-variant-numeric: tabular-nums; }
.rv-none { font-size: 14px; color: var(--muted); }
@media (max-width: 640px) {
  .rv-row { grid-template-columns: 1fr 44px; }
  .rv-row .rv-t { grid-column: 1 / -1; grid-row: 2; }
  .rv-card b { font-size: 48px; }
}
.ins-vis { background: #fff; border: 1px solid var(--bone-line); border-radius: 10px; padding: 22px 22px 20px; }
.ins-steps { list-style: none; margin: 0; padding: 0; }
.ins-steps li { position: relative; display: grid; grid-template-columns: 108px 1fr; column-gap: 16px; row-gap: 4px; padding: 14px 0 14px 18px; border-top: 1px solid var(--line); }
.ins-steps li::before { content: ""; position: absolute; left: 0; top: 20px; width: 8px; height: 8px; border-radius: 50%; background: #4A90E2; }
.ins-steps li:nth-child(3)::before { background: var(--midnight); box-shadow: 0 0 0 4px rgba(74,144,226,.25); }
.ins-t { grid-row: 1 / 3; font: 500 12px/1.4 Inter; letter-spacing: .04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.ins-steps b { font: 600 15px/1.3 Inter; color: var(--ink); }
.ins-steps li > span:last-child { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.ins-share { display: grid; grid-template-columns: 1fr 120px 44px; align-items: center; gap: 12px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ins-share b { text-align: right; font: 600 14px/1 Inter; color: var(--ink); }
@media (max-width: 640px) {
  .ins-steps li { grid-template-columns: 1fr; }
  .ins-t { grid-row: auto; }
  .ins-share { grid-template-columns: 1fr 44px; }
  .ins-share .rv-t { grid-column: 1 / -1; grid-row: 2; }
}

/* Research articles: a reading column with figures, key findings and tables inside it. */
.hero-copy .eyebrow a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.art-by { margin-top: 22px; font: 400 13.5px/1.5 Inter; color: rgba(255,255,255,.72); }
.art-by a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.art { max-width: 760px; margin: 0 auto; }
.art > p, .art > ol, .art > ul { font-size: 17px; line-height: 1.7; color: var(--ink); margin-top: 20px; }
.art > ol { padding-left: 22px; } .art > ol li { margin-top: 12px; }
.art a { color: var(--denim); text-decoration: underline; text-underline-offset: 3px; }
.art h2 { font: 500 32px/1.15 Archivo; letter-spacing: -.02em; color: var(--ink); margin-top: 72px; }
.art h3 { font: 500 21px/1.3 Archivo; letter-spacing: -.01em; color: var(--ink); margin-top: 40px; }
.art .catalog { margin-top: 24px; }
.art .catalog table { min-width: 560px; margin-top: 0; }
.art .catalog.art-2 th:nth-child(1) { width: 26%; } .art .catalog.art-2 th:nth-child(2) { width: auto; }
.art .catalog.art-num td { font-variant-numeric: tabular-nums; }
.art .catalog.art-num td:nth-child(n+3), .art .catalog.art-num th:nth-child(n+3) { text-align: right; }
.art .catalog.art-num th:nth-child(n) { width: auto; }
.art .catalog td.pos { color: var(--gain-l); font-weight: 600; }
.kf { margin-top: 32px; background: var(--bone-2, #F5F4EF); border-left: 3px solid #4A90E2; padding: 22px 26px; font-size: 16px; line-height: 1.6; color: var(--ink); }
.kf-k { font: 500 11px/1 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); margin-bottom: 12px; }
.kf ul { margin: 0; padding-left: 18px; } .kf li { margin-top: 10px; } .kf li:first-child { margin-top: 0; }
.rc { margin: 32px 0 0; background: #fff; border: 1px solid var(--bone-line); border-radius: 10px; padding: 22px 22px 18px; }
.rc-h { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); }
.rc-h b { font-weight: 600; color: var(--ink); font-size: 15px; }
.rc-leg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 8px; font: 400 12.5px/1.2 Inter; color: var(--muted); }
.rc-leg span { display: inline-flex; align-items: center; gap: 6px; }
.rc-leg i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
.rc-row { display: grid; grid-template-columns: 150px 1fr; gap: 12px; align-items: center; padding: 9px 0; border-top: 1px solid var(--line); }
.rc-l { font: 400 13px/1.3 Inter; color: var(--muted); }
.rc-bars { display: grid; gap: 4px; }
.rc-bar { display: grid; grid-template-columns: 1fr 52px; gap: 10px; align-items: center; }
.rc-t { height: 10px; display: block; }
.rc-t i { display: block; height: 100%; border-radius: 2px; }
.rc-bar b { font: 600 12.5px/1 Inter; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.rc-a { background: #4A90E2; } .rc-b { background: #0D9488; } .rc-r { background: #FF6B6B; }
.rc-cap { margin-top: 14px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.art-note { font-size: 14px !important; color: var(--muted) !important; font-style: italic; margin-top: 40px !important; }
.arts { margin-top: 48px; display: grid; gap: 20px; }
.arts-i { display: block; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 28px 30px; max-width: 860px; transition: border-color .15s; }
.arts-i:hover { border-color: rgba(26,31,46,.3); }
.arts-k { font: 500 11px/1 Inter; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.arts-i b { display: block; margin-top: 14px; font: 500 26px/1.2 Archivo; letter-spacing: -.015em; color: var(--ink); }
.arts-i p { margin-top: 12px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.arts-go { display: inline-block; margin-top: 16px; font: 500 14px/1 Inter; color: var(--denim); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .art h2 { font-size: 26px; margin-top: 56px; }
  .rc-row { grid-template-columns: 1fr; gap: 6px; }
}
footer .wrap.c5 { grid-template-columns: 1.3fr repeat(5, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 1080px) { footer .wrap.c5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } footer .wrap.c5 > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 640px) { footer .wrap.c5 { grid-template-columns: 1fr 1fr; } }
