/* LovelikeTH public How It Works page — scoped Soft Liquid Glass styles. */
body.ll-howitworks-public-page {
  --ll-hiw-bg: #f7f7fc;
  --ll-hiw-surface: rgba(255, 255, 255, 0.82);
  --ll-hiw-surface-strong: #ffffff;
  --ll-hiw-border: rgba(111, 71, 184, 0.16);
  --ll-hiw-border-strong: rgba(111, 71, 184, 0.28);
  --ll-hiw-heading: #211a35;
  --ll-hiw-text: #554d69;
  --ll-hiw-muted: #756d88;
  --ll-hiw-purple: #7546d8;
  --ll-hiw-purple-strong: #5c2abf;
  --ll-hiw-pink: #e84fa4;
  --ll-hiw-cyan: #1597b7;
  --ll-hiw-focus: #2d78d4;
  --ll-hiw-shadow: 0 22px 55px rgba(67, 38, 119, 0.12);
  --ll-hiw-shadow-soft: 0 13px 34px rgba(67, 38, 119, 0.09);
  background: var(--ll-hiw-bg);
  color: var(--ll-hiw-text);
}

body.theme-dark.ll-howitworks-public-page,
body.theme-dark-ocean.ll-howitworks-public-page {
  --ll-hiw-bg: #130f21;
  --ll-hiw-surface: rgba(36, 29, 54, 0.86);
  --ll-hiw-surface-strong: #241d36;
  --ll-hiw-border: rgba(196, 174, 239, 0.18);
  --ll-hiw-border-strong: rgba(196, 174, 239, 0.32);
  --ll-hiw-heading: #f5f1ff;
  --ll-hiw-text: #d2cae2;
  --ll-hiw-muted: #aaa0bd;
  --ll-hiw-purple: #a680ff;
  --ll-hiw-purple-strong: #8f64f0;
  --ll-hiw-pink: #ff78bd;
  --ll-hiw-cyan: #52c8e4;
  --ll-hiw-focus: #8fc4ff;
  --ll-hiw-shadow: 0 24px 58px rgba(0, 0, 0, 0.3);
  --ll-hiw-shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.24);
}

body.ll-howitworks-public-page .page {
  min-width: 0;
  overflow: hidden;
  padding-top: 108px !important;
  background:
    radial-gradient(circle at 8% 12%, rgba(232, 79, 164, 0.13), transparent 27rem),
    radial-gradient(circle at 92% 18%, rgba(117, 70, 216, 0.15), transparent 30rem),
    radial-gradient(circle at 48% 66%, rgba(21, 151, 183, 0.08), transparent 34rem),
    var(--ll-hiw-bg);
}

body.ll-howitworks-public-page .page-main > .my-3,
body.ll-howitworks-public-page .page-main > .my-md-5 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.ll-howitworks-public-page .page-main > .my-3 > .container {
  min-width: 0;
}

.ll-hiw-page,
.ll-hiw-page * {
  box-sizing: border-box;
}

.ll-hiw-page {
  width: 100%;
  min-width: 0;
  padding: 0 0 clamp(4.5rem, 8vw, 7rem);
  color: var(--ll-hiw-text);
  font-family: inherit;
  overflow-wrap: break-word;
  word-break: normal;
}

.ll-hiw-page h1,
.ll-hiw-page h2,
.ll-hiw-page h3,
.ll-hiw-page p {
  max-width: 100%;
}

.ll-hiw-page h1,
.ll-hiw-page h2,
.ll-hiw-page h3 {
  color: var(--ll-hiw-heading);
  font-weight: 700;
  text-wrap: balance;
}

.ll-hiw-page p {
  text-wrap: pretty;
}

.ll-hiw-eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0.52rem 0.85rem;
  border: 1px solid rgba(117, 70, 216, 0.18);
  border-radius: 999px;
  background: rgba(117, 70, 216, 0.1);
  color: var(--ll-hiw-purple-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.ll-hiw-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: clamp(310px, 39vw, 470px);
  align-items: center;
  justify-content: center;
  padding: clamp(3.8rem, 8vw, 7rem) clamp(1rem, 4vw, 2.5rem) clamp(3.4rem, 7vw, 6rem);
  text-align: center;
}

.ll-hiw-hero::before {
  position: absolute;
  z-index: -2;
  width: min(940px, 92vw);
  height: min(420px, 50vw);
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(126, 78, 220, 0.16), rgba(232, 79, 164, 0.06) 48%, transparent 72%);
  content: "";
  filter: blur(2px);
  pointer-events: none;
}

.ll-hiw-hero__glow {
  position: absolute;
  z-index: -1;
  display: block;
  border-radius: 50%;
  pointer-events: none;
}

.ll-hiw-hero__glow--one {
  top: 14%;
  left: 10%;
  width: clamp(110px, 16vw, 220px);
  height: clamp(110px, 16vw, 220px);
  background: rgba(232, 79, 164, 0.12);
  filter: blur(34px);
}

