/* ═══════════════════════════════════════════════════════════════════
   ZYRODEX — FOR THE FUTURE
   Futuristic quant-fintech design system
   near-black navy · electric cyan · violet depth · sci-fi HUD
   ═══════════════════════════════════════════════════════════════════ */

/* MOBILE CHECKLIST: 390px audit · 44px taps · 16px inputs · no overflow-x */

:root {
  --bg: #05070D;
  --bg-2: #080B14;
  --panel-solid: #0D1220;
  --panel: rgba(13, 18, 32, 0.62);
  --panel-strong: rgba(20, 27, 46, 0.72);
  --glass-border: rgba(120, 150, 200, 0.14);
  --glass-highlight: rgba(160, 200, 255, 0.28);
  --blur: 6px;

  --cyan: #22D3EE;
  --cyan-bright: #00F0FF;
  --violet: #6366F1;
  --text: #E6EDF7;
  --muted: #8A93A6;
  --green: #22C55E;
  --red: #EF4444;

  /* Legacy aliases — inner pages reference these; mapped to the new accent */
  --gold: #22D3EE;
  --gold-soft: #7DEBFF;
  --gold-glow: rgba(34, 211, 238, 0.35);
  --silver: #AAB6CC;
  --silver-dim: #8A93A6;

  --accent-glow: rgba(34, 211, 238, 0.4);
  --violet-glow: rgba(99, 102, 241, 0.3);

  --radius: 16px;
  --radius-sm: 10px;
  --maxw: 1240px;

  --shadow: 0 20px 70px rgba(0, 0, 0, 0.6);
  --shadow-sm: 0 8px 30px rgba(0, 0, 0, 0.45);
  --glow: 0 0 44px var(--accent-glow);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease: 300ms var(--ease-out);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;

  /* Breakpoint reference (use same values in @media queries) */
  --bp-sm: 480px;
  --bp-md: 768px;
  --bp-lg: 960px;
  --bp-xl: 1024px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
body.modal-open { overflow: hidden; touch-action: none; }

/* Gradient mesh backdrop */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1000px 600px at 12% -8%, rgba(34, 211, 238, 0.07), transparent 60%),
    radial-gradient(1200px 700px at 88% 8%, rgba(99, 102, 241, 0.10), transparent 62%),
    radial-gradient(900px 800px at 50% 115%, rgba(34, 211, 238, 0.05), transparent 60%),
    var(--bg);
}
/* Circuit dot-grid */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(140, 180, 255, 0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 100% 65% at 50% 0%, black 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 100% 65% at 50% 0%, black 25%, transparent 78%);
}

/* Film grain */
.noise {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none;
  width: 200%; height: 200%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.035;
  animation: grain 8s steps(10) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

a { color: var(--cyan); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--cyan-bright); }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.03em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
p { margin: 0 0 1rem; color: var(--muted); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.muted { color: var(--muted); }
.mono { font-family: var(--font-mono); }

.text-gradient {
  background: linear-gradient(95deg, var(--cyan) 5%, var(--cyan-bright) 40%, var(--violet) 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Mega display type */
.mega {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 10rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0;
}
.mega .accent { color: var(--cyan); text-shadow: 0 0 60px var(--accent-glow); }

/* HUD label */
.hud-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan);
  display: inline-flex; align-items: center; gap: 10px;
}
.hud-label::before, .hud-label::after {
  content: ""; width: 26px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan));
}
.hud-label::after { background: linear-gradient(90deg, var(--cyan), transparent); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer; border: 1px solid transparent;
  transition: box-shadow 400ms var(--ease-out),
              border-color 300ms, color 300ms, background 300ms;
  white-space: nowrap; overflow: hidden;
  will-change: transform;
}
.btn-primary {
  background: linear-gradient(120deg, #0891B2, var(--cyan) 55%, var(--cyan-bright));
  color: #041016;
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 0 46px rgba(0, 240, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #041016;
}
.btn-ghost {
  background: rgba(34, 211, 238, 0.04);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-color: rgba(34, 211, 238, 0.3); color: var(--text);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan-bright); box-shadow: 0 0 30px rgba(34, 211, 238, 0.2); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 40px; font-size: 1.02rem; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 7, 13, 0.5);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border-bottom: 1px solid rgba(120, 150, 200, 0.08);
  transition: background var(--ease), box-shadow var(--ease);
}
.site-header.scrolled { background: rgba(5, 7, 13, 0.88); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { gap: 0; }
.brand-logo-img {
  height: 44px; width: auto; display: block;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.28));
  transition: filter 400ms var(--ease-out);
}
.brand:hover .brand-logo-img { filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.5)); }
.footer-logo-img {
  height: 64px; width: auto; display: block; margin-bottom: 8px;
  filter: drop-shadow(0 0 16px rgba(212, 175, 55, 0.25));
}
.footer-tag { margin-top: 8px; font-size: 0.9rem; color: var(--muted); max-width: 320px; }
.hero-brand-lockup {
  margin: 0 auto 22px; width: fit-content;
  padding: 14px 18px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: var(--radius);
  background: rgba(5, 7, 13, 0.45);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.08);
}
.hero-logo {
  height: clamp(88px, 14vw, 130px); width: auto; display: block;
  filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.35));
}
.auth-modal-brand { text-align: center; margin-bottom: 14px; }
.auth-modal-brand img {
  width: 48px; height: 48px; object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.4));
}
.brand-mark {
  width: 32px; height: 32px; flex: none;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.35));
  transition: filter 400ms var(--ease-out);
}
.brand:hover .brand-mark { filter: drop-shadow(0 0 18px rgba(34, 211, 238, 0.65)); }
.brand-word {
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 700;
  letter-spacing: 0.06em; color: var(--text); line-height: 1;
}
.brand-x { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--muted); font-size: 0.82rem; font-weight: 500;
  font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -3px; width: 0; height: 1px;
  background: var(--cyan); box-shadow: 0 0 8px var(--cyan);
  transition: width 350ms var(--ease-out);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
@media (min-width: 769px) and (max-width: 1200px) {
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.74rem; letter-spacing: 0.08em; }
}
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { padding: 10px 22px; font-size: 0.85rem; }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* About Us dropdown */
.nav-has-sub {
  position: relative;
}
.nav-sub {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 200px;
}
.nav-sub a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  white-space: nowrap;
}
.nav-sub a::after { display: none; }
@media (min-width: 769px) {
  .site-header,
  .nav {
    overflow: visible;
  }
  .nav-has-sub {
    align-self: stretch;
    display: flex;
    align-items: center;
  }
  .nav-has-sub::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 14px;
  }
  .nav-sub {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--panel-solid);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    z-index: 80;
    display: none;
  }
  .nav-sub[hidden] {
    display: none !important;
  }
  .nav-has-sub:hover > .nav-sub,
  .nav-has-sub:focus-within > .nav-sub {
    display: block;
  }
  .nav-has-sub:hover > .nav-sub[hidden],
  .nav-has-sub:focus-within > .nav-sub[hidden] {
    display: block !important;
  }
}

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex; align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 40px 0 120px;
}
.hero-3d { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-3d canvas { width: 100%; height: 100%; display: block; }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: 1;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero .sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 640px; margin: 30px auto 40px; color: var(--muted);
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.hero-eyebrow {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.34em;
  text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 34px;
}
.hero-eyebrow .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Scramble text cursor */
.scramble-char { display: inline-block; }

/* ── Ticker ──────────────────────────────────────────────── */
.ticker-wrap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
  background: rgba(5, 7, 13, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  overflow: hidden; padding: 12px 0;
}
.ticker { display: flex; gap: 64px; width: max-content; animation: ticker 40s linear infinite; }
.ticker-wrap:hover .ticker { animation-play-state: paused; }
.ticker span {
  display: inline-flex; gap: 10px; align-items: center;
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em;
  color: var(--muted); white-space: nowrap;
}
.ticker b { font-weight: 500; }
.ticker .up { color: var(--cyan); text-shadow: 0 0 12px rgba(34, 211, 238, 0.5); }
.ticker .down { color: var(--red); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Sections ────────────────────────────────────────────── */
.section { position: relative; padding: 110px 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 64px; }
.section-head .hud-label { margin-bottom: 20px; }

/* Vision strip */
.vision {
  padding: 150px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.vision .statement {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.6vw, 3rem);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1.25;
  max-width: 980px; margin: 0 auto; color: var(--text);
}
.vision .statement em { font-style: normal; color: var(--cyan); }
.vision .mesh {
  position: absolute; inset: -20%; z-index: -1; filter: blur(90px); opacity: 0.5;
  background:
    radial-gradient(420px 300px at 30% 40%, rgba(34, 211, 238, 0.16), transparent 70%),
    radial-gradient(480px 340px at 70% 60%, rgba(99, 102, 241, 0.2), transparent 70%);
  animation: drift 22s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(-2%, -2%) scale(1); }
  to { transform: translate(2%, 3%) scale(1.07); }
}

/* ── Bento grid ──────────────────────────────────────────── */
.bento {
  display: grid; gap: 22px;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 210px;
}
.bento-card {
  position: relative;
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  padding: 30px;
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: border-color var(--ease), transform 500ms var(--ease-out);
}
.bento-card::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
/* cursor spotlight */
.bento-card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%),
              rgba(34, 211, 238, 0.10), transparent 65%);
  opacity: 0; transition: opacity 350ms;
}
.bento-card:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-4px); }
.bento-card:hover::after { opacity: 1; }
.bento-card h3 { font-size: 1.3rem; margin-bottom: 8px; position: relative; z-index: 2; }
.bento-card p { font-size: 0.92rem; margin: 0; position: relative; z-index: 2; }
.bento-card .tag {
  position: absolute; top: 22px; left: 26px; z-index: 2;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--cyan);
}
.bento-card .art {
  position: absolute; inset: 0; z-index: 1; opacity: 0.85; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.b-span-7 { grid-column: span 7; grid-row: span 2; }
.b-span-5 { grid-column: span 5; }
.b-span-5t { grid-column: span 5; }
.b-span-6 { grid-column: span 6; }

/* bento art details */
.art svg { width: 82%; height: 82%; max-height: 210px; }
.art-wave path { stroke: var(--cyan); filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.6)); }
.art-nodes circle { fill: var(--violet); filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.8)); }
.art-nodes line { stroke: rgba(99, 102, 241, 0.4); }
.art-gauge .arc { stroke: var(--cyan); filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.6)); }
.art-cast circle { stroke: var(--cyan); }

/* ── Pinned architecture sequence ────────────────────────── */
.pin-sec { position: relative; }
.pin-stage { overflow: hidden; display: flex; flex-direction: column; justify-content: center; min-height: 100vh; }
.pin-head { text-align: center; margin-bottom: 60px; }
.flow-track {
  display: flex; gap: 40px; align-items: stretch;
  padding: 0 8vw; width: max-content;
  position: relative;
}
.flow-line {
  position: absolute; top: 50%; left: 0; right: 0; height: 2px; z-index: 0;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3) 8%, rgba(34, 211, 238, 0.3) 92%, transparent);
}
.flow-packet {
  position: absolute; top: 50%; left: 0; width: 14px; height: 14px; z-index: 1;
  margin-top: -7px; border-radius: 50%;
  background: var(--cyan-bright);
  box-shadow: 0 0 18px var(--cyan-bright), 0 0 44px rgba(0, 240, 255, 0.6);
}
.flow-node {
  position: relative; z-index: 2;
  width: min(400px, 74vw);
  border-radius: var(--radius);
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  padding: 34px;
}
.flow-node .idx {
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--cyan);
  letter-spacing: 0.3em; display: block; margin-bottom: 14px;
}
.flow-node h3 { font-size: 1.35rem; }
.flow-node p { font-size: 0.92rem; margin: 0; }

/* ── Trust & risk panel ──────────────────────────────────── */
.trust-panel {
  border-radius: var(--radius);
  border: 1px solid rgba(138, 147, 166, 0.25);
  background: linear-gradient(165deg, rgba(20, 27, 46, 0.7), rgba(13, 18, 32, 0.55));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 48px;
}
.trust-panel h2 { font-size: 1.6rem; }
.trust-panel .rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.trust-panel .rows h4 {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--silver); margin-bottom: 10px;
}
.trust-panel .rows p { font-size: 0.9rem; margin: 0; }

