@media (max-width: 760px) {
  body {
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .ambient { filter: blur(42px); }
  .ambient-one { width: 360px; height: 360px; left: -210px; top: -120px; }
  .ambient-two { width: 360px; height: 360px; right: -210px; top: 35%; }
  .ambient-three { width: 260px; height: 260px; bottom: -120px; left: 18%; }

  .site-header { padding: max(12px, env(safe-area-inset-top)) 16px 10px; }
  .nav-shell {
    width: 100%;
    min-height: 54px;
    grid-template-columns: 1fr auto auto;
    gap: 4px;
    padding: 7px 8px 7px 12px;
    border-radius: 18px;
    backdrop-filter: blur(18px);
  }
  .brand { gap: 8px; font-size: 14px; }
  .brand img { width: 30px; height: 30px; border-radius: 9px; }
  .nav-links { display: none; }
  .theme-toggle { padding: 7px; }
  .toggle-label { display: none; }
  .mobile-menu-toggle {
    min-height: 36px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);
    color: var(--ink);
    padding: 0 10px;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
  }
  .mobile-menu-toggle[aria-expanded="true"] { background: var(--folder-pale); color: var(--folder-deep); }
  .mobile-menu {
    position: fixed;
    z-index: 30;
    inset: 78px 16px auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    max-height: calc(100dvh - 166px);
    overflow-y: auto;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: color-mix(in srgb, var(--paper) 97%, transparent);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
  }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu button {
    min-height: 40px;
    border: 0;
    border-radius: 11px;
    background: transparent;
    color: var(--muted);
    text-align: left;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
  }
  .mobile-menu button:hover, .mobile-menu button[aria-current="page"] { background: var(--folder-pale); color: var(--folder-deep); }

  .experience-shell {
    width: 100%;
    height: calc(100dvh - 78px - env(safe-area-inset-top));
    min-height: 0;
    max-height: none;
    margin: 0;
  }
  .page-state {
    inset: 0;
    display: block;
    padding: 26px 20px calc(94px + env(safe-area-inset-bottom));
    transform: translateY(16px) scale(.99);
    transition-duration: .24s, .24s;
  }
  .page-state.is-active {
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .page-state.is-entering { animation-duration: .24s; }
  .page-state.is-leaving { transform: translateY(-10px) scale(1.006); }
  .page-state h1 { font-size: clamp(48px, 15vw, 66px); }
  .page-state h2 { font-size: clamp(34px, 10.5vw, 48px); line-height: 1.04; letter-spacing: -.055em; }
  .page-state p { font-size: 15px; line-height: 1.7; }
  .eyebrow { margin-bottom: 12px; font-size: 11px; }
  .state-copy { max-width: none; }
  .actions { flex-wrap: wrap; margin-top: 22px; }
  .button { min-height: 46px; padding: 11px 15px; }

  .hero, .product-state, .v04-state, .github-state, .core-state, .extensions-state, .progress-state { display: grid; grid-template-columns: 1fr; gap: 30px; }
  .hero { align-content: start; }
  .hero-statement { margin-top: 18px; font-size: 28px !important; }
  .brand-stage { height: 292px; margin-top: -4px; }
  .folder-object { top: 62px; width: 226px; height: 164px; }
  .folder-tab { left: 16px; width: 95px; height: 40px; border-radius: 20px 20px 0 0; }
  .folder-face { inset: 30px 0 0; border-radius: 20px; }
  .folder-face img { width: 116px; height: 116px; border-radius: 25px; }
  .orbital-card { width: 142px; height: 90px; padding: 12px; border-radius: 16px; }
  .card-a { left: 0; top: 70px; }
  .card-b { right: 0; top: 58px; }
  .card-c { bottom: 12px; width: 156px; }
  .stage-caption { bottom: 0; font-size: 11px; }

  .product-state, .v04-state, .github-state { gap: 28px; }
  .principle-wheel { width: min(100%, 330px); height: 330px; justify-self: center; }
  .principle-wheel::before { inset: 34px; }
  .principle-wheel::after { inset: 82px; }
  .wheel-core { inset: calc(50% - 52px); border-radius: 24px; }
  .wheel-core img { width: 64px; height: 64px; border-radius: 16px; }
  .principle { padding: 7px 9px; font-size: 11px; }
  .p-one { top: 0; left: 92px; }
  .p-two { right: -4px; top: 138px; }
  .p-three { bottom: 0; left: 98px; }
  .p-four { left: -6px; top: 138px; }

  .core-heading { margin-bottom: 0; }
  .core-orbit { display: grid; grid-template-columns: 1fr; gap: 10px; height: auto; padding-top: 128px; }
  .orbit-ring { display: none; }
  .orbit-folder { left: calc(50% - 62px); top: 0; width: 124px; height: 92px; border-radius: 18px; }
  .orbit-folder span { left: 12px; top: -16px; width: 52px; height: 22px; border-radius: 12px 12px 0 0; }
  .orbit-folder img { width: 68px; height: 68px; border-radius: 16px; }
  .orbit-node { position: static; width: 100%; min-height: 0; padding: 14px 16px; border-radius: 16px; }
  .orbit-node::before { display: none; }
  .orbit-node b { margin-bottom: 5px; }
  .orbit-node strong { font-size: 16px; }

  .workflow-state, .roadmap-state { display: grid; gap: 34px; align-content: start; }
  .workflow-flow, .roadmap-arc, .version-choices { grid-template-columns: 1fr; }
  .workflow-flow { gap: 10px; }
  .workflow-flow li, .workflow-flow li:nth-child(n) { min-height: 0; transform: none; padding: 16px; }
  .workflow-flow li::after { display: none; }
  .workflow-flow strong { margin-top: 22px; font-size: 18px; }
  .roadmap-arc { gap: 0; padding-left: 16px; }
  .roadmap-arc::before { left: 7px; right: auto; top: 17px; bottom: 17px; width: 1px; height: auto; border-top: 0; border-left: 1px solid var(--line); border-radius: 0; }
  .roadmap-arc > div { padding: 0 0 22px 28px; text-align: left; }
  .roadmap-arc > div::before { position: absolute; left: -16px; top: 4px; width: 10px; height: 10px; margin: 0; }
  .roadmap-arc strong { margin-top: 6px; font-size: 19px; }

  .reserved-visual { order: 2; height: 244px; }
  .reserve-layer { width: 220px; height: 142px; border-radius: 25px; }
  .extension-stack { gap: 10px; }
  .extension-stack article { display: grid; grid-template-columns: 52px 1fr; gap: 10px; padding: 16px; border-radius: 16px; }
  .extension-stack article p { grid-column: 1 / -1; font-size: 13px; }
  .extension-stack span { right: 16px; top: 16px; }
  .extension-symbol { grid-row: auto; width: 46px; height: 44px; border-radius: 13px; }
  .repo-mark { width: 148px; height: 148px; border-radius: 36px; font-size: 32px; }

  .download-state { display: block; padding: 14px 16px calc(94px + env(safe-area-inset-bottom)); }
  .download-block { width: 100%; padding: 28px 22px; border-radius: 24px; }
  .download-block h2 { font-size: 34px; }
  .version-choices { gap: 14px; }
  .version-choice { padding: 18px; }
  .version-compare { margin-top: 24px; }
  .compare-row { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .compare-head { display: none; }
  .compare-row > span { color: #c7def6; }

  .progress-screen { width: 100%; padding: 7px; border-radius: 16px; }
  .progress-screen img { width: 100%; border-radius: 10px; }
  .status-rail { display: none; }
  .site-footer { display: none; }
  .progress-trigger { right: 16px; bottom: calc(68px + env(safe-area-inset-bottom)); left: auto; z-index: 15; transform: none; padding: 7px 9px; border: 1px solid var(--line); border-radius: 12px; background: color-mix(in srgb, var(--paper) 92%, transparent); box-shadow: var(--shadow-soft); }
  .mobile-pager {
    position: fixed;
    z-index: 24;
    inset: auto 16px calc(12px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 44px 1fr 44px;
    align-items: center;
    height: 48px;
    padding: 4px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
  }
  .mobile-pager button { height: 38px; border: 0; border-radius: 11px; background: var(--folder-pale); color: var(--folder-deep); font-size: 25px; line-height: 1; cursor: pointer; }
  .mobile-pager button:disabled { opacity: .35; cursor: default; }
  .mobile-pager span { color: var(--muted); text-align: center; font-size: 12px; font-weight: 750; }
}

@media (min-width: 761px) {
  .mobile-menu-toggle, .mobile-menu, .mobile-pager { display: none; }
}
