/* Viroan Product page — bespoke section layouts.
 *
 * Each section commits to a different composition so the page doesn't read
 * as "seven identical card grids". The shared theme tokens (--bg, --fg,
 * --accent, fonts) stay consistent; what varies is structure and rhythm.
 */

.prod-page { background: var(--bg-0); }

/* ─── shared section padding ─────────────────────── */
.prod-hero, .prod-how, .prod-risk,
.prod-audit, .prod-fee, .prod-custody, .prod-anti {
  padding: 96px 40px;
}
.prod-hero-inner, .prod-how-inner, .prod-risk-inner,
.prod-audit-inner, .prod-fee-inner, .prod-custody-inner, .prod-anti-inner {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .prod-hero, .prod-how, .prod-risk,
  .prod-audit, .prod-fee, .prod-custody, .prod-anti {
    padding: 64px 20px;
  }
}

/* ── shared section heads ─────────────────────────── */
.prod-how-head, .prod-risk-head, .prod-audit-head,
.prod-fee-head, .prod-custody-head, .prod-anti-head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.prod-how-head h2, .prod-risk-head h2, .prod-audit-head h2,
.prod-fee-head h2, .prod-custody-head h2, .prod-anti-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  margin: 14px 0 14px;
}
.prod-how-head p, .prod-risk-head p, .prod-audit-head p,
.prod-fee-head p, .prod-custody-head p, .prod-anti-head p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0;
}

/* ═══════════════════════════════════════════════════ */
/* 1. HERO                                              */
/* ═══════════════════════════════════════════════════ */
.prod-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.prod-hero-inner { position: relative; z-index: 1; }
.prod-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
@media (max-width: 1000px) {
  .prod-hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.prod-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.4vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--fg-0);
  margin: 18px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.prod-hero-h1 .accent { color: var(--accent); }
.prod-hero-sub {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--fg-1);
  margin: 0;
}
.prod-hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.prod-hero-svg {
  width: 100%; max-width: 620px;
  height: auto;
}
.prod-hero-stamps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.prod-hero-stamps > div { display: flex; flex-direction: column; gap: 6px; }
.prod-hero-stamps .k {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--fg-3); text-transform: uppercase;
}
.prod-hero-stamps .v {
  font-family: var(--font-mono); font-size: 14px;
  color: var(--accent); letter-spacing: 0.04em;
}
@media (max-width: 700px) {
  .prod-hero-stamps { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════ */
/* 2. HOW IT WORKS — horizontal flows + central rail   */
/* ═══════════════════════════════════════════════════ */
.prod-how { background: var(--bg-1); }

.prod-how-flow {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
}
@media (max-width: 1000px) {
  .prod-how-flow { grid-template-columns: 1fr; gap: 20px; }
}
.prod-how-flow.is-investor {}
.prod-how-flow.is-author   {}

.prod-how-flow-head {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
@media (max-width: 1000px) {
  .prod-how-flow-head { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
}
.prod-how-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.is-investor .prod-how-tag { color: var(--accent); }
.prod-how-flow-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--fg-0);
  margin: 0 0 12px;
}
.prod-how-flow-intro {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}

.prod-how-flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto repeat(0, 1fr);
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 1000px) {
  .prod-how-flow-steps { grid-template-columns: 1fr; gap: 12px; }
  .prod-how-step-arrow { display: none; }
}
.prod-how-step {
  padding: 18px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-0);
  display: flex; flex-direction: column; gap: 8px;
}
.is-investor .prod-how-step { border-top: 2px solid var(--accent); }
.is-author   .prod-how-step { border-top: 2px solid var(--fg-3); }
.prod-how-step .step-n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--fg-3);
}
.prod-how-step h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--fg-0);
  margin: 0;
}
.prod-how-step p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.prod-how-step-arrow {
  align-self: center;
  font-family: var(--font-mono);
  color: var(--fg-3);
  font-size: 18px;
  opacity: 0.6;
}

/* Central rail divider between investor & author flows */
.prod-how-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  margin: 14px 0;
  border-top: 1px dashed var(--accent-line);
  border-bottom: 1px dashed var(--accent-line);
}
.prod-how-rail-l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}
.prod-how-rail-r {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════ */
/* 3. RISK ENGINE — terminal feed + pillar list        */
/* ═══════════════════════════════════════════════════ */
.prod-risk-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 32px;
  align-items: stretch;
}
@media (max-width: 1000px) {
  .prod-risk-split { grid-template-columns: 1fr; }
}