/* ── Metrics ─────────────────────────────────────────────── */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.metric {
  padding: 34px 20px; text-align: center;
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  position: relative; overflow: hidden;
}
.metric::before {
  content: ""; position: absolute; top: 0; left: 15%; right: 15%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.5), transparent);
}
.metric .num {
  font-family: var(--font-mono); font-size: 2.3rem; font-weight: 700;
  color: var(--cyan); text-shadow: 0 0 30px var(--accent-glow);
}
.metric .label {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.22em; margin-top: 8px;
}

/* ── Final CTA ───────────────────────────────────────────── */
.final-cta {
  position: relative; text-align: center;
  padding: 170px 0; overflow: hidden;
}
.final-cta .mesh {
  position: absolute; inset: -10%; z-index: 0; filter: blur(80px); opacity: 0.55;
  background:
    radial-gradient(500px 360px at 25% 60%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(560px 400px at 75% 40%, rgba(99, 102, 241, 0.18), transparent 70%);
  animation: drift 18s ease-in-out infinite alternate;
}
.final-cta .container { position: relative; z-index: 1; }

/* ── Cards (inner pages inherit) ─────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform 450ms var(--ease-out), border-color var(--ease), box-shadow var(--ease);
  overflow: hidden;
}
.card::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: var(--shadow-sm), 0 0 34px rgba(34, 211, 238, 0.1);
}
.card h3 { color: var(--text); font-size: 1.22rem; }
.card .icon {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.14), rgba(99, 102, 241, 0.08));
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: var(--cyan); margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }

.badge {
  display: inline-block; font-family: var(--font-mono);
  font-size: 0.64rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.18em; padding: 6px 12px; border-radius: 6px;
}
.badge-gold { background: rgba(34, 211, 238, 0.1); color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.35); }
.badge-silver { background: rgba(99, 102, 241, 0.1); color: #A5B4FC; border: 1px solid rgba(99, 102, 241, 0.35); }
.badge-green { background: rgba(34, 197, 94, 0.1); color: var(--green); border: 1px solid rgba(34, 197, 94, 0.35); }

/* ── Stats (legacy pages) ────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stats .stat {
  padding: 30px 18px; border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
}
.stats .stat .num { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--cyan); text-shadow: 0 0 26px var(--accent-glow); }
.stats .stat .label { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.18em; margin-top: 6px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  text-transform: uppercase; letter-spacing: 0.24em;
  font-size: 0.7rem; font-weight: 500; color: var(--cyan);
  padding: 8px 18px; border-radius: 8px;
  background: rgba(34, 211, 238, 0.06);
  border: 1px solid rgba(34, 211, 238, 0.25);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 2s infinite; }
.hero p.lead { font-size: 1.15rem; max-width: 700px; margin: 0 auto 36px; }
.section-head .line {
  width: 72px; height: 2px; margin: 18px auto 0; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.hero-inner-bg { padding: 90px 0 60px; }

/* ── Pricing ─────────────────────────────────────────────── */
.plan { display: flex; flex-direction: column; }
.plan .price { font-family: var(--font-mono); font-size: 2.7rem; font-weight: 700; color: var(--text); margin: 14px 0 4px; }
.plan .price span { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; padding: 0; margin: 22px 0; }
.plan ul li { padding: 9px 0 9px 30px; position: relative; color: var(--muted); }
.plan ul li::before {
  content: ""; position: absolute; left: 0; top: 13px; width: 15px; height: 15px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.plan.featured {
  border-color: rgba(34, 211, 238, 0.6);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.3), var(--shadow), 0 0 60px rgba(34, 211, 238, 0.1);
  transform: scale(1.03);
}
.plan.featured:hover { transform: scale(1.03) translateY(-5px); }
.plan.featured .ribbon {
  position: absolute; top: 18px; right: 18px;
  background: linear-gradient(120deg, var(--cyan), var(--cyan-bright)); color: #041016;
  font-family: var(--font-mono); font-size: 0.62rem; font-weight: 700; padding: 6px 14px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.14em;
  box-shadow: 0 4px 18px rgba(34, 211, 238, 0.4);
}

/* ── Payment icons ───────────────────────────────────────── */
.pay-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.pay-icon {
  position: relative;
  width: 64px; height: 44px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  transition: all var(--ease);
  cursor: default;
}
.pay-icon svg { width: 36px; height: 26px; }
.pay-icon:hover { transform: translateY(-3px); border-color: rgba(34, 211, 238, 0.5); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.pay-icon .tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(4px);
  padding: 5px 12px; border-radius: 7px; white-space: nowrap;
  font-family: var(--font-mono); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  background: rgba(5, 7, 13, 0.96); color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.4);
  opacity: 0; pointer-events: none; transition: all var(--ease);
  z-index: 5;
}
.pay-icon .tip::after {
  content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: rgba(34, 211, 238, 0.4);
}
.pay-icon:hover .tip, .pay-icon:focus-visible .tip { opacity: 1; transform: translateX(-50%) translateY(0); }
.pay-icon.soon svg { opacity: 0.4; filter: grayscale(0.6); transition: all var(--ease); }
.pay-icon.soon::after {
  content: ""; position: absolute; inset: 0; border-radius: 10px;
  background: rgba(5, 7, 13, 0); transition: background var(--ease);
}
.pay-icon.soon:hover::after { background: rgba(5, 7, 13, 0.55); }
.pay-icon.soon .tip { color: var(--silver); border-color: rgba(138, 147, 166, 0.4); }
.pay-icon.soon .tip::after { border-top-color: rgba(138, 147, 166, 0.4); }
.pay-icon.active-method .tip { color: var(--green); border-color: rgba(34, 197, 94, 0.4); }
.pay-icon.active-method .tip::after { border-top-color: rgba(34, 197, 94, 0.4); }

/* ── Testimonials (kept for other pages if used) ─────────── */
.testimonial { display: flex; flex-direction: column; gap: 16px; }
.testimonial .starrow { display: flex; gap: 4px; color: var(--cyan); }
.testimonial .starrow svg { width: 15px; height: 15px; }
.testimonial blockquote { margin: 0; color: var(--text); font-size: 0.96rem; line-height: 1.7; }
.testimonial .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial .who .ava {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; color: #041016;
  background: linear-gradient(120deg, var(--cyan), var(--violet));
  font-family: var(--font-display);
}
.testimonial .who .meta strong { display: block; color: var(--text); font-size: 0.92rem; }
.testimonial .who .meta span { font-size: 0.78rem; color: var(--silver-dim); font-family: var(--font-mono); }

/* ── Forms ───────────────────────────────────────────────── */
.auth-wrap { max-width: 460px; margin: 56px auto; }
.form-card {
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius); padding: 38px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.form-card::before {
  content: ""; position: absolute; top: 0; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--text); }
.field input {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  background: rgba(5, 7, 13, 0.6); border: 1px solid var(--glass-border); color: var(--text);
  font-size: 0.98rem; font-family: inherit; transition: border-color var(--ease), box-shadow var(--ease);
}
.field input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15), 0 0 24px rgba(34, 211, 238, 0.08); }
.form-alt { text-align: center; margin-top: 18px; font-size: 0.92rem; color: var(--muted); }

.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 0.92rem; backdrop-filter: blur(8px); }
.alert-error { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }
.alert-success { background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac; }

/* ── Legal ───────────────────────────────────────────────── */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { margin-top: 2em; font-size: 1.4rem; color: var(--cyan); }
.legal h3 { margin-top: 1.4em; font-size: 1.08rem; color: var(--text); }
.legal p, .legal li { color: var(--muted); }
.accordion-item {
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm); margin-bottom: 12px;
  overflow: hidden; background: var(--panel);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--ease);
}
.accordion-item:hover { border-color: rgba(34, 211, 238, 0.35); }
.accordion-item summary { cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after { content: "+"; color: var(--cyan); font-size: 1.3rem; }
.accordion-item[open] summary::after { content: "−"; }
.accordion-item .acc-body { padding: 0 22px 20px; color: var(--muted); }

/* ── Profile ─────────────────────────────────────────────── */
.dash-grid { display: grid; grid-template-columns: 270px 1fr; gap: 28px; }
.dash-side {
  background: var(--panel);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  border: 1px solid var(--glass-border); border-radius: var(--radius); padding: 24px; height: fit-content;
}
.dash-glance { margin-bottom: 18px; }
.dash-glance-plan { display: block; margin-top: 8px; font-size: 0.82rem; color: var(--cyan); font-family: var(--font-mono); }
.dash-side .avatar {
  width: 66px; height: 66px; border-radius: 50%;
  background: linear-gradient(120deg, #D4AF37, #C0C0C0); color: #041016;
  display: grid; place-items: center; font-weight: 700; font-size: 1.5rem; margin-bottom: 14px;
  font-family: var(--font-display);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.35);
}
.ticket-list { display: flex; flex-direction: column; gap: 14px; }
.ticket-row {
  position: relative; padding: 18px 20px;
  border: 1px solid rgba(120, 150, 200, 0.14); border-radius: var(--radius-sm);
  background: rgba(13, 18, 32, 0.55);
}
.ticket-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.ticket-cat { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; color: var(--silver); text-transform: uppercase; }
.ticket-body { margin: 0 0 8px; color: var(--text); font-size: 0.92rem; line-height: 1.55; }
.ticket-date { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.12em; color: var(--silver-dim); }
.ticket-reply {
  margin-top: 14px; padding: 14px; border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 211, 238, 0.2); background: rgba(34, 211, 238, 0.05);
}
.ticket-reply p { margin: 8px 0 0; font-size: 0.88rem; color: var(--silver); }
.dash-side nav a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--text); font-size: 0.95rem; }
.dash-side nav a:hover, .dash-side nav a.active { background: rgba(34, 211, 238, 0.08); color: var(--cyan); }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  margin-top: auto; position: relative;
  border-top: 1px solid rgba(120, 150, 200, 0.08);
  background: rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 60px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 44px; }
.footer-grid h4 {
  font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.24em; color: var(--silver-dim); margin-bottom: 16px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul li a { color: var(--muted); font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--cyan); }
.footer-brand img { height: 44px; margin-bottom: 14px; filter: drop-shadow(0 0 14px rgba(34, 211, 238, 0.3)); }
.footer-brand .footer-logo-img { height: 64px; width: auto; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.03);
  display: grid; place-items: center; color: var(--silver); transition: all var(--ease);
}
.socials a:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-3px); box-shadow: 0 6px 18px rgba(34, 211, 238, 0.2); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  border-top: 1px solid rgba(120, 150, 200, 0.08); padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  color: var(--silver-dim); font-size: 0.78rem; font-family: var(--font-mono);
}

/* ── Intro overlay ───────────────────────────────────────── */
.intro {
  position: fixed; inset: 0; z-index: 300;
  background: var(--bg);
  display: grid; place-items: center;
  transition: opacity 600ms var(--ease-out), visibility 600ms;
}
.intro.done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro .word {
  font-family: var(--font-display); font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text);
}
.intro .word .accent { color: var(--cyan); }

