/* â”€â”€ Responsive â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 860px) {
  .hero {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 0;
    height: auto;
    padding: calc(var(--navbar-height) + 10px) 16px 20px;
  }

  @supports (min-height: 100svh) {
    .hero {
      min-height: 0;
    }
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
    align-items: center;
  }

  .hero__eyebrow {
    order: 0;
    margin-bottom: 0;
    margin-top: 0;
    justify-self: center;
  }

  .hero__visual {
    order: 1;
  }

  .hero__logo-img {
    max-width: min(168px, 44vw);
  }

  .hero__content {
    text-align: center;
    order: 2;
    padding-bottom: 4px;
  }

  .hero__scroll-hint {
    display: none;
  }

  .hero__title {
    font-size: clamp(1.65rem, 7.5vw, 2.15rem);
    margin-bottom: 0.5rem;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 34ch;
  }

  .navbar__inner,
  .app-topbar__inner,
  .hero__inner {
    padding: 0 16px;
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__nav {
    display: none;
    position: absolute;
    top: var(--navbar-height);
    left: 0;
    right: 0;
    background: var(--background);
    border-bottom: 1px solid var(--clr-border);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    gap: 2px;
    z-index: 99;
  }

  .navbar__nav.open {
    display: flex;
  }

  .navbar__nav-btn {
    text-align: left;
    padding: 0.65rem 16px;
    border-radius: var(--radius-sm);
  }

  .navbar__nav-launch {
    margin-left: 0;
    margin-top: 6px;
    width: 100%;
    justify-content: center;
  }

  .navbar__status {
    padding-left: 0;
    border-left: none;
  }

  .tools-list {
    padding: 0 24px 80px;
  }

  .tool-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 44px 0;
  }

  .section-header {
    padding: 60px 24px 32px;
  }

  .footer {
    padding: 24px;
  }

  /* Collapsed icon-only sidebar */
  .sidebar {
    width: 56px;
  }

  .sidebar__section-label,
  .nav-label,
  .nav-badge,
  .sidebar__footer,
  .sidebar__controls {
    display: none;
  }

  .sidebar__nav-btn {
    justify-content: center;
    padding: 12px 0;
  }

  .nav-icon {
    width: auto;
  }
}

@media (max-width: 480px) {
  .btn {
    justify-content: center;
  }
}

/* -- App dual-panel: collapse right panel on narrow screens --------------- */
@media (max-width: 800px) {
  .app-shell {
    grid-template-columns: var(--sidebar-width) 1fr;
  }

  .right-panel {
    display: none;
  }
}

/* -- App dual-panel: collapse left sidebar on very small screens ----------- */
@media (max-width: 560px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }
}
