/* The product render is the focal point; the offer and actions remain HTML. */
.hero.hero--terminal{padding:20px 0 44px}
.hero--terminal .hero-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;overflow:hidden;isolation:isolate;padding:56px 36px 0;border-radius:32px;background:#071d3e;color:#fff;text-align:center}
.hero--terminal .hero-grid>div:first-child{position:relative;z-index:1;min-width:0}
.hero--terminal h1{margin:0 auto 20px;max-width:1060px;font-size:clamp(40px,5vw,72px);line-height:1.08;color:#fff}
.hero--terminal h1 span{color:#a9caff}
.hero--terminal .lead{margin:0 auto;max-width:650px;color:#e0ebfa;font-size:18px}
.hero--terminal .actions{justify-content:center;align-items:center;margin:25px 0 0}
.hero--terminal .btn.outline{background:transparent;border-color:#a8c1e4;color:#fff}
.hero--terminal .btn.outline:hover{background:#183963}
.hero--terminal .hero-visual.terminal-scene{display:grid;place-items:center;width:100%;max-width:none;height:clamp(340px,39vw,500px);margin:0 auto;background:radial-gradient(ellipse at 50% 78%,#123e7f 0,transparent 56%);overflow:visible;perspective:1100px}
.terminal-scene .stage-x{width:38%;height:120%;top:0;right:11%;opacity:.055;animation:none;rotate:-20deg}
.terminal-scene .terminal-render{position:relative;z-index:1;width:min(100%,590px);height:100%;min-height:0;object-fit:contain;pointer-events:none;transform-origin:50% 55%;transition:transform .48s var(--ease-out);animation:terminal-arrive .85s var(--ease-out) both}
@keyframes terminal-arrive{from{opacity:.72;translate:0 18px}to{opacity:1;translate:0 0}}
@media(min-width:1100px){.hero--terminal h1 br{display:none}}
@media(hover:hover) and (pointer:fine){.terminal-scene:hover .terminal-render{transform:translateY(-8px) rotateY(-7deg) rotateX(3deg)}.terminal-scene:hover .stage-x{opacity:.055}}
@media(max-width:700px){
  .hero.hero--terminal{padding:12px 0 28px}
  .hero--terminal .hero-grid{width:calc(100% - 24px);padding:34px 17px 0;border-radius:22px;gap:15px}
  .hero--terminal h1{font-size:clamp(30px,8.6vw,48px);line-height:1.12;margin-bottom:16px}
  .hero--terminal .lead{font-size:16px;line-height:1.55}
  .hero--terminal .actions{margin-top:22px;flex-direction:row;flex-wrap:wrap;gap:10px}
  .hero--terminal .hero-visual.terminal-scene{height:clamp(265px,82vw,390px);margin:0 auto}
  .terminal-scene .stage-x{width:65%;right:2%}
}
@media(prefers-reduced-motion:reduce){.terminal-scene .terminal-render{animation:none;transition:none;transform:none!important}}

/* The header and hero form one inset panel, with no gap at their join. */
body:has(.hero--terminal){--hero-gutter:clamp(16px,3.2vw,44px);--hero-radius:36px;--hero-top:22px}
/* Dark upper field with the supplied radial light treatment in brand ice blue. */
.hero--terminal .hero-grid{background:radial-gradient(125% 125% at 50% 10%,#030c1c 40%,#a9caff 100%)}
body:has(.hero--terminal) .header:not(.is-away)>.wrap{background:#030c1c}
.hero--terminal .hero-visual.terminal-scene{background:transparent}
.hero.hero--terminal{padding:0 0 var(--hero-top);background:#fff}
.hero--terminal .hero-grid,body:has(.hero--terminal) .header>.wrap{width:calc(100% - 2 * var(--hero-gutter));max-width:none}
.hero--terminal .hero-grid{border-radius:0 0 var(--hero-radius) var(--hero-radius);padding-top:46px}
body:has(.hero--terminal) .header{height:calc(92px + var(--hero-top));padding-top:var(--hero-top);top:calc(-1 * var(--hero-top));background:transparent;color:#fff;backdrop-filter:none}
body:has(.hero--terminal) .header>.wrap{position:relative;background:#071d3e;border-radius:var(--hero-radius) var(--hero-radius) 0 0;padding-inline:clamp(20px,4vw,62px)}
body:has(.hero--terminal) .header .brand img{filter:brightness(0) invert(1)}
body:has(.hero--terminal) .header :is(.nav a,.login,.menu){color:#fff}
body:has(.hero--terminal) .header .nav a:is(:hover,:focus-visible){color:#a9caff}
body:has(.hero--terminal) .header .menu{border-color:#86a4cf}
@media(max-width:900px){body:has(.hero--terminal) .header .nav{background:#102b50;box-shadow:0 14px 30px #0004}}
@media(max-width:700px){
  body:has(.hero--terminal){--hero-gutter:12px;--hero-radius:24px;--hero-top:12px}
  body:has(.hero--terminal) .header{height:calc(80px + var(--hero-top))}
  body:has(.hero--terminal) .header>.wrap{padding-inline:14px}
  .hero--terminal .hero-grid{padding:32px 17px 0}
}
