/* Keep the desktop composition; give the middle viewport its own two columns. */
.widget-controls, .widget-time, .widget-proof, .widget-collapse,
.widget-reopen, .show-examples, .widget-placeholder { display: none; }
@media (min-width: 641px) and (max-width: 1050px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) 310px; grid-template-rows: auto auto; gap: 36px 28px; padding-top: 24px; align-items: start; }
  .header { grid-column: 1 / -1; height: 70px; width: 100%; }
  .header .nav-call { display: inline-flex; }
  .hero-copy { grid-column: 1; grid-row: 2; padding: 14px 0 0; }
  .hero-copy h1 { font-size: clamp(2.5rem, 5.8vw, 3.75rem); line-height: 1.07; max-width: 100%; text-wrap: initial; }
  .hero-copy h1 br:nth-of-type(1), .hero-copy h1 br:nth-of-type(3) { display: none; }
  .hero-copy > p { margin-top: 24px; font-size: 1rem; }
  .hero-bottom { gap: 12px; }
  .membership { grid-column: 2; grid-row: 2; align-self: start; width: 100%; max-width: none; margin: 0; min-height: 0; }
  .member-top { order: 0; padding: 14px 20px 0; }
  .member-copy { order: 1; padding: 16px 20px 20px; }
  .member-copy h2 { font-size: 1.75rem; }
  .member-copy > p { margin-top: 10px; }
  .subscribe-hero { margin-top: 18px; }
  .intro-call { margin-top: 16px; padding-top: 16px; }
  .tiktok-showcase { order: 2; margin: 0 0 20px; padding: 0 16px; grid-template-columns: 128px minmax(0, 1fr); gap: 0 12px; align-items: start; }
  .tiktok-player { width: 128px; height: 228px; }
  .example-proof { font-size: 1.125rem; }
  .example-context { font-size: .75rem; }
  .example-source, .example-scope { font-size: .625rem; }
  .publishing-tag { display: none; }
}
@media (min-width: 641px) and (max-width: 760px) {
  .hero { grid-template-columns: minmax(0, 1fr) 280px; gap: 28px 20px; }
  .hero-copy h1 { font-size: 2.5rem; }
  .tiktok-showcase { grid-template-columns: 112px minmax(0, 1fr); gap: 0 10px; padding: 0 12px; }
  .tiktok-player { width: 112px; height: 199px; }
}
@media (max-width: 640px) {
  .hero { display: flex; gap: 0; padding-top: 16px; }
  .header { height: 62px; }
  .hero-copy { padding: 28px 0 0; }
  .hero-copy h1 { font-size: clamp(2.5rem, 10.8vw, 3.75rem); line-height: 1.08; text-wrap: initial; }
  .hero-copy h1 br:nth-of-type(1), .hero-copy h1 br:nth-of-type(3) { display: none; }
  .hero-copy > p { margin-top: 20px; }
  .hero-bottom { margin-top: 12px; }
  .membership { margin-top: 24px; max-width: none; min-height: 0; background: none; overflow: visible; }
  .member-top { padding: 12px 20px 0; background: var(--orange); border-radius: 16px 16px 0 0; }
  .member-copy { padding: 4px 20px 20px; background: var(--orange); border-radius: 0 0 16px 16px; }
  .member-copy h2, .member-copy > p { display: none; }
  .member-copy .subscribe-hero { margin-top: 10px; }
  .member-price { margin-top: 10px; }
  .examples-dismissed .show-examples { display: flex; width: 100%; gap: 10px; align-items: center; justify-content: center; background: none; font-size: .875rem; font-weight: 600; min-height: 44px; margin-top: 8px; }
  /* The mini-player sits at the lower left of the hero; details expand on request. */
  .examples-mobile .widget-placeholder { display: block; order: 2; flex: 0 0 auto; }
  .examples-mobile .tiktok-showcase {
    position: relative; width: 100%; display: grid; grid-template-columns: 136px minmax(0, 1fr);
    margin: 24px 0 0; padding: 0; gap: 18px; align-items: center;
    color: var(--ink); text-align: left;
  }
  .examples-mobile .tiktok-player { flex: 0 0 auto; width: 136px; height: 242px; border-radius: 12px; position: relative; }
  .examples-mobile .tiktok-player video { object-fit: contain; }
  .examples-mobile .widget-controls { display: flex; position: absolute; z-index: 2; top: 2px; left: 2px; right: 2px; }
  .widget-controls button { min-width: 44px; height: 44px; padding: 0; display: grid; place-items: center; color: white; background: #191a17e8; }
  .widget-controls button:first-child { border-radius: 10px 0 0 10px; }
  .widget-controls button:last-child { border-radius: 0 10px 10px 0; }
  .widget-controls svg { width: 18px; height: 18px; }
  .examples-mobile .widget-time { display: block; position: absolute; bottom: 8px; right: 8px; padding: 2px 6px; border-radius: 5px; background: #191a17e8; color: white; font-size: .75rem; font-variant-numeric: tabular-nums; }
  .examples-mobile .widget-proof { display: block; width: 100%; padding: 12px 0; background: none; text-align: left; }
  .widget-proof span { display: block; font-size: .75rem; line-height: 1.4; }
  .widget-proof strong { display: block; margin: 8px 0 12px; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.025em; }
  .widget-proof svg { width: 12px; height: 12px; vertical-align: middle; }
  .examples-mobile .example-tabs, .examples-mobile .example-caption { display: none; }
  .examples-mobile .tiktok-showcase.is-expanded { position: fixed; z-index: 12; bottom: var(--video-bottom, 92px); left: max(12px, env(safe-area-inset-left)); width: min(380px, calc(100% - 24px)); max-height: calc(100dvh - var(--video-bottom, 92px) - 12px); overflow: auto; margin: 0; padding: 12px; background: var(--paper); border-radius: 16px; box-shadow: 0 12px 36px -12px #191a1750; display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 12px; align-items: start; }
  .examples-mobile .is-expanded .example-tabs { display: flex; grid-column: 1 / -1; padding-right: 44px; margin: 0; justify-content: flex-start; }
  .examples-mobile .is-expanded .example-tabs button { padding: 8px 10px; }
  .examples-mobile .is-expanded .example-caption { display: block; }
  .examples-mobile .is-expanded .widget-proof { display: none; }
  .examples-mobile .is-expanded .example-proof { font-size: 1.125rem; }
  .examples-mobile .is-expanded .example-context { font-size: .75rem; line-height: 1.45; }
  .examples-mobile .is-expanded .example-source { font-size: .75rem; }
  .examples-mobile .is-expanded .example-source a { display: inline-block; padding: 6px 0; }
  .examples-mobile .is-expanded .example-scope { font-size: .625rem; }
  .examples-mobile .is-expanded .publishing-tag { display: none; }
  .examples-mobile .is-expanded .widget-collapse { display: grid; place-items: center; position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 10px; background: #e6e2dc; }
  .examples-mobile.examples-dismissed .tiktok-showcase { display: none; }
  .examples-mobile.examples-dismissed .widget-reopen { display: flex; align-items: center; gap: 6px; position: fixed; left: max(12px, env(safe-area-inset-left)); bottom: var(--video-bottom, 92px); z-index: 11; min-height: 44px; padding: 10px 12px; border-radius: 12px; background: var(--ink); color: white; font-size: .75rem; }
  .widget-reopen svg { width: 16px; }
  .examples-mobile .player-fallback { padding: 48px 8px 12px; font-size: .75rem; }
  .examples-mobile .player-fallback > span { display: none; }
}
