/*
 * Streakmate additions to the supplied landing export: the Sign up button,
 * account links in the mobile menu, and the pricing section above the footer.
 * Loaded after the export's own stylesheets on the homepage only.
 */

/* The horizontal menu's only item was "The App". Hide the empty menu so it does not stay in the header. */
body.exact-home #comp-kbgakxea_r_comp-muo0vbmv9 {
  display: none;
}

/* Log in is a link now; links underline by default, the exported button did not. */
body.exact-home #comp-kbgakxea_r_comp-muo74sbp,
body.exact-home .streakmate-signup {
  text-decoration: none;
}

/* Sign up mirrors Log in's geometry and sits to its left. */
body.exact-home .streakmate-signup {
  --font: normal normal normal 16px/1.4em madefor-text, helveticaneuew01-45ligh, helveticaneuew02-45ligh, helveticaneuew10-45ligh, sans-serif;
  --color: rgba(104, 92, 192, 1);
  --label-display: initial;
  --letter-spacing: 0em;
  --line-height: unset;
  --text-decoration: none;
  --direction: inherit;
  --text-align: center;
  --text-highlight: none;
  --text-transform: none;
  --text-outline: 1px 0px transparent, -1px 0px transparent, 0px 1px transparent, 0px -1px transparent;
  --text-shadow: 0px 0px 0px transparent;
  /* Opaque so the label stays readable when the glass header crosses the purple CTA block. */
  --background: rgba(255, 255, 255, 1);
  --border-left: 1px solid rgba(104, 92, 192, 1);
  --border-right: 1px solid rgba(104, 92, 192, 1);
  --border-top: 1px solid rgba(104, 92, 192, 1);
  --border-bottom: 1px solid rgba(104, 92, 192, 1);
  --padding-bottom: 8px;
  --padding-top: 8px;
  --padding-left: 8px;
  --padding-right: 8px;
  --border-top-left-radius: 300px;
  --border-top-right-radius: 300px;
  --border-bottom-left-radius: 300px;
  --border-bottom-right-radius: 300px;
  --container-flex-direction: row-reverse;
  --container-justify-content: center;
  --container-align-items: center;
  --content-gap: 4px;
  --btn-min-width: min-content;
  --label-white-space: pre-line;
  --label-text-overflow: initial;
  --hover-background: rgba(51, 40, 95, 1);
  --hover-border-left: 1px solid rgba(51, 40, 95, 1);
  --hover-border-right: 1px solid rgba(51, 40, 95, 1);
  --hover-border-top: 1px solid rgba(51, 40, 95, 1);
  --hover-border-bottom: 1px solid rgba(51, 40, 95, 1);
  --hover-color: rgba(255, 255, 255, 1);
  position: relative;
  grid-area: 1 / 1 / 2 / 2;
  align-self: center;
  justify-self: end;
  width: 142px;
  min-width: 0;
  height: auto;
  min-height: 42px;
  margin: 0 calc(max(0.5px, 0.0121399 * (var(--scaling-factor) - var(--scrollbar-width))) + 154px) 0 0;
  pointer-events: auto;
}

@media (max-width: 1000px) {
  body.exact-home .streakmate-signup {
    order: 2;
    width: 76px;
    height: 40px;
    min-height: 0;
    margin: 0 8px 0 0;
  }
}

/* Phones keep the exported header; Sign up moves into the menu. */
@media (max-width: 750px) {
  body.exact-home .streakmate-signup {
    display: none;
  }
}

.local-navigation__account {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 6px;
}

.local-navigation .local-navigation__account a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 8px 16px;
  box-sizing: border-box;
  border: 1px solid #685cc0;
  border-radius: 300px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease;
}

.local-navigation .local-navigation__login {
  color: #685cc0;
  background: transparent;
}

.local-navigation .local-navigation__signup {
  color: #fff;
  background: #685cc0;
}

.local-navigation .local-navigation__account a:hover {
  color: #fff;
  background: #33285f;
  border-color: #33285f;
}

/* Pricing takes the row above the footer. */
body.exact-home #c1dmp .c1dmp-container {
  grid-template-rows: repeat(9, auto);
}

body.exact-home #comp-mupraou0 {
  grid-area: 9 / 1 / 10 / 2;
}

.streakmate-pricing {
  grid-area: 8 / 1 / 9 / 2;
  position: relative;
  pointer-events: auto;
  box-sizing: border-box;
  padding: 120px 46px 40px;
  color: #33285f;
  font-family: var(--brand-body), sans-serif;
  scroll-margin-top: 100px;
}

