/* ===== Dilinx — Trade Signals landing + dashboard =====================
   Light Dilinx brand theme: white canvas with a dark navy hero (mirrors
   dilinx.com), soft elevated cards, NVIDIA-green buy / red sell accents,
   medical-teal + amber highlights. Display: Source Serif 4 · Body: DM Sans
   · Data: JetBrains Mono */

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-2: #f8fafb;
  --panel: #ffffff;
  --panel-2: #f8fafc;
  --border: #e2e8f0;
  --border-2: #cbd5e1;
  --text: #0f172a;
  --muted: #4b5768;
  --dim: #6b7684;
  --buy: #76b900;
  --buy-2: #8fd119;
  --sell: #dc2626;
  --sell-2: #ef4444;
  --teal: #0891b2;
  --gold: #b45309;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
  --disp: "Source Serif 4", Georgia, serif;
  --body: "DM Sans", -apple-system, "Segoe UI", sans-serif;
  --maxw: 1180px;
  --shadow-card: 0 1px 3px rgba(15,23,42,0.04), 0 6px 24px rgba(15,23,42,0.07);
  --shadow-lg: 0 20px 50px -20px rgba(15,23,42,0.16);
  --glass-bg: rgba(255,255,255,0.78);
  --glass-bg-2: rgba(255,255,255,0.68);
  --glass-border: rgba(255,255,255,0.85);
  --glass-blur: blur(20px);
}

/* The header zone (ticker + nav + hero) stays the original dark trading-
   terminal look — mirrors dilinx.com's own dark hero over a light page. */
.ticker, .nav, .hero {
  --bg: #0c1425;
  --bg-2: #162036;
  --panel: #11161f;
  --panel-2: #161c27;
  --border: #1f2733;
  --border-2: #2a3441;
  --text: #e9eef5;
  --muted: #aab5c4;
  --dim: #8791a1;
  --buy: #2fd06e;
  --buy-2: #4ee08a;
  --sell: #ff5b52;
  --sell-2: #ff7b73;
  --teal: #5eead4;
  --gold: #f5c451;
  --glass-bg: rgba(22,29,42,0.7);
  --glass-bg-2: rgba(22,29,42,0.58);
  --glass-border: rgba(255,255,255,0.1);
  color: var(--text);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--buy) transparent; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* ambient color wash the glass panels blur against */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 520px at 6% 6%, rgba(118,185,0,0.08), transparent 60%),
    radial-gradient(820px 500px at 94% 18%, rgba(8,145,178,0.07), transparent 60%),
    radial-gradient(760px 480px at 45% 100%, rgba(180,83,9,0.05), transparent 60%);
}

/* ===== custom scrollbars ===== */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--buy-2), var(--buy)); border-radius: 999px;
  border: 2px solid var(--bg); background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: var(--buy); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }

a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }
.dim { color: var(--dim); }
.mono { font-family: var(--mono); }
.accent { color: var(--teal); }
.display { font-family: var(--disp); font-weight: 700; letter-spacing: -0.02em; line-height: 1.02; }
b { font-weight: 700; }

/* ===== ticker tape ===== */
.ticker {
  overflow: hidden; border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #0a0d13, var(--bg)); padding: 8px 0;
  position: relative; z-index: 5;
}
.ticker__track { display: inline-flex; gap: 34px; white-space: nowrap; will-change: transform;
  animation: tick 48s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
@keyframes tick { to { transform: translateX(-50%); } }
.tk { font-family: var(--mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.02em; }
.tk b { color: var(--text); font-weight: 500; }
.tk.up { color: var(--buy); } .tk.up b { color: var(--buy-2); }
.tk.dn { color: var(--sell); } .tk.dn b { color: var(--sell-2); }

/* ===== nav ===== */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 28px;
  background: rgba(12,20,37,0.68); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 0 0 100vmax rgba(12,20,37,0.68), 0 4px 24px rgba(0,0,0,0.22);
  clip-path: inset(0 -100vmax);
}
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--border) 15%, var(--border) 85%, transparent); }
.logo { display: inline-flex; align-items: baseline; gap: 8px; }
.logo__mark { width: 11px; height: 11px; border-radius: 3px; align-self: center;
  background: conic-gradient(from 200deg, var(--teal), var(--buy) 40%, var(--gold) 75%, var(--teal));
  box-shadow: 0 0 14px rgba(94,234,212,0.55); animation: spinmark 7s linear infinite; }
@keyframes spinmark { to { filter: hue-rotate(40deg); } }
.logo__word { font-family: var(--disp); font-weight: 800; font-size: 20px; letter-spacing: 0.06em; }
.logo__sub { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: 0.18em; text-transform: uppercase; }
.nav__links { display: flex; gap: 26px; }
.nav__links a { color: var(--muted); font-size: 14.5px; transition: color 0.18s; }
.nav__links a:hover { color: var(--text); }

/* ===== buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border-radius: 11px;
  font-family: var(--body); font-size: 14.5px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.16s, box-shadow 0.2s, background 0.2s, border-color 0.2s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: linear-gradient(135deg, var(--buy-2), var(--buy)); color: #04120a;
  box-shadow: 0 10px 30px -8px rgba(47,208,110,0.55), 0 0 0 1px rgba(78,224,138,0.2) inset; }
.btn--primary:hover { box-shadow: 0 14px 38px -8px rgba(47,208,110,0.7); transform: translateY(-2px); }
.btn--ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--border-2); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn .arr, .btn .arr * { transition: transform 0.18s; }
.btn--primary:hover .arr { transform: translateX(3px); }
.wide { width: 100%; justify-content: center; padding: 13px; font-size: 15px; margin-top: 4px; }

/* ===== hero (kept dark — matches dilinx.com's dark hero above a light page) ===== */
.hero { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 70px 28px 40px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
  background: var(--bg); box-shadow: 0 0 0 100vmax var(--bg); clip-path: inset(0 -100vmax); }
