/* ============================================================================
   site-home-v2.css - novo design da home da Complya
   Prefixo "h2-" em todas as classes pra nao conflitar com CSS existente
   ============================================================================ */

.h2-wrap { max-width: 1240px; margin: 0 auto; }

/* ============ TOKENS ============ */
:root {
  --h2-white: #FFFFFF;
  --h2-cream: #F8FFFD;
  --h2-mist: #F0FDFA;
  --h2-wash: #ECFDF5;
  --h2-pale: #CCFBF1;

  --h2-teal-glow: #5EEAD4;
  --h2-teal-light: #14B8A6;
  --h2-teal: #0F766E;
  --h2-teal-mid: #0D5A54;
  --h2-teal-dark: #115E59;
  --h2-teal-deep: #0A4A44;
  --h2-teal-ink: #083F3A;

  --h2-ink: #083F3A;
  --h2-ink-soft: #0D5A54;
  --h2-body: #2D5E5A;
  --h2-mute: #5A807C;
  --h2-dim: #93B5B1;

  --h2-line: rgba(15, 118, 110, 0.14);
  --h2-line-hi: rgba(15, 118, 110, 0.28);

  --h2-amber: #B45309;
  --h2-rose: #B91C1C;

  --h2-font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --h2-font-serif: 'Instrument Serif', 'Times New Roman', serif;
  --h2-font-mono: 'JetBrains Mono', ui-monospace, monospace;
  --h2-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============ HERO ============ */
.h2-hero {
  position: relative;
  min-height: 100svh;
  padding: 160px 0 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, var(--h2-mist), transparent 70%),
    radial-gradient(ellipse 60% 50% at 90% 80%, var(--h2-pale), transparent 70%),
    var(--h2-white);
  font-family: var(--h2-font-display);
}
.h2-hero-grid {
  position: absolute; inset: 0; z-index: 0;
  perspective: 500px;
  overflow: hidden;
  opacity: 0.6;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 70%);
  pointer-events: none;
}
.h2-hero-grid::before {
  content: "";
  position: absolute; bottom: -100%; left: -50%;
  width: 200%; height: 200%;
  background-image:
    linear-gradient(to right, rgba(15, 118, 110, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 118, 110, 0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  transform: rotateX(60deg);
  transform-origin: center top;
  animation: h2GridMove 24s linear infinite;
}
@keyframes h2GridMove {
  from { transform: rotateX(60deg) translateY(0); }
  to   { transform: rotateX(60deg) translateY(50px); }
}
.h2-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
}
.h2-hero-glow.g1 { width: 540px; height: 540px; background: var(--h2-pale); opacity: 0.6; top: -180px; left: -80px; animation: h2GlowFloat 18s infinite ease-in-out; }
.h2-hero-glow.g2 { width: 460px; height: 460px; background: var(--h2-wash); opacity: 0.8; bottom: -180px; right: -80px; animation: h2GlowFloat 22s infinite ease-in-out reverse; }
@keyframes h2GlowFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(60px, 50px) scale(1.12); }
}

.h2-hero-inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) { .h2-hero-inner { grid-template-columns: 1fr; gap: 50px; } }

.h2-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  background: var(--h2-white);
  border: 1px solid var(--h2-line-hi);
  border-radius: 999px;
  font-size: 12px;
  color: var(--h2-mute);
  margin-bottom: 28px;
  font-family: var(--h2-font-mono);
  box-shadow: 0 2px 10px -2px rgba(15, 118, 110, 0.15);
}
.h2-live-badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--h2-teal);
  box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.6);
  animation: h2LivePulse 2s infinite;
}
@keyframes h2LivePulse {
  0%   { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(15, 118, 110, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 118, 110, 0); }
}
.h2-live-badge strong { color: var(--h2-ink); font-weight: 600; }

