.blog-timeline-page {
  --blog-ink: #3e3050;
  --blog-purple: #a855f7;
  --blog-lilac: #f5e8ff;
  --blog-line: #eadff0;
  background: #fff;
  color: var(--blog-ink);
}

.blog-timeline-page main {
  background: #fff;
}

.blog-timeline-page section[id] {
  scroll-margin-top: 96px;
}

.blog-timeline-page .section-pill {
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  padding: 9px 26px;
  color: var(--blog-ink);
  text-transform: uppercase;
  white-space: nowrap;
}

.blog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 48px 0 112px;
  background:
    radial-gradient(circle at 50% 12%, rgba(229, 205, 255, 0.32), transparent 34%),
    linear-gradient(180deg, #fffaff 0%, #fff7fd 100%);
}

.blog-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #f2eaf5;
}

.blog-hero__inner {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 48px));
  max-width: 1160px;
  text-align: center;
}

.blog-hero__inner > * {
  min-width: 0;
}

@media (min-width: 992px) {
  .blog-timeline-page .blog-hero .hero-wm__text {
    font-size: clamp(72px, 10vw, 150px);
  }
}

.blog-hero__eyebrow {
  margin-right: auto;
  margin-left: auto;
  text-transform: none !important;
}

.blog-hero h1 {
  max-width: 1160px;
  margin: 0 auto 28px;
  color: var(--blog-ink);
  font: 700 clamp(48px, 4.15vw, 64px) / 1.06 var(--serif);
  letter-spacing: -0.045em;
}

.blog-hero__summary,
.blog-hero__description {
  max-width: 1130px;
  margin: 0 auto;
  color: var(--blog-ink);
  font: 400 18px / 1.65 var(--sans);
  letter-spacing: -0.02em;
}

.blog-hero__prompt {
  max-width: 1080px;
  margin: 34px auto 18px;
  color: var(--blog-ink);
  font: 600 18px / 1.55 var(--sans);
  letter-spacing: -0.02em;
}

.blog-hero__phases {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
}

.blog-hero__phase {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--blog-ink);
  font: 500 14px / 1.2 var(--sans);
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.blog-hero__phase--1 {
  border-color: #b9edf7;
  background: #def8fc;
}

.blog-hero__phase--2 {
  border-color: #dad2ff;
  background: #ede9fe;
}

.blog-hero__phase--3 {
  border-color: #f7df78;
  background: #fff8c9;
}

.blog-hero__phase:hover,
.blog-hero__phase:focus-visible {
  color: var(--blog-ink);
  filter: saturate(1.08);
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(62, 48, 80, 0.12);
}

.timeline-phase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 122px;
  background: #fff;
}

.timeline-phase--launch {
  background: linear-gradient(180deg, #fff5fc 0%, #f6f1ff 54%, #eefaff 100%);
}

.timeline-phase--launch::before,
.blog-mistakes::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: url("../img/blog-timeline/launch-background.png") center / cover no-repeat;
  opacity: 0.035;
  pointer-events: none;
}

.timeline-phase__layout {
  position: relative;
  z-index: 1;
  --bs-gutter-x: clamp(3rem, 7vw, 8.5rem);
}

.timeline-phase__intro-inner {
  position: sticky;
  top: 132px;
}

.timeline-phase__intro h2 {
  margin: 0 0 12px;
  color: var(--blog-ink);
  font: 700 clamp(46px, 4vw, 60px) / 1.05 var(--serif);
  letter-spacing: -0.045em;
}

.timeline-phase__timeframe {
  margin: 0 0 22px;
  color: var(--blog-ink);
  font: italic 500 20px / 1.4 var(--sans);
  letter-spacing: -0.02em;
}

.timeline-phase__description {
  max-width: 660px;
  margin: 0;
  color: var(--blog-ink);
  font: 400 17px / 1.65 var(--sans);
  letter-spacing: -0.02em;
}

.timeline-phase__art {
  display: flex;
  min-height: 360px;
  align-items: center;
  justify-content: center;
  margin: 42px 0 0;
}