.ll-hiw-hero__glow--two {
  right: 7%;
  bottom: 8%;
  width: clamp(130px, 19vw, 260px);
  height: clamp(130px, 19vw, 260px);
  background: rgba(21, 151, 183, 0.12);
  filter: blur(38px);
}

.ll-hiw-hero__copy {
  display: flex;
  width: min(920px, 100%);
  min-width: 0;
  align-items: center;
  flex-direction: column;
}

.ll-hiw-hero .ll-hiw-eyebrow {
  margin-bottom: 1.3rem;
}

.ll-hiw-hero h1 {
  margin: 0;
  color: var(--ll-hiw-heading);
  font-size: clamp(2.35rem, 5.6vw, 4.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.ll-hiw-hero h1 span {
  display: inline-block;
  background: linear-gradient(100deg, var(--ll-hiw-purple-strong), var(--ll-hiw-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ll-hiw-hero__description {
  width: min(720px, 100%);
  margin: 1.35rem auto 0;
  color: var(--ll-hiw-text);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.85;
}

.ll-hiw-video-section {
  position: relative;
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 0 clamp(0rem, 2vw, 1rem);
}

.ll-hiw-video-label {
  display: flex;
  width: -webkit-fit-content;
  width: fit-content;
  max-width: min(100%, 470px);
  min-width: 0;
  margin: 0 auto 1.15rem;
  padding: 0.78rem 1rem 0.78rem 0.82rem;
  align-items: center;
  gap: 0.82rem;
  border: 1px solid var(--ll-hiw-border);
  border-radius: 1rem;
  background: var(--ll-hiw-surface);
  box-shadow: var(--ll-hiw-shadow-soft);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

.ll-hiw-video-label__icon {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  flex: 0 0 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.78rem;
  background: #7546d8;
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 9px 20px rgba(92, 42, 191, 0.22);
}

.ll-hiw-video-label__copy {
  min-width: 0;
}

.ll-hiw-video-label h2 {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.ll-hiw-video-label p {
  margin: 0.12rem 0 0;
  color: var(--ll-hiw-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.ll-hiw-video-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--ll-hiw-border-strong);
  border-radius: clamp(1.15rem, 2.5vw, 1.75rem);
  background: #1c142d;
  box-shadow: var(--ll-hiw-shadow);
}

.ll-hiw-video-card__trigger {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: inherit;
  background: #1c142d;
  color: #fff;
  cursor: pointer;
}

.ll-hiw-video-card__trigger img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.92;
  transform: scale(1.015);
  transition: opacity 0.3s ease, transform 0.45s ease;
}

.ll-hiw-video-card__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 10, 36, 0.08) 20%, rgba(18, 10, 36, 0.74) 100%),
    linear-gradient(90deg, rgba(18, 10, 36, 0.22), transparent 58%);
  pointer-events: none;
}

.ll-hiw-video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  width: clamp(4rem, 8vw, 5.6rem);
  height: clamp(4rem, 8vw, 5.6rem);
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #5c2abf;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  box-shadow: 0 18px 46px rgba(12, 4, 27, 0.34);
  transform: translate(-50%, -50%);
  transition: background-color 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.ll-hiw-video-card__play i {
  margin-left: 0.18em;
}

.ll-hiw-video-card__caption {
  position: absolute;
  right: clamp(1rem, 3vw, 2.1rem);
  bottom: clamp(1rem, 3vw, 2rem);
  left: clamp(1rem, 3vw, 2.1rem);
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  pointer-events: none;
}

.ll-hiw-video-card__caption strong {
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.22rem);
  font-weight: 700;
  line-height: 1.4;
}

.ll-hiw-video-card__caption span {
  margin-top: 0.18rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.75rem, 1.4vw, 0.88rem);
  line-height: 1.5;
}

.ll-hiw-video-card__trigger:hover img {
  opacity: 1;
  transform: scale(1.045);
}

.ll-hiw-video-card__trigger:hover .ll-hiw-video-card__play {
  background: #fff;
  transform: translate(-50%, -50%) scale(1.07);
}

.ll-hiw-video-card__trigger:focus {
  outline: none;
}

.ll-hiw-video-card__trigger:focus-visible {
  outline: 3px solid var(--ll-hiw-focus);
  outline-offset: -5px;
}

.ll-hiw-video-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.ll-hiw-video-card__noscript {
  position: absolute;
  right: 1rem;
  bottom: 0.8rem;
  left: 1rem;
  z-index: 2;
  margin: 0;
  color: #fff;
  font-size: 0.82rem;
  text-align: center;
}

.ll-hiw-video-card__noscript a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.ll-hiw-video-card--empty {
  display: flex;
  min-height: 300px;
  aspect-ratio: auto;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  background: var(--ll-hiw-surface);
  color: var(--ll-hiw-text);
  text-align: left;
}

.ll-hiw-video-card--empty__icon {
  display: inline-flex;
  width: 3.6rem;
  height: 3.6rem;
  flex: 0 0 3.6rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(117, 70, 216, 0.12);
  color: var(--ll-hiw-purple-strong);
  font-size: 1.25rem;
}

.ll-hiw-video-card--empty h3 {
  margin: 0;
  font-size: 1.1rem;
}

.ll-hiw-video-card--empty p {
  margin: 0.3rem 0 0;
  color: var(--ll-hiw-muted);
  line-height: 1.6;
}

.ll-hiw-steps-section {
  width: min(1120px, 100%);
  margin: clamp(5rem, 10vw, 8rem) auto 0;
}

.ll-hiw-section-heading {
  display: flex;
  width: min(760px, 100%);
  margin: 0 auto clamp(2.7rem, 6vw, 4.5rem);
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.ll-hiw-section-heading .ll-hiw-eyebrow {
  margin-bottom: 1rem;
}

.ll-hiw-section-heading h2 {
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.24;
}

.ll-hiw-section-heading > p:last-child {
  width: min(650px, 100%);
  margin: 1rem auto 0;
  color: var(--ll-hiw-muted);
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  line-height: 1.8;
}

.ll-hiw-steps {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.2vw, 2rem);
  list-style: none;
}

.ll-hiw-steps::before {
  position: absolute;
  top: 27px;
  right: 9%;
  left: 9%;
  z-index: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7546d8 0%, #e84fa4 37%, #ee9b31 63%, #1597b7 100%);
  content: "";
  opacity: 0.9;
}

.ll-hiw-step {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.ll-hiw-step__number {
  display: inline-flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 5px solid var(--ll-hiw-bg);
  border-radius: 50%;
  background: linear-gradient(135deg, #7546d8, #e84fa4);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 9px 24px rgba(92, 42, 191, 0.24);
}

.ll-hiw-step__icon {
  display: inline-flex;
  width: 76px;
  height: 76px;
  margin-top: 1.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ll-hiw-border-strong);
  border-radius: 1.2rem;
  background: var(--ll-hiw-surface-strong);
  color: var(--ll-hiw-cyan);
  font-size: 1.65rem;
  box-shadow: var(--ll-hiw-shadow-soft);
}

.ll-hiw-step__copy {
  width: 100%;
  min-width: 0;
  margin-top: 1.15rem;
  padding: 0 0.35rem;
}

.ll-hiw-step h3 {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.45;
}

.ll-hiw-step p {
  margin: 0.5rem auto 0;
  color: var(--ll-hiw-muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.ll-hiw-cta {
  position: relative;
  isolation: isolate;
  display: flex;
  width: min(1040px, 100%);
  min-width: 0;
  margin: clamp(5.5rem, 11vw, 9rem) auto 0;
  padding: clamp(2rem, 5vw, 3.8rem);
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: clamp(1.3rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.2), transparent 28%),
    linear-gradient(125deg, #4f24ae 0%, #7546d8 53%, #d94d9e 100%);
  color: #fff;
  box-shadow: 0 28px 70px rgba(76, 31, 156, 0.26);
}

.ll-hiw-cta::after {
  position: absolute;
  right: -5rem;
  bottom: -8rem;
  z-index: -1;
  width: 19rem;
  height: 19rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.04), 0 0 0 6rem rgba(255, 255, 255, 0.025);
}

.ll-hiw-cta__copy {
  min-width: 0;
}

.ll-hiw-cta .ll-hiw-eyebrow {
  margin-bottom: 0.9rem;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.ll-hiw-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3.5vw, 2.55rem);
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.ll-hiw-cta__copy > p:last-child {
  width: min(590px, 100%);
  margin: 0.8rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
  line-height: 1.75;
}

.ll-hiw-cta__button {
  display: inline-flex;
  min-width: 0;
  min-height: 50px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: #fff;
  color: #4b219f !important;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 13px 30px rgba(24, 7, 63, 0.2);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ll-hiw-cta__button:hover,
.ll-hiw-cta__button:focus {
  background: #f4efff;
  color: #3e178d !important;
  box-shadow: 0 16px 34px rgba(24, 7, 63, 0.28);
  transform: translateY(-2px);
}

.ll-hiw-cta__button:focus {
  outline: none;
}

.ll-hiw-cta__button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.ll-hiw-cta__button:active {
  transform: translateY(0);
}

@media (max-width: 991.98px) {
  body.ll-howitworks-public-page .page {
    padding-top: 98px !important;
  }

  .ll-hiw-hero {
    min-height: 340px;
    padding-top: 4.2rem;
  }

  .ll-hiw-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .ll-hiw-steps::before {
    display: none;
  }

  .ll-hiw-step {
    display: grid;
    min-height: 210px;
    padding: 1.3rem;
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 0.9rem 1rem;
    align-items: start;
    border: 1px solid var(--ll-hiw-border);
    border-radius: 1.25rem;
    background: var(--ll-hiw-surface);
    box-shadow: var(--ll-hiw-shadow-soft);
    text-align: left;
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
  }

  .ll-hiw-step__number {
    width: 48px;
    height: 48px;
    border-width: 4px;
    grid-column: 1;
    grid-row: 1;
  }

  .ll-hiw-step__icon {
    width: 52px;
    height: 52px;
    margin: 0;
    grid-column: 1;
    grid-row: 2;
    border-radius: 0.9rem;
    font-size: 1.2rem;
  }

  .ll-hiw-step__copy {
    margin: 0;
    padding: 0;
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .ll-hiw-step h3 {
    margin-top: 0.2rem;
    font-size: 1.08rem;
  }

  .ll-hiw-step p {
    margin-top: 0.6rem;
    font-size: 0.9rem;
  }

  .ll-hiw-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767.98px) {
  body.ll-howitworks-public-page .page {
    padding-top: 90px !important;
  }

  body.ll-howitworks-public-page .page-main > .my-3 > .container {
    width: 100%;
    max-width: none;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .ll-hiw-hero {
    min-height: 300px;
    padding: 3.3rem 0.2rem 3.7rem;
  }

  .ll-hiw-hero h1 {
    letter-spacing: -0.035em;
  }

  .ll-hiw-hero__description {
    margin-top: 1.1rem;
    line-height: 1.75;
  }

  .ll-hiw-video-label {
    margin-right: auto;
    margin-left: auto;
  }

  .ll-hiw-video-card__caption span {
    display: none;
  }

  .ll-hiw-steps-section {
    margin-top: 4.8rem;
  }

  .ll-hiw-section-heading {
    margin-bottom: 2.5rem;
  }

  .ll-hiw-cta {
    margin-top: 5rem;
  }

  .ll-hiw-cta__button {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .ll-hiw-page {
    padding-bottom: 4rem;
  }

  .ll-hiw-eyebrow {
    font-size: 0.73rem;
  }

  .ll-hiw-hero {
    min-height: 280px;
  }

  .ll-hiw-hero h1 {
    font-size: clamp(2.05rem, 12vw, 3rem);
    line-height: 1.16;
  }

  .ll-hiw-hero h1 span {
    display: block;
    margin-top: 0.12em;
  }

  .ll-hiw-video-label {
    width: 100%;
    padding-right: 0.85rem;
  }

  .ll-hiw-video-card {
    border-radius: 1.05rem;
  }

  .ll-hiw-video-card__play {
    width: 3.8rem;
    height: 3.8rem;
  }

  .ll-hiw-video-card__caption {
    right: 0.9rem;
    bottom: 0.75rem;
    left: 0.9rem;
  }

  .ll-hiw-steps {
    display: block;
  }

  .ll-hiw-steps::before {
    top: 21px;
    bottom: 21px;
    left: 21px;
    display: block;
    width: 3px;
    height: auto;
    background: linear-gradient(180deg, #7546d8 0%, #e84fa4 38%, #ee9b31 67%, #1597b7 100%);
  }

  .ll-hiw-step {
    display: grid;
    min-height: 0;
    margin: 0;
    padding: 0 0 2rem;
    grid-template-columns: 44px 50px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0.75rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .ll-hiw-step:last-child {
    padding-bottom: 0;
  }

  .ll-hiw-step__number {
    width: 44px;
    height: 44px;
    border-width: 4px;
    grid-column: 1;
    grid-row: 1;
    font-size: 0.9rem;
  }

  .ll-hiw-step__icon {
    width: 50px;
    height: 50px;
    grid-column: 2;
    grid-row: 1;
    font-size: 1.1rem;
  }

  .ll-hiw-step__copy {
    grid-column: 3;
    grid-row: 1;
  }

  .ll-hiw-step h3 {
    margin-top: 0.08rem;
    font-size: 1rem;
  }

  .ll-hiw-step p {
    margin-top: 0.32rem;
    font-size: 0.82rem;
    line-height: 1.65;
  }

  .ll-hiw-cta {
    padding: 1.7rem 1.15rem;
    border-radius: 1.25rem;
  }
}

@media (max-width: 359.98px) {
  body.ll-howitworks-public-page .page-main > .my-3 > .container {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .ll-hiw-step {
    grid-template-columns: 42px 46px minmax(0, 1fr);
    gap: 0.55rem;
  }

  .ll-hiw-step__number {
    width: 42px;
    height: 42px;
  }

  .ll-hiw-step__icon {
    width: 46px;
    height: 46px;
  }
}

@media (prefers-color-scheme: dark) {
  body.ll-howitworks-public-page:not(.theme-light) {
    --ll-hiw-bg: #130f21;
    --ll-hiw-surface: rgba(36, 29, 54, 0.86);
    --ll-hiw-surface-strong: #241d36;
    --ll-hiw-border: rgba(196, 174, 239, 0.18);
    --ll-hiw-border-strong: rgba(196, 174, 239, 0.32);
    --ll-hiw-heading: #f5f1ff;
    --ll-hiw-text: #d2cae2;
    --ll-hiw-muted: #aaa0bd;
    --ll-hiw-purple: #a680ff;
    --ll-hiw-purple-strong: #8f64f0;
    --ll-hiw-pink: #ff78bd;
    --ll-hiw-cyan: #52c8e4;
    --ll-hiw-focus: #8fc4ff;
    --ll-hiw-shadow: 0 24px 58px rgba(0, 0, 0, 0.3);
    --ll-hiw-shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.24);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-hiw-page *,
  .ll-hiw-page *::before,
  .ll-hiw-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .ll-hiw-video-card__trigger:hover img,
  .ll-hiw-video-card__trigger:hover .ll-hiw-video-card__play,
  .ll-hiw-cta__button:hover,
  .ll-hiw-cta__button:focus {
    transform: none;
  }
}

/* How It Works public UI refresh — 2026-08-27.
 * Aligns this page with the finalized LovelikeTH Soft Liquid Glass public system.
 * Functional login/redirect behavior is intentionally unchanged.
 */
body.ll-howitworks-public-page {
  --ll-hiw-bg: #f6f3fc;
  --ll-hiw-surface: rgba(255, 255, 255, 0.72);
  --ll-hiw-surface-strong: rgba(255, 255, 255, 0.86);
  --ll-hiw-border: rgba(116, 68, 210, 0.14);
  --ll-hiw-border-strong: rgba(116, 68, 210, 0.20);
  --ll-hiw-heading: #281c43;
  --ll-hiw-text: #3d3550;
  --ll-hiw-muted: #81798e;
  --ll-hiw-purple: #7444d2;
  --ll-hiw-purple-strong: #5d2fbe;
  --ll-hiw-pink: #ff76b4;
  --ll-hiw-focus: #7444d2;
  --ll-hiw-shadow: 0 22px 55px rgba(55, 25, 113, 0.11);
  --ll-hiw-shadow-soft: 0 13px 34px rgba(55, 25, 113, 0.08);
}

body.ll-howitworks-public-page .page {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 118, 180, 0.09), transparent 27rem),
    radial-gradient(circle at 92% 18%, rgba(116, 68, 210, 0.11), transparent 30rem),
    linear-gradient(180deg, #f8f5ff 0%, #f4f1fb 54%, #fbfaff 100%);
}

/* Finalized public badge geometry, shared visually with /services. */
.ll-hiw-eyebrow {
  display: inline-flex;
  min-height: 2rem;
  margin: 0;
  padding: 0.36rem 0.72rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(120, 71, 223, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  color: #5d2fbe;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.35;
  text-transform: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Hero: keep the content, reduce vertical dead space so the tutorial arrives sooner. */
.ll-hiw-hero {
  min-height: clamp(250px, 31vw, 380px);
  padding: clamp(2.6rem, 5vw, 4.7rem) clamp(1rem, 4vw, 2.5rem) clamp(2.9rem, 5.6vw, 4.8rem);
}

.ll-hiw-hero::before {
  width: min(880px, 90vw);
  height: min(350px, 43vw);
  background: radial-gradient(ellipse at center, rgba(116, 68, 210, 0.13), rgba(255, 118, 180, 0.05) 50%, transparent 72%);
}

.ll-hiw-hero__glow--one {
  background: rgba(255, 118, 180, 0.10);
}

.ll-hiw-hero__glow--two {
  background: rgba(116, 68, 210, 0.10);
}

.ll-hiw-hero .ll-hiw-eyebrow {
  margin-bottom: 1rem;
}

.ll-hiw-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
}

.ll-hiw-hero h1 span {
  background: linear-gradient(90deg, #7444d2 0%, #bc43e7 52%, #ff76b4 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.ll-hiw-hero__description {
  margin-top: 1.05rem;
  color: #655d76;
}

/* Reusable section heading: Badge → black heading → supporting copy. */
.ll-hiw-section-heading {
  width: min(790px, 100%);
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.ll-hiw-section-heading .ll-hiw-eyebrow {
  margin-bottom: 0.82rem;
}

.ll-hiw-section-heading h2 {
  margin: 0;
  background: none;
  color: #1f1f1f;
  -webkit-text-fill-color: #1f1f1f;
  font-size: clamp(1.75rem, 3.5vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.24;
}

.ll-hiw-section-heading > p:last-child {
  width: min(680px, 100%);
  margin: 0.8rem auto 0;
  color: #655d76;
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.8;
}

/* Video section uses the same heading system instead of a separate label card. */
.ll-hiw-video-section {
  width: min(1040px, 100%);
  margin: 0 auto;
  padding: 0 clamp(0rem, 2vw, 1rem);
}

.ll-hiw-video-section .ll-hiw-section-heading {
  margin-bottom: clamp(1.6rem, 3vw, 2.3rem);
}

.ll-hiw-video-card {
  border-color: rgba(116, 68, 210, 0.18);
  border-radius: clamp(1.15rem, 2.5vw, 1.7rem);
  box-shadow: 0 22px 56px rgba(55, 25, 113, 0.12);
}

.ll-hiw-video-card__play {
  background: linear-gradient(135deg, #5e2bd2 0%, #803bea 100%);
  box-shadow: 0 14px 32px rgba(94, 43, 210, 0.30);
}

/* Four-step flow: preserve the actual process and ordered-list semantics,
 * but replace the old multi-colour journey with the brand Purple/Pink system.
 */
.ll-hiw-steps-section {
  margin-top: clamp(4.8rem, 8vw, 7rem);
}

.ll-hiw-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.ll-hiw-steps::before {
  display: none;
}

.ll-hiw-step {
  position: relative;
  display: flex;
  min-height: 230px;
  padding: clamp(1.25rem, 2vw, 1.55rem);
  align-items: flex-start;
  flex-direction: column;
  border: 1px solid rgba(116, 68, 210, 0.14);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 36px rgba(55, 25, 113, 0.07);
  text-align: left;
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.ll-hiw-step:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: calc(clamp(1rem, 2vw, 1.5rem) / -2 - 0.48rem);
  z-index: 3;
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116, 68, 210, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: #7444d2;
  content: "→";
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(55, 25, 113, 0.10);
  transform: translateY(-50%);
}

.ll-hiw-step__number {
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  background: linear-gradient(135deg, #5e2bd2 0%, #803bea 65%, #ff76b4 100%);
  color: #fff;
  font-size: 0.82rem;
  box-shadow: 0 10px 24px rgba(94, 43, 210, 0.22);
}

.ll-hiw-step__icon {
  width: 3.45rem;
  height: 3.45rem;
  margin-top: 1.05rem;
  border-color: rgba(116, 68, 210, 0.15);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  color: #7444d2;
  font-size: 1.28rem;
  box-shadow: 0 12px 28px rgba(55, 25, 113, 0.07);
}

.ll-hiw-step__copy {
  margin-top: 1rem;
  padding: 0;
}

.ll-hiw-step h3 {
  color: #281c43;
  font-size: 1.08rem;
  font-weight: 800;
}

.ll-hiw-step p {
  margin-top: 0.42rem;
  color: #655d76;
  font-size: 0.88rem;
  line-height: 1.72;
}

/* Short practical preparation section; intentionally no screenshot dependency. */
.ll-hiw-ready-section {
  width: min(1040px, 100%);
  margin: clamp(4.8rem, 8vw, 7rem) auto 0;
  padding: 0 clamp(0rem, 2vw, 1rem);
}

.ll-hiw-ready-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}

.ll-hiw-ready-card {
  min-width: 0;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(116, 68, 210, 0.14);
  border-radius: 1.3rem;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 14px 34px rgba(55, 25, 113, 0.07);
  text-align: left;
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.ll-hiw-ready-card__icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(116, 68, 210, 0.15);
  border-radius: 0.95rem;
  background: linear-gradient(135deg, rgba(94, 43, 210, 0.10), rgba(255, 118, 180, 0.10));
  color: #7444d2;
  font-size: 1.08rem;
}

.ll-hiw-ready-card h3 {
  margin: 1rem 0 0;
  color: #281c43;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.45;
}

.ll-hiw-ready-card p {
  margin: 0.5rem 0 0;
  color: #655d76;
  font-size: 0.88rem;
  line-height: 1.72;
}

/* Final CTA: same light-glass family as the finalized public services page. */
.ll-hiw-cta {
  width: min(1040px, 100%);
  margin-top: clamp(4.8rem, 8vw, 7rem);
  border-color: rgba(255, 255, 255, 0.68);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 118, 180, 0.10), transparent 42%),
    radial-gradient(circle at 88% 80%, rgba(116, 68, 210, 0.08), transparent 36%),
    rgba(255, 255, 255, 0.78);
  color: #3d3550;
  box-shadow: 0 20px 54px rgba(55, 25, 113, 0.09);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
}

.ll-hiw-cta::after {
  border-color: rgba(116, 68, 210, 0.08);
  box-shadow: 0 0 0 3rem rgba(116, 68, 210, 0.025), 0 0 0 6rem rgba(255, 118, 180, 0.018);
}

.ll-hiw-cta .ll-hiw-eyebrow {
  margin-bottom: 0.82rem;
  border-color: rgba(120, 71, 223, 0.16);
  background: rgba(255, 255, 255, 0.68);
  color: #5d2fbe;
}

.ll-hiw-cta h2 {
  color: #281c43;
}

.ll-hiw-cta__copy > p:last-child {
  color: #655d76;
}

.ll-hiw-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.ll-hiw-cta__button {
  min-height: 48px;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: none;
}

.ll-hiw-cta__button--primary {
  border-color: transparent;
  background: linear-gradient(135deg, #5e2bd2 0%, #803bea 100%);
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(94, 43, 210, 0.22);
}

.ll-hiw-cta__button--primary:hover,
.ll-hiw-cta__button--primary:focus {
  border-color: transparent;
  background: linear-gradient(135deg, #5b27c3 0%, #7444d2 100%);
  color: #fff !important;
}

.ll-hiw-cta__button--secondary {
  border-color: rgba(116, 68, 210, 0.18);
  background: rgba(255, 255, 255, 0.72);
  color: #5d2fbe !important;
}

.ll-hiw-cta__button--secondary:hover,
.ll-hiw-cta__button--secondary:focus {
  border-color: rgba(116, 68, 210, 0.30);
  background: rgba(255, 255, 255, 0.92);
  color: #5b27c3 !important;
}

/* Website dark themes: retain semantic contrast without changing the public structure. */
body.theme-dark.ll-howitworks-public-page,
body.theme-dark-ocean.ll-howitworks-public-page,
body.auto-theme-dark.ll-howitworks-public-page {
  --ll-hiw-bg: #17111d;
  --ll-hiw-surface: rgba(39, 27, 50, 0.90);
  --ll-hiw-surface-strong: rgba(45, 31, 57, 0.94);
  --ll-hiw-border: rgba(222, 197, 241, 0.13);
  --ll-hiw-border-strong: rgba(222, 197, 241, 0.20);
  --ll-hiw-heading: #f6f0fa;
  --ll-hiw-text: #d6cce0;
  --ll-hiw-muted: #b9adca;
  --ll-hiw-purple: #b892ff;
  --ll-hiw-purple-strong: #d4baff;
  --ll-hiw-pink: #ff8bc4;
  --ll-hiw-focus: #c7abff;
}

body.theme-dark.ll-howitworks-public-page .page,
body.theme-dark-ocean.ll-howitworks-public-page .page,
body.auto-theme-dark.ll-howitworks-public-page .page {
  background:
    radial-gradient(circle at 8% 12%, rgba(255, 118, 180, 0.08), transparent 27rem),
    radial-gradient(circle at 92% 18%, rgba(116, 68, 210, 0.12), transparent 30rem),
    linear-gradient(180deg, #18121f 0%, #1e1626 58%, #18121f 100%);
}

body.theme-dark.ll-howitworks-public-page .ll-hiw-section-heading h2,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-section-heading h2,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-section-heading h2 {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}

body.theme-dark.ll-howitworks-public-page .ll-hiw-eyebrow,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-eyebrow,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-eyebrow {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10);
  color: #e2d6ff;
}

body.theme-dark.ll-howitworks-public-page .ll-hiw-step,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-step,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-step,
body.theme-dark.ll-howitworks-public-page .ll-hiw-ready-card,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-ready-card,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-ready-card,
body.theme-dark.ll-howitworks-public-page .ll-hiw-cta,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-cta,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-cta {
  border-color: rgba(222, 197, 241, 0.13);
  background: rgba(39, 27, 50, 0.88);
  box-shadow: 0 18px 42px rgba(5, 2, 12, 0.24);
}

body.theme-dark.ll-howitworks-public-page .ll-hiw-step h3,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-step h3,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-step h3,
body.theme-dark.ll-howitworks-public-page .ll-hiw-ready-card h3,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-ready-card h3,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-ready-card h3,
body.theme-dark.ll-howitworks-public-page .ll-hiw-cta h2,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-cta h2,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-cta h2 {
  color: #f6f0fa;
}

body.theme-dark.ll-howitworks-public-page .ll-hiw-step p,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-step p,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-step p,
body.theme-dark.ll-howitworks-public-page .ll-hiw-ready-card p,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-ready-card p,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-ready-card p,
body.theme-dark.ll-howitworks-public-page .ll-hiw-cta__copy > p:last-child,
body.theme-dark-ocean.ll-howitworks-public-page .ll-hiw-cta__copy > p:last-child,
body.auto-theme-dark.ll-howitworks-public-page .ll-hiw-cta__copy > p:last-child {
  color: #c5b8cf;
}

@media (max-width: 991.98px) {
  .ll-hiw-hero {
    min-height: 290px;
    padding-top: 3.4rem;
    padding-bottom: 3.6rem;
  }

  .ll-hiw-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ll-hiw-step {
    display: flex;
    min-height: 210px;
    padding: 1.3rem;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    border: 1px solid rgba(116, 68, 210, 0.14);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.74);
    text-align: left;
  }

  .ll-hiw-step:not(:last-child)::after {
    display: none;
  }

  .ll-hiw-step__number,
  .ll-hiw-step__icon,
  .ll-hiw-step__copy {
    display: flex;
    grid-column: auto;
    grid-row: auto;
  }

  .ll-hiw-step__copy {
    display: block;
    margin-top: 0.9rem;
  }

  .ll-hiw-ready-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ll-hiw-ready-card:last-child {
    grid-column: 1 / -1;
  }

  .ll-hiw-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .ll-hiw-cta__actions {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .ll-hiw-hero {
    min-height: 260px;
    padding: 2.75rem 0.2rem 3.1rem;
  }

  .ll-hiw-steps-section,
  .ll-hiw-ready-section,
  .ll-hiw-cta {
    margin-top: 4.3rem;
  }

  .ll-hiw-section-heading {
    margin-bottom: 2rem;
  }

  .ll-hiw-ready-grid {
    grid-template-columns: 1fr;
  }

  .ll-hiw-ready-card:last-child {
    grid-column: auto;
  }

  .ll-hiw-cta__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ll-hiw-cta__button {
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .ll-hiw-hero {
    min-height: 240px;
  }

  .ll-hiw-section-heading h2 {
    font-size: clamp(1.6rem, 8vw, 2rem);
  }

  .ll-hiw-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.6rem;
  }

  .ll-hiw-steps::before {
    display: none;
  }

  .ll-hiw-step {
    display: grid;
    min-height: 0;
    padding: 1.2rem;
    grid-template-columns: 42px 50px minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 0.75rem;
    border: 1px solid rgba(116, 68, 210, 0.14);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 12px 30px rgba(55, 25, 113, 0.07);
  }

  .ll-hiw-step:not(:last-child)::after {
    top: auto;
    right: 50%;
    bottom: -2.2rem;
    display: inline-flex;
    width: 1.8rem;
    height: 1.8rem;
    content: "↓";
    transform: translateX(50%);
  }

  .ll-hiw-step__number {
    width: 42px;
    height: 42px;
    margin: 0;
    grid-column: 1;
    grid-row: 1;
  }

  .ll-hiw-step__icon {
    width: 50px;
    height: 50px;
    margin: 0;
    grid-column: 2;
    grid-row: 1;
  }

  .ll-hiw-step__copy {
    margin: 0;
    grid-column: 3;
    grid-row: 1;
  }

  .ll-hiw-cta__actions {
    grid-template-columns: 1fr;
  }
}

/* How It Works centered presentation + public-shell alignment — 2026-08-27.
 * Keeps the shared 1180px visible content line aligned with the public topbar,
 * while centering the page-specific presentation at every responsive tier.
 */
.ll-hiw-video-section,
.ll-hiw-steps-section,
.ll-hiw-ready-section,
.ll-hiw-cta {
  width: 100%;
  max-width: var(--ll-public-content-max, 1180px);
  margin-right: auto;
  margin-left: auto;
}

/* Remove page-specific inner insets so the visible section edges follow the
 * same left/right line as the shared public shell/topbar. */
.ll-hiw-video-section,
.ll-hiw-ready-section {
  padding-right: 0;
  padding-left: 0;
}

/* Video overlay copy follows the centered presentation used by the headings. */
.ll-hiw-video-card__caption {
  align-items: center;
  text-align: center;
}

/* Step cards: number, icon and copy share one centered visual axis. */
.ll-hiw-step {
  align-items: center;
  text-align: center;
}

.ll-hiw-step__copy {
  width: 100%;
  text-align: center;
}

.ll-hiw-step h3,
.ll-hiw-step p {
  width: 100%;
  text-align: center;
}

.ll-hiw-step p {
  margin-right: auto;
  margin-left: auto;
}

/* Preparation cards use the same centered visual grammar as the step cards. */
.ll-hiw-ready-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.ll-hiw-ready-card h3,
.ll-hiw-ready-card p {
  width: 100%;
  text-align: center;
}

.ll-hiw-ready-card p {
  margin-right: auto;
  margin-left: auto;
}

/* Final CTA is centered as a complete unit instead of split copy/actions. */
.ll-hiw-cta {
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.ll-hiw-cta__copy {
  display: flex;
  width: min(780px, 100%);
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.ll-hiw-cta__copy > p:last-child {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.ll-hiw-cta__actions {
  width: 100%;
  justify-content: center;
}

/* The mobile step layout used to switch back to a left-to-right mini grid.
 * Keep the cards vertically centered instead, with the existing down arrows. */
@media (max-width: 575.98px) {
  .ll-hiw-step {
    display: flex;
    padding: 1.35rem 1.2rem;
    align-items: center;
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .ll-hiw-step__number,
  .ll-hiw-step__icon,
  .ll-hiw-step__copy {
    grid-column: auto;
    grid-row: auto;
  }

  .ll-hiw-step__icon {
    margin-top: 1rem;
  }

  .ll-hiw-step__copy {
    margin-top: 0.9rem;
  }
}

/* How It Works step-flow arrow spacing correction — 2026-08-27.
 * Desktop arrows sit fully inside the gap between cards instead of touching
 * either card edge. Tablet keeps arrows hidden; mobile keeps the down-flow.
 */
@media (min-width: 992px) {
  .ll-hiw-steps {
    --ll-hiw-step-gap: clamp(2.5rem, 3.2vw, 2.8rem);
    --ll-hiw-step-gap-half: clamp(1.25rem, 1.6vw, 1.4rem);
    --ll-hiw-step-arrow-size: 1.65rem;
    --ll-hiw-step-arrow-half: 0.825rem;
    gap: var(--ll-hiw-step-gap);
  }

  .ll-hiw-step:not(:last-child)::after {
    right: calc(0rem - var(--ll-hiw-step-gap-half) - var(--ll-hiw-step-arrow-half));
    width: var(--ll-hiw-step-arrow-size);
    height: var(--ll-hiw-step-arrow-size);
    font-size: 0.92rem;
  }
}
