/* ──────────────────────────────────────────────────────────
   Refer a Friend page template.
   ────────────────────────────────────────────────────────── */

:root {
  --refer-navy: #1F2A78;
  --refer-navy-dark: #131A4E;
  --refer-lavender: #E6EAF5;
  --refer-green: #2E7D32;
  --refer-purple: #4B3184;
  --refer-gold: #e8a800;
  --refer-ink: #14171a;
  --refer-muted: #5B5266;
  --refer-line: #E4E4E4;
  --refer-card-shadow: 0 4px 16px rgba(20, 23, 26, 0.08);
}

.refer-hero,
.refer-how-it-works,
.refer-tc,
.refer-app,
.refer-sharing,
.refer-cta-banner,
.refer-faqs,
.refer-terms {
  font-family: 'Work Sans', sans-serif;
  color: var(--refer-ink);
}

.refer-hero :is(h1, h2, h3),
.refer-how-it-works :is(h1, h2, h3),
.refer-tc :is(h1, h2, h3),
.refer-app :is(h1, h2, h3),
.refer-sharing :is(h1, h2, h3),
.refer-cta-banner :is(h1, h2, h3),
.refer-faqs :is(h1, h2, h3),
.refer-terms :is(h1, h2, h3) {
  font-family: 'Work Sans', sans-serif !important;
}

/* Hide the theme's default archive/page header. */
.page-template-template-refer-a-friend .archive-header {
  display: none;
}

/* -- Shared buttons -- */
.refer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 28px;
  border-radius: 999px;
  font-size: 20px !important;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all .3s;
}

.refer-btn--primary {
  background: #2B5993;
  color: #fff !important;
}

.refer-btn--primary:hover {
  background: #154d92;
  transform: translateY(-1px);
}

.refer-btn--secondary {
  background: var(--refer-lavender);
  color: var(--refer-navy);
}

.refer-btn--secondary:hover {
  background: #d8dff2;
}

/* -- Hero -- */
.refer-hero {
  position: relative;
  width: 100%;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  aspect-ratio: 2380 / 990;
  min-height: 420px;
  display: flex;
  align-items: center;
}

.refer-hero__bg {
  position: absolute;
  z-index: 0;
}

.refer-parallax-bg {
  top: -8%;
  left: 0;
  right: 0;
  bottom: -8%;
  will-change: transform;
}

.refer-hero__bg-video,
.refer-hero__bg-picture,
.refer-hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refer-hero__bg-video,
.refer-hero__bg-picture {
  position: absolute;
  inset: 0;
  display: block;
}

.refer-hero__bg-picture--fallback {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .refer-hero__bg-video {
    display: none;
  }

  .refer-hero__bg-picture--fallback {
    display: block;
  }
}

.refer-hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 40, .4) 0%, rgba(10, 14, 40, .12) 40%, rgba(10, 14, 40, .4) 100%);
}

.refer-hero__container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  padding: 64px 0;
}

@media (min-width: 1024px) {
  .refer-hero__container {
    max-width: 80%;
  }
}

.refer-hero__content {
  max-width: 740px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.refer-hero__eyebrow {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: white;
}

.refer-hero__title {
  margin: 0 0 160px;
  font-size: 44px !important;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

@media (max-width: 600px) {
  .refer-hero__eyebrow {
    font-size: 16px;
  }
}

@media (min-width: 1024px) {
  .refer-hero__title {
    margin: 0 0 200px;
  }
}

.refer-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

@media (max-width: 1024px) {
  .refer-hero__actions .refer-btn {
    justify-content: center;
    margin: 0 auto;
  }
}

.refer-hero__actions .refer-btn,
.refer-cta-banner__actions .refer-btn {
  height: 65px;
  padding: 0 32px;
  font-size: 24px;
  font-weight: 600;
  min-width: 200px;
}

@media (min-width: 1024px) {
  .refer-hero__actions .refer-btn,
  .refer-cta-banner__actions .refer-btn {
    font-size: 24px !important;
  }
}

.refer-hero__actions .refer-btn,
.refer-cta-banner__actions .refer-btn {
  position: relative;
  background: rgba(20, 26, 55, .35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid transparent;
  background-clip: padding-box;
  color: #fff;
}

.refer-hero__actions .refer-btn::before,
.refer-cta-banner__actions .refer-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .85), rgba(255, 255, 255, .15) 55%, rgba(255, 255, 255, .5));
  background-size: 320% 320%;
  background-position: 0% 0%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  transition: background-position .6s ease;
}

