.day {
  font-family: system-ui, sans-serif;
  color: #17181a;
  background: #f7f6f4;
}

/* Tall track so sticky can pin through 3 beats */
.day__track {
  position: relative;
  height: 300vh;
}

.day__sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 100dvh;
  padding: clamp(5rem, 10vw, 7rem) clamp(5rem, 10vw, 8rem) 2rem;
}

.day__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  max-width: 36rem;
  text-align: center;
}

.day__eyebrow {
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #ffffff;
  font-size: 0.8rem;
  color: rgba(23, 24, 26, 0.7);
}

.day__title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.day__subtitle {
  min-height: 2.8em;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(23, 24, 26, 0.6);
  transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.day__subtitle.is-swap {
  opacity: 0;
  filter: blur(8px);
}

/* ---------- Stage ---------- */

.day__stage {
  position: relative;
  width: min(100%, 28rem);
  height: 16.5rem;
}

.day__scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  filter: blur(12px);
  transform: scale(0.97);
  pointer-events: none;
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.day__scene.is-active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
  pointer-events: auto;
}

/* ---------- Scene 1: alert ---------- */

.day-alert {
  width: 100%;
  padding: 1.25rem 1.35rem;
  border-radius: 1rem;
  background: #ffffff;
}

.day-alert__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.day-alert__brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
}

.day-alert__brand svg {
  width: 0.85rem;
  height: 0.85rem;
}

.day-alert__time {
  font-size: 0.75rem;
  color: rgba(23, 24, 26, 0.45);
}

.day-alert__label {
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  color: rgba(23, 24, 26, 0.5);
}

.day-alert__message {
  margin-bottom: 1rem;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.day-alert__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(23, 24, 26, 0.5);
}

.day-alert__tag {
  padding: 0.3rem 0.65rem;
  border-radius: 0.4rem;
  background: #f7f6f4;
  color: #17181a;
}

/* ---------- Scene 2: ask ---------- */

.day-ask {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.day-ask__bubble {
  max-width: 92%;
  padding: 0.9rem 1.05rem;
  border-radius: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  background: #ffffff;
}

.day-ask__bubble--you {
  align-self: flex-end;
  background: #17181a;
  color: #ffffff;
}

.day-ask__bubble--voxa {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  align-self: flex-start;
}

.day-ask__mark {
  flex-shrink: 0;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: 0.2rem;
}

.day-ask__bubble--voxa p {
  margin: 0;
}

/* ---------- Scene 3: slack ---------- */

.day-slack {
  width: 100%;
  padding: 1.2rem 1.3rem;
  border-radius: 1rem;
  background: #ffffff;
}

.day-slack__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.day-slack__head img {
  width: 1.75rem;
  height: 1.75rem;
}

.day-slack__channel {
  font-size: 0.9rem;
  font-weight: 500;
}

.day-slack__when {
  font-size: 0.72rem;
  color: rgba(23, 24, 26, 0.45);
}

.day-slack__from {
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.day-slack__text {
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(23, 24, 26, 0.8);
}

.day-slack__chip {
  display: inline-block;
  padding: 0.3rem 0.65rem;
  border-radius: 0.4rem;
  background: #f7f6f4;
  font-size: 0.72rem;
  color: rgba(23, 24, 26, 0.6);
}

/* ---------- Progress (left side) ---------- */

.day__progress {
  position: absolute;
  left: clamp(1.25rem, 4vw, 3rem);
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  list-style: none;
  transform: translateY(-50%);
}

.day__step {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  opacity: 0.3;
  transition: opacity 0.35s ease;
}

.day__step.is-active {
  opacity: 1;
}

.day__step-num {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: rgba(23, 24, 26, 0.45);
}

.day__step-label {
  font-size: 0.9rem;
  font-weight: 500;
}

/* ---------- Mobile: same sticky theater, no side steps ---------- */

@media (max-width: 720px) {
  .day__sticky {
    padding: clamp(4.5rem, 12vw, 6rem) 1.25rem 2rem;
  }

  .day__progress {
    display: none;
  }

  .day__stage {
    width: min(100%, 22rem);
    height: 17.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .day__scene,
  .day__subtitle,
  .day__step {
    transition: none;
  }
}