/* ── Reveal helpers ──────────────────────────────────────── */
.reveal, .reveal-stagger > * { will-change: auto; }
body[data-motion="full"] .reveal,
body[data-motion="full"] .reveal-stagger > * { will-change: transform, opacity; }
.parallax-slow { will-change: auto; }
body[data-motion="full"] .parallax-slow { will-change: transform; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 200px; }
  .b-span-7 { grid-column: span 6; grid-row: span 2; }
  .b-span-5, .b-span-5t, .b-span-6 { grid-column: span 6; }
}
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .stats, .metrics { grid-template-columns: repeat(2, 1fr); }
  .trust-panel .rows { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .plan.featured:hover { transform: translateY(-5px); }
}
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .site-header { padding-top: env(safe-area-inset-top, 0); }
  .nav { height: 72px; gap: 8px; }
  .nav-actions {
    flex-wrap: wrap; justify-content: flex-end; gap: 8px;
    max-width: min(100%, 220px);
  }
  .nav-actions .btn { padding: 10px 14px; font-size: 0.78rem; min-height: 44px; }
  .nav-toggle {
    display: flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 8px;
  }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column;
    background: rgba(5, 7, 13, 0.98);
    backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom: 1px solid var(--glass-border); padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0)); gap: 4px; display: none;
    max-height: calc(100dvh - 72px); overflow-y: auto;
  }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; }
  .nav-links a { padding: 12px 0; width: 100%; min-height: 44px; display: flex; align-items: center; }
  .nav-has-sub { width: 100%; }
  .nav-sub {
    display: none;
    width: 100%;
    padding: 0 0 8px 16px;
    border-left: 1px solid var(--glass-border);
    margin: 0 0 4px 4px;
  }
  .nav-has-sub.is-open > .nav-sub {
    display: block;
  }
  .nav-has-sub.is-open > .nav-sub[hidden] {
    display: block !important;
  }
  .nav-sub a {
    padding: 10px 12px;
    font-size: 0.78rem;
  }
  .nav-toggle { display: block; }
  .launch-wrap { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding: 72px 0 100px; }
  .hero-logo { max-width: 200px; height: auto; margin: 0 auto; }
  .hero-brand-lockup { padding: 10px 14px; }
  .mega { font-size: clamp(2rem, 10vw, 4.5rem); letter-spacing: -0.03em; }
  .vision { padding: 80px 0; }
  .final-cta { padding: 90px 0; }
  .trust-panel { padding: 24px 18px; }
  .page-head { padding: 100px 0 32px; }
  body.page-memecoin .page-head h1 {
    font-size: clamp(1.28rem, 4.2vw, 1.5rem);
    max-width: none;
    text-wrap: pretty;
  }
  .page-head-meta { gap: 16px 20px; font-size: 0.82rem; }
  .term-label { letter-spacing: 0.18em; font-size: 0.66rem; }
  .btn, .btn-lg { min-height: 44px; }
  .trow { flex-wrap: wrap; gap: 4px 12px; }
  .trow .v { text-align: left; }
  .hud-readouts { gap: 16px 24px; margin-top: 28px; font-size: 0.68rem; }
  .tv-ticker { min-height: 42px; overflow: hidden; }
  .tv-ticker .tradingview-widget-container { overflow: hidden; }
  .access-panel { padding: 24px 18px; }
  .path-card { padding: 22px 18px; }
  .tiers { grid-template-columns: 1fr; }
  .auth-modal-panel {
    width: min(440px, calc(100vw - 24px));
    max-height: min(90dvh, 720px);
    overflow-y: auto;
    padding: 32px 22px calc(28px + env(safe-area-inset-bottom, 0));
  }
  .auth-modal-close { min-width: 44px; min-height: 44px; display: grid; place-items: center; }
  input, select, textarea, .faq-search { font-size: 16px; }
  /* mobile: vertical flow instead of pinned horizontal */
  .flow-track { flex-direction: column; width: auto; padding: 0; }
  .flow-line, .flow-packet { display: none; }
  .flow-node { width: 100%; }
  .pin-stage { min-height: auto; padding: 40px 0; }
}
@media (max-width: 480px) {
  .grid-4, .stats, .metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-actions { max-width: 100%; }
  .nav-actions .btn-ghost { padding: 10px 12px; }
  .wiz-options { grid-template-columns: 1fr; }
  .tv-grid { grid-template-columns: 1fr; }
  .watchlist .wl-cell { padding: 22px 18px; }
  .watchlist .wl-cell .num { font-size: 1.6rem; }
  .vision .boot-panel { padding: 24px 18px; }
  .section-head { margin-bottom: 40px; }
}

/* ═══════════════════════════════════════════════════════════════════
   v4 — WALL STREET TERMINAL LAYER · HUD primitives & instrumented sections
   ═══════════════════════════════════════════════════════════════════ */

/* Terminal section label: [ 02 / SIGNAL ACCESS ] */
.term-label {
  font-family: var(--font-mono);
  font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--cyan);
}
.term-label .dim { color: var(--muted); }

/* Corner-bracket HUD decoration — add <i class="hcorn hcorn-t"></i><i class="hcorn hcorn-b"></i> inside a positioned panel */
.hcorn { position: absolute; left: 10px; right: 10px; height: 16px; pointer-events: none; }
.hcorn-t { top: 10px; }
.hcorn-b { bottom: 10px; }
.hcorn::before, .hcorn::after {
  content: ""; position: absolute; width: 16px; height: 16px;
  border-color: rgba(34, 211, 238, 0.55); border-style: solid; border-width: 0;
}
.hcorn-t::before { left: 0; top: 0; border-top-width: 1px; border-left-width: 1px; }
.hcorn-t::after { right: 0; top: 0; border-top-width: 1px; border-right-width: 1px; }
.hcorn-b::before { left: 0; bottom: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hcorn-b::after { right: 0; bottom: 0; border-bottom-width: 1px; border-right-width: 1px; }

/* Scanline texture (very subtle) */
.scanlines::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background: repeating-linear-gradient(180deg, rgba(140, 200, 255, 0.028) 0 1px, transparent 1px 3px);
  mix-blend-mode: screen;
}

/* Status pulse */
.status-line {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.68rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
}
.status-line .status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 12px var(--green);
  animation: pulse 2s infinite;
}
.status-line b { color: var(--green); font-weight: 500; }

/* Live numbers with tick-flash */
.live-num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
@keyframes flashUp { 0% { color: var(--green); text-shadow: 0 0 14px rgba(34,197,94,0.7); } 100% { color: inherit; text-shadow: none; } }
@keyframes flashDown { 0% { color: var(--red); text-shadow: 0 0 14px rgba(239,68,68,0.7); } 100% { color: inherit; text-shadow: none; } }
.flash-up { animation: flashUp 700ms ease-out; }
.flash-down { animation: flashDown 700ms ease-out; }

/* ── TradingView ticker container ── */
.tv-ticker {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid rgba(34, 211, 238, 0.12);
  background: rgba(5, 7, 13, 0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  min-height: 46px;
}

/* ── Vision boot terminal ── */
.vision { text-align: left; }
.vision .boot-panel {
  position: relative; max-width: 900px; margin: 0 auto;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(8, 11, 20, 0.72);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 42px 46px 46px;
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.06), var(--shadow-sm);
  overflow: hidden;
}
.vision .boot-bar { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.vision .boot-line {
  font-family: var(--font-mono);
  font-size: clamp(1rem, 2vw, 1.4rem);
  line-height: 1.8; color: var(--text); margin: 0;
  min-height: 5.4em;
}
.vision .boot-line .prompt { color: var(--cyan); }
.vision .boot-line .caret {
  display: inline-block; width: 0.55em; height: 1.1em;
  background: var(--cyan); vertical-align: text-bottom;
  animation: caretBlink 0.9s steps(1) infinite;
  box-shadow: 0 0 10px var(--accent-glow);
}
@keyframes caretBlink { 50% { opacity: 0; } }
#datastream { position: absolute; inset: 0; z-index: -1; opacity: 0.5; }

/* ── Signal Access terminal ── */
.access-panel {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.2);
  background: linear-gradient(170deg, rgba(13, 18, 32, 0.85), rgba(8, 11, 20, 0.7));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 54px 48px;
  overflow: hidden;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 44px 0 14px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 27px; left: 8%; right: 8%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 211, 238, 0.3), rgba(34, 211, 238, 0.3), transparent);
}
.step { position: relative; text-align: center; padding: 0 10px; }
.step .orb {
  width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; position: relative; z-index: 1;
  background: rgba(8, 11, 20, 0.95);
  border: 1px solid rgba(34, 211, 238, 0.5);
  color: var(--cyan);
  box-shadow: 0 0 26px rgba(34, 211, 238, 0.25);
}
.step.locked .orb { border-color: rgba(138, 147, 166, 0.3); color: var(--silver-dim); box-shadow: none; }
.step .orb svg { width: 22px; height: 22px; }
.step .s-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 10px;
}
.step.locked .s-label { color: var(--silver-dim); }
.step p { font-size: 0.88rem; margin-bottom: 14px; }
.step .btn { padding: 10px 22px; font-size: 0.85rem; }

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.path-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  padding: 34px;
  transition: border-color var(--ease), transform 450ms var(--ease-out), box-shadow var(--ease);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.path-card:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-4px); box-shadow: 0 0 34px rgba(34, 211, 238, 0.1); }
.path-card .p-tag {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 16px;
}
.path-card h3 { font-size: 1.3rem; }
.path-card .mt5-price {
  font-family: var(--font-mono); font-size: 2.4rem; font-weight: 700; color: var(--text);
  margin: 10px 0 2px;
}
.path-card .mt5-price span { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.path-card ul { list-style: none; padding: 0; margin: 18px 0 22px; }
.path-card ul li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); font-size: 0.9rem; }
.path-card ul li::before {
  content: ""; position: absolute; left: 0; top: 11px; width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/contain no-repeat;
}
.disclosure {
  margin-top: 26px; padding: 16px 20px; border-radius: var(--radius-sm);
  border: 1px solid rgba(138, 147, 166, 0.25);
  background: rgba(138, 147, 166, 0.05);
  font-size: 0.8rem; color: var(--muted); line-height: 1.6;
}
.disclosure b { color: var(--silver); font-weight: 600; }

/* ── Architecture HUD readouts ── */
.hud-readouts {
  display: flex; justify-content: center; gap: 44px; flex-wrap: wrap;
  margin-top: 44px;
  font-family: var(--font-mono); font-size: 0.74rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.hud-readouts b { color: var(--cyan); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ── Watchlist metrics ── */
.watchlist {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.16);
  background: rgba(8, 11, 20, 0.7);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  overflow: hidden;
}
.watchlist .wl-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 26px; border-bottom: 1px solid rgba(120, 150, 200, 0.1);
}
.watchlist .wl-rows { display: grid; grid-template-columns: repeat(4, 1fr); }
.watchlist .wl-cell {
  padding: 30px 26px; text-align: left;
  border-right: 1px solid rgba(120, 150, 200, 0.08);
}
.watchlist .wl-cell:last-child { border-right: 0; }
.watchlist .wl-cell .num {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 2rem; font-weight: 700; color: var(--cyan);
  text-shadow: 0 0 26px var(--accent-glow);
}
.watchlist .wl-cell .label {
  font-family: var(--font-mono); font-size: 0.64rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.22em; margin-top: 10px;
}

/* Trust panel — compliance module skin */
.trust-panel { position: relative; }
.trust-panel .term-label { display: inline-block; margin-bottom: 6px; }

/* Footer terminal extras */
.footer-status { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-legal { font-size: 0.74rem; color: var(--silver-dim); line-height: 1.7; max-width: 900px; font-family: var(--font-mono); }

@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .steps::before { display: none; }
  .paths { grid-template-columns: 1fr; }
  .access-panel { padding: 34px 24px; }
  .watchlist .wl-rows { grid-template-columns: 1fr 1fr; }
  .watchlist .wl-cell { border-bottom: 1px solid rgba(120,150,200,0.08); }
  .vision .boot-panel { padding: 30px 24px; }
}
@media (max-width: 480px) {
  .watchlist .wl-rows { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   v5 — SITE-WIDE TERMINAL LAYER
   tier cards · terminal data rows · unlock sequence · contact module
   page heads · FAQ terminal · legal reading system · TV widget cells
   ═══════════════════════════════════════════════════════════════════ */

/* ── Terminal data rows (replaces plain checkmark lists) ── */
.trows { margin: 18px 0 22px; border-top: 1px solid rgba(120, 150, 200, 0.1); }
.trow {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  padding: 9px 2px;
  border-bottom: 1px solid rgba(120, 150, 200, 0.1);
  font-size: 0.85rem;
}
.trow .k {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan); white-space: nowrap;
}
.trow .v { color: var(--muted); text-align: right; }

/* ── MT5 pricing tiers ── */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.tier {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(170deg, var(--panel-strong), var(--panel));
  padding: 28px 26px 26px;
  display: flex; flex-direction: column;
  transition: border-color var(--ease), transform 450ms var(--ease-out), box-shadow var(--ease);
  overflow: hidden;
}
.tier:hover { border-color: rgba(34, 211, 238, 0.4); transform: translateY(-4px); }
.tier.featured {
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 0 40px rgba(34, 211, 238, 0.12), inset 0 1px 0 rgba(160, 200, 255, 0.12);
}
.tier .tier-badge {
  position: absolute; top: 16px; right: 16px;
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 4px;
  color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.4);
  background: rgba(34, 211, 238, 0.07);
}
.tier .tier-badge.badge-green { color: var(--green); border-color: rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.07); }
.tier .t-name {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 14px;
}
.tier .t-price { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--text); line-height: 1; }
.tier .t-price small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.tier .t-per { font-family: var(--font-mono); font-size: 0.7rem; color: var(--silver-dim); margin: 8px 0 4px; letter-spacing: 0.08em; }
.tier .btn { margin-top: auto; }