.hero__bg { position: absolute; inset: -120px -40px auto; height: 720px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(680px 360px at 22% 12%, rgba(47,208,110,0.16), transparent 70%),
    radial-gradient(560px 420px at 88% 30%, rgba(94,234,212,0.12), transparent 70%),
    radial-gradient(500px 360px at 70% 90%, rgba(245,196,81,0.07), transparent 70%);
}
.hero__bg::before { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 46px 46px; opacity: 0.18;
  -webkit-mask-image: radial-gradient(70% 70% at 40% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 70% at 40% 30%, #000, transparent 75%); }

.hero__copy > * { opacity: 0; transform: translateY(16px); animation: rise 0.7s cubic-bezier(.2,.8,.2,1) forwards; }
.hero__copy > *:nth-child(1) { animation-delay: 0.05s; }
.hero__copy > *:nth-child(2) { animation-delay: 0.13s; }
.hero__copy > *:nth-child(3) { animation-delay: 0.21s; }
.hero__copy > *:nth-child(4) { animation-delay: 0.29s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.06em; color: var(--teal); background: rgba(94,234,212,0.08);
  border: 1px solid rgba(94,234,212,0.22); padding: 6px 13px; border-radius: 999px; text-transform: uppercase; }
.pip { width: 7px; height: 7px; border-radius: 50%; background: var(--buy);
  box-shadow: 0 0 0 0 rgba(47,208,110,0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,208,110,0.5);} 70% { box-shadow: 0 0 0 8px rgba(47,208,110,0);} 100% { box-shadow: 0 0 0 0 rgba(47,208,110,0);} }

.hero h1 { font-size: clamp(40px, 5.6vw, 68px); margin: 20px 0 0; }
.lede { font-size: 18px; color: var(--muted); max-width: 30em; margin: 20px 0 0; }
.lede b { color: var(--text); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

/* hero product preview */
.hero__preview { position: relative; opacity: 0; animation: rise 0.8s 0.3s cubic-bezier(.2,.8,.2,1) forwards; }
.signal-pop { position: absolute; top: -16px; left: 50%; transform: translateX(-50%); z-index: 3;
  font-family: var(--disp); font-weight: 800; letter-spacing: 0.05em; color: #fff; font-size: 15px;
  padding: 9px 20px; border-radius: 11px; white-space: nowrap; animation: floaty 3.6s ease-in-out infinite; }
.signal-pop b { margin-left: 5px; }
.signal-pop.sell { background: linear-gradient(135deg, #ff5b52, #c0241f);
  box-shadow: 0 12px 34px -6px rgba(192,36,31,0.6), 0 0 0 1px rgba(255,255,255,0.14) inset; }
@keyframes floaty { 0%,100% { transform: translateX(-50%) translateY(0);} 50% { transform: translateX(-50%) translateY(-7px);} }

.app { width: 330px; margin: 36px auto 0; background: linear-gradient(180deg, #10151d, #0c1017);
  border: 1px solid var(--border-2); border-radius: 18px; padding: 0 0 14px; overflow: hidden;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,0.8), 0 0 0 1px rgba(255,255,255,0.02) inset;
  transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); }
.app__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; font-weight: 700; font-size: 14px;
  border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(94,234,212,0.05), transparent); }
.app__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--buy); }
.app__sub { margin: 13px; padding: 13px 15px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(245,196,81,0.16), rgba(38,30,12,0.5)); border: 1px solid rgba(245,196,81,0.34); }
.app__sub-top { display: flex; justify-content: space-between; align-items: center; }
.app__sub-top span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); }
.app__sub-top em { font-style: normal; font-size: 9px; letter-spacing: 0.16em; color: var(--gold);
  background: rgba(245,196,81,0.16); padding: 3px 8px; border-radius: 999px; }
.app__days { font-family: var(--mono); margin-top: 8px; }
.app__days b { font-size: 26px; } .app__days { color: var(--muted); font-size: 11px; }
.app__row { display: flex; justify-content: space-between; align-items: center; margin: 0 13px 7px;
  padding: 9px 13px; border: 1px solid var(--border); border-radius: 10px; font-size: 12.5px; color: var(--muted); }
.app__row.on { border-color: rgba(47,208,110,0.4); background: rgba(47,208,110,0.07); }
.app__row.on b { color: var(--buy-2); }
.app__row.funds { border-color: rgba(94,234,212,0.28); background: rgba(94,234,212,0.06); }
.app__row.funds b { color: var(--teal); font-family: var(--mono); }
.sw { width: 38px; height: 22px; border-radius: 999px; background: rgba(47,208,110,0.25);
  border: 1px solid var(--buy); position: relative; }
.sw::after { content: ""; position: absolute; top: 2px; right: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--buy-2); }
.app__feed { margin: 4px 13px 0; display: flex; flex-direction: column; gap: 6px; }
.app__sig { font-family: var(--mono); font-size: 11.5px; padding: 8px 11px; border-radius: 8px;
  background: var(--panel); border: 1px solid var(--border); border-left: 2px solid var(--border-2); color: var(--muted); }
