#aeron-tech-stack { width: 100%; background: #fff; color:#1f2223; }
#aeron-tech-stack :where(h2, p) { padding: 0; }
#aeron-tech-stack {
* { box-sizing: border-box; }

.aeron-stack {
  --ink: #1f2223;
  --muted: #404648;
  --band: #f3f4f4;
  --violet: #8786fa;
  --green: #16ce85;
  width: min(100%, 1480px);
  margin-inline: auto;
  padding: clamp(24px, 3.4vw, 54px);
  color: var(--ink);
  font-family: var(--work-sans, Arial), sans-serif;
  line-height: 1.35;
}
.stack-heading { margin: 0 0 clamp(12px,2.1vh,22px); }
.stack-heading img { display: block; width: clamp(116px, 9vw, 148px); height: auto; }
.stack-heading h2 { margin: 8px 0 0; font-size: clamp(16px, 1.4vw, 22px); line-height: 1.15; letter-spacing: -.02em; }
.stack-grid {
  display: grid;
  grid-template-columns: 32px minmax(0,1fr) 24px;
  grid-template-rows: repeat(4,auto);
  gap: 3px 6px;
}
.stack-rail { display: grid; place-items: center; grid-column: 1; }
.stack-rail span { writing-mode: vertical-rl; transform: rotate(180deg); font-size: 14px; font-weight: 600; }
.enterprise { grid-row: 1 / 4; background: var(--violet); }
.foundation { grid-row: 4; background: var(--green); }
.stack-row {
  grid-column: 2;
  display: grid;
  grid-template-columns: minmax(0,.84fr) minmax(0,1.7fr) minmax(0,1fr);
  align-items: center;
  column-gap: clamp(10px, 1.6vw, 24px);
  padding-inline: clamp(14px, 1.8vw, 27px);
  background: var(--band);
}
.accelerators { grid-row: 1; z-index: 4; }
.platform { grid-row: 2; z-index: 3; }
.premium { grid-row: 3; z-index: 2; }
.open { grid-row: 4; z-index: 1; }
.category, .description { margin: 0; padding-block: 12px; }
.category { font-weight: 500; font-size: clamp(16px, 1.45vw, 22px); line-height: 1.16; letter-spacing: -.025em; }
.description strong, .panel-body strong { font-weight: 600; }
.description { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.4; color: var(--muted); max-width: 29ch; }
.layer {
  position: relative; display: grid; place-items: center; width: 100%;
  min-width: 0; aspect-ratio: 2.46; margin-block: -2.1%;
  background-position: center; background-repeat: no-repeat; background-size: 100% 100%;
  color: var(--ink); text-decoration: none;
}
.layer.purple { background-image: url("assets/layer-purple.webp"); }
.layer.slim { background-image: url("assets/layer-premium.webp"); aspect-ratio: 2.9; }
.layer.green { background-image: url("assets/layer-green.webp"); }
.layer-content { width: 100%; text-align: center; }
.layer h2 { margin: 0; font-weight: 600; font-size: clamp(17px, 1.65vw, 25px); line-height: 1.05; letter-spacing: -.025em; }
.products, .open-pills { display: flex; justify-content: center; align-items: center; gap: clamp(4px, .45vw, 8px); margin-top: 7px; padding-inline: 3%; }
.products a, .open-pills span {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  border-radius: 30px; padding: 8px clamp(7px, .75vw, 14px);
  color: white; background: var(--ink); text-decoration: none; font-size: clamp(14px, 1.03vw, 16px); line-height: 1.15;
}
.open-pills { display: grid; grid-template-columns: repeat(2, max-content); justify-items: center; row-gap: 3px; }
.open-pills > span:last-child { grid-column: 1 / -1; }
.open-pills span { padding: 4px clamp(9px, .9vw, 16px); font-size: 14px; }
.open-pills span + span { background: #42564e; }
a.layer h2 { transition: color .16s ease; }
.products a { transition: background-color .16s ease; }
@media (min-width:1024px) and (hover:hover) {
  .scroll-stage:not(.motion) .stack-row:is(.accelerators, .platform):is(:hover, :focus-within) { background-color: #eceafa; }
}
@media (hover:hover) {
  .products a:hover { background: #443b80; text-decoration: none; }
  a.layer:hover { text-decoration: none; }
  a.layer:hover h2 { color: #322057; text-decoration: none; }
  a.layer.green:hover h2 { color: #103c2b; }
}
.products a:focus-visible, a.layer:focus-visible h2 { outline: 3px solid #16132a; outline-offset: 3px; box-shadow: 0 0 0 3px white; }
a.layer:focus-visible { outline: none; }
a.layer h2 { display: inline-block; border-radius: 2px; }



.scene-intro {
  max-width: 860px; margin: 0 auto; padding: clamp(32px,7vh,100px) 12px 14px;
  text-align: center;
}
.scene-intro h2 { margin: 0 auto; max-width: 31ch; font-size: clamp(26px,3vw,46px); font-weight: 400; letter-spacing: -.036em; line-height: 1.12; }
.scroll-cue { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 22px; font-size: 14px; }
.scroll-cue[hidden] { display: none; }
.scroll-cue span { display: inline-flex; align-items: center; gap: 9px; color: #44454e; }
.scroll-cue span::before { content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.show-stack { padding: 4px 0; border: 0; background: none; color: #39365b; text-decoration: underline; text-underline-offset: 3px; font: inherit; cursor: pointer; }
.scroll-stage { position: relative; background: white; }
.stack-board { width: 100%; }
.open-pills { max-width: 310px; margin-inline: auto; padding: 0 5px; }
.open-pills span { gap: 5px; }
.open-pills img { width: 18px; height: 18px; object-fit: contain; }
.mobile-focus, .phone-panels { display: none; }

@media (min-width:1024px) and (min-height:480px) and (prefers-reduced-motion:no-preference) {
  .scroll-stage.motion { height: calc(100vh - var(--aeron-admin-bar,0px)); height: calc(100svh - var(--aeron-admin-bar,0px)); display: grid; align-items: safe center; }
  .motion .stack-board { padding: 10px 0; }
  .motion .layer { width: min(100%, 59vh); justify-self: center; transform-origin: 50% 100%; }
  .motion .stack-heading img { width: clamp(78px,12vh,130px); }
  .motion .stack-heading h2 { font-size: clamp(14px,2.2vh,20px); }
  .motion .stack-row { transition: background-color .15s ease; }
  .motion .stack-row[data-highlight] { background-color: #eceafa; }
  .motion .open[data-highlight] { background-color: #e0f5ed; }
  .motion .stack-row[data-muted] .layer { filter: grayscale(1) opacity(.32); }
  .motion .stack-row[data-muted] .category { opacity: .45; }
  .motion .stack-row .description, .motion .products, .motion .open-pills { visibility: hidden; }
  .motion .stack-row[data-detail] .description, .motion .stack-row[data-detail] .products,
  .motion .stack-row[data-detail] .open-pills { visibility: visible; }
  .motion .stack-row:not([data-detail]) .layer-content { display: grid; place-items: center; }
  .motion .stack-row:not([data-detail]) :is(.products,.open-pills) { position: absolute; }
  .motion .layer h2 { font-size: clamp(15px,2.7vh,23px); }
  @media (max-height:600px) {
    .motion .products a { font-size: 13px; padding: 4px 8px; }
    .motion .open-pills span { font-size: 12px; padding-block: 3px; }
    .motion .description,.motion .category { padding-block: 4px; font-size: 14px; }
  }
}
@media (max-width:1023px) {
  .aeron-stack { max-width: 780px; padding: 22px clamp(16px,4vw,40px) 28px; }
  .scene-intro { padding: 24px 0 14px; }
  .stack-heading { margin: 0 0 22px; }
  .stack-grid { display: flex; flex-direction: column; gap: 2px; max-width: 560px; margin: auto; }
  .stack-grid .stack-rail { display: none; }
  .stack-row { display: block; padding: 0; background: transparent; }
  .stack-row .category { display: none; }
  .phone-ready .stack-row .description { display: none; }
  .stack-row .description { margin: 10px auto; text-align: center; }
  .layer { max-width: 480px; margin: -1% auto; min-height: 134px; }
  .layer.slim { min-height: 100px; }
  .layer h2 { font-size: clamp(17px,3.8vw,22px); }
  .products { margin-top: 3px; gap: 5px; }
  .products a { min-height: 44px; max-width: 49%; font-size: 14px; padding: 4px 10px; }
  .open-pills { margin-top: 5px; }
  .open-pills span { padding: 4px 8px; }
  .phone-ready .phone-panels { display: block; margin: 30px auto 0; max-width: 650px; }
  .phone-panels details { background: #f2f2f6; border-left: 4px solid var(--violet); margin-block: 3px; }
  .phone-panels details:last-child { border-color: var(--green); }
  .phone-panels summary { display: grid; grid-template-columns: 1fr auto; align-items: center; padding: 15px 18px; color: var(--ink); cursor: pointer; font-weight: 600; }
  .phone-panels summary::-webkit-details-marker { display:none; }
  .phone-panels summary::after { content: '+'; grid-column: 2; grid-row: 1 / 3; font-size: 22px; font-weight: 400; }
  .phone-panels details[open] summary::after { content: '−'; }
  .phone-panels summary small { grid-column: 1; font-size: 14px; font-weight: 400; color: var(--muted); }
  .phone-panels .panel-body { padding: 0 18px 15px; font-size: 16px; }
  .panel-body p { margin: 0 0 6px; }
  .panel-body a { display: inline-flex; align-items: center; min-height: 44px; margin-right: 14px; color: #322e63; text-underline-offset: 3px; }
}
@media (prefers-reduced-motion:reduce) {
  .aeron-stack * { transition: none !important; }
}

}
