/* Thunderwave site styles, layered on Bootswatch Flatly (Bootstrap 5.3) */

:root {
  --tw-brand: #0088a8;
}

body {
  /* keep content clear of the iPhone notch / home indicator in landscape */
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; }

/* Navbar */
.navbar-brand img { width: 80px; height: 40px; }
.navbar .btn-login { min-width: 6rem; }
@media (max-width: 767.98px) {
  .navbar-collapse .navbar-nav { padding: .5rem 0; }
  .navbar-collapse .btn-login { width: 100%; margin-bottom: .75rem; }
}

/* Hero */
.hero { background: var(--bs-light); }
.hero-logo { width: 18rem; max-width: 70%; }
.hero-title {
  color: var(--tw-brand);
  font-weight: 700;
  font-size: clamp(2.25rem, 7vw, 4.8rem);
  line-height: 1.05;
}

/* Pricing cards */
.plan-card .card-img-top { border-radius: 6px; }
.plan-price { font-size: 1.25rem; font-weight: 700; }

/* Content pages */
.page-section { background: var(--bs-light); }
.section-figure {
  width: 12rem;
  border-radius: 6px;
}
@media (max-width: 767.98px) {
  .section-figure { display: block; margin: 0 auto 1rem; }
}
.section-divider { width: 80%; margin: 2rem auto; }

/* Screenshots */
.shot { border-radius: 6px; }
@media (min-width: 768px) { .shot { cursor: zoom-in; } }
.shot-phone { max-width: 260px; }
#shotModal .modal-body img { width: 100%; }

/* Forms: 16px inputs stop iOS Safari from zooming on focus */
.form-control, .form-select { font-size: max(16px, 1rem); }

/* Footer */
.site-footer .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;   /* Apple's minimum tap target */
  min-height: 44px;
  padding: .25rem;
  background: none;
  border: 0;
}
.site-footer .social-link img { width: 2rem; height: 2rem; opacity: .7; }
.site-footer .social-link:hover img,
.site-footer .social-link:focus img { opacity: 1; }
.site-footer .play-badge { width: 8.5rem; }