.app__sig.buy { border-left-color: var(--buy); color: var(--buy-2); }
.app__sig.sell { border-left-color: var(--sell); color: var(--sell-2); }

/* ===== marquee strip ===== */
.strip { border-block: 1px solid var(--border); overflow: hidden; margin-top: 30px;
  background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.strip__track { display: inline-flex; gap: 28px; white-space: nowrap; padding: 16px 0; animation: tick 30s linear infinite; }
.strip__track span { font-family: var(--disp); font-weight: 800; font-size: 26px; letter-spacing: 0.04em;
  color: transparent; -webkit-text-stroke: 1px var(--border-2); }
.strip__track i { color: var(--teal); font-style: normal; font-size: 18px; align-self: center; }

/* ===== section heads ===== */
section { max-width: var(--maxw); margin: 0 auto; padding: 90px 28px; }
.sec-head { max-width: 40rem; margin-bottom: 42px; }
.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); }
.sec-head h2 { font-size: clamp(28px, 3.8vw, 44px); margin: 12px 0 0; }

/* ===== how ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px 24px; border-radius: 18px; border: 1px solid var(--glass-border); background: var(--glass-bg-2);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); position: relative; box-shadow: var(--shadow-card); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--teal); letter-spacing: 0.1em; }
.step h3 { font-family: var(--disp); font-size: 20px; margin: 16px 0 8px; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }
.step::before { content: ""; position: absolute; left: 24px; right: 24px; top: 52px; height: 1px;
  background: linear-gradient(90deg, var(--teal), transparent); opacity: 0.4; }

/* ===== plans ===== */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { padding: 30px 26px; border-radius: 20px; border: 1px solid var(--border); background: var(--panel);
  display: flex; flex-direction: column; gap: 14px; position: relative; box-shadow: var(--shadow-card); }
.plan--feat { background: linear-gradient(180deg, rgba(180,83,9,0.06), var(--panel) 55%);
  border-color: rgba(180,83,9,0.3); transform: translateY(-10px); box-shadow: 0 30px 60px -30px rgba(180,83,9,0.28); }
.plan__name { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.plan--feat .plan__name { color: var(--gold); }
.plan__price { display: flex; align-items: baseline; gap: 8px; }
.plan__price b { font-family: var(--disp); font-size: 30px; }
.plan__price span { color: var(--dim); font-size: 13px; }
.plan ul { list-style: none; padding: 0; margin: 6px 0 auto; display: flex; flex-direction: column; gap: 9px; }
.plan li { color: var(--muted); font-size: 14px; padding-left: 22px; position: relative; }
.plan li::before { content: "▸"; position: absolute; left: 0; color: var(--teal); }
.plan--feat li::before { color: var(--gold); }
.plan .btn { justify-content: center; margin-top: 10px; }
.plan__tag { position: absolute; top: -11px; right: 22px; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--gold);
  padding: 4px 11px; border-radius: 999px; font-weight: 700; }

/* ===== join ===== */
.join { display: grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: center; }
.join h2 { font-size: clamp(30px, 4vw, 48px); }
.join__copy p { color: var(--muted); margin-top: 16px; max-width: 26em; }
.join__list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 11px; }
.join__list li { display: flex; align-items: center; gap: 11px; color: var(--text); font-size: 15px; }
.join__list i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal;
  font-size: 12px; background: rgba(118,185,0,0.12); color: #5a9e00; border: 1px solid rgba(118,185,0,0.24); }

.authcard { background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 22px; padding: 26px; box-shadow: var(--shadow-lg); }
.tabs { display: flex; gap: 6px; background: rgba(0,0,0,0.04); padding: 5px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 20px; }
.tabs button { flex: 1; padding: 10px; border: 0; border-radius: 8px; background: transparent; color: var(--muted);
  font-family: var(--body); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.18s; }
.tabs button.active { background: var(--panel); color: var(--text); box-shadow: var(--shadow-card); }
.authcard label { display: block; font-size: 13px; color: var(--muted); margin: 14px 0 7px; font-weight: 500; }
.authcard label:first-of-type { margin-top: 0; }
.authcard input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border-2);
  background: var(--bg-2); color: var(--text); font-size: 15px; font-family: var(--body); }
