/* Phone composition uses content flow, rather than desktop absolute offsets. */
@media (max-width: 760px) {
  .header { height: 64px; }
  .header .nav-inner { gap: 14px; }
  .header .brand strong { font-size: 23px; }
  .header .brand img { width: 28px; height: 32px; }
  .header .language, .header .menu-toggle { min-width: 44px; min-height: 44px; }
  .header .language { font-size: 13px; }
  .header .menu-toggle .icon { width: 21px; height: 21px; }

  .neo-hero .hero-shell {
    display: grid;
    grid-template-areas: 'copy' 'description' 'actions' 'globe' 'caption';
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    min-height: 0;
    padding-block: 28px 15px;
  }
  .neo-hero .hero-copy,
  [dir=rtl] .neo-hero .hero-copy {
    grid-area: copy;
    position: static;
    width: 100%;
    max-width: none;
    text-align: center;
  }
  .neo-hero .hero-copy > .eyebrow {
    justify-content: center;
    margin: 0 0 13px;
    font-size: 12px;
    line-height: 1.6;
  }
  .neo-hero h1,
  html[lang=he] .neo-hero h1 {
    font-size: clamp(36px, 11.25vw, 48px);
    line-height: 1.12;
    letter-spacing: -.035em;
    text-wrap: balance;
  }
  html[lang=en] .neo-hero h1 {
    font-size: clamp(32px, 10.2vw, 44px);
    line-height: 1.14;
  }
  .neo-hero h1 span { display: inline; }
  .neo-hero .hero-side,
  [dir=rtl] .neo-hero .hero-side {
    grid-area: description;
    position: static;
    width: 100%;
    max-width: 34ch;
    margin: 15px auto 0;
    text-align: center;
  }
  .neo-hero .hero-side p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
    text-wrap: pretty;
  }
  .neo-hero .hero-actions,
  [dir=rtl] .neo-hero .hero-actions {
    grid-area: actions;
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    max-width: 370px;
    margin: 20px auto 0;
    gap: 13px;
  }
  .neo-hero .hero-actions .button {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    padding: 11px 12px;
    font-size: 14px;
    gap: 13px;
    white-space: nowrap;
  }
  .neo-hero .hero-demo-link {
    flex: none;
    min-height: 48px;
    margin: 0;
    padding: 10px 16px;
    font-size: 13px;
    gap: 7px;
    white-space: nowrap;
  }
  .neo-hero .hero-demo-link .icon { width: 14px; height: 14px; }
  .neo-hero .hero-field {
    grid-area: globe;
    position: relative;
    z-index: 0;
    top: auto;
    left: auto;
    width: 100%;
    height: clamp(210px, 66vw, 280px);
    margin: 13px auto 0;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .neo-hero .hero-field .field-tag { font-size: 10px; }
  .neo-hero .tag-message { top: 31%; left: 15%; }
  .neo-hero .tag-link { top: 71%; left: 68%; }
  .neo-hero .tag-file { display: flex; top: 81%; left: 28%; }
  .neo-hero .hero-field-caption {
    grid-area: caption;
    position: static;
    transform: none;
    margin: 0;
    text-align: center;
    font-size: 9px;
    line-height: 1.5;
  }
  .neo-hero .hero-base {
    min-height: 0;
    padding-block: 13px 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 6px 10px;
    align-items: center;
    font-size: 12px;
    line-height: 1.6;
  }
  .neo-hero .hero-base > span:first-child { grid-column: 1; }
  .neo-hero .hero-base > span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 10px;
    letter-spacing: 0;
    text-align: start;
  }
  .neo-hero .hero-base a {
    grid-column: 2;
    grid-row: 1;
    width: 44px;
    height: 44px;
    min-height: 0;
    margin: 0;
  }
}

@media (max-width: 350px) {
  .neo-hero .hero-shell { padding-block-start: 24px; }
  .neo-hero .hero-copy > .eyebrow { margin-bottom: 11px; }
  .neo-hero .hero-side { margin-top: 13px; }
  .neo-hero .hero-actions { margin-top: 17px; gap: 10px; }
  .neo-hero .hero-actions .button { font-size: 13px; gap: 9px; }
  .neo-hero .hero-demo-link { font-size: 12px; }
  .neo-hero .hero-field { margin-top: 10px; }
}
