/* ============================================================
   Landing v37 — trust + polish (how rail, micro phones, proof, chips)
   Loaded after landing.css + landing-v36.css
   ============================================================ */

/* CTA press polish */
.btn-primary {
  transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn-primary:active {
  transform: translateY(1px);
  background: #1a1a1a;
}
.btn-on-dark {
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.btn-on-dark:active { transform: translateY(1px); }

/* Hero dense quote + optional video */
.hero-phone {
  position: relative;
}
.hero-phone .hero-quote-video,
.hero-phone .hero-quote-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 32px;
}
.hero-phone .hero-quote-video[hidden],
.hero-phone .hero-quote-img[hidden] {
  display: none !important;
}

/* How it works — closed card + rail + micro phones */
.how-section {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.how-head {
  margin-bottom: 28px;
}
.how-card {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--r-xl, 16px);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--sh-card, 0 1px 3px rgba(16,24,40,.05));
}
.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: none;
  margin: 0;
  padding: 0;
  counter-reset: none;
}
.how-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}
.how-rail-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.how-num {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 15px;
  display: grid;
  place-items: center;
  flex: none;
  transition: background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), color var(--t-med) var(--ease);
}
.how-step.is-active .how-num {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(30, 58, 95, 0.25);
}
.how-step-body {
  width: 100%;
}
.how-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.how-body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 14px;
}
.how-micro {
  width: 100%;
  display: flex;
  justify-content: flex-start;
}
.phone-frame--micro {
  width: min(148px, 42vw);
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--sh-soft, 0 4px 16px rgba(0,0,0,.06));
  background: #fff;
}
.phone-frame--micro img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  /* Crop to top of UI so micro proof isn't tiny full phone */
  max-height: 132px;
  object-fit: cover;
  object-position: top center;
}

/* Social proof */
.social-proof-section {
  border: none;
  margin: 0;
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(48px, 6vw, 80px);
  background: var(--canvas);
}
.social-proof-head {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 28px;
}
.social-proof-head h2 {
  margin-top: 12px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.proof-card {
  margin: 0;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--r-card, 12px);
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 100%;
}
.proof-card blockquote {
  margin: 0;
  padding: 0;
  border: 0;
}
.proof-card blockquote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--body);
  letter-spacing: -0.01em;
}
.proof-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: auto;
}
.proof-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.proof-meta {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

/* Pricing honesty + trust chips */
.pricing-sub {
  margin: 12px auto 0;
  max-width: 420px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}
.pricing-head {
  margin-bottom: 20px !important;
}
.trust-chip-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 28px auto 0;
  padding: 0;
  max-width: 720px;
}
.trust-chip-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--body);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
}
.trust-chip-row .trust-ic {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--green-bg, #ecfdf3);
  color: var(--green, #15803d);
  display: inline-grid;
  place-items: center;
  flex: none;
}
.trust-chip-row .trust-ic .lucide {
  width: 12px;
  height: 12px;
  font-size: 12px;
  color: var(--green, #15803d);
}

.trust-chip-row--on-dark {
  margin: 18px auto 8px;
  gap: 8px;
}
.trust-chip-row--on-dark li {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.14);
  color: rgba(255,255,255,.88);
  font-size: 12px;
  padding: 6px 10px;
}

.cta-support {
  margin: 18px 0 0;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  text-align: center;
}
.cta-support a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cta-card .cta-actions {
  margin-top: 8px;
}

.footer-support {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--on-dark-soft, #a1a1aa);
}
.footer-support a {
  color: var(--on-dark, #fff);
  text-decoration: none;
}
.footer-support a:hover {
  text-decoration: underline;
}

/* Feature pill settle already in v36; reinforce */
.feature-tab {
  transition: background var(--t-med) var(--ease), color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-fast) var(--ease);
}
.feature-tab.active {
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.04);
}

@media (max-width: 980px) {
  .how-steps {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 420px;
    margin: 0 auto;
  }
  .how-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 0 0 28px;
  }
  .how-step:last-child {
    padding-bottom: 0;
  }
  /* Vertical rail */
  .how-rail-col {
    align-self: stretch;
  }
  .how-rail-col::after {
    content: "";
    flex: 1;
    width: 2px;
    margin: 8px 0 0;
    background: rgba(30, 58, 95, 0.16);
    border-radius: 2px;
    min-height: 24px;
  }
  .how-step:last-child .how-rail-col::after {
    display: none;
  }
  .how-step.is-active .how-rail-col::after {
    background: rgba(30, 58, 95, 0.45);
  }
  .how-step-body {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
  }
  .how-title {
    font-size: 15px;
  }
  .how-body {
    font-size: 13.5px;
    margin-bottom: 12px;
  }
  .how-micro {
    justify-content: flex-start;
  }
  .phone-frame--micro {
    width: min(132px, 38vw);
  }
  .phone-frame--micro img {
    max-height: 120px;
  }
  .proof-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

@media (max-width: 720px) {
  .trust-chip-row {
    gap: 8px;
  }
  .trust-chip-row li {
    font-size: 12px;
    padding: 7px 10px;
  }
  .how-card {
    padding: 18px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-step.is-active .how-num {
    transition: none;
  }
  .btn-primary:active,
  .btn-on-dark:active {
    transform: none;
  }
}