.authcard input::placeholder { color: var(--dim); }
.authcard input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(8,145,178,0.14); }
.authcard__hint { font-size: 12.5px; color: var(--dim); margin: 16px 0 0; line-height: 1.5; }
.msg { min-height: 20px; font-size: 13.5px; margin-top: 12px; }
.msg.ok { color: #5a9e00; } .msg.err { color: var(--sell); }

/* ===== footer ===== */
.foot { max-width: var(--maxw); margin: 0 auto; padding: 40px 28px 60px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.foot__brand { font-family: var(--disp); font-weight: 800; letter-spacing: 0.08em; display: inline-flex; align-items: center; gap: 9px; }
.foot p { font-size: 12px; max-width: 44em; margin: 0; }

/* ===== dashboard ===== */
.nav--dash::after { display: none; }
.dash__id { display: flex; align-items: center; gap: 14px; }
#dash-email { font-size: 13px; color: var(--muted); }
.dash { max-width: var(--maxw); margin: 0 auto; padding: 36px 28px 70px; }
.dash__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.dash__head h1 { font-size: clamp(30px, 4.2vw, 48px); margin: 10px 0 0; }
.acct-pill { font-family: var(--mono); font-size: 12px; padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.acct-pill.on { color: #5a9e00; background: rgba(118,185,0,0.1); border: 1px solid rgba(118,185,0,0.26); }
.acct-pill.warn { color: var(--gold); background: rgba(180,83,9,0.1); border: 1px solid rgba(180,83,9,0.26); }
.acct-pill.off { color: var(--sell); background: rgba(220,38,38,0.09); border: 1px solid rgba(220,38,38,0.24); }

.dash__layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; align-items: start; }
.dash__main, .dash__side { display: flex; flex-direction: column; gap: 18px; }

.dcard { background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-radius: 18px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; box-shadow: var(--shadow-card);
  opacity: 0; transform: translateY(14px); animation: rise 0.6s cubic-bezier(.2,.8,.2,1) forwards; }
.dash__main .dcard:nth-child(1) { animation-delay: 0.04s; }
.dash__main .dcard:nth-child(2) { animation-delay: 0.12s; }
.dash__side .dcard:nth-child(1) { animation-delay: 0.08s; }
.dash__side .dcard:nth-child(2) { animation-delay: 0.16s; }
.dcard__label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dim); }
.dcard__hint { font-size: 12px; color: var(--dim); margin-top: 2px; }

/* subscription hero */
.dcard--hero { flex-direction: row; align-items: center; justify-content: space-between; gap: 20px; padding: 28px; }
.hero-sub__l { display: flex; flex-direction: column; gap: 10px; }
.hero-sub__plan { font-family: var(--disp); font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; line-height: 1; }
.hero-sub__note { font-size: 13.5px; max-width: 26em; }
.hero-sub__r { text-align: right; font-family: var(--mono); flex-shrink: 0; }
.hero-sub__r b { display: block; font-size: clamp(44px, 6vw, 64px); line-height: 0.9; color: var(--text); }
.hero-sub__r span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.dcard--hero.t-prem { background: linear-gradient(120deg, rgba(180,83,9,0.13), var(--glass-bg) 62%); border-color: rgba(180,83,9,0.3); }
.dcard--hero.t-prem .hero-sub__plan { color: var(--gold); }
.dcard--hero.t-normal { background: linear-gradient(120deg, rgba(8,145,178,0.12), var(--glass-bg) 62%); border-color: rgba(8,145,178,0.26); }
.dcard--hero.t-normal .hero-sub__plan { color: var(--teal); }
.dcard--hero.t-trial .hero-sub__plan { color: var(--text); }
.dcard--hero.t-expired { background: linear-gradient(120deg, rgba(220,38,38,0.12), var(--glass-bg) 62%); border-color: rgba(220,38,38,0.26); }
.dcard--hero.t-expired .hero-sub__plan, .dcard--hero.t-expired .hero-sub__r b { color: var(--sell); }

/* live-status list */
.statuslist { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-direction: column; }
.statuslist li { display: flex; align-items: center; gap: 13px; padding: 13px 2px; border-bottom: 1px solid var(--border); }
.statuslist li:last-child { border-bottom: 0; }
.st-ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-size: 15px;
  background: var(--panel-2); border: 1px solid var(--border); color: var(--muted); flex-shrink: 0; }