.prod-risk-terminal {
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: var(--bg-1);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.prod-risk-term-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-2, var(--bg-0));
}
.prod-risk-term-bar .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--fg-3); opacity: 0.6;
}
.prod-risk-term-bar .dot.red    { background: #c84a4a; opacity: 0.85; }
.prod-risk-term-bar .dot.yellow { background: #d6a849; opacity: 0.85; }
.prod-risk-term-bar .dot.green  { background: var(--accent); opacity: 0.95; }
.prod-risk-term-title {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-2);
}
.prod-risk-term-body {
  padding: 18px 22px;
  flex: 1;
}
.prod-risk-term-body pre {
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--fg-1);
  margin: 0;
  white-space: pre-wrap;
}
.prod-risk-term-body pre {
  /* Subtle highlight for the BLOCK line. Done by inline span would
     require parsing; instead we just rely on character distinctiveness. */
}

.prod-risk-list {
  display: flex; flex-direction: column;
  gap: 18px;
  justify-content: space-between;
}
.prod-risk-row {
  display: flex; gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.prod-risk-row:last-child { border-bottom: 0; }
.prod-risk-row-n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  min-width: 32px;
  padding-top: 4px;
}
.prod-risk-row h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg-0);
  margin: 0 0 6px;
}
.prod-risk-row p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}

.prod-callout {
  margin: 40px 0 0;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 8px 8px 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-1);
  display: flex; gap: 14px; align-items: flex-start;
}
.prod-callout-icon {
  color: var(--accent); font-size: 12px;
  padding-top: 6px; flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════ */
/* 4. AUDIT PIPELINE — unchanged horizontal rail       */
/* ═══════════════════════════════════════════════════ */
.prod-audit { background: var(--bg-1); }
.prod-audit-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
}
.prod-audit-rail::before {
  content: "";
  position: absolute;
  top: 11px; left: 5%; right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-line) 8%, var(--accent-line) 92%, transparent);
  z-index: 0;
}
@media (max-width: 900px) {
  .prod-audit-rail { grid-template-columns: 1fr; }
  .prod-audit-rail::before { display: none; }
}
.prod-audit-stage {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
}
.prod-audit-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--bg-0);
  border: 2px solid var(--accent);
  box-shadow: 0 0 14px var(--accent-soft);
  margin-bottom: 20px; position: relative;
}
.prod-audit-dot::after {
  content: ""; position: absolute; inset: 5px;
  border-radius: 50%; background: var(--accent);
}
.prod-audit-card {
  width: 100%; padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-0);
}
.prod-audit-n {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em;
  color: var(--fg-3); margin-bottom: 10px;
}
.prod-audit-card h3 {
  font-size: 16px; font-weight: 600;
  color: var(--fg-0); margin: 0 0 10px;
}
.prod-audit-card p {
  font-size: 13.5px; line-height: 1.6;
  color: var(--fg-2); margin: 0 0 18px;
}
.prod-audit-artifact {
  display: flex; flex-direction: column; gap: 4px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.prod-audit-artifact .k {
  font-family: var(--font-mono); font-size: 9.5px;
  letter-spacing: 0.2em; color: var(--fg-3);
}
.prod-audit-artifact .v {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--accent);
}

/* ═══════════════════════════════════════════════════ */
/* 5. FEE — single horizontal bar (15/15/70 visible    */
/*    as proportional widths) + legend below           */
/* ═══════════════════════════════════════════════════ */
.prod-fee-bar {
  display: flex;
  width: 100%;
  height: 220px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin-bottom: 36px;
}
.prod-fee-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-right: 1px solid var(--line);
  transition: filter 0.2s ease;
}
.prod-fee-segment:last-child { border-right: 0; }
.prod-fee-segment[data-slice="0"] { background: var(--bg-1); }
.prod-fee-segment[data-slice="1"] { background: var(--bg-1); }
.prod-fee-segment[data-slice="2"] {
  background: linear-gradient(135deg, var(--accent-soft), transparent 80%);
}
.prod-fee-segment-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  padding: 20px;
  text-align: center;
}
.prod-fee-pct {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--fg-0);
}
.prod-fee-segment[data-slice="2"] .prod-fee-pct { color: var(--accent); }
.prod-fee-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-2);
}
@media (max-width: 700px) {
  .prod-fee-bar { height: auto; flex-direction: column; }
  .prod-fee-segment { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 20px; }
  .prod-fee-segment:last-child { border-bottom: 0; }
}

.prod-fee-legend {
  display: flex; flex-direction: column;
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}
.prod-fee-legend-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 22px;
  row-gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.prod-fee-legend-row:last-child { border-bottom: 0; }
