/* zecpons — editorial light system in the seranox register: paper white, one ink, hairline strokes,
   pill buttons, a dark band for the argument, mono for every figure. One accent — Zcash gold — and
   it only ever marks something live or something worth money. */
:root {
  --paper: #fefefe;
  --paper-2: #f7f7f6;
  --paper-3: #f1f1ef;
  --ink: #151515;
  --ink-2: #232323;
  --mute: #6f6f6f;
  --mute-2: #9a9a9a;
  --stroke: #e9e9e7;
  --stroke-2: #d9d9d6;
  --dark: #151515;
  --dark-2: #1d1d1d;
  --dark-stroke: #2a2a2a;
  --gold: #f4b728;
  --gold-deep: #b8860b;
  --live: #22c55e;
  --red: #ef4444;
  --ff: "Inter", -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  --ff-d: "Inter Tight", var(--ff);
  --ff-m: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --r: 12px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink-2); font: 16px/1.6 var(--ff); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
code, .mono { font-family: var(--ff-m); }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------------- announcement bar ---------------- */
.ann { background: var(--dark); color: #fefefe; border-bottom: 1px solid var(--dark-stroke); font-size: 13.5px; }
.ann-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 42px; display: flex; align-items: center; gap: 14px; }
.ann .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: ping 2.2s infinite; }
.ann .dot.gold { background: var(--gold); box-shadow: 0 0 0 0 rgba(244, 183, 40, .6); }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55) } 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0) } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0) } }
.ann b { font-weight: 600; }
.ann .ca { display: inline-flex; align-items: center; gap: 8px; margin-left: 4px; }
.ann .ca code { background: var(--dark-2); border: 1px solid var(--dark-stroke); border-radius: 6px; padding: 4px 9px; font-size: 12px; color: #e5e5e5; }
.ann .ca button { background: none; border: 0; color: #bdbdbd; cursor: pointer; font-size: 12px; padding: 4px 6px; border-radius: 6px; transition: color .15s, background .15s; }
.ann .ca button:hover { color: #fff; background: var(--dark-2); }
.ann .sp { flex: 1; }
.ann .pill { border: 1px solid #3a3a3a; color: #fff; background: transparent; }   /* .pill is white by default: on the ink bar it must be hollow */
.ann .pill:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------------- header ---------------- */
.top { position: sticky; top: 0; z-index: 50; background: rgba(254, 254, 254, .82); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--stroke); }
.top-in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 10px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-d); font-weight: 700; font-size: 19px; letter-spacing: -.03em; color: var(--ink); }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav { display: flex; gap: 2px; margin-left: 18px; }
.nav button { background: none; border: 0; font: 500 14px/1 var(--ff); color: var(--mute); padding: 9px 12px; border-radius: 999px; cursor: pointer; transition: color .15s, background .15s; }
.nav button:hover { color: var(--ink); background: var(--paper-3); }
.nav button.active { color: var(--ink); background: var(--paper-3); }
.sp { flex: 1; }

.pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font: 500 13.5px/1 var(--ff); border: 1px solid var(--stroke-2); background: #fff; color: var(--ink); cursor: pointer; transition: transform .18s var(--ease), background .18s, color .18s, border-color .18s, box-shadow .18s; white-space: nowrap; }
.pill:hover { transform: translateY(-1px); border-color: var(--ink); }
.pill.ink { background: var(--ink); color: #fefefe; border-color: var(--ink); }
.pill.ink:hover { background: #000; box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .55); }
.pill.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.pill.gold:hover { background: #ffc73a; }
.pill.sm { height: 34px; padding: 0 13px; font-size: 12.5px; }
.pill:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.pill .arr { transition: transform .18s var(--ease); }
.pill:hover .arr { transform: translateX(3px); }

/* ---------------- hero ---------------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
h1 { font-family: var(--ff-d); font-weight: 700; font-size: clamp(42px, 5.6vw, 68px); line-height: 1.03; letter-spacing: -.035em; color: var(--ink); margin: 0; }
.rot { display: inline-grid; align-items: baseline; vertical-align: baseline; }
.rot .ghost { visibility: hidden; grid-area: 1/1; white-space: nowrap; }
.rot .live { grid-area: 1/1; white-space: nowrap; display: inline-flex; color: var(--gold-deep); }
/* a cell is a one-slot grid so the leaving and arriving glyphs stack in the same place */
.rot .ch { display: inline-grid; overflow: hidden; padding: .12em 0; margin: -.12em 0; }
.rot .ch i { grid-area: 1 / 1; display: inline-block; font-style: normal; transform: translateY(110%); opacity: 0; transition: transform .34s var(--ease), opacity .3s var(--ease); will-change: transform; }
.rot .ch i.in { transform: translateY(0); opacity: 1; }
.rot .ch i.out { transform: translateY(-110%); opacity: 0; }
.lede { font-size: 18px; color: var(--mute); max-width: 560px; margin: 22px 0 0; line-height: 1.55; }
.lede b { color: var(--ink); font-weight: 600; }
.cta { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 13px; color: var(--mute); }
.trust span::before { content: "✓"; color: var(--live); margin-right: 7px; font-weight: 700; }

/* the console: a dark card that is the actual dashboard, not a screenshot of one */
.console { background: var(--dark); color: #e9e9e9; border-radius: 14px; border: 1px solid var(--dark-stroke); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5), 0 1px 0 rgba(255, 255, 255, .06) inset; overflow: hidden; transform: perspective(1200px) rotateY(-4deg) rotateX(2deg); transition: transform .6s var(--ease); }
.console:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.con-top { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-bottom: 1px solid var(--dark-stroke); font-family: var(--ff-m); font-size: 11px; color: #9a9a9a; }
.con-top .lights { display: flex; gap: 5px; margin-right: 6px; }
.con-top .lights i { width: 9px; height: 9px; border-radius: 50%; background: #333; }
.con-top .lights i:nth-child(1) { background: #ff5f57 } .con-top .lights i:nth-child(2) { background: #febc2e } .con-top .lights i:nth-child(3) { background: #28c840 }
.con-top .st { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.con-top .st i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3 } }
.tape { overflow: hidden; border-bottom: 1px solid var(--dark-stroke); background: #111; }
.tape-in { display: flex; gap: 0; width: max-content; animation: marquee 34s linear infinite; }
.tape:hover .tape-in { animation-play-state: paused; }
.tape span { padding: 8px 16px; font-family: var(--ff-m); font-size: 11.5px; color: #cfcfcf; border-right: 1px solid var(--dark-stroke); white-space: nowrap; }
.tape b { font-weight: 600; color: #fff; }
.tape .up { color: #4ade80 } .tape .dn { color: #f87171 } .tape .au { color: var(--gold) }
@keyframes marquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
.con-body { padding: 14px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.chart { position: relative; height: 176px; border: 1px solid var(--dark-stroke); border-radius: 10px; background: #101010; overflow: hidden; }
.chart canvas { display: block; width: 100%; height: 100%; }
.chart .lab { position: absolute; left: 10px; top: 8px; font-family: var(--ff-m); font-size: 10.5px; color: #9a9a9a; }
.chart .lab b { color: #fff; font-weight: 600; }
.chart .px { position: absolute; right: 10px; top: 8px; font-family: var(--ff-m); font-size: 14px; color: var(--gold); font-weight: 600; }
.con-figs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cf { border: 1px solid var(--dark-stroke); border-radius: 10px; padding: 10px 11px; background: #101010; }
.cf .k { font-family: var(--ff-m); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: #8a8a8a; display: block; }
.cf .v { font-family: var(--ff-m); font-size: 14px; font-weight: 600; color: #fff; margin-top: 5px; display: block; letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf .v.au { color: var(--gold) } .cf .v.gr { color: #4ade80 }
.con-foot { border-top: 1px solid var(--dark-stroke); padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-family: var(--ff-m); font-size: 11px; color: #9a9a9a; }
.con-foot .meter { flex: 1; height: 5px; background: #222; border-radius: 999px; overflow: hidden; }
.con-foot .meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); transition: width 1.2s var(--ease); }

/* ---------------- marquee of the stack ---------------- */
.stack { border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); background: #fff; overflow: hidden; }
.stack .row { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.stack .row.rtl { animation-name: marquee-rtl; animation-duration: 56s; }
.stack:hover .row { animation-play-state: paused; }
@keyframes marquee-rtl { from { transform: translateX(-50%) } to { transform: translateX(0) } }
.stack .it { display: flex; align-items: center; gap: 10px; height: 76px; min-width: 190px; padding: 0 26px; border-right: 1px solid var(--stroke); color: rgba(21, 21, 21, .68); font-weight: 600; font-size: 14px; letter-spacing: -.01em; transition: color .18s, background .18s; position: relative; }
.stack .it:hover { color: var(--ink); background: var(--paper-2); }
.stack .it .lg { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-family: var(--ff-m); font-size: 10px; font-weight: 700; background: var(--paper-3); color: var(--ink); }
.stack .it .how { position: absolute; right: 12px; bottom: 8px; font-size: 10.5px; color: var(--mute-2); opacity: 0; transform: translateY(4px); transition: opacity .18s, transform .18s; font-weight: 500; }
.stack .it:hover .how { opacity: 1; transform: translateY(0); }
.stack-cap { text-align: center; font-size: 13px; color: var(--mute); padding: 14px 24px; border-top: 1px solid var(--stroke); }

/* ---------------- sections ---------------- */
section.band { padding: 84px 0; border-top: 1px solid var(--stroke); }
.kicker { font-size: 14px; color: var(--mute); margin: 0; }
h2 { font-family: var(--ff-d); font-weight: 600; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04; letter-spacing: -.03em; color: var(--ink); margin: 10px 0 0; max-width: 820px; }
.sub { color: var(--mute); font-size: 17px; max-width: 680px; margin: 16px 0 0; }
.sub b { color: var(--ink); font-weight: 600; }
.grid { display: grid; gap: 14px; margin-top: 36px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: 1fr 1fr; }
.g5 { grid-template-columns: repeat(5, 1fr); gap: 10px; }
.card { background: #fff; border: 1px solid var(--stroke); border-radius: var(--r); padding: 24px; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .35); border-color: var(--stroke-2); }
.card h3 { font-family: var(--ff-d); font-size: 19px; letter-spacing: -.02em; margin: 0 0 8px; color: var(--ink); }
.card p { margin: 0; color: var(--mute); font-size: 14.5px; line-height: 1.6; }
.card .src { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-family: var(--ff-m); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.card .src i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.card .src.chain i { background: var(--gold); }
.step { position: relative; }
.step .n { font-family: var(--ff-m); font-size: 11px; color: var(--mute-2); letter-spacing: .1em; }
.step .line { height: 2px; background: var(--paper-3); border-radius: 2px; margin: 12px 0 14px; overflow: hidden; }
.step .line i { display: block; height: 100%; width: 0; background: var(--ink); transition: width .9s var(--ease); }
.in .step .line i { width: 100%; }
.sec { font-family: var(--ff-m); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.note { color: var(--mute); font-size: 13px; line-height: 1.6; margin: 12px 0 0; }
.note a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--stroke-2); text-underline-offset: 3px; }
.note.ok { color: #15803d } .note.warn { color: #b45309 }

.ticks { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; color: var(--mute); font-size: 14.5px; line-height: 1.55; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--live); font-weight: 700; }
.ticks li b { color: var(--ink); font-weight: 600; }

/* figures */
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; background: var(--stroke); border: 1px solid var(--stroke); border-radius: var(--r); overflow: hidden; }
.fig { background: #fff; padding: 16px 18px; }
.fig .k { font-family: var(--ff-m); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); display: block; }
.fig .v { font-family: var(--ff-m); font-size: 22px; font-weight: 600; letter-spacing: -.02em; margin-top: 7px; display: block; color: var(--ink); }
.fig .v.au { color: var(--gold-deep) } .fig .v.gr { color: #15803d } .fig .v.dim { color: var(--mute); font-size: 15px; }
.fig .s { font-size: 11.5px; color: var(--mute-2); margin-top: 4px; display: block; }
.stats { margin-top: 40px; }
.stats .fig .v { font-size: 30px; }

/* dark band */
.dark { background: var(--dark); color: #fefefe; padding: 88px 0; border-top: 1px solid var(--dark-stroke); }
.dark .kicker { color: #9a9a9a; }
.dark h2 { color: #fff; }
.dark .sub { color: #a8a8a8; }
.dark .sub b { color: #fff; }
.dark .card { background: var(--dark-2); border-color: var(--dark-stroke); color: #e5e5e5; }
.dark .card:hover { box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .8); border-color: #3a3a3a; }
.dark .card h3 { color: #fff; }
.dark .card p { color: #a8a8a8; }
.dark .fig { background: var(--dark-2); }
.dark .figs { background: var(--dark-stroke); border-color: var(--dark-stroke); }
.dark .fig .k { color: #8a8a8a; } .dark .fig .v { color: #fff; } .dark .fig .s { color: #8a8a8a; }
.dark .sec { color: #8a8a8a; }
.dark .note { color: #a8a8a8; }
.dark code { color: var(--gold); }
.lottery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 36px; }
.odds { font-family: var(--ff-m); font-size: 12.5px; line-height: 1.8; color: #cfcfcf; background: #101010; border: 1px solid var(--dark-stroke); border-radius: 10px; padding: 16px 18px; white-space: pre; overflow: auto; }
.odds b { color: var(--gold); font-weight: 600; }
.odds .c { color: #6b6b6b; }

/* badges / chips */
.badge { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-m); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--stroke-2); color: var(--ink); background: #fff; }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.badge.cold { color: var(--mute); } .badge.cold i { background: var(--mute-2); }
.badge i.live { animation: blink 1.6s infinite; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--ff-m); font-size: 11.5px; color: var(--mute); border: 1px solid var(--stroke); border-radius: 999px; padding: 6px 12px; white-space: nowrap; background: #fff; }
.chip b { color: var(--ink); font-weight: 600; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: var(--live); }
.chip i.off { background: var(--mute-2); }
.addr-row { display: flex; gap: 8px; align-items: center; margin-top: 12px; }
.addr { font-family: var(--ff-m); font-size: 11.5px; color: var(--ink-2); background: var(--paper-2); border: 1px solid var(--stroke); border-radius: 8px; padding: 9px 11px; overflow: hidden; text-overflow: ellipsis; flex: 1; white-space: nowrap; }
.bar { height: 6px; border-radius: 999px; background: var(--paper-3); overflow: hidden; margin-top: 14px; }
.bar i { display: block; height: 100%; width: 0; background: var(--ink); transition: width 1s var(--ease); }
.coin-row { display: flex; align-items: center; gap: 14px; }
.coin-row img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--paper-3); border: 1px solid var(--stroke); }
.coin-row .sym { font-family: var(--ff-d); font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ink); }
.coin-row .nm { color: var(--mute); font-size: 13.5px; }

/* page heads */
.page-head { padding: 56px 0 8px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.grid.reveal > * { opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.grid.reveal.in > * { opacity: 1; transform: none; }
.grid.reveal.in > :nth-child(2) { transition-delay: .07s } .grid.reveal.in > :nth-child(3) { transition-delay: .14s } .grid.reveal.in > :nth-child(4) { transition-delay: .21s } .grid.reveal.in > :nth-child(5) { transition-delay: .28s }

/* footer */
.foot { background: var(--dark); color: #cfcfcf; padding: 56px 0 40px; margin-top: 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot h4 { font-family: var(--ff-m); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #8a8a8a; margin: 0 0 12px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.foot a:hover { color: #fff; }
.foot .tag { font-family: var(--ff-d); font-weight: 700; font-size: 20px; letter-spacing: -.03em; color: #fff; }
.foot .fine { border-top: 1px solid var(--dark-stroke); margin-top: 36px; padding-top: 18px; font-size: 12.5px; color: #8a8a8a; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .console { transform: none; }
  .g3, .g2, .lottery { grid-template-columns: 1fr; }
  .g5 { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
}
@media (max-width: 560px) {
  .g5 { grid-template-columns: 1fr; }
  .con-body { grid-template-columns: 1fr; }
  .ann .ca code { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tape-in, .stack .row { animation: none; }
  .reveal, .grid.reveal > * { opacity: 1; transform: none; transition: none; }
}
