/* Match the live site's original hero layout and typography. */
.hero.live-layout,.hero.live-layout[data-active-banner]{position:relative;overflow:hidden;padding:clamp(2.6rem,5vw,4rem) 0 2.6rem;background:radial-gradient(ellipse at 85% 12%,rgba(64,214,228,.18),transparent 34%),linear-gradient(135deg,var(--navy),#0b2946 64%,#10334d);color:#fff}
.hero.live-layout:after{position:absolute;right:-7rem;bottom:-14rem;width:35rem;height:35rem;border:1px solid rgba(64,214,228,.25);border-radius:50%;box-shadow:0 0 0 3rem rgba(64,214,228,.025),0 0 0 6rem rgba(64,214,228,.025);opacity:1}
.hero.live-layout>.wrap{width:min(100% - 2rem,74rem);max-width:74rem}
.hero.live-layout .hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:2.6rem;position:relative;z-index:1;min-height:0;padding:0;height:100%}
.hero.live-layout .hero-grid>div:first-child{display:block;min-width:0}
.hero.live-layout .hero-slide h1{max-width:17ch;margin:0 0 1rem;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-weight:700;font-size:clamp(2.15rem,4vw,3.5rem);line-height:1.1;letter-spacing:-.045em;order:initial;align-self:auto}
.hero.live-layout .hero-slide h1 em{display:inline;margin:0;font:inherit;color:var(--cyan);font-style:normal;letter-spacing:inherit;line-height:inherit}
.hero.live-layout .eyebrow{display:inline-flex;align-items:center;gap:.55rem;margin:0 0 .8rem;color:#bceff2;font-size:.79rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.hero.live-layout .hero-copy{max-width:51ch;margin:0 0 1rem;color:#d7e6f0;font-size:1.05rem;line-height:1.65}
.hero.live-layout .hero-slide .actions{display:flex;flex-wrap:wrap;gap:.8rem;margin-top:1.4rem;width:auto;order:initial}
.hero.live-layout .button{display:inline-flex;align-items:center;justify-content:center;gap:0;width:auto;min-height:3.1rem;padding:.75rem 1.15rem;border:1px solid transparent;border-radius:999px;text-decoration:none;font-weight:800;font-size:1rem;box-shadow:none}
.hero.live-layout .button-primary{background:#ffb454;color:var(--navy);border-color:#ffb454}.hero.live-layout .button-primary:hover{background:#ffd08d;border-color:#ffd08d}.hero.live-layout .button-primary span{font-size:inherit;margin-left:.35rem}
.hero.live-layout .button-outline{background:transparent;border-color:#8ca5ba;color:#fff}.hero.live-layout .button-outline:hover{background:rgba(255,255,255,.1)}
.hero.live-layout .hero-card{width:auto;max-width:none;padding:1.4rem;border:1px solid rgba(255,255,255,.18);border-radius:1.3rem;background:rgba(255,255,255,.075);box-shadow:0 24px 60px rgba(0,0,0,.2);justify-self:stretch;align-self:auto}
.hero.live-layout .hero-card-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:1rem;padding-bottom:1rem;border-bottom:1px solid rgba(255,255,255,.15)}
.hero.live-layout .hero-card-top strong{font-size:1.03rem}.hero.live-layout .online-pill{font-size:.74rem;flex-shrink:0}
.hero.live-layout .learning-map{display:grid;gap:.75rem;padding-top:1rem}.hero.live-layout .map-row{display:grid;grid-template-columns:2.4rem minmax(0,1fr) auto;align-items:center;gap:.75rem;padding:.75rem .8rem;border-radius:.85rem;background:rgba(255,255,255,.08)}
.hero.live-layout .map-icon{width:2.25rem;height:2.25rem;font-size:1.05rem}.hero.live-layout .map-row strong{display:block;font-size:.91rem}.hero.live-layout .map-row small{display:inline;color:#c2d4e1;font-size:.76rem;line-height:inherit}.hero.live-layout .map-arrow{color:#9debf0;font-size:1.1rem}
.hero.live-layout .carousel-controls{margin-top:1.6rem;padding-top:.8rem}
@media(max-width:850px){.hero.live-layout .hero-grid{grid-template-columns:1fr;gap:1.8rem}.hero.live-layout .hero-card{max-width:36rem;width:100%;justify-self:start}.hero.live-layout .hero-grid>div:first-child{display:block}}
@media(max-width:680px){.hero.live-layout,.hero.live-layout[data-active-banner]{padding:2.4rem 0 2rem}.hero.live-layout .hero-grid{gap:1.6rem}.hero.live-layout .hero-slide h1{font-size:clamp(1.9rem,7.5vw,2.65rem)}.hero.live-layout .hero-slide .actions{width:auto;margin-top:1.4rem;gap:.8rem}.hero.live-layout .button{width:auto;font-size:1rem;min-height:3.1rem}.hero.live-layout .hero-card{padding:1.4rem}.hero.live-layout .map-row{grid-template-columns:2.4rem minmax(0,1fr) auto;gap:.75rem}.hero.live-layout .map-row strong{font-size:.91rem}.hero.live-layout .map-row small{font-size:.76rem}.hero.live-layout .hero-card-top strong{font-size:1.03rem}}
@media(forced-colors:active){.hero.live-layout .button,.hero.live-layout .hero-card{border:1px solid CanvasText}}

/* Five distinct right-hand visuals, within the existing two-column layout. */
.hero.live-layout .banner-graphic{margin:0;min-width:0;width:100%;max-width:36rem;aspect-ratio:5 / 4;justify-self:stretch;align-self:center;position:relative;box-sizing:border-box}.hero.live-layout .banner-graphic>img{display:block;width:100%;height:100%;max-height:26rem;object-fit:contain;aspect-ratio:5 / 4}.hero.live-layout .banner-family{border:1px solid #ffffff2e;border-radius:1.3rem;overflow:hidden;box-shadow:0 24px 60px #0003}.hero.live-layout .banner-family>img{object-fit:cover;object-position:center 56%}.hero.live-layout .banner-code{display:flex;flex-direction:column;justify-content:center;gap:1.15rem;padding:1.25rem;border:1px solid #6b9ab05c;border-radius:1.1rem;background:#071b30;box-shadow:0 20px 55px #0003}.code-heading{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;padding-bottom:.9rem;border-bottom:1px solid #47698066;color:#d6e9f5;font-size:.8rem}.editor-lights{display:flex;gap:.3rem}.editor-lights i{display:block;width:.45rem;height:.45rem;border-radius:50%;background:#fa9b89}.editor-lights i:nth-child(2){background:#ffd185}.editor-lights i:nth-child(3){background:#80debd}.code-language{margin-left:auto;color:#a9c5da;font-size:.68rem}.hero.live-layout .banner-code pre{margin:0;min-width:0;overflow:visible;white-space:pre-wrap}.banner-code code{display:block;color:#e1edf7;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(.72rem,1.1vw,.88rem);line-height:1.85;counter-reset:code-lines}.code-line{display:block;white-space:pre-wrap;overflow-wrap:anywhere;position:relative;padding-left:1.65rem;counter-increment:code-lines}.code-line:before{content:counter(code-lines);position:absolute;left:0;color:#799bb4;font-size:.85em;user-select:none}.code-variable{color:#a7d8f4}.code-string{color:#a7e3b4}.code-keyword{color:#d6b5fa}.code-function{color:#8fe5ec}.code-outcome{margin:0;padding-top:.8rem;border-top:1px solid #47698066;color:#b8dce7;font-size:.75rem}.code-outcome span{color:#ffbe75;margin-right:.35rem}.hero.live-layout .banner-connections,.hero.live-layout .banner-journey{background:transparent;border:0;box-shadow:none}
@media(max-width:850px){.hero.live-layout .banner-graphic{max-width:36rem;justify-self:start}.hero.live-layout .banner-graphic>img{max-height:26rem}.hero.live-layout .banner-code{aspect-ratio:auto;min-height:20rem}}
@media(max-width:480px){.hero.live-layout .banner-code{padding:1rem;gap:1rem;min-height:18rem}.code-heading{font-size:.74rem}.code-language{font-size:.63rem}.code-outcome{font-size:.7rem}.hero.live-layout .banner-graphic>img{max-height:22rem}}
@media(forced-colors:active){.hero.live-layout .banner-code,.hero.live-layout .banner-family{border:1px solid CanvasText}.code-line:before{color:CanvasText}}
