:root {
  --ink: #f5f2f8;
  --muted: #b7afc2;
  --subtle: #8d849b;
  --line: #342d3e;
  --panel: #151219;
  --panel-raised: #1d1724;
  --violet: #8b5cf6;
  --violet-bright: #b794ff;
  --lime: #d7ff37;
  --page: #0b0a0e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.page-shell { min-height: 100vh; overflow: hidden; }
.topbar { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 22px clamp(20px, 5vw, 76px); }
.brand { align-items: center; display: inline-flex; font-size: 17px; font-weight: 700; gap: 11px; letter-spacing: -.03em; }
.brand-mark, .footer-mark { align-items: center; background: var(--violet); border-radius: 9px; color: #160c2d; display: inline-flex; font-size: 12px; font-weight: 900; height: 30px; justify-content: center; letter-spacing: -.06em; width: 30px; }
.topbar-meta { align-items: center; color: var(--muted); display: flex; font-size: 14px; gap: 9px; }
.live-dot { background: var(--lime); border-radius: 999px; box-shadow: 0 0 14px var(--lime); height: 8px; width: 8px; }
main { margin: 0 auto; max-width: 1500px; padding: 0 clamp(20px, 5vw, 76px); }
.hero { align-items: end; border-bottom: 1px solid var(--line); display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr) 260px; min-height: 620px; padding: clamp(72px, 10vw, 150px) 0 clamp(66px, 9vw, 120px); }
.eyebrow { color: var(--subtle); font-size: 13px; font-weight: 700; letter-spacing: .2em; margin: 0 0 28px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(64px, 10vw, 156px); font-weight: 650; letter-spacing: -.095em; line-height: .84; margin-bottom: 48px; max-width: 900px; }
h1 em, h2 em { color: var(--violet-bright); font-style: normal; }
.hero-note { color: var(--muted); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.42; max-width: 610px; }
.hero-aside { border-left: 1px solid var(--line); padding: 0 0 5px 30px; }
.signal-card { display: grid; gap: 5px; margin-bottom: 48px; }
.signal-label, .card-reward > span:first-child { color: var(--subtle); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.signal-card strong { color: var(--lime); font-size: 80px; letter-spacing: -.09em; line-height: .9; }
.signal-card span:last-child, .hero-aside > p { color: var(--muted); font-size: 15px; }
.hero-aside > p { line-height: 1.5; }
.hero-aside > p strong { color: var(--ink); font-size: 18px; }
.radar { padding: clamp(72px, 10vw, 140px) 0; }
.section-heading { align-items: end; display: flex; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-heading .eyebrow { margin-bottom: 18px; }
h2 { font-size: clamp(40px, 5.5vw, 82px); font-weight: 600; letter-spacing: -.08em; line-height: .94; margin-bottom: 0; max-width: 720px; }
.text-button { background: transparent; border: 0; border-bottom: 1px solid var(--violet); cursor: pointer; font-size: 16px; padding: 0 0 8px; white-space: nowrap; }
.text-button span, .source-link span { color: var(--violet-bright); }
.controls { align-items: center; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; padding: 18px 0; }
.search-wrap { align-items: center; color: var(--muted); display: flex; flex: 1; gap: 10px; max-width: 520px; }
.search-wrap input { background: transparent; border: 0; color: var(--ink); min-width: 0; outline: 0; width: 100%; }
.search-wrap input::placeholder { color: var(--subtle); }
.search-wrap > span:last-child { font-size: 24px; }
.filter-group { display: flex; gap: 6px; overflow-x: auto; }
.filter-button { background: transparent; border: 1px solid transparent; border-radius: 999px; color: var(--muted); cursor: pointer; font-size: 14px; padding: 10px 14px; white-space: nowrap; }
.filter-button:hover, .filter-button.is-active { background: var(--panel-raised); border-color: var(--line); color: var(--ink); }
.status-message { color: var(--subtle); font-size: 14px; min-height: 56px; padding: 21px 0 10px; }
.bounty-grid { display: grid; gap: 14px; }
.bounty-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 24px clamp(20px, 3vw, 42px) 20px; transition: border-color .25s ease, transform .25s ease, background .25s ease; }
.bounty-card:hover { background: var(--panel-raised); border-color: #685188; transform: translateY(-3px); }
.bounty-card.is-featured { border-color: #7852bd; background: linear-gradient(110deg, #241739 0%, var(--panel) 52%); }
.card-topline, .card-bottomline, .card-content { align-items: center; display: flex; justify-content: space-between; gap: 20px; }
.card-topline { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.card-index { color: var(--violet-bright); font-size: 14px; font-weight: 800; }
.bounty-type, .sponsor { color: var(--muted); font-size: 14px; }
.bounty-type { margin-right: auto; }
.save-button { background: transparent; border: 0; color: var(--muted); cursor: pointer; font-size: 14px; padding: 4px 0; }
.save-button:hover, .save-button.is-saved { color: var(--lime); }
.card-content { align-items: end; padding: 29px 0 35px; }
.card-copy { max-width: 760px; }
.sponsor { margin-bottom: 16px; }
.sponsor span { color: var(--violet-bright); padding: 0 5px; }
h3 { font-size: clamp(25px, 3vw, 43px); font-weight: 550; letter-spacing: -.06em; line-height: 1; margin-bottom: 16px; }
.summary { color: var(--muted); font-size: 16px; line-height: 1.45; margin-bottom: 0; max-width: 620px; }
.card-reward { display: grid; gap: 7px; min-width: 190px; text-align: right; }
.card-reward strong { color: var(--lime); font-size: clamp(24px, 2.7vw, 38px); letter-spacing: -.07em; white-space: nowrap; }
.deadline { color: var(--muted); font-size: 15px; }
.card-bottomline { border-top: 1px solid var(--line); padding-top: 19px; }
.skill-list { display: flex; flex-wrap: wrap; gap: 7px; }
.skill-list span { border: 1px solid #51445f; border-radius: 999px; color: var(--muted); font-size: 14px; padding: 7px 10px; }
.source-link { color: var(--ink); font-size: 15px; white-space: nowrap; }
.source-link:hover { color: var(--violet-bright); }
.workflow { border-top: 1px solid var(--line); padding: clamp(72px, 9vw, 130px) 0; }
.workflow-grid { display: grid; gap: 60px; grid-template-columns: minmax(0, .9fr) minmax(300px, 1fr); }
.workflow-grid h2 { max-width: 560px; }
.workflow-steps { border-top: 1px solid var(--line); }
.workflow-steps > div { border-bottom: 1px solid var(--line); display: grid; gap: 12px 20px; grid-template-columns: 38px 1fr; padding: 24px 0; }
.workflow-steps span { color: var(--violet-bright); font-size: 14px; font-weight: 800; }
.workflow-steps strong { font-size: 19px; font-weight: 600; }
.workflow-steps p { color: var(--muted); font-size: 15px; grid-column: 2; line-height: 1.45; margin: 0; max-width: 480px; }
.footer { align-items: end; background: var(--violet); color: #160c2d; display: grid; gap: 30px; grid-template-columns: 1fr auto auto; padding: 38px clamp(20px, 5vw, 76px); }
.footer-mark { background: #160c2d; color: var(--violet-bright); margin-bottom: 15px; }
.footer p { font-size: 18px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; margin-bottom: 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: 15px; font-weight: 650; }
.footer-links a:hover { text-decoration: underline; }
.footer small { font-size: 14px; }
.sr-only { height: 1px; margin: -1px; overflow: hidden; position: absolute; width: 1px; clip: rect(0, 0, 0, 0); }
.stats-hero { border-bottom: 1px solid var(--line); padding: clamp(72px, 10vw, 150px) 0 clamp(66px, 9vw, 120px); }
.stats-hero h1 { margin-bottom: 36px; }
.stats-section { padding: clamp(72px, 9vw, 130px) 0; }
.stats-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 14px; }
.stat-panel, .path-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 28px clamp(20px, 3vw, 42px); }
.stat-panel { display: grid; gap: 28px; min-height: 190px; }
.stat-panel span, .path-heading { color: var(--muted); font-size: 15px; }
.stat-panel strong { color: var(--lime); font-size: clamp(54px, 8vw, 100px); letter-spacing: -.09em; line-height: .9; }
.path-heading, .path-row { align-items: center; display: flex; justify-content: space-between; }
.path-heading { border-bottom: 1px solid var(--line); padding-bottom: 15px; }
.path-row { border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; padding: 18px 0; }
.path-row:last-child { border-bottom: 0; }
.path-row strong { color: var(--violet-bright); }

@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-panel { min-height: 160px; }
}

@media (max-width: 800px) {
  .topbar-meta { font-size: 13px; }
  .hero { align-items: start; grid-template-columns: 1fr; min-height: auto; padding-bottom: 72px; }
  .hero-aside { border-left: 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; padding: 24px 0 0; }
  .signal-card { margin-bottom: 0; }
  .signal-card strong { font-size: 64px; }
  .section-heading { align-items: start; flex-direction: column; }
  .controls { align-items: stretch; flex-direction: column; }
  .search-wrap { max-width: none; }
  .card-content { align-items: start; flex-direction: column; }
  .card-reward { text-align: left; }
  .card-bottomline { align-items: start; flex-direction: column; }
  .source-link { white-space: normal; }
  .workflow-grid { grid-template-columns: 1fr; }
  .footer { align-items: start; grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .topbar { padding: 17px 18px; }
  .topbar-meta { font-size: 0; }
  .topbar-meta .live-dot { height: 9px; width: 9px; }
  main { padding: 0 18px; }
  .eyebrow { font-size: 12px; letter-spacing: .15em; }
  h1 { font-size: clamp(60px, 18vw, 92px); }
  h2 { font-size: 46px; }
  .bounty-card { border-radius: 16px; padding-left: 18px; padding-right: 18px; }
  .card-topline { gap: 12px; }
  .skill-list span { font-size: 13px; }
}