.refer-hero__actions .refer-btn:hover,
.refer-cta-banner__actions .refer-btn:hover {
  background: rgba(20, 26, 55, .2);
  transform: translateY(-1px);
}

.refer-hero__actions .refer-btn:hover::before,
.refer-cta-banner__actions .refer-btn:hover::before {
  animation: refer-btn-border-sweep 2.4s ease-in-out infinite alternate;
}

@keyframes refer-btn-border-sweep {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 40%; }
  100% { background-position: 30% 100%; }
}

/* -- How It Works -- */
.refer-how-it-works {
  padding: 40px 0;
}

.refer-how-it-works__inner {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .refer-how-it-works__inner {
    max-width: 80%;
  }
}

.refer-how-it-works__title {
  margin: 0 0 28px;
  font-size: 28px !important;
  font-weight: 700;
}

.refer-how-it-works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.refer-how-it-works__card {
  background: #ECEAF2;
  border-radius: 20px;
  padding: 32px;
  min-height: 337px;
}

.refer-how-it-works__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}

.refer-how-it-works__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.refer-how-it-works__card-title {
  margin: 0 0 8px;
  font-size: 20px !important;
  font-weight: 700;
  max-width: 210px;
  line-height: 1.3;
}

.refer-how-it-works__card-text {
  margin: 0;
  font-size: 16px !important;
  line-height: 1.55;
  color: #000;
}

.refer-how-it-works__dots {
  display: none;
}

.refer-how-it-works__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--refer-line);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}

.refer-how-it-works__dot.is-active {
  background: var(--refer-navy);
  transform: scale(1.15);
}

/* -- Testimonial + checklist (one combined photo section) -- */
.refer-tc {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 2380 / 1132;
  min-height: 400px;
  margin: 0 0 40px;
  border-radius: 0 0 30px 30px;
}

.refer-tc__bg {
  position: absolute;
  z-index: 0;
}

.refer-tc__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refer-tc__bg::after {
  content: '';
  position: absolute;
  height: 295px;
  bottom: 0;
  left: 0;
  border-radius: 0 0 30px 30px;
  background: linear-gradient(0, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.00) 100%);
  width: 100%;
}

.refer-tc__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

@media (min-width: 1024px) {
  .refer-tc__inner {
    max-width: 80%;
  }
}

.refer-tc__card {
  position: absolute;
  z-index: 1;
  bottom: 40%;
  right: 0;
  background: #fff;
  border: 1.5px solid #2B5993;
  border-radius: 18px 18px 18px 0;
  padding: 28px;
  max-width: 420px;
}

.refer-tc__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.refer-tc__heading {
  margin: 0 0 10px;
  font-size: 20px !important;
  font-weight: 700;
}

.refer-tc__quote {
  margin: 0 0 16px;
  font-size: 16px !important;
  line-height: 1.5;
  color: #000;
}

.refer-tc__author {
  margin: 0;
  font-size: 14px !important;
  font-style: italic;
  color: #000;
}

.refer-tc__checklist {
  margin-top: auto;
  display: flex;
  gap: 32px;
  padding: 24px 0 32px;
  border-top: 1px solid white;
}

.refer-tc__checklist-item {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 1024px) {
  .refer-tc__checklist {
    min-height: 170px;
  }
}

@media (min-width: 1024px) {
  .refer-tc__checklist-item + .refer-tc__checklist-item {
    padding-left: 32px;
    border-left: 1px solid white;
  }
}

.refer-tc__checklist-heading {
  display: flex;
  align-items: flex-start;
  gap: 19px;
  margin-bottom: 6px;
}

.refer-tc__checklist-icon {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 9px;
}

.refer-tc__checklist-title {
  margin: 0;
  font-size: 20px !important;
  font-weight: 700;
  color: #fff;
}

