/* ── 7. Floating-orb decoration — trimmed to one focal instance ────────── */
.deco-orb--hero-1,
.deco-orb--hero-2,
.deco-orb--hero-3,
.deco-orb--feat-tr,
.deco-orb--inst-c,
.deco-orb--sec-tr,
.deco-orb--soc-tc,
.deco-orb--wa {
  display: none;
}

/* ── 8. Readability guardrails — final override layer ─────────────────── */
.accordion-header,
.accordion-body,
.install-step-text,
.review-card__text,
.flow-item p,
.hiw-site-intro p {
  overflow-wrap: anywhere;
}

.accordion-header {
  color: var(--foreground);
  font-size: clamp(1rem, .35vw + .94rem, 1.1rem);
  line-height: 1.55;
}

.accordion-body {
  color: hsl(215, 18%, 34%);
  font-size: clamp(1rem, .35vw + .94rem, 1.08rem);
  line-height: 1.72;
}

.hero-dl-btn,
.install-dl-btn,
.hiw-site-cta,
.security-dl-btn,
.cta-dl-btn,
.cta-wa-btn,
.wa-chat-btn,
.footer-dl-btn,
.mobile-bar__dl {
  min-height: 3.9rem;
  padding: .95rem 1.45rem;
  font-size: clamp(1.06rem, .32vw + .98rem, 1.16rem);
  line-height: 1.25;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(0, 88, 251, .2);
}

.hero-dl-btn {
  min-height: 4.25rem;
  padding-inline: clamp(1.4rem, 3vw, 2.25rem);
  font-size: clamp(1.1rem, .42vw + 1rem, 1.24rem);
}

.site-nav__dl-btn {
  box-shadow: 0 14px 30px rgba(0, 88, 251, .28);
}

@media (max-width: 520px) {
  .hero-dl-btn,
  .install-dl-btn,
  .hiw-site-cta,
  .security-dl-btn,
  .cta-dl-btn,
  .cta-wa-btn,
  .wa-chat-btn,
  .footer-dl-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  body.home .wp-container {
    padding-left: .75rem;
    padding-right: .75rem;
  }

  body.home .app-slider-section,
  body.home .hiw-section,
  body.home .flow-strip,
  body.home .install-section,
  body.home .security-section,
  body.home .faq-section,
  body.home .wa-section,
  body.home .social-section,
  body.home .cta-section {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  body.home .hero-section > .wp-container {
    padding-left: .35rem;
    padding-right: .35rem;
  }

  body.home .hero-grid,
  body.home .hero-copy,
  body.home .hero-visual {
    width: 100%;
  }

  body.home .hero-art-card {
    width: 100%;
    max-width: none;
  }

  body.home .hero-mobile-dl-btn {
    width: 100%;
  }

  body.home .social-section .section-header {
    margin-bottom: 1.35rem;
  }

  body.home .social-section-h2 {
    max-width: 100%;
    font-size: clamp(1.85rem, 8.5vw, 2.45rem);
    line-height: 1.12;
  }

  body.home .social-text-dim {
    max-width: 34rem;
    font-size: 1rem;
    line-height: 1.6;
  }

  body.home .reviews-layout {
    gap: .8rem;
  }

  body.home .review-card {
    padding: .95rem;
    border-color: rgba(0, 88, 251, .14);
    background:
      linear-gradient(180deg, rgba(0, 88, 251, .035), transparent 34%),
      #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
  }

  body.home .review-card__topline {
    flex-direction: row;
    align-items: center;
    margin-bottom: .65rem;
  }

  body.home .review-card__tag {
    min-height: 1.55rem;
    padding: .18rem .52rem;
    font-size: .78rem;
    font-weight: 850;
  }

  body.home .review-card__topline i {
    font-size: .92rem;
    color: #0058fb;
  }

  body.home .review-card__title {
    margin-bottom: .45rem;
    font-size: 1.18rem;
    line-height: 1.28;
  }

  body.home .review-card__text {
    margin-bottom: .85rem;
    font-size: .98rem;
    line-height: 1.58;
  }

  body.home .review-card__header {
    flex-direction: row;
    align-items: center;
    margin: 0 0 .8rem;
  }

  body.home .review-card__user {
    gap: .62rem;
  }

  body.home .review-card__avatar {
    width: 2.25rem;
    height: 2.25rem;
    font-size: .98rem;
  }

  body.home .user-name-color {
    font-size: .96rem;
    line-height: 1.2;
  }

  body.home .user-loc-color {
    font-size: .88rem;
    line-height: 1.35;
  }

  body.home .review-card__stat {
    display: inline-flex;
    width: fit-content;
    margin-top: .05rem;
    padding: .32rem .6rem;
    border: 1px solid rgba(0, 88, 251, .14);
    border-radius: 8px;
    background: rgba(0, 88, 251, .07);
  }

  body.home .review-stat-val {
    font-size: 1rem;
  }

  body.home .review-stat-unit {
    font-size: .76rem;
    font-weight: 800;
  }

  body.home .urdu-trust-section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  body.home .cta-panel,
  body.home .security-card,
  body.home .wa-card {
    padding-left: .75rem;
    padding-right: .75rem;
  }

  body.home .urdu-trust-panel {
    padding: 1.25rem 1rem;
  }

  .mobile-bar {
    padding: .38rem .65rem;
    padding-bottom: max(.38rem, env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .32);
  }

  .mobile-bar__inner {
    gap: .4rem;
  }

  .mobile-bar__dl {
    min-height: 2.75rem;
    height: 2.75rem;
    padding: .55rem .85rem;
    border-radius: 8px;
    font-size: .92rem;
    line-height: 1.15;
    gap: .4rem;
    box-shadow: 0 12px 24px rgba(0, 88, 251, .22);
  }
}

@media (max-width: 420px) {
  body.home .wp-container {
    padding-left: .5rem;
    padding-right: .5rem;
  }

  body.home .urdu-trust-panel,
  body.home .cta-panel,
  body.home .security-card,
  body.home .wa-card {
    padding-left: .55rem;
    padding-right: .55rem;
  }
}

@media (max-width: 520px) {
  .section-note,
  .section-muted-lg,
  .faq-section-text,
  .wa-section-text,
  .social-text-dim,
  .cta-subtitle,
  .flow-item p,
  .install-step-text,
  .review-card__text,
  .hiw-site-intro p {
    font-size: 1rem;
    line-height: 1.7;
  }
}

/* ── Mobile menu drawer ─────────────────────────────────────────────── */
.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(0, 88, 251, .22);
  border-radius: 8px;
  background: rgba(0, 88, 251, .08);
  color: #0058fb;
  cursor: pointer;
}

