/* Shared FR feature and watch-page scale. The video remains the lead content on
   watch pages, while feature pages keep their longer explanatory sections. */
main.demo-feature-page,
main.video-watch-page.demo-watch-page {
  --briefing-h1-size: clamp(34px, 5.3vw, 64px);
  --briefing-h2-size: clamp(28px, 3.5vw, 34px);
  --briefing-h3-size: 20px;
  --briefing-body-size: 18px;
  --briefing-card-size: 16px;
  --briefing-label-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Arial, sans-serif;
}

main.demo-feature-page .demo-feature-copy h1,
main.video-watch-page.demo-watch-page .v3-watch-copy h1 {
  font-size: var(--briefing-h1-size) !important;
  font-weight: 750 !important;
  font-variation-settings: normal !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
}

main.demo-feature-page .demo-feature-hero {
  background: #fff;
  color: #1d1d1f;
  padding: clamp(32px, 5vw, 64px) 20px clamp(48px, 7vw, 80px);
}
main.demo-feature-page .demo-feature-hero .v3-inner {
  width: min(100%, 1120px);
  max-width: 1120px;
  margin: 0 auto;
  padding: 0;
}
main.demo-feature-page .demo-feature-breadcrumb {
  margin: 0 0 clamp(24px, 3vw, 38px);
  color: #6e6e73;
  font-size: 14px;
  line-height: 1.5;
}
main.demo-feature-page .demo-feature-breadcrumb a { color: #424245; text-decoration: none; }
main.demo-feature-page .demo-feature-breadcrumb a:hover { text-decoration: underline; }
main.demo-feature-page .demo-feature-copy {
  width: 100%;
  max-width: 900px;
  margin: 0 auto clamp(24px, 3vw, 36px);
  text-align: center;
}
main.demo-feature-page .demo-feature-meta {
  margin: 0 auto 15px;
  color: #6e6e73;
  font-size: 14px;
  font-weight: 600;
}
main.demo-feature-page .demo-feature-copy h1 {
  max-width: 880px;
  margin: 0 auto 18px;
  color: #1d1d1f;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Arial, sans-serif !important;
  font-size: var(--briefing-h1-size) !important;
  font-weight: 750 !important;
  line-height: 1.08 !important;
  letter-spacing: -.04em !important;
  text-wrap: balance;
}
main.demo-feature-page .demo-feature-title-gradient {
  background: linear-gradient(95deg, #559dff 0%, #8581ff 56%, #ca6af4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #8581ff;
}
main.demo-feature-page .demo-feature-copy .v3-lead {
  max-width: 760px;
  margin: 0 auto;
  color: #515154;
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 700 !important;
  line-height: 1.48 !important;
  text-align: center !important;
  text-align-last: center !important;
  hyphens: none;
}
main.demo-feature-page .demo-feature-text-link { margin: 16px auto 0; font-size: 16px; line-height: 1.5; }
main.demo-feature-page .demo-feature-note { max-width: 760px; margin: 16px auto 0; color: #515154; font-size: 16px; line-height: 1.5; }
main.demo-feature-page .demo-feature-text-link a { color: #0055ad; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
main.demo-feature-page .demo-feature-media { width: min(100%, 400px); margin: 0 auto; }
main.demo-feature-page .demo-feature-media .video-player-wrap {
  width: 100%;
  max-width: 400px;
  margin: 0;
  border-radius: 22px;
  box-shadow: 0 22px 55px rgba(0,0,0,.14);
  overflow: hidden;
  background: #000;
}
main.demo-feature-page .demo-feature-media video {
  display: block;
  width: 100%;
  height: min(68svh, 650px);
  max-height: 650px;
  aspect-ratio: auto;
  object-fit: contain;
  background: #000;
}
main.demo-feature-page .demo-feature-video-link { margin: 18px 0 0; text-align: center; }
main.demo-feature-page .demo-feature-video-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid #d8d8df;
  border-radius: 999px;
  color: #303035;
  background: #e8e8ed;
  font-size: 15px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}
main.demo-feature-page .demo-feature-video-link a:hover { background: #dcdce3; }
main.demo-feature-page .demo-feature-hero a:focus-visible { outline: 3px solid #005bea; outline-offset: 4px; }
@media (forced-colors: active) {
  main.demo-feature-page .demo-feature-title-gradient { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
}

main.demo-feature-page .demo-feature-copy .v3-lead,
main.video-watch-page.demo-watch-page .v3-watch-copy .v3-lead {
  font-size: clamp(18px, 2vw, 22px) !important;
  font-weight: 700 !important;
  line-height: 1.48 !important;
}

main.demo-feature-page .demo-feature-meta,
main.video-watch-page.demo-watch-page .v3-watch-meta {
  font-size: var(--briefing-label-size) !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
}

main.demo-feature-page .v3-eyebrow,
main.video-watch-page.demo-watch-page .watch-explainer .watch-kicker {
  color: #0066cc !important;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Arial, sans-serif !important;
  font-size: var(--briefing-label-size) !important;
  font-weight: 700 !important;
  letter-spacing: .08em !important;
  line-height: 1.45 !important;
  text-transform: uppercase !important;
}

main.demo-feature-page .v3-transcript {
  width: min(100%, 960px);
  max-width: 960px;
  padding: clamp(26px, 4vw, 44px);
}

main.demo-feature-page .v3-transcript h2,
main.demo-feature-page .v3-faq-block h2,
main.demo-feature-page .v3-h2,
main.video-watch-page.demo-watch-page .v3-transcript h2,
main.video-watch-page.demo-watch-page .watch-explainer h2,
main.video-watch-page.demo-watch-page #video-context h2 {
  font-size: var(--briefing-h2-size) !important;
  font-weight: 800 !important;
  font-variation-settings: normal !important;
  line-height: 1.2 !important;
  letter-spacing: -.025em !important;
}

main.video-watch-page.demo-watch-page .watch-explainer h3 {
  font-size: var(--briefing-h3-size);
  font-weight: 800;
  line-height: 1.3;
}

main.demo-feature-page .v3-transcript p:not(.v3-meta-pub),
main.demo-feature-page .v3-faq-ans p,
main.video-watch-page.demo-watch-page .v3-transcript p,
main.video-watch-page.demo-watch-page .watch-explainer > p,
main.video-watch-page.demo-watch-page .watch-question p,
main.video-watch-page.demo-watch-page .watch-audience p {
  font-size: var(--briefing-body-size) !important;
  line-height: 1.65 !important;
  max-width: 72ch;
}

main.demo-feature-page .v3-tips li,
main.video-watch-page.demo-watch-page .watch-steps p {
  font-size: var(--briefing-card-size) !important;
  line-height: 1.6 !important;
}

@media (max-width: 640px) {
  main.demo-feature-page,
  main.video-watch-page.demo-watch-page {
    --briefing-h1-size: clamp(33px, 9vw, 44px);
    --briefing-h2-size: clamp(26px, 6vw, 30px);
    --briefing-body-size: 17px;
  }
  main.demo-feature-page .demo-feature-hero { padding: 28px 16px 52px; }
  main.demo-feature-page .demo-feature-media video { height: min(62svh, 560px); }
}
