/**
 * Trust, clarity & conversion patterns — home + reusable classes.
 * Mobile-first, touch targets ≥44px, no blocking overlays.
 */

/* ---------- Home navbar: more links without overflow (desktop) ---------- */
@media (min-width: 993px) {
  .navbar .nav-links {
    gap: 1rem 1.15rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 0.35rem;
  }

  .navbar .nav-links a {
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

/* ---------- Skip / focus (complements platform skip link) ---------- */
#jm-main-content:focus {
  outline: none;
}

.trust-bridge a:focus-visible,
.obj-faq details summary:focus-visible,
.first-step-card a:focus-visible {
  outline: 2px solid #00d4ff;
  outline-offset: 3px;
}

/* ---------- Trust bridge (psychology: clarity, authority, proof, reciprocity) ---------- */
.trust-bridge {
  padding-top: clamp(3rem, 8vw, 5.5rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.04), transparent 45%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  box-sizing: border-box;
  width: 100%;
  overflow-x: hidden;
}

.trust-bridge-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-bridge-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}

.trust-bridge-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #00f5a0;
  margin-bottom: 0.75rem;
}

.trust-bridge-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.trust-bridge-head h2 span {
  background: linear-gradient(135deg, #00d4ff, #7b2fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-bridge-lead {
  color: #a0a0b0;
  font-size: 1.05rem;
  line-height: 1.65;
}

.trust-bridge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
}

.trust-bridge-card {
  padding: 1.5rem 1.35rem;
  border-radius: 18px;
  background: rgba(26, 26, 37, 0.65);
  border: 1px solid rgba(0, 212, 255, 0.12);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .trust-bridge-card {
    transition: none;
  }
}

.trust-bridge-card:hover {
  border-color: rgba(0, 212, 255, 0.28);
}

.trust-bridge-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 255, 0.12));
  color: #00d4ff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.trust-bridge-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.trust-bridge-card p {
  font-size: 0.92rem;
  color: #a0a0b0;
  line-height: 1.55;
  margin: 0;
}

.trust-bridge-card small {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #00f5a0;
}

/* ---------- Objection FAQ (native details — accessible, no JS) ---------- */
.obj-faq {
  padding-top: clamp(2.5rem, 6vw, 4rem);
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  background: #0a0a0f;
  box-sizing: border-box;
  overflow-x: hidden;
}

.obj-faq-inner {
  max-width: 760px;
  margin: 0 auto;
}

.obj-faq-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.obj-faq-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.obj-faq-head p {
  color: #8892a4;
  font-size: 0.98rem;
}

.obj-faq details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  margin-bottom: 0.65rem;
  background: rgba(18, 18, 26, 0.85);
  overflow: hidden;
}

.obj-faq details[open] {
  border-color: rgba(0, 212, 255, 0.22);
}

.obj-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  color: #e8ecf4;
}

.obj-faq summary::-webkit-details-marker {
  display: none;
}

.obj-faq summary::after {
  content: '+';
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 212, 255, 0.12);
  color: #00d4ff;
  font-weight: 800;
}

.obj-faq details[open] summary::after {
  content: '−';
}

.obj-faq .obj-faq-a {
  padding: 0 1.15rem 1.15rem;
  color: #a0a0b0;
  font-size: 0.92rem;
  line-height: 1.6;
}

.obj-faq .obj-faq-a a {
  color: #00d4ff;
  font-weight: 600;
}

/* ---------- First step: three paths (parity — no dark patterns) ---------- */
.first-step {
  padding-top: clamp(2.75rem, 7vw, 4.5rem);
  padding-bottom: clamp(2.75rem, 7vw, 4.5rem);
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  background: linear-gradient(145deg, rgba(123, 47, 255, 0.08), rgba(0, 212, 255, 0.05));
  border-top: 1px solid rgba(0, 212, 255, 0.1);
  box-sizing: border-box;
  overflow-x: hidden;
}

.first-step-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.first-step-head {
  text-align: center;
  margin-bottom: 2rem;
}

.first-step-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  font-weight: 800;
}

.first-step-head p {
  color: #8892a4;
  margin-top: 0.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.first-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 1.25rem;
}

.first-step-card {
  padding: 1.65rem 1.5rem;
  border-radius: 20px;
  background: rgba(10, 10, 15, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.first-step-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 0.45rem;
}

.first-step-card__sub {
  font-size: 0.82rem;
  color: #8892a4;
  margin-bottom: 1.1rem;
  flex: 1;
}

.first-step-card {
  min-height: 100%;
}

.first-step-card .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
}

.first-step-note {
  text-align: center;
  margin-top: 1.75rem;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ---------- Hero quick links (low-friction secondary paths) ---------- */
.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 212, 255, 0.12);
}

.hero-quick-links__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8892a4;
  width: 100%;
}

@media (min-width: 480px) {
  .hero-quick-links__label {
    width: auto;
    margin-right: 0.25rem;
  }
}

.hero-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #c8d0e0;
  text-decoration: none;
  padding: 0.45rem 0.2rem;
  min-height: 44px;
  border-radius: 8px;
}

.hero-quick-links a:hover {
  color: #00d4ff;
}

/* ---------- Mobile: extra bottom space when sticky CTA visible ---------- */
@media (max-width: 768px) {
  body:has(.jm-sticky-cta.jm-sticky-cta--visible) {
    padding-bottom: max(4rem, calc(env(safe-area-inset-bottom) + 3.35rem));
  }
}

@media (max-width: 480px) {
  .obj-faq summary {
    font-size: 0.88rem;
    padding: 0.85rem 0.95rem;
    line-height: 1.35;
    align-items: flex-start;
  }

  .obj-faq .obj-faq-a {
    font-size: 0.88rem;
  }

  .trust-bridge-lead {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .trust-bridge-head {
    margin-bottom: 2rem !important;
  }
}
