/* Phone-specific presentation. Desktop styles remain in site.css. */
@media (max-width: 620px) {
  .topbar {
    min-height: 64px;
    padding: 8px 0;
    align-items: center;
    gap: 12px;
  }

  .brand {
    min-width: 0;
    align-items: center;
    gap: 7px;
    font-size: 1.06rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .brand-mark {
    line-height: 1;
  }

  .top-actions {
    flex: 0 0 auto;
    gap: 0;
    flex-wrap: nowrap;
  }

  /* Release details remain available through the Changelog footer link. */
  .version-badge {
    display: none !important;
  }

  .lang-switch {
    gap: 2px;
  }

  .lang-btn {
    display: inline-flex;
    width: 44px;
    height: 44px;
    padding: 7px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
  }

  .lang-btn img {
    width: 28px;
    height: 28px;
  }

  .page-main {
    padding-top: 8px;
    padding-bottom: 48px;
  }

  .page-hero {
    padding-top: 14px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }

  .page-hero h1 {
    margin-top: 4px;
    font-size: clamp(2rem, 8.8vw, 2.25rem);
    line-height: 1.07;
  }

  .page-hero .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .page-hero .actions {
    gap: 10px;
    margin-top: 16px;
  }

  .page-hero .btn.small {
    min-height: 44px;
  }

  .hero {
    padding-top: 16px;
    padding-bottom: 30px;
    gap: 0;
  }

  .hero > div:first-child {
    display: contents;
  }

  .hero .eyebrow {
    order: 1;
    margin-bottom: 10px;
    font-size: .76rem;
    line-height: 1.4;
  }

  .hero h1 {
    order: 2;
    margin-bottom: 16px;
    font-size: clamp(2rem, 8.8vw, 2.35rem);
    line-height: 1.04;
    letter-spacing: -.04em;
  }

  .hero-line {
    white-space: normal;
  }

  .hero-copy {
    order: 3;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero .actions {
    order: 4;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .hero .actions .cta {
    width: 100%;
    min-height: 52px;
    padding: 11px 16px;
    line-height: 1.3;
    text-align: center;
  }

  .hero .actions .cta.secondary {
    justify-self: center;
    width: auto;
    min-height: 44px;
    padding: 6px 12px;
    border-color: transparent;
    background: transparent;
    box-shadow: none;
  }

  .hero .actions .cta.secondary:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .hero .hero-visual {
    order: 5;
    margin-top: 18px;
    padding: 7px;
    border-radius: 20px;
  }

  .hero-visual img {
    aspect-ratio: 3 / 2;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
  }

  .hero-tag {
    margin-top: 7px;
    padding: 9px 10px;
    border-radius: 10px;
    font-size: .8rem;
    line-height: 1.45;
  }

  .hero .trust-row {
    order: 6;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
    font-size: .78rem;
  }

  .hero .trust-pill {
    display: flex;
    min-height: 42px;
    padding: 7px 8px;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.3;
  }
}

@media (max-width: 360px) {
  .brand .brand-mark:last-child {
    display: none;
  }
}
