/* صايع بحر — home-lite (Pro Glass · mobile-first · hero full-bleed) */
/* tokens: css/tokens.css · shell: css/landing-pro-glass.css */

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.home-lite {
  font-family: var(--hl-font);
  line-height: 1.6;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: calc(var(--hl-header) + env(safe-area-inset-top, 0px));
}

a { color: var(--hl-cyan); text-decoration: none; }
a:hover { color: var(--hl-gold); }

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

.hl-wrap {
  width: var(--hl-content-max);
  margin-inline: auto;
  padding-inline: var(--hl-pad-x);
}

/* ── Header + mobile nav ── */
.hl-topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: env(safe-area-inset-top, 0px);
}

.hl-header {
  position: relative;
  height: var(--hl-header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0 var(--hl-pad-x);
  background: var(--hl-overlay);
  border-bottom: 1px solid var(--hl-border);
  backdrop-filter: var(--pg-glass-blur);
  -webkit-backdrop-filter: var(--pg-glass-blur);
}

.hl-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--hl-text);
  font-weight: 800;
  font-size: 1.05rem;
  min-width: 0;
}

.hl-logo img,
.hl-logo .hl-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.hl-logo span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.hl-logo small {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--hl-muted);
  letter-spacing: 0.06em;
}

.hl-nav-backdrop {
  display: none;
  position: fixed;
  top: calc(var(--hl-header) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hl-overlay-light);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 98;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hl-nav-backdrop.open {
  display: block;
  opacity: 1;
}

.hl-nav {
  display: none;
  position: fixed;
  top: calc(var(--hl-header) + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  bottom: 0;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px));
  background: var(--hl-overlay-nav);
  border-top: 1px solid var(--hl-border);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 99;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

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

body.nav-open { overflow: hidden; }

.hl-nav a {
  display: block;
  padding: 0.9rem 1rem;
  min-height: var(--hl-touch, 44px);
  border-radius: var(--hl-radius);
  color: var(--hl-text);
  font-weight: 600;
  font-size: 1rem;
}

.hl-nav a:hover,
.hl-nav a:focus-visible {
  background: var(--hl-surface);
  color: var(--hl-gold);
}

.hl-nav-play {
  margin-top: 0.5rem;
  text-align: center;
  background: var(--pg-gradient-primary) !important;
  color: var(--hl-text) !important;
}

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

.hl-menu span {
  display: block;
  height: 2px;
  background: var(--hl-text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hl-menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hl-menu[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hl-menu[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Buttons ── */
.hl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.25rem;
  border-radius: var(--hl-radius);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.25s ease;
}

.hl-btn:active { transform: scale(0.98); }

.hl-btn-primary {
  background: var(--pg-gradient-primary);
  color: var(--hl-text);
  box-shadow: var(--hl-shadow-primary);
}

.hl-btn-ghost {
  background: var(--hl-primary-a08);
  color: var(--hl-text);
  border: 1px solid var(--hl-border);
  backdrop-filter: var(--pg-glass-blur);
  -webkit-backdrop-filter: var(--pg-glass-blur);
}

.hl-btn-block { width: 100%; }

/* ── Hero full-bleed ── */
.hl-hero-bleed {
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - var(--hl-header) - env(safe-area-inset-top, 0px));
  min-height: calc(100dvh - var(--hl-header) - env(safe-area-inset-top, 0px));
  display: flex;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.hl-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  will-change: transform;
}

.hl-hero-media picture,
.hl-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.hl-hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, var(--hl-overlay-light) 0%, rgba(var(--pg-bg-rgb), 0.12) 32%, var(--hl-overlay) 62%, rgba(var(--pg-bg-rgb), 0.94) 100%),
    radial-gradient(ellipse 90% 55% at 70% 20%, var(--hl-primary-a18), transparent 60%);
}

.hl-hero-content {
  position: relative;
  z-index: 2;
  width: min(1080px, 100% - 2rem);
  margin-inline: auto;
  padding: 2.5rem 0 2.75rem;
  max-width: 36rem;
}

[dir="ltr"] .hl-hero-content {
  margin-inline-start: max(1rem, calc((100% - min(1080px, 100% - 2rem)) / 2));
  margin-inline-end: auto;
}

.hl-brand {
  font-size: clamp(2.35rem, 9vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
  background: linear-gradient(135deg, var(--hl-text) 10%, var(--hl-gold) 45%, #fef9c3 70%, var(--hl-cyan) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: hl-brand-shimmer 7s ease-in-out infinite;
  filter: drop-shadow(0 2px 18px var(--hl-accent-a25));
}

.hl-title {
  font-size: clamp(1.05rem, 3.6vw, 1.35rem);
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.55rem;
  color: var(--hl-text);
}

.hl-title em {
  font-style: normal;
  color: var(--hl-gold);
}

.hl-lead {
  color: var(--hl-muted);
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
  max-width: 34ch;
}

.hl-lead strong { color: var(--hl-text); }

.hl-cta {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: stretch;
}

.hl-google-play-badge {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hl-google-play-badge:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

.hl-google-play-badge img {
  height: 52px;
  width: auto;
  max-width: 100%;
}

.hl-google-play-badge--hero img {
  height: 56px;
}

.hl-google-play-badge--band {
  margin-top: 0.75rem;
}

.hl-footer-store-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.hl-get-app-hero {
  text-align: center;
  padding: 2rem 0 3rem;
}

.hl-get-app-badges {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin: 1.25rem auto 1.5rem;
  max-width: 20rem;
}

.hl-get-app-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 28rem;
  text-align: start;
  color: var(--hl-muted);
  line-height: 1.7;
}

.hl-get-app-list li + li {
  margin-top: 0.45rem;
}

html[dir="ltr"] .hl-get-app-list {
  text-align: start;
}

.hl-hero-content .hl-cta,
.hl-hero-content .hl-brand,
.hl-hero-content .hl-title,
.hl-hero-content .hl-lead {
  animation: hl-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hl-hero-content .hl-brand { animation-delay: 0.05s; }
.hl-hero-content .hl-title { animation-delay: 0.14s; }
.hl-hero-content .hl-lead { animation-delay: 0.22s; }
.hl-hero-content .hl-cta { animation-delay: 0.32s; }

.hl-cta .hl-btn-primary {
  animation: hl-cta-glow 2.8s ease-in-out infinite;
}

@keyframes hl-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hl-brand-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes hl-cta-glow {
  0%, 100% { box-shadow: var(--hl-shadow-primary); }
  50% { box-shadow: 0 6px 28px rgba(var(--pg-primary-rgb), 0.55); }
}

/* legacy badge/trust kept for older pages */
.hl-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 999px;
  background: var(--hl-primary-a12);
  border: 1px solid var(--hl-primary-a28);
  color: var(--hl-cyan);
  font-size: 0.85rem;
  font-weight: 600;
}

.hl-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--hl-muted);
  margin-bottom: 1.25rem;
}

.hl-hero-img {
  margin-top: 1rem;
  border-radius: var(--hl-radius);
  overflow: hidden;
  border: 1px solid var(--hl-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hl-hero-img img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
}

/* ── Below-fold body ── */
.hl-below {
  position: relative;
  z-index: 2;
  background: var(--hl-bg);
  padding-top: 0.5rem;
}

/* ── Stats ── */
.hl-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 2rem;
}

.hl-stat {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 140px;
  padding: 0.85rem;
  border-radius: var(--hl-radius);
  background: var(--hl-surface);
  border: 1px solid var(--hl-border);
  text-align: center;
  font-size: 0.85rem;
  color: var(--hl-muted);
}

.hl-stat strong {
  display: block;
  font-size: 1.25rem;
  color: var(--hl-gold);
  margin-bottom: 0.15rem;
}

/* ── Sections ── */
.hl-section { padding: 2rem 0; }

.hl-section-head { margin-bottom: 1.25rem; }

.hl-kicker {
  font-size: 0.8rem;
  color: var(--hl-cyan);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hl-section-head h2 {
  font-size: 1.5rem;
  font-weight: 800;
}

.hl-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}

.hl-card {
  padding: 1rem;
  border-radius: var(--hl-radius);
  background: var(--hl-surface);
  border: 1px solid var(--hl-border);
}

.hl-card-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.45rem;
  border-radius: 8px;
  background: var(--hl-primary-a12);
  border: 1px solid var(--hl-primary-a22);
  display: grid;
  place-items: center;
  color: var(--hl-cyan);
  font-size: 0.85rem;
  font-weight: 800;
}

