/* V11: one full-bleed optical canvas behind the masthead, copy and live gateway. */
.home-page #site-header { position: fixed; inset: 0 0 auto; background: transparent; }
.home-page #site-header:not(.past-hero) .header { background: transparent; border-color: #d7e8f514; backdrop-filter: none; }
.home-page #site-header:not(.past-hero) .brand,.home-page #site-header:not(.past-hero) .brand-name { color: #f4f8fc; }
.home-page #site-header:not(.past-hero) .brand img { filter: brightness(0) invert(1); }
.home-page #site-header:not(.past-hero) .main-nav a { color: #d2e1ee; }
.home-page #site-header:not(.past-hero) .main-nav a.active,.home-page #site-header:not(.past-hero) .main-nav a:hover { color: #fff; }
.home-page #site-header:not(.past-hero) .main-nav a.active:after { background: #b0d6f0; }
.home-page #site-header:not(.past-hero) .console-link { color: #d9e9f6; }
.home-page #site-header:not(.past-hero) .button-small { background: #e5f1fb; border-color: #e5f1fb; color: #214761; }
.home-page #site-header:not(.past-hero) .button-small:hover { background: #fff; border-color: #fff; }
.home-page #site-header:not(.past-hero) .menu-toggle span { background: #e5f1fb; }
.home-page #site-header.past-hero { background: #fcfcfd; }
.home-page #site-header.past-hero .header { background: #fcfcfdf2; backdrop-filter: blur(18px); }
.home-page .hero-brand.hero-cinematic {
  background: #102b40;
  padding-top: 84px;
  border-bottom: 0;
}
.hero-brand .hero-inner {
  width: calc(100% - 112px);
  max-width: 1360px;
  grid-template-columns: .86fr 1.14fr;
  gap: 48px;
  min-height: clamp(740px,calc(100svh - 84px),940px);
  padding-block: 28px 42px;
}
.hero-brand .hero-copy { padding-bottom: 0; max-width: 550px; }
.hero-brand .eyebrow { margin-bottom: 25px; color: #c7dceb; font-size: 11px; }
.hero-brand .eyebrow-line { width: 31px; height: 2px; background: #9bc5e2; }
.hero-brand h1 { font-size: clamp(50px,4.65vw,72px); font-weight: 600; line-height: 1.36; }
.hero-brand h1 .title-line { color: #f6faff; }
.hero-brand h1 .title-line-jade { color: #b7d8f0; font-weight: 600; }
.hero-brand .hero-copy>p { margin-top: 25px; font-size: 14px; color: #c3d5e3; line-height: 2.05; letter-spacing: .02em; }
.hero-brand .hero-actions { margin-top: 29px; gap: 27px; }
.hero-brand .hero-actions .button { min-height: 51px; padding-inline: 27px; background: #e3f1fc; border-color: #e3f1fc; color: #1d4665; box-shadow: 0 10px 23px #03172740; }
.hero-brand .hero-actions .button:hover { background: #fff; border-color: #fff; color: #173e5b; }
.hero-brand .hero-explore { font-size: 12px; color: #d2e6f5; }
.hero-abilities { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 35px; padding-top: 25px; border-top: 1px solid #c5dff533; }
.hero-abilities>div { min-width: 0; }
.hero-abilities strong { display: block; font-size: 13px; font-weight: 500; color: #e3eff8; letter-spacing: .05em; }
.hero-abilities span { display: block; font-size: 11px; color: #bdd2e2; line-height: 1.9; margin-top: 7px; }

/* The image belongs to the whole hero. The diagram has no enclosing surface. */
.home-page .gateway-art {
  padding: 23px 22px 18px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  isolation: isolate;
}
.hero-scene-bg { position: absolute; inset: 0; overflow: hidden; z-index: -3; pointer-events: none; background: #102b40 url('../images/relay-optics-v10.webp') center/cover no-repeat; }
.hero-scene-bg:before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#081c32ed 0%,#0b263dd9 34%,#102f4566 64%,#15374e26 100%),linear-gradient(0deg,#081f34a6,transparent 28%); }
.hero-scene-bg:after { content: ""; position: absolute; inset: -30% -60%; background: linear-gradient(112deg,transparent 42%,#c8e8ff08 47%,#c8e8ff14 49%,transparent 54%); transform: translateX(-30%); animation: optical-pass 12s ease-in-out infinite; }
.home-page .gateway-art:after { display: none; }
.home-page .gateway-art-heading { padding: 0 5px 15px; color: #e6f1fa; align-items: center; }
.home-page .gateway-art-heading>span { font-size: 17px; font-weight: 450; letter-spacing: .015em; }
.home-page .gateway-art-heading>small { color: #c1d3e0; font-size: 10px; border: 1px solid #95b7d044; padding: 4px 8px; border-radius: 4px; background: #16384f88; }
.home-page .gateway-canvas { aspect-ratio: 680/530; }
.home-page .gateway-atmosphere { background: none; }
.home-page .gateway-ground { background-image: radial-gradient(#b9d7ef55 .65px,transparent .9px); opacity: .45; }
.home-page .network-wires path { stroke-width: 1.35; opacity: .8; }
.home-page .network-flow path { stroke: #b5e0ff; stroke-width: 2.3; }
.home-page .network-packets .packet-in,.home-page .network-packets .packet-out,.home-page .network-packets .packet-meter { fill: #e5f7ff; }
.home-page .network-packets .packet-halo { fill: #91c9ee; }
.home-page .application-node { background: linear-gradient(135deg,#ecf4facf,#d4e4f0ed); color: #284d68; border-color: #e3f3ffad; box-shadow: 0 14px 25px #051d3038, inset 0 1px 0 #fff9; backdrop-filter: blur(8px); }
.home-page .application-code { color: #376e97; }
.home-page .application-node>span:last-child { color: #4e6c82; }
.home-page .gateway-auth { color: #c7dce9; font-size: clamp(8px,1.18cqw,10px); }
.home-page .gateway-request { border-color: #9fc9e26b; background: #153b5277; color: #bdd4e3; }
.home-page .gateway-request>span { font-size: clamp(8px,1.18cqw,10px); }
.home-page .gateway-request>code { color: #d4e9f8; font-size: clamp(8px,1.35cqw,11px); }
.home-page .hub-base { background: linear-gradient(125deg,#6788a0,#d3e5f1 27%,#789db9 52%,#355b79 76%,#a9c8dd); border-color: #9abfd8; box-shadow: 15px 24px 35px #031d3361,inset -2px -3px 3px #274a6633; }
.home-page .hub-base:after { background: linear-gradient(125deg,#d3e6f2,#7da6c3 36%,#4c7a9c 78%,#bed8e8); border-color: #b3d3e9; }
.home-page .hub-surface { background: linear-gradient(140deg,#618eae,#315e7d 38%,#163d5c); color: #fff; border-color: #c3e2f7; box-shadow: inset 1px 1px 0 #e1f5ff8c,inset -2px -2px 0 #0b294a9c,0 4px 9px #051b3044; }
.home-page .hub-surface:before { border-color: #daefff57; }
.home-page .hub-surface>span { color: #d0e6f5; }
.home-page .hub-signal { background: #e4f6ff; box-shadow: 0 0 8px #d5efff66; }
.home-page .hub-aura { background: radial-gradient(ellipse,#a7dbff38,transparent 70%); }
.home-page .gateway-model { background: linear-gradient(128deg,#f3f8fcf0,#dde9f2f5); border-color: #eef8ff9c; box-shadow: 0 13px 24px #02192e33,inset 0 1px 0 #fff; }
.home-page .gateway-model strong { color: #274d6b; }
.home-page .gateway-model small { color: #526c7f; }
.home-page .gateway-model>img { opacity: .95; }
.home-page .gateway-model:hover { background: #fff; border-color: #fff; }
.home-page .gateway-model.is-active { background: linear-gradient(125deg,#fff,#e5f3fd); border-color: #b2dffc; box-shadow: 0 13px 27px #031d3440,inset 0 1px 0 #fff; }
.home-page .gateway-model.is-active>i { background: #3d769e; box-shadow: 0 0 0 4px #94c6e842; }
.home-page .gateway-meter { background: linear-gradient(125deg,#f8fcfff5,#e2edf6f5); border-color: #e3f3ffb3; box-shadow: 0 18px 30px #00162b45,inset 0 1px 0 #fff; }
.home-page .gateway-meter-heading { color: #385d77; }
.home-page .gateway-meter-heading small,.home-page .gateway-meter-stats>span { color: #526d82; }
.home-page .gateway-meter-stats strong { color: #2d5b7d; }
.home-page .gateway-meter-bars i { background: linear-gradient(#95bcd8,#3e7198); }
.home-page .gateway-meter-bars i:nth-last-child(-n+2) { background: linear-gradient(#7ea9ca,#355d7e); }
.home-page .gateway-art-footer { margin: 9px 4px 0; padding-top: 15px; border-color: #bad4e838; }
.home-page .gateway-step { color: #d1e5f3; font-size: 11px; }
.home-page .gateway-step-light { background: #bde7ff; box-shadow: 0 0 0 4px #99c9e826; }
.home-page .gateway-art .motion-toggle { color: #d2e4f1; font-size: 10px; }
.home-page .gateway-art .motion-toggle:hover { background: #5479954d; border-color: #8fb5d166; color: #fff; }
.home-page .gateway-hint { color: #bdd1e0; font-size: 10px; margin: 9px 0 0 18px; }
.hero-brand.is-idle .hero-scene-bg:after { animation-play-state: paused; }
.home-page .ecosystem { padding-block: 30px 34px; }
.home-page .ecosystem>p { color: #586d7d; }
.home-page .ecosystem-logos>div { opacity: .88; color: #415a6c; }
.home-page .models-section { padding-top: 80px; }
@keyframes optical-pass { 0%,16% { transform: translateX(-30%); opacity: 0; } 32% { opacity: 1; } 68% { opacity: .6; } 84%,100% { transform: translateX(30%); opacity: 0; } }

@media(min-width:1600px) {
  .hero-brand .hero-inner { min-height: clamp(810px,calc(100svh - 84px),1000px); gap: 56px; }
  .hero-brand h1 { font-size: 72px; }
}
@media(max-width:1200px) {
  .hero-brand .hero-inner { width: calc(100% - 72px); gap: 28px; min-height: max(670px,calc(100svh - 84px)); grid-template-columns: .86fr 1.14fr; padding-block: 28px 35px; }
  .hero-brand h1 { font-size: 52px; }
  .hero-brand .hero-copy>p { font-size: 13px; }
  .hero-brand .hero-actions { gap: 20px; }
  .hero-brand .hero-actions .button { padding-inline: 20px; font-size: 12px; min-height: 47px; }
  .hero-brand .hero-explore { font-size: 11px; gap: 9px; }
  .hero-abilities { gap: 12px; margin-top: 28px; padding-top: 21px; }
  .hero-abilities strong { font-size: 12px; }
  .hero-abilities span { font-size: 11px; }
  .home-page .gateway-art { padding: 21px 15px 17px; }
  .home-page .gateway-art-heading>span { font-size: 15px; }
  .home-page .gateway-art-heading>small { font-size: 8px; padding: 4px 6px; }
  .home-page .gateway-step { font-size: 10px; }
  .home-page .gateway-art .motion-toggle { font-size: 9px; }
}
@media(max-width:1000px) {
  .hero-brand .hero-inner { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); width: calc(100% - 64px); gap: 23px; min-height: max(610px,calc(100svh - 84px)); }
  .hero-brand h1 { font-size: clamp(35px,4.65vw,47px); }
  .hero-brand .eyebrow { font-size: 9px; letter-spacing: .07em; margin-bottom: 21px; }
  .hero-brand .hero-copy>p { font-size: 11px; margin-top: 21px; }
  .hero-brand .hero-actions { gap: 17px; margin-top: 24px; flex-wrap: wrap; }
  .hero-brand .hero-actions .button { padding-inline: 18px; font-size: 11px; min-height: 44px; }
  .hero-brand .hero-explore { font-size: 10px; }
  .hero-abilities { gap: 8px; margin-top: 25px; }
  .hero-abilities strong { font-size: 11px; }
  .hero-abilities span { font-size: 11px; }
  .home-page .gateway-art-heading { display: block; }
  .home-page .gateway-art-heading>span { display: block; font-size: 15px; }
  .home-page .gateway-art-heading>small { display: inline-block; margin-top: 7px; }
  .home-page .gateway-art-footer { align-items: flex-start; gap: 10px; }
  .home-page .gateway-step { font-size: 9px; line-height: 1.7; }
  .home-page .gateway-art .motion-toggle { font-size: 8px; }
}
@media(max-width:760px) {
  .home-page .hero-brand.hero-cinematic { padding-top: 72px; }
  .home-page #site-header:not(.past-hero) .main-nav.open { background: #102d44f5; border-color: #6a8da54d; box-shadow: 0 20px 35px #0415254d; }
  .hero-scene-bg { background-position: 68% center; }
  .hero-scene-bg:before { background: linear-gradient(180deg,#081f35ed 0%,#0b263bd9 36%,#102c4166 67%,#0b263bb3 100%); }
  .hero-brand .hero-inner { width: calc(100% - 40px); grid-template-columns: minmax(0,1fr); gap: 31px; padding-block: 36px 35px; min-height: 0; }
  .hero-brand .hero-copy { max-width: 580px; }
  .hero-brand .eyebrow { font-size: 10px; margin-bottom: 18px; }
  .hero-brand h1 { font-size: clamp(37px,10.4vw,65px); line-height: 1.34; }
  .hero-brand .hero-copy>p { font-size: 12px; margin-top: 20px; line-height: 2; }
  .hero-brand .hero-actions { flex-wrap: nowrap; gap: 25px; margin-top: 23px; }
  .hero-brand .hero-actions .button { min-height: 46px; font-size: 12px; padding-inline: 22px; }
  .hero-brand .hero-explore { font-size: 11px; gap: 9px; }
  .hero-abilities { margin-top: 26px; padding-top: 20px; gap: 14px; }
  .hero-abilities strong { font-size: 12px; }
  .hero-abilities span { font-size: 11px; line-height: 1.8; margin-top: 6px; }
  .home-page .gateway-art { padding: 20px 12px 15px; }
  .home-page .gateway-art-heading { display: flex; padding: 0 4px 11px; gap: 8px; }
  .home-page .gateway-art-heading>span { font-size: 14px; letter-spacing: 0; }
  .home-page .gateway-art-heading>small { font-size: 7px; padding: 3px 5px; margin-top: 0; }
  .home-page .gateway-canvas { aspect-ratio: 1.12; }
  .home-page .gateway-meter { left: 18%; top: 74%; width: 56%; height: 23%; min-height: 65px; padding: 9px 10px; }
  .home-page .gateway-meter-body { margin-top: 5px; gap: 10px; }
  .home-page .gateway-meter-stats { gap: 11px; }
  .home-page .gateway-meter-bars { height: 20px; }
  .home-page .gateway-request { padding: 8px 10px; }
  .home-page .gateway-request>span { font-size: 6px; }
  .home-page .gateway-request>code { font-size: 7px; }
  .home-page .gateway-auth { font-size: 6px; }
  .home-page .gateway-art-footer { margin-top: 14px; padding-top: 12px; align-items: center; gap: 8px; }
  .home-page .gateway-step { font-size: 9px; line-height: 1.8; gap: 7px; }
  .home-page .gateway-art .motion-toggle { font-size: 8px; padding-inline: 2px; }
  .home-page .gateway-hint { font-size: 9px; margin-left: 12px; }
  .home-page .ecosystem { padding-block: 28px; }
}
@media(max-width:360px) {
  .hero-brand .hero-inner { width: calc(100% - 32px); padding-top: 31px; gap: 26px; }
  .hero-brand h1 { font-size: 35px; }
  .hero-brand .hero-actions { gap: 19px; }
  .hero-brand .hero-actions .button { padding-inline: 16px; font-size: 11px; }
  .hero-brand .hero-explore { font-size: 10px; }
  .hero-abilities { gap: 8px; }
  .hero-abilities strong { font-size: 11px; }
  .hero-abilities span { font-size: 11px; }
  .home-page .gateway-canvas { aspect-ratio: 1.02; }
  .home-page .gateway-meter { min-height: 62px; padding: 8px 9px; }
  .home-page .gateway-art-heading>span { font-size: 12px; }
  .home-page .gateway-art-heading>small { font-size: 6px; }
  .home-page .gateway-step { font-size: 8px; }
  .home-page .gateway-hint { font-size: 8px; }
}
@media(prefers-reduced-motion:reduce) {
  .hero-scene-bg:after { animation: none; display: none; }
}
@media(prefers-reduced-transparency:reduce) {
  .home-page .gateway-model,.home-page .application-node,.home-page .gateway-meter { background: #eaf3fa; backdrop-filter: none; }
}