.timeline-phase__art img {
  display: block;
  width: min(100%, 650px);
  max-height: 540px;
  object-fit: contain;
  filter: drop-shadow(0 18px 26px rgba(62, 48, 80, 0.09));
}

.timeline-phase--prelaunch .timeline-phase__art img {
  width: min(100%, 671px);
}

.timeline-phase--launch .timeline-phase__art img {
  width: min(100%, 590px);
}

.timeline-phase--postlaunch .timeline-phase__art img {
  width: min(100%, 620px);
}

.timeline-phase__timeline {
  position: relative;
  --timeline-progress: 0;
  padding-top: 10px;
}

.timeline-phase__rail {
  position: absolute;
  top: 18px;
  bottom: 12px;
  left: 18px;
  width: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee8f1;
}

.timeline-phase__rail span {
  display: block;
  width: 100%;
  height: calc(var(--timeline-progress) * 100%);
  border-radius: inherit;
  background: linear-gradient(180deg, #fba7d6 0%, #a9a6ff 46%, #84e8bb 100%);
  transition: height 140ms linear;
}

.timeline-group {
  position: relative;
  padding: 0 0 74px 72px;
  --timeline-accent: #a855f7;
  --timeline-accent-soft: #f5e8ff;
}

.timeline-group:last-child {
  padding-bottom: 0;
}

.timeline-group--pink {
  --timeline-accent: #ec4899;
  --timeline-accent-soft: #fce7f3;
}

.timeline-group--purple {
  --timeline-accent: #8b5cf6;
  --timeline-accent-soft: #ede9fe;
}

.timeline-group--green {
  --timeline-accent: #16a34a;
  --timeline-accent-soft: #dcfce7;
}

.timeline-group--blue {
  --timeline-accent: #0891b2;
  --timeline-accent-soft: #cffafe;
}

.timeline-group--yellow {
  --timeline-accent: #d39a00;
  --timeline-accent-soft: #fef9c3;
}

.timeline-group--orange {
  --timeline-accent: #ea580c;
  --timeline-accent-soft: #ffedd5;
}

.timeline-group__marker {
  position: absolute;
  z-index: 2;
  top: 2px;
  left: 9px;
  width: 20px;
  height: 20px;
  border: 6px solid var(--timeline-accent-soft);
  border-radius: 50%;
  background: var(--timeline-accent);
  box-shadow: 0 0 0 5px #fff;
}

.timeline-group__label {
  margin: 0 0 32px;
  color: var(--timeline-accent);
  font: 600 18px / 1.3 var(--sans);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.timeline-group__items {
  display: grid;
  gap: 28px;
}

.timeline-item {
  max-width: 560px;
}

.timeline-item h3 {
  margin: 0 0 7px;
  color: var(--blog-ink);
  font: 600 20px / 1.3 var(--sans);
  letter-spacing: -0.025em;
}

.timeline-item p {
  margin: 0;
  color: var(--blog-ink);
  font: 400 16px / 1.6 var(--sans);
  letter-spacing: -0.02em;
}

.timeline-phase--reverse .timeline-phase__timeline {
  padding-right: 0;
}

.timeline-phase--reverse .timeline-phase__rail {
  right: 18px;
  left: auto;
}

.timeline-phase--reverse .timeline-group {
  padding: 0 72px 74px 0;
  text-align: right;
}

.timeline-phase--reverse .timeline-group:last-child {
  padding-bottom: 0;
}

.timeline-phase--reverse .timeline-group__marker {
  right: 9px;
  left: auto;
}

.timeline-phase--reverse .timeline-item {
  margin-left: auto;
}

.blog-mistakes {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 112px;
  background: linear-gradient(180deg, #f6fbff 0%, #fffef0 100%);
}

.blog-mistakes::before {
  opacity: 0.025;
}

.blog-mistakes__head {
  max-width: 920px;
  margin: 0 auto 52px;
  text-align: center;
}

.blog-mistakes__head .section-pill {
  margin-right: auto;
  margin-left: auto;
}

.blog-mistakes__head h2 {
  margin: 0 0 16px;
  color: var(--blog-ink);
  font: 700 clamp(44px, 4vw, 60px) / 1.08 var(--serif);
  letter-spacing: -0.045em;
}

.blog-mistakes__head > p:last-child {
  margin: 0;
  color: var(--blog-ink);
  font: 400 17px / 1.6 var(--sans);
}

.mistake-card {
  position: relative;
  min-height: 230px;
  padding: 34px 28px 42px;
  overflow: visible;
  border: 1px solid rgba(62, 48, 80, 0.07);
  border-radius: 16px;
  background: #f3ebff;
  text-align: center;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.mistake-card--2 {
  background: #fde8f3;
}

.mistake-card--3 {
  background: #dcfce7;
}

.mistake-card--4 {
  background: #dff3ff;
}

.mistake-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 42px rgba(62, 48, 80, 0.12);
}

.mistake-card h3 {
  margin: 0 0 13px;
  color: var(--blog-ink);
  font: 600 19px / 1.35 var(--sans);
  letter-spacing: -0.025em;
}

.mistake-card p {
  margin: 0;
  color: var(--blog-ink);
  font: 400 15px / 1.6 var(--sans);
}

.mistake-card > span {
  position: absolute;
  z-index: 2;
  bottom: -5px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blog-purple);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.72);
  transform: translateX(-50%);
}

.mistake-card--2 > span {
  background: #ec4899;
}

.mistake-card--3 > span {
  background: #16a34a;
}

.mistake-card--4 > span {
  background: #0284c7;
}

.blog-summary {
  overflow: hidden;
  padding: 116px 0 126px;
  background: #fff;
}

.blog-summary__layout {
  --bs-gutter-x: clamp(3rem, 7vw, 8rem);
}

.blog-summary__visual {
  position: relative;
  width: min(100%, 500px);
  margin: 0 auto;
  padding: 22px;
}

.blog-summary__visual > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.98;
  border-radius: 20px;
  object-fit: cover;
  object-position: center 38%;
  box-shadow: 0 24px 48px rgba(25, 18, 38, 0.18);
  transform: rotate(-4deg);
}