.st-name { font-size: 14.5px; color: var(--text); }
.st-pill { margin-left: auto; font-family: var(--mono); font-size: 11.5px; padding: 5px 12px; border-radius: 999px; }
.st-pill.on { color: #5a9e00; background: rgba(118,185,0,0.11); }
.st-pill.idle { color: var(--muted); background: rgba(100,116,139,0.1); }
.st-pill.off { color: var(--sell); background: rgba(220,38,38,0.09); }

/* funds + cta sidebar cards */
.dcard--funds { background: linear-gradient(160deg, rgba(8,145,178,0.11), var(--glass-bg) 60%); border-color: rgba(8,145,178,0.22); }
.funds-num { font-size: clamp(30px, 4vw, 40px); font-weight: 600; color: var(--teal); margin-top: 4px; line-height: 1; }
.dcard--cta { background: linear-gradient(160deg, rgba(118,185,0,0.12), var(--glass-bg) 65%); border-color: rgba(118,185,0,0.2); }
.dcard--cta h3 { font-family: var(--disp); font-size: 19px; margin: 2px 0 0; }
.dcard--cta p { font-size: 13.5px; margin: 0; }
.dcard__steps { display: block; font-size: 11px; color: var(--teal); margin-top: 6px; padding: 9px 11px;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 9px; word-break: break-word; }

/* ===== responsive ===== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero__preview { display: none; }
  .steps, .plan-grid, .dash__layout { grid-template-columns: 1fr; }
  .plan--feat { transform: none; }
  .join { grid-template-columns: 1fr; gap: 32px; }
  .dcard--hero { flex-direction: column; align-items: flex-start; }
  .hero-sub__r { text-align: left; }
  section { padding: 60px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .hero__copy > *, .hero__preview, .dcard { opacity: 1; transform: none; }
}

/* ===== nav CTA (two buttons) ===== */
.nav__cta { display: flex; align-items: center; gap: 10px; }
@media (max-width: 760px) { .nav__cta .btn--ghost { display: none; } }

/* ===== performance / backtest ===== */
.perf { max-width: var(--maxw); margin: 0 auto; padding: 90px 24px 10px; }
.perf__lede { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 16px 0 0; max-width: 44rem; }
.perf__wrap { display: grid; grid-template-columns: 1.55fr 1fr; gap: 22px; margin-top: 42px; }
.perf__chart { background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-radius: 20px; padding: 22px 22px 14px; box-shadow: var(--shadow-card); }
.perf__chart-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; gap: 12px; }
.perf__chart-label { display: block; font-family: var(--disp); font-weight: 700; font-size: 17px; }
.perf__chart-sub { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--dim); margin-top: 3px; }
.perf__delta { font-family: var(--mono); font-weight: 600; font-size: 15px; padding: 5px 11px; border-radius: 9px; white-space: nowrap; }
.perf__delta.up { color: #5a9e00; background: rgba(118,185,0,0.1); }
.eq { width: 100%; height: 220px; display: block; }
.perf__chart-x { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; color: var(--dim); margin-top: 8px; }
.perf__chart-span { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); }
.perf__chart-span-main { font-family: var(--disp); font-weight: 700; font-size: 15px; color: var(--text); }
.perf__chart-span-sub { font-size: 11.5px; color: var(--dim); }
.perf__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-radius: 16px; padding: 18px 18px; display: flex; flex-direction: column; justify-content: center; box-shadow: var(--shadow-card); transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s; }
.stat:hover { border-color: var(--border-2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.stat__n { font-family: var(--disp); font-size: 32px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--text); }
.stat__n small { font-size: 16px; font-weight: 600; color: var(--muted); }
.stat__n.up { color: #5a9e00; }
.stat span { color: var(--muted); font-size: 12.5px; margin-top: 8px; line-height: 1.35; }
.perf__note { font-size: 12px; margin-top: 22px; max-width: 48rem; line-height: 1.6; }

/* ===== chrome extension CTA ===== */
.chromecta { max-width: var(--maxw); margin: 74px auto 0; padding: 0 24px; }
.chromecta__inner { background: linear-gradient(135deg, rgba(8,145,178,0.1), var(--glass-bg) 52%);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: 24px; padding: 46px; display: grid; grid-template-columns: 1.2fr 0.9fr; gap: 34px; align-items: center; box-shadow: var(--shadow-card); }
.chromecta__l h2 { font-size: clamp(26px, 3.4vw, 40px); margin: 12px 0 14px; }
.chromecta__l p { color: var(--muted); font-size: 15.5px; line-height: 1.65; margin: 0 0 24px; max-width: 33rem; }
.chromecta__meta { display: block; margin-top: 14px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.btn.lg { padding: 15px 26px; font-size: 16px; border-radius: 13px; }
.extcard { background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.extcard__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: var(--panel-2); border-bottom: 1px solid var(--border); }
.extcard__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.extcard__bar span { margin-left: 10px; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.extcard__body { padding: 26px 22px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 11px; }
.extcard__icon { width: 66px; height: 66px; border-radius: 17px; background: linear-gradient(135deg, var(--teal), var(--buy)); box-shadow: 0 12px 32px -6px rgba(8,145,178,0.35); position: relative; }
.extcard__icon::after { content: "◆"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 27px; }
.extcard__meta b { font-family: var(--disp); font-size: 16px; }
.extcard__stars { display: block; color: var(--gold); font-size: 13px; margin-top: 4px; }
.extcard__stars em { color: var(--dim); font-style: normal; }
.extcard__add { margin-top: 6px; background: linear-gradient(135deg, var(--buy-2), var(--buy)); color: #04120a; border: 0; border-radius: 10px; padding: 10px 22px; font-weight: 700; font-family: var(--body); font-size: 14px; cursor: pointer; }

/* inline link inside prose */
.ilink { color: var(--teal); text-decoration: none; border-bottom: 1px solid rgba(8,145,178,0.3); }
.ilink:hover { border-color: var(--teal); }

@media (max-width: 860px) {
  .perf__wrap { grid-template-columns: 1fr; }
  .perf__stats { grid-template-columns: 1fr 1fr; }
  .chromecta__inner { grid-template-columns: 1fr; padding: 32px; }
  .chromecta__r { order: -1; max-width: 340px; }
}

/* ===== algorithm engine ===== */
.engine { max-width: var(--maxw); margin: 0 auto; padding: 96px 24px 0; }
.engine__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.ecard { background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-card); transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.ecard:hover { transform: translateY(-4px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.ecard__ic { width: 44px; height: 44px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--border-2); display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.ecard h3 { font-family: var(--disp); font-size: 20px; margin: 0 0 8px; font-weight: 700; }
.ecard p { color: var(--muted); font-size: 14.5px; margin: 0; line-height: 1.55; }
.ecard--hero { background: linear-gradient(150deg, rgba(8,145,178,0.12), var(--glass-bg) 55%); border-color: var(--glass-border); display: flex; flex-direction: column; }
.ecard__stat { font-family: var(--disp); font-size: 58px; font-weight: 800; line-height: 0.9; letter-spacing: -0.03em; color: var(--teal); }
.ecard__statlbl { display: block; font-family: var(--mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin: 12px 0 16px; }
.ecard--hero p { font-size: 14.5px; margin-top: auto; }

/* ===== product showcase (real screenshot) ===== */
.showcase { max-width: 960px; margin: 62px auto 0; padding: 0 24px; }
.showcase__frame { border: 1px solid var(--border-2); border-radius: 16px; overflow: hidden; background: var(--panel-2); box-shadow: var(--shadow-lg); }
.showcase__bar { display: flex; gap: 7px; padding: 12px 15px; background: var(--panel); border-bottom: 1px solid var(--border); }
.showcase__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--border-2); }
.showcase__img { display: block; width: 100%; height: auto; }
.showcase__cap { text-align: center; font-size: 12.5px; margin-top: 14px; }

/* real store icon replaces the css diamond */
.extcard__icon { object-fit: cover; }
.extcard__icon::after { content: none; }

@media (max-width: 860px) { .engine__grid { grid-template-columns: 1fr; } }

/* ===== faq ===== */
.faq { max-width: 800px; margin: 0 auto; padding: 96px 24px 0; }
.faq .sec-head { text-align: center; margin: 0 auto 40px; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-radius: 14px; padding: 2px 22px; box-shadow: var(--shadow-card); transition: border-color 0.2s, box-shadow 0.2s; }
.faq__item[open] { border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.faq__item summary { cursor: pointer; padding: 19px 0; font-family: var(--disp); font-weight: 700; font-size: 16.5px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--teal); font-size: 24px; font-weight: 300; line-height: 1; transition: transform 0.2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); font-size: 15px; line-height: 1.65; margin: 0 0 20px; }

/* ===== scroll-reveal (JS progressive enhancement; hero animates on load) ===== */
.js-reveal #marketing section:not(.hero) { opacity: 0; transform: translateY(26px); transition: opacity .75s cubic-bezier(.2,.8,.2,1), transform .75s cubic-bezier(.2,.8,.2,1); }
.js-reveal #marketing section.reveal-in { opacity: 1; transform: none; }

/* ===== hero live product demo ===== */
.demo-toast { position: absolute; top: -14px; left: 50%; z-index: 4; padding: 8px 16px; border-radius: 11px;
  font-size: 12.5px; font-weight: 700; white-space: nowrap; color: #04120a; pointer-events: none;
  background: linear-gradient(135deg, var(--buy-2), var(--buy)); box-shadow: 0 14px 32px -8px rgba(47,208,110,0.6);
  opacity: 0; transform: translateX(-50%) translateY(-8px); transition: opacity .45s, transform .45s; }
.demo-toast i { margin-right: 4px; }
.demo-toast.sell { color: #fff; background: linear-gradient(135deg, var(--sell-2), var(--sell)); box-shadow: 0 14px 32px -8px rgba(255,91,82,0.55); }
.demo-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.app__cmd { margin: 0 13px 8px; padding: 10px 13px; border-radius: 12px; border: 1px solid var(--border);
  background: rgba(255,255,255,0.02); transition: border-color .35s, background .35s; }
.app__cmd.pending { border-color: rgba(240,200,75,0.38); background: rgba(240,200,75,0.06); }
.app__cmd.ok { border-color: rgba(47,208,110,0.38); background: rgba(47,208,110,0.07); }
.app__cmd-top { display: flex; justify-content: space-between; align-items: center; }
.app__cmd-label { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dim); }
.app__cmd-badge { font-family: var(--mono); font-size: 9.5px; font-weight: 700; padding: 2px 7px; border-radius: 6px; transition: background .3s, color .3s; }
.app__cmd-badge.ok { background: rgba(47,208,110,0.16); color: var(--buy-2); }
.app__cmd-badge.pending { background: rgba(240,200,75,0.16); color: var(--gold); letter-spacing: 2px; }
.app__cmd-line { font-family: var(--mono); font-size: 11px; color: var(--text); margin-top: 7px; }
.app__cmd-detail { font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 3px; transition: color .3s; }
.app__cmd.ok .app__cmd-detail { color: var(--buy-2); }

.app__status { display: flex; align-items: center; gap: 7px; margin: 11px 13px 15px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.app__dot.sm { width: 7px; height: 7px; box-shadow: 0 0 0 0 rgba(47,208,110,0.6); animation: pulse 2.4s infinite; }

.app__sig { transition: opacity .5s cubic-bezier(.2,.8,.2,1), transform .5s cubic-bezier(.2,.8,.2,1); }
.app__sig.sig-in { opacity: 0; transform: translateY(-9px); }

/* ===== performance: secondary strip + verified badge ===== */
.perf__strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 20px; }
.perf__strip > div { background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-radius: 13px; padding: 16px 14px; text-align: center; box-shadow: var(--shadow-card); transition: transform .2s, border-color .2s, box-shadow .2s; }
.perf__strip > div:hover { transform: translateY(-3px); border-color: var(--border-2); box-shadow: var(--shadow-lg); }
.perf__strip b { display: block; font-family: var(--disp); font-size: 20px; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.perf__strip span { display: block; font-size: 11px; color: var(--muted); margin-top: 5px; }
.perf__verify { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(118,185,0,0.26); background: rgba(118,185,0,0.05); color: var(--muted); font-size: 13.5px; text-decoration: none; transition: border-color .2s, background .2s; }
.perf__verify:hover { border-color: var(--buy); background: rgba(118,185,0,0.09); }
.perf__verify-badge { font-family: var(--mono); font-size: 11px; font-weight: 700; color: #5a9e00; padding: 3px 9px; border-radius: 7px; background: rgba(118,185,0,0.12); }
.perf__verify .arr { color: #5a9e00; transition: transform .18s; }
.perf__verify:hover .arr { transform: translateX(3px); }

/* ===== waitlist ===== */
.waitlist { position: relative; max-width: var(--maxw); margin: 100px auto 0; padding: 0 24px; }
.wl__glow { position: absolute; inset: -8% 18% auto; height: 320px; background: radial-gradient(60% 100% at 50% 0%, rgba(118,185,0,0.1), transparent 70%); pointer-events: none; z-index: 0; }
.wl__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 42px; align-items: center;
  background: linear-gradient(150deg, rgba(8,145,178,0.08), var(--glass-bg) 55%);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: 26px; padding: 48px; box-shadow: var(--shadow-lg); }
.wl__copy h2 { font-size: clamp(28px, 3.8vw, 46px); margin: 12px 0 16px; }
.wl__lede { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 0 0 22px; }
.wl__list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 11px; }
.wl__list li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--text); }
.wl__list i { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-style: normal; background: rgba(118,185,0,0.12); color: #5a9e00; }
.wl__count { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); font-family: var(--mono); }
.wl__count b { color: var(--text); }
.wl__count-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 0 rgba(118,185,0,0.6); animation: pulse 2.2s infinite; }
.wl__card { background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border-radius: 18px; padding: 26px; box-shadow: var(--shadow-lg); }
.wl__card-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.wl__card-head span { font-family: var(--disp); font-weight: 700; font-size: 19px; }
.wl__card-head em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--dim); }
.wl__card label { display: block; font-size: 12px; color: var(--muted); margin: 14px 0 6px; }
.wl__card input, .wl__card select { width: 100%; padding: 12px 13px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; font-family: var(--body); }
.wl__card input::placeholder { color: var(--dim); }
.wl__card input:focus, .wl__card select:focus { outline: none; border-color: var(--teal); }
.wl__card select { cursor: pointer; }
.wl__card .btn { margin-top: 20px; }
.wl__fine { font-size: 11.5px; color: var(--dim); margin: 13px 0 0; text-align: center; }

@media (max-width: 860px) {
  .wl__inner { grid-template-columns: 1fr; padding: 30px; gap: 28px; }
  .perf__strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) { .perf__strip { grid-template-columns: repeat(2, 1fr); } }

/* ===== Dilinx Agent Indicator ===== */
.agent { max-width: 1040px; margin: 100px auto 0; padding: 0 24px; }
.agent__head { text-align: center; margin: 0 auto 36px; max-width: 44rem; }
.agent__lede { color: var(--muted); font-size: 16px; line-height: 1.65; margin: 16px auto 0; }
.agent__panel { background: linear-gradient(160deg, rgba(8,145,178,0.08), var(--glass-bg) 60%);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-border); border-radius: 24px; padding: 34px; box-shadow: var(--shadow-card); }
.agent__controls { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-bottom: 30px; }
.agent__ctrl-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 13px; }
.agent__ctrl-top label { font-size: 13px; color: var(--muted); }
.agent__ctrl-top b { font-family: var(--disp); font-size: 22px; font-weight: 800; color: var(--text); }
.agent__ctrl-scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--dim); margin-top: 9px; }
.agent__ctrl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--border); cursor: pointer; }
.agent__ctrl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--buy-2), var(--buy)); border: 3px solid var(--panel); box-shadow: 0 4px 14px -2px rgba(118,185,0,0.5); cursor: grab; }
.agent__ctrl input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--buy); border: 3px solid var(--panel); box-shadow: 0 4px 14px -2px rgba(118,185,0,0.5); cursor: grab; }
.agent__ctrl input[type=range]:focus { outline: none; }
.agent__ctrl input[type=range]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(8,145,178,0.25); }
.agent__viz { display: grid; grid-template-columns: 0.82fr 1.5fr; gap: 28px; align-items: center; }
.agent__result-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.agent__now { display: block; font-family: var(--disp); font-size: clamp(40px, 6vw, 60px); font-weight: 800; letter-spacing: -0.03em; color: #5a9e00; line-height: 1; margin: 10px 0; }
.agent__gain { font-family: var(--mono); font-size: 14px; color: #5a9e00; }
.agent__chart { position: relative; }
.agent__chart #ag-svg { width: 100%; height: 210px; display: block; }
.agent__x { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--dim); margin-top: 8px; }
.agent__chart-note { text-align: center; font-size: 11.5px; color: var(--dim); margin: 10px 0 0; }
.agent__foot { display: flex; justify-content: space-between; align-items: center; gap: 22px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border); }
.agent__note { font-size: 11.5px; max-width: 40rem; margin: 0; line-height: 1.6; }
.agent__foot .btn { flex: none; width: auto; margin-top: 0; }
@media (max-width: 780px) {
  .agent__controls { grid-template-columns: 1fr; gap: 24px; }
  .agent__viz { grid-template-columns: 1fr; }
  .agent__foot { flex-direction: column; align-items: stretch; }
  .agent__foot .btn { width: 100%; justify-content: center; }
}

