/* Shared styles for the TummyJr static marketing site */
:root {
  color-scheme: light;
}

@font-face {
  font-family: 'AzoSans';
  src:
    url('branding/fonts/AzoSans-Bold.woff2') format('woff2'),
    url('branding/fonts/AzoSans-Bold.woff') format('woff'),
    url('branding/fonts/AzoSans-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at top, rgba(255, 225, 230, 0.9), transparent 35%),
    linear-gradient(180deg, #fffdfc 0%, #fff7f5 45%, #ffffff 100%);
  color: #1f2937;
}

.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.75) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.75) 1px, transparent 1px);
  background-size: 28px 28px;
}

.brand-wordmark {
  font-family: 'AzoSans', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  color: #f97316;
  letter-spacing: 0.01em;
}

.glass-card {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
}

.gradient-border {
  position: relative;
  border: 1px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, rgba(251, 113, 133, 0.45), rgba(245, 158, 11, 0.35), rgba(59, 130, 246, 0.32)) border-box;
}

.section-ring {
  position: relative;
}

.section-ring::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(251, 113, 133, 0.14), rgba(59, 130, 246, 0.12));
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

.qr-placeholder {
  background-image:
    linear-gradient(45deg, rgba(15, 23, 42, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(15, 23, 42, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(15, 23, 42, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(15, 23, 42, 0.08) 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0px;
}

.screenshot-shell {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.1);
}

.placeholder-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #be123c;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.placeholder-banner::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: #fb7185;
}

.placeholder-badge-corner {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  z-index: 1;
}

.placeholder-panel {
  position: relative;
}

.policy-copy a {
  color: #0f172a;
  font-weight: 600;
}

.policy-copy a:hover {
  color: #be123c;
}

.policy-copy h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  color: #0f172a;
}

.policy-copy h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: #0f172a;
}

.policy-copy p,
.policy-copy li {
  color: #475569;
}

.policy-copy ul {
  margin: 1rem 0;
  list-style: disc;
  padding-left: 1.25rem;
}

.policy-copy strong {
  color: #0f172a;
}

.link-underline {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 100% 1px;
}

.horizontal-showcase {
  position: relative;
}

.horizontal-pin {
  position: sticky;
  top: 6.25rem;
  height: calc(100vh - 7.5rem);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.horizontal-track {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  width: max-content;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  will-change: transform;
}

.shot-card {
  width: min(22rem, 78vw);
  border-radius: 1.2rem;
}

.shot-image {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border-radius: 1.2rem;
  display: block;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}

@media (max-width: 1023px) {
  .horizontal-showcase {
    height: auto !important;
  }

  .horizontal-pin {
    position: relative;
    top: auto;
    height: auto;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.9rem;
  }

  .horizontal-track {
    transform: none !important;
    padding: 0 1.5rem;
  }

  .shot-card {
    width: min(74vw, 20rem);
    scroll-snap-align: start;
  }
}
