/* ADT Funnel — Main Stylesheet
   Mobile-first. Shared by flagship + all variants.
   Import tokens.css first.
*/

/* ── Reset & Base ─────────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: var(--adt-teal);
  text-decoration: underline;
}

a:hover {
  color: var(--text-teal-onlight);
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--adt-navy);
  color: var(--adt-white);
  padding: 8px 16px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus {
  top: 0;
}

/* ── Layout ───────────────────────────────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}

.section {
  padding: var(--space-xl) 0;
}

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--muted {
  background: var(--bg-muted);
}

/* ── Typography helpers ───────────────────────────────────────────────────── */

h1, .h1 {
  font-size: var(--text-h1);
  line-height: var(--lh-heading);
  font-weight: 700;
  color: inherit;
}

h2, .h2 {
  font-size: var(--text-h2);
  line-height: var(--lh-heading);
  font-weight: 700;
  color: inherit;
}

h3, .h3 {
  font-size: var(--text-h3);
  line-height: var(--lh-heading);
  font-weight: 600;
  color: inherit;
}

.text-center { text-align: center; }
.text-muted  { color: var(--text-muted); }
.text-gold   { color: var(--text-gold-onlight); }
.text-on-dark { color: var(--text-on-dark); }

.section-eyebrow {
  font-size: var(--text-badge);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-gold-onlight);
  margin-bottom: var(--space-xs);
  display: block;
}

.section--dark .section-eyebrow {
  color: var(--adt-gold);
}

.section-heading {
  margin-bottom: var(--space-sm);
}

.section-subhead {
  font-size: var(--text-body-lg);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  line-height: var(--lh-body);
}

.section--dark .section-subhead {
  color: var(--text-muted-dark);
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: var(--text-cta);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  min-height: 48px;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform 100ms;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}

/* Primary — gold */
.btn-primary {
  background: var(--adt-gold);
  color: var(--adt-navy);
  border-color: var(--adt-gold);
}
.btn-primary:hover {
  background: #e6b800;
  border-color: #e6b800;
  color: var(--adt-navy);
}

/* Secondary — teal outline */
.btn-secondary {
  background: transparent;
  color: var(--adt-teal);
  border-color: var(--adt-teal);
}
.btn-secondary:hover {
  background: rgba(91, 188, 204, 0.1);
}

/* On dark backgrounds */
.section--dark .btn-secondary {
  color: var(--adt-white);
  border-color: var(--adt-white);
}
.section--dark .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* Tertiary — text link button */
.btn-tertiary {
  background: none;
  border: none;
  color: var(--adt-teal);
  text-decoration: underline;
  font-size: var(--text-body);
  padding: 8px 4px;
  min-height: 44px;
  cursor: pointer;
}
.section--dark .btn-tertiary {
  color: rgba(255,255,255,0.8);
}

/* Full width on mobile */
.btn-full {
  width: 100%;
}

@media (min-width: 640px) {
  .btn-full {
    width: auto;
  }
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: stretch;
}

@media (min-width: 640px) {
  .btn-group {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
  }
}

/* ── Site Header / Nav ────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--adt-navy);
  height: 60px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img {
  display: block;
  height: 44px;
  width: 44px;
  border-radius: 50%;
}

.site-logo-text {
  color: var(--adt-white);
  font-size: var(--text-h3);
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-tagline {
  display: none;
  color: var(--text-muted-dark);
  font-size: var(--text-body-sm);
}

@media (min-width: 768px) {
  .header-tagline { display: block; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
  background: var(--adt-navy);
  color: var(--text-on-dark);
  padding: var(--space-2xl) 0 var(--space-xl);
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

@media (min-width: 1024px) {
  .hero .container {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }
  .hero-content { flex: 0 0 55%; }
  .hero-image-wrap { flex: 0 0 45%; }
}

.hero-eyebrow {
  display: inline-block;
  font-size: var(--text-badge);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--adt-gold);
  margin-bottom: var(--space-sm);
}

.hero h1 {
  margin-bottom: var(--space-sm);
}

.hero-credibility {
  font-size: var(--text-body-sm);
  color: var(--text-muted-dark);
  margin-bottom: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.hero-credibility span::before {
  content: "· ";
}
.hero-credibility span:first-child::before {
  content: "";
}

.hero-subhead {
  font-size: var(--text-body-lg);
  color: rgba(255,255,255,0.85);
  line-height: var(--lh-body);
  margin-bottom: var(--space-lg);
  max-width: 520px;
}

.hero-cta-anchor {
  /* invisible sentinel for sticky bar IntersectionObserver */
  display: block;
  height: 1px;
  margin-bottom: var(--space-md);
}

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image,
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: top center;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted-dark);
  font-size: var(--text-body-sm);
  text-align: center;
  padding: var(--space-lg);
  border: 1.5px dashed rgba(255,255,255,0.2);
}

