/* ============================================================
   site8 — HOME ONLY  ·  "SaaS product page"
   Centred hero + app window, logo cloud, feature grid, FAQ.
   Scoped to body.h8; subpages keep main.css untouched.
   ============================================================ */

.h8 {
  --br:    var(--saas-border);
  --card:  var(--saas-card);
  --blue:  var(--saas-primary);
  --green: var(--saas-accent);
  --tx:    var(--saas-text);
  --tx-m:  var(--saas-text-muted);
  --tx-d:  var(--saas-text-dim);
  background: var(--saas-bg);
}

.h8-wrap { max-width: 1200px; margin-inline: auto; padding-inline: 28px; }

/* ── ANNOUNCEMENT BAR ───────────────────────────────────── */
.h8-announce {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.16), rgba(16, 185, 129, 0.14));
  border-bottom: 1px solid var(--br);
  font-size: 0.82rem;
  color: var(--tx);
  text-align: center;
}

.h8-pill {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
}

.h8-arrow { transition: transform 0.18s; }
.h8-announce:hover .h8-arrow { transform: translateX(4px); }

/* ── HEADER ─────────────────────────────────────────────── */
.h8 .h8-head { background: rgba(15, 23, 42, 0.86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--br); }
.h8-head-in { display: flex; align-items: center; gap: 2rem; height: 68px; }
.h8-head-in .nav-main { margin-left: auto; }
.h8 .h8-head .nav-links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.h8 .h8-head .nav-item { position: relative; }

.h8 .h8-head .nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--tx-m);
  transition: color 0.16s;
}

.h8 .h8-head .nav-link:hover { color: var(--tx); }

.h8 .h8-head .nav-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 216px;
  display: flex;
  flex-direction: column;
  padding: 0.4rem;
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 12px;
  box-shadow: 0 20px 44px -18px #000;
  opacity: 0; visibility: hidden;
  transition: opacity 0.16s, transform 0.16s, visibility 0.16s;
  z-index: 60;
}

.h8 .h8-head .nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.h8 .h8-head .nav-dropdown a { padding: 0.5rem 0.65rem; font-size: 0.84rem; color: var(--tx-m); border-radius: 8px; }
.h8 .h8-head .nav-dropdown a:hover { background: rgba(59, 130, 246, 0.12); color: var(--tx); }
.h8 .h8-head .nav-actions { display: flex; align-items: center; gap: 0.5rem; }

/* ── HERO — asymmetric with an overlapping card cluster ─── */
.h8-hero { position: relative; padding: 5rem 0 6rem; overflow: hidden; }

.h8-hero-glow {
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 720px;
  pointer-events: none;
  background:
    radial-gradient(38% 46% at 22% 34%, rgba(59, 130, 246, 0.26), transparent 70%),
    radial-gradient(34% 42% at 74% 22%, rgba(16, 185, 129, 0.17), transparent 70%),
    radial-gradient(30% 38% at 54% 62%, rgba(99, 102, 241, 0.14), transparent 70%);
  filter: blur(14px);
}

.h8-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000, transparent 75%);
}

.h8-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 3.5rem;
  align-items: center;
}

.h8-hero-copy { min-width: 0; }

.h8-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--tx-m);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--br);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  margin-bottom: 1.75rem;
}

.h8-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px currentColor; }

.h8-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4.4vw, 3.9rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.04em;
  color: #fff;
}

.h8-hero h1 span {
  background: linear-gradient(100deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h8-sub { margin: 1.35rem 0 0; max-width: 50ch; font-size: 1.05rem; line-height: 1.65; color: var(--tx-m); }
.h8-hero-cta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.25rem; }

.h8-ghost {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--tx);
  border-bottom: 1px solid var(--br);
  padding-bottom: 3px;
  transition: color 0.18s, border-color 0.18s;
}

.h8-ghost:hover { color: var(--blue); border-color: var(--blue); }