/* ── Unlock sequence (signature moment) ── */
.steps-line { position: absolute; top: 27px; left: 8%; right: 8%; height: 1px; }
.steps-progress {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--cyan), var(--cyan-bright));
  box-shadow: 0 0 12px var(--accent-glow);
  transform: scaleX(0); transform-origin: left center;
}
.steps-spark {
  position: absolute; top: -3px; left: 0; width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan-bright); box-shadow: 0 0 16px 4px rgba(0, 240, 255, 0.6);
  opacity: 0;
}
.step .orb { transition: border-color 400ms, box-shadow 500ms, color 400ms; }
.step .orb .shackle { transform-origin: 8px 10px; transition: transform 450ms var(--ease-out); }
.step.is-unlocked .orb {
  border-color: rgba(34, 211, 238, 0.75); color: var(--cyan);
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.4);
}
.step.is-unlocked .orb .shackle { transform: translateX(3px) rotate(24deg); }
.step.is-unlocked .s-label { color: var(--cyan); }
.step .s-label, .step .orb { will-change: auto; }
.access-stamp {
  position: absolute; top: 46px; right: 48px; z-index: 3;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--cyan-bright);
  border: 1px solid rgba(0, 240, 255, 0.65); border-radius: 4px;
  padding: 10px 18px 10px 22px;
  background: rgba(0, 240, 255, 0.05);
  box-shadow: 0 0 26px rgba(0, 240, 255, 0.18), inset 0 0 18px rgba(0, 240, 255, 0.07);
  transform: rotate(-3deg);
  opacity: 0; pointer-events: none;
}
@media (max-width: 960px) { .access-stamp { position: static; display: inline-block; margin-top: 20px; } .steps-line { display: none; } }

/* ── Subpage head ── */
.page-head { position: relative; padding: 150px 0 40px; overflow: hidden; }
.page-head .mesh {
  position: absolute; inset: -20%; z-index: -1; filter: blur(90px); opacity: 0.45;
  background:
    radial-gradient(430px 300px at 25% 30%, rgba(34, 211, 238, 0.14), transparent 70%),
    radial-gradient(460px 320px at 75% 55%, rgba(99, 102, 241, 0.16), transparent 70%);
  animation: drift 24s ease-in-out infinite alternate;
}
.page-head h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); letter-spacing: -0.03em; margin: 20px 0 18px; }
.page-head .lead { max-width: 680px; font-size: 1.05rem; }
.page-head-meta {
  display: flex; gap: 34px; flex-wrap: wrap; margin-top: 30px; align-items: center;
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.page-head-meta b { color: var(--cyan); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ── Spec grid (bots page) ── */
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.spec-cell {
  position: relative; border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(165deg, var(--panel-strong), var(--panel));
  padding: 26px; overflow: hidden;
}
.spec-cell .num {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: 1.7rem; font-weight: 700; color: var(--cyan);
  text-shadow: 0 0 22px var(--accent-glow);
}
.spec-cell .label {
  font-family: var(--font-mono); font-size: 0.62rem; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.2em; margin-top: 8px;
}
@media (max-width: 960px) { .spec-grid { grid-template-columns: 1fr 1fr; } }

/* ── Robot module cards ── */
.robot-card {
  position: relative; border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: linear-gradient(170deg, var(--panel-strong), var(--panel));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 34px; overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color var(--ease), transform 450ms var(--ease-out), box-shadow var(--ease);
}
.robot-card:hover { border-color: rgba(34, 211, 238, 0.45); transform: translateY(-4px); box-shadow: 0 0 34px rgba(34, 211, 238, 0.1); }
.robot-card .r-tag {
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.24em;
  text-transform: uppercase; display: inline-block; padding: 5px 10px; border-radius: 4px;
  margin-bottom: 18px; align-self: flex-start;
}
.r-tag.t-green { color: var(--green); border: 1px solid rgba(34, 197, 94, 0.4); background: rgba(34, 197, 94, 0.06); }
.r-tag.t-cyan { color: var(--cyan); border: 1px solid rgba(34, 211, 238, 0.4); background: rgba(34, 211, 238, 0.06); }
.r-tag.t-red { color: var(--red); border: 1px solid rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.06); }
.robot-card h3 { font-family: var(--font-mono); letter-spacing: 0.06em; }

.faq-search-wrap {
  position: relative; padding: 28px 26px; margin-bottom: 8px;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.18);
  background: rgba(8, 11, 20, 0.72);
}
.faq-search-label {
  display: block; margin: 10px 0 8px;
  font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--muted);
}
.faq-search {
  width: 100%; padding: 14px 16px;
  background: rgba(5, 7, 13, 0.7);
  border: 1px solid rgba(120, 150, 200, 0.18);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-mono); font-size: 0.9rem;
}
.faq-search:focus { outline: none; border-color: rgba(34, 211, 238, 0.45); }
.faq-search-meta { margin: 10px 0 0; font-family: var(--font-mono); font-size: 0.68rem; color: var(--cyan); letter-spacing: 0.12em; }

/* ── Insider Terminal ── */
.insider-disclaimer {
  position: relative; padding: 22px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.06);
}
.insider-disclaimer p { margin: 10px 0 0; font-size: 0.9rem; color: var(--silver); line-height: 1.65; }
.insider-disclaimer b { color: var(--text); }
.insider-toolbar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.insider-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.insider-tab {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 10px 14px; border-radius: 8px;
  border: 1px solid rgba(120, 150, 200, 0.16); color: var(--muted);
  background: rgba(13, 18, 32, 0.55);
}
.insider-tab.active, .insider-tab:hover { color: var(--cyan); border-color: rgba(34, 211, 238, 0.4); }
.insider-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.insider-filters input[type="date"] {
  padding: 10px 12px; background: rgba(5,7,13,0.7); border: 1px solid rgba(120,150,200,0.18);
  border-radius: var(--radius-sm); color: var(--text); font-family: var(--font-mono); font-size: 0.78rem;
}
.insider-grid { display: grid; grid-template-columns: 1.7fr 0.9fr; gap: 20px; }
.insider-panel {
  position: relative; padding: 26px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.16);
  background: linear-gradient(165deg, rgba(13,18,32,0.9), rgba(8,11,20,0.75));
}
.insider-panel-head { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.insider-empty { margin: 18px 0 0; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }
.insider-table-wrap {
  overflow-x: auto; margin-top: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(34, 211, 238, 0.35) transparent;
}
.insider-table { width: 100%; border-collapse: collapse; font-family: var(--font-mono); font-size: 0.72rem; }
.insider-table th {
  text-align: left; letter-spacing: 0.14em; color: var(--cyan);
  padding: 10px 8px; border-bottom: 1px solid rgba(34, 211, 238, 0.2);
}
.insider-table td {
  padding: 10px 8px; border-bottom: 1px solid rgba(120, 150, 200, 0.1);
  color: var(--silver); white-space: nowrap;
}
.insider-table td.mono, .insider-table .mono { color: var(--text); }
.insider-table a { color: var(--cyan); }
.insider-entity-list { list-style: none; padding: 0; margin: 16px 0 0; }
.insider-entity-list li {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid rgba(120, 150, 200, 0.1);
  font-size: 0.88rem;
}
.insider-entity-list a { color: var(--text); }
@media (max-width: 960px) {
  .insider-grid { grid-template-columns: 1fr; }
}
.faq details {
  position: relative;
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  background: rgba(13, 18, 32, 0.55);
  margin-bottom: 12px; overflow: hidden;
  transition: border-color var(--ease);
}
.faq details[open] { border-color: rgba(34, 211, 238, 0.4); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 16px;
  padding: 18px 22px; font-weight: 600; color: var(--text); font-size: 0.95rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .qn {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em; color: var(--cyan);
  white-space: nowrap;
}
.faq summary::after {
  content: "+"; margin-left: auto; font-family: var(--font-mono);
  color: var(--cyan); transition: transform 300ms var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px 0; margin-left: 74px; color: var(--muted); font-size: 0.9rem; line-height: 1.7; }
@media (max-width: 640px) { .faq .a { margin-left: 22px; padding-right: 22px; } }

/* ── TradingView widget cells ── */
.tv-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.tv-cell {
  position: relative; height: 240px; border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: rgba(8, 11, 20, 0.6); overflow: hidden;
}
.tv-widget-slot { min-height: 240px; width: 100%; height: 100%; }
@media (max-width: 1100px) { .tv-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .tv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tv-grid { grid-template-columns: 1fr; } }

/* ── Footer contact module ── */
.contact-block {
  border: 1px solid rgba(34, 211, 238, 0.16); border-radius: var(--radius-sm);
  background: rgba(8, 11, 20, 0.5);
  padding: 20px;
}
.contact-block .c-title {
  font-family: var(--font-mono); font-size: 0.64rem; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--cyan); display: block; margin-bottom: 14px;
}
.contact-block .socials { display: flex; gap: 10px; margin-bottom: 16px; }
.contact-block .c-row {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em;
  color: var(--muted); padding: 6px 0;
}
.contact-block .c-row svg { width: 14px; height: 14px; color: var(--cyan); filter: drop-shadow(0 0 6px rgba(34, 211, 238, 0.5)); flex: none; }
.contact-block .c-row a { color: var(--muted); }
.contact-block .c-row a:hover { color: var(--cyan); }

/* ── Legal reading system ── */
.legal-layout { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }
.legal-toc {
  position: sticky; top: 110px;
  border: 1px solid var(--glass-border); border-radius: var(--radius-sm);
  background: rgba(13, 18, 32, 0.5); padding: 18px 6px 18px 18px;
  max-height: calc(100vh - 140px); overflow-y: auto;
}
.legal-toc a {
  display: block; padding: 6px 8px;
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em;
  color: var(--silver-dim); text-transform: uppercase;
  border-left: 1px solid transparent;
}
.legal-toc a:hover { color: var(--cyan); border-left-color: var(--cyan); }
.legal-panel {
  border: 1px solid var(--glass-border); border-radius: var(--radius);
  background: rgba(13, 18, 32, 0.55);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 50px 56px;
  max-width: 860px;
}
.legal-panel .l-sec { padding: 26px 0; border-bottom: 1px solid rgba(120, 150, 200, 0.08); scroll-margin-top: 110px; }
.legal-panel .l-sec:last-child { border-bottom: 0; }
.legal-panel .l-sec h2 {
  font-size: 1.05rem; display: flex; gap: 14px; align-items: baseline; margin-bottom: 12px;
}
.legal-panel .l-sec h2 .sn {
  font-family: var(--font-mono); font-size: 0.72rem; color: var(--cyan);
  letter-spacing: 0.12em; white-space: nowrap;
}
.legal-panel .l-sec p { font-size: 0.92rem; line-height: 1.85; margin: 0; }
.legal-updated {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--glass-border); border-radius: 4px; padding: 8px 14px;
}
@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { position: static; max-height: none; display: none; }
  .legal-panel { padding: 30px 24px; }
}

@media (max-width: 720px) {
  .tiers { grid-template-columns: 1fr; }
}
/* ── Ticket wizard ── */
.wiz-progress { width: 100%; height: 3px; background: rgba(120, 150, 200, 0.12); border-radius: 2px; margin: 16px 0 6px; }
.wiz-bar { height: 100%; width: 33.3%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); border-radius: 2px; transition: width 400ms var(--ease-out); }
.wiz-step-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 22px; }
.wiz-q { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin-bottom: 18px; }
.wiz-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 18px; }
.wiz-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 22px 14px; cursor: pointer;
  background: rgba(13, 18, 32, 0.6);
  border: 1px solid rgba(120, 150, 200, 0.14); border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.14em;
  transition: border-color 250ms, background 250ms, box-shadow 250ms;
}
.wiz-opt svg { width: 28px; height: 28px; color: var(--cyan); }
.wiz-opt:hover { border-color: rgba(34, 211, 238, 0.5); background: rgba(34, 211, 238, 0.06); box-shadow: 0 0 20px rgba(34, 211, 238, 0.1); }
.wiz-back { margin-top: 8px; font-size: 0.78rem; }
.wiz-quickfix {
  padding: 20px; margin-bottom: 20px; border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 211, 238, 0.2); background: rgba(34, 211, 238, 0.04);
}
.wiz-quickfix p { font-size: 0.88rem; margin: 10px 0 0; color: var(--silver); line-height: 1.6; }
.btn-sm { padding: 8px 18px; font-size: 0.72rem; }

