@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }
  .site-header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }
  .site-header nav::-webkit-scrollbar { display: none; }
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding-top: 4rem;
  }
  .hero-visual {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-visual span {
    justify-content: center;
  }
  .hero-stage {
    width: min(760px, 100%);
    margin-inline: auto;
  }
  .app-showcase {
    grid-template-columns: 1fr;
    gap: 1.7rem;
  }
  .app-showcase:nth-child(even) .app-copy,
  .app-showcase:nth-child(even) .app-frame {
    order: initial;
  }
  .showcase-list {
    gap: 5rem;
  }
  .training-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .training-benefits {
    grid-column: 1 / -1;
  }
  .formation-teaser {
    grid-template-columns: 1fr;
  }
  .placeholder-steps {
    grid-template-columns: 1fr;
  }
  .pricing-layout {
    grid-template-columns: 1fr;
  }
  .summary-panel {
    position: static;
  }
}

@media (max-width: 700px) {
  .section-shell {
    width: min(100% - 2.5rem, 1180px);
    padding: 3.7rem 0;
  }
  .site-header {
    padding-inline: 0.8rem;
  }
  .site-header nav {
    gap: 1rem;
  }
  .hero h1 {
    font-size: clamp(2.3rem, 13vw, 4rem);
  }
  .hero-visual {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .hero-stage { overflow: clip; }
  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
  }
  .hero-facts span {
    display: grid;
    gap: 0;
  }
  .floating-app-send { right: 0; }
  .floating-app-screen { left: 0; }
  .formation-teaser {
    margin-bottom: 3rem;
    border-radius: 1.4rem;
  }
  .training-layout {
    grid-template-columns: 1fr;
  }
  .training-benefits {
    grid-column: auto;
  }
  .family-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .variant-grid {
    grid-template-columns: 1fr;
  }
  .resource-config-grid { grid-template-columns: 1fr; }
  .breakdown-panel, .summary-panel {
    padding: 1rem;
    border-radius: 1rem;
  }
  .panel-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .table-wrap table,
  .table-wrap tbody,
  .table-wrap tfoot,
  .table-wrap tr,
  .table-wrap td {
    display: block;
    width: 100%;
  }
  .table-wrap thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .table-wrap tbody tr,
  .table-wrap tfoot tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem 0.75rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
  }
  .table-wrap tbody td,
  .table-wrap tfoot td {
    padding: 0;
    border: 0;
    text-align: left;
  }
  .table-wrap tbody td::before,
  .table-wrap tfoot td::before {
    content: attr(data-label);
    display: block;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
  }
  .table-wrap tbody td:first-child,
  .table-wrap tfoot td:first-child {
    grid-column: 1 / -1;
  }
  .table-wrap tfoot tr:last-child {
    border-bottom: 0;
  }
  .product-grid {
    grid-template-columns: 1fr;
  }
  footer {
    flex-direction: column;
    padding-inline: 1rem;
  }
}

@media (max-width: 420px) {
  .theme-switcher {
    gap: 0.2rem;
  }
  .icon-button {
    width: 2.35rem;
    height: 2.35rem;
  }
  .site-header nav a {
    white-space: nowrap;
    font-size: 0.8rem;
  }
  .family-tabs {
    grid-template-columns: 1fr;
  }
  .resource-config { align-items: flex-start; flex-direction: column; }
  .hero-actions .button {
    width: 100%;
  }
  .hero-facts {
    grid-template-columns: 1fr;
  }
  .floating-app {
    position: relative;
    inset: auto;
    display: inline-flex;
    margin: 0.6rem 0.3rem 0 0;
  }
  .stage-window-main {
    margin-bottom: 0.5rem;
  }
  .table-wrap tbody tr,
  .table-wrap tfoot tr {
    grid-template-columns: 1fr;
  }
  .table-wrap tbody td:first-child,
  .table-wrap tfoot td:first-child {
    grid-column: auto;
  }
}