.h8-hero-trust { display: flex; align-items: center; gap: 0.85rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--br); }
.h8-avs { display: flex; }
.h8-avs i { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--saas-bg); margin-left: -9px; }
.h8-avs i:first-child { margin-left: 0; background: linear-gradient(135deg, #60A5FA, #1D4ED8); }
.h8-avs i:nth-child(2) { background: linear-gradient(135deg, #34D399, #047857); }
.h8-avs i:nth-child(3) { background: linear-gradient(135deg, #FBBF24, #B45309); }
.h8-avs i:nth-child(4) { background: linear-gradient(135deg, #A78BFA, #5B21B6); }
.h8-hero-trust p { margin: 0; font-size: 0.85rem; color: var(--tx-m); }
.h8-hero-trust b { color: #fff; font-weight: 800; }
.h8-stars { color: #FBBF24; letter-spacing: 0.05em; }

/* ── CARD CLUSTER ───────────────────────────────────────── */
.h8-cluster { position: relative; min-width: 0; min-height: 486px; }

.h8-c {
  position: absolute;
  background: rgba(30, 41, 59, 0.86);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 15px;
  box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.95);
}

/* main chart card */
.h8-c--chart { top: 0; left: 0; width: 72%; padding: 1.1rem 1.1rem 0.5rem; }
.h8-c--chart header { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 0.5rem; }
.h8-c-sym { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-d); }
.h8-c-px { display: block; margin-top: 0.2rem; font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; font-variant-numeric: tabular-nums; }
.h8-c-chg { font-size: 0.78rem; font-weight: 700; }
.h8-c-chg.up { color: var(--green); }
.h8-c--chart svg { display: block; width: 100%; height: 150px; }
.h8-c--chart footer { display: flex; gap: 1.5rem; padding: 0.6rem 0.15rem 0.75rem; border-top: 1px solid var(--br); }
.h8-c--chart footer span { display: flex; flex-direction: column; gap: 0.15rem; font-size: 0.8rem; color: var(--tx); font-variant-numeric: tabular-nums; }
.h8-c--chart footer b { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-d); }
/* grouped left so the ticket card's corner overlap covers empty space */
.h8-c-spread { margin-left: 0; }
.h8-c-spread span, .h8-c-spread { color: var(--blue) !important; }

/* order ticket, overlapping bottom-right */
.h8-c--ticket { bottom: 0; right: 0; width: min(246px, 36%); padding: 1.05rem; }
.h8-c-label { display: block; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--tx-d); margin-bottom: 0.8rem; }
.h8-tk-row { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.34rem 0; font-size: 0.76rem; color: var(--tx-m); }
.h8-tk-row b { color: var(--tx); font-weight: 600; font-variant-numeric: tabular-nums; }
.h8-tk-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; margin-top: 0.8rem; }
.h8-tk-btns > span { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; border-radius: 9px; padding: 0.5rem 0.3rem; font-size: 0.74rem; font-weight: 700; }
.h8-tk-btns i { font-style: normal; font-size: 0.66rem; font-weight: 500; opacity: 0.85; font-variant-numeric: tabular-nums; }
.h8-tk-sell { background: rgba(248, 113, 113, 0.15); border: 1px solid rgba(248, 113, 113, 0.35); color: #FCA5A5; }
.h8-tk-buy { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: #6EE7B7; }

/* floating P/L pill, overlapping bottom-left */
.h8-c--pl { bottom: 14px; left: 0; width: min(206px, 32%); padding: 0.95rem 1.05rem; }
.h8-c--pl > b { display: block; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.025em; color: var(--green); font-variant-numeric: tabular-nums; }
.h8-pl-bars { display: flex; align-items: flex-end; gap: 4px; height: 34px; margin-top: 0.7rem; }
.h8-pl-bars i { flex: 1; height: var(--v); border-radius: 2px; background: linear-gradient(180deg, var(--blue), rgba(59, 130, 246, 0.25)); }

/* execution chip, top-right */
.h8-c--exec { top: 0; right: 0; width: min(172px, 25%); padding: 0.9rem 1rem; }
.h8-exec-row { display: flex; flex-direction: column; gap: 0.05rem; padding: 0.3rem 0; }
.h8-exec-row b { font-size: 1.05rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.h8-exec-row span { font-size: 0.66rem; color: var(--tx-d); }

/* ── LOGO CLOUD ─────────────────────────────────────────── */
.h8-cloud { padding: 3rem 0; border-bottom: 1px solid var(--br); }
.h8-cloud-label { margin: 0 0 1.5rem; text-align: center; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tx-d); }
.h8-cloud-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 3rem; }

.h8 .h8-cloud-row .reg-badge {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--tx-m);
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.h8 .h8-cloud-row .reg-badge:hover { opacity: 1; color: var(--tx); }

/* ── STAT BAND ──────────────────────────────────────────── */
.h8-stats { padding: 3.5rem 0; border-bottom: 1px solid var(--br); }
.h8-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }

.h8-stats-grid b {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(100deg, var(--blue), var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-variant-numeric: tabular-nums;
}

.h8-stats-grid span { display: block; margin-top: 0.4rem; font-size: 0.82rem; color: var(--tx-d); }

/* ── SECTIONS ───────────────────────────────────────────── */
.h8-sec { padding: 6rem 0; }
.h8-sec--alt { background: rgba(255, 255, 255, 0.015); border-block: 1px solid var(--br); }

.h8-sec-head { max-width: 640px; margin: 0 auto 3.25rem; text-align: center; }
.h8-sec-head--left { margin-inline: 0; text-align: left; }

.h8-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.9rem;
}

.h8-sec-head h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
}

.h8-sec-head p { margin: 1rem 0 0; font-size: 1rem; line-height: 1.65; color: var(--tx-m); }

/* ── FEATURES — 3 col ───────────────────────────────────── */
.h8-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.h8 .h8-features .why-row-v2 {
  display: block;
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 14px;
  box-shadow: none;
  transform: none;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.h8 .h8-features .why-row-v2:hover { border-color: var(--saas-border-hover); transform: translateY(-3px); }

.h8 .h8-features .why-icon-v2 {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  font-size: 1.25rem;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 11px;
  margin-bottom: 1.1rem;
}

.h8 .h8-features .why-num {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--tx-d);
  background: none;
  width: auto; height: auto;
  margin-bottom: 0.75rem;
}

.h8 .h8-features .why-title-v2 { margin: 0 0 0.5rem; font-size: 1.06rem; font-weight: 700; letter-spacing: -0.015em; color: #fff; }
.h8 .h8-features .why-text-v2 { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--tx-m); }

/* ── PLATFORMS ──────────────────────────────────────────── */
.h8-plats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }

.h8 .h8-plats .plat-panel-v2 {
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 16px;
  box-shadow: none;
  transform: none;
  overflow: hidden;
}

.h8 .h8-plats .plat-visual {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.12), transparent);
  border-bottom: 1px solid var(--br);
}

.h8 .h8-plats .plat-emoji { font-size: 1.5rem; }

.h8 .h8-plats .plat-badge {
  position: static;
  margin-left: auto;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(16, 185, 129, 0.14);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.h8 .h8-plats .plat-body { padding: 1.5rem; }
.h8 .h8-plats .plat-name-v2 { margin: 0 0 0.5rem; font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.h8 .h8-plats .plat-desc-v2 { font-size: 0.92rem; line-height: 1.6; color: var(--tx-m); }
.h8 .h8-plats .plat-features-v2 { display: grid; gap: 0.5rem; margin: 1.25rem 0; }

.h8 .h8-plats .plat-chip {
  font-size: 0.86rem;
  color: var(--tx-m);
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.h8 .h8-plats .plat-dl-row { display: flex; flex-wrap: wrap; gap: 0.45rem; padding-top: 1.1rem; border-top: 1px solid var(--br); }

.h8 .h8-plats .dl-chip {
  font-size: 0.76rem;
  color: var(--tx-m);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--br);
  border-radius: 8px;
  padding: 0.4rem 0.7rem;
}

.h8 .h8-plats .dl-chip:hover { border-color: var(--saas-border-hover); color: var(--tx); }

/* ── MARKETS — 3×2 cards ────────────────────────────────── */
.h8-markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.h8 .h8-markets .mkt-row {
  display: block;
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 14px;
  box-shadow: none;
  transform: none;
  padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}

.h8 .h8-markets .mkt-row:hover { border-color: var(--saas-border-hover); transform: translateY(-3px); }
.h8 .h8-markets .mkt-icon-col { margin-bottom: 1rem; }
.h8 .h8-markets .mkt-emoji { font-size: 1.6rem; }
.h8 .h8-markets .mkt-name { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.015em; color: #fff; }

.h8 .h8-markets .mkt-count-tag {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(59, 130, 246, 0.12);
  border: 0;
  border-radius: 999px;
  padding: 0.16rem 0.5rem;
  margin-left: 0.5rem;
}

.h8 .h8-markets .mkt-desc { margin-top: 0.5rem; font-size: 0.86rem; line-height: 1.55; color: var(--tx-m); }
.h8 .h8-markets .mkt-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--br); }
.h8 .h8-markets .mkt-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.h8 .h8-markets .mkt-stat-lbl { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-d); order: -1; }
.h8 .h8-markets .mkt-stat-val { font-size: 0.86rem; font-weight: 600; color: var(--tx); }

.h8 .h8-markets .mkt-trade-btn {
  display: block;
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 9px;
  padding: 0.55rem;
  margin-top: 0.25rem;
}

.h8 .h8-markets .mkt-trade-btn:hover { background: var(--blue); color: #fff; }

/* ── PRICING ────────────────────────────────────────────── */
.h8-pricing { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.9rem; align-items: start; }

.h8 .h8-pricing .acct-card-v2 {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 14px;
  box-shadow: none;
  transform: none;
  padding: 1.5rem 1.15rem;
}

.h8 .h8-pricing .acct-featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 1px var(--blue), 0 20px 46px -22px rgba(59, 130, 246, 0.55);
  transform: scale(1.035);
}

.h8 .h8-pricing .acct-ribbon {
  position: absolute;
  top: -11px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--blue);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.h8 .h8-pricing .acct-header { display: flex; align-items: center; gap: 0.45rem; margin-bottom: 0.9rem; }
.h8 .h8-pricing .acct-name-v2 { font-size: 0.95rem; font-weight: 700; color: #fff; }
.h8 .h8-pricing .acct-deposit-v2 { display: block; font-size: 1.85rem; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.h8 .h8-pricing .acct-deposit-label { font-size: 0.64rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--tx-d); }
.h8 .h8-pricing .acct-specs-v2 { margin: 1.1rem 0 1.25rem; }

.h8 .h8-pricing .acct-spec {
  display: flex;
  justify-content: space-between;
  gap: 0.4rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--br);
  font-size: 0.78rem;
}

.h8 .h8-pricing .acct-spec span:first-child { color: var(--tx-d); }
.h8 .h8-pricing .acct-spec span:last-child { color: var(--tx); font-weight: 600; }
.h8 .h8-pricing .btn { margin-top: auto; font-size: 0.78rem; padding: 0.65rem 0.5rem; border-radius: 9px; }

.h8-fund-note { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--br); text-align: center; }
.h8-fund { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }

.h8 .h8-fund .fund-item-v2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--br);
  border-radius: 999px;
  box-shadow: none;
  transform: none;
  padding: 0.5rem 0.9rem;
}

.h8 .h8-fund .fund-icon-v2 { font-size: 0.9rem; }
.h8 .h8-fund .fund-name-v2 { font-size: 0.8rem; font-weight: 600; color: var(--tx); }
.h8 .h8-fund .fund-time { font-size: 0.72rem; color: var(--tx-d); }
.h8 .h8-fund .fund-fee { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--green); }

/* ── AWARDS + REG ───────────────────────────────────────── */
.h8-awards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.h8 .h8-awards .award-item-v2 {
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 14px;
  box-shadow: none;
  transform: none;
  padding: 1.5rem;
  text-align: left;
}

.h8 .h8-awards .award-star { font-size: 0.72rem; letter-spacing: 0.05em; margin-bottom: 0.75rem; display: block; }
.h8 .h8-awards .award-title-v2 { font-size: 1rem; font-weight: 700; color: #fff; line-height: 1.3; }
.h8 .h8-awards .award-meta-v2 { margin-top: 0.35rem; font-size: 0.76rem; color: var(--tx-d); }

.h8-reg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1rem; }

.h8 .h8-reg .reg-item-v2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--br);
  border-radius: 12px;
  box-shadow: none;
  transform: none;
  padding: 1rem 1.15rem;
}