.hl-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.hl-card p { font-size: 0.9rem; color: var(--hl-muted); }

/* ── Steps ── */
.hl-steps { list-style: none; display: grid; gap: 0.75rem; }

.hl-step {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--hl-radius);
  background: var(--hl-surface);
  border: 1px solid var(--hl-border);
}

.hl-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--hl-primary-a15);
  color: var(--hl-cyan);
  font-weight: 800;
}

.hl-step h3 { font-size: 1rem; margin-bottom: 0.15rem; }
.hl-step p { font-size: 0.88rem; color: var(--hl-muted); }

/* ── Store preview ── */
.hl-store-row {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-bottom: 1rem;
}

.hl-store-item {
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: var(--hl-radius);
  background: var(--hl-surface);
  border: 1px solid var(--hl-border);
}

.hl-store-item img { width: 48px; height: 48px; margin: 0 auto 0.5rem; }
.hl-store-item strong { display: block; font-size: 0.95rem; }
.hl-price { color: var(--hl-gold); font-weight: 700; margin: 0.25rem 0 0.5rem; }

/* ── FAQ ── */
.hl-faq { display: grid; gap: 0.5rem; }

.hl-faq details {
  border-radius: var(--hl-radius);
  background: var(--hl-surface);
  border: 1px solid var(--hl-border);
  overflow: hidden;
}

