/* Heart Latch: footer pages (About, Terms, Privacy, Your data rights, Support) */

.hl-info-page {
  background: var(--hl-cream);
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hl-info {
  display: block;
  color: var(--hl-ink);
}

.hl-info *,
.hl-info *::before,
.hl-info *::after {
  box-sizing: border-box;
}

.hl-info :where(h1, h2, h3, p, ul, ol, address) {
  margin: 0;
  padding: 0;
}

.hl-info a:focus-visible,
.hl-info button:focus-visible,
.hl-info summary:focus-visible,
.hl-info input:focus-visible,
.hl-info textarea:focus-visible {
  outline: 3px solid var(--hl-berry);
  outline-offset: 3px;
}

/* Headline band */

.hl-info__hero {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  min-height: 340px;
  padding: 150px 0 48px;
  background: var(--hl-deep);
  color: var(--hl-cream);
  isolation: isolate;
}

.hl-info__heroin {
  position: relative;
  width: 100%;
  max-width: var(--hl-wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.hl-info__title {
  max-width: 14ch;
  overflow: hidden;
  padding-bottom: .08em;
  font-size: clamp(42px, 7vw, 88px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--hl-cream);
  text-wrap: balance;
}

.hl-info__title span {
  display: block;
}

.hl-info__lead {
  max-width: 34em;
  margin-top: 18px;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(247, 245, 239, .8);
}

.hl-info__meta {
  margin-top: 20px;
  font-size: 14px;
  color: rgba(247, 245, 239, .55);
}

.hl-info__latch {
  position: absolute;
  right: -28px;
  top: 22px;
  z-index: -1;
  width: 168px;
  height: auto;
  overflow: visible;
  opacity: .9;
}

.hl-info__lobe--left rect {
  fill: var(--hl-coral);
}

.hl-info__lobe--right rect {
  fill: var(--hl-berry);
}

.hl-info__lock rect {
  fill: var(--hl-plum);
}

.hl-info__lock circle {
  fill: var(--hl-deep);
}

/* About: the photo reel behind the headline */

.hl-info__hero--film {
  min-height: min(74vh, 680px);
}

.hl-info__hero--film .hl-reel {
  z-index: -2;
}

.hl-info__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 18, 32, .35) 0%, rgba(11, 18, 32, .1) 35%, rgba(11, 18, 32, .88) 100%);
}

/* Body */

.hl-info__body {
  max-width: var(--hl-wrap);
  margin: 0 auto;
  padding: 24px 20px 72px;
}

.hl-doc {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
  color: #4A1F3E;
}

.hl-doc h2 {
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--hl-ink);
  scroll-margin-top: 96px;
}

.hl-doc p + p,
.hl-doc p + ul,
.hl-doc ul + p,
.hl-doc p + ol,
.hl-doc p + address,
.hl-doc address + p {
  margin-top: 14px;
}

.hl-doc strong {
  font-weight: 600;
  color: var(--hl-ink);
}

.hl-doc a {
  color: var(--hl-berry);
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .25s var(--hl-ease), color .2s;
}

.hl-doc a:hover {
  color: var(--hl-plum);
  background-size: 100% 2px;
}

.hl-sec {
  padding: 40px 0;
  border-top: 1px solid var(--hl-line);
}

.hl-sec:first-child,
.hl-summary + .hl-sec {
  border-top: 0;
}

.hl-doc ul {
  list-style: none;
}

.hl-doc ul li {
  position: relative;
  padding-left: 26px;
}

.hl-doc ul li + li {
  margin-top: 8px;
}

.hl-doc ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--hl-coral);
}

.hl-steps {
  margin-top: 18px;
  list-style: none;
  counter-reset: hl-step;
}

.hl-steps li {
  position: relative;
  padding-left: 52px;
  counter-increment: hl-step;
}

.hl-steps li + li {
  margin-top: 18px;
}

.hl-steps li::before {
  content: counter(hl-step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hl-coral);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.hl-steps strong {
  display: block;
}

.hl-big {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
  color: var(--hl-ink);
}

.hl-note {
  margin-top: 22px !important;
  padding: 16px 20px;
  border-radius: 16px;
  background: var(--hl-blush);
  color: var(--hl-plum);
}

.hl-summary {
  margin-top: 16px;
  padding: 24px 26px;
  border: 1px solid var(--hl-line);
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 24px 40px -34px rgba(17, 24, 39, .5);
}

.hl-address {
  margin-top: 16px;
  padding-left: 18px;
  border-left: 3px solid var(--hl-coral);
  font-style: normal;
  line-height: 1.6;
  color: var(--hl-ink);
}

.hl-rights {
  margin-top: 18px;
}

/* About: the app tour beside the steps */

.hl-sec--film {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hl-sec__device {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hl-sec__device .hl-phone {
  width: min(70vw, 290px);
  padding: 9px;
  border-radius: 50px;
}

.hl-sec__device .hl-phone__screen {
  border-radius: 41px;
}

.hl-sec__device .hl-phone__island {
  top: 18px;
  height: 22px;
}

.hl-info__reelmeta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px !important;
  font-size: 14px;
  color: rgba(247, 245, 239, .72);
}

/* On this page */

.hl-toc {
  display: none;
}

.hl-toc__title {
  margin-bottom: 12px !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--hl-ink);
}

.hl-toc__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--hl-line);
}