.h8 .h8-reg .reg-shield { font-size: 1.1rem; }
.h8 .h8-reg .reg-auth { font-size: 0.9rem; font-weight: 700; color: #fff; }
.h8 .h8-reg .reg-sub { font-size: 0.72rem; color: var(--tx-d); margin-top: 0.15rem; }

/* ── FAQ ────────────────────────────────────────────────── */
.h8-faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
.h8-faq-wrap .h8-sec-head { position: sticky; top: 92px; margin-bottom: 0; }

.h8-faq { display: grid; gap: 0.75rem; }

.h8 .faq-item {
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.h8 .faq-item.open { border-color: var(--saas-border-hover); }

.h8 .faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1.15rem 1.35rem;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  text-align: left;
  color: var(--tx);
  background: var(--card);
  border: 0;
  cursor: pointer;
}

/* main.css already draws the +/- via ::after — just size it */
.h8 .faq-question::after { font-size: 1.35rem; font-weight: 400; line-height: 1; color: var(--blue); }
.h8 .faq-answer { background: var(--card); padding-inline: 1.35rem; font-size: 0.92rem; line-height: 1.65; color: var(--tx-m); }
.h8 .faq-answer > p { margin: 0; }
.h8 .faq-item.open .faq-answer { padding-bottom: 1.35rem; }

/* ── CTA ────────────────────────────────────────────────── */
.h8-cta {
  padding: 6rem 0;
  text-align: center;
  background: radial-gradient(50% 100% at 50% 100%, rgba(59, 130, 246, 0.18), transparent 70%);
  border-top: 1px solid var(--br);
}

.h8-cta h2 { margin: 0; font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.h8-cta p { margin: 0.9rem 0 2rem; font-size: 1rem; color: var(--tx-m); }
.h8 .h8-cta .cta-actions { display: flex; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1080px) {
  .h8-pricing { grid-template-columns: repeat(3, 1fr); }
  .h8 .h8-pricing .acct-featured { transform: none; }
  .h8-features, .h8-markets { grid-template-columns: repeat(2, 1fr); }
  .h8-awards, .h8-reg { grid-template-columns: repeat(2, 1fr); }
  .h8-faq-wrap { grid-template-columns: 1fr; gap: 2.25rem; }
  .h8-faq-wrap .h8-sec-head { position: static; }
}

@media (max-width: 860px) {
  .h8-wrap { padding-inline: 20px; }
  .h8-sec { padding: 4rem 0; }
  .h8-window-body { grid-template-columns: 1fr; }
  .h8-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .h8-features, .h8-markets, .h8-plats, .h8-pricing { grid-template-columns: 1fr; }
  .h8-cloud-row { gap: 1.5rem; }
  .h8 .h8-cloud-row .reg-badge { font-size: 0.9rem; }
}

/* ── HEADER: shrink on desktop, drawer below 1024 ───────── */
.h8-head-in { position: relative; min-width: 0; }
.h8-head-in .nav-main { min-width: 0; flex-shrink: 1; }
.h8 .h8-head .nav-links { flex-wrap: nowrap; min-width: 0; }

@media (max-width: 1180px) {
  .h8-head-in { gap: 1.25rem; }
  .h8 .h8-head .nav-links { gap: 1.1rem; }
  .h8 .h8-head .nav-link { font-size: 0.82rem; }
}

@media (max-width: 1180px) {
  .h8 .h8-head .nav-links { display: none; }
  .h8 .h8-head .nav-actions { display: none; }
  .h8 .nav-toggle { display: flex; margin-left: auto; }
  .h8 .nav-toggle span { background: var(--tx-m); }
  .h8 .h8-head .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: 80;
    background: var(--card);
    border-top: 1px solid var(--br);
    border-bottom: 1px solid var(--br);
    box-shadow: 0 24px 48px -24px #000;
    padding: 0.75rem 0.5rem;
    max-height: 74vh;
    overflow-y: auto;
  }
  .h8 .h8-head .nav-links.mobile-open .nav-link { display: block; padding: 0.7rem 0.6rem; border-radius: 8px; }
  .h8 .h8-head .nav-links.mobile-open .nav-link:hover { background: rgba(59, 130, 246, 0.1); }
  .h8 .h8-head .nav-links.mobile-open .nav-dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 1px solid var(--br);
    border-radius: 0; margin: 0 0 0.4rem 1rem; padding: 0; display: none; min-width: 0;
  }
  .h8 .h8-head .nav-links.mobile-open .nav-item.mobile-expanded .nav-dropdown { display: flex; }
  .h8 .h8-head .nav-links.mobile-open .mobile-nav-cta { display: flex; gap: 0.5rem; margin-top: 0.6rem; padding-top: 0.85rem; border-top: 1px solid var(--br); }
  .h8 .h8-head .nav-links.mobile-open .mobile-nav-cta .btn { flex: 1; }
}