.refer-tc__checklist-text {
  margin: 0;
  font-size: 16px !important;
  line-height: 1.5;
  color: white;
  max-width: 300px;
}

.refer-tc__checklist-progress {
  display: none;
}

.refer-tc__checklist-progress-segment {
  flex: 1 1 0;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  overflow: hidden;
}

.refer-tc--no-image .refer-tc__checklist-progress-segment {
  background: var(--refer-line);
}

.refer-tc__checklist-progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: #fff;
  transition: width linear;
}

.refer-tc--no-image .refer-tc__checklist-progress-fill {
  background: var(--refer-navy);
}

.refer-tc__checklist-progress-segment.is-complete .refer-tc__checklist-progress-fill {
  width: 100%;
  transition: none;
}

.refer-tc__checklist-progress-segment.is-active .refer-tc__checklist-progress-fill {
  width: 100%;
}

.refer-tc--no-image {
  aspect-ratio: auto;
  min-height: 0;
  background: #F8F8F8;
}

.refer-tc--no-image .refer-tc__card {
  position: static;
  margin: 32px auto 0;
}

.refer-tc--no-image .refer-tc__checklist {
  border-top-color: var(--refer-line);
}

.refer-tc--no-image .refer-tc__checklist-item + .refer-tc__checklist-item {
  border-left-color: var(--refer-line);
}

.refer-tc--no-image .refer-tc__checklist-title {
  color: var(--refer-ink);
}

.refer-tc--no-image .refer-tc__checklist-text {
  color: var(--refer-muted);
}

.refer-tc--no-image .refer-tc__checklist-icon path {
  fill: var(--refer-navy);
}

/* -- App showcase -- */
.refer-app {
  padding: 0px 0 60px 0;
}

@media (min-width: 600px) {
  .refer-app {
    padding: 60px 0;
  }
}

.refer-app__inner {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

@media (max-width: 1024px) {
  .refer-app__inner {
    flex-direction: column;
    gap: 0;
  }
}

@media (min-width: 1024px) {
  .refer-app__inner {
    max-width: 80%;
  }
}

.refer-app__image {
  position: relative;
  flex: 0 0 auto;
  max-width: 580px;
}

@media (prefers-reduced-motion: no-preference) {
  .refer-app__image {
    transition: transform .3s ease-out;
  }
}

.refer-app__image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 705px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(168, 191, 221, 0.90) 0%, rgba(203, 216, 233, 0.90) 27.88%, rgba(255, 255, 255, 0.90) 100%);
}

.refer-app__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

.refer-app__content {
  flex: 0 1 130px;
  min-width: 0;
}

@media (min-width: 1024px){
  .refer-app__content {
    flex: 0 1 560px;
  }
}

.refer-app__title {
  margin: 0 0 12px;
  font-size: 26px !important;
  font-weight: 700;
}

.refer-app__text {
  margin: 0 0 20px;
  font-size: 16px !important;
  line-height: 1.6;
  color: #000;
  max-width: 420px;
}

/* -- Sharing (Do/Don't) -- */
.refer-sharing {
  padding: 0 0 40px;
}

.refer-sharing__inner {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .refer-sharing__inner {
    max-width: 80%;
  }
}

.refer-sharing__title {
  margin: 0 0 24px;
  font-size: 26px !important;
  font-weight: 700;
}

.refer-sharing__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.refer-sharing__pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 4px 25px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(90deg, #6A78B7 0%, #5F3B6B 100%);
  color: #fff;
  font-size: 30px !important;
  font-weight: 700;
  margin-bottom: 24px;
  min-width: 180px;
}

.refer-sharing__pill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .55) 48%, transparent 66%);
  transform: translateX(-120%);
  pointer-events: none;
}

@media (min-width: 1024px) {
  .refer-sharing__pill {
    min-width: 255px;
  }
}

.refer-sharing__pill-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.refer-sharing__pill-icon svg {
  width: 32px;
  height: 32px;
}

.refer-sharing__list {
  list-style: disc;
  padding-left: 1.2em;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.refer-sharing__list-item {
  font-size: 16px;
  line-height: 1.5;
  color: var(--refer-ink);
}

.refer-sharing__note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid #2B5993;
  max-width: 410px;
}

.refer-sharing__note--desktop {
  display: none;
}

