/* Mobile composition only. The existing layout from 768px stays untouched. */
@media (max-width: 767px) {
  .hero { padding-top: 24px; background: var(--bg); }
  .hero-grid {
    --hero-side-pad: 21px;
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0;
    align-items: start;
    width: 100%;
    margin-inline: 0;
  }
  .hero-grid::before {
    position: absolute;
    z-index: -1;
    inset: -24px calc(-1 * var(--hero-side-pad)) 0;
    background-image: linear-gradient(180deg, rgba(2,15,22,.65), rgba(2,15,22,.2) 42%, rgba(2,15,22,.7) 76%, #020f16), url('../assets/images/hero-background-mobile.49cc62996362.webp');
    background-position: center top;
    background-size: 100% auto;
    background-repeat: no-repeat;
    pointer-events: none;
    content: "";
  }
  .hero-content { display: contents; }
  .hero .eyebrow {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    max-width: 100%;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: 1.4px;
    text-align: center;
  }
  .hero h1 {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    margin: 10px 0 0;
    font-size: clamp(30px, 9.5vw, 42px);
    line-height: 1.1;
    letter-spacing: normal;
    text-align: center;
  }
  .hero-illustration {
    position: relative;
    isolation: isolate;
    display: block;
    grid-column: 1;
    grid-row: 3;
    width: calc(100% + 2 * var(--hero-side-pad));
    aspect-ratio: 390 / 344;
    margin: 4px calc(-1 * var(--hero-side-pad)) 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
  }
  .hero .hero-subject {
    position: absolute;
    height: auto;
    margin: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero .hero-subject--ai {
    z-index: 1;
    left: -1%;
    top: 0;
    width: 66%;
    aspect-ratio: 1122 / 1402;
    -webkit-mask-image: linear-gradient(#000 84%, transparent);
    mask-image: linear-gradient(#000 84%, transparent);
  }
  .hero .hero-subject--owner {
    z-index: 2;
    left: 39%;
    bottom: 0;
    width: 70%;
    aspect-ratio: 1;
  }
  .hero .hero-subject img { object-position: center bottom; }
  .hero .lead {
    grid-column: 1;
    grid-row: 4;
    max-width: 36rem;
    margin: 12px auto 0;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    text-wrap: pretty;
  }
  .hero .lead br { display: none; }
  .hero .actions {
    grid-column: 1;
    grid-row: 5;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin-top: 16px;
    gap: 0;
  }
  .hero .actions .button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 54px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.45;
  }
  .hero .actions .soft-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 13px;
    line-height: 1.5;
  }
  .hero .benefits {
    grid-column: 1;
    grid-row: 6;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    margin-top: 32px;
  }
}
@media (max-width: 575px) {
  .hero-grid { --hero-side-pad: 17px; }
}