/* ── Trust Strip ──────────────────────────────────────────────────────────── */

.trust-strip {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-lg) 0;
}

.trust-badges {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.trust-badges::-webkit-scrollbar { display: none; }

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 100px;
  flex-shrink: 0;
  padding: 8px var(--space-md);
  text-align: center;
}

@media (min-width: 768px) {
  .trust-badges {
    justify-content: center;
    overflow: visible;
  }
}

.trust-badge__value {
  font-size: 22px;
  font-weight: 700;
  color: var(--adt-gold);
  line-height: 1.1;
}

.trust-badge__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted-dark);
  line-height: 1.3;
}

/* ── What You Get ─────────────────────────────────────────────────────────── */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.feature-column {
  background: var(--bg-card);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
}

.feature-column--vip {
  border-color: var(--border-vip);
  background: var(--bg-card-vip);
}

.feature-column h3 {
  margin-bottom: 4px;
}

.feature-column-price {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--adt-navy);
  margin-bottom: var(--space-sm);
}

.feature-column-price span {
  font-size: var(--text-body-sm);
  font-weight: 400;
  color: var(--text-muted);
}

.feature-list {
  list-style: none;
  margin: var(--space-md) 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--text-body);
  line-height: 1.4;
}

.feature-list .check {
  color: var(--adt-teal);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.feature-list .feature-detail {
  color: var(--text-muted);
  font-size: var(--text-body-sm);
  display: block;
}

/* ── Trading Day Timeline ─────────────────────────────────────────────────── */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-lg);
}

.timeline-item {
  display: flex;
  gap: var(--space-md);
  position: relative;
}

.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: -1px;
  width: 2px;
  background: var(--border-default);
}

.timeline-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-muted);
  border: 2px solid var(--border-default);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  z-index: 1;
}

.timeline-item--active .timeline-dot {
  background: var(--adt-navy);
  border-color: var(--adt-navy);
  color: var(--adt-gold);
}

.timeline-item--vip .timeline-dot {
  background: var(--savings-bg);
  border-color: var(--adt-gold);
  color: var(--savings-text);
}

.timeline-content {
  padding: var(--space-xs) 0 var(--space-lg);
}

.timeline-time {
  font-size: var(--text-badge);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.timeline-title {
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-desc {
  font-size: var(--text-body-sm);
  color: var(--text-muted);
  line-height: var(--lh-body);
}

@media (min-width: 1024px) {
  .timeline {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }
  .timeline-item {
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
  }
  .timeline-item:not(:last-child)::after {
    left: 50%;
    top: 19px;
    bottom: auto;
    width: calc(100% - 40px);
    height: 2px;
    transform: translateX(20px);
  }
  .timeline-content {
    padding: var(--space-sm) var(--space-xs) 0;
  }
}

/* ── Pricing Block ────────────────────────────────────────────────────────── */

#pricing {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.billing-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.billing-toggle {
  display: inline-flex;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 0;
}

.billing-toggle button {
  font-family: var(--font-body);
  font-size: var(--text-body-sm);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-pill);
  padding: 8px 20px;
  cursor: pointer;
  transition: background var(--transition-fast), color var(--transition-fast);
  color: var(--text-on-dark);
  background: transparent;
  min-height: 44px;
}