.blog-summary__badge {
  position: absolute;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 1px solid rgba(62, 48, 80, 0.12);
  border-radius: 999px;
  color: var(--blog-ink);
  background: #fff;
  box-shadow: 0 10px 24px rgba(62, 48, 80, 0.12);
  font: 600 14px / 1.25 var(--sans);
  white-space: nowrap;
}

.blog-summary__badge--top {
  top: 0;
  left: 0;
  background: #fff8c9;
  transform: rotate(-7deg);
}

.blog-summary__badge--bottom {
  right: 0;
  bottom: 0;
  transform: rotate(-4deg);
}

.blog-summary__copy .section-pill {
  margin-bottom: 18px;
}

.blog-summary__copy h2 {
  margin: 0 0 18px;
  color: var(--blog-ink);
  font: 700 clamp(44px, 4vw, 60px) / 1.03 var(--serif);
  letter-spacing: -0.045em;
}

.blog-summary__intro,
.blog-summary__closing {
  margin: 0;
  color: var(--blog-ink);
  font: 400 17px / 1.6 var(--sans);
}

.blog-summary__copy ul {
  display: grid;
  gap: 14px;
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.blog-summary__copy li {
  position: relative;
  padding-left: 32px;
  color: var(--blog-ink);
  font: 400 16px / 1.55 var(--sans);
}

.blog-summary__check {
  position: absolute;
  top: 0.2em;
  left: 0;
  width: 18px;
  height: 18px;
  overflow: visible;
}

.blog-summary__closing {
  font-weight: 600;
}

.blog-timeline-page .faq {
  padding: 106px 0 118px;
  background: #fff;
}

.blog-timeline-page .faq__intro {
  max-width: 1100px;
  margin-bottom: 54px;
}

.blog-timeline-page .faq__intro h2 {
  font-size: clamp(44px, 4vw, 60px);
}

.blog-timeline-page .faq__list {
  max-width: 1132px;
}

.blog-timeline-page .contact {
  padding: 112px 0 118px;
  background: linear-gradient(110deg, #dda0f9 0%, #c287f5 47%, #8e82f8 100%);
}

.blog-timeline-page .contact__grid {
  --bs-gutter-x: clamp(3rem, 7vw, 8.5rem);
}

.blog-timeline-page .contact__copy h2 {
  font-size: clamp(44px, 4vw, 60px);
}

.blog-timeline-page .contact__lede {
  font-size: 17px;
}

.blog-timeline-page .contact__lede--strong {
  font-weight: 600;
}

.blog-timeline-page .contact-form {
  background: rgba(229, 224, 255, 0.72);
}

.blog-timeline-page .contact-form__field input,
.blog-timeline-page .contact-form__field select,
.blog-timeline-page .contact-form__field textarea {
  background-color: rgba(191, 178, 248, 0.72);
}

@media (max-width: 1199.98px) {
  .blog-hero {
    padding: 42px 0 96px;
  }

  .blog-hero__summary,
  .blog-hero__description,
  .blog-hero__prompt {
    max-width: 980px;
    font-size: 16px;
  }

  .timeline-phase {
    padding: 92px 0 104px;
  }

  .timeline-phase__layout,
  .blog-summary__layout,
  .blog-timeline-page .contact__grid {
    --bs-gutter-x: 4rem;
  }

  .timeline-group {
    padding-left: 60px;
  }

  .timeline-phase--reverse .timeline-group {
    padding-right: 60px;
  }

  .timeline-item h3 {
    font-size: 18px;
  }

  .timeline-item p {
    font-size: 15px;
  }

  .mistake-card {
    min-height: 220px;
  }
}

@media (max-width: 991.98px) {
  .blog-hero h1 {
    font-size: clamp(44px, 7vw, 58px);
  }

  .timeline-phase__intro-inner {
    position: static;
    max-width: 760px;
    margin: 0 auto 58px;
    text-align: center;
  }

  .timeline-phase__intro .section-pill {
    margin-right: auto;
    margin-left: auto;
  }

  .timeline-phase__description {
    margin-right: auto;
    margin-left: auto;
  }

  .timeline-phase__art {
    min-height: 0;
    margin-top: 34px;
  }

  .timeline-phase__art img,
  .timeline-phase--prelaunch .timeline-phase__art img,
  .timeline-phase--launch .timeline-phase__art img,
  .timeline-phase--postlaunch .timeline-phase__art img {
    width: min(100%, 560px);
    max-height: 430px;
  }

  .timeline-phase__timeline {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .timeline-phase--reverse .timeline-phase__rail {
    right: auto;
    left: 18px;
  }

  .timeline-phase--reverse .timeline-group {
    padding: 0 0 68px 72px;
    text-align: left;
  }

  .timeline-phase--reverse .timeline-group__marker {
    right: auto;
    left: 9px;
  }

  .timeline-phase--reverse .timeline-item {
    margin-left: 0;
  }

  .blog-mistakes,
  .blog-summary,
  .blog-timeline-page .faq,
  .blog-timeline-page .contact {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .blog-summary__visual {
    margin-bottom: 28px;
  }

  .blog-summary__copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
  }

  .blog-summary__copy .section-pill {
    margin-right: auto;
    margin-left: auto;
  }

  .blog-summary__copy li {
    text-align: left;
  }
}

@media (max-width: 767.98px) {
  .blog-hero {
    padding: 32px 0 70px;
  }

  .blog-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.08;
  }

  .blog-hero h1 br {
    display: none;
  }

  .blog-hero__summary,
  .blog-hero__description,
  .blog-hero__prompt {
    font-size: 15px;
    line-height: 1.62;
  }

  .blog-hero__prompt {
    margin-top: 26px;
  }

  .blog-hero__phases {
    display: grid;
    width: 100%;
    gap: 11px;
    max-width: 390px;
    margin: 32px auto 0;
  }

  .blog-hero__phase {
    width: 100%;
    min-height: 44px;
    padding: 10px 18px;
    font-size: 12px;
  }

  .timeline-phase {
    padding: 64px 0 72px;
  }

  .timeline-phase > .container.shell {
    width: calc(100% - 28px);
    max-width: none;
    padding-right: 0;
    padding-left: 0;
  }

  .timeline-phase__layout {
    --bs-gutter-x: 0;
    width: 100%;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  .timeline-phase__layout > [class*="col-"],
  .timeline-phase__intro,
  .timeline-phase__timeline {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-right: 0;
    padding-left: 0;
  }

  .timeline-phase__intro-inner {
    margin-bottom: 44px;
    text-align: left;
  }

  .timeline-phase__intro .section-pill {
    margin-left: 0;
  }

  .timeline-phase__intro h2 {
    font-size: clamp(38px, 11vw, 48px);
  }

  .timeline-phase__timeframe {
    margin-bottom: 17px;
    font-size: 17px;
  }

  .timeline-phase__description {
    font-size: 15px;
  }

  .timeline-phase__art {
    margin-top: 28px;
  }

  .timeline-phase__art img,
  .timeline-phase--prelaunch .timeline-phase__art img,
  .timeline-phase--launch .timeline-phase__art img,
  .timeline-phase--postlaunch .timeline-phase__art img {
    width: min(100%, 440px);
    max-height: 330px;
  }

  .timeline-phase__rail,
  .timeline-phase--reverse .timeline-phase__rail {
    left: 12px;
  }

  .timeline-group,
  .timeline-phase--reverse .timeline-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0 4px 54px 46px;
  }

  .timeline-group__marker,
  .timeline-phase--reverse .timeline-group__marker {
    top: 2px;
    left: 4px;
    width: 18px;
    height: 18px;
    border-width: 5px;
    box-shadow: 0 0 0 4px #fff;
  }

  .timeline-group__label {
    margin-bottom: 24px;
    font-size: 15px;
  }

  .timeline-group__items {
    gap: 23px;
  }

  .timeline-item {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding-right: 2px;
  }

  .timeline-item h3 {
    font-size: 17px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .timeline-item p {
    font-size: 14px;
    line-height: 1.58;
    overflow-wrap: anywhere;
  }

  .blog-mistakes,
  .blog-summary,
  .blog-timeline-page .faq,
  .blog-timeline-page .contact {
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .blog-mistakes__head {
    margin-bottom: 36px;
  }

  .blog-mistakes__head h2,
  .blog-summary__copy h2,
  .blog-timeline-page .faq__intro h2,
  .blog-timeline-page .contact__copy h2 {
    font-size: clamp(36px, 10vw, 46px);
  }

  .blog-mistakes__head > p:last-child,
  .blog-summary__intro,
  .blog-summary__closing,
  .blog-timeline-page .contact__lede {
    font-size: 15px;
  }

  .mistake-card {
    min-height: 0;
    padding: 28px 24px 40px;
  }

  .blog-summary__visual {
    width: min(100%, 410px);
    padding: 18px;
  }

  .blog-summary__badge {
    min-height: 40px;
    padding: 9px 13px;
    font-size: 11px;
  }

  .blog-summary__copy li {
    padding-left: 27px;
    font-size: 14px;
  }
}

@media (max-width: 575.98px) {
  .blog-hero__inner {
    width: calc(100% - 28px);
  }

  .blog-timeline-page .section-pill {
    min-height: 34px !important;
    padding: 7px 15px !important;
  }

  .blog-summary__visual {
    width: calc(100% - 8px);
    padding: 13px;
  }

  .blog-summary__badge--top {
    left: -4px;
  }

  .blog-summary__badge--bottom {
    right: -4px;
  }

  .blog-timeline-page .faq__intro {
    margin-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-hero__phase,
  .mistake-card,
  .timeline-phase__rail span {
    transition: none !important;
  }

  .timeline-phase__timeline {
    --timeline-progress: 1 !important;
  }
}