/* ── Auth modal ── */
.auth-modal {
  position: fixed; inset: 0; z-index: 250;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 350ms var(--ease-out), visibility 350ms;
}
.auth-modal.open { opacity: 1; visibility: visible; }
.auth-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 7, 13, 0.75);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.auth-modal-panel {
  position: relative; z-index: 1;
  width: min(440px, 92vw);
  border-radius: var(--radius);
  border: 1px solid rgba(34, 211, 238, 0.25);
  background: linear-gradient(170deg, rgba(13, 18, 32, 0.92), rgba(8, 11, 20, 0.85));
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  padding: 40px 36px 34px;
  box-shadow: 0 0 60px rgba(34, 211, 238, 0.08);
  transform: scale(0.95) translateY(16px);
  transition: transform 350ms var(--ease-out);
}
.auth-modal.open .auth-modal-panel { transform: scale(1) translateY(0); }
.auth-modal-close {
  position: absolute; top: 16px; right: 18px; z-index: 2;
  background: none; border: none; color: var(--muted); font-size: 1.6rem;
  cursor: pointer; line-height: 1;
  transition: color 200ms;
}
.auth-modal-close:hover { color: var(--cyan); }
.auth-modal-tabs {
  display: flex; gap: 0; margin-bottom: 26px;
  border-bottom: 1px solid rgba(120, 150, 200, 0.14);
}
.auth-tab {
  flex: 1; background: none; border: none; border-bottom: 2px solid transparent;
  padding: 10px 0; cursor: pointer;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.2em; color: var(--muted);
  transition: color 250ms, border-color 250ms;
}
.auth-tab.active { color: var(--cyan); border-bottom-color: var(--cyan); }
.auth-modal-note {
  text-align: center; margin: 22px 0 0; font-size: 0.72rem;
}

/* ── Launch App popover ── */
.launch-wrap { position: relative; }
.btn-launch {
  padding: 10px 20px; font-size: 0.82rem; opacity: 0.7;
  border: 1px solid rgba(138, 147, 166, 0.3);
  background: none; color: var(--silver);
  cursor: default;
  transition: opacity 300ms, border-color 300ms;
}
.btn-launch:hover { opacity: 1; border-color: rgba(34, 211, 238, 0.4); }
.launch-badge {
  font-family: var(--font-mono); font-size: 0.5rem; letter-spacing: 0.14em;
  text-transform: uppercase; padding: 2px 6px; border-radius: 3px;
  background: rgba(34, 211, 238, 0.12); color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.3);
  margin-left: 8px; vertical-align: middle;
}
.launch-pop {
  position: absolute; top: calc(100% + 12px); right: 0; z-index: 60;
  width: 280px; padding: 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(13, 18, 32, 0.92);
  backdrop-filter: blur(var(--blur)); -webkit-backdrop-filter: blur(var(--blur));
  box-shadow: 0 0 30px rgba(34, 211, 238, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 250ms, visibility 250ms, transform 250ms var(--ease-out);
  pointer-events: none;
}
.launch-pop.visible { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.launch-pop .term-label { display: block; margin-bottom: 10px; }
.launch-pop p { font-size: 0.82rem; margin: 0; color: var(--muted); line-height: 1.6; }

/* ── Lite motion profile (FAQ, Signals, Robots, About, …) ──
   Same perf philosophy as Insider Terminal: no GPU blur stacks, no grain, no mesh blur. */
body[data-motion="lite"] {
  --panel: var(--panel-solid);
  --panel-strong: var(--panel-solid);
  --blur: 0px;
}
body[data-motion="lite"] .noise { display: none !important; }
body[data-motion="lite"] .mesh { display: none !important; }
body[data-motion="lite"] .reveal,
body[data-motion="lite"] .reveal-stagger > *,
body[data-motion="lite"] .parallax-slow {
  will-change: auto;
}
body[data-motion="lite"] * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body[data-motion="lite"] .site-header {
  background: rgba(3, 5, 10, 0.94);
}
body[data-motion="lite"] .card,
body[data-motion="lite"] .bento-card,
body[data-motion="lite"] .path-card,
body[data-motion="lite"] .access-panel,
body[data-motion="lite"] .trust-panel,
body[data-motion="lite"] .faq-item,
body[data-motion="lite"] .alert {
  background: var(--panel-solid);
}
body[data-motion="lite"] .steps-progress { transform: scaleX(1); }
body[data-motion="lite"] .access-stamp { opacity: 1; }

/* Home full: solid panels on scroll-heavy sections (GPU save; hero glass unchanged) */
body[data-motion="full"] .bento-card,
body[data-motion="full"] .card,
body[data-motion="full"] .path-card,
body[data-motion="full"] .access-panel,
body[data-motion="full"] .trust-panel,
body[data-motion="full"] .boot-panel,
body[data-motion="full"] .faq-item {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: var(--panel-solid);
}
body[data-motion="full"] .site-header {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(3, 5, 10, 0.92);
}

/* Home: skip grain on small screens (GPU save) */
@media (max-width: 768px) {
  body[data-motion="full"] .noise { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .ticker { animation: none !important; }
  .noise { display: none; }
  .intro { display: none; }
  #datastream { display: none; }
  .vision .boot-line { min-height: 0; }
  .steps-progress { transform: scaleX(1) !important; }
  .step .orb, .step .s-label { transition: none; }
  .access-stamp { opacity: 1 !important; }
}

/* ── Cookie consent banner ── */
body.cookie-consent-open { overflow: hidden; }
.cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(3, 5, 10, 0.72);
  backdrop-filter: blur(4px);
}
.cookie-consent[hidden] { display: none !important; }
.cookie-consent-panel {
  width: min(560px, 100%);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--panel-solid);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}
.cookie-consent-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 8px;
}
.cookie-consent-text {
  font-size: 0.92rem;
  color: var(--silver);
  margin: 0 0 16px;
  line-height: 1.55;
}
.cookie-consent-text a { color: var(--cyan); text-decoration: underline; }
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-consent-actions .btn {
  min-height: 44px;
  flex: 1 1 140px;
}
@media (max-width: 480px) {
  .cookie-consent-actions { flex-direction: column; }
  .cookie-consent-actions .btn { width: 100%; flex: none; }
}

/* ── OTP / Turnstile auth ── */
.otp-input {
  font-family: var(--font-mono);
  font-size: 1.35rem !important;
  letter-spacing: 0.35em;
  text-align: center;
  min-height: 52px;
}
.turnstile-wrap {
  display: flex;
  justify-content: center;
  min-height: 65px;
  overflow: hidden;
}
.otp-resend .btn,
.otp-form .btn {
  min-height: 44px;
}
.alert-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #86efac;
  padding: 12px 14px;
  border-radius: 8px;
  margin-bottom: 14px;
}
@media (max-width: 390px) {
  .auth-wrap { padding: 0 4px; }
  .form-card { padding: 20px 16px; }
  .turnstile-wrap { transform: scale(0.92); transform-origin: center top; }
}

/* ══ ZyrodeX_MemeCoin ══ */
.meme-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}
body.page-memecoin .page-head h1 {
  font-size: clamp(1.4rem, 1.6vw + 0.85rem, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 650;
  max-width: 22em;
  margin: 16px 0 14px;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
  hyphens: none;
}
.page-head .container { position: relative; z-index: 1; }
.mc-scan {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.mc-scan-field { display: flex; flex-direction: column; gap: 6px; min-width: 140px; }
.mc-scan-addr { flex: 1 1 240px; min-width: 200px; }
.mc-scan select,
.mc-scan input {
  min-height: 44px;
  background: rgba(6, 10, 20, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--text, #e8eef7);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.9rem;
}
.mc-scan-out { margin-top: 8px; }
.mc-compare-section .mc-compare-head { margin-bottom: 8px; }
.mc-compare-lead { margin: 4px 0 0; font-size: 0.82rem; }
.mc-compare {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 6px;
}
.mc-compare-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: flex-end;
}
.mc-compare-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 110px;
}
.mc-compare-field .term-label { font-size: 0.7rem; }
.mc-compare-addr { flex: 1 1 180px; min-width: 0; }
.mc-compare select,
.mc-compare input {
  min-height: 44px;
  background: rgba(6, 10, 20, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--text, #e8eef7);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 16px;
}
.mc-compare-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.mc-compare-out { margin-top: 6px; }
.mc-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.mc-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}
.mc-compare-table th,
.mc-compare-table td {
  padding: 4px 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  text-align: left;
  vertical-align: top;
}
.mc-compare-table th {
  color: rgba(148, 163, 184, 0.9);
  font-weight: 600;
  white-space: nowrap;
}
.mc-compare-table td.mono { font-family: var(--font-mono, "JetBrains Mono", monospace); }
.mc-compare-caption {
  margin-top: 6px;
  font-size: 0.75rem;
}
.mc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.mc-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  position: relative;
  padding: 18px 16px 16px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: linear-gradient(160deg, rgba(34, 211, 238, 0.06), rgba(6, 10, 20, 0.92));
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.mc-card-actions { margin-top: auto; }
.mc-spark-mini[hidden] { display: none !important; }
.mc-chips:empty { display: none; }
.mc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 24px rgba(34, 211, 238, 0.12);
}
.mc-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.mc-chain {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  padding: 2px 6px;
  border-radius: 4px;
}
.mc-sym { font-size: 1.15rem; }
.mc-name { font-size: 0.78rem; color: var(--muted); margin-top: 2px; }
.mc-rug { text-align: right; }
.mc-rug span { display: block; font-size: 0.65rem; color: var(--muted); letter-spacing: 0.06em; }
.mc-rug b { display: block; font-size: 1.6rem; line-height: 1.1; color: var(--cyan); }
.mc-rug em { font-style: normal; font-size: 0.7rem; letter-spacing: 0.05em; }
.mc-band-low .mc-rug b { color: var(--cyan); }
.mc-band-elevated .mc-rug b { color: var(--violet); }
.mc-band-high .mc-rug b,
.mc-band-critical .mc-rug b { color: #f87171; }
.mc-band-critical { border-color: rgba(248, 113, 113, 0.55); }
.mc-price { margin: 10px 0 4px; font-size: 0.92rem; }
.mc-liq { font-size: 0.74rem; margin-bottom: 10px; }
.mc-meter { margin: 8px 0; }
.mc-meter-top { display: flex; justify-content: space-between; font-size: 0.72rem; margin-bottom: 4px; color: var(--muted); }
.mc-meter-track {
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.18);
  overflow: hidden;
}
.mc-meter-fill { height: 100%; border-radius: 999px; background: var(--cyan); }
.mc-meter-conc .mc-meter-fill { background: var(--violet); }
.mc-meter-safe .mc-meter-fill { background: var(--cyan); }
.mc-meter-mom .mc-meter-fill { background: #67e8f9; }
.mc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.mc-chip {
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--muted);
}
.mc-chip-ok { border-color: rgba(34, 211, 238, 0.4); color: var(--cyan); }
.mc-chip-bad { border-color: rgba(248, 113, 113, 0.45); color: #fca5a5; }
.mc-expand { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(148, 163, 184, 0.18); }
.mc-holders { margin: 10px 0; }
.mc-holder-row { display: grid; grid-template-columns: 88px 1fr 52px; gap: 8px; align-items: center; margin: 4px 0; font-size: 0.72rem; }
.mc-holder-bar { height: 6px; background: rgba(148, 163, 184, 0.15); border-radius: 999px; overflow: hidden; }
.mc-holder-bar i { display: block; height: 100%; background: var(--violet); }
.mc-check { list-style: none; margin: 0; padding: 0; }
.mc-check li {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  font-size: 0.82rem; min-height: 40px; align-items: center;
}
.mc-check .is-pass b { color: var(--cyan); }
.mc-check .is-fail b { color: #f87171; }
.mc-deployer-banner {
  margin: 10px 0;
  padding: 10px 12px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  color: #fecaca;
  background: rgba(248, 113, 113, 0.08);
}
.mc-muted { color: var(--muted); font-size: 0.8rem; }
.mc-method {
  border: 1px solid rgba(34, 211, 238, 0.22);
  padding: 12px 14px;
  background: rgba(6, 10, 20, 0.65);
}
.mc-disclaimer { margin-top: 8px; }
.t-green { color: #4ade80; }
.t-red { color: #f87171; }
.mc-band-unknown .mc-rug b { color: var(--muted); }
.mc-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}
.mc-filter-note { margin: 0 0 14px; font-size: 0.86rem; line-height: 1.55; max-width: 72ch; }
.mc-safer-hint { display: inline; color: var(--cyan); }
.mc-filters {
  border: 1px solid rgba(34, 211, 238, 0.22);
  padding: 12px 14px;
  background: rgba(6, 10, 20, 0.65);
  margin-bottom: 14px;
}
.mc-filters > summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  list-style: none;
}
.mc-filters > summary::-webkit-details-marker { display: none; }
.mc-filter-form { margin-top: 12px; }
.mc-filter-block {
  border: 0;
  margin: 0 0 16px;
  padding: 0;
}
.mc-filter-block legend { margin-bottom: 8px; }
.mc-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}
.mc-filter-nums label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--muted);
}
.mc-filter-form input[type="number"] {
  min-height: 44px;
  width: 100%;
  background: rgba(6, 10, 20, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--text, #e8eef7);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 0.9rem;
}
.mc-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}
.mc-check-lab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.84rem;
  color: var(--text, #e8eef7);
  cursor: pointer;
}
.mc-check-lab input {
  width: 18px;
  height: 18px;
  accent-color: var(--cyan);
}
.mc-count { margin: 0 0 14px; }
.mc-toolbar { margin-bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between; }

