/* Маркетинговые компоненты: trust, founder, social proof, pricing mount */

/* ИСПРАВЛЕНИЕ (2026-07-21): карточки следуют tokens.css (light / html.dark-theme) */
.mkt-trust-card,
.mkt-founder,
.trial-value-card,
.partner-calc {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
}

.mkt-trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 1rem;
}
.mkt-trust-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg, 12px);
}
.mkt-trust-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 .5rem;
  color: var(--text-main);
}
.mkt-trust-card__text {
  margin: 0;
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.mkt-trust-note {
  text-align: center;
  margin-top: .5rem;
}
.mkt-trust-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.mkt-trust-links a {
  font-size: .875rem;
  color: var(--accent, #f97316);
  text-decoration: none;
  font-weight: 500;
}
.mkt-trust-links a:hover {
  text-decoration: underline;
}
.mkt-founder {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-lg, 12px);
}
.mkt-founder__meta {
  color: var(--text-muted);
}
.mkt-founder__avatar {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md, 10px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent, #f97316);
}
.mkt-founder__icon {
  width: 1.75rem;
  height: 1.75rem;
}
.mkt-founder__text {
  margin: .5rem 0;
  line-height: 1.6;
  color: var(--text-main);
}
.mkt-stat {
  text-align: center;
  padding: .75rem;
}
.mkt-stat__value {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}
.mkt-stat__label {
  font-size: .8125rem;
  color: var(--text-muted, #64748b);
}
.hero-stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  margin-top: 1rem;
}
.mkt-testimonial {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--accent, #4f46e5);
  background: var(--surface);
  border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0;
  color: var(--text-main);
}
.mkt-testimonial__quote {
  margin: 0 0 .75rem;
  font-style: normal;
  line-height: 1.55;
}
.mkt-testimonial__footer cite {
  font-style: normal;
  font-weight: 600;
}
.demo-disclaimer {
  font-size: .75rem;
  color: var(--text-muted, #64748b);
  margin-top: .35rem;
}
.auth-timeline {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: var(--radius-md, 8px);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-main);
  font-size: .8125rem;
  line-height: 1.5;
}
.auth-timeline ol {
  margin: .5rem 0 0;
  padding-left: 1.25rem;
}
.auth-timeline li {
  margin-bottom: .35rem;
}

/* FAQ-чипы на login (как beta-badge, но inline) */
.auth-faq-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.75rem 0 1rem;
}

.auth-faq-chip {
  position: relative;
}

.auth-faq-trigger {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid color-mix(in srgb, var(--accent, #f97316) 35%, var(--border, #e2e8f0));
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent, #f97316);
  background: color-mix(in srgb, var(--accent, #f97316) 8%, var(--surface, #fff));
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.auth-faq-trigger:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.auth-faq-trigger[aria-expanded="true"] {
  background: var(--accent, #f97316);
  color: #fff;
  border-color: transparent;
}

.auth-faq-trigger:focus-visible {
  outline: 2px solid var(--accent, #f97316);
  outline-offset: 2px;
}

.auth-faq-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 20;
  width: min(320px, calc(100vw - 48px));
  padding: 14px 16px 12px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent, #f97316) 22%, var(--border, #e2e8f0));
  box-shadow: var(--shadow-md, 0 12px 36px rgba(15, 23, 42, 0.14));
  text-align: left;
  animation: beta-pop-in 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-faq-popover-close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted, #64748b);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.auth-faq-popover-close:hover {
  background: color-mix(in srgb, var(--accent, #f97316) 10%, transparent);
}

.auth-faq-popover-title {
  margin: 0 0 8px;
  padding-right: 24px;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-main, #0f172a);
}

.auth-faq-popover-text {
  margin: 0 0 8px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted, #64748b);
}

.auth-faq-popover-text:last-child {
  margin-bottom: 0;
}

.auth-faq-popover ol {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.auth-faq-popover li {
  margin-bottom: 0.35rem;
}

.auth-faq-popover a {
  color: var(--accent, #f97316);
}

@media (max-width: 480px) {
  .auth-faq-popover {
    left: auto;
    right: 0;
  }
}
.onb-verification-track {
  margin: 1rem 0;
  text-align: left;
}
.onb-verification-step {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .5rem 0;
  font-size: .875rem;
}
.onb-verification-step.is-done .onb-verification-dot {
  background: var(--success, #16a34a);
}
.onb-verification-dot {
  width: .625rem;
  height: .625rem;
  border-radius: 50%;
  margin-top: .35rem;
  background: var(--border, #cbd5e1);
  flex-shrink: 0;
}
.trial-value-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-md, 8px);
}
.trial-value-card h3 {
  margin: 0 0 .5rem;
  font-size: 1rem;
  color: var(--text-main);
}
.partner-calc {
  margin: 1.5rem 0;
  padding: 1.25rem;
  border-radius: var(--radius-lg, 12px);
}
.partner-calc label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 500;
}
.partner-calc output {
  display: block;
  margin-top: .75rem;
  font-size: 1.125rem;
  font-weight: 600;
}
.pricing-fallback {
  padding: 2rem 1rem;
  text-align: center;
}
.pricing-fallback a {
  color: var(--accent, #f97316);
}
@media (prefers-reduced-motion: reduce) {
  .hero-demo-video.is-hidden { display: none; }
}
