/* Stage 2 video pages (the six age-bracket pages that mount data-aia-form="stage2"), 2026-10-27.
   Desktop and tablet (900px and up): the video on the left, sticky while the survey on the right scrolls.
   Phone: a small video on top, the survey right under it, so the Start button shows on the first screen.
   Linked only from those six pages, under <body class="s2-page">. */

/* .overflow clips with overflow:hidden, which would stop the sticky video; clip does the same job without a scroller. */
.s2-page .overflow { overflow: hidden; overflow: clip; }

/* A compact hero: the survey is the point of the page. #main-content outranks the pages' own hero rules. */
.s2-page #main-content .section-top { padding: 10px 16px 0 !important; }
.s2-page #main-content .section-top .subtitle { display: none !important; }
.s2-page #main-content .block-heading-top { margin-bottom: 0 !important; padding-bottom: 0 !important; }
.s2-page #main-content .space-image { margin-bottom: 8px !important; }
.s2-page #main-content .image-2 { width: auto !important; height: 36px !important; max-width: 70% !important; margin-bottom: 8px; }
.s2-page #main-content .space-image .image-2 { margin-bottom: 0; }
.s2-page #main-content .heading-hero.hero-clean { gap: 6px !important; margin: 0 !important; }
.s2-page #main-content .hero-eyebrow { font-size: 0.68rem !important; letter-spacing: 0.12em !important; padding: 0.6em 1.1em !important; }
.s2-page #main-content .hero-title { font-size: 1.45rem !important; line-height: 1.12 !important; max-width: none !important; }
.s2-page #main-content .block-heading-top h3.heading-hero,
.s2-page #main-content .block-heading-top h3.heading-hero strong,
.s2-page #main-content .block-heading-top h3.heading-hero em { font-size: 0.9rem !important; line-height: 1.4 !important; font-weight: 400 !important; letter-spacing: 0 !important; }
.s2-page #main-content .block-heading-top h3.heading-hero { margin: 6px auto 0 !important; max-width: 46em !important; padding: 0 !important; text-align: center !important; text-wrap: balance; }

/* Video and survey */
.s2-grid { width: 100%; max-width: 1160px; margin: 10px auto 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.s2-video { width: 100%; max-width: 256px; margin: 0 auto; }
.s2-page .s2-video .video-vsl { margin: 0 !important; }
.s2-page .s2-video .aa-sound-ring { width: 60px; height: 60px; font-size: 24px; }
.s2-page .s2-video .aa-sound-txt { font-size: 14px; }
.s2-page .s2-video .aa-mute { width: 38px; height: 38px; font-size: 15px; bottom: 10px; right: 10px; }
.s2-page .s2-survey .wrapper-embed { margin: 0 !important; max-width: none !important; width: 100%; }
.s2-page .s2-survey .code-embed,
.s2-page .s2-survey .w-embed { width: 100%; }
.s2-page .s2-survey .aia {
  width: 100%;
  border: 1px solid #dbe6f2;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 31, 51, 0.04), 0 12px 32px -12px rgba(11, 31, 51, 0.16);
}
.s2-page .s2-survey .aia-stage { justify-content: flex-start; }
/* The welcome has no question counter: drop its empty top row. */
.s2-page .s2-survey .aia:has(.aia-welcome) .aia-top { display: none; }
.s2-page .s2-survey .aia:has(.aia-welcome) .aia-stage { padding-top: 16px; }
@media (min-width: 561px) { .s2-page .s2-survey .aia:has(.aia-welcome) .aia-stage { padding-top: 26px; } }
.s2-page .paragraph-hero { margin-top: 28px !important; }

@media (max-width: 380px) {
  .s2-page #main-content .block-heading-top h3.heading-hero,
  .s2-page #main-content .block-heading-top h3.heading-hero strong,
  .s2-page #main-content .block-heading-top h3.heading-hero em { font-size: 0.84rem !important; }
  .s2-video { max-width: 236px; }
}

@media (min-width: 561px) {
  .s2-page #main-content .image-2 { height: 50px !important; }
  .s2-page #main-content .hero-eyebrow { font-size: 0.76rem !important; }
  .s2-page #main-content .hero-title { font-size: clamp(1.8rem, 3.2vw, 2.4rem) !important; }
  .s2-page #main-content .block-heading-top h3.heading-hero,
  .s2-page #main-content .block-heading-top h3.heading-hero strong,
  .s2-page #main-content .block-heading-top h3.heading-hero em { font-size: 1rem !important; }
  .s2-video { max-width: 440px; }
  .s2-page .s2-video .aa-sound-ring { width: 72px; height: 72px; font-size: 29px; }
  .s2-page .s2-video .aa-sound-txt { font-size: 15px; }
}

@media (min-width: 900px) {
  .s2-page #main-content .section-top { padding: 18px 28px 0 !important; }
  .s2-grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 22px; }
  .s2-video { max-width: none; margin: 0; position: -webkit-sticky; position: sticky; top: 20px; }
}
