/* Landing-page refinements, loaded after the shared responsive styles. */
@media (min-width: 761px) and (max-width: 900px) {
  .site-header .site-nav { display: flex; }
}

@media (max-width: 900px) {
  .mobile-sticky-cta { visibility: hidden; pointer-events: none; transform: translateY(100%); transition: transform .2s ease, visibility .2s; }
  .mobile-sticky-cta.is-visible { visibility: visible; pointer-events: auto; transform: translateY(0); }
  .hero-text {
    width: 100%;
    max-width: 640px;
    min-width: 0;
    align-self: center;
    padding-top: 0;
  }
  .hero-text p { margin-inline: auto; }
  .hero-video { max-width: 640px; align-self: center; }
  .marquee-track { gap: 0; }
  .cta-content { left: 0; top: auto; }
  body { padding-bottom: calc(77px + env(safe-area-inset-bottom)); }
  .mobile-sticky-cta-btn { text-decoration: none; }
}

/* Let the grid determine media width; a minimum height plus aspect-ratio
   otherwise forces this panel across the adjacent product copy. */
.product-media { width: 100%; min-width: 0; min-height: 0; }
.product-info { min-width: 0; }
.how-it-works h2 { white-space: normal; }

@media (min-width: 761px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    height: auto;
    min-height: min(720px, calc(100svh - 83px));
    padding: 48px clamp(24px, 4vw, 58px);
    gap: clamp(24px, 4vw, 56px);
    text-align: left;
  }
  .hero-text { width: 100%; max-width: none; min-width: 0; padding-top: 0; align-self: center; }
  .hero-text h1 { font-size: clamp(38px, 5vw, 90px); line-height: 1.04; }
  .hero-text p { margin-inline: 0; }
  .hero-buttons { flex-direction: row; flex-wrap: wrap; gap: 16px 20px; }
  .hero-buttons .btn-primary { width: auto; min-width: 180px; }
  .hero-video { width: 100%; height: auto; max-width: none; max-height: 640px; aspect-ratio: 1; }
}