.h2-hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  color: var(--h2-ink);
  text-wrap: balance;
}
.h2-hero h1 em {
  font-family: var(--h2-font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(120deg, var(--h2-teal) 0%, var(--h2-teal-light) 60%, var(--h2-teal-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-right: 4px;
}
.h2-hero-sub {
  font-size: 1.1rem;
  color: var(--h2-body);
  max-width: 520px;
  margin-bottom: 36px;
  line-height: 1.6;
}
.h2-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.h2-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s var(--h2-ease);
  position: relative;
  overflow: hidden;
}
.h2-btn-lg { padding: 16px 28px; font-size: 15px; }
.h2-btn-primary {
  background: var(--h2-teal);
  color: var(--h2-white);
  box-shadow: 0 6px 20px -4px rgba(15, 118, 110, 0.4), 0 1px 0 rgba(255,255,255,0.15) inset;
}
.h2-btn-primary:hover {
  background: var(--h2-teal-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -6px rgba(15, 118, 110, 0.5), 0 1px 0 rgba(255,255,255,0.2) inset;
}
.h2-btn-primary::after {
  content: "";
  position: absolute; top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  transition: left 0.6s;
}
.h2-btn-primary:hover::after { left: 150%; }
.h2-btn-ghost {
  background: var(--h2-white);
  color: var(--h2-teal-deep);
  border-color: var(--h2-line-hi);
  box-shadow: 0 2px 8px -2px rgba(15, 118, 110, 0.08);
}
.h2-btn-ghost:hover { border-color: var(--h2-teal); background: var(--h2-mist); }

.h2-trust-row {
  display: flex; align-items: center; gap: 20px;
  color: var(--h2-dim);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--h2-font-mono);
  flex-wrap: wrap;
}
.h2-trust-row::before { content: ""; width: 32px; height: 1px; background: var(--h2-line-hi); }

/* ============ PAINEL DE CONFORMIDADE ============ */
.h2-panel {
  background: var(--h2-white);
  border: 1px solid var(--h2-line-hi);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 30px 60px -15px rgba(15, 118, 110, 0.25),
    0 10px 24px -6px rgba(15, 118, 110, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  display: flex;
  flex-direction: column;
}
.h2-panel-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--h2-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, var(--h2-mist) 0%, var(--h2-white) 100%);
}
.h2-panel-head-left {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600;
  color: var(--h2-ink);
  font-size: 14px;
  letter-spacing: -0.01em;
}
.h2-panel-head-ico {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--h2-teal-glow), var(--h2-teal));
  display: flex; align-items: center; justify-content: center;
  color: var(--h2-white);
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}
.h2-panel-live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--h2-font-mono);
  font-size: 10px;
  color: var(--h2-teal-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.h2-panel-live::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--h2-teal);
  animation: h2LivePulse 2s infinite;
}
.h2-panel-score {
  padding: 28px 20px 24px;
  border-bottom: 1px solid var(--h2-line);
}
.h2-panel-score-label {
  font-family: var(--h2-font-mono);
  font-size: 10px;
  color: var(--h2-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.h2-panel-score-num {
  font-family: var(--h2-font-display);
  font-size: 72px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--h2-teal-deep) 0%, var(--h2-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.h2-panel-score-unit {
  font-family: var(--h2-font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--h2-teal-light);
  margin-left: 4px;
}
.h2-panel-score-delta {
  display: inline-flex; align-items: center; gap: 4px;
  margin-left: 14px;
  padding: 4px 10px;
  background: var(--h2-pale);
  color: var(--h2-teal-deep);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  font-family: var(--h2-font-mono);
  vertical-align: middle;
}
.h2-panel-score-bar {
  margin-top: 16px;
  height: 6px;
  background: var(--h2-mist);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}
.h2-panel-score-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--h2-teal), var(--h2-teal-light));
  border-radius: 3px;
  width: 0;
  transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(15, 118, 110, 0.4);
}