/* grid/flex children default to min-width:auto and refuse to shrink below
   their content — let the long feature text wrap instead of overflowing */
.h8 .plat-body,
.h8 .plat-panel-v2,
.h8 .mkt-info,
.h8 .why-row-v2 > div,
.h8 .acct-card-v2 { min-width: 0; }
.h8 .plat-chip, .h8 .dl-chip { overflow-wrap: anywhere; }

@media (max-width: 420px) {
  .h8-stats-grid { gap: 1.5rem; }
  .h8-stats-grid > div { min-width: 0; }
  .h8-stats-grid b { font-size: 1.85rem; }
  .h8-stats-grid span { font-size: 0.76rem; }
}

/* ============================================================
   PRODUCT WINDOW — full app chrome
   ============================================================ */
.h8-shot { max-width: 1180px; margin: 4rem auto 0; padding-inline: 28px; }

.h8-window {
  border: 1px solid var(--br);
  border-radius: 14px 14px 0 0;
  background: var(--card);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.05) inset, 0 44px 90px -34px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  text-align: left;
}

.h8-window-bar { display: flex; align-items: center; gap: 0.9rem; padding: 0.7rem 1rem; background: rgba(255, 255, 255, 0.03); border-bottom: 1px solid var(--br); }
.h8-wdots { display: flex; gap: 6px; }
.h8-wdots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(148, 163, 184, 0.3); }
.h8-wurl { flex: 1; max-width: 300px; margin-inline: auto; text-align: center; font-size: 0.72rem; color: var(--tx-d); background: rgba(255, 255, 255, 0.03); border-radius: 6px; padding: 0.24rem 0.6rem; }
.h8-wlive { display: flex; align-items: center; gap: 0.4rem; font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--green); white-space: nowrap; }
.h8-wlive i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px currentColor; }

