:root {
  --bg: #020504;
  --green: #0fed9c;
  --green-rgb: 15, 237, 156;
  --red: #ef4444;
  --white: #ffffff;
  --text: #e8ece9;
  --muted: #a1a8a4;
  --dim: #7d8681;
  --line: rgba(255, 255, 255, 0.07);
  --panel: rgba(255, 255, 255, 0.015);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 82px; }
body {
  margin: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 28%, rgba(var(--green-rgb), 0.035), transparent 70%),
    radial-gradient(ellipse 70% 30% at 50% 78%, rgba(var(--green-rgb), 0.025), transparent 70%),
    var(--bg);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3, h4, h5, p { margin: 0; }
.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { width: 100%; max-width: 1448px; margin: 0 auto; padding: 0 24px; }

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  height: 81px;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.header.scrolled {
  background: rgba(3, 7, 6, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-row { height: 100%; display: flex; align-items: center; justify-content: space-between; position: relative; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  position: relative;
  width: 50px; height: 50px;
  border-radius: 10px;
  background: #070d0b;
  display: grid; place-items: center;
}
.brand-mark img { width: 32px; height: auto; }
.status-dot {
  position: absolute; top: -3px; right: -3px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, .8);
  animation: pulse 2s ease-in-out infinite;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong { font-size: 24px; font-weight: 900; letter-spacing: .12em; }
.brand-text small { margin-top: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .3em; color: var(--green); }

.nav {
  position: absolute;
  left: 50%; transform: translateX(-50%);
  display: flex; gap: 46px;
  font-size: 18px; font-weight: 500; color: #cfd5d1;
}
.nav a:hover { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 20px; }
.live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 36px; padding: 0 15px;
  border: 1px solid rgba(34, 197, 94, .35);
  background: rgba(34, 197, 94, .08);
  border-radius: 6px;
  color: #22c55e;
  font-family: var(--mono); font-size: 13px; font-weight: 800; letter-spacing: .15em;
}
.live-pill .ic { width: 16px; height: 16px; }
.social { color: #b8bfbb; display: grid; place-items: center; }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social:hover { color: var(--white); }
.vbar { width: 1px; height: 36px; background: var(--line); }
.launch {
  display: inline-flex; align-items: center; gap: 12px;
  height: 45px; padding: 0 16px;
  border: 1px solid rgba(var(--green-rgb), .4);
  background: rgba(var(--green-rgb), .07);
  border-radius: 6px;
  color: var(--green);
  font-size: 16px; font-weight: 700;
  transition: background .2s, box-shadow .2s;
}
.launch .ic { width: 20px; height: 20px; }
.launch:hover { background: rgba(var(--green-rgb), .14); box-shadow: 0 0 20px rgba(var(--green-rgb), .2); }

/* ================= HERO ================= */
.hero { min-height: 100vh; min-height: 100svh; padding: 121px 0 48px; display: flex; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tracking-pill {
  display: inline-flex; align-items: center; gap: 12px;
  height: 42px; padding: 0 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  border-radius: 999px;
  color: var(--green);
  font-family: var(--mono); font-size: 15px; font-weight: 800; letter-spacing: .12em;
}
.tracking-pill i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; animation: pulse 2s ease-in-out infinite; }

h1 {
  margin-top: 46px;
  font-size: clamp(44px, 4.85vw, 93px);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.045em;
}
h1 span { display: block; }
.h1-green { color: var(--green); text-shadow: 0 0 24px rgba(var(--green-rgb), .45), 0 0 60px rgba(var(--green-rgb), .2); }
.h1-white { color: #f2f4f3; }

.lead {
  margin-top: 36px;
  max-width: 830px;
  font-size: clamp(18px, 1.36vw, 26px);
  line-height: 1.58;
  color: var(--muted);
}

.hero-buttons { display: flex; gap: 20px; margin-top: 52px; flex-wrap: wrap; justify-content: center; }
.btn-solid, .btn-dark {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  height: 50px; padding: 0 30px;
  border-radius: 4px;
  font-size: 20px; font-weight: 700;
  transition: box-shadow .2s, background .2s, border-color .2s;
}
.btn-solid { background: var(--green); color: #022014; }
.btn-solid .ic { width: 20px; height: 20px; }
.btn-solid:hover { box-shadow: 0 0 30px rgba(var(--green-rgb), .4); }
.btn-dark { padding: 0 40px; background: #050a08; border: 1px solid var(--line); color: var(--white); }
.btn-dark:hover { border-color: rgba(var(--green-rgb), .4); }

.mini-row { position: relative; display: flex; gap: 16px; margin-top: 80px; flex-wrap: wrap; justify-content: center; }
.mini {
  width: 222px; height: 125px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 10px;
}
.mini .ic { color: var(--green); margin-bottom: 8px; }
.mini b { font-size: 15.5px; font-weight: 700; }
.mini span { font-size: 13px; color: var(--muted); }
.down {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  color: #8a918d;
  animation: bob 2s ease-in-out infinite;
}
.down svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }

/* ================= SECTIONS ================= */
.section { padding: 66px 0 90px; text-align: center; }
.eyebrow { font-family: var(--mono); font-size: 15px; font-weight: 800; letter-spacing: .14em; color: var(--green); }
h2 { margin-top: 18px; font-size: clamp(32px, 2.5vw, 48px); font-weight: 900; letter-spacing: -0.04em; line-height: 1.15; }
.h2-sm { font-size: clamp(30px, 2.1vw, 40px); }
.section-lead { margin: 22px auto 0; max-width: 830px; font-size: clamp(16px, 1.05vw, 20px); line-height: 1.5; color: var(--muted); }
.section-lead.narrow { max-width: 680px; }

.frame {
  margin-top: 82px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .008);
  border-radius: 22px;
  padding: 50px;
  text-align: left;
}

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.panel { border-radius: 14px; padding: 30px 30px 26px; }
.panel-red { background: linear-gradient(135deg, rgba(239, 68, 68, .07), rgba(239, 68, 68, .02)); border: 1px solid rgba(239, 68, 68, .2); }
.panel-green { background: linear-gradient(135deg, rgba(var(--green-rgb), .08), rgba(var(--green-rgb), .025)); border: 1px solid rgba(var(--green-rgb), .25); }
.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.panel-head h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; }
.ibox {
  width: 50px; height: 50px; border-radius: 8px;
  display: grid; place-items: center; flex: none;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(255, 255, 255, .02);
  color: var(--white);
}
.ibox-red { background: rgba(239, 68, 68, .14); border-color: transparent; color: var(--red); }
.ibox-green { background: rgba(var(--green-rgb), .12); border-color: transparent; color: var(--green); }
.ibox.glow { box-shadow: 0 0 24px rgba(var(--green-rgb), .25); }
.panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.panel li { position: relative; padding-left: 17px; font-size: 18px; color: #c9cfcb; }
.panel li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; }
.panel-red li::before { background: var(--red); opacity: .8; }
.panel-green li::before { background: var(--green); }

/* spectrum */
.spectrum { margin-top: 150px; }
.sub-title { font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.sub-lead { margin-top: 14px; font-size: 18px; color: var(--muted); }
.grid3 { margin-top: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.feature {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px;
  min-height: 135px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  transition: border-color .2s;
}
.feature:hover { border-color: rgba(var(--green-rgb), .3); }
.feature .ibox { width: 56px; height: 56px; }
.feature h4 { margin-top: 4px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.feature p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--muted); }

/* tracker */
.tracker { padding: 190px 0 160px; }
.scan { margin: 64px auto 0; max-width: 1240px; display: flex; gap: 16px; }
.scan-input {
  flex: 1; display: flex; align-items: center; gap: 14px;
  height: 60px; padding: 0 16px;
  border: 1px solid var(--line);
  background: #050a08;
  border-radius: 6px;
  color: var(--muted);
}
.scan-input:focus-within { border-color: rgba(var(--green-rgb), .45); }
.scan-input .ic { width: 20px; height: 20px; }
.scan-input input {
  flex: 1; min-width: 0;
  background: none; border: 0; outline: 0;
  color: var(--white);
  font-family: var(--mono); font-size: 17px;
}
.scan-input input::placeholder { color: #9aa29e; }
.scan-btn {
  width: 103px; height: 60px;
  border: 0; border-radius: 4px;
  background: var(--green); color: #022014;
  font-family: var(--sans); font-size: 18px; font-weight: 600;
  cursor: pointer;
}
.scan-btn:hover { box-shadow: 0 0 24px rgba(var(--green-rgb), .4); }
.scan-note { margin-top: 100px; font-size: 18px; color: var(--muted); }
.scan-note.err { color: #f87171; }
.scan-note.ok { color: var(--green); }

/* tokenomics */
#token { padding-top: 120px; }
.narrow-frame { max-width: 1240px; margin-left: auto; margin-right: auto; padding: 40px; }
#token .narrow-frame:first-of-type { margin-top: 62px; }
#token .narrow-frame + .narrow-frame { margin-top: 40px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.sbox {
  width: 60px; height: 60px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(var(--green-rgb), .13);
  border: 1px solid rgba(var(--green-rgb), .28);
  color: var(--green);
}
.sbox .ic { width: 28px; height: 28px; }
.sbox-dollar { font-size: 26px; font-weight: 900; }
.stat small { margin-top: 20px; font-size: 15px; color: var(--muted); }
.stat > b { margin-top: 12px; font-family: var(--mono); font-size: 22px; font-weight: 800; }
.stat > b.g { color: #22c55e; }
.lp-bar {
  margin-top: 46px;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  height: 67px;
  border: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .02);
  border-radius: 12px;
}
.lp-bar .ic { color: #22c55e; }
.lp-bar b { font-size: 18px; font-weight: 800; }
.lp-bar span { margin-left: 6px; font-size: 15px; color: var(--muted); }

.frame-title { text-align: center; font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.grid2 { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.utility {
  display: flex; gap: 20px; align-items: center;
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .02);
  border-radius: 12px;
}
.utility h4 { font-size: 17px; font-weight: 800; }
.utility p { margin-top: 6px; font-size: 14.5px; color: var(--muted); }

.soon { text-align: center; padding-bottom: 36px; }
.soon-sub { margin-top: 18px; font-size: 15.5px; color: var(--muted); }
.countdown { margin-top: 30px; display: flex; justify-content: center; gap: 16px; }
.countdown > div { display: flex; flex-direction: column; align-items: center; }
.digits {
  width: 128px; height: 76px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .05);
  background: rgba(255, 255, 255, .02);
  border-radius: 12px;
  font-family: var(--mono); font-size: 36px; font-weight: 800;
  color: var(--green);
  text-shadow: 0 0 16px rgba(var(--green-rgb), .5);
}
.countdown small { margin-top: 22px; font-size: 13px; font-weight: 800; letter-spacing: .1em; color: #b1b8b4; }
.soon-tg { display: inline-block; margin-top: 34px; font-size: 15.5px; color: var(--muted); }
.soon-tg:hover { color: var(--white); }

/* ================= FOOTER ================= */
.footer { margin-top: 0; border-top: 1px solid var(--line); padding-top: 62px; }
.footer-grid { display: grid; grid-template-columns: 390px 390px 390px 1fr; gap: 0; }
.fb-row { display: flex; align-items: center; gap: 10px; }
.fb-icon {
  width: 40px; height: 40px; border-radius: 8px;
  display: grid; place-items: center;
  border: 1px solid rgba(var(--green-rgb), .45);
  background: rgba(var(--green-rgb), .08);
}
.fb-icon img { width: 22px; height: auto; }
.fb-text { display: flex; flex-direction: column; line-height: 1; }
.fb-text strong { font-size: 20px; font-weight: 800; }
.fb-text small { margin-top: 4px; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--green); letter-spacing: .02em; }
.footer-brand p { margin-top: 28px; max-width: 320px; font-size: 15.5px; line-height: 1.33; color: var(--muted); }
.fb-social { margin-top: 28px; display: flex; gap: 15px; }
.fb-social a {
  width: 40px; height: 40px; border-radius: 8px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .05);
  color: var(--white);
}
.fb-social a:hover { background: rgba(var(--green-rgb), .15); color: var(--green); }
.fb-social svg { width: 20px; height: 20px; fill: currentColor; }
.fcol { display: flex; flex-direction: column; gap: 18px; padding-left: 0; }
.fcol h5 { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.fcol a { font-size: 18px; color: var(--muted); }
.fcol a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 54px;
  padding-top: 40px; padding-bottom: 60px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 15.5px; color: var(--muted);
}
.footer-bottom { max-width: 1400px; padding-left: 0; padding-right: 0; }

/* ================= MOTION ================= */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes bob { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% + 6px)); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
  .nav { display: none; }
  .grid3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
  .frame { padding: 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .grid2 { grid-template-columns: 1fr; }
  .down { display: none; }
}
@media (max-width: 640px) {
  .header { height: 68px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-text strong { font-size: 20px; }
  .brand-text small { font-size: 9.5px; }
  .live-pill, .vbar, .header-actions .social { display: none; }
  .launch { height: 40px; font-size: 14px; padding: 0 12px; }
  .hero { padding-top: 100px; }
  .tracking-pill { font-size: 12px; padding: 0 14px; height: 36px; }
  h1 { margin-top: 32px; }
  .hero-buttons { flex-direction: column; width: 100%; max-width: 340px; }
  .btn-solid, .btn-dark { font-size: 17px; }
  .mini-row { margin-top: 48px; gap: 12px; }
  .mini { width: calc(50% - 6px); height: 112px; }
  .grid3 { grid-template-columns: 1fr; }
  .frame { padding: 18px; border-radius: 16px; margin-top: 48px; }
  .panel li { font-size: 16px; }
  .spectrum { margin-top: 90px; }
  .tracker { padding: 110px 0 100px; }
  .scan { flex-direction: column; }
  .scan-btn { width: 100%; }
  .scan-input input { font-size: 15px; }
  .scan-note { margin-top: 48px; font-size: 16px; }
  .narrow-frame { padding: 22px; }
  .lp-bar { height: auto; padding: 16px; flex-wrap: wrap; gap: 8px 12px; text-align: center; }
  .lp-bar span { margin-left: 0; width: 100%; }
  .digits { width: 70px; height: 60px; font-size: 26px; }
  .countdown { gap: 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { padding-left: 24px; padding-right: 24px; }
}

/* ================= TRACKER REPORT ================= */
.scan-btn:disabled { opacity: .6; cursor: wait; }
.result { max-width: 1240px; margin: 56px auto 0; text-align: left; }
.result[hidden] { display: none; }
.result a { transition: color .15s; }
.mono-link { font-family: var(--mono); font-size: .92em; color: var(--green); }
.mono-link:hover { text-decoration: underline; }
a.plain:hover { color: var(--green); }
.dim { color: var(--dim); }
.g { color: var(--green) !important; }
.bad { color: #f87171 !important; }
.warn { color: #facc15 !important; }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

.r-loading, .r-error {
  border: 1px solid var(--line); background: var(--panel); border-radius: 16px;
  padding: 56px 24px; text-align: center;
}
.r-loading b { display: block; margin-top: 22px; font-size: 20px; }
.r-loading p { margin-top: 10px; color: var(--green); font-family: var(--mono); font-size: 15px; }
.r-loading small { display: block; margin-top: 14px; color: var(--dim); font-size: 14px; }
.r-spinner {
  width: 46px; height: 46px; margin: 0 auto; border-radius: 50%;
  border: 3px solid rgba(var(--green-rgb), .15); border-top-color: var(--green);
  animation: spin .9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.r-error { border-color: rgba(239, 68, 68, .3); background: rgba(239, 68, 68, .05); }
.r-error b { font-size: 20px; color: #f87171; }
.r-error p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.r-head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap;
  border: 1px solid rgba(var(--green-rgb), .25);
  background: linear-gradient(135deg, rgba(var(--green-rgb), .07), rgba(var(--green-rgb), .015));
  border-radius: 16px; padding: 28px 30px;
}
.r-badge {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  background: rgba(var(--green-rgb), .14); color: var(--green);
  font-family: var(--mono); font-size: 12px; font-weight: 800; letter-spacing: .14em;
}
.r-head h3 { margin-top: 12px; font-size: 30px; font-weight: 900; letter-spacing: -0.03em; word-break: break-word; }
.r-sym { color: var(--green); font-family: var(--mono); font-size: 20px; font-weight: 700; letter-spacing: 0; margin-left: 6px; }
.r-sub { margin-top: 8px; color: var(--muted); font-size: 15px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.r-addr { margin-top: 14px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.r-addr code { font-family: var(--mono); font-size: 14px; color: #cfd5d1; word-break: break-all; }
.r-copy {
  border: 1px solid var(--line); background: rgba(255, 255, 255, .04); color: var(--muted);
  border-radius: 6px; padding: 4px 10px; font: 600 12px var(--sans); cursor: pointer;
}
.r-copy:hover { color: var(--white); border-color: rgba(var(--green-rgb), .4); }
.r-links { display: flex; gap: 10px; flex-wrap: wrap; }
.r-btn {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 6px;
  border: 1px solid var(--line); background: #050a08; font-size: 15px; font-weight: 700;
}
.r-btn:hover { border-color: rgba(var(--green-rgb), .45); }
.r-btn.solid { background: var(--green); color: #022014; border-color: transparent; }

.r-grid8 { margin-top: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.r-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.r-stat {
  border: 1px solid rgba(255, 255, 255, .05); background: rgba(255, 255, 255, .02);
  border-radius: 12px; padding: 16px 18px; min-width: 0;
}
.r-stat small { display: block; font-size: 13px; color: var(--muted); }
.r-stat b { display: block; margin-top: 6px; font-family: var(--mono); font-size: 19px; font-weight: 800; color: var(--white); overflow-wrap: anywhere; }
.r-card .r-stat b { font-size: 16px; }

.r-curve { margin-top: 12px; border: 1px solid rgba(255, 255, 255, .05); background: rgba(255, 255, 255, .02); border-radius: 12px; padding: 16px 18px; }
.r-curve-top { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.r-curve-top b { color: var(--green); font-family: var(--mono); }

.r-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.r-two > .r-card { margin-top: 0; }
.r-card { margin-top: 16px; border: 1px solid var(--line); background: var(--panel); border-radius: 16px; padding: 24px; min-width: 0; }
.r-title { font-size: 18px; font-weight: 800; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.r-count { font-family: var(--mono); font-size: 13px; color: var(--green); background: rgba(var(--green-rgb), .12); border-radius: 6px; padding: 2px 8px; }
.r-empty { color: var(--dim); font-size: 15px; }
.r-note { margin-top: 14px; color: var(--dim); font-size: 13.5px; line-height: 1.5; }
.r-note b { color: var(--muted); }
.r-note.center { text-align: center; margin-top: 22px; }
.r-label { margin: 18px 0 10px; font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }

.r-score { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.r-score b { font-family: var(--mono); font-size: 54px; font-weight: 800; line-height: 1; }
.r-score span { color: var(--dim); font-family: var(--mono); font-size: 18px; }
.r-score em { margin-left: 12px; font-style: normal; font-family: var(--mono); font-weight: 800; font-size: 14px; letter-spacing: .12em; padding: 4px 10px; border-radius: 6px; }
.r-score.lv-red b, .r-score.lv-red em { color: #f87171; }
.r-score.lv-red em { background: rgba(239, 68, 68, .12); }
.r-score.lv-yellow b, .r-score.lv-yellow em { color: #facc15; }
.r-score.lv-yellow em { background: rgba(250, 204, 21, .1); }
.r-score.lv-green b, .r-score.lv-green em { color: var(--green); }
.r-score.lv-green em { background: rgba(var(--green-rgb), .1); }

.r-flags { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.r-flags li { position: relative; padding-left: 20px; font-size: 15px; color: #d2d8d4; line-height: 1.45; }
.r-flags i { position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; }
.r-flags .lv-red i { background: #ef4444; box-shadow: 0 0 8px rgba(239, 68, 68, .6); }
.r-flags .lv-yellow i { background: #facc15; }
.r-flags .lv-green i { background: var(--green); }

.r-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.r-table th { text-align: left; font-size: 12px; font-weight: 700; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; padding: 0 8px 10px; }
.r-table th.num { text-align: right; }
.r-table td { padding: 10px 8px; border-top: 1px solid rgba(255, 255, 255, .05); vertical-align: middle; }
.r-table td:first-child, .r-table th:first-child { padding-left: 0; }
.r-table td:last-child, .r-table th:last-child { padding-right: 0; }
.r-bar-cell { width: 34%; }
.r-bar { display: block; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.r-bar.wide { height: 8px; }
.r-bar > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--green), #6ff7c4); }
.r-scroll { overflow-x: auto; }
.r-scroll .r-table { min-width: 640px; }

.r-tag {
  display: inline-block; padding: 2px 8px; border-radius: 5px; vertical-align: middle;
  background: rgba(255, 255, 255, .06); color: var(--muted); font-size: 11.5px; font-weight: 700;
}
.r-tag.g { background: rgba(var(--green-rgb), .12); color: var(--green); }
.r-tag.warn { background: rgba(250, 204, 21, .12); color: #facc15; }
.r-kind { display: inline-block; min-width: 64px; text-align: center; padding: 3px 8px; border-radius: 5px; font-family: var(--mono); font-size: 11.5px; font-weight: 800; letter-spacing: .04em; }
.r-kind.in { background: rgba(var(--green-rgb), .12); color: var(--green); }
.r-kind.out { background: rgba(239, 68, 68, .12); color: #f87171; }
.r-kind.other { background: rgba(255, 255, 255, .06); color: var(--muted); }

.r-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14.5px; color: #d2d8d4; }
.r-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.r-chips .mono-link, .r-chip {
  display: inline-block; padding: 5px 10px; border-radius: 6px;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .06);
  font-size: 13px;
}
.r-chip b { color: var(--green); margin-left: 4px; }
.r-clusters { display: grid; gap: 10px; }
.r-cluster { border: 1px solid rgba(255, 255, 255, .06); border-radius: 10px; background: rgba(255, 255, 255, .02); }
.r-cluster summary { cursor: pointer; list-style: none; display: flex; gap: 14px; align-items: center; padding: 12px 14px; font-size: 14.5px; color: var(--muted); }
.r-cluster summary::-webkit-details-marker { display: none; }
.r-cluster summary b { color: var(--white); }
.r-cluster summary span:last-child { margin-left: auto; color: #f87171; font-family: var(--mono); font-size: 13px; }
.r-cluster .r-chips { padding: 0 14px 14px; }
.r-foot { margin-top: 22px; text-align: center; color: var(--dim); font-size: 13px; }

@media (max-width: 1000px) {
  .r-two { grid-template-columns: 1fr; }
  .r-grid8 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .result { margin-top: 36px; }
  .r-head { padding: 20px; }
  .r-head h3 { font-size: 24px; }
  .r-grid4 { grid-template-columns: repeat(2, 1fr); }
  .r-card { padding: 18px; }
  .r-stat { padding: 12px 14px; }
  .r-stat b { font-size: 16px; }
  .r-bar-cell { width: 26%; }
}
.r-two .r-grid4 { grid-template-columns: repeat(2, 1fr); }

/* ================= THEME TOGGLE ================= */
.theme-toggle {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  border-radius: 999px;
  border: 1px solid var(--tt-border, rgba(255, 255, 255, 0.12));
  background: var(--tt-bg, rgba(255, 255, 255, 0.03));
  color: var(--tt-fg, #d7ddd9);
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s, transform .2s;
}
.theme-toggle:hover { border-color: rgba(15, 237, 156, .55); color: var(--green); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .tt-moon { display: none; }
html[data-theme="light"] .theme-toggle .tt-sun { display: none; }
html[data-theme="light"] .theme-toggle .tt-moon { display: block; }
html[data-theme="light"] .theme-toggle { --tt-border: rgba(10, 20, 16, .14); --tt-bg: #ffffff; --tt-fg: #1c2622; box-shadow: 0 1px 2px rgba(10, 20, 16, .06), 0 4px 14px rgba(10, 20, 16, .06); }

/* ================= WHITE THEME: premium grid background ================= */
/* Fine 16px grid inside a 64px major grid, faded toward the edges, with a soft green glow on top. */
html[data-theme="light"] body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 20, 16, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 20, 16, .075) 1px, transparent 1px),
    linear-gradient(rgba(10, 20, 16, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 20, 16, .03) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 16px 16px, 16px 16px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 100%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 35%, #000 35%, transparent 100%);
}
html[data-theme="light"] body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 38% at 50% 0%, rgba(15, 237, 156, .16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 100%, rgba(15, 237, 156, .07), transparent 70%);
}

html[data-theme="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --green: #00a36a;
  --white: #0b1310;
  --text: #1c2622;
  --muted: #56615c;
  --dim: #75807b;
  --line: rgba(10, 20, 16, 0.09);
  --panel: #ffffff;
}
html[data-theme="light"] body { background: #ffffff; }
html[data-theme="light"] .header.scrolled { background: rgba(255, 255, 255, .86); }
html[data-theme="light"] .brand-mark { background: #070d0b; box-shadow: 0 4px 14px rgba(10, 20, 16, .18); }
html[data-theme="light"] .nav { color: #3d4743; }
html[data-theme="light"] .live-pill { color: #15803d; border-color: rgba(21, 128, 61, .3); background: rgba(34, 197, 94, .08); }
html[data-theme="light"] .social { color: #56615c; }
html[data-theme="light"] .launch { background: #0b1310; border-color: #0b1310; color: #ffffff; }
html[data-theme="light"] .launch .ic { color: #0fed9c; }
html[data-theme="light"] .launch:hover { background: #111c18; box-shadow: 0 8px 24px rgba(15, 237, 156, .25); }

html[data-theme="light"] .tracking-pill { background: #ffffff; box-shadow: 0 1px 2px rgba(10, 20, 16, .05); }
html[data-theme="light"] .h1-green { text-shadow: 0 10px 40px rgba(15, 237, 156, .3); }
html[data-theme="light"] .h1-white { color: #0b1310; }
html[data-theme="light"] .btn-solid, html[data-theme="light"] .scan-btn, html[data-theme="light"] .r-btn.solid { background: #0fed9c; color: #022014; }
html[data-theme="light"] .btn-dark { background: #0b1310; border-color: #0b1310; color: #ffffff; }
html[data-theme="light"] .btn-dark:hover { border-color: #0fed9c; }

/* cards sit on the grid as solid white with a soft shadow */
html[data-theme="light"] .mini,
html[data-theme="light"] .feature,
html[data-theme="light"] .frame,
html[data-theme="light"] .r-card,
html[data-theme="light"] .r-loading { background: #ffffff; box-shadow: 0 1px 2px rgba(10, 20, 16, .04), 0 10px 30px rgba(10, 20, 16, .05); }
html[data-theme="light"] .feature:hover { border-color: rgba(0, 163, 106, .4); }
html[data-theme="light"] .ibox { border-color: var(--line); background: #f4f7f5; }
html[data-theme="light"] .ibox-red { background: rgba(239, 68, 68, .1); border-color: transparent; }
html[data-theme="light"] .ibox-green { background: rgba(15, 237, 156, .16); border-color: transparent; }
html[data-theme="light"] .panel li { color: #36413c; }
html[data-theme="light"] .panel-red { background: linear-gradient(135deg, rgba(239, 68, 68, .06), #ffffff); }
html[data-theme="light"] .panel-green { background: linear-gradient(135deg, rgba(15, 237, 156, .12), #ffffff); }

html[data-theme="light"] .scan-input { background: #ffffff; box-shadow: 0 1px 2px rgba(10, 20, 16, .04), 0 8px 24px rgba(10, 20, 16, .05); }
html[data-theme="light"] .scan-input input::placeholder { color: #8a948f; }
html[data-theme="light"] .scan-note.err, html[data-theme="light"] .bad { color: #dc2626 !important; }
html[data-theme="light"] .warn { color: #b45309 !important; }

html[data-theme="light"] .sbox { background: rgba(15, 237, 156, .14); border-color: rgba(0, 163, 106, .3); }
html[data-theme="light"] .stat > b.g { color: #15803d; }
html[data-theme="light"] .lp-bar,
html[data-theme="light"] .utility,
html[data-theme="light"] .digits,
html[data-theme="light"] .r-stat,
html[data-theme="light"] .r-curve,
html[data-theme="light"] .r-cluster { border-color: var(--line); background: #f7faf8; }
html[data-theme="light"] .lp-bar .ic { color: #15803d; }
html[data-theme="light"] .digits { text-shadow: none; }
html[data-theme="light"] .countdown small { color: #56615c; }

html[data-theme="light"] .fb-icon { background: #070d0b; border-color: #070d0b; }
html[data-theme="light"] .fb-social a { background: rgba(10, 20, 16, .05); }
html[data-theme="light"] .fb-social a:hover { background: rgba(15, 237, 156, .18); color: #00a36a; }

/* tracker report */
html[data-theme="light"] .r-head { background: linear-gradient(135deg, rgba(15, 237, 156, .12), #ffffff); border-color: rgba(0, 163, 106, .3); }
html[data-theme="light"] .r-badge { background: rgba(15, 237, 156, .18); }
html[data-theme="light"] .r-addr code { color: #2c3631; }
html[data-theme="light"] .r-copy { background: #ffffff; }
html[data-theme="light"] .r-btn { background: #ffffff; }
html[data-theme="light"] .r-flags li, html[data-theme="light"] .r-list { color: #2c3631; }
html[data-theme="light"] .r-table td { border-top-color: var(--line); }
html[data-theme="light"] .r-bar { background: rgba(10, 20, 16, .07); }
html[data-theme="light"] .r-tag, html[data-theme="light"] .r-kind.other { background: rgba(10, 20, 16, .06); }
html[data-theme="light"] .r-kind.out { color: #dc2626; }
html[data-theme="light"] .r-chips .mono-link, html[data-theme="light"] .r-chip { background: #ffffff; border-color: var(--line); }
html[data-theme="light"] .r-cluster summary span:last-child { color: #dc2626; }
html[data-theme="light"] .r-score.lv-red b, html[data-theme="light"] .r-score.lv-red em { color: #dc2626; }
html[data-theme="light"] .r-score.lv-yellow b, html[data-theme="light"] .r-score.lv-yellow em { color: #b45309; }
html[data-theme="light"] .r-error b { color: #dc2626; }
html[data-theme="light"] .r-error { background: rgba(239, 68, 68, .04); }

@media (max-width: 640px) {
  .header-actions { gap: 12px; }
  .header-actions .theme-toggle { width: 38px; height: 38px; }
}