.h2-panel-frameworks {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.h2-fw-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; }
.h2-fw-head { display: flex; justify-content: space-between; grid-column: 1 / -1; margin-bottom: 6px; }
.h2-fw-name { font-size: 13px; color: var(--h2-ink); font-weight: 500; }
.h2-fw-count { font-family: var(--h2-font-mono); font-size: 10px; color: var(--h2-dim); }
.h2-fw-pct {
  font-family: var(--h2-font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--h2-teal-deep);
  min-width: 42px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.h2-fw-track { grid-column: 1 / -1; height: 4px; background: var(--h2-mist); border-radius: 2px; overflow: hidden; }
.h2-fw-fill { height: 100%; border-radius: 2px; width: 0; transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1); }
.h2-fw-fill.h2-fw-t1 { background: linear-gradient(90deg, var(--h2-teal-dark), var(--h2-teal)); }
.h2-fw-fill.h2-fw-t2 { background: linear-gradient(90deg, var(--h2-teal), var(--h2-teal-light)); }
.h2-fw-fill.h2-fw-t3 { background: linear-gradient(90deg, var(--h2-teal-mid), var(--h2-teal-glow)); }
.h2-fw-fill.h2-fw-t4 { background: linear-gradient(90deg, var(--h2-teal-deep), var(--h2-teal-mid)); }

.h2-panel-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--h2-line);
  background: var(--h2-cream);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--h2-mute);
}
.h2-panel-foot strong { color: var(--h2-ink); font-weight: 600; }
.h2-panel-foot-right {
  font-family: var(--h2-font-mono);
  font-size: 10px;
  color: var(--h2-dim);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ============ MARQUEE ============ */
.h2-marquee {
  overflow: hidden;
  padding: 24px 0;
  position: relative;
  border-top: 1px solid var(--h2-line);
  border-bottom: 1px solid var(--h2-line);
  background: var(--h2-white);
}
.h2-marquee::before, .h2-marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.h2-marquee::before { left: 0; background: linear-gradient(to right, var(--h2-white), transparent); }
.h2-marquee::after { right: 0; background: linear-gradient(to left, var(--h2-white), transparent); }
.h2-marquee-track {
  display: flex;
  gap: 60px;
  animation: h2Marquee 35s linear infinite;
  width: fit-content;
  align-items: center;
}
@keyframes h2Marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.h2-marquee-slot {
  font-family: var(--h2-font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--h2-mute);
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 0.2s;
}
.h2-marquee-slot:hover { color: var(--h2-teal); }
.h2-marquee-logo { max-height: 30px; opacity: 0.75; transition: opacity 0.2s; }
.h2-marquee-logo:hover { opacity: 1; }

/* ============ SECTIONS ============ */
.h2-band { position: relative; z-index: 2; padding: 120px 0; font-family: var(--h2-font-display); }
.h2-band-alt { background: var(--h2-mist); }
.h2-band-cream { background: var(--h2-cream); }

.h2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--h2-font-mono);
  font-size: 11px;
  color: var(--h2-teal);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 20px;
  font-weight: 500;
}
.h2-eyebrow::before { content: ""; width: 16px; height: 1px; background: var(--h2-teal); }

.h2-section-title {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 20px;
  max-width: 780px;
  color: var(--h2-ink);
}
.h2-section-title em {
  font-family: var(--h2-font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--h2-teal);
}
.h2-section-sub {
  color: var(--h2-body);
  font-size: 1.05rem;
  max-width: 580px;
  margin-bottom: 64px;
}

/* ============ BENTO ============ */
.h2-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
}
@media (max-width: 900px) { .h2-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }

.h2-tile {
  background: var(--h2-white);
  border: 1px solid var(--h2-line);
  border-radius: 18px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.3s, transform 0.4s var(--h2-ease), box-shadow 0.4s var(--h2-ease);
  box-shadow: 0 1px 3px rgba(15, 118, 110, 0.05);
  display: flex;
  flex-direction: column;
}
.h2-tile::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--h2-mist) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  border-radius: 18px;
}
.h2-tile:hover {
  transform: translateY(-4px);
  border-color: var(--h2-teal-light);
  box-shadow: 0 20px 40px -10px rgba(15, 118, 110, 0.2), 0 6px 12px -2px rgba(15, 118, 110, 0.08);
}
.h2-tile:hover::before { opacity: 1; }
.h2-tile > * { position: relative; z-index: 1; }

