/* The parent homepage extends the established engineering-sheet system. */
html:has(.inferno-home) { scroll-padding-top: 95px; }
.home-introduction { padding-top: 42px; }
.home-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; padding-bottom: 34px; }
.home-heading h1 { font-size: clamp(2.75rem,4.5vw,4.25rem); font-weight: 800; line-height: 1.06; }
.home-heading > p { color: var(--muted); font-size: .9375rem; margin-bottom: 3px; }
.home-products, .home-diagrams, .home-evidence-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.home-products { border-top: 1px solid var(--ink); }
.home-product { padding: 28px 40px 32px 0; }
.home-product + .home-product { border-left: 1px solid var(--line); padding-inline: 40px 0; }
.home-product h2 { font-size: 1.75rem; margin-bottom: 14px; }
.home-product-purpose { font-size: 1.2rem; line-height: 1.4; font-weight: 650; max-width: 31ch; min-height: 2.8em; margin-bottom: 12px; }
.home-product > p:not(.home-product-purpose) { color: var(--muted); max-width: 50ch; margin-bottom: 0; min-height: 3.3em; }
.home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 23px; }
.home-mechanisms { background: var(--orange); color: var(--stage-ink); padding-block: 27px 10px; }
.home-diagrams { gap: 80px; }
.home-diagrams figcaption { display: flex; align-items: baseline; gap: 18px; font-weight: 750; font-size: 1rem; }
.home-diagrams figcaption span { font-size: .875rem; font-weight: 500; }
.home-memory-flow { display: grid; grid-template-columns: 1fr .4fr 1.6fr; align-items: center; gap: 18px; margin-top: 23px; min-height: 122px; }
.home-model > span, .home-memory > span { display: block; font-size: .8125rem; }
.home-layer-stack { display: flex; gap: 5px; height: 42px; margin: 10px 0; }
.home-layer-stack i { flex: 1; background: var(--stage-ink); animation: home-layer 5s var(--ease) infinite; transform-origin: bottom; }
.home-layer-stack i:nth-child(2n) { animation-delay: -.7s; }
.home-layer-stack i:nth-child(3n) { animation-delay: -1.4s; }
.home-flow-line { height: 1px; background: var(--stage-line); position: relative; }
.home-flow-line i { position: absolute; width: 6px; height: 6px; top: -3px; background: var(--stage-ink); animation: home-transfer 3s linear infinite; }
.home-memory { border: 1px solid var(--stage-ink); padding: 15px; }
.home-memory > strong { display: block; font-size: .875rem; }
.home-memory-blocks { display: flex; gap: 4px; height: 24px; margin-block: 12px; }
.home-memory-blocks i { flex: 1; background: var(--stage-ink); }
.home-memory-blocks i:nth-last-child(-n+2) { background: transparent; border: 1px solid var(--stage-ink); }
.home-refund-flow { list-style: none; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 22px; margin: 30px 0 15px; padding: 0; }
.home-refund-flow li { position: relative; border-top: 1px solid var(--stage-ink); padding-top: 14px; }
.home-event { display: block; position: absolute; width: 9px; height: 9px; border: 1px solid var(--stage-ink); border-radius: 50%; background: var(--orange); top: -5px; right: 0; }
.home-fault .home-event { background: var(--stage-ink); animation: home-fault 5s var(--ease) infinite; }
.home-refund-flow strong { font-size: .9375rem; line-height: 1.35; font-weight: 650; display: block; }
.home-assertion { font-size: .8125rem; border-top: 1px solid var(--stage-line); padding-top: 10px; margin-bottom: 0; }
.home-motion-bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 25px; border-top: 1px solid var(--stage-line); }
.home-motion-bar p { font-size: .75rem; margin-bottom: 0; }
.home-mechanisms :focus-visible { outline-color: var(--stage-ink); }
.home-evidence .split-heading { margin-bottom: 44px; }
.home-evidence-grid { gap: 80px; }
.home-evidence-grid article { border-top: 1px solid var(--line); padding-top: 28px; }
.home-evidence-grid h3 { font-size: 1.65rem; line-height: 1.25; max-width: 26ch; }
.home-evidence-grid p { color: var(--muted); margin-top: 20px; }
.home-operating-options { background: var(--soft); padding-block: 60px; }
.home-operating-options > div { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.home-operating-options h2 { font-size: 2.8rem; }
.home-operating-options p { color: var(--muted); max-width: 50ch; margin-top: 22px; margin-bottom: 0; }
.home-next-links { display: flex; flex-direction: column; }
.home-next-links a { padding-block: 20px; border-top: 1px solid var(--line); }
.home-next-links strong, .home-next-links span { display: block; }
.home-next-links strong { font-size: 1rem; }
.home-next-links span { color: var(--muted); font-size: .875rem; margin-top: 5px; }
.home-next-links a:hover strong { color: var(--orange-dark); }
.legacy-rt-links { padding-block: 30px; }
.legacy-rt-links a { text-decoration: underline; }
.home-paused .home-mechanisms * { animation-play-state: paused !important; }
@keyframes home-layer { 0%,100% { transform: scaleY(1); } 45% { transform: scaleY(.7); } }
@keyframes home-transfer { from { left: 0; } to { left: calc(100% - 6px); } }
@keyframes home-fault { 0%,100% { transform: scale(1); } 45% { transform: scale(1.65); } }
@media (max-width: 1100px) {
  .home-heading { align-items: start; }
  .home-heading > p { max-width: 24ch; }
  .home-product { padding-right: 26px; }
  .home-product + .home-product { padding-left: 26px; }
  .home-diagrams, .home-evidence-grid, .home-operating-options > div { gap: 52px; }
  .home-diagrams figcaption { flex-direction: column; gap: 4px; }
  .home-memory-flow { gap: 10px; }
}
@media (max-width: 700px) {
  .home-introduction { padding-top: 28px; }
  .home-heading { display: block; padding-bottom: 24px; }
  .home-heading h1 { font-size: clamp(2rem,7.5vw,3rem); }
  .home-heading > p { max-width: none; margin-top: 15px; font-size: .875rem; }
  .home-heading > p br { display: none; }
  .home-products, .home-diagrams, .home-evidence-grid, .home-operating-options > div { grid-template-columns: minmax(0,1fr); }
  .home-product, .home-product + .home-product { padding: 22px 0 26px; border-left: 0; }
  .home-product + .home-product { border-top: 1px solid var(--line); }
  .home-product h2 { font-size: 1.5rem; margin-bottom: 10px; }
  .home-product-purpose { font-size: 1.0625rem; max-width: none; min-height: 0; }
  .home-product > p:not(.home-product-purpose) { min-height: 0; font-size: 1rem; }
  .home-actions { gap: 14px 20px; margin-top: 18px; }
  .home-product .button { min-height: 44px; padding: 10px 15px; }
  .home-product .text-link { font-size: .8125rem; }
  .home-diagrams { gap: 30px; }
  .home-diagrams figcaption { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
  .home-memory-flow { grid-template-columns: 1fr .3fr 1.6fr; }
  .home-sim-diagram { border-top: 1px solid var(--stage-line); padding-top: 24px; }
  .home-motion-bar { align-items: start; flex-direction: column; gap: 0; padding-top: 16px; }
  .home-motion-bar .motion-toggle { padding-left: 0; }
  .home-evidence .split-heading { margin-bottom: 30px; }
  .home-evidence-grid { gap: 32px; }
  .home-operating-options { padding-block: 44px; }
  .home-operating-options > div { gap: 32px; }
  .home-operating-options h2 { font-size: 2.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .home-mechanisms * { animation: none !important; }
}