.h8-app { display: grid; grid-template-columns: 48px 190px minmax(0, 1fr) 260px; min-height: 340px; }

/* rail */
.h8-rail { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 0.75rem 0; background: rgba(0, 0, 0, 0.22); border-right: 1px solid var(--br); }
.h8-rail-i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-size: 0.9rem; color: var(--tx-d); }
.h8-rail-i.is-on { color: var(--blue); background: rgba(59, 130, 246, 0.14); }

/* watchlist */
.h8-watch { border-right: 1px solid var(--br); min-width: 0; }
.h8-watch-head { padding: 0.6rem 0.85rem; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tx-d); border-bottom: 1px solid var(--br); }
.h8-watch ul { list-style: none; margin: 0; padding: 0; }
.h8-watch li { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 0.5rem; padding: 0.5rem 0.85rem; border-bottom: 1px solid rgba(148, 163, 184, 0.06); }
.h8-watch li.is-sel { background: rgba(59, 130, 246, 0.1); box-shadow: inset 2px 0 0 0 var(--blue); }
.h8-watch li b { font-size: 0.76rem; font-weight: 600; color: var(--tx); }
.h8-watch li span { font-size: 0.72rem; color: var(--tx-m); font-variant-numeric: tabular-nums; text-align: right; }
.h8-watch li i { grid-column: 2; font-size: 0.66rem; font-style: normal; text-align: right; }
.h8-watch li i.up, .h8-tbl .up { color: var(--green); }
.h8-watch li i.dn, .h8-tbl .dn { color: #F87171; }

/* main pane */
.h8-pane { display: flex; flex-direction: column; min-width: 0; }
.h8-pane-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 0.85rem; border-bottom: 1px solid var(--br); }
.h8-pane-tabs { display: flex; }

.h8 .h8-pane-tabs .tab-btn {
  font: inherit; font-size: 0.74rem; font-weight: 600; color: var(--tx-d);
  background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 0.7rem 0.85rem; cursor: pointer; transition: color 0.18s, border-color 0.18s;
}

.h8 .h8-pane-tabs .tab-btn:hover { color: var(--tx); }
.h8 .h8-pane-tabs .tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); }

.h8-tf { display: flex; gap: 2px; }
.h8-tf button { font: inherit; font-size: 0.64rem; color: var(--tx-d); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--br); border-radius: 6px; padding: 0.22rem 0.45rem; cursor: pointer; }
.h8-tf button.on { color: #fff; background: var(--blue); border-color: var(--blue); }

.h8 .h8-pane .tab-panel { display: none; flex: 1; min-height: 0; }
.h8 .h8-pane .tab-panel.active { display: block; }

.h8-chart { position: relative; padding: 0.5rem 0 0; }
.h8-chart svg { display: block; width: 100%; height: 210px; }
.h8-g line { stroke: rgba(148, 163, 184, 0.1); stroke-width: 1; }
.h8-l { stroke: var(--blue); stroke-width: 2; }
.h8-d { fill: #93C5FD; }

.h8-depth { display: flex; align-items: center; gap: 3px; padding: 0.5rem 0.85rem 0.75rem; border-top: 1px solid var(--br); }
.h8-depth-lbl { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-d); margin-right: 0.4rem; }
.h8-depth i { flex: 1; height: 16px; border-radius: 2px; background: linear-gradient(to top, currentColor calc(var(--v)), transparent calc(var(--v))); opacity: 0.55; }
.h8-depth i.bid { color: #F87171; }
.h8-depth i.ask { color: var(--green); }

.h8-tbl { width: 100%; border-collapse: collapse; font-size: 0.76rem; }
.h8-tbl th { text-align: left; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--tx-d); padding: 0.6rem 0.85rem; border-bottom: 1px solid var(--br); }
.h8-tbl td { padding: 0.55rem 0.85rem; border-bottom: 1px solid rgba(148, 163, 184, 0.06); color: var(--tx-m); font-variant-numeric: tabular-nums; }
.h8-tbl td:first-child { color: var(--tx); font-weight: 600; }
.h8-tbl .pend { color: var(--blue); }
.h8-tbl .done { color: var(--tx-d); }

/* ticket column */
.h8-ticket { display: flex; flex-direction: column; gap: 0.6rem; padding: 0.75rem; border-left: 1px solid var(--br); min-width: 0; }
.h8 .h8-ticket .hero-card { margin: 0; border: 1px solid var(--br); border-radius: 10px; box-shadow: none; transform: none; background: rgba(255, 255, 255, 0.02); min-width: 0; }
.h8-kpis { display: grid; gap: 0.4rem; }
.h8-kpi { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.6rem 0.7rem; background: rgba(255, 255, 255, 0.02); border: 1px solid var(--br); border-radius: 9px; }
.h8-kpi span { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--tx-d); }
.h8-kpi b { font-size: 0.95rem; font-weight: 700; color: var(--tx); font-variant-numeric: tabular-nums; }
.h8-pos { color: var(--green) !important; }

