html { overflow-x: clip; }
.confidence-grid { grid-template-columns: repeat(3, 1fr); }
.confidence-grid article { min-height: 205px; }

@media (max-width: 900px) and (min-width: 641px) {
  .confidence-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 40px, 1180px); }

  .nav { height: 68px; }
  .brand { gap: 8px; font-size: 18px; white-space: nowrap; }
  .brand-mark { width: 34px; height: 34px; }
  .youtube-word { display: none; }
  .nav-cta { min-height: 44px; padding: 10px 15px; gap: 8px; white-space: nowrap; }

  .hero { min-height: auto; display: block; padding: 38px 0 58px; }
  .hero-copy { text-align: left; }
  .eyebrow { justify-content: flex-start; font-size: 10.5px; letter-spacing: .13em; white-space: nowrap; }
  .hero h1 { font-size: clamp(40px, 11.5vw, 46px); line-height: 1.01; margin: 22px 0 20px; }
  .hero h1 br { display: none; }
  .hero h1 em { display: block; }
  .hero h1 em::after { height: 9px; bottom: 2px; }
  .hero-copy > p { font-size: 16.5px; line-height: 1.62; margin: 0 0 25px; }
  .extract-form { display: grid; padding: 6px; margin: 0; border-radius: 16px; }
  .url-field { height: 54px; padding: 0 12px; }
  .url-field input { font-size: 16px; }
  .extract-form button { width: 100%; min-height: 52px; font-size: 16px; }
  .trust-row { justify-content: flex-start; gap: 9px 16px; margin-top: 15px; font-size: 13px; line-height: 1.45; }
  .hero-visual { display: none; }

  .confidence { padding: 68px 0; }
  .confidence-heading { gap: 12px; padding-top: 30px; }
  .confidence-heading h2 { font-size: 34px; line-height: 1.08; }
  .confidence-heading > p:last-child { font-size: 16px; line-height: 1.6; }
  .confidence-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 26px; }
  .confidence-grid article { min-height: auto; padding: 20px; }
  .confidence-grid h3 { font-size: 19px; margin: 17px 0 8px; }
  .confidence-grid p { font-size: 15px; line-height: 1.6; }

  .workspace { padding: 28px 0 64px; }
  .workspace-head { align-items: flex-start; flex-direction: column; gap: 20px; margin-bottom: 26px; }
  .workspace-head h2 { font-size: 32px; line-height: 1.12; }
  .workspace-actions { width: 100%; gap: 8px; }
  .workspace-actions button { flex: 1; min-height: 48px; padding: 11px 12px; font-size: 15px; }
  .repeat-extract-form { display: grid; width: 100%; margin-bottom: 20px; padding: 6px; }
  .repeat-extract-form .url-field { min-height: 52px; }
  .repeat-extract-form input { min-width: 0; font-size: 16px; }
  .repeat-extract-form button { min-height: 50px; width: 100%; font-size: 15px; }
  .workspace-grid { gap: 14px; }
  .panel { border-radius: 20px; }
  .video-panel { display: block; }
  .video-meta h3 { font-size: 19px; }
  .video-meta p, .meta-stats span { font-size: 13px; }
  .transcript-tools { grid-template-columns: 1fr; }
  .search-field input, .transcript-tools select { min-height: 48px; font-size: 16px; }
  .transcript-scroll { height: min(58vh, 520px); }
  .transcript-line { grid-template-columns: 50px 1fr; gap: 8px; padding: 13px 6px; font-size: 15.5px; }
  .transcript-footer { font-size: 13px; }
  .result-rating { align-items: flex-start; flex-direction: column; gap: 17px; padding: 22px 20px; }
  .result-rating h3 { font-size: 21px; }
  .result-rating p { font-size: 15px; line-height: 1.5; }
  .rating-control { width: 100%; text-align: left; }
  .rating-stars { justify-content: space-between; }
  .rating-stars button { width: 48px; height: 48px; font-size: 31px; }

  .steps, .faq { padding-block: 70px; }
  .section-label { font-size: 11px; }
  .section-heading { gap: 16px; margin-bottom: 34px; }
  .section-heading h2, .feature-band h2 { font-size: 36px; }
  .section-heading p { font-size: 16px; }
  .step-grid article, .step-grid article + article { padding: 25px 0; }
  .step-icon { margin: 18px 0; transform: none; }
  .step-grid p { max-width: none; font-size: 15.5px; }
  .feature-band { padding: 70px 0; }
  .feature-inner { gap: 36px; }
  .feature-list article { grid-template-columns: 38px 1fr; gap: 12px; padding: 23px 0; }
  .feature-list h3 { font-size: 19px; }
  .feature-list p { font-size: 15.5px; }
  .faq-list summary { min-height: 58px; align-items: center; padding: 18px 0; font-size: 17px; line-height: 1.35; gap: 20px; }
  details p { font-size: 15.5px; }
  .final-extractor { padding: 66px 0; }
  .final-extractor-inner { gap: 26px; }
  .final-extractor h2 { font-size: 38px; }
  .final-extractor p:not(.section-label) { font-size: 16px; }
  .final-extract-form { margin: 0; }

  .footer-lead { padding-block: 50px 34px; }
  .footer-lead p { font-size: 15.5px; }
  .footer-lead .primary-button { min-height: 48px; }
  .footer-grid { gap: 28px; padding-block: 36px; }
  .footer-grid h3 { margin-bottom: 14px; }
  .footer-grid a { font-size: 15px; margin-bottom: 13px; }
  .footer-bottom { font-size: 12px; line-height: 1.55; }
  .app-toast { bottom: 16px; width: calc(100vw - 32px); text-align: center; border-radius: 14px; font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress-spinner { animation: none; }
  .extract-form button, .nav nav a, summary span, .toggle span::after, .app-toast { transition: none; }
}
