/* Fresh paired desktop / 400-CSS-pixel reference audit, 11 October 2026. */
.route-brand .aux-brand-heading{margin-bottom:24px}
.route-brand .aux-brand-stage.symbol img{width:144px;height:144px}
.route-brand .aux-brand-motion{gap:32px;padding-bottom:56px}
.route-brand .aux-logo-player>img{width:100%}
.route-jetbrains .aux-tools-hero{padding:24px;gap:32px}
.route-jetbrains .aux-tools-hero>.aux-tools-lockup{display:flex;align-items:center;gap:8px;height:32px;color:#191919;font-size:22px;font-weight:600;letter-spacing:-.5px}
.aux-tools-lockup img{width:32px;height:32px}
.route-jetbrains .aux-tools-hero>p{max-width:760px}
.route-jetbrains .aux-tools-hero>div:not(.aux-tools-contexts):not(.aux-tool-icon){gap:12px;margin-top:16px}
.route-jetbrains .aux-tools-contexts{width:100%;padding:16px 0 0;margin-top:16px;gap:16px}
.route-jetbrains .aux-tools-context{padding:108px 0 0}
.aux-context-badge{display:inline-block;padding:10px 12px;border:1px solid #317cff;border-radius:4px;color:#317cff;font:12px/14px var(--marketing-sans)}
.aux-context-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:0;margin-top:36px}
.route-jetbrains .aux-context-heading h2{margin:0;max-width:650px;flex:1;min-width:0}
.route-jetbrains .aux-context-controls{display:flex;align-items:center;gap:8px;flex:none}
.route-jetbrains .aux-context-controls button{width:32px;height:26px;padding:4px 6px;border:0;background:none;color:rgb(25,25,25);cursor:pointer;display:grid;place-items:center;transition:color 200ms}
.route-jetbrains .aux-context-controls [data-aux-context-prev]{padding:4px 8px 4px 4px}
.route-jetbrains .aux-context-controls [data-aux-context-next]{padding:4px 4px 4px 8px}
@media(hover:hover) and (pointer:fine){.route-jetbrains .aux-context-controls button:hover:not([aria-disabled=true]){color:#317cff}}
.route-jetbrains .aux-context-controls button[aria-disabled=true]{color:rgba(25,25,25,.4);cursor:default}
.route-jetbrains .aux-context-controls button:focus-visible{outline:2px solid #317cff;outline-offset:4px}
.route-jetbrains .aux-context-controls svg{width:20px;height:18px;flex:none}
.route-jetbrains [data-aux-context-prev] svg{transform:scaleX(-1)}
.route-jetbrains .aux-context-controls [data-aux-context-select]{width:18px;padding:4px 0}
.route-jetbrains [data-aux-context-select]>span{width:18px;height:3px;background:rgba(0,0,0,.3);transition:background-color 200ms}
.route-jetbrains [data-aux-context-select][aria-pressed=true]>span{background:#317cff}
@media(any-pointer:coarse){.route-jetbrains .aux-context-controls button{min-width:44px;min-height:44px}}
@media(prefers-reduced-motion:reduce){.route-jetbrains .aux-context-controls button,.route-jetbrains [data-aux-context-select]>span{transition:none}}
.route-jetbrains .aux-tools-context>p{max-width:650px;margin-top:24px}
.route-jetbrains [data-aux-context-panel][hidden]{display:none!important}
.aux-context-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.route-jetbrains .aux-closing{border:0;padding:120px 0 200px}
.route-jetbrains .aux-closing h2{font-size:40px;line-height:1.04;letter-spacing:-1.2px}
.route-download .aux-download-hero{padding-top:208px;gap:40px;min-height:0}
.route-download .aux-download-actions{gap:48px}
.route-download .aux-download-actions p{color:#777;margin:0}
.route-download .aux-download-tools>article{align-items:center;text-align:center;padding:36px 24px;gap:48px}
.route-download .aux-tool-feature>.aux-tool-icon{height:32px}
.route-download .aux-tool-feature>.aux-tool-icon svg{height:32px;width:38.4px}
.route-download .aux-download-tools p{margin:0;max-width:460px}
.route-download .aux-tool-feature>div:last-child{display:flex;flex-direction:column;align-items:center;gap:32px}
.route-download .aux-provider-options{max-width:440px}
.route-download .aux-platforms>article{gap:32px}
.route-download .aux-platforms h2{font-size:32px}
.route-download .aux-platforms .aux-availability{order:4;margin-top:auto;background:none;border-top:1px solid rgba(25,25,25,.12);padding:24px 0 0;width:100%;font-size:14px}
.route-download .aux-platforms .aux-inline-link,.route-download .aux-platforms .aux-button{margin-top:0;width:100%;min-height:35px;justify-content:center;padding:6px 12px;border:1px solid rgba(25,25,25,.18);border-radius:2px;font-size:14px}
.route-download .aux-platforms p{font-size:16px;line-height:1.4}
.route-windows .aux-window-boundaries>h2{font-size:40px;line-height:1.04;letter-spacing:-1.2px}
@supports(text-box:trim-both cap alphabetic){.route-jetbrains .aux-tools-hero h1,.route-jetbrains .aux-tools-hero>p,.route-jetbrains .aux-context-heading h2,.route-jetbrains .aux-tools-context>p,.route-jetbrains .aux-closing h2{text-box:trim-both cap alphabetic}}
@media(max-width:760px){
 .route-brand .aux-brand-stage.symbol img{width:128px;height:128px}
 .route-brand .aux-brand-motion h2{font-size:24px;line-height:1.2}
 .route-brand .aux-brand-motion{padding-top:40px;padding-bottom:56px}
 .route-jetbrains .aux-tools-hero .aux-button,.route-jetbrains .aux-tools-hero .aux-inline-link{width:auto}
 .route-jetbrains .aux-tools-hero>div:not(.aux-tools-contexts):not(.aux-tool-icon){margin-top:16px}
 .route-jetbrains .aux-tools-context{padding-top:64px}
 .route-jetbrains .aux-context-heading{gap:0;margin-top:36px}
 .route-jetbrains .aux-context-heading h2{font-size:32px;line-height:1.04;min-width:0}
 .route-jetbrains .aux-tools-context .page-stage{margin-top:32px}
 .route-jetbrains .aux-closing{padding:120px 0 140px}
 .route-jetbrains .aux-closing h2{font-size:32px;line-height:1.04;letter-spacing:-.96px}
 .route-download .aux-download-hero{padding-top:128px;gap:40px}
 .route-download .aux-download-tools,.route-download .aux-platforms{margin-top:64px}
 .route-download .aux-download-tools>article{padding:36px 24px;gap:36px}
 .route-download .aux-download-tools h2{font-size:24px}
 .route-download .aux-platforms>article{gap:32px}
 .route-windows .aux-window-boundaries>h2{font-size:32px;line-height:1.04;letter-spacing:-.96px}
 .route-windows .aux-window-close{align-items:center;text-align:center;padding:96px 0 80px;gap:32px}
 .route-auto-triage .aux-triage-flow{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:5px;padding:12px;min-height:184px}
 .route-auto-triage .aux-triage-flow>div{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:10px;padding:10px 7px;min-height:140px;min-width:0;overflow-wrap:anywhere}
 .route-auto-triage .aux-triage-flow>div>span{font-size:8px;overflow-wrap:anywhere}
 .route-auto-triage .aux-triage-flow strong{font-size:12px;line-height:1.2}
 .route-auto-triage .aux-triage-flow small{font-size:10px;line-height:1.3}
 .route-auto-triage .aux-triage-flow>span{transform:rotate(-90deg);font-size:12px}
}

/* Match the verified platform anchor clearance without adding the global offset twice. */
html:has(.route-download){scroll-padding-top:0}
.route-download #platforms{scroll-margin-top:88px}

/* Preserve reference rows for fine pointers; give touch controls their own full-width row. */
@media(max-width:700px) and (any-pointer:coarse){.route-jetbrains .aux-context-heading{flex-direction:column;gap:16px}.route-jetbrains .aux-context-heading h2{width:100%}}

/* Paired 1180/321 desktop/narrow closing comparison, 12 October 2026.
   Windows alone uses this closing family; retain natural truthful line wrapping. */
.route-windows .aux-window-close{flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:32px}
.route-windows .aux-window-close h2{display:flex;flex-direction:column;gap:12px;line-height:1}
.route-windows .aux-window-close h2>span:first-child{color:#999}
@media(max-width:700px){.route-windows .aux-window-close h2{line-height:1.05}}
