.funnel-shell {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line-2);
  border-radius: 28px;
  background:
    radial-gradient(70% 120% at 85% 0%, rgba(212, 119, 34, 0.12), transparent 60%),
    linear-gradient(160deg, #14100b, #0b0907 70%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.funnel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 36px;
}

.funnel-top h2 {
  max-width: 18ch;
  margin-bottom: 12px;
}

.funnel-top p {
  max-width: 44ch;
  color: var(--text-2);
  font-size: 0.95rem;
}

.switcher {
  display: inline-flex;
  padding: 4px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(8, 7, 6, 0.6);
}

.switcher button {
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.8rem;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease;
}

.switcher button[aria-selected="true"] {
  color: #1b0d02;
  background: linear-gradient(135deg, var(--gold-hi), var(--gold));
  font-weight: 700;
}

.funnel-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.funnel {
  display: grid;
  gap: 10px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 92px 1fr 62px;
  align-items: center;
  gap: 14px;
}

.funnel-label {
  color: var(--muted);
  font-size: 0.74rem;
  text-align: right;
}

.funnel-bar {
  position: relative;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
}

.funnel-fill {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  align-items: center;
  width: var(--w);
  padding-left: 14px;
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(212, 119, 34, 0.55), var(--gold));
  color: #241303;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  transition: width 0.9s var(--ease), background 0.5s ease, opacity 0.4s ease;
}

.funnel-row.is-ghost .funnel-fill {
  width: 0;
  opacity: 0;
}

.funnel-row.is-ghost .funnel-bar {
  border-style: dashed;
  border-color: rgba(229, 138, 106, 0.3);
  background: repeating-linear-gradient(135deg, rgba(229, 138, 106, 0.055) 0 6px, transparent 6px 12px);
}

.funnel-status {
  color: var(--muted);
  font-size: 0.68rem;
  text-align: right;
}

.funnel-row.is-ghost .funnel-status {
  color: var(--loss);
}

.funnel-side {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.funnel-side h3 {
  margin-bottom: 12px;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.funnel-side p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.funnel-side ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.funnel-side li {
  display: flex;
  gap: 9px;
  color: var(--text-2);
  font-size: 0.82rem;
  line-height: 1.45;
}

.funnel-side li svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 3px;
}

.funnel-side li.ok svg {
  color: var(--gain);
}

.funnel-side li.no svg {
  color: var(--loss);
}

.funnel-note {
  margin-top: 22px;
  color: #6f6659;
  font-size: 0.66rem;
  line-height: 1.5;
}