.hl-toc__list a {
  display: block;
  padding: 6px 0 6px 16px;
  font-size: 15px;
  line-height: 1.35;
  color: var(--hl-muted);
  text-decoration: none;
  transition: color .2s;
}

.hl-toc__list a:hover,
.hl-toc__list a.is-on {
  color: var(--hl-ink);
  text-decoration: none;
}

.hl-toc__list a.is-on {
  font-weight: 600;
}

.hl-toc__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--hl-coral);
  transition: transform .35s var(--hl-ease), height .35s var(--hl-ease);
}

/* Support */

.hl-support {
  display: grid;
  gap: 8px;
}

.hl-faq h2,
.hl-contact h2 {
  margin-bottom: 18px;
}

.hl-faq__item {
  border-bottom: 1px solid var(--hl-line);
}

.hl-faq__item summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-size: 19px;
  font-weight: 600;
  color: var(--hl-ink);
  list-style: none;
  cursor: pointer;
}

.hl-faq__item summary::-webkit-details-marker {
  display: none;
}

.hl-faq__item summary::before,
.hl-faq__item summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--hl-coral);
  transition: transform .3s var(--hl-ease);
}

.hl-faq__item summary::after {
  transform: rotate(90deg);
}

.hl-faq__item[open] summary::after {
  transform: rotate(0deg);
}

.hl-faq__answer {
  padding: 0 0 20px;
  color: #4A1F3E;
}

.hl-faq__item[open] .hl-faq__answer {
  animation: hl-open .35s var(--hl-ease) both;
}

@keyframes hl-open {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.hl-contact {
  border-top: 0;
}

.hl-contact__lead {
  margin: -6px 0 22px !important;
  color: var(--hl-muted);
}

.hl-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hl-form__error {
  padding: 12px 16px;
  border-radius: 12px;
  background: #FCE4EC;
  color: var(--hl-plum);
  font-size: 16px;
}

.hl-field {
  position: relative;
}

.hl-field__input {
  display: block;
  width: 100%;
  height: 60px;
  padding: 24px 16px 8px;
  border: 1px solid var(--hl-line);
  border-radius: 14px;
  background: #FFFFFF;
  color: var(--hl-ink);
  font: inherit;
  font-size: 17px;
  line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}

.hl-field__input--area {
  height: auto;
  min-height: 160px;
  padding-top: 30px;
  resize: vertical;
}

.hl-field__input:focus {
  outline: none;
  border-color: var(--hl-berry);
  box-shadow: 0 0 0 4px rgba(154, 107, 18, .14);
}

.hl-field__label {
  position: absolute;
  left: 17px;
  top: 19px;
  margin: 0;
  font-size: 17px;
  color: var(--hl-muted);
  pointer-events: none;
  transform-origin: 0 0;
  transition: transform .2s var(--hl-ease), color .2s;
}

.hl-field__input:focus + .hl-field__label,
.hl-field__input:not(:placeholder-shown) + .hl-field__label {
  transform: translateY(-11px) scale(.76);
  color: var(--hl-berry);
}

.hl-form__send {
  align-self: flex-start;
  min-width: 180px;
}

.hl-sent {
  padding: 40px 28px;
  border-radius: 24px;
  background: #FFFFFF;
  border: 1px solid var(--hl-line);
  text-align: center;
}

.hl-sent__latch {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 22px;
  overflow: visible;
}

.hl-sent__lobe--left rect {
  fill: var(--hl-coral);
}

.hl-sent__lobe--right rect {
  fill: var(--hl-berry);
}

.hl-sent__lock rect {
  fill: var(--hl-plum);
}

.hl-sent__lock circle {
  fill: #FFFFFF;
}

.hl-sent h2 {
  margin-bottom: 8px;
}

.hl-sent p {
  margin-bottom: 24px !important;
  color: var(--hl-muted);
}

/* More pages */

.hl-more {
  border-top: 1px solid var(--hl-line);
}

.hl-more__inner {
  max-width: var(--hl-wrap);
  margin: 0 auto;
  padding: 48px 20px 56px;
}

.hl-more__title {
  margin-bottom: 16px !important;
  font-size: 15px;
  font-weight: 500;
  color: var(--hl-muted);
}

.hl-more__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 36px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hl-more__list a {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--hl-ink);
  text-decoration: none;
}