.streakmate-pricing__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.streakmate-pricing__title {
  margin: 0;
  color: #685cc0;
  font-family: var(--brand-display), sans-serif;
  font-size: clamp(30px, 4.2vw, 64px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-align: center;
  text-wrap: balance;
}

.streakmate-pricing__intervals {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid #9b8ef4;
  border-radius: 300px;
  background: #efecff;
}

.streakmate-pricing__interval {
  min-width: 112px;
  min-height: 44px;
  padding: 8px 20px;
  border: 0;
  border-radius: 300px;
  background: transparent;
  color: #33285f;
  font-size: 20px;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.4s ease, color 0.4s ease;
}

.streakmate-pricing__interval:hover {
  background: #e1ddf7;
}

.streakmate-pricing__interval[aria-pressed="true"] {
  background: #685cc0;
  color: #fff;
}

.streakmate-pricing__plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.streakmate-pricing__plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 14px;
  box-sizing: border-box;
  border: 1px solid #9b8ef4;
  border-radius: 20px;
  background: #efecff;
  box-shadow: 10.07px 11.12px 16px 0 rgba(51, 40, 95, 0.06);
}

.streakmate-pricing__panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 200px;
  padding: 22px 24px;
  box-sizing: border-box;
  border-radius: 13.5px;
  background-image: linear-gradient(135deg, #efecff, #9b8ef4, #e1ddf7);
}

.streakmate-pricing__plan[data-plan="growth"] .streakmate-pricing__panel {
  background-image: linear-gradient(150deg, #e1ddf7, #9b8ef4, #685cc0);
}

.streakmate-pricing__name {
  margin: 0;
  color: #fff;
  font-family: var(--brand-display), sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.streakmate-pricing__price {
  margin: 0;
  color: #fff;
  font-family: var(--brand-display), sans-serif;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.025em;
}

.streakmate-pricing__period {
  font-family: var(--brand-body), sans-serif;
  font-size: 20px;
  letter-spacing: normal;
}

.streakmate-pricing__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 20px;
  padding: 6px 10px 10px;
}

.streakmate-pricing__features {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 20px;
  line-height: 28px;
}

.streakmate-pricing__features li {
  position: relative;
  padding-left: 26px;
}

.streakmate-pricing__features li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9b8ef4;
}

/* Two classes so the export's `body.exact-home a { color: inherit }` doesn't win. */
.streakmate-pricing .streakmate-pricing__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: auto;
  padding: 8px 24px;
  box-sizing: border-box;
  border-radius: 300px;
  background: #685cc0;
  color: #fff;
  font-size: 20px;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.4s ease;
}

.streakmate-pricing .streakmate-pricing__cta:hover {
  background: #33285f;
}

.streakmate-pricing__terms {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
  text-align: center;
  text-wrap: balance;
}

@media (max-width: 1000px) {
  .streakmate-pricing {
    padding: 96px 32px 32px;
  }

  .streakmate-pricing__plans {
    gap: 20px;
  }

  .streakmate-pricing__price {
    font-size: 48px;
  }
}

@media (max-width: 750px) {
  .streakmate-pricing {
    padding: 64px 20px 16px;
  }

  .streakmate-pricing__inner {
    gap: 28px;
  }

  .streakmate-pricing__plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 480px;
  }

  .streakmate-pricing__panel {
    min-height: 160px;
    padding: 18px 20px;
  }

  .streakmate-pricing__name {
    font-size: 24px;
  }

  .streakmate-pricing__price {
    font-size: 44px;
  }

  .streakmate-pricing__period,
  .streakmate-pricing__interval,
  .streakmate-pricing .streakmate-pricing__cta {
    font-size: 18px;
  }

  .streakmate-pricing__features,
  .streakmate-pricing__terms {
    font-size: 16px;
    line-height: 23.2px;
  }

  .streakmate-pricing__features li::before {
    top: 7px;
  }
}

/* Feature videos and the closing CTA carry a decorative play/pause overlay.
   It does not operate the video. Hide the glyphs and their 60px frame. */
body.exact-home :is(#comp-mupj1q7a, #comp-mupg44fk) :is([data-testid="pause-icon"], [data-testid="play-icon"]) {
  display: none !important;
}

body.exact-home :is(#comp-mupj1q7a, #comp-mupg44fk) .wixui-video-box > :has(> .UCYv5s) {
  display: none !important;
}

/* The account heading replaced a four-letter label. The exported column is only
   wide enough for "shop", so "account" wraps. Size the column to the heading
   from tablet upward. A phone already gives this column half the footer. */
@media (min-width: 751px) {
  body.exact-home #comp-mupraove {
    width: max-content;
    max-width: 100%;
    flex: 0 0 auto;
  }

  body.exact-home #comp-mupraovp,
  body.exact-home #comp-mupraovp p {
    width: max-content;
    max-width: none;
    white-space: nowrap;
  }
}