/* Token Advertising */
#mcAdvertiseBtn { margin-left: auto; }
.mc-sponsored { margin-bottom: 24px; }
.mc-sponsored[hidden] { display: none !important; }
.mc-sponsored-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.mc-ad-caption { margin-top: 10px; font-size: 0.85rem; }
.mc-ad-crumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.mc-ad-crumb a { color: var(--cyan); min-height: 44px; display: inline-flex; align-items: center; }
.mc-ad-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.mc-ad-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.85rem;
}
.mc-ad-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: start;
}
.mc-ad-hero-line { font-size: 1.15rem; color: var(--text); line-height: 1.5; margin: 0 0 24px; }
.mc-ad-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.mc-ad-features li strong { display: block; margin: 6px 0; color: var(--text); }
.mc-ad-features p { margin: 0; color: var(--muted); }
.mc-ad-preview .term-label { margin-bottom: 10px; display: block; }
.mc-ad-banner {
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(0, 229, 255, 0.06), transparent 55%), var(--bg-elevated, rgba(255,255,255,0.03));
  border-radius: 12px;
  padding: 16px;
  max-width: 100%;
}
.mc-ad-banner-demo { position: sticky; top: 88px; }
.mc-ad-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  margin: 0 6px 10px 0;
  border-radius: 4px;
  background: rgba(255, 193, 7, 0.15);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.mc-ad-badge-alt {
  background: rgba(0, 229, 255, 0.12);
  color: var(--cyan);
}
.mc-ad-banner-row { display: flex; gap: 12px; align-items: center; }
.mc-ad-logo-slot {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
.mc-ad-zx-mark {
  width: 44px;
  height: 44px;
  flex: none;
}
.mc-ad-logo-img {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: block;
}
.mc-ad-logo-img.mc-ad-zx-placeholder {
  object-fit: contain;
  background: transparent;
  border-radius: 10px;
}
.mc-ad-logo-img.is-token-photo {
  object-fit: cover;
  border-radius: 10px;
  background: #111;
}
.mc-ad-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  background: #111;
  flex-shrink: 0;
}
.mc-ad-sym { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; }
.mc-ad-name { font-weight: 650; color: var(--text); }
.mc-ad-desc { margin: 12px 0; color: var(--muted); font-size: 0.95rem; line-height: 1.45; word-break: break-word; }
.mc-ad-banner-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mc-ad-fake-btn { pointer-events: none; opacity: 0.85; min-height: 44px; }
.mc-ad-steps {
  list-style: none;
  counter-reset: mc-ad-step;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}
.mc-ad-steps li {
  counter-increment: mc-ad-step;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px 16px 16px 56px;
  position: relative;
}
.mc-ad-steps li::before {
  content: counter(mc-ad-step);
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 229, 255, 0.15);
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.85rem;
}
.mc-ad-steps strong { color: var(--text); }
.mc-ad-steps p { margin: 6px 0 0; color: var(--muted); }
.mc-ad-disclaimer { margin-top: 28px; max-width: 720px; }
.mc-ad-gate {
  max-width: 480px;
  margin: 40px auto;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 20px;
}
.mc-ad-gate h2 { margin-top: 0; }
.mc-ad-gate a { color: var(--cyan); }
.mc-ad-order-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
}
.mc-ad-wizard .mc-ad-field { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.mc-ad-wizard select,
.mc-ad-wizard input,
.mc-ad-wizard textarea {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  color: var(--text);
  box-sizing: border-box;
}
.mc-ad-wizard textarea { min-height: 96px; resize: vertical; }
.mc-ad-packages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}
.mc-ad-pkg {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  min-height: 44px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%;
}
.mc-ad-pkg.is-selected {
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan);
}
.mc-ad-pkg-label { font-weight: 650; }
.mc-ad-pkg-price { color: var(--gold); font-size: 1.2rem; }
.mc-ad-pkg-meta { color: var(--muted); font-size: 0.85rem; }
.mc-ad-pkg-discount {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 2px;
  word-break: break-word;
}
.mc-ad-step-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.mc-ad-summary { margin: 0; display: grid; gap: 10px; }
.mc-ad-summary > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.mc-ad-summary dt { color: var(--muted); margin: 0; }
.mc-ad-summary dd { margin: 0; color: var(--text); word-break: break-word; }
.mc-ad-mono { font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.85rem; }
.mc-ad-success { max-width: 560px; margin: 0 auto; }
.mc-ad-lookup-msg { min-height: 1.2em; margin: 8px 0; }