.h2-tile-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.h2-tile-ico {
  width: 34px; height: 34px;
  background: var(--h2-mist);
  border: 1px solid var(--h2-line);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--h2-teal);
  font-size: 16px;
  transition: all 0.3s;
}
.h2-tile:hover .h2-tile-ico {
  background: var(--h2-teal);
  color: var(--h2-white);
  border-color: var(--h2-teal);
  transform: rotate(-6deg) scale(1.1);
}
.h2-tile-tag {
  font-family: var(--h2-font-mono);
  font-size: 10px;
  color: var(--h2-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.h2-tile h3 { font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; color: var(--h2-ink); }
.h2-tile p { font-size: 13px; color: var(--h2-body); line-height: 1.5; }

.h2-tile-big, .h2-tile-wide, .h2-tile-med, .h2-tile-small {
  grid-column: span 1;
  grid-row: span 1;
  padding: 22px;
}
@media (max-width: 900px) {
  .h2-bento { grid-template-columns: repeat(2, 1fr); }
  .h2-tile-big, .h2-tile-wide, .h2-tile-med, .h2-tile-small { grid-column: span 1; }
}
/* tiles uniformes — big removido */

.h2-tile-visual { position: absolute; right: 22px; bottom: 22px; width: 220px; height: 130px; opacity: 0.95; pointer-events: none; }
.h2-spark { width: 100%; height: 60px; margin-top: 14px; }

.h2-mini-matrix { display: grid; grid-template-columns: repeat(5, 1fr); gap: 3px; max-width: 180px; }
.h2-mini-matrix span { aspect-ratio: 1; border-radius: 3px; background: var(--h2-mist); border: 1px solid var(--h2-line); }
.h2-mini-matrix span.on-l { background: var(--h2-pale); border-color: var(--h2-teal-glow); }
.h2-mini-matrix span.on-m { background: var(--h2-teal-glow); border-color: var(--h2-teal-light); }
.h2-mini-matrix span.on-h { background: var(--h2-teal); border-color: var(--h2-teal-deep); }

/* ============ STATS GIGANTES ============ */
.h2-giant-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--h2-line);
}
@media (max-width: 800px) { .h2-giant-stats { grid-template-columns: repeat(2, 1fr); gap: 32px; } }

