/* Shared header, footer, buttons, badges */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px var(--page-pad);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  max-width: 1512px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #000;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  overflow: hidden;
  line-height: 0;
}

.logo img {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
  object-position: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.54);
  backdrop-filter: blur(7.25px);
  border-radius: var(--radius-pill);
  font-size: 18px;
  font-weight: 500;
}

.nav a {
  white-space: nowrap;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.is-active {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-btn);
  padding: 12px 26px;
  font-weight: 500;
  transition: transform 0.15s, opacity 0.15s;
}

.btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  font-size: 18px;
}

.btn-pill {
  border-radius: 4000px;
  padding: 12px 23px;
  font-size: 14px;
  font-weight: 500;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--dark-05);
  border-radius: 2px;
}

/* Store badges */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
}

.store-badge {
  position: relative;
  display: block;
  background: var(--black);
  border: 1px solid #a6a6a6;
  height: 40px;
  overflow: hidden;
}

.store-badge--apple {
  width: 120px;
  border-radius: 7px;
}

.store-badge--google {
  width: 135px;
  border-radius: 5px;
}

.store-badge img {
  position: absolute;
}

.store-badge--apple .badge-logo {
  left: 9px;
  top: 9px;
  width: 18px;
  height: 22px;
}

.store-badge--apple .badge-top {
  left: 35px;
  top: 8px;
  width: 69px;
  height: auto;
}

.store-badge--apple .badge-bottom {
  left: 33px;
  top: 20px;
  width: 75px;
  height: auto;
}

.store-badge--google .badge-logo {
  left: 9px;
  top: 7px;
  width: 23px;
  height: 26px;
}

.store-badge--google .badge-top {
  left: 40px;
  top: 6px;
  width: 39px;
  height: auto;
}

.store-badge--google .badge-bottom {
  left: 40px;
  top: 18px;
  width: 85px;
  height: auto;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: var(--white);
  padding: 64px var(--page-pad) 48px;
}

.site-footer__inner {
  max-width: 1330px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 420px) 1fr;
  gap: 60px 100px;
}

.footer-brand .logo {
  margin-bottom: 20px;
  padding: 6px 12px;
}

.footer-brand .logo img {
  height: 52px;
}

.footer-brand p {
  font-size: 18px;
  margin: 0 0 20px;
  max-width: 420px;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  width: 24px;
  height: 24px;
  display: block;
}

.footer-social img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(140px, 1fr));
  gap: 40px 60px;
}

.footer-col h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 20px;
}

.footer-col a,
.footer-col .footer-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 16px;
  font-weight: 700;
}

.footer-col img {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

.footer-col .arrow {
  width: 12px;
  height: 12px;
  transform: rotate(-90deg);
}

/* FAQ */
.faq {
  max-width: 872px;
  margin: 0 auto;
  padding: 60px var(--page-pad) 80px;
}

.faq h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: #20232d;
}

.faq-item {
  border-bottom: 2px solid #f6f8fa;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
}

.faq-item button img {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.faq-item.is-open button img {
  transform: rotate(45deg);
}

.faq-item__body {
  display: none;
  padding: 0 20px 24px;
  color: var(--neutral-8);
  font-size: 16px;
  line-height: 1.6;
}

.faq-item.is-open .faq-item__body {
  display: block;
}

/* Section helpers */
.section {
  padding: 60px var(--page-pad);
}

.section-title {
  font-size: clamp(28px, 3vw, 37px);
  font-weight: 500;
  text-align: center;
}

.section-sub {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--neutral-8);
  text-align: center;
  max-width: 832px;
  margin: 20px auto 0;
}

.icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.icon-circle img {
  width: 27px;
  height: 27px;
}

.icon-circle--lg {
  width: 80px;
  height: 80px;
}

.icon-circle--lg img {
  width: 40px;
  height: 40px;
}

.icon-circle--green {
  background: var(--primary);
}

.icon-circle--orange {
  background: linear-gradient(180deg, #ff7700, #ffb26e);
}

.icon-circle--lime {
  background: linear-gradient(180deg, #27c400, #1be600);
}

.icon-circle--blue {
  background: linear-gradient(180deg, #2600ff, #6e82ff);
}

.icon-circle--purple {
  background: linear-gradient(180deg, #ae00ff, #c56eff);
}

.icon-circle--gold {
  background: linear-gradient(180deg, #c49600, #e69d00);
}

.icon-circle--solid-green {
  background: #24b500;
}

.icon-circle--solid-blue {
  background: rgba(0, 61, 217, 0.83);
}

@media (max-width: 960px) {
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--page-pad);
    right: var(--page-pad);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 20px;
    box-shadow: var(--shadow-card);
    background: var(--white);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 16px;
    border-radius: 12px;
  }

  .nav a:hover {
    background: var(--bg-mint);
  }

  .header-cta {
    display: none;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
