/* The public landing at / (funding_radar/landing.py): the wall of markets lit by a "flashlight", the best pairs, what
   the app does. Brand tokens as in frontend/src/styles/base/tokens.css (a separate page: no Vite build here). */
@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Doto"; src: url("fonts/doto.woff2") format("woff2-variations"); font-weight: 800 900; font-display: swap; }
:root { --ink: #0f1011; --ink-2: #16181a; --ink-3: #1d1f22; --line: #26292c; --dot-off: #1f2124;
        --text: #f4f5f0; --text-2: #b9bcb3; --text-3: #7d8179; --alpha: #c6f432; --gain: #1fd37f; --loss: #ff5e57;
        --x: 50%; --y: 45%; --r: 190px; }
* { box-sizing: border-box; margin: 0; }
html { background: var(--ink); scroll-behavior: smooth; }
body { background: var(--ink); color: var(--text); font: 400 17px/1.55 "Archivo", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
.num { font-family: "Doto", sans-serif; font-weight: 900; letter-spacing: -.03em; }
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px;
       padding: 14px max(16px, calc((100vw - 1180px) / 2)); background: color-mix(in srgb, var(--ink) 82%, transparent);
       backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-stretch: 112%; font-size: 19px; letter-spacing: .02em; }
.brand .word span { color: var(--alpha); }
.brand svg { width: 22px; height: 25px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 15px; color: var(--text-2); }
.nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 99px; font-weight: 700; font-size: 15px;
       transition: transform .15s, box-shadow .15s; }
.btn--go { background: var(--alpha); color: #0b0c0b; }
.btn--go:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(198, 244, 50, .28); }
.btn--ghost { border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: color-mix(in srgb, var(--alpha) 50%, var(--line)); }
.btn:focus-visible, .nav a:focus-visible { outline: 2px solid var(--alpha); outline-offset: 3px; }
/* hero: the wall of markets, dim; the light reveals it, fading out behind the words */
.hero { position: relative; overflow: hidden; height: min(760px, 92vh); display: grid; place-items: center; text-align: center;
        border-bottom: 1px solid var(--line); }
.wall { position: absolute; inset: -20px; display: grid; grid-template-columns: repeat(auto-fill, 92px); gap: 18px 22px;
        justify-content: center; align-content: center; padding: 20px; }
.tile { display: grid; justify-items: center; gap: 6px; }
.tile span { width: 44px; height: 44px; border-radius: 12px; background: var(--ink-3); display: grid; place-items: center; }
.tile img { width: 26px; height: 26px; border-radius: 6px; }
.tile b { font: 700 11px "Archivo", sans-serif; letter-spacing: .1em; color: var(--text-3); }
.wall--dim .tile img { filter: grayscale(1) brightness(.55); opacity: .28; }
.wall--dim .tile b { opacity: .35; }
.wall--lit .tile span { box-shadow: 0 0 0 1px rgba(198, 244, 50, .35), 0 0 18px rgba(198, 244, 50, .14); }
.wall--lit .tile b { color: var(--alpha); }
.dots, .dots--lit { position: absolute; inset: 0; background-image: radial-gradient(circle, var(--dot-off) 2px, transparent 2.6px);
        background-size: 20px 20px; }