.prod-fee-legend-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--fg-3);
  align-self: center;
  flex-shrink: 0;
}
.prod-fee-legend-row[data-slice="2"] .prod-fee-legend-dot { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.prod-fee-legend-pct {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--fg-0);
  letter-spacing: -0.01em;
  flex-shrink: 0;
  min-width: 56px;
}
.prod-fee-legend-row[data-slice="2"] .prod-fee-legend-pct { color: var(--accent); }
.prod-fee-legend-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
  flex-shrink: 0;
  min-width: 0;
}
.prod-fee-legend-note {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-2);
  flex: 1 1 280px;
  min-width: 0;
}
@media (max-width: 700px) {
  .prod-fee-legend-row {
    grid-template-columns: 18px 1fr;
    grid-template-rows: auto auto auto;
    gap: 4px 12px;
  }
  .prod-fee-legend-dot { grid-row: span 3; align-self: flex-start; margin-top: 8px; }
  .prod-fee-legend-note { grid-column: 2; }
}
.prod-fee-foot {
  max-width: 820px; margin: 36px auto 0;
  text-align: center; font-size: 13.5px;
  line-height: 1.7; color: var(--fg-3);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════ */
/* 6. NON-CUSTODIAL — diagram + plain bullet list      */
/* ═══════════════════════════════════════════════════ */
.prod-custody { background: var(--bg-1); }
.prod-custody-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 1000px) {
  .prod-custody-split { grid-template-columns: 1fr; gap: 32px; }
}
.prod-custody-diagram {
  display: flex; justify-content: center;
}
.prod-custody-svg {
  width: 100%; max-width: 380px; height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-0);
}
.prod-custody-list {
  display: flex; flex-direction: column;
  gap: 0;
}
.prod-custody-row {
  display: flex; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.prod-custody-row:last-child { border-bottom: 0; }
.prod-custody-row-mark {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  margin-top: 2px;
}
.prod-custody-row h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--fg-0);
  margin: 0 0 6px;
}
.prod-custody-row p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}

/* ═══════════════════════════════════════════════════ */
/* 7. ANTI-PIRACY — certificate strips + CTA           */
/* ═══════════════════════════════════════════════════ */
.prod-anti-list {
  display: flex; flex-direction: column;
  gap: 14px;
  margin-bottom: 72px;
}
.prod-anti-strip {
  display: grid;
  grid-template-columns: 110px 1fr 200px;
  gap: 24px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-1);
  align-items: center;
}
@media (max-width: 900px) {
  .prod-anti-strip { grid-template-columns: 1fr; gap: 12px; padding: 18px 20px; }
  .prod-anti-strip-r { border-top: 1px solid var(--line); padding-top: 12px; }
}
.prod-anti-strip-l {
  display: flex; flex-direction: column; gap: 4px;
}
.prod-anti-strip-n {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--accent);
}
.prod-anti-strip-cert {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.prod-anti-strip-m h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--fg-0);
  margin: 0 0 6px;
}
.prod-anti-strip-m p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}
.prod-anti-strip-r {
  display: flex; flex-direction: column; gap: 4px;
  text-align: right;
}
.prod-anti-strip-r .k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}
.prod-anti-strip-r .v {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.05em;
}
@media (max-width: 900px) {
  .prod-anti-strip-r { text-align: left; }
}

.prod-cta {
  padding: 56px 48px;
  border: 1px solid var(--accent-line);
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft), transparent);
  text-align: center;
}
.prod-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  margin: 0 0 16px;
}
.prod-cta p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
  max-width: 720px;
  margin: 0 auto 32px;
}
.prod-cta-btn {
  padding: 14px 28px;
  font-size: 14px;
}
@media (max-width: 700px) {
  .prod-cta { padding: 36px 24px; }
}

/* ════════════════════════════════════════════════════════════
   v2 EXTENSIONS — Engine-first restructure
   Adds: engine intro, 5 pillars (replaces prod-risk), 12 checks
   grid, Trust Score gauge, how-it-works tabs, money-flow combined
   block, final 3-path CTA. Original prod-risk-* and prod-anti-*
   styles kept for backward compat but no longer used.
   ════════════════════════════════════════════════════════════ */

/* Shared section padding for v2 sections */
.prod-engine, .prod-pillars, .prod-checks, .prod-trust,
.prod-flow, .prod-cta-block {
  padding: 96px 40px;
}
.prod-engine-inner, .prod-pillars-inner, .prod-checks-inner,
.prod-trust-inner, .prod-flow-inner, .prod-cta-block-inner {
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .prod-engine, .prod-pillars, .prod-checks, .prod-trust,
  .prod-flow, .prod-cta-block { padding: 64px 20px; }
}