/* ============================================================
   CAPABILITY BENTO
   ============================================================ */
.h8-bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }

.h8-bt {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  grid-column: span 2;
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 16px;
  padding: 1.6rem;
  min-width: 0;
  transition: border-color 0.2s;
}

.h8-bt:hover { border-color: var(--saas-border-hover); }
.h8-bt--wide { grid-column: span 4; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: center; }
.h8-bt--flip { grid-template-columns: 1.15fr 0.85fr; }
.h8-bt--flip .h8-bt-copy { order: 2; }
.h8-bt h3 { margin: 0 0 0.5rem; font-size: 1.14rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; }
.h8-bt p { margin: 0; font-size: 0.9rem; line-height: 1.6; color: var(--tx-m); }
.h8-bt-vis { border-radius: 11px; overflow: hidden; }

.h8-bt-chips { display: flex; flex-wrap: wrap; gap: 0.35rem; list-style: none; margin: 1.1rem 0 0; padding: 0; }
.h8-bt-chips li { font-size: 0.7rem; color: var(--tx-m); background: rgba(255, 255, 255, 0.04); border: 1px solid var(--br); border-radius: 999px; padding: 0.24rem 0.6rem; }

/* depth of market */
.h8-dom { background: rgba(0, 0, 0, 0.25); border: 1px solid var(--br); padding: 0.6rem; font-variant-numeric: tabular-nums; }
.h8-dom-row { display: grid; grid-template-columns: 62px 1fr 46px; align-items: center; gap: 0.5rem; padding: 0.2rem 0.25rem; font-size: 0.72rem; }
.h8-dom-row span.up { color: var(--green); }
.h8-dom-row span.dn { color: #F87171; }
.h8-dom-row i { height: 11px; border-radius: 2px; background: linear-gradient(90deg, rgba(59, 130, 246, 0.5) var(--v), rgba(255, 255, 255, 0.05) var(--v)); }
.h8-dom-row b { font-size: 0.68rem; font-weight: 500; color: var(--tx-d); text-align: right; }
.h8-dom-mid { margin: 0.3rem 0; padding: 0.22rem 0.25rem; font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); border-block: 1px dashed rgba(59, 130, 246, 0.3); }

/* risk meters */
.h8-risk { display: grid; gap: 0.7rem; margin-top: auto; padding-top: 0.4rem; }
.h8-risk > div { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 0.6rem; }
.h8-risk span { font-size: 0.68rem; color: var(--tx-d); }
.h8-risk b { font-size: 0.68rem; font-weight: 600; color: var(--tx-m); font-variant-numeric: tabular-nums; }
.h8-risk i { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.07); }
.h8-risk i::before { content: ''; display: block; height: 100%; width: var(--v); border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--green)); }

/* code sample */
.h8-code { margin: auto 0 0; padding: 0.85rem 0.95rem; background: rgba(0, 0, 0, 0.3); border: 1px solid var(--br); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.68rem; line-height: 1.6; color: var(--tx-m); overflow-x: auto; }
.h8-code .k { color: var(--blue); font-weight: 700; }
.h8-code .s { color: var(--green); }
.h8-code .n { color: #FBBF24; }

/* mini candle chart */
.h8-mini { background: rgba(0, 0, 0, 0.22); border: 1px solid var(--br); padding: 0.5rem; }
.h8-mini svg { display: block; width: 100%; height: 130px; }
.h8-candles rect { fill: var(--green); }
.h8-candles rect.dn { fill: #F87171; }
.h8-ma { stroke: var(--blue); stroke-width: 1.6; }

/* ============================================================
   PRICING TOGGLE
   ============================================================ */
.h8-toggle { display: inline-flex; gap: 3px; margin: 0 auto 1rem; padding: 4px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--br); border-radius: 999px; }
.h8-sec .h8-toggle { display: flex; width: fit-content; margin-inline: auto; }

.h8 .h8-toggle .tab-btn {
  font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--tx-m);
  background: none; border: 0; border-radius: 999px; padding: 0.5rem 1.1rem; cursor: pointer;
  transition: background 0.18s, color 0.18s;
}