@media (max-width: 1180px) {
  .site-nav__toggle {
    display: inline-flex;
  }

  .site-nav__links {
    display: flex;
    position: fixed;
    top: 4.35rem;
    left: 50%;
    right: auto;
    width: min(calc(100% - 1.5rem), 28rem);
    flex-direction: column;
    align-items: stretch;
    gap: .45rem;
    padding: .85rem;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 24px 54px rgba(15, 23, 42, .2);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, -8px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
  }

  .site-nav__links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
  }

  .site-nav__links .nav-link-styled {
    width: 100%;
    justify-content: flex-start;
    min-height: 3rem;
    padding: .8rem .9rem;
    border-color: hsl(220, 20%, 90%);
    background: hsl(210, 40%, 98%);
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .site-nav__links {
    top: 3.55rem;
    width: min(calc(100% - 1rem), 28rem);
  }
}

@media (max-width: 782px) {
  .admin-bar .site-nav__links {
    top: 6.15rem;
  }
}

@media (max-width: 600px) {
  .admin-bar .site-nav__links {
    top: 5.25rem;
  }
}

/* ── Floating download promo sidebar (desktop) ─────────────────────────── */
.promo-sidebar {
  position: fixed;
  top: 50%;
  right: 1.5rem;
  z-index: 45;
  width: 18.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.15rem;
  border: 1px solid rgba(0, 88, 251, .18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 88, 251, .14), transparent 38%),
    rgba(255, 255, 255, .96);
  box-shadow: 0 28px 64px rgba(15, 23, 42, .2);
  text-align: center;
  transform: translateY(-50%) translateX(calc(100% + 2rem));
  opacity: 0;
  pointer-events: none;
  transition: transform .38s cubic-bezier(.22, 1, .36, 1), opacity .3s ease;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.promo-sidebar.is-visible {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.promo-sidebar__close {
  position: absolute;
  top: .65rem;
  right: .65rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 8px;
  background: #fff;
  color: hsl(220, 12%, 32%);
  font-size: .75rem;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}

.promo-sidebar__close:hover {
  background: rgba(0, 88, 251, .08);
  color: #0058fb;
}

.promo-sidebar__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 4.6rem;
  height: 3.15rem;
  padding: .18rem;
  border: 1px solid rgba(0, 88, 251, .18);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(0, 88, 251, .13);
  overflow: hidden;
}

.promo-sidebar__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  align-self: center;
  margin-bottom: .15rem;
}

.promo-sidebar__icon::after {
  content: '';
  position: absolute;
  inset: auto 16% 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: #0058fb;
}

.promo-sidebar__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.promo-sidebar__eyebrow {
  width: fit-content;
  padding: .28rem .55rem;
  border: 1px solid rgba(0, 88, 251, .22);
  border-radius: 999px;
  background: rgba(0, 88, 251, .08);
  color: #0058fb;
  font-size: .78rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0;
}

.promo-sidebar__title {
  max-width: 16rem;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.32rem;
  font-weight: 900;
  line-height: 1.16;
  color: var(--foreground);
  margin: .05rem 0 0;
}

.promo-sidebar__text {
  font-size: .96rem;
  line-height: 1.5;
  color: hsl(217, 20%, 31%);
  margin: 0;
}

.promo-sidebar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  min-height: 3.35rem;
  margin-top: .15rem;
  padding: .8rem 1rem;
  border: 1px solid rgba(0, 88, 251, .42);
  border-radius: 8px;
  background: #0058fb;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(0, 88, 251, .26);
}

@media (max-width: 1279px) {
  .promo-sidebar {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promo-sidebar {
    transition: opacity .3s ease;
    transform: translateY(-50%);
  }
}
