/* Lanhorz mobile polish fixes */
html, body { max-width: 100%; overflow-x: hidden; }
.site-app { overflow-x: hidden; }

@media (max-width: 760px) {
  .lux-header {
    grid-template-columns: 1fr auto;
    width: 100%;
    max-width: 100vw;
    padding: 14px 14px 10px;
    overflow: hidden;
  }

  .brand-lockup {
    min-width: 0;
    gap: 10px;
    letter-spacing: .24em;
  }

  .brand-lockup span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
  }

  .header-cta {
    min-width: 0;
    white-space: nowrap;
    padding: 11px 12px;
    font-size: 12px;
  }

  .desktop-nav {
    grid-column: 1 / -1;
    width: 100%;
    max-width: calc(100vw - 28px);
    display: flex;
    gap: 22px;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    padding: 8px 0 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .desktop-nav::-webkit-scrollbar { display: none; }

  .desktop-nav button {
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 12px;
    padding: 10px 0;
  }

  .desktop-nav button.active::after { width: 58px; }

  .page-shell {
    width: 100%;
    max-width: 100vw;
    padding: 28px 14px 90px;
    overflow: hidden;
  }

  .section-title h1,
  .about-hero .section-title h1,
  .security-hero .section-title h1 {
    font-size: clamp(40px, 14vw, 58px);
    letter-spacing: .08em;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .about-hero,
  .contact-hero,
  .login-layout {
    min-height: auto;
    gap: 24px;
  }

  .about-hero .logo-stage.large {
    margin-top: 10px;
  }

  .mission-orbit {
    min-height: 270px;
  }

  .brain-banner {
    margin-bottom: 88px;
  }

  .contact-form {
    padding: 22px 18px;
    width: 100%;
  }

  .contact-form input,
  .contact-form textarea,
  .login-card input {
    font-size: 16px;
    padding: 16px;
  }

  .check-row {
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 12px;
    align-items: start;
    line-height: 1.35;
  }

  .check-row input {
    width: 28px;
    height: 28px;
    margin-top: 3px;
  }

  .send-button {
    width: 100%;
    font-size: 17px;
  }

  .login-card {
    padding: 24px 18px 34px;
    width: 100%;
  }

  .login-card h2 {
    font-size: 34px;
  }

  .login-card p,
  .form-status {
    font-size: 16px !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
  }

  .login-card .send-button {
    font-size: 16px;
    min-height: 58px;
  }

  .footer {
    padding-bottom: 90px;
  }
}

@media (max-width: 430px) {
  .brand-lockup span { font-size: 16px; letter-spacing: .20em; }
  .brand-lockup img { width: 36px; height: 36px; }
  .header-cta { font-size: 11px; padding: 10px; }
  .desktop-nav { gap: 18px; }
  .desktop-nav button { font-size: 11px; }
  .section-title span { font-size: 20px; }
  .logo-stage.large { width: 190px; height: 170px; }
  .logo-stage.large img { width: 150px; height: 150px; }
}
