@media (max-width: 980px) {
  .page-shell {
    width: min(var(--page-max), calc(100% - 28px));
    padding-top: 8px;
    padding-bottom: 26px;
  }

  .site-header {
    top: 6px;
  }

  .site-header__inner {
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .main-nav {
    display: none;
    width: 100%;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: none;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a,
  .theme-toggle {
    width: auto;
    min-width: 0;
    justify-content: center;
  }

  #fullscreenToggle {
    display: none;
  }

  .hero,
  .content-section,
  .content-section--boxed {
    padding: 14px;
  }

  .hero {
    gap: 14px;
  }

  .hero-media {
    aspect-ratio: 4 / 1;
  }

  .hero-copy {
    max-width: none;
    min-height: 0;
  }

  .hero h1 {
    font-size: clamp(1.16rem, 0.96rem + 1vw, 1.42rem);
    line-height: 1.08;
    white-space: normal;
    text-wrap: balance;
  }

  .hero #heroText {
    max-width: none;
    font-size: 0.78rem;
    line-height: 1.22;
    letter-spacing: -0.02em;
  }

  .hero-actions--overlay {
    left: 12px;
    bottom: 6px;
    right: auto;
    grid-template-columns: repeat(2, minmax(0, max-content));
    justify-items: start;
  }

  .hero-actions--overlay:has(> :only-child) {
    grid-template-columns: minmax(0, max-content);
  }

  .hero-actions--overlay .button {
    min-height: 26px;
    padding: 0 7px;
    font-size: 0.52rem;
    letter-spacing: 0.05em;
    justify-content: center;
  }

  .hero-preview-progress {
    width: 100%;
  }

  .hero-arrow {
    top: 42%;
    width: 46px;
    height: 46px;
    font-size: 1.7rem;
  }

  .hero-dots {
    display: none;
  }

  .section-heading h2 {
    font-size: clamp(1.3rem, 1.02rem + 1.2vw, 1.74rem);
    line-height: 1.06;
    max-width: 100%;
    text-wrap: pretty;
  }

  .step-grid,
  .showcase-grid,
  .benefit-row,
  .speaker-grid,
  .support-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .channel-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-card {
    min-height: 0;
    padding: 16px 14px;
    grid-template-columns: minmax(42px, 56px) 1fr;
    column-gap: 10px;
  }

  .info-card p {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .info-card__index {
    transform: translateY(-4px);
  }

  .info-card h3 {
    white-space: normal;
    text-wrap: balance;
  }

  .step-grid .info-card {
    min-height: 104px;
    padding-top: 14px;
    padding-bottom: 8px;
  }

  .step-grid .info-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: -10px;
  }

  .step-grid .info-card h3 {
    font-size: 0.9rem;
    line-height: 1.15;
  }

  .media-card--split,
  .media-card--channel-layout-side {
    grid-template-columns: 1fr;
  }

  .media-card--split > img,
  .media-card--stacked > img {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .media-card--split .media-card__body,
  .media-card--stacked .media-card__body {
    grid-template-rows: auto auto;
    gap: 4px;
  }

  .media-card--channel .media-card__body,
  .support-card {
    grid-template-rows: auto auto;
    gap: 6px;
  }

  .support-card {
    min-height: 0;
    align-content: start;
  }

  .media-card--split .media-card__body p,
  .media-card--stacked .media-card__body p,
  .media-card--channel .media-card__body p,
  .support-card p,
  .speaker-card__body p {
    min-height: 0;
  }

  .media-card--split .media-card__body p,
  .media-card--stacked .media-card__body p,
  .support-card p {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .media-card--split .media-card__body h3,
  .media-card--stacked .media-card__body h3,
  .support-card h3 {
    font-size: 0.88rem;
    line-height: 1.18;
  }

  .media-card--split .media-card__body p,
  .media-card--stacked .media-card__body p {
    margin-top: 0;
  }

  .support-card p {
    margin-top: 2px;
  }

  .media-card--channel-jolly {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .media-card--channel-jolly .media-card__preview--static:not(.media-card__preview--jolly-wide),
  .media-card--channel-jolly .media-card__body {
    display: grid;
  }

  .media-card--channel-jolly .media-card__preview--jolly-wide {
    display: none;
  }

  .benefit-feature,
  .benefit-feature--text-top,
  .benefit-feature--image-top,
  .benefit-feature--image-overlay {
    grid-template-rows: auto auto;
  }

  .benefit-feature__image {
    aspect-ratio: var(--benefit-tile-ratio);
    min-height: 0;
  }

  .benefit-feature--image-overlay .benefit-feature__image {
    aspect-ratio: var(--benefit-card-ratio, 16 / 9);
  }

  .benefit-feature--text-top .benefit-feature__body {
    order: 2;
  }

  .benefit-feature--text-top .benefit-feature__image {
    order: 1;
  }

  .benefit-feature__body,
  .benefit-feature__overlay {
    min-height: 0;
    padding: 16px 16px 18px;
    text-align: left;
    grid-template-rows: auto auto;
    gap: 6px;
  }

  .benefit-feature__body {
    aspect-ratio: auto;
  }

  .benefit-feature__overlay {
    position: static;
    transform: none;
    border: 0;
    background: transparent;
    color: var(--text);
    backdrop-filter: none;
    grid-template-rows: auto auto;
  }

  .benefit-feature__overlay h3,
  .benefit-feature__overlay p {
    color: inherit;
  }

  .benefit-feature__kicker {
    display: none;
  }

  .benefit-feature__overlay p {
    min-height: 0;
  }

  .benefit-feature__body p {
    min-height: 0;
  }

  .speaker-card {
    grid-template-columns: 100px 1fr;
    gap: 12px;
    align-items: start;
  }

  .speaker-card__media {
    width: 100px;
  }

  .speaker-card__body {
    grid-template-rows: auto auto auto;
    min-height: 0;
    padding: 8px 10px 8px 0;
  }

  .speaker-card__body h3 {
    font-size: 0.82rem;
    line-height: 1.15;
  }

  .speaker-card__body .card-kicker {
    font-size: 0.76rem;
    line-height: 1.12;
  }

  .contact-panel {
    gap: 18px;
    align-items: start;
  }

  .contact-panel__contact-line {
    white-space: nowrap;
  }

  .site-footer__meta-break {
    display: inline;
  }

  .contact-form {
    width: min(100%, 440px);
    justify-self: stretch;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 10px;
  }

  .site-footer__version,
  .site-footer__meta,
  .site-footer__actions {
    justify-self: center;
    margin-left: 0;
  }

  .site-footer__meta {
    white-space: normal;
  }

  .media-overlay__panel {
    width: min(900px, calc(100% - 24px));
    margin-top: 4vh;
    padding: 16px;
  }

  .media-overlay__panel--text {
    width: min(760px, calc(100% - 24px));
  }

  #overlayVideo {
    max-height: 70vh;
  }

  .legal-copy {
    gap: 12px;
    padding-right: 0;
  }

  .legal-copy h2 {
    font-size: 0.94rem;
  }

  .legal-copy p {
    font-size: 0.86rem;
    line-height: 1.65;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(var(--page-max), calc(100% - 18px));
    padding-top: 6px;
    padding-bottom: 18px;
  }

  .site-header__inner {
    padding: 9px 10px;
  }

  .brand img {
    height: 30px;
  }

  .main-nav {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: none;
  }

  .main-nav a,
  .theme-toggle,
  .menu-toggle {
    min-height: 40px;
  }

  .hero,
  .content-section,
  .content-section--boxed {
    padding: 12px;
  }

  .hero-media {
    aspect-ratio: 4 / 1;
  }

  .hero h1 {
    font-size: clamp(1.04rem, 0.94rem + 1vw, 1.26rem);
  }

  .hero #heroText {
    font-size: 0.74rem;
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  .hero-actions--overlay {
    left: 10px;
    bottom: 5px;
    right: auto;
  }

  .hero-actions--overlay .button {
    min-height: 24px;
    padding: 0 6px;
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }

  .hero-arrow {
    top: 40%;
    width: 42px;
    height: 42px;
    font-size: 1.55rem;
  }

  .hero-dots {
    display: none;
  }

  .section-heading h2 {
    font-size: clamp(1.14rem, 1rem + 0.8vw, 1.34rem);
    max-width: 100%;
  }

  .channel-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 14px 12px;
    column-gap: 8px;
  }

  .info-card p {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .step-grid .info-card {
    min-height: 96px;
    padding-top: 12px;
    padding-bottom: 6px;
  }

  .step-grid .info-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-top: -10px;
  }

  .step-grid .info-card h3 {
    font-size: 0.9rem;
    line-height: 1.15;
  }

  .media-card--split .media-card__body p,
  .media-card--stacked .media-card__body p,
  .support-card p {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .media-card--split .media-card__body h3,
  .media-card--stacked .media-card__body h3,
  .support-card h3 {
    font-size: 0.88rem;
    line-height: 1.18;
  }

  .media-card--split .media-card__body p,
  .media-card--stacked .media-card__body p {
    margin-top: 0;
  }

  .support-card {
    gap: 6px;
    min-height: 0;
    align-content: start;
  }

  .support-card p {
    margin-top: 2px;
  }

  .info-card__index {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .benefit-feature__body,
  .benefit-feature__overlay {
    padding: 14px 14px 16px;
  }

  .speaker-card {
    grid-template-columns: 88px 1fr;
    gap: 10px;
  }

  .speaker-card__media {
    width: 88px;
  }

  .contact-form {
    width: 100%;
  }

  .contact-form__submit {
    width: 100%;
    justify-self: stretch;
  }

  .media-overlay__panel,
  .media-overlay__panel--text {
    width: calc(100% - 16px);
    margin-top: 3vh;
    padding: 14px;
  }

  .legal-copy h2 {
    font-size: 0.9rem;
  }

  .legal-copy p {
    font-size: 0.82rem;
  }
}
