@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/Geist-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: transparent;
  color: #242527;
  font-family: "Geist", Arial, sans-serif;
  text-rendering: geometricPrecision;
}

.alendur-insights-stage {
  width: 100%;
  min-height: 100vh;
  padding: clamp(28px, 4.5vw, 62px);
  display: grid;
  place-items: center;
}

.alendur-insights-stack {
  position: relative;
  width: min(100%, 900px);
  height: 560px;
  margin: 0 auto;
  font-family: "Geist", Arial, sans-serif;
}

.alendur-insights-stack::before {
  content: "";
  position: absolute;
  inset: 56px 40px 46px;
  filter: blur(1px);
}

.stack-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(78, 66, 50, 0.05);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow:
    0 24px 55px rgba(52, 43, 32, 0.08),
    0 4px 14px rgba(52, 43, 32, 0.03);
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition:
    opacity 560ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.alendur-insights-stack.is-running .stack-card,
.alendur-insights-stack.animate-pie .stack-pie,
.alendur-insights-stack.animate-line .stack-line,
.alendur-insights-stack.animate-bars .stack-bars {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.alendur-insights-stack.is-running .stack-line {
  transition-delay: 80ms;
}

.alendur-insights-stack.is-running .stack-pie {
  transition-delay: 220ms;
}

.alendur-insights-stack.is-running .stack-bars {
  transition-delay: 360ms;
}

.stack-card-head {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.stack-card-head span {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0;
}

.stack-card-head strong {
  color: #75897d;
  font-size: 18px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0;
}

.stack-line {
  z-index: 1;
  left: 50%;
  top: 122px;
  width: 70%;
  height: 320px;
  padding: 24px 28px;
  transform: translate3d(-50%, 0, 0) scale(1);
  transition:
    opacity 360ms ease;
  backface-visibility: hidden;
}

.alendur-insights-stack.is-running .stack-line,
.alendur-insights-stack.animate-line .stack-line {
  transform: translate3d(-50%, 0, 0) scale(1);
}

.stack-pie {
  z-index: 3;
  right: 56px;
  top: 18px;
  width: 38%;
  height: 190px;
  padding: 22px 24px;
}

.stack-bars {
  z-index: 4;
  left: 48px;
  bottom: 16px;
  width: 54%;
  height: 195px;
  padding: 20px 24px 22px;
}

@property --pie-progress {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.pie-wrap {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.pie-chart {
  --pie-progress: 0%;
  width: 104px;
  height: 104px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    conic-gradient(
      #91a5b5 0% calc(var(--pie-progress) * 0.48),
      #b0a28e calc(var(--pie-progress) * 0.48) calc(var(--pie-progress) * 0.78),
      #d6c6ae calc(var(--pie-progress) * 0.78) var(--pie-progress),
      #f3eee7 var(--pie-progress) 100%
    );
  transition: --pie-progress 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.alendur-insights-stack.animate-pie .pie-chart {
  --pie-progress: 100%;
}

.pie-hole {
  width: 61px;
  height: 61px;
  border-radius: 50%;
  background: #faf6f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.pie-hole strong {
  color: #262626;
  font-size: 19px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
}

.pie-hole span {
  margin-top: 4px;
  color: #9a948c;
  font-size: 9px;
  line-height: 1;
  font-weight: 500;
}

.pie-legend {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.pie-legend div {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8b857e;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
}

.pie-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 999px;
}

.dot-1 {
  background: #91a5b5;
}

.dot-2 {
  background: #b0a28e;
}

.dot-3 {
  background: #d6c6ae;
}

.stack-line .stack-card-head {
  margin-bottom: 6px;
}

.stack-line::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  height: 216px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(249, 246, 241, 0.24), rgba(249, 246, 241, 0.68));
  pointer-events: none;
  z-index: 0;
}

.line-chart {
  position: relative;
  z-index: 2;
  width: 100%;
}

.line-chart svg {
  width: 100%;
  height: 226px;
  display: block;
  overflow: visible;
}

.grid-line {
  stroke: rgba(78, 71, 62, 0.075);
  stroke-width: 1;
}

.revenue-line {
  fill: none;
  stroke: #8b9d91;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 540ms cubic-bezier(0.3, 0.8, 0.2, 1);
}

.alendur-insights-stack.animate-line .revenue-line {
  stroke-dashoffset: 0;
}

.line-point {
  fill: #f7f1e8;
  stroke: #8b9d91;
  stroke-width: 2.5;
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.alendur-insights-stack.animate-line .line-point {
  opacity: 1;
  transform: scale(1);
}

.alendur-insights-stack.animate-line .point-1 {
  transition-delay: 80ms;
}

.alendur-insights-stack.animate-line .point-2 {
  transition-delay: 150ms;
}

.alendur-insights-stack.animate-line .point-3 {
  transition-delay: 220ms;
}

.alendur-insights-stack.animate-line .point-4 {
  transition-delay: 350ms;
}

.alendur-insights-stack.animate-line .point-5 {
  transition-delay: 450ms;
}

.alendur-insights-stack.animate-line .point-6 {
  transition-delay: 560ms;
}

.axis-label {
  fill: #aaa39a;
  font-family: "Geist", Arial, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
}

.stack-bars .stack-card-head {
  margin-bottom: 12px;
}

.stack-bars::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  height: 124px;
  border-radius: 18px;
  background: #faf7f2;
  z-index: 0;
}

.bar-chart {
  position: relative;
  z-index: 2;
  height: 122px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.bar-item {
  height: 100%;
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.bar-item span {
  color: #9c968e;
  font-size: 14px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.bar {
  width: 100%;
  max-width: 40px;
  border-radius: 8px 8px 4px 4px;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.bar-1 {
  height: 48%;
  background: #91a5b5;
}

.bar-2 {
  height: 70%;
  background: #a3b3bc;
}

.bar-3 {
  height: 58%;
  background: #b2bdb9;
}

.bar-4 {
  height: 90%;
  background: #b8ac99;
}

.bar-5 {
  height: 76%;
  background: #d1c1aa;
}

.alendur-insights-stack.animate-bars .bar {
  transform: scaleY(1);
}

.alendur-insights-stack.animate-bars .bar-2 {
  transition-delay: 20ms;
}

.alendur-insights-stack.animate-bars .bar-3 {
  transition-delay: 40ms;
}

.alendur-insights-stack.animate-bars .bar-4 {
  transition-delay: 60ms;
}

.alendur-insights-stack.animate-bars .bar-5 {
  transition-delay: 80ms;
}

@media (max-width: 900px) {
  .alendur-insights-stage {
    padding: 34px 26px;
  }

  .alendur-insights-stack {
    width: min(100%, 700px);
    height: 620px;
  }

  .stack-line {
    left: 50%;
    top: 150px;
    width: 86%;
    height: 300px;
  }

  .stack-pie {
    right: 20px;
    top: 20px;
    width: 48%;
  }

  .stack-bars {
    left: 20px;
    bottom: 20px;
    width: 66%;
  }
}

@media (max-width: 650px) {
  .alendur-insights-stage {
    padding: 18px;
  }

  .alendur-insights-stack {
    width: min(100%, 430px);
    height: 700px;
  }

  .alendur-insights-stack::before {
    inset: 90px 12px 90px;
  }

  .stack-card {
    border-radius: 20px;
  }

  .stack-pie {
    left: 0;
    right: auto;
    top: 0;
    width: 100%;
    height: 164px;
  }

  .stack-line {
    left: 50%;
    top: 188px;
    width: 100%;
    height: 288px;
    padding: 20px;
  }

  .stack-bars {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 200px;
    padding: 18px 18px 20px;
  }

  .stack-line::after {
    left: 18px;
    right: 18px;
    height: 184px;
  }

  .pie-chart {
    width: 86px;
    height: 86px;
  }

  .pie-hole {
    width: 50px;
    height: 50px;
  }

  .bar-chart {
    height: 126px;
    gap: 12px;
  }

  .stack-bars::after {
    height: 124px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Match the quiet glass surfaces used by the business system cards. */
body{color:#61574a;-webkit-font-smoothing:antialiased}
.stack-card{border:1px solid rgba(255,255,255,.85);border-radius:30px;background:linear-gradient(140deg,rgba(255,255,255,.78),rgba(255,252,247,.64));box-shadow:inset 0 1px 0 rgba(255,255,255,.8),0 20px 40px rgba(112,90,60,.08);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transform:translateY(12px);transition:opacity 850ms ease,transform 1000ms cubic-bezier(.22,1,.36,1)}
.stack-line{background:linear-gradient(145deg,rgba(255,255,255,.42),rgba(255,255,255,.12));border-color:rgba(255,255,255,.85);box-shadow:inset 0 1px 0 #ffffff80,0 18px 45px #85745e0c;transition:opacity 850ms ease}
.stack-card-head span{font-size:16px;font-weight:500;letter-spacing:-.3px;color:#827462}.stack-card-head strong{font-size:16px;font-weight:500}.stack-line::after,.stack-bars::after{display:none}.grid-line{stroke:rgba(120,104,80,.07)}.revenue-line{stroke-width:3;transition-duration:1300ms}.line-point{stroke-width:1.7;fill:#f5efe6}.axis-label{fill:#a99d8d;font-weight:400}.bar-item span,.pie-legend div{font-size:12px;font-weight:400;color:#9c907f}.bar{max-width:32px;border-radius:7px 7px 3px 3px;transition-duration:900ms;opacity:.8}.pie-chart{transition-duration:1100ms}.pie-hole{background:#f5f0e8;width:73px;height:73px}.pie-hole strong{font-weight:500;color:#79684f}.pie-hole span{font-weight:400;color:#a3998c}
@media(min-width:651px){.stack-line .stack-card-head strong{position:absolute;left:0;top:34px;font-size:30px;letter-spacing:-1px;color:#79684f}.stack-line .line-chart{padding-top:24px}.stack-line .line-chart svg{height:208px}}
@media(max-width:650px){.stack-card{border-radius:26px}.pie-hole{width:60px;height:60px}.bar-chart{gap:8px}.bar-item span{font-size:11px}}
@media(prefers-reduced-motion:reduce){.stack-card,.revenue-line,.line-point,.bar,.pie-chart{transition:none!important}}