.hl-faq summary {
  padding: 0.9rem 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.hl-faq summary::-webkit-details-marker { display: none; }

.hl-faq p {
  padding: 0 1rem 1rem;
  font-size: 0.92rem;
  color: var(--hl-muted);
}

/* ── CTA band ── */
.hl-cta-band {
  margin: 2rem 0;
  padding: 1.5rem 1rem;
  border-radius: calc(var(--hl-radius) + 4px);
  text-align: center;
  background: linear-gradient(135deg, var(--hl-primary-a18), var(--hl-accent-a08));
  border: 1px solid var(--hl-primary-a22);
}

.hl-cta-band h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.hl-cta-band p { color: var(--hl-muted); margin-bottom: 1rem; font-size: 0.95rem; }

/* ── Footer ── */
.hl-footer {
  margin-top: auto;
  padding: 2.5rem 0 calc(5rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--hl-border);
  background:
    linear-gradient(180deg, var(--hl-primary-a08) 0%, transparent 40%),
    var(--hl-overlay);
  font-size: 0.88rem;
  color: var(--hl-muted);
  position: relative;
}

.hl-footer::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--hl-sea), var(--hl-gold), var(--hl-sea), transparent);
  opacity: 0.65;
}

.hl-footer-grid {
  display: grid;
  gap: 1.75rem 1.25rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.75rem;
}

.hl-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hl-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--hl-text);
  font-weight: 800;
  font-size: 1.05rem;
  width: fit-content;
}

.hl-footer-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  flex-shrink: 0;
}

.hl-footer-logo span { line-height: 1.2; }

.hl-footer-logo small {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--hl-muted);
  letter-spacing: 0.08em;
}

.hl-footer-tagline {
  max-width: 26rem;
  line-height: 1.55;
  font-size: 0.86rem;
}

.hl-footer-play {
  width: fit-content;
  min-height: var(--hl-touch, 44px);
  padding: 0.55rem 1.15rem !important;
  font-size: 0.9rem;
}

.hl-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.hl-footer-trust span {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--hl-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--hl-border);
}

.hl-footer-col h4,
.hl-footer-acc summary {
  color: var(--hl-text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hl-footer-acc {
  border: 1px solid var(--hl-border);
  border-radius: var(--hl-radius);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

.hl-footer-acc summary {
  list-style: none;
  cursor: pointer;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: var(--hl-touch, 44px);
  user-select: none;
}

.hl-footer-acc summary::-webkit-details-marker { display: none; }

.hl-footer-acc summary::after {
  content: '+';
  color: var(--hl-cyan);
  font-size: 1.15rem;
  font-weight: 400;
  flex-shrink: 0;
}

.hl-footer-acc[open] summary::after { content: '−'; }

.hl-footer-acc[open] summary {
  color: var(--hl-gold);
  border-bottom: 1px solid var(--hl-border);
}

.hl-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hl-footer-acc ul {
  padding: 0.5rem 1rem 0.85rem;
}

.hl-footer-col a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.15rem 0;
  color: var(--hl-muted);
  transition: color 0.15s ease, transform 0.15s ease;
}

.hl-footer-col a:hover {
  color: var(--hl-gold);
  transform: translateX(-2px);
}

[dir="ltr"] .hl-footer-col a:hover {
  transform: translateX(2px);
}

.hl-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hl-border);
}

.hl-footer-copy {
  font-size: 0.82rem;
  color: var(--hl-muted);
}

.hl-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.82rem;
}

.hl-footer-meta a {
  color: var(--hl-cyan);
  font-weight: 600;
}

.hl-footer-meta a:hover { color: var(--hl-gold); }

.hl-footer-sep {
  color: rgba(248, 250, 252, 0.25);
  user-select: none;
}

/* legacy — صفحات قديمة */
.hl-footer > .hl-wrap > p {
  line-height: 1.7;
}

.hl-footer > .hl-wrap > p a {
  color: var(--hl-cyan);
  font-weight: 600;
}

.hl-footer > .hl-wrap > p a:hover { color: var(--hl-gold); }

