/* ==========================================================================
   Prototype timeline Adwaves
   Isolated classes: aw-prototype-* and aw-roadmap*
   ========================================================================== */

.aw-prototype-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, #fffaf5 0%, #fffaf5 22%, #f6f0e9 100%);
  color: var(--off-black);
  letter-spacing: 0;
}

.aw-prototype-page img {
  max-width: 100%;
  height: auto;
}

.aw-prototype-nav {
  width: min(1200px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.aw-prototype-nav__brand {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
  color: var(--off-black);
}

.aw-prototype-nav__tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 79, 1, 0.18);
  border-radius: 999px;
  background: rgba(255, 79, 1, 0.08);
  color: var(--orange);
  font-family: var(--font-alt);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.aw-prototype-hero,
.aw-prototype-close {
  width: min(940px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.aw-prototype-hero {
  padding: 76px 0 44px;
}

.aw-prototype-hero h1,
.aw-prototype-close h2 {
  margin: 14px 0 0;
  font-family: var(--font-title);
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 700;
  line-height: 0.94;
  letter-spacing: 0;
}

.aw-prototype-hero p:not(.eyebrow),
.aw-prototype-close p:not(.eyebrow) {
  max-width: 730px;
  margin: 24px auto 0;
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 19px;
  line-height: 1.55;
}

.aw-roadmap {
  --aw-day: 132px;
  --aw-label: 154px;
  --aw-total-days: 16;
  --aw-progress: 0;
  --aw-line: rgba(16, 16, 16, 0.08);
  position: relative;
  min-height: 310vh;
  padding: 30px 0 120px;
}

.aw-roadmap__sticky {
  position: sticky;
  top: 28px;
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
}

.aw-roadmap__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 450px);
  gap: 34px;
  align-items: end;
  margin-bottom: 24px;
}

.aw-roadmap__head .eyebrow {
  text-align: left;
}

.aw-roadmap__head h2 {
  margin: 10px 0 0;
  max-width: 760px;
  font-family: var(--font-title);
  font-size: clamp(42px, 5.2vw, 72px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0;
}

.aw-roadmap__outcome {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  margin: 18px 0 0;
  padding: 0 16px;
  border: 1px solid rgba(255, 79, 1, 0.20);
  border-radius: 999px;
  background: rgba(255, 79, 1, 0.08);
  color: var(--orange);
  font-family: var(--font-alt);
  font-size: 15px;
  font-weight: 900;
  line-height: 1;
}

.aw-roadmap__head p:not(.eyebrow) {
  margin: 0;
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}

.aw-roadmap__board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 58px rgba(16, 16, 16, 0.10);
  backdrop-filter: blur(12px);
}

.aw-roadmap__toolbar {
  min-height: 64px;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(16, 16, 16, 0.07);
}

.aw-roadmap__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  min-height: 500px;
}

.aw-roadmap__month,
.aw-roadmap__view {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--off-black);
  font-family: var(--font-alt);
  font-size: 14px;
  font-weight: 800;
}

.aw-roadmap__month span {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 47%, #fff 47% 53%, transparent 53%),
    linear-gradient(180deg, transparent 47%, #fff 47% 53%, transparent 53%),
    var(--orange);
  box-shadow: 0 8px 18px rgba(255, 79, 1, 0.22);
}

.aw-roadmap__view span {
  color: var(--slate);
  font-weight: 700;
}

.aw-roadmap__view b {
  min-width: 48px;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--off-black);
  color: #fff;
  text-align: center;
  line-height: 1;
}

.aw-roadmap__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-width: 0;
  min-height: 500px;
  background:
    linear-gradient(90deg, rgba(16, 16, 16, 0.05) 1px, transparent 1px) var(--aw-label) 0 / var(--aw-day) 100%,
    linear-gradient(180deg, transparent 0, transparent 39px, rgba(16, 16, 16, 0.05) 40px, transparent 41px);
}

.aw-roadmap__canvas {
  position: relative;
  width: calc(var(--aw-label) + (var(--aw-day) * var(--aw-total-days)));
  min-height: 500px;
  padding-bottom: 18px;
  will-change: transform;
  transition: transform 0.12s linear;
}

.aw-roadmap__days {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: var(--aw-label) repeat(14, var(--aw-day)) calc(var(--aw-day) * 2);
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid rgba(16, 16, 16, 0.06);
}

.aw-roadmap__days b {
  padding-left: 8px;
  color: #7c838d;
  font-family: var(--font-alt);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  text-align: left;
}