@media (min-width: 1024px) {
  .refer-sharing__note--desktop {
    display: flex;
  }

  .refer-sharing__note--mob {
    display: none !important;
  }
}

.refer-sharing__note-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.refer-sharing__note-icon svg {
  display: block;
  width: 30px;
  height: 30px;
  shape-rendering: geometricPrecision;
}

.refer-sharing__note p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #000;
}

/* -- CTA banner -- */
.refer-cta-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 2306 / 924;
  min-height: 320px;
  display: flex;
  align-items: center;
  margin: 0 0 80px;
  border-radius: 0 0 30px 30px;
}

.refer-cta-banner--no-image {
  aspect-ratio: auto;
  min-height: 0;
  background: #F8F8F8;
  padding: 48px 0;
}

.refer-cta-banner__bg {
  position: absolute;
  z-index: 0;
}

.refer-cta-banner__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.refer-cta-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 90px;
  z-index: 1;
  background: linear-gradient(to bottom, #fff 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

@media (max-width: 600px){
  .refer-cta-banner::before {
    height: 60%;
    background: linear-gradient(to bottom,#fff 60%,rgba(255,255,255,0) 100%);
  }
}

.refer-cta-banner__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .refer-cta-banner__inner {
    max-width: 80%;
    padding-bottom: 8%;
  }
}

.refer-cta-banner__content {
  max-width: 480px;
  text-align: left;
}

.refer-cta-banner__title {
  margin: 0 0 12px;
  font-size: 28px !important;
  font-weight: 700;
}

.refer-cta-banner__text {
  margin: 0 0 24px;
  font-size: 16px !important;
  line-height: 1.6;
}

.refer-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-start;
}

/* -- FAQs -- */
.refer-faqs {
  padding: 0 0 40px;
}

.refer-faqs__inner {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  display: flex;
  gap: 48px;
}

@media (min-width: 1024px) {
  .refer-faqs__inner {
    max-width: 80%;
  }
}

.refer-faqs__col--title {
  flex: 0 0 26%;
  min-width: 0;
}

.refer-faqs__col--list {
  flex: 1 1 auto;
  min-width: 0;
}

.refer-faqs__title {
  margin: 0;
  font-size: 28px !important;
  font-weight: 700;
}

@media (min-width: 1024px) {
  .refer-faqs__title {
    font-size: 55px !important;
  }
}

.refer-terms {
  padding: 0 0 40px;
}

.refer-terms__inner {
  width: 100%;
  max-width: 90%;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.7;
  color: #000;
}

@media (min-width: 1024px) {
  .refer-terms__inner {
    max-width: 80%;
  }
}

.refer-terms__inner ol {
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.refer-terms__inner strong,
.refer-terms__inner b {
  color: #000;
}

.refer-terms__inner h3 {
  font-size: 28px !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .refer-how-it-works__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: -5vw;
  }

  .refer-app__text {
    max-width: 610px;
  }

  .refer-how-it-works__grid::-webkit-scrollbar {
    display: none;
  }

  .refer-how-it-works__card {
    flex: 0 0 auto;
    width: 46%;
    scroll-snap-align: start;
  }

  .refer-how-it-works__dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
  }

  .refer-app__image {
    max-width: 440px;
    order: 2;
  }

  .refer-faqs__inner {
    flex-direction: column;
    gap: 20px;
  }

  .refer-tc {
    aspect-ratio: auto;
    min-height: 0;
    margin: 0 0 40px;
    border-radius: 0;
  }

  .refer-tc__card {
    position: static;
    margin: 24px 0 190px 0;
    padding: 19px;
    border-radius: 18px;
  }

  .refer-tc__checklist {
    flex-direction: column;
    gap: 16px;
    padding: 16px 0 24px;
    border-top: 0;
  }

  .refer-tc__checklist-progress {
    display: flex;
    gap: 0;
  }

  .refer-tc__checklist-item {
    display: none;
  }

  .refer-tc__checklist-item.is-active {
    display: block;
  }

}
@media (min-width: 601px) and (max-width: 900px) {
  .refer-app__image {
    order: 2;
  }

  .refer-app__content {
    order: 1;
  }
}