@media (max-width: 768px) {
  .mc-ad-hero-grid,
  .mc-ad-order-grid { grid-template-columns: 1fr; }
  .mc-ad-banner-demo { position: static; }
  .mc-ad-packages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-ad-summary > div { grid-template-columns: 1fr; }
  #mcAdvertiseBtn { margin-left: 0; width: 100%; justify-content: center; }
  .mc-toolbar .btn { width: 100%; justify-content: center; }
  .mc-ad-wizard select,
  .mc-ad-wizard input,
  .mc-ad-wizard textarea { font-size: 16px; }
}
@media (max-width: 480px) {
  .mc-sponsored-grid { grid-template-columns: 1fr; }
  .mc-ad-packages { grid-template-columns: 1fr; }
}
.mc-sort-lab {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}
.mc-sort-lab select {
  min-height: 44px;
  min-width: 200px;
  background: rgba(6, 10, 20, 0.9);
  border: 1px solid rgba(34, 211, 238, 0.28);
  color: var(--text, #e8eef7);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-mono, "JetBrains Mono", monospace);
}
.mc-title-row { display: flex; gap: 10px; align-items: flex-start; }
.mc-token-img {
  width: 36px;
  height: 36px;
  max-width: 36px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(148, 163, 184, 0.15);
}
.mc-spark-mini {
  width: 100%;
  max-width: 100%;
  height: 56px;
  display: block;
  margin: 8px 0 4px;
}
.mc-spark { width: 100%; max-width: 100%; height: 120px; display: block; }
.mc-more-wrap { margin-top: 18px; text-align: center; }
#mcTapeMeta { margin-bottom: 10px; }
.mc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.mc-star[aria-pressed="true"] { color: var(--cyan); border-color: rgba(34, 211, 238, 0.55); }
.mc-safer-line {
  margin: 8px 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.mc-compare-pick.is-picked,
.mc-compare-pick[aria-pressed="true"] {
  color: var(--cyan, #22d3ee);
  border-color: rgba(34, 211, 238, 0.65);
  box-shadow: 0 0 0 1px rgba(34, 211, 238, 0.35);
}
.mc-compare-tray {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(6, 10, 20, 0.96);
  border-top: 1px solid rgba(34, 211, 238, 0.28);
  max-width: 100%;
  box-sizing: border-box;
}
.mc-compare-tray[hidden] { display: none !important; }
.mc-compare-tray-text { margin: 0; font-size: 0.9rem; flex: 1 1 auto; min-width: 0; }
.mc-compare-tray-toast { margin: 0; width: 100%; font-size: 0.8rem; color: #f87171; }
.mc-compare-tray-actions { display: flex; gap: 8px; flex-wrap: wrap; }
body.mc-compare-tray-open {
  padding-bottom: calc(var(--mc-tray-pad, 72px) + env(safe-area-inset-bottom, 0px));
}
body.modal-open .mc-compare-tray { visibility: hidden; pointer-events: none; }

.mc-mywatch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 8px;
}
.mc-mywatch-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: min(100%, 280px);
  flex: 1 1 260px;
  padding: 12px 14px;
  border: 1px solid rgba(34, 211, 238, 0.22);
  background: rgba(6, 10, 20, 0.72);
}
.mc-mywatch-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.mc-desk {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  padding: 0;
  overflow: hidden;
}
.mc-desk[hidden] { display: none !important; }
.mc-desk-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}
.mc-desk-panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: none;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  padding: 10px 12px;
  border: none;
  border-radius: 0;
  background: #05070d;
  box-shadow: none;
}
.mc-desk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
  margin-bottom: 8px;
}
.mc-desk-head-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  min-width: 0;
}
.mc-desk-head h2 {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.mc-desk-price-strip {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-variant-numeric: tabular-nums;
}
.mc-desk-last { font-weight: 600; color: var(--text, #e2e8f0); }
.mc-desk-chg { font-size: 0.95rem; }
.mc-desk-stat {
  font-size: 0.8rem;
  color: var(--muted, #94a3b8);
  font-variant-numeric: tabular-nums;
}
.mc-desk-workspace {
  flex: 1 1 auto;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 10px;
}
.mc-desk-chart {
  min-height: 0;
  position: relative;
  width: 100%;
  max-width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: #05070d;
}
.mc-desk-chart iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.mc-desk-risk {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(148, 163, 184, 0.14);
  padding: 10px;
  background: #070a12;
  min-height: 0;
}
.mc-desk-risk .term-label { margin: 0 0 10px; }
.mc-desk-risk-body { font-size: 0.9rem; line-height: 1.45; }
.mc-desk-risk-body .mc-meter { margin: 6px 0; }
.mc-desk-risk-body .mc-meter-top { font-size: 0.8rem; }
.mc-desk-risk-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}
.mc-desk-risk-flags .mc-chip { font-size: 0.72rem; }
.mc-desk-risk-dep {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.mc-desk-risk-dep .mono { word-break: break-all; font-size: 0.8rem; }
.mc-desk-risk-cluster {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.mc-desk-cluster-tokens { margin: 4px 0 0; font-size: 0.8rem; }
.mc-dep-cluster { margin: 8px 0 0; font-size: 0.85rem; line-height: 1.4; }
.mc-dep-cluster-note { margin: 4px 0 0; font-size: 0.78rem; }
.mc-dep-cluster-insider { margin: 4px 0 0; font-size: 0.85rem; }
.mc-dep-cluster-insider a { color: var(--cyan); min-height: 44px; display: inline-flex; align-items: center; }
.mc-desk-copy {
  margin-left: 6px;
  min-height: 44px;
  padding: 0 10px;
  vertical-align: middle;
}
.mc-desk-risk-disc {
  margin-top: 12px;
  font-size: 0.78rem;
}
.mc-score-hist {
  margin: 12px 0 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.mc-score-hist-lab { margin: 0 0 6px; font-size: 0.72rem; }
.mc-score-hist-stats {
  margin: 0 0 6px;
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.mc-score-hist-when {
  margin: 0 0 8px;
  font-size: 0.78rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.mc-score-hist-canvas {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.mc-score-hist-cap { margin: 6px 0 0; font-size: 0.75rem; }
.mc-meter-na .mc-meter-fill { opacity: 0.15; }
.mc-desk-sol-safety-note {
  margin: 8px 0 10px;
  font-size: 0.78rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.mc-mw-alert {
  display: block;
  margin-top: 6px;
  font-size: 0.8rem;
  min-height: 44px;
}
.mc-desk-fallback {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  justify-content: center;
}
.mc-desk-note {
  flex-shrink: 0;
  margin: 6px 0 0;
  font-size: 0.8rem;
}
.mc-desk-foot {
  flex-shrink: 0;
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}
.mc-desk-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin: 0 0 4px;
}
.mc-desk-links a {
  color: var(--cyan);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.mc-desk-disc {
  margin: 0;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .mc-grid { grid-template-columns: 1fr; }
  .mc-scan { flex-direction: column; align-items: stretch; }
  .mc-scan-field, .mc-scan-addr { min-width: 0; width: 100%; }
  .mc-compare-row { flex-direction: column; align-items: stretch; }
  .mc-compare-field, .mc-compare-addr { min-width: 0; width: 100%; }
  .mc-compare-table { min-width: 480px; }
  .meme-3d { display: none; }
  .mc-filter-grid { grid-template-columns: 1fr; }
  .mc-presets { flex-direction: column; }
  .mc-presets .btn { width: 100%; }
  .mc-sort-lab select { width: 100%; min-width: 0; }
  .mc-desk { padding: 0; }
  .mc-desk-panel {
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100dvh;
    max-height: 100dvh;
    padding: 8px 10px;
  }
  .mc-desk-workspace {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(45vh, 1fr) auto;
  }
  .mc-desk-chart { min-height: 45vh; }
  .mc-desk-risk { max-height: 38vh; }
  .mc-desk-risk-body { font-size: 16px; }
  .mc-desk-ind-panel .mc-check-lab { font-size: 16px; min-height: 44px; }
  .mc-card-actions { flex-direction: column; }
  .mc-card-actions .btn { width: 100%; }
  .mc-compare-tray {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .mc-compare-tray-text { flex: 0 0 auto; }
  .mc-compare-tray-actions {
    width: 100%;
    flex-wrap: nowrap;
  }
  .mc-compare-tray-actions .btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }
  .mc-mywatch-item { flex-direction: column; align-items: stretch; }
}
@media (max-width: 480px) {
  .mc-scan select,
  .mc-scan input,
  .mc-filter-form input[type="number"],
  .mc-sort-lab select { font-size: 16px; }
}

/* ══ ZyrodeX Tools ══ */
body.page-tools .page-head h1 {
  font-size: clamp(1.4rem, 1.6vw + 0.85rem, 1.85rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
  font-weight: 650;
  max-width: 22em;
  margin: 16px 0 14px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
body.page-tools .tools-intro-q {
  font-size: clamp(1.05rem, 0.5vw + 1rem, 1.15rem);
  color: var(--text);
  max-width: 40em;
  line-height: 1.5;
  margin: 0 0 12px;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
body.page-tools .tools-intro-body,
body.page-tools .tools-intro-need {
  font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
  max-width: 42em;
  line-height: 1.6;
  margin: 0 0 10px;
  overflow-wrap: break-word;
  text-wrap: pretty;
}
body.page-tools .tools-intro-body { color: var(--muted); }
body.page-tools .tools-intro-need {
  color: var(--text);
  margin-bottom: 14px;
}
.tools-subnav {
  position: sticky;
  top: 84px;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(5, 7, 13, 0.92);
  backdrop-filter: blur(8px);
}
.tools-subnav-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.tools-subnav-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  padding: 10px 0;
  min-width: 0;
  flex: 1 1 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) rgba(255,255,255,0.08);
}
.tools-subnav-scroll::-webkit-scrollbar {
  height: 4px;
}
.tools-subnav-scroll::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
}
.tools-subnav-scroll::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 4px;
}
.tools-subnav-btn {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--cyan);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.tools-subnav-btn:hover {
  border-color: var(--cyan);
  background: rgba(0,212,255,0.08);
}
.tools-subnav-btn[hidden] { display: none !important; }
.tools-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 0 auto;
}
.tools-pill-ico { display: inline-flex; opacity: 0.85; }
.tools-pill.is-active,
.tools-pill:hover {
  color: #051018;
  background: var(--cyan);
  border-color: var(--cyan);
}
.tools-pill.is-active .tools-pill-ico,
.tools-pill:hover .tools-pill-ico { opacity: 1; }
.tools-disclaimer-details { margin-bottom: 16px; }
.tools-disclaimer-details summary {
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.tools-calc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 12px;
}
.tools-calc-single { grid-template-columns: 1fr; }
@media (min-width: 769px) {
  .tools-calc:not(.tools-calc-single) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
  .tools-calc-answer { position: sticky; top: 148px; }
}
.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.tools-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 18px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  box-sizing: border-box;
  background: var(--panel-solid);
}
.tools-card:hover,
.tools-card:focus-visible {
  border-color: var(--cyan);
  background: #0F1524;
  outline: none;
}
.tools-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(34, 211, 238, 0.08);
  color: var(--cyan);
  flex-shrink: 0;
}
.tools-card-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}
.tools-card-short {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  opacity: 0.85;
  line-height: 1.2;
}
.tools-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.3;
  font-weight: 600;
}
.tools-card-desc {
  margin: 0;
  color: #C5CDD8;
  font-size: 0.94rem;
  line-height: 1.55;
}
.tools-card-cta {
  color: var(--cyan);
  font-size: 0.82rem;
  margin-top: auto;
  padding-top: 4px;
}
.tools-card-cta::after {
  content: ' ->';
  opacity: 0.75;
}
.tools-panel {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 12px;
  background: rgba(255,255,255,0.02);
}
.tools-disclaimer { margin-bottom: 12px; }
.tools-form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tools-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
.tools-conv-fields { align-items: end; }
.tools-swap-row { display: flex; align-items: flex-end; justify-content: center; }
.tools-input {
  min-height: 44px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(120,150,200,0.25);
  background: rgba(8, 12, 22, 0.85);
  color: var(--text);
  box-sizing: border-box;
}
.tools-input:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}
.tools-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tools-chip {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
}
.tools-chip.is-active { border-color: var(--cyan); color: var(--cyan); background: rgba(0,212,255,0.08); }
.tools-status, .tools-note { color: var(--muted); font-size: 0.88rem; line-height: 1.45; }
.tools-clock { font-size: 1.35rem; font-family: var(--font-mono); margin: 8px 0 16px; }
.tools-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
}
.tools-result { font-size: clamp(2rem, 6vw, 3rem); font-weight: 700; margin: 0; line-height: 1.1; }
.tools-result-pos { color: #4ade80; }
.tools-result-neg { color: #f87171; }
.tools-field-error { color: #f87171; font-size: 0.82rem; margin: 4px 0 0; }
.tools-subhead { margin: 20px 0 10px; font-size: 1rem; }
.tools-ranked { display: grid; gap: 10px; }
.tools-bar-row { display: grid; grid-template-columns: 72px 1fr 56px; gap: 8px; align-items: center; }
.tools-bar-track { position: relative; height: 10px; background: rgba(255,255,255,0.06); border-radius: 5px; }
.tools-bar-bipolar { overflow: visible; }
.tools-bar-center {
  position: absolute;
  left: 50%;
  top: -2px;
  bottom: -2px;
  width: 2px;
  margin-left: -1px;
  background: rgba(255,255,255,0.25);
}
.tools-bar-fill { position: absolute; top: 0; bottom: 0; border-radius: 4px; }
.tools-bar-fill.pos { background: var(--cyan); }
.tools-bar-fill.neg { background: #c45c5c; }
.tools-bar-fill.muted { background: var(--muted); opacity: 0.35; }
.tools-bar-val { font-family: var(--font-mono); font-size: 0.78rem; text-align: right; }
.tools-heatmap-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tools-heatmap-table { border-collapse: collapse; font-size: 0.72rem; min-width: 520px; }
.tools-heatmap-table th, .tools-heatmap-table td {
  border: 1px solid var(--border);
  padding: 6px 8px;
  text-align: center;
  font-family: var(--font-mono);
}
.tools-heatmap-table td.heat-pos { background: rgba(0, 212, 255, calc(var(--heat, 0) * 0.45)); }
.tools-heatmap-table td.heat-neg { background: rgba(196, 92, 92, calc(var(--heat, 0) * 0.45)); }
.tools-conv-hero { margin-bottom: 12px; }
.tools-conv-hero-amt { font-size: clamp(1.8rem, 5vw, 2.4rem); color: var(--gold); }
.tools-conv-card.is-primary { border-color: var(--cyan); background: rgba(0,212,255,0.06); }
.tools-conv-grid, .tools-conv-estimates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tools-conv-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.02);
}
.tools-hours-fail {
  padding: 16px;
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}
.tools-hours-skeleton-track {
  min-height: 36px;
  background: rgba(255,255,255,0.04);
}
.tools-hours-city-skeleton {
  min-height: 44px;
  padding: 8px 0;
}
.tools-hours-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
}
.tools-hours-tz-row { flex: 1 1 220px; min-width: 0; }
.tools-hours-tz-row .tools-input,
#thTz { width: 100%; max-width: 100%; }
.tools-hours-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.tools-hours-fmt-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 0.9rem;
  color: var(--muted);
  cursor: pointer;
}
.tools-hours-fmt-toggle input { width: 18px; height: 18px; accent-color: var(--cyan); }
.tools-hours-desk {
  --th-ruler: 36px;
  --th-lane: 108px;
  --th-vol: 84px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.02);
  outline: none;
}
.tools-hours-desk:focus-visible { box-shadow: 0 0 0 2px rgba(0,212,255,0.35); }
.tools-hours-scroll {
  overflow: visible;
  margin: 0;
  padding: 0;
}
.tools-hours-layout {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.tools-hours-side {
  flex: 0 0 200px;
  min-width: 0;
  max-width: 42%;
  position: static;
  z-index: 3;
  background: rgba(5, 7, 13, 0.96);
  padding-right: 10px;
  display: flex;
  flex-direction: column;
}
.tools-hours-side-spacer,
.tools-hours-ruler {
  flex: 0 0 var(--th-ruler);
  height: var(--th-ruler);
  margin: 0;
  box-sizing: border-box;
}
.tools-hours-vol-side {
  flex: 0 0 var(--th-vol);
  height: var(--th-vol);
  min-height: var(--th-vol);
  margin-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.35;
  box-sizing: border-box;
  padding-right: 4px;
}
.tools-hours-vol-side-copy {
  margin: 0;
  color: var(--muted);
}
.tools-hours-vol-side-copy strong {
  color: var(--text);
  font-weight: 600;
}
.tools-hours-vol-side-skeleton {
  display: flex;
  align-items: center;
}
.tools-hours-city {
  flex: 0 0 var(--th-lane);
  height: var(--th-lane);
  min-height: var(--th-lane);
  margin: 0;
  padding: 0 8px;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  overflow: hidden;
}
.tools-hours-city.is-open { color: var(--text); }
.tools-hours-city-top {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  min-width: 0;
}
.tools-hours-city-top strong {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.2;
}
.tools-hours-flag-img {
  width: 28px;
  height: 20px;
  border-radius: 2px;
  object-fit: cover;
  flex: 0 0 auto;
  display: block;
}
.tools-hours-bar-seg {
  position: absolute;
  top: 5px;
  bottom: 5px;
  border-radius: 6px;
  opacity: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px 0 4px;
  overflow: hidden;
  box-sizing: border-box;
}
.tools-hours-bar-flag {
  width: 18px;
  height: 12px;
  border-radius: 1px;
  object-fit: cover;
  flex: 0 0 auto;
  display: block;
}
.tools-hours-bar-lbl {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  min-width: 0;
}
.tools-hours-bar-sydney { background: #3B82F6; box-shadow: 0 0 12px rgba(59, 130, 246, 0.35); }
.tools-hours-bar-tokyo { background: #F472B6; box-shadow: 0 0 12px rgba(244, 114, 182, 0.35); }
.tools-hours-bar-london { background: #34D399; box-shadow: 0 0 12px rgba(52, 211, 153, 0.35); }
.tools-hours-bar-newyork { background: #FBBF24; box-shadow: 0 0 12px rgba(251, 191, 36, 0.35); }
.tools-hours-row.is-open .tools-hours-bar-seg { box-shadow: 0 0 0 1px rgba(255,255,255,0.25), 0 0 14px rgba(0,212,255,0.2); }
.tools-hours-bar-weekend {
  position: absolute;
  inset: 5px;
  border-radius: 6px;
  pointer-events: none;
  z-index: 2;
  background: repeating-linear-gradient(
    -45deg,
    rgba(5, 7, 13, 0),
    rgba(5, 7, 13, 0) 6px,
    rgba(255,255,255,0.4) 6px,
    rgba(255,255,255,0.4) 12px
  );
  opacity: 0.2;
  mix-blend-mode: multiply;
}
.tools-hours-city-time {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text);
}
.tools-hours-city-country {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.tools-hours-city-sub {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text);
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.tools-hours-city-gmt {
  font-size: 0.72rem;
  color: var(--muted);
  font-family: var(--font-mono);
}
.tools-hours-city .tools-session-badge {
  flex: 0 0 auto;
  margin: 0;
  align-self: flex-start;
}
.tools-hours-city .tools-session-badge.is-closed { opacity: 0.7; }
.tools-hours-main {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  display: flex;
  flex-direction: column;
}
.tools-hours-ruler {
  position: relative;
  overflow: visible;
}
.tools-hours-tick {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--muted);
}
.tools-hours-tick.is-start { transform: translateX(0); }
.tools-hours-tick.is-end { transform: translateX(-100%); }
.tools-hours-tick-ico { font-size: 0.75rem; line-height: 1; }
.tools-hours-tracks {
  position: relative;
  touch-action: none;
  cursor: ew-resize;
  display: flex;
  flex-direction: column;
}
.tools-hours-gridlines {
  position: absolute;
  inset: 0 0 var(--th-vol);
  pointer-events: none;
  z-index: 0;
}
.tools-hours-gridline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  margin-left: -0.5px;
  background: rgba(255,255,255,0.06);
}
.tools-hours-rows {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.tools-hours-row {
  flex: 0 0 var(--th-lane);
  height: var(--th-lane);
  min-height: var(--th-lane);
  margin: 0;
  padding: 0 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  position: relative;
}
.tools-hours-row-track {
  position: relative;
  height: 36px;
  width: 100%;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
}
.tools-hours-row.is-weekend .tools-hours-row-track { background: rgba(255,255,255,0.02); }
.tools-hours-vol-wrap {
  position: relative;
  flex: 0 0 var(--th-vol);
  height: var(--th-vol);
  min-height: var(--th-vol);
  margin-top: 0;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  box-sizing: border-box;
}
.tools-hours-vol-svg {
  width: 100%;
  height: 100%;
  display: block;
}
.tools-hours-playhead {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  margin: 0;
  z-index: 5;
  pointer-events: none;
  will-change: transform;
}
.tools-hours-playhead[data-dragging="1"] {
  transition: none;
}
.tools-hours-playhead::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--cyan);
  box-shadow: 0 0 8px rgba(0,212,255,0.45);
}
.tools-hours-pin {
  position: absolute;
  top: -2px;
  left: 0;
  transform: translateX(-50%);
  background: var(--cyan);
  color: #051018;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}
.tools-hours-pin.is-start { transform: translateX(0); }
.tools-hours-pin.is-end { transform: translateX(-100%); }
.tools-hours-pin::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -5px;
  margin-left: -5px;
  border: 5px solid transparent;
  border-top-color: var(--cyan);
}
.tools-hours-vol-light {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(5, 7, 13, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  pointer-events: none;
  z-index: 6;
}
.tools-hours-vol-lamp {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tools-hours-vol-lamp[data-lamp="high"].is-on {
  background: #34D399;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.7);
}
.tools-hours-vol-lamp[data-lamp="medium"].is-on {
  background: #FBBF24;
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.7);
}
.tools-hours-vol-lamp[data-lamp="low"].is-on {
  background: #F472B6;
  box-shadow: 0 0 8px rgba(244, 114, 182, 0.7);
}
.tools-hours-vol-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  width: fit-content;
  min-height: 28px;
  transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.tools-hours-vol-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex: 0 0 auto;
}
.tools-hours-vol-pill.is-high { color: #34D399; border-color: rgba(52, 211, 153, 0.45); background: rgba(52, 211, 153, 0.1); }
.tools-hours-vol-pill.is-medium { color: #FBBF24; border-color: rgba(251, 191, 36, 0.45); background: rgba(251, 191, 36, 0.1); }
.tools-hours-vol-pill.is-low { color: #F472B6; border-color: rgba(244, 114, 182, 0.4); background: rgba(244, 114, 182, 0.08); }
.tools-hours-vol-pill.is-closed { color: var(--muted); border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04); }
.tools-hours-weekend {
  margin: 12px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}
.tools-session-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.06);
}
.tools-hours-city.is-open .tools-session-badge { background: rgba(0,212,255,0.15); color: var(--cyan); }
.tools-overlap-wrap { margin: 12px 0 0; }
.tools-overlap-chip.is-active { border-color: var(--cyan); color: var(--cyan); }
.tools-risk-meter { margin: 12px 0; }
.tools-risk-gauge { width: 100%; max-width: 320px; display: block; margin: 0 auto; }
.tools-risk-label { font-size: 1.35rem; color: var(--gold); text-align: center; margin: 8px 0 16px; }
.tools-tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.tools-tile {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(255,255,255,0.03);
}
.tools-tile strong { font-size: 1.15rem; }
.tools-tile strong.pos { color: #4ade80; }
.tools-tile strong.neg { color: #f87171; }
.tools-hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.tools-hero-metric {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.03);
}
.tools-hero-metric span { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 6px; }
.tools-hero-metric strong { font-size: 1.25rem; color: var(--gold); }
.tools-pivot-ladder { display: grid; gap: 6px; }
.tools-pivot-rung {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.tools-pivot-rung.is-pp { border-color: var(--cyan); background: rgba(0,212,255,0.08); }
.tools-pivot-rung.is-fib-key { border-color: var(--gold); }
.tools-result-cyan { color: var(--cyan); }
.tools-result-muted { color: var(--muted); }
.tools-banner {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  line-height: 1.4;
}
.tools-banner-warn {
  border-color: rgba(234, 179, 8, 0.45);
  background: rgba(234, 179, 8, 0.08);
  color: #f5d76e;
}
.tools-impact {
  display: inline-block;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  border: 1px solid var(--border);
}
.tools-impact-high {
  color: #fca5a5;
  border-color: rgba(248, 113, 113, 0.5);
  background: rgba(248, 113, 113, 0.12);
}
.tools-impact-medium {
  color: #fcd34d;
  border-color: rgba(234, 179, 8, 0.45);
  background: rgba(234, 179, 8, 0.1);
}
.tools-impact-low {
  color: var(--muted);
  background: rgba(255,255,255,0.04);
}
.tools-compound-table { max-height: 320px; overflow-y: auto; }
.tools-pivot-level { font-family: var(--font-mono); color: var(--muted); }
.tools-reg-region { margin: 24px 0 12px; font-size: 1rem; }
.tools-reg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.tools-reg-card {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
}
.tools-reg-card h4 { margin: 6px 0; }
.tools-reg-card p { margin: 0 0 12px; color: var(--muted); font-size: 0.88rem; }
.tools-formula-details { margin-top: 16px; color: var(--muted); font-size: 0.85rem; }
.tools-skeleton {
  display: block;
  height: 12px;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,0.06), rgba(255,255,255,0.12), rgba(255,255,255,0.06));
  background-size: 200% 100%;
  animation: tools-shimmer 1.2s infinite;
}
.tools-skeleton-lg { height: 28px; margin-top: 8px; }
.tools-skeleton-tile { min-height: 80px; }
.tools-strength-list {
  display: grid;
  gap: 12px;
}
.tools-strength-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
  min-height: 44px;
}
.tools-strength-ccy {
  font-family: var(--font-mono, monospace);
  font-size: 0.85rem;
  color: var(--cyan, #00d4ff);
}
.tools-strength-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(120, 150, 200, 0.2);
  overflow: hidden;
}
.tools-strength-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 212, 255, 0.35), rgba(201, 162, 39, 0.85));
  min-width: 2px;
}
.tools-strength-score {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tools-check {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--muted, #9aa8bd);
  cursor: pointer;
}
@keyframes tools-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.tools-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
@media (max-width: 1024px) {
  .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  body.page-tools .page-head h1 {
    font-size: clamp(1.28rem, 4.2vw, 1.5rem);
    max-width: none;
    text-wrap: pretty;
  }
  .tools-subnav { top: 72px; }
  .tools-grid,
  .tools-form-grid,
  .tools-conv-grid,
  .tools-conv-estimates,
  .tools-hero-metrics,
  .tools-reg-grid { grid-template-columns: 1fr; }
  .tools-card-desc { font-size: 0.94rem; }
  .tools-input,
  .tools-panel select { font-size: 16px; }
  .tools-bar-row { grid-template-columns: 64px 1fr 48px; }
  .tools-hours-toolbar { flex-direction: column; align-items: stretch; }
  .tools-hours-tz-row .tools-input { max-width: none; }
  .tools-hours-toolbar-actions { justify-content: space-between; }
  .tools-hours-side { flex-basis: 132px; max-width: 38%; }
}
@media (max-width: 480px) {
  .tools-pill { font-size: 0.66rem; padding: 8px 10px; }
}

/* Tools Print / PDF letterhead (Portfolio-style; styles.css only on Tools pages) */
.zx-print-report { display: none; }
@media print {
  body.page-tools {
    background: #fff !important;
    color: #111 !important;
  }
  body.page-tools .site-header,
  body.page-tools .site-footer,
  body.page-tools .tools-subnav,
  body.page-tools .page-head,
  body.page-tools .tools-disclaimer-details,
  body.page-tools .tools-calc,
  body.page-tools #toolsPrintBtn,
  body.page-tools .cookie-banner,
  body.page-tools .modal,
  body.page-tools .tools-nav {
    display: none !important;
  }
  body.page-tools .section { padding: 0 !important; }
  body.page-tools .container { max-width: none !important; width: auto !important; padding: 0 !important; }
  body.page-tools .zx-print-report {
    display: block !important;
    color: #111 !important;
    background: #fff !important;
  }
  body.page-tools .zx-print-header {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 3px double #333;
    padding-bottom: 12px;
    margin-bottom: 16px;
  }
  body.page-tools .zx-print-logo-img {
    height: 64px;
    width: auto;
    flex: 0 0 auto;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  body.page-tools .zx-print-title-block { flex: 1 1 auto; min-width: 200px; }
  body.page-tools .zx-print-title { font-size: 20px; margin: 0; font-weight: 700; letter-spacing: 0.01em; color: #111; }
  body.page-tools .zx-print-subtitle { font-size: 12px; color: #555; margin: 2px 0 0; }
  body.page-tools .zx-print-meta-table { width: 100%; border-collapse: collapse; font-size: 11px; margin-top: 10px; }
  body.page-tools .zx-print-meta-table td { padding: 3px 10px 3px 0; }
  body.page-tools .zx-print-meta-table span { display: block; color: #666; font-size: 9px; letter-spacing: 0.05em; text-transform: uppercase; }
  body.page-tools .zx-print-meta-table b { font-size: 12px; color: #111; }
  body.page-tools .zx-print-h2 { font-size: 14px; margin: 18px 0 8px; border-bottom: 1px solid #999; padding-bottom: 4px; color: #111; }
  body.page-tools .zx-print-table { width: 100%; border-collapse: collapse; font-size: 11px; margin-bottom: 8px; }
  body.page-tools .zx-print-table th,
  body.page-tools .zx-print-table td { border: 1px solid #999; padding: 4px 6px; text-align: left; color: #111; }
  body.page-tools .zx-print-note { font-size: 12px; color: #333; margin: 4px 0 10px; }
  body.page-tools .zx-print-disclaimer {
    display: block !important;
    font-size: 11px;
    color: #111 !important;
    border: 1px solid #999;
    padding: 8px;
    margin-top: 10px;
  }
  body.page-tools .zx-print-footer { font-size: 10px; color: #666; margin-top: 14px; text-align: center; }
}
@media (max-width: 768px) {
  #toolsPrintBtn { width: 100%; }
}