.aw-roadmap__marker {
  position: absolute;
  z-index: 6;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: var(--orange);
  box-shadow: 0 0 0 1px rgba(255, 79, 1, 0.16), 0 0 30px rgba(255, 79, 1, 0.20);
  transform: translateX(var(--aw-marker-x, 220px));
  transition: transform 0.12s linear;
}

.aw-roadmap__marker span {
  position: absolute;
  top: 43px;
  left: 50%;
  width: 13px;
  height: 13px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: var(--orange);
  box-shadow: 0 8px 22px rgba(255, 79, 1, 0.34);
  transform: translate(-50%, -50%);
}

.aw-roadmap__lanes {
  position: relative;
  z-index: 2;
  padding: 12px 0 16px;
}

.aw-roadmap__lane {
  position: relative;
  display: grid;
  grid-template-columns: var(--aw-label) 1fr;
  min-height: 74px;
  margin: 0 0 7px;
}

.aw-roadmap__lane-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 0 14px;
  padding: 0 16px 0 4px;
  border-right: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 0;
  background: transparent;
  color: #66707c;
  overflow: hidden;
}

.aw-roadmap__lane-label span {
  display: block;
  max-width: none;
  font-family: var(--font-alt);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
  transform: none;
  white-space: normal;
}

.aw-roadmap__lane-content {
  min-width: 0;
  display: grid;
  gap: 5px;
  align-content: center;
  padding: 5px 0;
}

.aw-roadmap__lane-row {
  display: grid;
  grid-template-columns: repeat(var(--aw-total-days), var(--aw-day));
  min-height: 32px;
  align-items: center;
}

.aw-roadmap__bar {
  grid-column: var(--start) / span var(--span);
  min-width: 0;
  min-height: 30px;
  padding: 4px 14px 4px 6px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  border: 1px solid rgba(16, 16, 16, 0.10);
  border-radius: 8px;
  background: #fff;
  color: #23272f;
  box-shadow: 0 8px 18px rgba(16, 16, 16, 0.08);
  opacity: 0.56;
  transform: translateY(2px) scale(0.985);
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.aw-roadmap__bar strong,
.aw-roadmap__bar small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.aw-roadmap__bar strong {
  align-self: end;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.05;
}

.aw-roadmap__bar small {
  align-self: start;
  color: var(--slate);
  font-family: var(--font-alt);
  font-size: 10px;
  font-weight: 600;
  line-height: 1.15;
}

.aw-roadmap__icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 24px;
  min-width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(16, 16, 16, 0.06);
  color: var(--off-black);
}

.aw-roadmap__icon svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.aw-roadmap__bar--prep {
  border-color: rgba(91, 100, 112, 0.18);
}

.aw-roadmap__bar--site,
.aw-roadmap__bar--launch {
  border-color: rgba(255, 79, 1, 0.18);
}

.aw-roadmap__bar--google {
  border-color: rgba(47, 122, 226, 0.20);
}

.aw-roadmap__bar--proof,
.aw-roadmap__bar--system {
  border-color: rgba(31, 157, 85, 0.22);
}

.aw-roadmap__bar--site .aw-roadmap__icon,
.aw-roadmap__bar--launch .aw-roadmap__icon {
  background: rgba(255, 79, 1, 0.11);
  color: var(--orange);
}

.aw-roadmap__bar--google .aw-roadmap__icon {
  background: rgba(47, 122, 226, 0.11);
  color: #2f6fe4;
}

.aw-roadmap__bar--proof .aw-roadmap__icon,
.aw-roadmap__bar--system .aw-roadmap__icon {
  background: var(--green-soft);
  color: var(--green);
}

.aw-roadmap__bar--launch {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.aw-roadmap__bar--launch small {
  color: rgba(255, 255, 255, 0.82);
}

.aw-roadmap__bar--launch .aw-roadmap__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.aw-roadmap__bar--system {
  background: #e8f8ef;
  border-color: rgba(31, 157, 85, 0.46);
}

.aw-roadmap__bar.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  box-shadow: 0 12px 28px rgba(16, 16, 16, 0.12);
}

.aw-roadmap__bar.is-current {
  border-color: var(--orange);
  box-shadow: 0 16px 32px rgba(255, 79, 1, 0.18);
}

.aw-roadmap__notes {
  position: relative;
  z-index: 8;
  min-height: 188px;
  width: 100%;
}