.h8 .h8-toggle .tab-btn.active { background: var(--blue); color: #fff; }
.h8-toggle-note { display: none; max-width: 62ch; margin: 0 auto 2.25rem; text-align: center; font-size: 0.88rem; line-height: 1.6; color: var(--tx-m); }
.h8 .h8-toggle-note.active { display: block; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.h8-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

.h8-quote {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0;
  background: var(--card);
  border: 1px solid var(--br);
  border-radius: 16px;
  padding: 1.75rem;
}

.h8-quote blockquote { margin: 0; font-size: 0.95rem; line-height: 1.7; color: var(--tx); }
.h8-quote blockquote::before { content: '“'; display: block; font-size: 2.4rem; line-height: 0.6; color: var(--blue); margin-bottom: 0.4rem; }
.h8-quote figcaption { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--br); }
.h8-av { width: 36px; height: 36px; border-radius: 50%; flex: none; }
.h8-av--a { background: linear-gradient(135deg, #60A5FA, #1D4ED8); }
.h8-av--b { background: linear-gradient(135deg, #34D399, #047857); }
.h8-av--c { background: linear-gradient(135deg, #FBBF24, #B45309); }
.h8-quote figcaption span { display: flex; flex-direction: column; font-size: 0.76rem; color: var(--tx-d); }
.h8-quote figcaption b { font-size: 0.88rem; font-weight: 700; color: #fff; }

/* ── RESPONSIVE (app + bento + quotes) ──────────────────── */
@media (max-width: 1080px) {
  .h8-app { grid-template-columns: 44px minmax(0, 1fr) 240px; }
  .h8-watch { display: none; }
  .h8-bento { grid-template-columns: repeat(2, 1fr); }
  .h8-bt, .h8-bt--wide { grid-column: span 2; }
  .h8-bt--wide, .h8-bt--flip { grid-template-columns: 1fr; gap: 1.25rem; }
  .h8-bt--flip .h8-bt-copy { order: 0; }
  .h8-quotes { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .h8-shot { padding-inline: 16px; }
  .h8-app { grid-template-columns: 1fr; min-height: 0; }
  .h8-rail { flex-direction: row; justify-content: center; border-right: 0; border-bottom: 1px solid var(--br); }
  .h8-ticket { border-left: 0; border-top: 1px solid var(--br); }
  .h8-bento { grid-template-columns: 1fr; }
  .h8-bt, .h8-bt--wide { grid-column: span 1; }
  .h8-tbl { font-size: 0.7rem; }
  .h8-tbl th, .h8-tbl td { padding-inline: 0.5rem; }
}

.h8-pricing-switch { display: flex; flex-direction: column; align-items: center; }

@media (min-width: 1181px) {
/* ── HEADER ACTIONS ─────────────────────────────────────────
   #nav-login / #nav-cta are plain block divs from main.js; make them
   non-shrinking flex rows so their buttons sit on one line.        */
.h8 .h8-head .nav-actions { display: flex; align-items: center; gap: 0.45rem; flex: none; flex-wrap: nowrap; }
.h8 .h8-head .nav-actions > div { display: flex; align-items: center; gap: 0.45rem; flex: none; }
.h8 .h8-head .nav-actions .btn { white-space: nowrap; padding: 0.5rem 0.9rem; font-size: 0.78rem; }
}

@media (min-width: 1181px) {
  .h8-head-in { gap: 1.25rem; }
  .h8 .h8-head .nav-links { gap: 1.05rem; }
  .h8 .h8-head .nav-link { font-size: 0.81rem; }
}

/* ── HERO CLUSTER RESPONSIVE ────────────────────────────── */
@media (max-width: 1180px) {
  .h8-hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .h8-cluster { min-height: 400px; max-width: 620px; }
}

@media (max-width: 720px) {
  .h8-hero { padding: 3rem 0 3.5rem; }
  /* stacking beats overlapping once there is no room to overlap */
  .h8-cluster { min-height: 0; display: grid; gap: 0.85rem; }
  .h8-c { position: static; width: auto; }
  .h8-c--chart { padding-bottom: 0.25rem; }
  .h8-c--chart svg { height: 120px; }
  .h8-hero-trust { flex-wrap: wrap; }
}

@media (min-width: 1181px) {
  /* Italian labels are longer; keep the nav clear of the language switcher */
  .h8-head-in { gap: 14px; }
  .h8 .h8-head .nav-links { gap: 0.5rem; }
  .h8 .h8-head .nav-link { font-size: 0.76rem; }
}
