/* How / Roadmap heroes must not repeat the Android + Uber + DoorDash + USA strip. */
body[data-page="how"] .hero-proofbar,
body[data-page="how"] .hero-scope-line,
body[data-page="how"] .scope-strip,
body[data-page="how"] .hero-copy > .scope-strip,
body[data-page="roadmap"] .hero-proofbar,
body[data-page="roadmap"] .hero-scope-line,
body[data-page="roadmap"] .scope-strip,
body[data-page="roadmap"] .hero-copy > .scope-strip {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
  visibility: hidden !important;
}

/* Site-wide trust + scope chrome. Linked on every route. */
.hero-proofbar,
.home-hero-proofbar {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 560px;
  padding: 14px 16px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.hero-proofbar .scope-strip,
.hero-proofbar .home-proof-scope,
.home-hero-proofbar .scope-strip,
.home-hero-proofbar .home-proof-scope {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 10px;
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-proofbar .scope-strip > span,
.hero-proofbar .home-proof-scope > span,
.home-hero-proofbar .scope-strip > span,
.home-hero-proofbar .home-proof-scope > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: var(--wash);
}

.hero-proofbar .scope-label,
.home-hero-proofbar .scope-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
}

.hero-proofbar .trust-row,
.home-hero-proofbar .trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: none;
}

.hero-proofbar .trust-item,
.home-hero-proofbar .trust-item {
  display: grid !important;
  justify-items: center;
  align-items: start;
  align-content: start;
  gap: 6px;
  min-height: 0 !important;
  padding: 4px 4px 0;
  text-align: center;
}

.hero-proofbar .trust-item > .rg-icon,
.home-hero-proofbar .trust-item > .rg-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: var(--wash);
  align-self: center !important;
}

.hero-proofbar .trust-item > strong,
.home-hero-proofbar .trust-item > strong {
  min-height: 0 !important;
  font-size: 13px;
  line-height: 1.2;
  color: var(--navy);
}

.hero-proofbar .trust-item > span:not(.rg-icon),
.home-hero-proofbar .trust-item > span:not(.rg-icon) {
  font-size: 12px;
  line-height: 1.3;
  color: var(--muted);
}

body[data-page="trust"] .hero-proofbar .trust-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-chip {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid var(--soft-line);
  border-radius: 999px;
  background: var(--wash);
  color: var(--navy);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  text-align: center;
}

.trust-chip .rg-icon {
  display: inline-grid;
  place-items: center;
  place-content: center;
  align-self: center;
  width: 16px;
  height: 16px;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}

.trust-chip .rg-icon svg {
  display: block;
  margin: 0;
  width: 16px;
  height: 16px;
  max-width: 16px;
  max-height: 16px;
}

@media (max-width: 980px) {
  body[data-page="how"] .hero {
    display: flex !important;
    flex-direction: column;
  }

  body[data-page="how"] .hero-copy {
    display: contents;
  }

  body[data-page="how"] .hero-copy .eyebrow {
    order: 1;
  }

  body[data-page="how"] .hero-copy h1 {
    order: 2;
  }

  body[data-page="how"] .hero-copy > p {
    order: 3;
  }

  body[data-page="how"] .hero-copy .hero-actions {
    order: 4;
  }

  body[data-page="how"] .hero > .product-hero {
    order: 5;
    margin-top: 8px;
  }

  body[data-page="how"] .hero-proofbar {
    order: 6;
  }
}

