/* AXIONA R115 — Keeper-derived hero + system story visual language.
   Purpose: replace the R112/R113 network-diagram/card grammar with the calmer
   product-surface language established by the Keeper public visual system.
   Existing semantic DOM is preserved; this layer changes composition only. */

body.page-overview{
  --r115-paper:#f1eee6;
  --r115-paper-2:#e5dfd3;
  --r115-white:#fbfaf6;
  --r115-soft:#f3f5ef;
  --r115-ink:#111917;
  --r115-muted:#59615c;
  --r115-line:#c9c3b8;
  --r115-separator:#aeb8b4;
  --r115-navy:#0b1e25;
  --r115-navy-2:#102a31;
  --r115-orange:#ef6b43;
  --r115-acid:#d7ef55;
  --r115-cyan:#54d4ca;
}

/* --------------------------------------------------------------------------
   HERO / SYSTEM SURFACE
   The old relationship-map diagram is intentionally removed. The same content
   is represented as a controlled Keeper-like working surface.
   -------------------------------------------------------------------------- */
body.page-overview .ax112-hero-visual{
  background:var(--r115-paper-2);
  background-image:none;
  border:1px solid #b8b2a7;
  box-shadow:18px 18px 0 #d1c7b9;
  padding:clamp(38px,4.6vw,68px);
}
body.page-overview .ax112-model{
  width:min(100%,700px);
  min-height:620px;
  background:var(--r115-white);
  color:var(--r115-ink);
  border:1px solid #89999a;
  box-shadow:14px 14px 0 #08181b;
  transform:none!important;
  transition:none!important;
  overflow:hidden;
}
body.page-overview .ax112-model-head{
  min-height:54px;
  padding:0 20px;
  background:var(--r115-soft);
  color:#40555a;
  border-bottom:1px solid #c9cfca;
}
body.page-overview .ax112-model-head span{
  color:#40555a;
}
body.page-overview .ax112-model-head span:nth-child(2){
  opacity:.6;
}
body.page-overview .ax112-model-head b{
  padding:7px 9px;
  background:var(--r115-navy);
  color:var(--r115-acid);
}
body.page-overview .ax112-model-foot{
  min-height:54px;
  padding:0 20px;
  background:var(--r115-navy);
  color:#c8d3d3;
  border-top:1px solid #39525a;
}
body.page-overview .ax112-model-foot b{color:var(--r115-acid)}

body.page-overview .ax112-stage{
  inset:54px 0 54px;
  padding:20px;
  display:grid;
  grid-template-columns:minmax(0,.86fr) minmax(0,1.14fr);
  grid-template-rows:repeat(4,minmax(0,1fr));
  gap:1px;
  background:var(--r115-separator);
  overflow:hidden;
}
body.page-overview .ax112-stage svg,
body.page-overview .ax112-coord{display:none!important}

body.page-overview .ax112-stage .ax112-node{
  position:relative!important;
  inset:auto!important;
  min-width:0!important;
  width:auto!important;
  min-height:0!important;
  transform:none!important;
  margin:0!important;
  padding:14px 16px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border:0;
  border-left:0;
  background:var(--r115-white);
  color:var(--r115-ink);
  box-shadow:none;
  text-align:left;
}
body.page-overview .ax112-stage .ax112-node span{
  margin:0 0 7px;
  color:#934126;
  font:900 8px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.13em;
}
body.page-overview .ax112-stage .ax112-node strong{
  font-size:15px;
  line-height:1.2;
}
body.page-overview .ax112-stage .ax112-node small{
  margin-top:5px;
  color:#59615c;
  font-size:10px;
  line-height:1.35;
}
body.page-overview .ax112-stage .ax112-n1{grid-column:1;grid-row:1}
body.page-overview .ax112-stage .ax112-n2{grid-column:1;grid-row:2}
body.page-overview .ax112-stage .ax112-n3{grid-column:1;grid-row:3}
body.page-overview .ax112-stage .ax112-n4{grid-column:1;grid-row:4}

