:root{--cq-bg:#090d16;--cq-panel:#111827;--cq-text:#f8fafc;--cq-muted:#9aa4b2;--cq-violet:#8b5cf6;--cq-cyan:#22d3ee;--cq-green:#34d399;--cq-line:rgba(255,255,255,.10);--cq-paper:#f6f7fb;--cq-ink:#111827}
body.home{background:var(--cq-paper)}
.cq-shell{max-width:1180px;margin:0 auto;padding:28px 18px 70px}
.cq-hero{position:relative;overflow:hidden;background:radial-gradient(circle at 15% 15%,rgba(139,92,246,.28),transparent 32%),radial-gradient(circle at 88% 20%,rgba(34,211,238,.18),transparent 30%),linear-gradient(135deg,#090d16 0%,#111827 55%,#0a1020 100%);border-radius:26px;padding:clamp(46px,7vw,92px);box-shadow:0 24px 60px rgba(9,13,22,.18);color:var(--cq-text)}
.cq-hero:after{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent)}
.cq-hero-grid{position:relative;z-index:2;align-items:center!important;gap:54px}.cq-eyebrow{color:var(--cq-cyan);font-size:12px;font-weight:800;letter-spacing:1.9px;text-transform:uppercase;margin-bottom:18px}.cq-eyebrow-dark{color:#6d28d9}.cq-hero-title{color:#fff!important;font-size:clamp(50px,6vw,82px);line-height:.98;letter-spacing:-.045em;margin:0 0 22px;max-width:760px}.cq-hero-copy{color:#c9d1dc!important;font-size:clamp(17px,2vw,21px);line-height:1.65;max-width:680px}
.cq-search-shell{margin-top:32px;max-width:760px}.cq-search-row{display:grid;grid-template-columns:auto 1fr auto;align-items:center;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);backdrop-filter:blur(14px);border-radius:16px;padding:7px}.cq-search-icon{color:#a5b4fc;font-size:23px;padding:0 12px}.cq-search-row input{min-width:0;width:100%;padding:15px 8px;border:0;outline:0;background:transparent;color:#fff;font-size:16px}.cq-search-row input::placeholder{color:#8e99aa}.cq-search-row button{border:0;border-radius:11px;background:linear-gradient(135deg,var(--cq-violet),#6d28d9);color:#fff;font-size:15px;font-weight:800;padding:15px 24px;cursor:pointer;box-shadow:0 8px 20px rgba(124,58,237,.28)}.cq-search-hint,.cq-mini-trust{color:#8793a4!important;font-size:13px;margin-top:11px}
.cq-market-card{border:1px solid rgba(255,255,255,.12);background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.04));backdrop-filter:blur(16px);border-radius:22px;padding:24px;box-shadow:0 24px 50px rgba(0,0,0,.24)}.cq-market-card-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:22px;border-bottom:1px solid var(--cq-line)}.cq-market-label{font-size:10px;letter-spacing:1.5px;font-weight:800;color:var(--cq-cyan)}.cq-market-name{color:#fff;font-size:25px;font-weight:800;margin-top:8px}.cq-market-meta{color:#8f9bad;font-size:12px;margin-top:4px}.cq-card-chip{background:rgba(139,92,246,.18);color:#c4b5fd;border:1px solid rgba(139,92,246,.35);border-radius:999px;padding:6px 10px;font-size:11px;font-weight:800}.cq-price-row{display:flex;justify-content:space-between;gap:18px;color:#9aa4b2;font-size:14px;margin-top:18px}.cq-price-row strong{color:#fff;font-size:18px}.cq-price-row .cq-up{color:var(--cq-green)}.cq-sparkline{height:54px;display:flex;align-items:flex-end;gap:5px;margin:20px 0 8px}.cq-sparkline span{display:block;flex:1;border-radius:3px 3px 0 0;background:linear-gradient(to top,var(--cq-violet),var(--cq-cyan));opacity:.9}.cq-sparkline span:nth-child(1){height:24%}.cq-sparkline span:nth-child(2){height:41%}.cq-sparkline span:nth-child(3){height:35%}.cq-sparkline span:nth-child(4){height:58%}.cq-sparkline span:nth-child(5){height:48%}.cq-sparkline span:nth-child(6){height:67%}.cq-sparkline span:nth-child(7){height:76%}.cq-sparkline span:nth-child(8){height:92%}.cq-market-foot{color:#778194;font-size:11px}
.cq-ticker{background:#fff;border:1px solid #e5e7eb;border-radius:14px;margin:18px 0 0;padding:13px 18px;text-align:center;color:#4b5563;box-shadow:0 10px 25px rgba(17,24,39,.04)}.cq-ticker p{margin:0;font-size:13px}.cq-section{padding:74px 6px 24px}.cq-section-title{color:var(--cq-ink);font-size:clamp(34px,4vw,52px);line-height:1.05;letter-spacing:-.035em;max-width:780px;margin-top:10px}.cq-feature-grid{gap:18px;margin-top:32px}.cq-feature-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;padding:28px;height:100%;box-shadow:0 12px 28px rgba(17,24,39,.04)}.cq-feature-number{color:#7c3aed;font-size:12px;font-weight:900;letter-spacing:1.4px}.cq-feature-card h3{color:var(--cq-ink);font-size:22px;margin:12px 0 10px}.cq-feature-card p{color:#667085;line-height:1.65}
.cq-dark-section{margin-top:60px;padding:58px 48px;border-radius:22px;background:radial-gradient(circle at 80% 20%,rgba(34,211,238,.11),transparent 28%),linear-gradient(135deg,#111827,#0b1220);color:#d7e1e9}.cq-dark-section p{color:#b7c0cc;line-height:1.65}.cq-dark-title{color:#fff!important;font-size:clamp(34px,4vw,52px);line-height:1.06;letter-spacing:-.03em;margin-top:14px}.cq-small{font-size:13px}
@media(max-width:860px){.cq-hero-grid{flex-direction:column}.cq-hero-grid>.wp-block-column{flex-basis:100%!important}.cq-market-card{margin-top:24px}}
@media(max-width:640px){.cq-shell{padding:14px 8px 50px}.cq-hero{border-radius:18px;padding:40px 22px}.cq-hero-title{font-size:clamp(42px,13vw,58px)}.cq-search-row{grid-template-columns:auto 1fr}.cq-search-row button{grid-column:1/-1;width:100%;margin-top:7px}.cq-section{padding-top:52px}.cq-dark-section{margin-top:42px;padding:40px 24px}}


/* =========================================================
   CardQuanta site chrome — v1.2
   Replaces the imported theme header/footer with a clean,
   brand-specific header and footer.
   ========================================================= */

#masthead,
.site-header:not(.cq-site-header),
#colophon,
.site-footer:not(.cq-site-footer) {
  display: none !important;
}

.cq-site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e8eaf2;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cq-site-header-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.cq-site-brand,
.cq-footer-logo {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.045em;
  color: #111827 !important;
  text-decoration: none !important;
}

.cq-site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.cq-site-nav a {
  color: #4b5563 !important;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none !important;
  transition: color .18s ease;
}

.cq-site-nav a:hover {
  color: #6d28d9 !important;
}

.cq-header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 11px;
  background: #6d28d9;
  color: #fff !important;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(109,40,217,.18);
}

.cq-header-cta:hover {
  background: #5b21b6;
  color: #fff !important;
}

.cq-site-footer {
  margin-top: 72px;
  background:
    radial-gradient(circle at 82% 5%, rgba(109,40,217,.16), transparent 28%),
    #0d1424;
  color: #cbd5e1;
}

.cq-site-footer-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 44px;
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(320px,.8fr);
  gap: 70px;
}

.cq-footer-brand {
  max-width: 560px;
}

.cq-footer-logo {
  display: inline-block;
  color: #fff !important;
  font-size: 24px;
  margin-bottom: 18px;
}

.cq-footer-brand p {
  margin: 0;
  max-width: 520px;
  color: #94a3b8;
  font-size: 15px;
  line-height: 1.75;
}

.cq-footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px,1fr));
  gap: 42px;
}

.cq-footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.cq-footer-links strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.cq-footer-links a {
  color: #aeb9ca !important;
  font-size: 14px;
  text-decoration: none !important;
}

.cq-footer-links a:hover {
  color: #fff !important;
}

.cq-footer-bottom {
  width: min(1180px, calc(100% - 40px));
  min-height: 64px;
  margin: 0 auto;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: #7f8da3;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 760px) {
  .cq-site-header-inner {
    width: min(100% - 28px, 1180px);
    min-height: 66px;
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

  .cq-site-brand {
    font-size: 20px;
  }

  .cq-site-nav {
    display: none;
  }

  .cq-header-cta {
    min-height: 38px;
    padding: 0 14px;
    font-size: 13px;
  }

  .cq-site-footer {
    margin-top: 52px;
  }

  .cq-site-footer-inner {
    width: min(100% - 32px, 1180px);
    padding: 48px 0 34px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .cq-footer-links {
    gap: 28px;
  }

  .cq-footer-bottom {
    width: min(100% - 32px, 1180px);
    min-height: auto;
    padding: 22px 0 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
