/* OrbitX: black and quiet. White type, grey detail, mono numbers, a faint field of stars.
   The one warm colour is the SpaceX payout (used sparingly). */
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter.woff2) format("woff2-variations"), url(/assets/fonts/inter.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 100 800; src: url(/assets/fonts/jbmono.woff2) format("woff2-variations"), url(/assets/fonts/jbmono.woff2) format("woff2"); }

:root {
  color-scheme: dark;
  --bg: #000; --bg-1: #060607; --bg-2: #0b0b0d; --bg-3: #121215;
  --line: #1d1d21; --line-2: #2b2b31;
  --text: #f5f5f6; --soft: #c9c9cf; --mute: #8e8e96; --dim: #5a5a62;
  --warm: #ffb36b; --ok: #4ade80; --bad: #ff5d6c;
  --r-s: 8px; --r-m: 12px; --r-l: 18px; --wrap: 1200px;
  --f: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--f); font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: "cv11" 1, "ss01" 1, "tnum" 1; overflow-x: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 6px; }
::selection { background: rgba(255, 255, 255, .22); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 640px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }
.preview-note { position: relative; z-index: 3; background: var(--bg-2); color: var(--mute); font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; text-align: center; padding: 7px 16px; border-bottom: 1px solid var(--line); }

/* background: faint stars that light up, now and then a streak (bg.js) */
.bgfield { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bgfield canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
header.top, main, footer.foot { position: relative; z-index: 1; }

/* type */
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.02em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.035em; text-wrap: balance; }
h3 { font-size: 17px; line-height: 1.3; }
.h1 { display: grid; font-size: clamp(34px, 4.5vw, 66px); line-height: 1.0; letter-spacing: -0.05em; font-weight: 600; margin: 0; }
.h1 > span { white-space: nowrap; }
@media (max-width: 880px) { .h1 { font-size: min(8.4vw, 60px); } }
.h1 .h1-2 { background: linear-gradient(180deg, #a6a6ae, #5f5f67); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.dim { color: var(--dim); } .mute { color: var(--mute); } .warm { color: var(--warm); }
.lead { font-size: clamp(16px, 1.35vw, 18px); color: var(--mute); max-width: 33em; margin: 0; line-height: 1.6; }
.lead b { color: var(--soft); font-weight: 500; }
.label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 0; }
.num, .m { font-family: var(--mono); font-weight: 500; letter-spacing: -0.02em; }
.live-dot { display: inline-block; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: livedot 2.2s infinite; margin-right: 9px; vertical-align: middle; }
.live-dot.wait { background: var(--dim); animation: none; }
.live-dot.warn { background: var(--warm); animation: none; }
@keyframes livedot { 0% { box-shadow: 0 0 0 0 rgba(74, 222, 128, .5); } 70% { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-weight: 500; font-size: 15px; letter-spacing: -0.01em; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, color .2s, transform .15s var(--ease); }
.btn:hover { border-color: #4a4a52; background: rgba(255, 255, 255, .04); }
.btn:active { transform: scale(.98); }
.btn.white { background: #fff; color: #000; border-color: #fff; }
.btn.white:hover { background: #e6e6ea; }
.btn.sm { min-height: 36px; padding: 0 16px; font-size: 14px; }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; }
.btn:disabled { opacity: .5; cursor: default; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12.5px; color: var(--soft); cursor: pointer; background: transparent; }
.chip:hover { border-color: #4a4a52; }

/* header */
header.top { border-bottom: 1px solid transparent; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.l { color: var(--mute); padding: 8px 12px; border-radius: 999px; font-size: 14.5px; }
.nav a.l:hover, .nav a.l[aria-current="page"] { color: var(--text); }
.nav a.x { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; color: var(--mute); }
.nav a.x:hover { color: var(--text); }
@media (max-width: 720px) { .nav a.l.hide-s { display: none; } .nav .btn { padding: 0 14px; } }

/* hero */
.hero { position: relative; padding: clamp(36px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 26px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hero-art { position: relative; aspect-ratio: 1 / .78; }
.hero-art svg { width: 100%; height: 100%; overflow: visible; }
.hero-art .halo { position: absolute; inset: 12% 10%; background: radial-gradient(closest-side, rgba(255, 255, 255, .07), transparent); filter: blur(10px); }
@media (max-width: 880px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { order: -1; max-width: 520px; width: 100%; margin: 0 auto -10px; } }

/* sections */
.sec { padding: clamp(48px, 7vw, 96px) 0; border-top: 1px solid var(--line); }
.sec-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-top p { margin: 10px 0 0; color: var(--mute); max-width: 40em; }

/* the next payout */
.next { border: 1px solid var(--line-2); border-radius: var(--r-l); background: linear-gradient(180deg, rgba(18, 18, 21, .9), rgba(6, 6, 7, .9)); padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; }
.next-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--mute); font-size: 14px; }
.next-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: end; }
.count { font-family: var(--mono); font-weight: 500; font-size: clamp(56px, 9vw, 112px); line-height: .95; letter-spacing: -0.05em; }
.count small { font-size: .32em; color: var(--dim); letter-spacing: -0.01em; margin-left: .3em; }
.bar { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: #fff; border-radius: 4px; transition: width 1s linear; }
.est { display: grid; gap: 4px; justify-items: end; text-align: right; }
.est .big { font-size: clamp(26px, 3.2vw, 38px); font-weight: 600; letter-spacing: -0.03em; }
.est .big .warm { font-family: var(--mono); font-weight: 500; }
.est .sm { color: var(--mute); font-size: 14px; }
@media (max-width: 760px) { .next-main { grid-template-columns: 1fr; } .est { justify-items: start; text-align: left; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; }
.stat { padding: 20px 22px; border-right: 1px solid var(--line); background: rgba(6, 6, 7, .7); }
.stat:last-child { border-right: 0; }
.stat .v { font-family: var(--mono); font-size: clamp(20px, 2.4vw, 28px); font-weight: 500; letter-spacing: -0.03em; }
.stat .k { color: var(--mute); font-size: 13.5px; margin-top: 2px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* cards */
.grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }
.card { border: 1px solid var(--line); border-radius: var(--r-l); background: rgba(6, 6, 7, .75); padding: 22px; }
.card .t { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.card .t b { font-weight: 600; font-size: 16px; }
.card .t span { color: var(--mute); font-size: 13.5px; }
.rows { display: grid; }
.rows .r { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.rows .r:first-child { border-top: 0; }
.rows .r span:first-child { color: var(--mute); }
.rows .r a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.rows .r a:hover { text-decoration-color: var(--mute); }
.empty { color: var(--mute); font-size: 14.5px; margin: 0; }
.lookup { display: flex; gap: 10px; }
.lookup input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); font-family: var(--mono); font-size: 13.5px; outline: none; }
.lookup input:focus { border-color: #5a5a62; }
.result { margin-top: 16px; }
.result .ok { color: var(--ok); } .result .no { color: var(--warm); }
@media (max-width: 520px) { .lookup { flex-direction: column; } .lookup input { flex: none; width: 100%; } }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; background: rgba(6, 6, 7, .75); display: grid; gap: 10px; align-content: start; }
.step .n { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.step p { margin: 0; color: var(--mute); }
.step a { color: var(--soft); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* about the asset */
.asset { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; border: 1px solid var(--line); border-radius: var(--r-l); padding: 24px; background: rgba(6, 6, 7, .75); }
.asset p { margin: 6px 0 0; color: var(--mute); max-width: 46em; }
.asset .px { font-family: var(--mono); font-size: 28px; font-weight: 500; letter-spacing: -0.03em; text-align: right; }
.asset .px small { display: block; font-family: var(--f); font-size: 13px; color: var(--mute); letter-spacing: 0; }
@media (max-width: 640px) { .asset { grid-template-columns: 1fr; } .asset .px { text-align: left; } }

/* payouts page */
.plist { display: grid; gap: 12px; }
.pitem { border: 1px solid var(--line); border-radius: var(--r-l); padding: 18px 20px; background: rgba(6, 6, 7, .75); display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.pitem .no { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.pitem .no b { display: block; color: var(--text); font-size: 18px; font-weight: 500; }
.pitem .what { font-size: 14.5px; }
.pitem .what .mute { font-size: 13.5px; }
.pitem .txs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: end; max-width: 360px; }
.pitem .txs a { font-family: var(--mono); font-size: 12px; color: var(--mute); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 9px; }
.pitem .txs a:hover { color: var(--text); border-color: #4a4a52; }
@media (max-width: 760px) { .pitem { grid-template-columns: 1fr; } .pitem .txs { justify-content: start; } }

/* docs */
.doc { max-width: 760px; }
.doc h2 { font-size: clamp(24px, 2.6vw, 32px); margin: 48px 0 12px; scroll-margin-top: 20px; }
.doc h2:first-of-type { margin-top: 8px; }
.doc p, .doc li { color: var(--soft); }
.doc ul { padding-left: 20px; }
.doc code { font-family: var(--mono); font-size: 13px; background: var(--bg-3); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.doc a { text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

/* owner */
.owner { max-width: 640px; margin: 0 auto; display: grid; gap: 16px; }
.owner .card p { color: var(--mute); margin: 0 0 14px; }
.owner .status { font-size: 15px; margin: 0 0 16px; }

/* footer */
footer.foot { border-top: 1px solid var(--line); padding: 34px 0 calc(34px + env(safe-area-inset-bottom, 0px)); color: var(--mute); font-size: 13.5px; }
footer.foot .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.foot .links { display: flex; gap: 18px; flex-wrap: wrap; }
footer.foot a:hover { color: var(--text); }
footer.foot .fine { width: 100%; color: var(--dim); font-size: 12.5px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; background: #fff; color: #000; border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 500; transition: all .25s var(--ease); z-index: 50; pointer-events: none; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