.hl-more__list a span {
  background: linear-gradient(var(--hl-coral), var(--hl-coral)) 0 100% / 0 3px no-repeat;
  transition: background-size .35s var(--hl-ease), color .2s;
}

.hl-more__list a:hover {
  color: var(--hl-ink);
  text-decoration: none;
}

.hl-more__list a:hover span {
  background-size: 100% 3px;
}

/* The top bar lines up with the page, and sits flush on the headline band */

.hl-info-page .top-header {
  margin-bottom: 0;
}

.hl-info-page .top-header .container {
  max-width: var(--hl-wrap);
  padding-right: 20px;
  padding-left: 20px;
}

@media (min-width: 768px) {

  .hl-info-page .top-header .container {
    padding-right: 32px;
    padding-left: 32px;
  }
}

/* The page's footer sits on cream, like the home page */

.hl-info-page #main-footer {
  max-width: var(--hl-wrap);
  margin: 0 auto;
  padding: 32px 20px 48px;
  background: transparent !important;
}

.hl-info-page #main-footer .wrap {
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Motion: the headline arrives once the loader lifts, sections rise in as you read */

@media (prefers-reduced-motion: no-preference) {

  .hl-info__title span {
    animation: hl-title-in .9s var(--hl-ease) .1s both;
  }

  .hl-info__lead {
    animation: hl-fade-up .8s var(--hl-ease) .3s both;
  }

  .hl-info__meta {
    animation: hl-fade-up .8s var(--hl-ease) .42s both;
  }

  .hl-info__lobe {
    animation: hl-lobe 1.1s var(--hl-ease) .15s both;
  }

  .hl-info__lobe--left {
    --hl-from: -90px;
  }

  .hl-info__lobe--right {
    --hl-from: 90px;
  }

  .hl-info__lock {
    transform-origin: 266px 266px;
    animation: hl-lock .55s cubic-bezier(.3, 1.5, .5, 1) 1s both, hl-breathe 3.2s ease-in-out 2s infinite;
  }

  .hl-info__hero--film .hl-info__heroin {
    animation: hl-fade-up 1s var(--hl-ease) .1s both;
  }

  html.hl-loading:not(.hl-loaded) .hl-info__hero *,
  html.hl-loading:not(.hl-loaded) .hl-info__hero--film .hl-info__heroin {
    animation-play-state: paused;
  }

  .hl-sent__lobe {
    animation: hl-lobe 1s var(--hl-ease) .2s both;
  }

  .hl-sent__lobe--left {
    --hl-from: -70px;
  }

  .hl-sent__lobe--right {
    --hl-from: 70px;
  }

  .hl-sent__lock {
    transform-origin: 266px 266px;
    animation: hl-lock .5s cubic-bezier(.3, 1.5, .5, 1) 1s both;
  }
}

@keyframes hl-title-in {
  from { transform: translateY(105%); }
  to   { transform: translateY(0); }
}

@keyframes hl-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes hl-lobe {
  from { transform: translateX(var(--hl-from)); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes hl-lock {
  from { transform: scale(.3); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes hl-breathe {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

/* Wider screens */

@media (min-width: 768px) {

  .hl-info__hero {
    min-height: 420px;
    padding: 120px 0 64px;
  }

  .hl-info__hero--film {
    min-height: min(78vh, 720px);
  }

  .hl-info__latch {
    right: 6%;
    top: auto;
    bottom: 48px;
    width: min(32vw, 400px);
    opacity: 1;
  }

  .hl-info__heroin {
    padding: 0 min(36vw, 440px) 0 32px;
  }

  .hl-info__hero--film .hl-info__heroin {
    padding-right: 32px;
  }

  .hl-info__body {
    padding: 32px 32px 88px;
  }

  .hl-sec {
    padding: 48px 0;
  }

  .hl-sec--film {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
  }

  .hl-more__inner {
    padding: 56px 32px 64px;
  }

  .hl-info-page #main-footer {
    padding: 32px 32px 56px;
  }
}

@media (min-width: 1100px) {

  .hl-info__body--toc {
    display: grid;
    grid-template-columns: 220px minmax(0, 720px);
    column-gap: 88px;
  }

  .hl-toc {
    position: sticky;
    top: 96px;
    display: block;
    align-self: start;
    margin-top: 56px;
  }

  .hl-toc__list {
    position: relative;
  }

  .hl-support {
    grid-template-columns: minmax(0, 1fr) 440px;
    column-gap: 72px;
    align-items: start;
  }

  .hl-info--support .hl-doc {
    max-width: none;
  }

  .hl-contact {
    position: sticky;
    top: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .hl-toc__marker,
  .hl-doc a,
  .hl-more__list a span,
  .hl-field__label,
  .hl-faq__item summary::after {
    transition: none;
  }
}