.hl-footer h4 {
  color: var(--hl-text);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.hl-footer a {
  color: var(--hl-muted);
}

.hl-footer a:hover { color: var(--hl-gold); }

@media (min-width: 480px) {
  .hl-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hl-footer-brand {
    grid-column: 1 / -1;
  }
}

/* ── FAB ── */
.hl-fab {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 90;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--pg-gradient-primary);
  color: var(--hl-text);
  font-size: 1.1rem;
  box-shadow: var(--hl-shadow-primary-lg);
}

[dir="ltr"] .hl-fab { left: auto; right: 1.25rem; }

/* ── Desktop ── */
@media (min-width: 768px) {
  .hl-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    height: var(--hl-header);
    padding: 0 1rem;
    background: var(--hl-overlay);
    border-bottom: 1px solid var(--hl-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hl-header {
    flex: 0 0 auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .hl-nav-backdrop { display: none !important; }

  .hl-menu { display: none; }

  .hl-nav {
    display: flex !important;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    flex: 1;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    background: transparent;
    overflow: visible;
    gap: 0.15rem;
    z-index: auto;
    border: none;
    box-shadow: none;
    min-height: 0;
  }

  body.nav-open { overflow: auto; }

  .hl-nav a {
    display: inline-flex;
    padding: 0.45rem 0.65rem;
    min-height: 0;
    font-size: 0.9rem;
    font-weight: 600;
  }

  .hl-footer-acc {
    border: none;
    background: transparent;
    overflow: visible;
  }

  .hl-footer-acc summary {
    pointer-events: none;
    cursor: default;
    padding: 0;
    min-height: auto;
    margin-bottom: 0.65rem;
    border: none !important;
  }

  .hl-footer-acc summary::after { display: none; }

  .hl-footer-acc ul { padding: 0; }

  .hl-nav-play {
    margin-top: 0;
    margin-inline-start: 0.35rem;
    padding: 0.5rem 1rem !important;
  }

  .hl-hero-bleed {
    align-items: center;
  }

  .hl-hero-content {
    max-width: 28rem;
    padding: 4rem 0;
    margin-inline-start: max(1rem, calc((100% - min(1080px, 100% - 2rem)) / 2));
    margin-inline-end: auto;
  }

  [dir="ltr"] .hl-hero-content {
    margin-inline-start: max(1rem, calc((100% - min(1080px, 100% - 2rem)) / 2));
  }

  .hl-hero-media img {
    object-position: 62% center;
  }

  .hl-hero-veil {
    background:
      linear-gradient(90deg, rgba(var(--pg-bg-rgb), 0.88) 0%, rgba(var(--pg-bg-rgb), 0.55) 42%, rgba(var(--pg-bg-rgb), 0.2) 70%, transparent 100%),
      linear-gradient(180deg, rgba(var(--pg-bg-rgb), 0.25) 0%, transparent 35%, rgba(var(--pg-bg-rgb), 0.55) 100%);
  }

  [dir="ltr"] .hl-hero-veil {
    background:
      linear-gradient(270deg, rgba(var(--pg-bg-rgb), 0.88) 0%, rgba(var(--pg-bg-rgb), 0.55) 42%, rgba(var(--pg-bg-rgb), 0.2) 70%, transparent 100%),
      linear-gradient(180deg, rgba(var(--pg-bg-rgb), 0.25) 0%, transparent 35%, rgba(var(--pg-bg-rgb), 0.55) 100%);
  }

  .hl-cta {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .hl-btn-block { width: auto; min-width: 11rem; }

  .hl-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .hl-stats { gap: 0.75rem; }

  .hl-stat { flex: 1 1 calc(25% - 0.75rem); min-width: 120px; }

  .hl-footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 2rem 1.25rem;
  }

  .hl-footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hl-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

  .hl-hero-content { max-width: 32rem; padding: 5rem 0; }

  .hl-section { padding: 2.5rem 0; }

  .hl-section-head h2 { font-size: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hl-btn,
  .hl-brand,
  .hl-hero-content .hl-cta,
  .hl-hero-content .hl-brand,
  .hl-hero-content .hl-title,
  .hl-hero-content .hl-lead,
  .hl-cta .hl-btn-primary {
    animation: none !important;
    transition: none;
  }
}

html.perf-lite .hl-brand,
html.perf-lite .hl-hero-content .hl-cta,
html.perf-lite .hl-hero-content .hl-brand,
html.perf-lite .hl-hero-content .hl-title,
html.perf-lite .hl-hero-content .hl-lead,
html.perf-lite .hl-cta .hl-btn-primary {
  animation: none !important;
}

html.perf-lite .hl-hero-media {
  transform: none !important;
  will-change: auto;
}

html.perf-lite .hl-header {
  backdrop-filter: none !important;
  background: var(--hl-overlay-nav) !important;
}