.billing-toggle button[aria-selected="true"] {
  background: var(--adt-gold);
  color: var(--adt-navy);
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.plan-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  position: relative;
  box-shadow: var(--shadow-card);
  color: var(--text-primary);
}

.plan-card--vip {
  border-color: var(--border-vip);
  box-shadow: var(--shadow-vip);
}

.plan-badge {
  position: absolute;
  top: -14px;
  right: 20px;
  background: var(--adt-gold);
  color: var(--adt-navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.plan-name {
  font-size: var(--text-h3);
  font-weight: 700;
  color: var(--adt-navy);
  margin-bottom: 4px;
}

.plan-tagline {
  font-size: var(--text-body-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
}

.plan-price {
  margin-bottom: var(--space-sm);
}

.price-monthly,
.price-annual {
  display: block;
}

.price-amount {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
  color: var(--adt-navy);
}

.price-period {
  font-size: var(--text-body-sm);
  color: var(--text-muted);
  margin-left: 4px;
}

.price-alt {
  font-size: var(--text-body-sm);
  color: var(--text-muted);
  margin-top: 4px;
}

.savings-callout {
  display: inline-block;
  background: var(--savings-bg);
  color: var(--savings-text);
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin: var(--space-xs) 0 var(--space-sm);
}

.plan-features {
  list-style: none;
  margin: var(--space-md) 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: var(--text-body);
  line-height: 1.4;
}

.plan-features .check {
  color: var(--adt-teal);
  font-weight: 700;
  flex-shrink: 0;
}

.plan-cta-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ── Who This Is For ──────────────────────────────────────────────────────── */

.personas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 640px) {
  .personas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.persona-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.persona-card h3 {
  margin-bottom: 8px;
  color: var(--adt-navy);
}

.persona-quote {
  font-style: italic;
  font-size: var(--text-body-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  display: block;
}

/* ── Testimonials ─────────────────────────────────────────────────────────── */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-lg);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--bg-muted);
  border-left: 4px solid var(--adt-gold);
  border-radius: var(--radius-md);
  padding: 20px 20px 20px 24px;
}

.testimonial-card blockquote {
  font-style: italic;
  font-size: var(--text-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  margin-bottom: var(--space-sm);
}

.testimonial-author {
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--text-muted);
}
.testimonial-meta {
  display: block;
  font-size: .75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.visible {
  animation: fade-in-up var(--transition-slow) ease forwards;
}

@keyframes fade-in-up {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.visible {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ── FAQ ──────────────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 720px;
  margin: var(--space-lg) auto 0;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  font-size: var(--text-body);
  font-weight: 600;
  color: var(--text-primary);
  min-height: 56px;
  gap: var(--space-sm);
  user-select: none;
  -webkit-user-select: none;
}

.faq-header:hover {
  background: var(--bg-muted);
}

.faq-header:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: -3px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--adt-teal);
  transition: transform var(--transition-normal);
  font-style: normal;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer.open {
  max-height: 600px;
}

.faq-answer p {
  padding: 0 20px 18px 20px;
  font-size: var(--text-body);
  color: var(--text-muted);
  line-height: var(--lh-body);
}

/* Inline lead magnet inside FAQ */
.faq-lead-magnet {
  background: var(--savings-bg);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-md);
  margin: var(--space-md) 0;
  text-align: center;
}

.faq-lead-magnet p {
  font-size: var(--text-body);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  font-weight: 500;
}

.inline-lead-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .inline-lead-form {
    flex-direction: row;
  }
}

.inline-lead-form input[type="email"] {
  flex: 1;
  padding: 12px 16px;
  font-size: var(--text-body);
  font-family: var(--font-body);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-sm);
  min-height: 48px;
  color: var(--text-primary);
  background: var(--bg-card);
}

.inline-lead-form input[type="email"]:focus {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
  border-color: var(--border-focus);
}

/* ── Final CTA ────────────────────────────────────────────────────────────── */

.final-cta {
  background: var(--bg-muted);
  text-align: center;
}

.final-cta-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  max-width: 720px;
  margin: var(--space-lg) auto 0;
}

