/* Bound the content, never the section surface or the hero's full-width canvas. */
:root{--content-max:1360px;--hero-frame-max:1528px}
@media(min-width:761px){
  /* Cap viewport-driven heights: zooming out must not create empty screens. */
  .core-zone{min-height:min(100svh,1224px)}
  .python-section{min-height:clamp(720px,calc(100svh - 124px),900px)}
  .eject-section{min-height:clamp(820px,100svh,1100px)}
  .page{--content-edge:max(min(6vw,84px),calc((100% - var(--content-max))/2))}
  .header{margin-inline:var(--content-edge)}
  .hero{width:min(100%,var(--hero-frame-max));margin-inline:auto;padding-inline:min(6vw,84px)}
  .capabilities,.python-section,.ai-section,.eject-section,.site-footer{padding-inline:var(--content-edge)}
  /* Anchor broad ambient light to the content columns as the viewport grows. */
  .core-zone{background:radial-gradient(ellipse at calc(50% + min(22vw,336px)) 42%,#10212b66,transparent 66%),var(--bg)}
  .python-section:not(.ai-section){background:radial-gradient(ellipse min(52vw,830px) 60% at calc(50% - min(23vw,340px)) 48%,#11303b30,transparent 78%),var(--bg)}
  .ai-section{background:radial-gradient(ellipse min(52vw,830px) 60% at calc(50% + min(23vw,340px)) 48%,#35234624,transparent 78%),var(--bg)}
  .eject-section{background:radial-gradient(ellipse min(58vw,920px) 60% at calc(50% - min(23vw,340px)) 40%,#17343b38,transparent 80%),var(--bg)}
}
/* Pointer focus stays functional but has no decorative focus ring. */
html:not([data-focus-input="keyboard"]) :focus{outline:none!important}
html:not([data-focus-input="keyboard"]) .core-stage:focus-visible::after{display:none}
html:not([data-focus-input="keyboard"]) .python-stage:focus-visible .python-context-label{outline:none}
html:not([data-focus-input="keyboard"]) .primary:focus-visible{clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px)}
/* Position the caption from the projected server, not a viewport percentage. */
.eject-server-status{left:var(--server-label-x,75%);top:var(--server-label-y,88%);right:auto;bottom:auto;transform:translate(-50%,4px);white-space:nowrap}
.eject-stage[data-step="ready"] .eject-server-status{transform:translateX(-50%)}
/* Site-owned language list: cyan selection is consistent across operating systems. */
.language{position:relative}
.language-trigger{display:flex;align-items:center;gap:10px;border:0;background:none;padding:8px 5px;color:#b5c0c7;font:500 13px Jura,sans-serif;letter-spacing:1px}
.language-trigger svg{width:10px;height:7px;stroke:currentColor;stroke-width:1.3;fill:none;transition:transform .15s}
.language-trigger:hover,.language-trigger[aria-expanded="true"]{color:var(--cyan)}
.language-trigger[aria-expanded="true"] svg{transform:rotate(180deg)}
.language-options{position:absolute;right:0;top:calc(100% + 10px);z-index:10;min-width:148px;padding:5px;background:#111b22;border:1px solid #2c4650;box-shadow:0 12px 36px #0006}
.language-options [role="option"]{width:100%;display:flex;justify-content:space-between;align-items:center;gap:18px;border:0;background:none;padding:11px 12px;text-align:left;font:500 14px Jura,sans-serif;color:#b5c0c7}
.language-options [role="option"][aria-selected="true"],.language-options [role="option"]:hover,.language-options [role="option"]:focus{background:var(--cyan);color:#07171a}
.language-options [role="option"]:focus-visible{outline:1px solid var(--cyan);outline-offset:2px}
.language-check{visibility:hidden}
.language-options [aria-selected="true"] .language-check{visibility:visible}
@media(min-width:1400px){
  h1{font-size:clamp(62px,6.1vw,96px)}
  .python-heading h2{font-size:clamp(48px,4.6vw,72px)}
  .eject-heading h2{font-size:clamp(36px,3.5vw,56px)}
  .footer-invitation>p{font-size:clamp(34px,3.3vw,50px)}
}
.eject-detail{margin-bottom:0}
.eject-invitation{margin-top:80px}
@media(max-width:760px){
  /* The reduced information band ends immediately after its one visible item. */
  .core-zone{min-height:0}
  .eject-detail{margin-bottom:0}
  .eject-invitation{margin-top:64px}
}