.dots--lit { background-image: radial-gradient(circle, rgba(198, 244, 50, .55) 2px, transparent 2.6px); }
.wall--lit, .dots--lit {
  --spot: radial-gradient(circle var(--r) at var(--x) var(--y), #000 0, rgba(0, 0, 0, .85) 30%, transparent 100%);
  --hole: radial-gradient(ellipse 470px 330px at 50% 52%, transparent 0, transparent 55%, #000 100%);
  -webkit-mask-image: var(--spot), var(--hole); mask-image: var(--spot), var(--hole);
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.veil { position: absolute; inset: 0; pointer-events: none;
        background: radial-gradient(ellipse 58% 56% at 50% 52%, rgba(15, 16, 17, .97) 0, rgba(15, 16, 17, .9) 45%, rgba(15, 16, 17, .45) 75%, transparent 100%); }
.hero__copy { position: relative; max-width: 760px; padding: 0 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px; font-size: 13px; color: var(--text-2);
        border: 1px solid var(--line); background: color-mix(in srgb, var(--ink) 70%, transparent); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--gain); box-shadow: 0 0 10px var(--gain); }
h1 { margin-top: 20px; font-size: clamp(38px, 6vw, 68px); line-height: 1.02; font-weight: 800; font-stretch: 108%; letter-spacing: -.025em; }
h1 em { font-style: normal; color: var(--alpha); }
.lead { margin: 20px auto 0; max-width: 600px; font-size: 19px; color: var(--text-2); }
.cta { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.facts { display: flex; gap: 28px; justify-content: center; margin-top: 34px; flex-wrap: wrap; color: var(--text-3); font-size: 13px;
         letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.facts b { display: block; color: var(--text); font-size: 30px; letter-spacing: -.03em; margin-bottom: 2px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 84px 16px; }
.wrap--tight { padding-top: 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--alpha); }
h2 { margin-top: 10px; font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; font-stretch: 106%; letter-spacing: -.02em; line-height: 1.1; }
.sub { margin-top: 12px; color: var(--text-2); max-width: 640px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-top: 36px; }
.pcard { position: relative; overflow: hidden; padding: 22px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line);
         transition: border-color .2s, transform .2s; }
.pcard:hover { border-color: color-mix(in srgb, var(--alpha) 40%, var(--line)); transform: translateY(-2px); }
.pcard::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; opacity: .5;
                background-image: radial-gradient(circle, rgba(198, 244, 50, .35) 2px, transparent 2.6px); background-size: 16px 16px;
                -webkit-mask-image: radial-gradient(circle, #000, transparent 70%); mask-image: radial-gradient(circle, #000, transparent 70%); }
.pcard__top { display: flex; align-items: center; gap: 12px; }
.pcard__top img { width: 38px; height: 38px; border-radius: 50%; background: var(--ink-3); padding: 4px; }
.pcard__top b { font-size: 22px; font-weight: 800; font-stretch: 108%; }
.pcard__legs { margin-top: 12px; font-size: 14px; color: var(--text-2); }
.pcard__legs .l { color: var(--gain); font-weight: 700; }
.pcard__legs .s { color: var(--loss); font-weight: 700; }
.pcard__big { margin-top: 14px; font-size: 52px; line-height: 1; color: var(--gain); text-shadow: 0 0 26px rgba(31, 211, 127, .25); }
.pcard small { display: block; margin-top: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 700; }
.feat { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; margin-top: 36px; background: var(--line);
        border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.feat div { background: var(--ink); padding: 26px; }
.feat b { display: block; font-size: 18px; font-weight: 750; }
.feat p { margin-top: 8px; color: var(--text-2); font-size: 15px; }
.feat i { display: inline-block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .12em; padding: 3px 8px; border-radius: 99px;
          margin-left: 8px; color: var(--alpha); border: 1px solid color-mix(in srgb, var(--alpha) 40%, transparent); vertical-align: middle; }
.venues { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; padding: 0; list-style: none; }
.venues li { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.end { text-align: center; }
.end .sub { margin: 12px auto 0; }
footer { border-top: 1px solid var(--line); padding: 28px 16px; text-align: center; color: var(--text-3); font-size: 14px; }
@media (max-width: 720px) {
  .nav a:not(.btn) { display: none; }
  .wall { grid-template-columns: repeat(auto-fill, 74px); gap: 14px; }
  .wall--lit, .dots--lit { --hole: radial-gradient(ellipse 230px 300px at 50% 52%, transparent 0, transparent 55%, #000 100%); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .pcard { transition: none; } }