/* Keep tablet and small laptop layouts usable on both sides of 900px. */
@media (min-width: 761px) and (max-width: 1199px) {
  .hero { min-height: 0; padding-block: 44px; }
  .hero-text p { margin-top: 22px; font-size: 17px; }
  .hero-buttons { margin-top: 24px; }
  .hero-buttons .btn-primary { height: 52px; }
  .watch-link { min-height: 44px; font-size: 15px; gap: 8px; }
  .hero-text .launch-note { margin-top: 20px; font-size: 14px; }
  .product-detail { padding: 56px 24px; }
  .product-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 36px); }
  .product-media { aspect-ratio: 0.94 / 1; min-height: 0; max-height: none; }
  .product-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-feature-box { height: auto; min-height: 104px; padding: 14px 10px; }
  .product-feature-box span { font-size: 14px; line-height: 1.3; }
  .product-title { font-size: 38px; }
  .product-subtitle { line-height: 1.35; }
  .conversation { padding: 56px 24px; }
  .conversation-header h2 { font-size: clamp(32px, 4vw, 44px); }
  .conversation-scene {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr) 96px;
    max-width: 680px;
    height: auto;
    margin: 32px auto 0;
    gap: 28px 20px;
    align-items: center;
    overflow: visible;
  }
  .child-character, .santa-character, .child-bubble, .santa-bubble {
    position: static;
    inset: auto;
    transform: none;
    max-width: none;
  }
  .child-character, .santa-character { width: 96px; height: 128px; object-fit: contain; }
  .child-character { grid-column: 1; grid-row: 1; }
  .santa-character { grid-column: 3; grid-row: 2; }
  .child-bubble, .santa-bubble { width: auto; min-height: 0; padding: 28px; font-size: 28px; line-height: 1.25; }
  .child-bubble { grid-column: 2 / 4; grid-row: 1; }
  .santa-bubble { grid-column: 1 / 3; grid-row: 2; }
  .child-bubble::after, .santa-bubble::after { display: none; }
  .talk-about, .how-it-works { padding: 48px 24px; }
  .talk-about h2, .how-it-works h2 { font-size: clamp(32px, 4vw, 46px); line-height: 1.1; }
  .talk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .step-info { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
  .step-number { font-size: 38px; line-height: 1; }
  .step-copy h3 { font-size: 18px; line-height: 1.3; }
  .step-copy p { font-size: 15px; line-height: 1.5; }
  .step-image-box { height: auto; aspect-ratio: 4 / 3; padding: 12px; text-align: center; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 84px; }
  .site-header { padding-inline: 20px; }
  .hero {
    height: auto;
    padding: 36px 20px 28px;
    gap: 28px;
  }
  .hero-text h1 {
    font-size: clamp(34px, 9.2vw, 44px);
    line-height: 1.06;
    letter-spacing: -0.045em;
    overflow-wrap: break-word;
  }
  .hero-text p { margin-top: 20px; font-size: 16px; line-height: 1.6; }
  .hero-buttons { margin-top: 24px; gap: 12px; align-items: stretch; }
  .btn-primary { height: 52px; border-radius: 16px; }
  .watch-link { min-height: 44px; justify-content: center; gap: 10px; font-size: 15px; }
  .hero-text .launch-note { margin-top: 16px; font-size: 13px; color: #6c7078; }
  .hero-video { display: block; aspect-ratio: 4 / 3; border-radius: 16px; }
  .marquee-banner { padding-block: 12px; }
  .marquee-group { gap: 24px; padding-inline: 12px; }
  .marquee-item { font-size: 11px; letter-spacing: 0.06em; }

  .product-detail { padding: 44px 20px; }
  .product-card { padding: 0; gap: 28px; }
  .product-info { min-width: 0; }
  .product-media { width: 100%; min-height: 0; max-height: none; aspect-ratio: 1; }
  .carousel-arrow { top: 50%; width: 44px; height: 44px; }
  .carousel-arrow.prev { left: 12px; }
  .carousel-arrow.next { right: 12px; }
  .carousel-dots { bottom: 18px; }
  .product-eyebrow { margin-bottom: 12px; }
  .product-title { margin-bottom: 14px; font-size: 36px; }
  .product-subtitle { font-size: 20px; line-height: 1.35; margin-bottom: 14px; }
  .product-desc { line-height: 1.6; }
  .product-feature-grid { gap: 10px; }
  .product-feature-box { height: auto; min-height: 108px; padding: 14px 10px; }
  .product-feature-box span { font-size: 14px; line-height: 1.35; }
  .product-coming { margin-top: 24px; font-size: 16px; }
  .product-cta { height: 52px; border-radius: 14px; }
  .product-cta-caption { font-size: 13px; line-height: 1.5; }
  .product-accordion-item summary { gap: 12px; padding-block: 14px; }
  .product-accordion-item-answer { padding-left: 0; font-size: 16px; line-height: 1.55; }

  .conversation, .talk-about, .how-it-works, .faq { padding: 44px 20px; }
  .conversation-header h2, .talk-about h2, .how-it-works h2, .faq h2 {
    font-size: clamp(28px, 8vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.035em;
    text-wrap: balance;
  }
  .conversation-header h2 br { display: none; }
  .conversation-header p, .talk-about > p, .how-it-works > p, .faq > p {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.6;
  }
  .conversation-scene {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 64px;
    gap: 24px 12px;
    align-items: center;
    margin-top: 28px;
    overflow: visible;
  }
  .child-character, .santa-character {
    width: 64px;
    height: 88px;
    min-width: 0;
    object-fit: contain;
    font-size: 12px;
  }
  .child-character { grid-column: 1; grid-row: 1; }
  .santa-character { grid-column: 3; grid-row: 2; }
  .child-bubble, .santa-bubble {
    width: auto;
    max-width: none;
    min-height: 0;
    padding: 20px;
    font-size: clamp(20px, 5.5vw, 24px);
    line-height: 1.25;
    letter-spacing: -0.025em;
    border-radius: 18px;
  }
  .child-bubble { grid-column: 2 / 4; grid-row: 1; }
  .santa-bubble { grid-column: 1 / 3; grid-row: 2; }
  .conversation-cta { margin-top: 28px; }
  .meet-santa-link { min-height: 44px; line-height: 1.4; gap: 8px; }
  .talk-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 24px; }
  .talk-card { background: #f5f6fa; }
  .talk-cta { margin-top: 24px; }
  .talk-cta p { font-size: 16px; line-height: 1.5; }
  .talk-cta .features-link { min-height: 44px; margin-top: 4px; }

  .steps-grid { margin-top: 28px; gap: 28px; }
  .step-info { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; }
  .step-number { font-size: 40px; line-height: 1; }
  .step-copy h3 { line-height: 1.3; }
  .step-copy p { max-width: none; line-height: 1.55; }
  .step-image-box { height: auto; aspect-ratio: 16 / 9; margin-top: 16px; }
  .privacy-panel { margin: 36px 0 0; padding: 28px 20px; border-radius: 16px; }
  .privacy-learn-link { font-size: 15px; gap: 8px; }
  .how-it-works > p:last-child { font-size: 13px; line-height: 1.6; }

  .faq-list { margin-top: 28px; }
  .faq-item summary { padding: 20px 0; font-size: 16px; line-height: 1.45; gap: 16px; }
  .faq-answer { padding: 0 0 20px; font-size: 16px; }
  .cta-banner { min-height: 0; }
  .cta-banner::after { background: linear-gradient(90deg, #10121ab3, #10121a40); }
  .cta-content { padding: 48px 20px; }
  .cta-content h2 { font-size: clamp(32px, 9vw, 42px); line-height: 1.08; }
  .cta-content h2 br { display: none; }
  .cta-content p { margin-top: 20px; font-size: 16px; line-height: 1.6; }
  .cta-link { min-height: 44px; margin-top: 16px; font-size: 16px; }

  .site-footer { padding-top: 36px; }
  .footer-banner-title { font-size: clamp(23px, 6.5vw, 28px); }
  .footer-signup-form input { padding: 15px 16px; }
  .footer-signup-form button { padding: 15px 18px; }
  .footer-divider { margin-top: 32px; }
  .footer-grid { margin-top: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-col ul { margin-top: 12px; }
  .footer-col a { line-height: 1.45; padding-block: 8px; }
  .mobile-sticky-cta { padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); }
  .mobile-sticky-cta-btn { display: flex; height: 52px; border-radius: 16px; }
  body { padding-bottom: calc(73px + env(safe-area-inset-bottom)); }
  body.cart-locked .mobile-sticky-cta { visibility: hidden; }
}
