@import url("/static/landing_e8_mobile_benefits.css");

@media (max-width: 900px) {
  .e8Landing #cta {
    display: none;
  }

  .e8Landing .e8HeroStage {
    margin-bottom: 0;
    background: #fff;
  }

  .e8Landing .e8Top {
    height: auto;
    background: #fff;
  }

  .e8Landing .e8Top__inner {
    padding: 14px 18px 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .e8Landing .e8Brand {
    width: 100%;
    justify-content: center;
  }

  .e8Landing .e8Brand .mktBrand__wordmark {
    width: min(232px, 74vw);
    max-width: 74vw;
  }

  .e8Landing .e8Nav {
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
  }

  .e8Landing .e8Nav__a {
    min-height: 34px;
    padding: 7px 9px;
    border-color: transparent;
    background: #f6f7f9;
    color: #172033;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    white-space: nowrap;
  }

  .e8Landing .e8Nav__a[href*="/privacy"],
  .e8Landing .e8Nav__a[href*="/terms"] {
    display: none;
  }

  .e8Landing .e8Nav__a--loginSignup {
    gap: 3px;
  }

  .e8Landing .langSelect {
    min-height: 34px;
    border-color: rgba(17, 24, 39, 0.08);
    background: #f6f7f9;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  }

  .e8Landing .langSelect__control {
    min-width: 58px;
    min-height: 32px;
    padding: 7px 8px 7px 10px;
    font-size: 12px;
  }

  .e8Landing .e8Hero {
    min-height: max(690px, calc(100svh - 120px));
    padding: 28px 24px 22px;
    overflow: hidden;
    background-image: url("/static/landing/e8-mobile-hero-bg.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center bottom;
  }

  .e8Landing .e8Hero__visual,
  .e8Landing .e8HeroFeatures,
  .e8Landing .e8Hero__note {
    display: none;
  }

  .e8Landing .e8Hero::after {
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.98) 45%,
      rgba(255, 255, 255, 0.12) 67%,
      rgba(255, 255, 255, 0) 100%
    );
  }

  .e8Landing .e8Hero__copy {
    width: 100%;
    margin: 0;
  }

  .e8Landing .e8Hero__title {
    margin-top: 0;
    max-width: 340px;
    font-size: 48px;
    line-height: 1.08;
  }

  .e8Landing .e8Hero__subtitle {
    margin-top: 18px;
    max-width: 330px;
    font-size: 25px;
    line-height: 1.15;
  }

  .e8Landing .e8Hero__lead {
    margin-top: 14px;
    max-width: 345px;
    font-size: 16px;
    line-height: 1.4;
  }

  .e8Landing .e8Hero__actions {
    margin-top: 195px;
    display: grid;
    gap: 10px;
  }

  .e8Landing .e8HeroBtn {
    width: 100%;
    min-height: 60px;
    border-radius: 16px;
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 18px;
  }

  .e8Landing .e8HeroBtn strong {
    font-size: 19px;
  }

  .e8Landing .e8HeroBtn small {
    margin-top: 3px;
    font-size: 14px;
    font-weight: 600;
  }

  .e8Landing .e8HeroBtn__icon {
    width: 32px;
    height: 32px;
  }

  .e8Landing .e8HeroBtn--primary {
    min-width: 0;
    box-shadow: 0 22px 48px rgba(223, 13, 114, 0.22);
  }

  .e8Landing .e8HeroBtn--secondary {
    min-width: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.11);
  }

  .e8Landing .e8HeroBtn--secondary .e8HeroBtn__icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #111827;
  }

  .e8Landing .e8HeroBtn--secondary .e8HeroBtn__icon--play::before {
    left: 15px;
    top: 12px;
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 13px;
    border-left-color: #fff;
  }

  .e8Landing .e8Setup {
    padding-top: 34px;
    padding-bottom: 18px;
  }

  .e8Landing .e8Setup .e8FlowPill {
    display: none;
  }

  .e8Landing .e8Experience {
    padding-top: 18px;
    padding-bottom: 20px;
  }

  .e8Landing .e8Experience__steps {
    margin-top: 20px;
    gap: 16px;
  }

  .e8Landing .e8ExpStep__num {
    margin-bottom: 10px;
  }

  .e8Landing .e8ExpStep > p {
    margin: 7px 0 12px;
  }

  .e8Landing .e8ExpStep h4 {
    margin-top: 9px;
  }

  .e8Landing .e8Experience .e8ExpStep:first-child h4 {
    margin-top: -76px;
  }

  html[lang="es"] .e8Landing .e8Experience .e8ExpStep:first-child h4,
  html[lang="ru"] .e8Landing .e8Experience .e8ExpStep:first-child h4 {
    margin-top: 9px;
  }

  .e8Landing .e8ExpStep__bottom {
    margin-top: 4px;
  }

  .e8Landing .e8ExpBenefits {
    display: none;
  }

  .e8Landing .e8Examples {
    padding: 18px 0 20px;
  }

  .e8Landing .e8ExamplesPill {
    display: none;
  }

  .e8Landing .e8ExamplesHead h2 {
    margin-top: 0;
  }

  .e8Landing .e8Compare {
    padding-top: 20px;
  }

  .e8Landing .e8ComparePill {
    display: none;
  }

  .e8Landing .e8CompareHead h2 {
    margin-top: 0;
  }

  .e8Landing .mktFoot {
    padding: 18px 20px 12px;
  }

  .e8Landing .mktFoot__grid {
    display: block;
    margin-bottom: 10px;
  }

  .e8Landing .mktFoot__grid > :not(.mktFoot__brand),
  .e8Landing .mktFoot__tag,
  .e8Landing .mktFoot__rate,
  .e8Landing .mktFoot__host {
    display: none;
  }

  .e8Landing .mktFoot__name {
    margin: 0;
    font-size: 18px;
    line-height: 1.15;
    text-align: center;
  }

  .e8Landing .mktFoot__bottom {
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding-top: 0;
    border-top: 0;
  }

  .e8Landing .mktFoot__copy {
    font-size: 12px;
    line-height: 1.35;
    text-align: center;
  }

  .e8Landing .mktFoot__legal {
    justify-content: center;
    gap: 12px;
  }

  .e8Landing .mktFoot__legal .mktFoot__a {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .e8Landing .e8Top__inner {
    padding: 12px 14px 10px;
  }

  .e8Landing .e8Nav {
    gap: 5px;
  }

  .e8Landing .e8Nav__a {
    min-height: 32px;
    padding: 6px 7px;
    font-size: 11px;
  }

  .e8Landing .e8Nav__a[href^="/owner/login"]::after {
    font-size: 11px;
  }

  .e8Landing .langSelect__control {
    min-width: 54px;
    min-height: 30px;
    padding: 6px 7px 6px 9px;
    font-size: 11px;
  }

  .e8Landing .e8Hero {
    min-height: max(660px, calc(100svh - 116px));
    padding-inline: 20px;
  }

  .e8Landing .e8Hero__title {
    font-size: 44px;
  }

  .e8Landing .e8Hero__subtitle {
    font-size: 23px;
  }

  .e8Landing .e8Hero__actions {
    margin-top: 172px;
  }
}