.h2-gstat-label {
  font-family: var(--h2-font-mono);
  font-size: 11px;
  color: var(--h2-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}
.h2-gstat-val {
  font-family: var(--h2-font-display);
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--h2-teal-deep) 0%, var(--h2-teal) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.h2-gstat-val .unit {
  font-family: var(--h2-font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--h2-teal-light);
  -webkit-text-fill-color: var(--h2-teal-light);
  font-size: 0.6em;
  margin-left: 2px;
}
.h2-gstat-desc {
  margin-top: 14px;
  color: var(--h2-body);
  font-size: 13px;
  max-width: 200px;
  line-height: 1.5;
}

/* ============ SCROLLY ============ */
.h2-scrolly { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
@media (max-width: 900px) { .h2-scrolly { grid-template-columns: 1fr; } }

.h2-scrolly-steps { display: flex; flex-direction: column; gap: 40px; }
.h2-step {
  opacity: 0.5;
  transition: opacity 0.4s, background 0.4s;
  padding: 24px 28px;
  border-left: 2px solid var(--h2-line);
  cursor: pointer;
  border-radius: 0 12px 12px 0;
}
.h2-step:hover { opacity: 0.8; }
.h2-step.active {
  opacity: 1;
  border-left-color: var(--h2-teal);
  background: linear-gradient(90deg, var(--h2-mist), transparent 70%);
}
.h2-step-num {
  font-family: var(--h2-font-mono);
  font-size: 11px;
  color: var(--h2-teal);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-weight: 500;
}
.h2-step h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; color: var(--h2-ink); }
.h2-step p { color: var(--h2-body); font-size: 14.5px; line-height: 1.6; }

.h2-scrolly-visual {
  position: sticky;
  top: 110px;
  aspect-ratio: 4/5;
  background: var(--h2-white);
  border: 1px solid var(--h2-line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 24px 48px -12px rgba(15, 118, 110, 0.15), 0 8px 16px -6px rgba(15, 118, 110, 0.08);
}
.h2-sv-stage {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.6s;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.h2-sv-stage.active { opacity: 1; }
.h2-sv-label {
  color: var(--h2-dim);
  font-family: var(--h2-font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}
.h2-sv-content { flex: 1; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.h2-sv-centered { align-items: center; justify-content: center; }
.h2-sv-dropzone {
  width: 60px; height: 60px;
  border: 2px dashed var(--h2-line-hi);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--h2-teal);
  margin: 0 auto;
}
.h2-sv-text { font-size: 13px; color: var(--h2-body); text-align: center; }
.h2-sv-mono { font-family: var(--h2-font-mono); font-size: 11px; color: var(--h2-teal); text-align: center; }
.h2-sv-svg { width: 100%; flex: 1; }
.h2-sv-alert {
  padding: 12px 14px;
  background: var(--h2-mist);
  border: 1px solid var(--h2-line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--h2-ink);
}
.h2-sv-alert .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.h2-sv-alert .dot.amber { background: var(--h2-amber); }
.h2-sv-alert .dot.rose { background: var(--h2-rose); }
.h2-sv-alert .dot.teal { background: var(--h2-teal); }
.h2-sv-alert div { flex: 1; }
.h2-sv-alert code { font-size: 10px; color: var(--h2-dim); font-family: var(--h2-font-mono); }
.h2-sv-pdf {
  width: 140px; height: 180px;
  background: var(--h2-white);
  border: 1px solid var(--h2-line-hi);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 20px 30px -10px rgba(15, 118, 110, 0.2);
}
.h2-sv-pdf .bar { height: 6px; background: var(--h2-teal); width: 40%; margin-bottom: 10px; border-radius: 2px; }
.h2-sv-pdf .line { height: 3px; background: var(--h2-line-hi); margin-bottom: 6px; }
.h2-sv-pdf .line.w60 { width: 60%; margin-bottom: 12px; }
.h2-sv-pdf .line.w70 { width: 70%; margin-bottom: 12px; }
.h2-sv-pdf .line.w80 { width: 80%; }
.h2-sv-pdf .line.w90 { width: 90%; }
.h2-sv-pdf .box { height: 40px; background: var(--h2-mist); border: 1px solid var(--h2-line); border-radius: 4px; margin-top: 10px; }

/* ============ QUOTE ============ */
.h2-quote-wrap { text-align: center; max-width: 920px; margin: 0 auto; }
.h2-quote {
  font-family: var(--h2-font-serif);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--h2-ink);
  margin-bottom: 32px;
  text-wrap: balance;
}
.h2-quote em { font-style: italic; color: var(--h2-teal); }
.h2-quote-byline { display: inline-flex; align-items: center; gap: 14px; font-size: 13px; color: var(--h2-body); text-align: left; }
.h2-quote-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--h2-teal-glow), var(--h2-teal));
  box-shadow: 0 2px 10px rgba(15, 118, 110, 0.35);
}
.h2-quote-avatar-img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.h2-quote-byline strong { color: var(--h2-ink); font-weight: 600; }

/* ============ FINAL CTA ============ */
.h2-final {
  position: relative;
  padding: 160px 0;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 50% at 50% 100%, var(--h2-pale), transparent),
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--h2-mist), transparent),
    var(--h2-white);
  border-top: 1px solid var(--h2-line);
  border-bottom: 1px solid var(--h2-line);
  font-family: var(--h2-font-display);
}
.h2-final-inner { position: relative; z-index: 1; }
.h2-final h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
  color: var(--h2-ink);
  text-wrap: balance;
}
.h2-final h2 em {
  font-family: var(--h2-font-serif);
  font-style: italic;
  color: var(--h2-teal);
}
.h2-final p {
  color: var(--h2-body);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 40px;
}

/* ============ REVEAL ============ */
.h2-reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--h2-ease), transform 0.9s var(--h2-ease); }
.h2-reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .h2-hero-grid::before, .h2-hero-glow, .h2-live-badge::before, .h2-panel-live::before,
  .h2-marquee-track { animation: none !important; }
  .h2-reveal { opacity: 1; transform: none; transition: none; }
}
