/* Only the final presentation slide. No product or document-wide styling. */
#closing { overflow: hidden; }
#closing .closing-shell {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  padding: clamp(18px, 3.2vh, 34px) clamp(20px, 4.5vw, 76px) 17px;
}
#closing .closing-panel {
  width: 100%;
  min-height: 0;
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  isolation: isolate;
  background: #331226;
  transform-origin: center;
}
#closing #closing-animation {
  --ink: #331226;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
  background: #331226;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: clamp(24px, 4vw, 44px);
  font-weight: 600;
}
#closing #closing-animation > svg:not(.hero-static-canvas) {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  pointer-events: none;
}
#closing #closing-animation > .hero-static-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Keep the original landing-page white static unchanged. */
  opacity: 1;
}
#closing #closing-animation::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}
#closing #closing-animation > .reflection-reveal { z-index: 3; }
#closing:not(.closing-is-playing) .reflection-play-blink { animation-play-state: paused; }
#closing #replay-closing {
  justify-self: center;
  min-height: 40px;
  padding: 6px 17px;
  border: 1px solid #deced8;
  border-radius: 24px;
  color: #725565;
  background: transparent;
  font-size: 12px;
  line-height: 1.4;
}
#closing #replay-closing:hover { background: #f4edf1; color: #331226; }
#closing #replay-closing:focus-visible { outline: 3px solid #ad4271; outline-offset: 4px; }
@media (max-width: 600px) {
  #closing .closing-shell { padding: 16px 20px 12px; gap: 10px; }
  #closing .closing-panel { border-radius: 22px; }
}
@media (max-height: 500px) {
  #closing .closing-shell { padding-top: 12px; padding-bottom: 8px; gap: 6px; }
  #closing #replay-closing { min-height: 32px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  #closing .closing-panel { transform: none !important; }
  #closing .reflection-play-blink { animation: none !important; }
}
@media print {
  #closing .closing-shell { height: 156mm; padding: 12mm 0; display: block; }
  #closing .closing-panel { height: 100%; }
  #closing #replay-closing { display: none; }
}