@media (min-width: 640px) {
  .final-cta-cards {
    grid-template-columns: 1fr 1fr;
  }
}

.final-cta-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.final-cta-card h3 {
  font-size: var(--text-h3);
  color: var(--adt-navy);
}

.final-cta-note {
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-top: var(--space-md);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: var(--lh-body);
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--adt-navy);
  color: var(--text-on-dark);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-logo {
  text-align: center;
  margin-bottom: var(--space-md);
}

.footer-disclaimer {
  font-size: var(--text-caption);
  color: var(--text-muted-dark);
  line-height: var(--lh-body);
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.footer-links a {
  color: var(--text-muted-dark);
  font-size: var(--text-body-sm);
  text-decoration: none;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.footer-links a:hover {
  color: var(--adt-white);
}

.footer-copy {
  text-align: center;
  font-size: var(--text-caption);
  color: var(--text-muted-dark);
}

/* ── Sticky CTA Bar ───────────────────────────────────────────────────────── */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--sticky-bar-h);
  background: var(--adt-navy);
  box-shadow: var(--shadow-sticky);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-sm);
  transform: translateY(100%);
  transition: transform var(--transition-normal);
}

.sticky-cta-bar.visible {
  transform: translateY(0);
}

@media (min-width: 768px) {
  .sticky-cta-bar {
    display: none;
  }
}

.sticky-cta-label {
  color: var(--text-on-dark);
  font-size: var(--text-body-sm);
  font-weight: 600;
}

.sticky-cta-bar .btn {
  padding: 10px 20px;
  min-height: 44px;
  font-size: var(--text-body-sm);
}

/* ── Exit-Intent Modal ────────────────────────────────────────────────────── */

.exit-modal-overlay {
  position: fixed;
  inset: 0;
  background: var(--bg-overlay);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.exit-modal-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.exit-modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: scale(0.95);
  opacity: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.exit-modal.visible {
  transform: scale(1);
  opacity: 1;
}

.exit-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 22px;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  line-height: 1;
}

.exit-modal-close:hover { color: var(--text-primary); }
.exit-modal-close:focus-visible {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
}

.exit-modal-icon {
  text-align: center;
  font-size: 40px;
  margin-bottom: var(--space-sm);
}

.exit-modal h3 {
  text-align: center;
  margin-bottom: var(--space-sm);
  color: var(--adt-navy);
}

.exit-modal-body {
  text-align: center;
  font-size: var(--text-body);
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: var(--lh-body);
}

.exit-modal-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.exit-modal-form label {
  font-size: var(--text-body-sm);
  font-weight: 600;
  color: var(--text-primary);
}

.exit-modal-form input[type="email"] {
  width: 100%;
  padding: 12px 16px;
  font-size: var(--text-body);
  font-family: var(--font-body);
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-sm);
  min-height: 48px;
  color: var(--text-primary);
}

.exit-modal-form input[type="email"]:focus {
  outline: 3px solid var(--border-focus);
  outline-offset: 2px;
  border-color: var(--border-focus);
}

.exit-modal-fine {
  text-align: center;
  font-size: var(--text-caption);
  color: var(--text-muted);
  margin-top: 6px;
}

.exit-modal-success {
  display: none;
  text-align: center;
  padding: var(--space-md) 0;
}

.exit-modal-success h3 {
  color: var(--success);
  margin-bottom: var(--space-sm);
}

/* ── Mobile bottom padding (sticky bar compensation) ─────────────────────── */

@media (max-width: 767px) {
  body {
    padding-bottom: var(--sticky-bar-h);
  }
}

/* ── Trust strip overflow fade indicator ─────────────────────────────────── */

.trust-strip {
  position: relative;
  overflow: hidden;
}

.trust-badges-overflow-wrap {
  position: relative;
}

.trust-badges-overflow-wrap::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40px;
  background: linear-gradient(to right, transparent, var(--bg-dark));
  pointer-events: none;
}

@media (min-width: 768px) {
  .trust-badges-overflow-wrap::after {
    display: none;
  }
}

/* ── Utility ──────────────────────────────────────────────────────────────── */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