.aw-roadmap__note {
  position: relative;
  display: none;
  padding: 18px 20px;
  border-radius: 22px 22px 6px 22px;
  background: var(--off-black);
  color: #fff;
  box-shadow: 0 18px 42px rgba(16, 16, 16, 0.22);
  opacity: 0;
  transform: translateY(0);
}

.aw-roadmap__note.is-visible {
  display: block;
  opacity: 1;
}

.aw-roadmap__note span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 20px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(255, 79, 1, 0.20);
  color: #ffb091;
  font-family: var(--font-alt);
  font-size: 11px;
  font-weight: 900;
}

.aw-roadmap__note strong {
  display: block;
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1.05;
}

.aw-roadmap__note p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.35;
}

.aw-roadmap__side {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
  border-left: 1px solid rgba(16, 16, 16, 0.07);
  background: linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}

.aw-roadmap__credibility {
  padding: 18px;
  border: 1px solid rgba(16, 16, 16, 0.08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 16, 16, 0.06);
}

.aw-roadmap__credibility span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--font-alt);
  font-size: 12px;
  font-weight: 900;
}

.aw-roadmap__credibility strong {
  display: block;
  margin-top: 14px;
  color: var(--off-black);
  font-family: var(--font-title);
  font-size: 23px;
  line-height: 1.04;
}

.aw-roadmap__credibility p {
  margin: 9px 0 0;
  color: var(--slate);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.38;
}