@media (max-width: 760px) {
  .hero-proofbar,
  .home-hero-proofbar {
    gap: 8px;
    padding: 10px;
  }

  .hero-proofbar .scope-strip,
  .hero-proofbar .home-proof-scope,
  .home-hero-proofbar .scope-strip,
  .home-hero-proofbar .home-proof-scope {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .hero-proofbar .scope-strip > span,
  .hero-proofbar .home-proof-scope > span,
  .home-hero-proofbar .scope-strip > span,
  .home-hero-proofbar .home-proof-scope > span {
    min-height: 28px;
    padding: 4px 5px;
  }

  .hero-proofbar .scope-label,
  .home-hero-proofbar .scope-label {
    font-size: 11px;
  }

  .hero-proofbar .trust-row,
  .home-hero-proofbar .trust-row,
  body[data-page="trust"] .hero-proofbar .trust-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .hero-proofbar .trust-item,
  .home-hero-proofbar .trust-item {
    gap: 3px;
    padding: 0;
  }

  .hero-proofbar .trust-item > .rg-icon,
  .home-hero-proofbar .trust-item > .rg-icon {
    width: 22px;
    height: 22px;
  }

  .hero-proofbar .trust-item > strong,
  .home-hero-proofbar .trust-item > strong {
    font-size: 11px;
    line-height: 1.15;
  }

  .hero-proofbar .trust-item > span:not(.rg-icon),
  .home-hero-proofbar .trust-item > span:not(.rg-icon) {
    display: none;
  }
}

.trust-item > .rg-icon,
.hero-proofbar .trust-item > .rg-icon,
.home-hero-proofbar .trust-item > .rg-icon {
  display: grid !important;
  place-items: center !important;
  justify-self: center !important;
  margin-inline: auto !important;
}

body[data-page="faq"] .faq-heading-copy,
body[data-page="faq"] .faq-heading-row > div {
  display: grid !important;
  align-content: start !important;
  gap: 28px !important;
}

body[data-page="faq"] .faq-heading-row h1 {
  margin: 0 !important;
  padding: 0 !important;
}

body[data-page="faq"] .faq-heading-row p {
  margin: 0 !important;
  padding: 0 !important;
}

/* Trust page aesthetic pass. Density locks in global.css stay; this only
   refines chrome, alignment, and icon tiles. */
body[data-page="trust"] .hero {
  align-items: center !important;
}

body[data-page="trust"] .hero-copy {
  justify-items: start !important;
}

body[data-page="trust"] .hero-copy h1 {
  max-width: 14ch !important;
  line-height: 1.04 !important;
}

body[data-page="trust"] .hero-copy > p {
  max-width: 42ch !important;
}

body[data-page="trust"] .trust-hero-visual {
  align-items: center !important;
  justify-content: center !important;
}

body[data-page="trust"] .hero-side-card {
  border: 1px solid #d7e0ec !important;
  border-radius: 18px !important;
  box-shadow: 0 14px 30px rgba(15, 38, 89, 0.07) !important;
}

body[data-page="trust"] .hero-side-card h3 {
  font-family: var(--font-brand) !important;
  font-weight: 800 !important;
}

body[data-page="trust"] .section-heading,
body[data-page="trust"] .trust-permission-heading {
  justify-items: start !important;
}

body[data-page="trust"] .setup-banner {
  border-color: #d4dff2 !important;
  border-radius: 16px !important;
  box-shadow: 0 8px 20px rgba(15, 38, 89, 0.04) !important;
}

body[data-page="trust"] .permission-card {
  border-color: #d7e8de !important;
  border-radius: 16px !important;
}

body[data-page="trust"] .permission-card .feature-topline > .rg-icon {
  display: grid !important;
  place-items: center !important;
}

body[data-page="trust"] .trust-card-grid article {
  border-color: #d7e0ec !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 22px rgba(15, 38, 89, 0.05) !important;
}

body[data-page="trust"] .trust-card-grid article > .rg-icon {
  display: grid !important;
  place-items: center !important;
  justify-self: start !important;
}

body[data-page="trust"] .trust-card-grid article h3 {
  font-family: var(--font-brand) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
}

body[data-page="trust"] .why-we-ask-band {
  border: 1px solid #d7e0ec !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(15, 38, 89, 0.05) !important;
  padding: 16px 18px !important;
}

body[data-page="trust"] .why-band-heading h3 {
  font-family: var(--font-brand) !important;
  font-weight: 800 !important;
}

body[data-page="trust"] .why-band-icon .rg-icon,
body[data-page="trust"] .why-band-name .rg-icon {
  display: grid !important;
  place-items: center !important;
}

body[data-page="trust"] .data-strip {
  border: 1px solid #d7e0ec !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 24px rgba(15, 38, 89, 0.05) !important;
}

body[data-page="trust"] .data-strip .rg-icon {
  display: grid !important;
  place-items: center !important;
}

@media (min-width: 981px) {
  body[data-page="trust"] .hero {
    grid-template-columns: minmax(280px, 0.92fr) minmax(420px, 1.08fr) !important;
    justify-content: center !important;
    column-gap: 28px !important;
  }
}
