/* Above-the-fold essentials for index-dev.php — keep small; full styles in home4.css */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-3xl: 1.5rem;
  --radius-full: 9999px;
  --radius-surface: var(--radius-2xl);
  --radius-control: var(--radius-lg);
  --radius-pill: var(--radius-full);
  --text-display: clamp(1.875rem, 3.5vw, 2.8125rem);
  --text-base: 1rem;
  --text-xl: 1.25rem;
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-md: 1.0625rem;
  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.5;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --color-text: #1d1d1d;
  --color-text-body: #737373;
  --color-text-muted: #9ca3af;
  --color-text-secondary: #6b7280;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--text-md);
  font-weight: var(--weight-medium);
  line-height: var(--leading-normal);
  color: var(--color-text-body);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  color: var(--color-text);
}

#hero-section {
  background-color: #f5f7fa;
  background-image: url(/assets/img/theme/bg-1.svg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top center;
  padding-top: 130px;
  padding-bottom: 35px;
  margin-bottom: 30px;
}

.append2 {
  margin-top: 0;
  margin-bottom: var(--stack-gap, 1rem);
  color: var(--color-text-body);
}

.hero-headline {
  font-size: var(--text-display) !important;
  line-height: var(--leading-tight);
}

.hero-subheading {
  font-size: var(--text-xl);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}

.hero-benefits-list {
  font-size: var(--text-base, 1rem);
  line-height: var(--leading-snug);
  color: var(--color-text-body);
}

.hero-cta-subtext {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}

.main-header .navbar-brand-inner img {
  max-width: 170px;
  height: auto;
}

.hero-video-container {
  width: 424px;
  max-width: 100%;
  height: 524px;
  max-height: 70vh;
  border-radius: var(--radius-surface);
  overflow: hidden;
  box-shadow: 0 25px 70px rgb(0 0 0 / 7%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-surface);
  background: #fff;
}

#homepage-video,
#homepage-video img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-surface);
}

.mobile-banner {
  display: none;
}

.circle {
  border-radius: var(--radius-full, 9999px);
}

.light-grey-border {
  border: 1px solid #ededed;
}

.border-radius-18 {
  border-radius: var(--radius-surface);
}

.text-black {
  color: var(--color-text);
}

.fw-600 {
  font-weight: var(--weight-semibold);
}

.visible-xs {
  display: none !important;
}

.hidden-xs {
  display: block !important;
}

.main-header {
  position: relative;
  z-index: 1000;
}

/* #wrap only contains the header + hero (the rest of the page is a sibling of
   #wrap), so min-height:100vh forces a gap below the hero on mobile when the
   hero is shorter than the viewport. Keep it for tablet, drop it on phones. */
@media (min-width: 768px) {
  #wrap {
    min-height: 100vh;
  }
}

@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }

  .hidden-xs {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  #hero-section {
    padding-top: 30px !important;
    padding-bottom: 0 !important;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .hero-video-container {
    width: 100%;
    height: auto;
    aspect-ratio: 424 / 524;
  }

  .mobile-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    backdrop-filter: blur(10px) saturate(150%);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  }
}

/* Closed Lity modals must stay hidden (home4 sticky-foot overrides display:none) */
.lqd-modal.lity-hide {
  display: none !important;
}
