/* Shared chrome: loader, buttons, stacks, eyebrow, product-page leftovers. */

.loader {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    radial-gradient(82% 68% at 4% 72%, rgba(156, 117, 47, 0.92) 0%, rgba(91, 65, 30, 0.78) 44%, transparent 72%),
    radial-gradient(78% 86% at 88% 48%, rgba(27, 43, 31, 0.96) 0%, rgba(32, 40, 28, 0.84) 52%, transparent 78%),
    #3d2e1b;
}

.loader-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: calc(var(--framer-viewport-height, 100vh) * 1.04);
  background: rgb(234, 234, 234);
  transform-origin: 50% 0%;
}

body.is-loading {
  overflow: hidden;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 51px;
  padding: 0 28px;
  background: #fff;
  color: #000;
  border-radius: calc(var(--radius-md) * var(--one-if-corner-shape-supported));
  corner-shape: superellipse(1.5);
  font-size: var(--fs-ui);
  line-height: var(--lh-ui);
  letter-spacing: var(--ls-ui);
  white-space: nowrap;
}

.btn:hover {
  transform: scale(1.02);
}

.btn-dark {
  background: #1a1a1a;
  color: #fff;
}

.btn-dark:hover {
  background: #000;
}

.text-link {
  color: #fff;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* ---- Light stack (intro / directions / products / updates) ---- */

.light-stack {
  position: relative;
  z-index: 3;
  background: var(--bg-light);
  border-radius: var(--radius-section);
  margin-top: -45px;
  padding: 160px 0;
}

.light-stack--flush {
  z-index: 4;
  margin-top: -165px;
  border-radius: var(--radius-section) var(--radius-section) 0 0;
  padding: 160px 0 12px;
}

.block {
  margin-bottom: 160px;
}

.block:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--surface-on-light);
  border-radius: calc(var(--radius-sm) * var(--one-if-corner-shape-supported));
  corner-shape: superellipse(1.5);
  color: var(--text-primary-light);
}

/* ---- Product page ---- */

.page-hero {
  background: var(--bg-light);
  padding: 160px 60px 120px;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: min(100%, var(--container));
  margin: 0 auto;
}

.product-hero-icon {
  width: 80px;
  height: 80px;
  border-radius: calc(var(--radius-lg) * var(--one-if-corner-shape-supported));
  margin-bottom: 24px;
}

.product-hero h1 {
  margin: 0 0 12px;
}

.product-hero .tagline {
  color: var(--text-tertiary-light);
  margin: 0 0 28px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.page-section {
  padding: 0 60px 120px;
  width: min(100%, calc(var(--container) + 120px));
  margin: 0 auto;
}

.split-list {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
}

.bullet {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  font-size: 18px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: #000;
  margin-top: 8px;
  flex: none;
}

.dark-section {
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--radius-section);
  padding: 80px 60px;
  margin: 0 12px 120px;
}

.get-block {
  text-align: center;
}

.get-note {
  color: var(--text-tertiary-light);
  margin-top: 16px;
}

.legal-mini {
  text-align: center;
  padding: 0 20px 24px;
  color: var(--text-tertiary-light);
  font-size: 14px;
}

.legal-mini a:hover {
  text-decoration: underline;
}

@media (max-width: 1279.98px) {
  .product-hero,
  .split-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 809.98px) {
  .light-stack {
    padding: 100px 0;
    border-radius: 24px;
  }

  .light-stack--flush {
    margin-top: -165px;
    padding: 100px 0 12px;
    border-radius: 24px 24px 0 0;
  }

  .block {
    margin-bottom: 100px;
  }

  .dark-stack,
  .page-hero,
  .page-section,
  .dark-section {
    padding: 120px 20px;
  }

  .product-hero {
    padding-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-mask {
    transform: none !important;
    opacity: 1 !important;
    height: 0 !important;
  }
}