/* ===== waitlist live-count (big, on the form) ===== */
.wl__live { display: flex; align-items: center; gap: 13px; padding: 0 0 18px; margin-bottom: 4px; border-bottom: 1px solid var(--border); }
.wl__live-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--buy); box-shadow: 0 0 0 0 rgba(118,185,0,0.6); animation: pulse 2.2s infinite; }
.wl__live-txt { display: flex; flex-direction: column; line-height: 1.05; }
.wl__live-txt b { font-family: var(--disp); font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: #5a9e00; }
.wl__live-txt span { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ===== inline SVG icons in icon chips ===== */
.ecard__ic svg { width: 22px; height: 22px; }
.ecard__ic { color: var(--teal); }
.st-ic svg { width: 16px; height: 16px; vertical-align: middle; }
.wl__list i.ico, .join__list i.ico { padding: 0; }
.wl__list i.ico svg, .join__list i.ico svg { width: 12px; height: 12px; }

/* ===== performance: tabbed real-data charts ===== */
.pf__tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 14px 0 10px; padding: 4px; background: rgba(0,0,0,0.04);
  border: 1px solid var(--border); border-radius: 11px; }
.pf__tab { flex: 1 1 auto; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .04em; color: var(--muted);
  transition: background .16s ease, color .16s ease; }
.pf__tab:hover { color: var(--text); background: rgba(15,23,42,.04); }
.pf__tab.is-on { background: rgba(118,185,0,.12); color: #5a9e00; box-shadow: inset 0 0 0 1px rgba(118,185,0,.24); }
.pf__tab:focus-visible { outline: 2px solid var(--buy); outline-offset: 1px; }
.pf__plot { position: relative; }
.pf__plot svg { display: block; width: 100%; height: 200px; }
.pf__tip { position: absolute; transform: translate(-50%, -100%); pointer-events: none; opacity: 0; transition: opacity .12s ease;
  background: var(--text); border: 1px solid var(--border-2); border-radius: 8px; padding: 6px 9px; white-space: nowrap;
  box-shadow: var(--shadow-lg); z-index: 3; }
.pf__tip.on { opacity: 1; }
.pf__tip b { display: block; font-family: var(--mono); font-size: 13px; color: #fff; }
.pf__tip span { display: block; font-size: 10.5px; color: rgba(255,255,255,0.65); margin-top: 1px; }
.perf__delta.down { color: var(--sell); background: rgba(220,38,38,.09); }

/* ===== trade history table ===== */
.hist { margin-top: 18px; border: 1px solid var(--glass-border); border-radius: 14px; background: var(--glass-bg);
  backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur); overflow: hidden; box-shadow: var(--shadow-card); }
.hist__top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.hist__h { font-family: var(--disp); font-size: 15px; font-weight: 700; margin: 0; }
.hist__sub { font-size: 12px; color: var(--dim); }
.hist__scroll { overflow-x: auto; max-height: 360px; overflow-y: auto; }
.hist__t { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.hist__t th { position: sticky; top: 0; z-index: 1; background: var(--panel-2); text-align: left; font-family: var(--mono);
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); font-weight: 500;
  padding: 9px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.hist__t td { padding: 9px 12px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.hist__t tr:last-child td { border-bottom: 0; }
.hist__t tbody tr:hover td { background: var(--bg-2); }
.hist__t .num { text-align: right; font-family: var(--mono); }
.hist__t .hd { color: var(--muted); font-family: var(--mono); font-size: 11.5px; }
.hist__t .hd i { font-style: normal; color: var(--dim); margin-left: 6px; }
.hist__t .hsym { font-family: var(--mono); font-weight: 500; color: var(--text); }
.hist__t .dim { color: var(--dim); }
.hist__t .pos { color: #5a9e00; }
.hist__t .neg { color: var(--sell); }
.hside { display: inline-block; min-width: 42px; text-align: center; padding: 2px 7px; border-radius: 5px;
  font-family: var(--mono); font-size: 10px; letter-spacing: .05em; }
.hside.buy { color: #5a9e00; background: rgba(118,185,0,.12); }
.hside.sell { color: var(--sell); background: rgba(220,38,38,.1); }
@media (max-width: 620px) {
  .pf__tab { font-size: 10.5px; padding: 6px 7px; }
  .hist__t th, .hist__t td { padding: 8px 9px; }
}

/* ===== floating waitlist button + popup ===== */
.fab-waitlist { position: fixed; left: 22px; bottom: 22px; z-index: 60;
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 999px; border: 0;
  font-family: var(--body); font-size: 14.5px; font-weight: 700; color: #04120a; cursor: pointer;
  background: linear-gradient(135deg, var(--buy-2), var(--buy));
  box-shadow: 0 14px 34px -10px rgba(118,185,0,0.55), 0 0 0 1px rgba(255,255,255,0.2) inset;
  transition: transform 0.16s, box-shadow 0.2s; }
.fab-waitlist:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(118,185,0,0.65), 0 0 0 1px rgba(255,255,255,0.2) inset; }
.fab-waitlist:active { transform: translateY(0); }
.fab-waitlist__dot { width: 7px; height: 7px; border-radius: 50%; background: #04120a; opacity: 0.55;
  box-shadow: 0 0 0 0 rgba(4,18,10,0.4); animation: pulse 2.2s infinite; }
@media (max-width: 620px) {
  .fab-waitlist { left: 14px; bottom: 14px; padding: 12px 18px; font-size: 13.5px; }
}

body.modal-open { overflow: hidden; }
.wl-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.wl-modal--open { display: flex; }
.wl-modal__backdrop { position: absolute; inset: 0; background: rgba(8,10,14,0.6); backdrop-filter: blur(3px);
  animation: fadein 0.2s ease; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.wl-modal__panel { position: relative; z-index: 1; width: 100%; max-width: 420px; max-height: calc(100vh - 40px); overflow-y: auto; overflow-x: hidden;
  animation: modalrise 0.25s cubic-bezier(.2,.8,.2,1); }
@keyframes modalrise { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: none; } }
.wl-modal__panel .wl__card { box-shadow: var(--shadow-lg); }
.wl-modal__close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--panel-2);
  color: var(--muted); font-size: 18px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: color 0.16s, border-color 0.16s; }
.wl-modal__close:hover { color: var(--sell); border-color: var(--sell); }
