:root {
  --bg: #070d16;
  --panel: #0d1622;
  --panel-2: #101c2a;
  --line: #223142;
  --line-soft: rgba(114, 151, 175, .18);
  --text: #edf8fb;
  --muted: #7e919f;
  --cyan: #65e7f5;
  --mint: #9af7cc;
  --lime: #d8ff72;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; overflow-x: hidden; }
button, input { font: inherit; }
button, a { color: inherit; }
a { text-decoration: none; }
button { cursor: pointer; }

.scanlines { position: fixed; inset: 0; z-index: 20; pointer-events: none; opacity: .16; background-image: linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px); background-size: 100% 5px; }
.site-header, main, .site-footer { width: min(1480px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 14px; font-weight: 800; letter-spacing: .16em; }
.brand-mark { width: 27px; height: 24px; position: relative; display: inline-block; }
.brand-mark i { position: absolute; width: 15px; height: 18px; border: 2px solid var(--cyan); transform: skewY(-25deg) rotate(45deg); }
.brand-mark i:first-child { left: 1px; top: 2px; border-right: 0; }
.brand-mark i:last-child { right: 0; bottom: 0; border-left: 0; opacity: .55; }
.nav { display: flex; align-items: center; height: 100%; gap: 34px; color: #8fa1ae; font-size: 12px; }
.nav a { height: 100%; display: grid; place-items: center; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--cyan); transform: scaleX(0); transition: transform .2s ease; }
.nav a:hover, .nav a.active { color: var(--text); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.wallet-button { justify-self: end; min-height: 42px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border: 1px solid #2d4558; background: #0d1926; font-size: 12px; font-weight: 700; }
.wallet-button:hover { border-color: var(--cyan); }
.status-dot, .live-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px rgba(101,231,245,.75); }

.hero { min-height: 790px; position: relative; overflow: hidden; display: grid; align-items: center; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px); background-size: 58px 58px; mask-image: linear-gradient(to right, black, transparent 70%); opacity: .24; }
.hero-art { position: absolute; inset: 0 0 0 34%; overflow: hidden; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 0%, rgba(7,13,22,.68) 13%, rgba(7,13,22,.08) 43%, transparent 76%), linear-gradient(0deg, var(--bg), transparent 24%); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 63% center; filter: brightness(1.35) saturate(.82) contrast(1.04); }
.hero-copy { width: min(610px, 49%); position: relative; z-index: 2; padding: 0 0 120px 52px; }
.eyebrow { margin: 0 0 25px; color: #8498a7; font-size: 11px; font-weight: 700; letter-spacing: .12em; }
.eyebrow span { margin-right: 12px; color: var(--cyan); }
h1, h2, h3, p { letter-spacing: 0; }
h1 { max-width: 700px; margin: 0; font-size: clamp(58px, 6.2vw, 96px); line-height: .93; font-weight: 530; }
h1 em { color: var(--cyan); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero-lede { max-width: 535px; margin: 30px 0 34px; color: #a1b0ba; font-size: 18px; line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 28px; }
.primary-button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 0 21px; border: 0; background: var(--cyan); color: #051118; font-size: 12px; font-weight: 800; transition: transform .2s ease, background .2s ease; }
.primary-button:hover { transform: translateY(-2px); background: #91f2fb; }
.primary-button:active { transform: translateY(1px); }
.text-button { padding: 12px 0; border: 0; background: transparent; color: #a9b7c1; font-size: 12px; }
.text-button span { margin-left: 10px; color: var(--cyan); }
.season-panel { position: absolute; z-index: 3; left: 52px; right: 52px; bottom: 36px; padding: 18px 20px 17px; border: 1px solid rgba(101,231,245,.22); background: rgba(8,17,27,.78); backdrop-filter: blur(16px); }
.season-head { display: flex; justify-content: space-between; margin-bottom: 12px; color: #8ca0af; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.season-head strong { color: var(--lime); }
.progress-track { height: 2px; background: #263645; }
.progress-track i { height: 100%; display: block; background: var(--cyan); box-shadow: 0 0 12px rgba(101,231,245,.65); }
.season-panel dl { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0 0; }
.season-panel dl div { display: grid; gap: 4px; padding-left: 18px; border-left: 1px solid var(--line); }
.season-panel dt { color: #778a99; font-size: 10px; }
.season-panel dd { margin: 0; font-size: 18px; font-weight: 650; }

.metric-band { min-height: 126px; display: grid; grid-template-columns: 1.1fr repeat(3, 1fr); border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-band > * { margin: 0; display: flex; align-items: center; padding: 24px 30px; border-right: 1px solid var(--line); }
.metric-band > *:last-child { border-right: 0; }
.metric-band > p { gap: 10px; color: #8ba0af; font-size: 10px; letter-spacing: .11em; }
.metric-band > div { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; }
.metric-band span { color: #728594; font-size: 10px; grid-column: 1 / -1; }
.metric-band strong { font-size: 26px; font-weight: 550; }
.metric-band small { align-self: end; color: var(--mint); font-size: 10px; }

.section { padding: 120px 0; border-inline: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr .7fr; align-items: end; gap: 60px; padding: 0 52px 62px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 5vw, 70px); font-weight: 500; }
.section-heading > p { max-width: 540px; margin: 0; color: #8497a5; font-size: 16px; line-height: 1.55; }
.mission-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.mission-card { min-height: 390px; position: relative; display: flex; flex-direction: column; padding: 28px; border-right: 1px solid var(--line); background: rgba(10,18,28,.48); transition: background .22s ease, transform .22s ease; }
.mission-card:last-child { border-right: 0; }
.mission-card:hover { background: #101d2a; transform: translateY(-4px); }
.mission-card.featured { background: #0f2130; }
.mission-index { color: #667a88; font-size: 10px; }
.mission-icon { width: 48px; height: 48px; display: grid; place-items: center; margin: 64px 0 34px; border: 1px solid #315066; color: var(--cyan); font-size: 24px; }
.mission-card h3 { max-width: 260px; margin: 0 0 16px; font-size: 23px; font-weight: 550; }
.mission-card p { margin: 0; color: #7e909d; font-size: 13px; line-height: 1.55; }
.mission-meta { display: flex; justify-content: space-between; margin-top: auto; padding-top: 28px; color: var(--mint); font-size: 10px; }
.mission-meta i { color: #7b8c98; font-style: normal; }
.mini-track { height: 2px; margin-top: 13px; background: #263744; }
.mini-track span { height: 100%; display: block; background: var(--cyan); }

.section-heading.compact { align-items: center; padding-bottom: 42px; }
.filter-tabs { justify-self: end; display: flex; border: 1px solid var(--line); }
.filter-tabs button { min-width: 86px; min-height: 40px; border: 0; border-right: 1px solid var(--line); background: transparent; color: #7d909e; font-size: 11px; }
.filter-tabs button:last-child { border-right: 0; }
.filter-tabs button.active { background: var(--cyan); color: #071018; }
.agent-table { border-top: 1px solid var(--line); }
.agent-row { min-height: 92px; display: grid; grid-template-columns: 2fr .8fr .9fr .8fr .65fr; align-items: center; gap: 20px; padding: 0 32px; border-bottom: 1px solid var(--line); }
.agent-row:last-child { border-bottom: 0; }
.agent-row:not(.table-head):hover { background: #0d1824; }
.table-head { min-height: 50px; color: #687c8b; font-size: 9px; text-transform: uppercase; letter-spacing: .11em; }
.agent-name { display: flex; align-items: center; gap: 16px; }
.agent-name > div { display: grid; gap: 3px; }
.agent-name strong { font-size: 13px; }
.agent-name small { color: #728492; font-size: 10px; }
.agent-avatar { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid currentColor; font-family: Georgia, serif; font-size: 19px; }
.agent-avatar.cyan { color: var(--cyan); background: rgba(101,231,245,.07); }
.agent-avatar.mint { color: var(--mint); background: rgba(154,247,204,.07); }
.agent-avatar.white { color: #e7f0f3; background: rgba(255,255,255,.04); }
.agent-avatar.blue { color: #76aaff; background: rgba(118,170,255,.07); }
.signal { color: #98aab6; font-size: 12px; }.signal.up { color: var(--mint); }
.agent-row > strong, .agent-row > span { font-size: 12px; }
.agent-row > button { justify-self: start; padding: 9px 0; border: 0; background: transparent; color: var(--cyan); font-size: 11px; }
.agent-row[hidden] { display: none; }

.site-footer { min-height: 190px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-inline: 1px solid var(--line); padding: 40px 52px; color: #728594; font-size: 11px; }
.site-footer p { margin: 0; }.site-footer nav { justify-self: end; display: flex; gap: 24px; }
.site-footer a:hover { color: var(--cyan); }

.toast[hidden] { display: none; }
.toast { position: fixed; z-index: 60; right: 22px; bottom: 22px; max-width: 320px; padding: 14px 18px; border: 1px solid #315066; background: #0b1722; color: #a8bac5; font-size: 12px; }

@media (max-width: 1000px) {
  .site-header { grid-template-columns: 1fr auto; }.nav { display: none; }
  .hero-art { left: 23%; opacity: .66; }.hero-copy { width: 64%; }
  .mission-grid { grid-template-columns: repeat(2, 1fr); }.mission-card:nth-child(2) { border-right: 0; }.mission-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .metric-band { grid-template-columns: repeat(3,1fr); }.metric-band > p { grid-column: 1/-1; min-height: 58px; border-bottom: 1px solid var(--line); border-right: 0; }
  .agent-row { grid-template-columns: 1.8fr .8fr .9fr .6fr; }.agent-row > :nth-child(4) { display:none; }.table-head > :nth-child(4) { display:none; }
}

@media (max-width: 640px) {
  .site-header, main, .site-footer { width: calc(100% - 24px); }.site-header { height: 68px; }.brand { font-size: 12px; }.wallet-button { min-height: 38px; padding-inline: 11px; font-size: 10px; }
  .hero { min-height: 790px; align-items: start; }.hero-art { inset: 250px -180px 0 0; opacity: .62; }.hero-art::after { background: linear-gradient(180deg, var(--bg) 0%, rgba(7,13,22,.35) 28%, rgba(7,13,22,.12)), linear-gradient(0deg, var(--bg), transparent 34%); }
  .hero-copy { width: 100%; padding: 72px 22px 0; }.eyebrow { font-size: 9px; }h1 { font-size: 54px; }.hero-lede { font-size: 15px; }.hero-actions { gap: 18px; }
  .season-panel { left: 18px; right: 18px; bottom: 22px; }.season-panel dl { grid-template-columns: 1fr 1fr; }.season-panel dl div:last-child { display:none; }
  .metric-band { grid-template-columns: 1fr; }.metric-band > div { border-right: 0; border-bottom: 1px solid var(--line); }.metric-band > div:last-child { border-bottom: 0; }
  .section { padding: 82px 0; }.section-heading { grid-template-columns: 1fr; gap: 22px; padding: 0 22px 42px; }.section-heading h2 { font-size: 44px; }
  .mission-grid { grid-template-columns: 1fr; }.mission-card { min-height: 350px; border-right: 0; border-bottom: 1px solid var(--line); }.mission-card:last-child { border-bottom: 0; }.mission-icon { margin-top: 48px; }
  .section-heading.compact { align-items: start; }.filter-tabs { justify-self: start; }.filter-tabs button { min-width: 72px; }
  .agent-row { grid-template-columns: 1.7fr .7fr .6fr; gap: 10px; padding: 0 14px; }.agent-row > :nth-child(3), .table-head > :nth-child(3) { display:none; }.agent-avatar { width: 40px; height: 40px; }.agent-name { gap: 10px; }
  .site-footer { min-height: 230px; grid-template-columns: 1fr; gap: 22px; padding: 42px 22px; }.site-footer nav { justify-self: start; }
}