.aw-roadmap__cta {
  margin-top: auto;
  display: flex;
  min-height: 74px;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 18px 38px rgba(255, 79, 1, 0.30);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.aw-roadmap__cta:hover {
  background: #e84600;
  box-shadow: 0 22px 44px rgba(255, 79, 1, 0.38);
  transform: translateY(-2px);
}

.aw-roadmap__cta:focus-visible {
  outline: 3px solid rgba(255, 79, 1, 0.28);
  outline-offset: 4px;
}

.aw-roadmap.is-cta-ready .aw-roadmap__cta {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.aw-roadmap.is-cta-ready .aw-roadmap__cta:hover {
  transform: translateY(-2px);
}

.aw-roadmap__cta strong {
  font-family: var(--font-title);
  font-size: 22px;
  line-height: 1.02;
}

.aw-roadmap__cta span {
  font-family: var(--font-alt);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  opacity: 0.86;
}

.aw-roadmap-mobile {
  display: none;
}

.aw-prototype-close {
  padding: 80px 0 120px;
}

.aw-prototype-close h2 {
  font-size: clamp(34px, 5vw, 58px);
}

.aw-prototype-close .btn {
  margin-top: 28px;
}

@media (max-width: 1100px) {
  .aw-roadmap {
    --aw-day: 118px;
    --aw-label: 138px;
  }

  .aw-roadmap__sticky {
    width: min(980px, calc(100% - 40px));
  }

  .aw-roadmap__head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .aw-roadmap__head p:not(.eyebrow) {
    max-width: 720px;
  }

  .aw-roadmap__notes {
    min-height: 170px;
  }
}

@media (max-width: 1199px) {
  .aw-prototype-nav {
    width: min(720px, calc(100% - 32px));
    min-height: 68px;
  }

  .aw-prototype-nav__brand {
    font-size: 32px;
  }

  .aw-prototype-nav__tag {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .aw-prototype-hero,
  .aw-prototype-close {
    width: min(720px, calc(100% - 32px));
  }

  .aw-prototype-hero {
    padding: 54px 0 28px;
  }

  .aw-prototype-hero h1 {
    font-size: clamp(38px, 11vw, 58px);
    line-height: 0.98;
  }

  .aw-prototype-hero p:not(.eyebrow),
  .aw-prototype-close p:not(.eyebrow) {
    margin-top: 18px;
    font-size: 16px;
  }

  .aw-roadmap {
    min-height: auto;
    padding: 30px 0 70px;
  }

  .aw-roadmap__sticky {
    position: relative;
    top: auto;
    width: min(720px, calc(100% - 32px));
  }

  .aw-roadmap__head {
    margin-bottom: 20px;
  }

  .aw-roadmap__head h2 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: 0.98;
  }

  .aw-roadmap__head .eyebrow {
    text-align: center;
  }

  .aw-roadmap__head,
  .aw-roadmap__head p:not(.eyebrow) {
    text-align: center;
  }

  .aw-roadmap__outcome {
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .aw-roadmap__board {
    display: none;
  }

  .aw-roadmap-mobile {
    position: relative;
    display: grid;
    gap: 16px;
    padding: 8px 0 0 30px;
  }

  .aw-roadmap-mobile__rail {
    position: absolute;
    left: 8px;
    top: 14px;
    bottom: 18px;
    width: 3px;
    border-radius: 999px;
    background: #d9dde3;
    overflow: hidden;
  }

  .aw-roadmap-mobile__rail span {
    display: block;
    width: 100%;
    height: 0;
    border-radius: inherit;
    background: var(--orange);
    transition: height 0.18s linear;
  }

  .aw-roadmap-mobile__step {
    position: relative;
    min-height: 136px;
    padding: 18px 18px 18px;
    border: 1px solid rgba(16, 16, 16, 0.08);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 16, 16, 0.07);
    opacity: 0.62;
    transform: translateY(8px);
    transition: opacity 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
  }

  .aw-roadmap-mobile__step::before {
    content: "";
    position: absolute;
    left: -29px;
    top: 26px;
    width: 14px;
    height: 14px;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #a8afb8;
    box-shadow: 0 0 0 3px rgba(16, 16, 16, 0.06);
  }

  .aw-roadmap-mobile__step span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255, 79, 1, 0.09);
    color: var(--orange);
    font-family: var(--font-alt);
    font-size: 12px;
    font-weight: 900;
  }

  .aw-roadmap-mobile__step strong {
    display: block;
    margin-top: 14px;
    color: var(--off-black);
    font-family: var(--font-title);
    font-size: 24px;
    line-height: 1.02;
  }

  .aw-roadmap-mobile__step p {
    margin: 10px 0 0;
    color: var(--slate);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.42;
  }

  .aw-roadmap-mobile__step--parallel {
    border-color: rgba(255, 79, 1, 0.18);
    background: #fff7f2;
  }

  .aw-roadmap-mobile__step--launch {
    background: var(--orange);
    color: #fff;
  }

  .aw-roadmap-mobile__step--launch span {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }

  .aw-roadmap-mobile__step--launch strong,
  .aw-roadmap-mobile__step--launch p {
    color: #fff;
  }

  .aw-roadmap-mobile__step--launch p {
    opacity: 0.84;
  }

  .aw-roadmap-mobile__credibility {
    padding: 16px;
    border: 1px solid rgba(31, 157, 85, 0.18);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(16, 16, 16, 0.07);
  }

  .aw-roadmap-mobile__credibility span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--green-soft);
    color: var(--green);
    font-family: var(--font-alt);
    font-size: 12px;
    font-weight: 900;
  }

  .aw-roadmap-mobile__credibility p {
    margin: 10px 0 0;
    color: var(--slate);
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.42;
  }

  .aw-roadmap-mobile__cta {
    display: grid;
    gap: 5px;
    padding: 18px;
    border-radius: 20px;
    background: var(--off-black);
    color: #fff;
    box-shadow: 0 16px 34px rgba(16, 16, 16, 0.18);
    font-family: var(--font-title);
    font-size: 22px;
    line-height: 1.05;
  }

  .aw-roadmap-mobile__cta span {
    font-family: var(--font-alt);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    opacity: 0.74;
  }

  .aw-roadmap-mobile__step.is-active {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(255, 79, 1, 0.24);
  }

  .aw-roadmap-mobile__step.is-active::before {
    background: var(--orange);
    box-shadow: 0 0 0 3px rgba(255, 79, 1, 0.16);
  }

  .aw-prototype-close {
    padding: 56px 0 86px;
  }
}

@media (max-width: 520px) {
  .aw-prototype-nav {
    width: calc(100% - 24px);
  }

  .aw-prototype-nav__brand {
    font-size: 28px;
  }

  .aw-prototype-nav__tag {
    max-width: 126px;
    text-align: center;
    justify-content: center;
  }

  .aw-prototype-hero,
  .aw-prototype-close,
  .aw-roadmap__sticky {
    width: calc(100% - 24px);
  }

  .aw-roadmap-mobile {
    padding-left: 28px;
  }

  .aw-roadmap-mobile__step {
    min-height: 148px;
    padding: 16px;
  }

  .aw-roadmap-mobile__step strong {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aw-roadmap__canvas,
  .aw-roadmap__marker,
  .aw-roadmap__bar,
  .aw-roadmap__note,
  .aw-roadmap-mobile__rail span,
  .aw-roadmap-mobile__step {
    transition: none !important;
  }
}