/* Shared section heads for v2 */
.prod-engine-head, .prod-pillars-head, .prod-checks-head,
.prod-trust-head, .prod-flow-head, .prod-cta-block-head {
  max-width: 820px;
  margin: 0 auto 56px;
  text-align: center;
}
.prod-engine-head h2, .prod-pillars-head h2, .prod-checks-head h2,
.prod-trust-head h2, .prod-flow-head h2, .prod-cta-block-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--fg-0);
  margin: 8px 0 16px;
}
.prod-engine-head p, .prod-pillars-head p, .prod-checks-head p,
.prod-trust-head p, .prod-flow-head p, .prod-cta-block-head p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* ── 2. ENGINE INTRO ──────────────────────────────── */
.prod-engine { background: var(--bg-0); }
.prod-engine-claim-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}
@media (max-width: 800px) {
  .prod-engine-claim-grid { grid-template-columns: 1fr; gap: 24px; }
}
.prod-engine-claim {
  border-top: 1px solid var(--accent-line);
  padding-top: 24px;
}
.prod-engine-claim-n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.prod-engine-claim h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg-0);
  margin: 0 0 10px;
}
.prod-engine-claim p {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}

/* ── 3. PILLARS ───────────────────────────────────── */
.prod-pillars { background: var(--bg-1); }
.prod-pillars-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
@media (max-width: 1100px) {
  .prod-pillars-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .prod-pillars-grid { grid-template-columns: 1fr; }
}
.prod-pillars-card {
  background: var(--bg-0);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  min-height: 280px;
}
.prod-pillars-card-n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 18px;
}
.prod-pillars-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg-0);
  margin: 0 0 12px;
}
.prod-pillars-card p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* Callout used by both pillars and old risk */
.prod-pillars .prod-callout,
.prod-pillars-inner > .prod-callout {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 22px;
  background: var(--bg-0);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-2);
}
.prod-pillars .prod-callout-icon {
  color: var(--accent);
  font-size: 12px;
  margin-top: 4px;
}

/* ── 4. CHECKS (12 grid) ──────────────────────────── */
.prod-checks { background: var(--bg-0); }
.prod-checks-frame {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px;
  align-items: start;
}
@media (max-width: 1000px) {
  .prod-checks-frame { grid-template-columns: 1fr; }
}
.prod-checks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 750px) {
  .prod-checks-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .prod-checks-grid { grid-template-columns: 1fr; }
}
.prod-checks-cell {
  background: var(--bg-1);
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  padding: 18px 16px;
}
.prod-checks-cell-n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 10px;
}
.prod-checks-cell h3 {
  font-family: var(--font-display);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg-0);
  margin: 0 0 6px;
}
.prod-checks-cell p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 0;
}
.prod-checks-latency {
  background: var(--bg-1);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 24px 20px;
  position: sticky;
  top: 100px;
}
.prod-checks-latency-head { margin-bottom: 18px; }
.prod-checks-latency-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--accent-line);
}
.prod-checks-latency-row:first-of-type { border-top: none; }
.prod-checks-latency-row .k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-3);
}
.prod-checks-latency-row .v {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
}
.prod-checks-latency-note {
  margin: 16px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-3);
}

/* ── 5. TRUST SCORE ───────────────────────────────── */
.prod-trust { background: var(--bg-1); }
.prod-trust-split {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .prod-trust-split { grid-template-columns: 1fr; gap: 32px; }
}
.prod-trust-visual {
  background: var(--bg-0);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 24px;
  display: flex;
  justify-content: center;
}
.prod-trust-svg { width: 100%; max-width: 360px; height: auto; }
.prod-trust-breakdown-head {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-3);
  text-transform: uppercase;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--accent-line);
}
.prod-trust-row {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--accent-line);
}
.prod-trust-row:last-of-type { border-bottom: none; }
.prod-trust-row-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.prod-trust-row-m h4 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg-0);
  margin: 0 0 4px;
}
.prod-trust-row-m p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}
.prod-trust-foot {
  margin: 24px 0 0;
  padding: 14px 18px;
  background: var(--bg-0);
  border-left: 3px solid var(--accent);
  border-radius: 0 4px 4px 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-2);
}

