@media (max-width: 760px) {
  body:has(> main > .first-step) > header { mix-blend-mode: multiply; }

  body:has(> main.teacher-page) > header,
  body:has(> main > .first-step) > header {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
  }

  body:has(> main.teacher-page) > header .nav,
  body:has(> main > .first-step) > header .nav {
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .teacher-page .teacher-hero {
    min-height: 0;
    padding: 80px 0 22px;
  }
  .teacher-page .teacher-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .teacher-page .teacher-hero__social,
  .teacher-page .teacher-hero__visual { display: none; }
  .teacher-page .teacher-hero h1 {
    margin-bottom: 12px;
    font-size: clamp(32px, 8.8vw, 44px);
    line-height: 1.08;
  }
  .teacher-page .teacher-hero__copy > p {
    margin-bottom: 18px;
    font-size: 16px;
    line-height: 1.4;
  }
  .teacher-page .teacher-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 0;
  }
  .teacher-page .teacher-hero__actions > .btn {
    min-width: 0;
    min-height: 48px;
    padding: 10px 8px;
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }
  .teacher-page .teacher-search-shell { margin-top: 0; padding-top: 12px; }

  .first-step .first-step__layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "intro" "art";
    padding-top: 80px;
  }
  .first-step .first-step__path { display: none; }
  .first-step .first-step__intro::before { display: none; }
  .first-step__form label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