@media (max-width: 600px) {
  .refer-hero {
    aspect-ratio: auto;
    min-height: 460px;
  }

  .refer-app__image {
    max-width: 220px;
  }

  .refer-cta-banner {
    aspect-ratio: auto;
    min-height: 380px;
    margin-bottom: 50px !important;
  }

  .refer-hero__title {
    font-size: 28px !important;
  }

  .refer-how-it-works__card {
    width: 82%;
  }

  .refer-app__inner {
    flex-direction: column;
    text-align: center;
  }

  .refer-app__content {
    flex: 0 1 auto;
    text-align: left;
  }

  .refer-app__text {
    max-width: none;
  }

  .refer-app__image {
    max-width: 520px;
  }

  .refer-sharing__columns {
    grid-template-columns: 1fr;
  }

  .refer-hero__actions,
  .refer-cta-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .refer-btn {
    text-align: center;
    max-width: 200px;
    height: 55px !important;
    width: 100%;
  }
}

/* -- Scroll reveal -- */
@media (prefers-reduced-motion: no-preference) {

  .refer-js-reveal .refer-reveal {
    opacity: 0;
    transition: opacity .6s ease;
  }

  .refer-js-reveal .refer-reveal.is-visible {
    opacity: 1;
  }

  @keyframes refer-card-in {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  .refer-js-reveal .refer-reveal.is-visible .refer-how-it-works__card,
  .refer-js-reveal .refer-reveal.is-visible .refer-sharing__column,
  .refer-js-reveal .refer-reveal.is-visible .tfc-faq-item {
    animation: refer-card-in .5s ease both;
    animation-delay: var(--refer-reveal-delay, .08s);
  }

  @keyframes refer-checklist-in {
    from { opacity: 0; transform: scale(.92); }
    to   { opacity: 1; transform: scale(1); }
  }

  .refer-js-reveal .refer-reveal.is-visible .refer-tc__checklist-item {
    animation: refer-checklist-in .6s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--refer-reveal-delay, .1s);
  }

  @keyframes refer-tc-card-in {
    from { opacity: 0; transform: translate(24px, 12px); }
    to   { opacity: 1; transform: translate(0, 0); }
  }

  .refer-js-reveal .refer-reveal.is-visible .refer-tc__card {
    animation: refer-tc-card-in .6s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--refer-reveal-delay, .1s);
  }

  @keyframes refer-tc-star-in {
    from { opacity: 0; transform: scale(.4) rotate(-15deg); }
    to   { opacity: 1; transform: scale(1) rotate(0); }
  }

  .refer-js-reveal .refer-reveal.is-visible .refer-tc__star {
    animation: refer-tc-star-in .4s cubic-bezier(.34, 1.56, .64, 1) both;
    animation-delay: calc(var(--refer-reveal-delay, .1s) + .35s);
  }

  .refer-js-reveal .refer-reveal.is-visible .refer-tc__star:nth-child(2) { animation-delay: calc(var(--refer-reveal-delay, .1s) + .42s); }
  .refer-js-reveal .refer-reveal.is-visible .refer-tc__star:nth-child(3) { animation-delay: calc(var(--refer-reveal-delay, .1s) + .49s); }
  .refer-js-reveal .refer-reveal.is-visible .refer-tc__star:nth-child(4) { animation-delay: calc(var(--refer-reveal-delay, .1s) + .56s); }
  .refer-js-reveal .refer-reveal.is-visible .refer-tc__star:nth-child(5) { animation-delay: calc(var(--refer-reveal-delay, .1s) + .63s); }

  .refer-js-reveal .refer-reveal.is-visible .refer-sharing__pill::after {
    animation: refer-pill-shine 1.1s ease;
    animation-delay: calc(var(--refer-reveal-delay, .08s) + .15s);
  }

  @keyframes refer-pill-shine {
    from { transform: translateX(-120%); }
    to   { transform: translateX(120%); }
  }
}

@media (max-width: 600px) {
  .refer-faqs .tfc-faq-item .tfc-faq-question {
    padding: 12px 15px !important;
  }

  .refer-faqs #refer-faqs-458093 .tfc-faq-question-text {
    font-size: 16px !important;
  }
}