body.page-overview .ax112-stage .ax112-node.is-core{
  grid-column:2;
  grid-row:1 / 4;
  padding:28px 30px;
  justify-content:flex-start;
  background:#fffdf8;
  color:var(--r115-ink);
  border:0;
  box-shadow:none;
}
body.page-overview .ax112-stage .ax112-node.is-core:before{
  content:"";
  width:48px;
  height:58px;
  margin-bottom:28px;
  border:1px solid #9aa8a6;
  background:
    linear-gradient(#31565a,#31565a) 12px 15px/22px 1px no-repeat,
    linear-gradient(#31565a,#31565a) 12px 23px/16px 1px no-repeat,
    linear-gradient(#31565a,#31565a) 12px 31px/20px 1px no-repeat,
    #edf1ed;
}
body.page-overview .ax112-stage .ax112-node.is-core span{
  width:max-content;
  padding:7px 9px;
  margin-bottom:14px;
  background:var(--r115-navy);
  color:var(--r115-acid);
}
body.page-overview .ax112-stage .ax112-node.is-core strong{
  max-width:280px;
  font-size:clamp(27px,2.15vw,34px);
  line-height:.98;
  letter-spacing:-.04em;
}
body.page-overview .ax112-stage .ax112-node.is-core small{
  max-width:270px;
  margin-top:12px;
  font-size:11px;
  line-height:1.55;
}
body.page-overview .ax112-stage .ax112-node.is-core:after{
  content:"";
  width:100%;
  height:46px;
  margin-top:auto;
  border-top:1px solid #ded9d0;
  background:
    linear-gradient(#c8c3ba,#c8c3ba) 0 14px/82% 1px no-repeat,
    linear-gradient(#c8c3ba,#c8c3ba) 0 25px/64% 1px no-repeat,
    linear-gradient(#c8c3ba,#c8c3ba) 0 36px/72% 1px no-repeat;
}
body.page-overview .ax112-stage .ax112-node.is-output{
  grid-column:2;
  grid-row:4;
  padding:18px 20px;
  justify-content:center;
  background:var(--r115-navy);
  color:var(--r115-white);
  border-left:4px solid var(--r115-orange);
}
body.page-overview .ax112-stage .ax112-node.is-output span{color:var(--r115-acid)}
body.page-overview .ax112-stage .ax112-node.is-output strong{
  color:var(--r115-white);
  font-size:16px;
}

/* --------------------------------------------------------------------------
   SYSTEM STORY
   One visual system, no alternating full-card color states.
   -------------------------------------------------------------------------- */
body.page-overview .ax112-story{
  background:var(--r115-paper-2);
  color:var(--r115-ink);
}
body.page-overview .ax112-story-head .eyebrow{color:#7a3e29!important}
body.page-overview .ax112-story-head h2{color:var(--r115-ink)}
body.page-overview .ax112-story-head h2 span{color:#5c706b}
body.page-overview .ax112-story-head>p:last-child{color:#4f5752}

body.page-overview .ax112-story-list{
  gap:0;
  padding:12px;
  background:var(--r115-navy);
  border:1px solid #476368;
  box-shadow:14px 14px 0 #b8aa99;
}
body.page-overview .ax112-step,
body.page-overview .ax112-step.is-current{
  min-height:370px;
  margin:0;
  background:var(--r115-white);
  color:var(--r115-ink);
  border:0;
  border-bottom:1px solid #9ba8a4;
  box-shadow:none;
  transform:none!important;
  transition:box-shadow .28s ease,border-color .28s ease;
}
body.page-overview .ax112-step:last-child{border-bottom:0}
body.page-overview .ax112-step.is-current{
  box-shadow:inset 4px 0 0 var(--r115-orange);
}
body.page-overview .ax112-step-copy,
body.page-overview .ax112-step.is-current .ax112-step-copy{
  border-right:1px solid #d0cbc1;
  background:var(--r115-white);
}
body.page-overview .ax112-step-index,
body.page-overview .ax112-step:not(.is-current) .ax112-step-index,
body.page-overview .ax112-step.is-current .ax112-step-index{
  color:#6f746e;
}
body.page-overview .ax112-step-index>span,
body.page-overview .ax112-step.is-current .ax112-step-index>span{
  color:#6f746e!important;
}
body.page-overview .ax112-step-index b,
body.page-overview .ax112-step:not(.is-current) .ax112-step-index b,
body.page-overview .ax112-step.is-current .ax112-step-index b{
  padding:6px 8px;
  background:var(--r115-navy);
  color:var(--r115-acid);
}
body.page-overview .ax112-step-copy p,
body.page-overview .ax112-step:not(.is-current) .ax112-step-copy p,
body.page-overview .ax112-step.is-current .ax112-step-copy p{
  color:#555d58;
}

body.page-overview .ax112-step-visual,
body.page-overview .ax112-step.is-current .ax112-step-visual{
  min-height:330px;
  padding:24px 26px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:var(--r115-soft);
  overflow:hidden;
}
body.page-overview .ax112-step-visual:before,
body.page-overview .ax112-step.is-current .ax112-step-visual:before,
body.page-overview .ax112-mini-line,
body.page-overview .ax112-mini-dot{display:none!important}

body.page-overview .ax112-step-visual .ax112-mini-node,
body.page-overview .ax112-step.is-current .ax112-step-visual .ax112-mini-node{
  position:relative!important;
  inset:auto!important;
  width:100%!important;
  min-width:0!important;
  transform:none!important;
  padding:14px 14px 14px 42px;
  border:0;
  border-bottom:1px solid #ded9d0;
  background:transparent;
  color:#33433f;
  box-shadow:none;
  font:850 11px/1.35 ui-monospace,SFMono-Regular,Menlo,monospace;
  letter-spacing:.04em;
}
body.page-overview .ax112-step-visual .ax112-mini-node:last-of-type{border-bottom:0}
body.page-overview .ax112-step-visual .ax112-mini-node:before{
  position:absolute;
  left:4px;
  top:50%;
  transform:translateY(-50%);
  color:#934126;
  font:900 9px/1 ui-monospace,SFMono-Regular,Menlo,monospace;
}
body.page-overview .ax112-step-visual .ax112-mini-node:nth-of-type(1):before{content:"01"}
body.page-overview .ax112-step-visual .ax112-mini-node:nth-of-type(2):before{content:"02"}
body.page-overview .ax112-step-visual .ax112-mini-node:nth-of-type(3):before{content:"03"}
body.page-overview .ax112-step-visual .ax112-mini-node:nth-of-type(4):before{content:"04"}
body.page-overview .ax112-step-visual .ax112-mini-node:nth-of-type(5):before{content:"05"}
body.page-overview .ax112-step-visual .ax112-mini-node.hot,
body.page-overview .ax112-step.is-current .ax112-step-visual .ax112-mini-node.hot{
  margin:4px 0;
  border-bottom:0;
  border-left:4px solid var(--r115-orange);
  background:var(--r115-navy);
  color:var(--r115-white);
}
body.page-overview .ax112-step-visual .ax112-mini-node.hot:before{color:var(--r115-acid)}

/* Re-enterable motion: small spatial motion only, never a disappearing page. */
body.page-overview [data-ax112-reveal]{
  transform:translate3d(0,18px,0);
  transition:transform .58s cubic-bezier(.22,.72,.24,1);
}
body.page-overview [data-ax112-reveal].is-visible{transform:translate3d(0,0,0)}
body.page-overview .ax112-step[data-ax112-reveal],
body.page-overview .ax112-step.is-current[data-ax112-reveal],
body.page-overview .ax112-step.is-current[data-ax112-reveal].is-visible{
  transform:translate3d(0,18px,0)!important;
}
body.page-overview .ax112-step[data-ax112-reveal].is-visible,
body.page-overview .ax112-step.is-current[data-ax112-reveal].is-visible{
  transform:translate3d(0,0,0)!important;
}

@media(max-width:1180px){
  body.page-overview .ax112-stage{
    padding:16px;
    grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  }
  body.page-overview .ax112-stage .ax112-node.is-core{padding:24px}
}

@media(max-width:760px){
  body.page-overview .ax112-hero-visual{
    padding:15px;
    background:var(--r115-paper-2);
    box-shadow:9px 9px 0 #d1c7b9;
  }
  body.page-overview .ax112-model{
    min-height:610px;
    box-shadow:9px 9px 0 #08181b;
  }
  body.page-overview .ax112-model-head,
  body.page-overview .ax112-model-foot{padding-left:14px;padding-right:14px}
  body.page-overview .ax112-model-head span:nth-child(2){display:none}
  body.page-overview .ax112-stage{
    padding:12px;
    grid-template-columns:1fr 1.08fr;
  }
  body.page-overview .ax112-stage .ax112-node{padding:11px 10px}
  body.page-overview .ax112-stage .ax112-node strong{font-size:12px}
  body.page-overview .ax112-stage .ax112-node small{font-size:9px}
  body.page-overview .ax112-stage .ax112-node.is-core{padding:17px 16px}
  body.page-overview .ax112-stage .ax112-node.is-core:before{
    width:38px;height:46px;margin-bottom:16px;
    background:
      linear-gradient(#31565a,#31565a) 9px 12px/18px 1px no-repeat,
      linear-gradient(#31565a,#31565a) 9px 19px/13px 1px no-repeat,
      linear-gradient(#31565a,#31565a) 9px 26px/16px 1px no-repeat,
      #edf1ed;
  }
  body.page-overview .ax112-stage .ax112-node.is-core span{font-size:7px;padding:6px 7px;margin-bottom:10px}
  body.page-overview .ax112-stage .ax112-node.is-core strong{font-size:22px}
  body.page-overview .ax112-stage .ax112-node.is-core small{font-size:9px}
  body.page-overview .ax112-stage .ax112-node.is-output{padding:12px 13px}

  body.page-overview .ax112-story-list{
    padding:8px;
    box-shadow:8px 8px 0 #b8aa99;
  }
  body.page-overview .ax112-step,
  body.page-overview .ax112-step.is-current{
    min-height:0;
    grid-template-columns:1fr;
  }
  body.page-overview .ax112-step-copy,
  body.page-overview .ax112-step.is-current .ax112-step-copy{
    border-right:0;
    border-bottom:1px solid #d0cbc1;
  }
  body.page-overview .ax112-step-visual,
  body.page-overview .ax112-step.is-current .ax112-step-visual{
    min-height:230px;
    padding:18px 20px;
  }
}

@media(prefers-reduced-motion:reduce){
  body.page-overview [data-ax112-reveal],
  body.page-overview [data-ax112-reveal].is-visible,
  body.page-overview .ax112-step[data-ax112-reveal],
  body.page-overview .ax112-step[data-ax112-reveal].is-visible{
    transform:none!important;
    transition:none!important;
  }
}