/* ── 7. HOW IT WORKS — tabs ───────────────────────── */
.prod-how-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0 auto 36px;
  flex-wrap: wrap;
}
.prod-how-tab {
  background: var(--bg-1);
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  padding: 12px 20px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-2);
  transition: all 0.15s;
}
.prod-how-tab:hover { color: var(--fg-0); border-color: var(--accent); }
.prod-how-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-0);
}
.prod-how-flow.is-tabbed .prod-how-flow-head {
  text-align: center;
  margin-bottom: 32px;
}
.prod-how-flow.is-tabbed .prod-how-flow-title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg-0);
  margin: 0 0 8px;
}
.prod-how-flow.is-tabbed .prod-how-flow-intro {
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

/* ── 8. FLOW (custody + fee + anti) ───────────────── */
.prod-flow { background: var(--bg-0); }
.prod-flow-sub {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--accent-line);
}
.prod-flow-sub:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.prod-flow-sub-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
}
.prod-flow-sub-n {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.prod-flow-sub-head h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg-0);
  margin: 0;
}
.prod-flow-sub-lead {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0 0 18px;
  max-width: 800px;
}
.prod-flow-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (max-width: 700px) {
  .prod-flow-bullets { grid-template-columns: 1fr; }
}
.prod-flow-bullets li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  padding-left: 16px;
  border-left: 2px solid var(--accent-line);
}
.prod-flow-bullets li strong {
  color: var(--fg-0);
  font-weight: 600;
}
.prod-flow-custody-body {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  .prod-flow-custody-body { grid-template-columns: 1fr; }
}
.prod-flow-custody-diagram { max-width: 360px; }
.prod-flow-sub-foot {
  margin: 20px 0 0;
  padding: 14px 18px;
  background: var(--bg-1);
  border-radius: 6px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--fg-2);
}

/* ── 9. CTA ──────────────────────────────────────── */
.prod-cta-block { background: var(--bg-1); }
.prod-cta-block-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .prod-cta-block-paths { grid-template-columns: 1fr; }
}
.prod-cta-block-path {
  background: var(--bg-0);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}
.prod-cta-block-path-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 14px;
}
.prod-cta-block-path h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fg-0);
  margin: 0 0 10px;
}
.prod-cta-block-path p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0 0 22px;
  flex-grow: 1;
}
.prod-cta-block-btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ═════════════════════════════════════════════════════════════
   Mobile-only HTML diagrams (replace SVG on narrow widths)
   ════════════════════════════════════════════════════════════ */

/* Visibility toggle */
.prod-hero-visual-desktop,
.prod-flow-custody-diagram-desktop { display: block; width: 100%; }
.prod-hero-visual-mobile,
.prod-flow-custody-diagram-mobile  { display: none; }

@media (max-width: 800px) {
  .prod-hero-visual-desktop,
  .prod-flow-custody-diagram-desktop { display: none; }
  .prod-hero-visual-mobile,
  .prod-flow-custody-diagram-mobile  { display: block; width: 100%; }
}

/* ── Hero mobile diagram ───────────────────────── */
.prod-hero-diag-m {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
}
.prod-hero-diag-m-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}
.prod-hero-diag-m-input {
  background: var(--bg-1);
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}
.prod-hero-diag-m-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-1);
}
.prod-hero-diag-m-d {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--fg-3);
}
.prod-hero-diag-m-arrow {
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--accent);
  opacity: 0.7;
  line-height: 1;
}
.prod-hero-diag-m-engine {
  background: var(--bg-0);
  border: 1.5px solid var(--accent);
  border-radius: 8px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
  width: 100%;
  box-shadow: 0 0 24px var(--accent-soft, transparent);
}
.prod-hero-diag-m-engine-t {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent);
}
.prod-hero-diag-m-engine-m {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.prod-hero-diag-m-engine-l {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
}
.prod-hero-diag-m-output {
  background: var(--bg-1);
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  width: 100%;
}

/* ── Custody mobile diagram ────────────────────── */
.prod-flow-custody-diag-m {
  width: 100%;
  background: var(--bg-0);
  border: 1px solid var(--accent-line);
  border-radius: 8px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.prod-flow-custody-diag-m-tag {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--fg-3);
  opacity: 0.6;
}
.prod-flow-custody-diag-m-box {
  width: 100%;
  background: var(--bg-1);
  border: 1px solid var(--accent-line);
  border-radius: 6px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}
.prod-flow-custody-diag-m-side {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--fg-3);
  opacity: 0.7;
  margin-bottom: 4px;
}
.prod-flow-custody-diag-m-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-0);
}
.prod-flow-custody-diag-m-d {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-2);
}
.prod-flow-custody-diag-m-d2 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-top: 2px;
}
.prod-flow-custody-diag-m-bridge {
  width: auto;
  background: var(--bg-0);
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  align-items: center;
  text-align: center;
}
.prod-flow-custody-diag-m-bridge-k {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.prod-flow-custody-diag-m-bridge-d {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--fg-2);
}
.prod-flow-custody-diag-m-foot {
  width: 100%;
  text-align: right;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--fg-3);
  opacity: 0.6;
  margin-top: 4px;
}
