/* Coffee shop landing (pages/cafeterias.html).
   Builds on landing.css tokens and components; everything here is cf-* scoped. */

.landing-page {
  --cf-coral-text: #C2413F;
  --cf-muted: #5B6170;
  --cf-dark-muted: #C9CFDB;
  --cf-beige: #FCE9DE;
  --cf-sand: #F5EDE2;
  --cf-line: #E3DACD;
  --cf-ease: cubic-bezier(.23, 1, .32, 1);
}

/* ---------- Shared bits ---------- */

.landing-page .cf-section {
  padding: clamp(56px, 8vw, 104px) 0;
  scroll-margin-top: var(--landing-navbar-height);
}

.landing-page .cf-stack {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.landing-page .cf-stack--narrow {
  max-width: 960px;
}

.landing-page .cf-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-page .cf-head.text-center {
  align-items: center;
}

.landing-page .cf-h2 {
  margin: 0;
  text-wrap: balance;
}

.landing-page .cf-lead {
  max-width: 62ch;
  text-wrap: pretty;
}

.landing-page .cf-h3 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-navy);
  text-wrap: balance;
}

.landing-page .cf-muted {
  margin: 0;
  color: var(--cf-muted);
  font-size: 16px;
  line-height: 1.6;
}

.landing-page .cf-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--color-coral-light);
  color: var(--cf-coral-text);
  font-weight: 600;
  font-size: 13px;
}

.landing-page .cf-num {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: var(--radius-md);
  background: var(--color-navy);
  color: var(--color-white);
  font-weight: 700;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

.landing-page .cf-pill--coral {
  background: var(--color-coral-red);
  color: var(--color-white);
}

.landing-page .cf-dot {
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--color-coral-red);
}

.landing-page .cf-btn-icon {
  gap: 8px;
}

.landing-page .cf-btn-white {
  border: 2px solid var(--color-white);
  border-radius: var(--radius-md);
  padding: 12px 22px;
  color: var(--color-white);
  background: transparent;
}

.landing-page .cf-icon-gift {
  width: 1em;
  height: 1em;
  flex: none;
}

.landing-page .cf-check {
  flex: none;
  margin-top: 3px;
  color: var(--color-coral-red);
}

@media (hover: hover) and (pointer: fine) {
  .landing-page .cf-btn-white:hover {
    background: var(--color-white);
    color: var(--color-navy);
  }
}

/* Form controls shared by the builder and the calculator */

.landing-page .cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.landing-page .cf-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-navy);
}

.landing-page .cf-input {
  height: 48px;
  font-size: 16px;
}

.landing-page .cf-hint {
  font-size: 13px;
  line-height: 1.5;
  color: var(--cf-muted);
}

.landing-page .cf-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-page .cf-opt {
  min-width: 52px;
  height: 44px;
  padding: 0 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-300);
  background: var(--color-white);
  color: var(--color-navy);
  font: 600 16px var(--landing-font);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 200ms var(--cf-ease), background-color 200ms var(--cf-ease), transform 140ms ease-out;
}

.landing-page .cf-opt img {
  width: 28px;
  height: 28px;
}

.landing-page .cf-opt[aria-pressed="true"] {
  background: var(--color-coral-light);
  border: 2px solid var(--color-coral-red);
}

.landing-page .cf-swatch {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--color-gray-200);
  background: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 200ms var(--cf-ease), transform 140ms ease-out;
}

.landing-page .cf-swatch span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

.landing-page .cf-swatch[aria-pressed="true"] {
  border-color: var(--color-coral-red);
}

.landing-page .cf-opt:active,
.landing-page .cf-swatch:active,
.landing-page .cf-upload:active,
.landing-page .cf-stepper__btn:active {
  transform: scale(.97);
}

.landing-page .cf-upload {
  position: relative;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--color-gray-400);
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}

.landing-page .cf-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Segmented control with a sliding pill */

.landing-page .cf-seg {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: var(--radius-md);
  background: var(--color-gray-100);
}

.landing-page .cf-seg__pill {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 6px);
  border-radius: 8px;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--cf-ease);
}

.landing-page .cf-seg[data-active="1"] .cf-seg__pill {
  transform: translateX(calc(100% + 4px));
}

.landing-page .cf-seg button {
  position: relative;
  z-index: 1;
  flex: 1;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--cf-muted);
  font: 600 16px var(--landing-font);
  white-space: nowrap;
  cursor: pointer;
  transition: color 200ms var(--cf-ease);
}

.landing-page .cf-seg button[aria-pressed="true"] {
  color: var(--color-navy);
}

/* ---------- Hero ---------- */

.landing-page .cf-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(32px, 6vw, 80px) 0 clamp(40px, 6vw, 80px);
}

.landing-page .cf-hero__glow {
  position: absolute;
  inset: 0 0 -160px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60% 70% at 12% 8%, rgba(240, 170, 200, 0.45) 0%, rgba(240, 170, 200, 0) 70%),
    radial-gradient(55% 65% at 88% 6%, rgba(250, 190, 140, 0.5) 0%, rgba(250, 190, 140, 0) 70%),
    radial-gradient(45% 50% at 30% 55%, rgba(248, 160, 150, 0.22) 0%, rgba(248, 160, 150, 0) 70%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 50%, transparent 100%);
}

.landing-page .cf-hero__wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
}

.landing-page .cf-hero__text {
  flex: 1 1 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.landing-page .cf-hero__title {
  margin: 0;
  font-weight: 700;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--color-navy);
  text-wrap: balance;
}

.landing-page .cf-hero__lead {
  margin: 0;
  max-width: 520px;
  text-wrap: pretty;
}

.landing-page .cf-hero__cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.landing-page .cf-hero__price {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-gray-700);
}

.landing-page .cf-hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-page .cf-hero__note {
  font-size: 13px;
  font-weight: 500;
  color: var(--cf-muted);
}

.landing-page .cf-hero__fanwrap {
  flex: 1.4 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.landing-page .cf-fan {
  position: relative;
  width: 100%;
  /* Scales with the window; once the fan wraps under the text it would
     otherwise jump to full width and get bigger than on desktop. */
  max-width: min(680px, 50vw);
  aspect-ratio: 560 / 470;
}

.landing-page .cf-fan__card {
  position: absolute;
  left: 50%;
  bottom: 5%;
  width: 46%;
  aspect-ratio: 660 / 960;
  margin-left: -23%;
  border-radius: 12px;
  overflow: hidden;
  container-type: inline-size;
  box-shadow: 0 18px 40px rgba(25, 33, 63, 0.16);
  transform-origin: 50% 100%;
  transform: var(--t);
  transition: transform 800ms cubic-bezier(.65, 0, .35, 1), box-shadow 800ms ease, opacity 500ms ease;
}

.landing-page .cf-fan__card[data-k="-2"],
.landing-page .cf-fan__card[data-k="2"] {
  z-index: 3;
}

.landing-page .cf-fan__card[data-k="-1"],
.landing-page .cf-fan__card[data-k="1"] {
  z-index: 4;
}

.landing-page .cf-fan__card[data-k="0"] {
  z-index: 5;
}

.landing-page .cf-fan__card > img {
  display: block;
  width: 100%;
  height: 100%;
}

.landing-page .cf-fx {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.landing-page .cf-fx--halo {
  border-radius: 50%;
  box-shadow: 0 0 0 1cqw #FFFFFF, 0 0 6cqw 2cqw var(--fx-glow, rgba(255, 255, 255, 0.9));
}

.landing-page .cf-fx--ring {
  border-radius: 50%;
  box-shadow: 0 0 0 0.8cqw var(--fx-glow, #FFFFFF);
}

.landing-page .cf-fx--toast {
  left: 8%;
  right: 8%;
  top: 52%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2cqw;
  padding: 3cqw 4cqw;
  border-radius: 3cqw;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  font-size: 4.6cqw;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.3);
}

.landing-page .cf-fx--toast .cf-icon-gift {
  width: 4.4cqw;
  height: 4.4cqw;
}

.landing-page .cf-fx--toast-dark {
  background: #1B1B1B;
  color: #FFFFFF;
}

.landing-page .cf-fx--toast-light {
  left: 10%;
  right: 10%;
  background: #FFFFFF;
  color: #A93526;
  font-size: 4.8cqw;
  font-weight: 700;
}

.landing-page .cf-fx--num {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-weight: 600;
  line-height: 1;
}

.landing-page .cf-fx--plus {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: #0F2747;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-size: 4.8cqw;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(15, 39, 71, 0.18);
}

.landing-page .cf-fx--stamp {
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-fx--stamp img {
  width: 56%;
  height: auto;
  display: block;
}

.landing-page .cf-fx--cup {
  background: #AA3428;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-fx--cup img {
  width: 92%;
  height: auto;
  display: block;
  transform-origin: 50% 90%;
}

.landing-page .cf-fan__caption {
  position: relative;
  height: 28px;
  width: 100%;
  max-width: min(680px, 50vw);
}

.landing-page .cf-fan__cap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-navy);
  opacity: 0;
  transition: opacity 300ms ease, transform 300ms ease;
}

@media (max-width: 767px) {
  .landing-page .cf-hero__wrap {
    gap: 24px;
  }

  .landing-page .cf-hero__fanwrap {
    flex-basis: 100%;
  }

  .landing-page .cf-fan,
  .landing-page .cf-fan__caption {
    max-width: 420px;
  }

  .landing-page .cf-fan__card {
    width: 50%;
    margin-left: -25%;
  }
}

/* ---------- How it works ---------- */

.landing-page .cf-how-band {
  background: linear-gradient(180deg, rgba(252, 233, 222, 0) 0, var(--cf-beige) 160px, var(--cf-beige) calc(100% - 160px), rgba(252, 233, 222, 0) 100%);
}

.landing-page .cf-how__steps,
.landing-page .cf-ref__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}

.landing-page .cf-how__step,
.landing-page .cf-ref__step {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 12px;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms var(--cf-ease), box-shadow 250ms var(--cf-ease);
}

.landing-page .cf-how__step.is-active {
  border-color: var(--color-coral-red);
  box-shadow: 0 0 0 1px var(--color-coral-red), 0 12px 28px rgba(25, 33, 63, 0.1);
}

.landing-page .cf-how__scene {
  height: 250px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: opacity 250ms var(--cf-ease);
}

/* Looping animations wait while their step isn't playing (setupHow in cafeterias.js),
   frozen at 60% of the loop, where the "+1 stamp" badge is on screen. */
.landing-page .cf-how__scene.is-idle .cf-how-qr {
  animation-play-state: paused;
  animation-delay: -2.4s;
}

.landing-page .cf-how__scene.is-idle .cf-scan__line,
.landing-page .cf-how__scene.is-idle .cf-scan__pop {
  animation-play-state: paused;
  animation-delay: -1.8s;
}

.landing-page .cf-how__scene--coral {
  background: var(--color-coral-light);
}

.landing-page .cf-how__scene--navy {
  background: var(--color-navy-light);
}

.landing-page .cf-how__scene--phone {
  align-items: flex-start;
}

.landing-page .cf-how__body {
  padding: 20px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-page .cf-how__body .cf-num {
  margin-bottom: 8px;
}

.landing-page .cf-how__body .h3-card-title {
  margin: 0;
  text-wrap: balance;
}

.landing-page .cf-how-qr {
  width: 148px;
  padding: 16px 14px 14px;
  border-radius: 14px;
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
  transform: rotate(-4deg);
  animation: cf-float 4s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.landing-page .cf-how-qr__name {
  font-weight: 700;
  font-size: 12px;
  color: var(--color-navy);
}

.landing-page .cf-how-qr__code {
  width: 86px;
  height: 86px;
  color: var(--color-navy);
}

.landing-page .cf-how-qr__gift {
  font-weight: 600;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  color: var(--cf-coral-text);
}

/* Phone with Wallet: card slides in after tapping "Add" */

.landing-page .cf-phone {
  position: absolute;
  top: 10px;
  width: 200px;
  height: 340px;
  border-radius: 30px;
  background: #0B0F22;
  padding: 6px;
  box-shadow: 0 12px 28px rgba(25, 33, 63, 0.18);
}

.landing-page .cf-phone__screen {
  position: relative;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: var(--color-white);
  color: #111111;
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
}

.landing-page .cf-phone__notch {
  position: absolute;
  left: 50%;
  top: 7px;
  width: 54px;
  height: 16px;
  margin-left: -27px;
  border-radius: 10px;
  background: #0B0F22;
}

.landing-page .cf-wallet__title {
  position: absolute;
  top: 30px;
  left: 16px;
  font-size: 15px;
  font-weight: 700;
  animation: cf-w-in 400ms var(--cf-ease) 1550ms both;
}

.landing-page .cf-wallet__bank {
  position: absolute;
  top: 56px;
  left: 16px;
  right: 16px;
  height: 90px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3B6BE0 0%, #2346B0 100%);
  padding: 8px 10px;
  color: #FFFFFF;
  animation: cf-w-in 400ms var(--cf-ease) 1500ms both;
}

.landing-page .cf-wallet__bank-row {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.landing-page .cf-wallet__chip {
  margin-top: 5px;
  width: 18px;
  height: 13px;
  border-radius: 3px;
  background: linear-gradient(135deg, #F3D27A, #C9A13E);
}

.landing-page .cf-wallet__card {
  position: absolute;
  top: 36px;
  left: 16px;
  right: 16px;
  border-radius: 10px;
  background: #2B2118;
  color: #FFFFFF;
  padding: 10px 10px 12px;
  box-shadow: 0 8px 18px rgba(25, 33, 63, 0.22);
  animation: cf-w-card 650ms var(--cf-ease) 1400ms both;
}

.landing-page .cf-wallet__card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 600;
}

.landing-page .cf-wallet__brand {
  display: flex;
  align-items: center;
  gap: 5px;
}

.landing-page .cf-wallet__logo {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #E9D8C4;
  color: #2B2118;
  font-size: 8px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-wallet__stamps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
  padding: 0 6px;
}

.landing-page .cf-wallet__stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-wallet__stamp.is-on {
  border: 0;
  background: #E9D8C4;
}

.landing-page .cf-wallet__stamp img {
  width: 62%;
  height: 62%;
}

.landing-page .cf-wallet__stamp.is-gift {
  border-color: var(--color-coral);
  color: var(--color-coral);
}

.landing-page .cf-wallet__stamp.is-gift .cf-icon-gift {
  width: 60%;
  height: 60%;
}

.landing-page .cf-wallet__btn {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 28px;
  border-radius: 8px;
  background: #000000;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  overflow: hidden;
  animation: cf-w-out 250ms var(--cf-ease) 1350ms both;
}

.landing-page .cf-wallet__btn--apple {
  top: 146px;
}

.landing-page .cf-wallet__btn--google {
  top: 184px;
}

.landing-page .cf-wallet__tap {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  animation: cf-w-tap 500ms var(--cf-ease) 950ms both;
}

.landing-page .cf-wallet__toast {
  position: absolute;
  top: 194px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  animation: cf-w-toast 350ms var(--cf-ease) 2300ms both;
}

.landing-page .cf-wallet__toast span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: #1F7A4D;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 600;
}

/* Barista scan */

.landing-page .cf-scan {
  position: relative;
  width: 130px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-scan__code {
  width: 102px;
  height: 102px;
  padding: 11px;
  border-radius: 12px;
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: 0 2px 8px rgba(31, 42, 68, 0.08);
}

.landing-page .cf-scan__frame {
  position: absolute;
  inset: 0;
  color: var(--color-coral-red);
}

.landing-page .cf-scan__line {
  position: absolute;
  left: 14px;
  right: 14px;
  top: 12px;
  height: 3px;
  border-radius: 3px;
  background: var(--color-coral-red);
  box-shadow: 0 0 10px rgba(240, 91, 90, 0.6);
  animation: cf-scan 3s ease-in-out infinite;
}

.landing-page .cf-scan__pop {
  position: absolute;
  right: -44px;
  bottom: -6px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  background: var(--brand-gradient);
  color: var(--color-white);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: var(--shadow-coral);
  animation: cf-pop 3s ease-out infinite;
}

/* Guest base card */

.landing-page .cf-bridge {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--cf-muted);
  text-decoration: none;
  text-align: center;
}

/* ---------- Why guests come back ---------- */

.landing-page .cf-why {
  padding-top: 0;
}

/* Visits × ticket = revenue: the reason the page exists, before the research. */
.landing-page .cf-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.landing-page .cf-formula__term {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--cf-line);
}

.landing-page .cf-formula__term b {
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--color-navy);
}

.landing-page .cf-formula__term span {
  font-size: 15px;
  line-height: 1.5;
  color: var(--cf-muted);
}

.landing-page .cf-formula__term--result {
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.landing-page .cf-formula__term--result b {
  color: var(--color-white);
}

.landing-page .cf-formula__term--result span {
  color: #C9CFDB;
}

.landing-page .cf-formula__op {
  align-self: center;
  font-size: 28px;
  font-weight: 600;
  color: var(--cf-coral-text);
}

@media (max-width: 767px) {
  .landing-page .cf-formula {
    flex-direction: column;
  }

  .landing-page .cf-formula__term {
    flex-basis: auto;
  }

  .landing-page .cf-formula__op {
    line-height: 1;
  }
}

.landing-page .cf-why__reason {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing-page .cf-why__reason-text {
  font-weight: 600;
  font-size: 16px;
  color: var(--color-navy);
}

.landing-page .cf-why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 40px 48px;
}

.landing-page .cf-why__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--color-navy);
}

.landing-page .cf-why__item p {
  margin: 0;
  text-wrap: pretty;
}

.landing-page .cf-why__item strong {
  font-weight: 700;
  color: var(--color-navy);
}

.landing-page .cf-why__title {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  text-wrap: balance;
}

.landing-page .cf-why__src {
  font-size: 13px;
  line-height: 1.5;
  font-style: italic;
  color: var(--cf-muted);
}

.landing-page .cf-why__src a {
  color: var(--cf-coral-text);
  text-decoration: none;
}

.landing-page .cf-why__sources {
  margin: 0;
  padding: 16px 0 0 18px;
  border-top: 1px solid var(--cf-line);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--cf-muted);
}

.landing-page .cf-why__sources a {
  color: var(--cf-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- A month in a guest's life ---------- */

.landing-page .cf-month {
  position: relative;
  background: var(--color-navy);
  color: var(--color-white);
  height: calc(100vh + 2310px);
  scroll-margin-top: 0;
  /* clip, not hidden: hidden would break the sticky pin */
  overflow-x: clip;
}

.landing-page .cf-month__pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  padding: calc(var(--landing-navbar-height) + 16px) var(--landing-container-pad) 28px;
  box-sizing: border-box;
}

.landing-page .cf-month__heart {
  position: absolute;
  right: -12%;
  /* Keep the tip inside the pin: the owner's view follows right below. */
  bottom: 0;
  width: min(640px, 70%);
  height: auto;
  pointer-events: none;
  fill: rgba(255, 255, 255, 0.05);
}

.landing-page .cf-month__inner {
  position: relative;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.landing-page .cf-month__head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-page .cf-month__titlerow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
}

.landing-page .cf-month__title {
  margin: 0;
  font-weight: 600;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-white);
  text-wrap: balance;
}

.landing-page .cf-month__sub {
  margin: 0;
  max-width: 60ch;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cf-dark-muted);
}

.landing-page .cf-month__swipe {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #F26B57;
}

.landing-page .cf-month__row {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 40px;
}

.landing-page .cf-month__tl {
  flex: none;
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
}

.landing-page .cf-month__item {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 14px;
  cursor: pointer;
  color: #8D95AE;
  transition: color 200ms ease-out, background-color 200ms ease-out;
}

.landing-page .cf-month__bar {
  position: relative;
  flex: none;
  width: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.landing-page .cf-month__bar span {
  position: absolute;
  inset: 0;
  background: var(--color-coral-red);
  transform-origin: 50% 0;
  transform: scaleY(0);
}

.landing-page .cf-month__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 2px;
}

.landing-page .cf-month__label span:first-child {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.landing-page .cf-month__label span:last-child {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.landing-page .cf-month__hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #F26B57;
  transition: opacity 300ms ease-out;
}

.landing-page .cf-month__cols {
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  gap: 32px;
}

.landing-page .cf-month__texts {
  flex: 0 0 30%;
  position: relative;
  height: 300px;
}

.landing-page .cf-month__text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 300ms var(--cf-ease), transform 300ms var(--cf-ease);
}

.landing-page .cf-month__text.is-on {
  opacity: 1;
}

.landing-page .cf-month__day {
  font-size: 15px;
  font-weight: 700;
  color: #F26B57;
}

.landing-page .cf-month__text h3 {
  margin: 0;
  font-weight: 600;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-white);
  text-wrap: balance;
}

.landing-page .cf-month__text p {
  margin: 0;
  max-width: 400px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--cf-dark-muted);
  text-wrap: pretty;
}

.landing-page .cf-month__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.landing-page .cf-month__plan {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.landing-page .cf-month__plan--pro {
  background: #F26B57;
  color: var(--color-navy);
}

.landing-page .cf-month__plan--starter {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--color-white);
}

.landing-page .cf-month__auto {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #8D95AE;
}

.landing-page .cf-month__stage {
  flex: 1 1 0;
  min-width: 0;
  height: 100%;
  position: relative;
}

.landing-page .cf-month__canvas {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 560px;
  height: 520px;
  transform: translate(-50%, -50%);
}

.landing-page .cf-mscene {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 350ms var(--cf-ease);
}

.landing-page .cf-mscene.is-on {
  opacity: 1;
}

.landing-page .cf-mscene > * {
  position: absolute;
}

.landing-page .cf-mphone {
  border-radius: 38px;
  background: #0B0F22;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.landing-page .cf-mphone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 31px;
  overflow: hidden;
  background: linear-gradient(170deg, #3B4679 0%, var(--color-navy) 75%);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  color: var(--color-white);
}

.landing-page .cf-mphone__notch {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 70px;
  height: 22px;
  margin-left: -35px;
  border-radius: 16px;
  background: #0B0F22;
}

.landing-page .cf-mphone__time {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.landing-page .cf-mcard {
  z-index: 3;
  border-radius: 18px;
  background: #2B2118;
  color: #FFFFFF;
  padding: 16px 18px 18px;
  box-sizing: border-box;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.landing-page .cf-mcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
  font-weight: 700;
}

.landing-page .cf-mcard__brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-page .cf-mcard__logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #E9D8C4;
  color: #2B2118;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-mcard__count {
  font-variant-numeric: tabular-nums;
}

.landing-page .cf-mcard__grid {
  display: grid;
  grid-template-columns: repeat(5, var(--cell));
  justify-content: space-between;
  row-gap: 12px;
  margin-top: 16px;
}

.landing-page .cf-mcard__slot {
  position: relative;
  width: var(--cell);
  height: var(--cell);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-sizing: border-box;
}

.landing-page .cf-mcard__cell {
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: #E9D8C4;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.6);
  transition: opacity 220ms var(--cf-ease), transform 220ms var(--cf-ease);
}

.landing-page .cf-mcard__cell.is-on {
  opacity: 1;
  transform: scale(1);
}

.landing-page .cf-mcard__cell img {
  width: 60%;
  height: 60%;
}

.landing-page .cf-mnote {
  z-index: 5;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  box-sizing: border-box;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--color-navy);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  opacity: 0;
}

.landing-page .cf-mnote__icon {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
  background: var(--color-coral-red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-mnote__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.landing-page .cf-mnote__head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
}

.landing-page .cf-mnote__head span {
  color: var(--cf-muted);
}

.landing-page .cf-mnote__text {
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
}

.landing-page .cf-mchip {
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
  opacity: 0;
}

.landing-page .cf-mchip--coral {
  background: #C93F2C;
  color: var(--color-white);
}

.landing-page .cf-mmap {
  left: 10px;
  top: 70px;
  width: 400px;
  height: 360px;
  border-radius: 22px;
  overflow: hidden;
  background: #212A4C;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.landing-page .cf-mmap > * {
  position: absolute;
}

.landing-page .cf-mmap__road {
  background: #2A3463;
}

.landing-page .cf-mmap__zone,
.landing-page .cf-mmap__ring {
  left: 64%;
  top: 46%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
}

.landing-page .cf-mmap__zone {
  border: 1.5px dashed rgba(242, 107, 87, 0.75);
  background: rgba(242, 107, 87, 0.1);
}

.landing-page .cf-mmap__ring {
  border: 2px solid #F26B57;
  opacity: 0;
}

.landing-page .cf-mmap__cafe {
  left: 64%;
  top: 46%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.landing-page .cf-mmap__pin {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-coral-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(240, 91, 90, 0.22);
}

.landing-page .cf-mmap__name {
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}

.landing-page .cf-mmap__guest {
  left: 0;
  right: 0;
  top: 62.5%;
  height: 0;
}

.landing-page .cf-mmap__person {
  position: absolute;
  left: 4%;
  top: 0;
  width: 16px;
  height: 24px;
  margin: -21px 0 0 -8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.35));
}

.landing-page .cf-mmap__person span:first-child {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #FFFFFF;
}

.landing-page .cf-mmap__person span:last-child {
  width: 14px;
  height: 12px;
  border-radius: 7px 7px 3px 3px;
  background: #FFFFFF;
}

.landing-page .cf-mmap__tag {
  position: absolute;
  left: 4%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  color: var(--color-navy);
  font-weight: 700;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.landing-page .cf-mmap__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #F26B57;
}

.landing-page .cf-mmap__dist {
  display: inline-block;
  min-width: 40px;
}

.landing-page .cf-mgift {
  left: 220px;
  top: 220px;
  width: 120px;
  height: 120px;
  z-index: 4;
  border-radius: 50%;
  background: var(--color-coral-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(240, 91, 90, 0.25);
  opacity: 0;
}

.landing-page .cf-mburst {
  left: 266px;
  top: 266px;
  z-index: 3;
  opacity: 0;
}

.landing-page .cf-mcal {
  left: 180px;
  top: 150px;
  width: 200px;
  height: 230px;
  z-index: 3;
  border-radius: 22px;
  overflow: hidden;
  background: var(--color-white);
  color: var(--color-navy);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  display: flex;
  flex-direction: column;
}

.landing-page .cf-mcal__month {
  background: #C93F2C;
  color: var(--color-white);
  text-align: center;
  padding: 12px 0;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.landing-page .cf-mcal__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.landing-page .cf-mcal__day {
  font-weight: 800;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.landing-page .cf-mcal__label {
  font-weight: 600;
  font-size: 15px;
  color: var(--cf-muted);
}

.landing-page .cf-mfloat {
  z-index: 2;
  opacity: 0;
}

.landing-page .cf-mcounter {
  left: 0;
  right: 0;
  top: 50px;
  z-index: 2;
  text-align: center;
}

.landing-page .cf-mcounter__days {
  font-weight: 800;
  font-size: 120px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.landing-page .cf-mcounter__label {
  font-weight: 600;
  font-size: 18px;
  color: var(--cf-dark-muted);
  margin-top: 6px;
}

.landing-page .cf-mcompose {
  left: 100px;
  top: 10px;
  width: 360px;
  z-index: 2;
  border-radius: 18px;
  background: #2A3460;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
  opacity: 0;
}

.landing-page .cf-mcompose__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--cf-dark-muted);
}

.landing-page .cf-mcompose__segs {
  display: flex;
  gap: 6px;
}

.landing-page .cf-mcompose__segs span {
  padding: 5px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  white-space: nowrap;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background-color 200ms ease-out, border-color 200ms ease-out;
}

.landing-page .cf-mcompose__text {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 15px;
  line-height: 1.4;
}

.landing-page .cf-mcompose__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.landing-page .cf-mcompose__rcpt {
  font-size: 13px;
  color: var(--cf-dark-muted);
  font-variant-numeric: tabular-nums;
}

.landing-page .cf-mcompose__btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: #C93F2C;
  font-weight: 700;
  font-size: 14px;
}

.landing-page .cf-marrow {
  left: 266px;
  top: 224px;
  width: 28px;
  height: 28px;
  color: #F26B57;
  opacity: 0;
}

.landing-page .cf-mstats {
  left: 100px;
  top: 376px;
  width: 360px;
  z-index: 6;
  display: flex;
  gap: 8px;
  opacity: 0;
}

.landing-page .cf-mstats div {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  background: #2A3460;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.landing-page .cf-mstats span {
  font-size: 12px;
  color: var(--cf-dark-muted);
}

.landing-page .cf-mstats b {
  font-size: 20px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.landing-page .cf-month-after {
  background: var(--color-navy);
  color: var(--color-white);
  padding: 8px 0 clamp(64px, 8vw, 96px);
}

.landing-page .cf-month-after__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.landing-page .cf-month-after__links {
  display: flex;
  justify-content: flex-end;
}

.landing-page .cf-month-after__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  color: #F26B57;
  text-decoration: none;
}

.landing-page .cf-month-after__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 18px;
  font-weight: 600;
}

/* Phones: no pinning, chips instead of the timeline, autoplay through moments */
@media (max-width: 760px) {
  .landing-page .cf-month {
    height: auto;
  }

  .landing-page .cf-month__pin {
    position: relative;
    height: auto;
    padding: 56px 0 40px;
  }

  .landing-page .cf-month__inner {
    gap: 16px;
    height: auto;
  }

  .landing-page .cf-month__head {
    padding: 0 16px;
  }

  .landing-page .cf-month__title {
    font-size: 26px;
  }

  .landing-page .cf-month__sub,
  .landing-page .cf-month__hint {
    display: none;
  }

  .landing-page .cf-month__swipe {
    display: flex;
    padding: 0 16px;
    margin-bottom: -6px;
  }

  .landing-page .cf-month__row {
    flex: none;
    flex-direction: column;
    gap: 12px;
  }

  .landing-page .cf-month__tl {
    width: auto;
    flex-direction: row;
    gap: 8px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .landing-page .cf-month__item {
    flex: none;
    flex-direction: column-reverse;
    justify-content: center;
    gap: 6px;
    min-height: 48px;
    padding: 8px 14px 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
  }

  .landing-page .cf-month__item[aria-pressed="true"] {
    background: rgba(240, 91, 90, 0.28);
  }

  .landing-page .cf-month__bar {
    width: 100%;
    height: 3px;
  }

  .landing-page .cf-month__bar span {
    transform-origin: 0 50%;
  }

  .landing-page .cf-month__label {
    padding: 0;
  }

  .landing-page .cf-month__label span:first-child {
    font-size: 14px;
    white-space: nowrap;
  }

  .landing-page .cf-month__label span:last-child {
    display: none;
  }

  .landing-page .cf-month__cols {
    flex: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .landing-page .cf-month__texts {
    flex: none;
    width: auto;
    height: 208px;
    margin: 0 16px;
  }

  .landing-page .cf-month__text {
    justify-content: flex-start;
    gap: 8px;
  }

  .landing-page .cf-month__text h3 {
    font-size: 22px;
  }

  .landing-page .cf-month__text p {
    font-size: 15px;
    line-height: 1.5;
  }

  .landing-page .cf-month__stage {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 560 / 500;
  }
}

/* ---------- Wallet pass ----------
   A vertical pass in the proportions of the real cards in the hero fan.
   Everything inside is sized in cqw, so a pass is drawn by setting its width. */

.landing-page .cf-wpass {
  container-type: inline-size;
  flex: none;
  width: 160px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  --wp-bg: #2B2118;
  background: var(--wp-bg);
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(25, 33, 63, 0.18);
  text-align: left;
}

.landing-page .cf-wpass--coral {
  --wp-bg: #E6523D;
}

.landing-page .cf-wpass--navy {
  --wp-bg: var(--color-navy);
}

.landing-page .cf-wpass--blue {
  --wp-bg: #7B9CE8;
  color: var(--color-navy);
}

.landing-page .cf-wpass--pink {
  --wp-bg: #F2B8CF;
  color: var(--color-navy);
}

.landing-page .cf-wpass__in {
  height: 100%;
  box-sizing: border-box;
  padding: 7cqw 7cqw 8cqw;
  display: flex;
  flex-direction: column;
  gap: 6cqw;
}

.landing-page .cf-wpass__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4cqw;
}

.landing-page .cf-wpass__brand {
  display: flex;
  align-items: center;
  gap: 3cqw;
  font-size: 7.5cqw;
  font-weight: 700;
  white-space: nowrap;
}

.landing-page .cf-wpass__logo {
  width: 11cqw;
  height: 11cqw;
  flex: none;
  border-radius: 50%;
  background: #E9D8C4;
  color: #2B2118;
  font-size: 6cqw;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-wpass__chip {
  padding: 1cqw 3.5cqw;
  border-radius: var(--radius-full);
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 5.4cqw;
  font-weight: 700;
  white-space: nowrap;
}

.landing-page .cf-wpass__field {
  display: flex;
  flex-direction: column;
  gap: 1cqw;
}

.landing-page .cf-wpass__field--end {
  align-items: flex-end;
  text-align: right;
}

.landing-page .cf-wpass__key {
  font-size: 4.8cqw;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.75;
}

.landing-page .cf-wpass__val {
  font-size: 8cqw;
  font-weight: 600;
  line-height: 1.1;
}

/* The strip: the band under the header, like a pass's strip image. */
.landing-page .cf-wpass__strip {
  margin: 0 -7cqw;
  padding: 5cqw 7cqw;
  background: rgba(255, 255, 255, 0.14);
}

.landing-page .cf-wpass--blue .cf-wpass__strip,
.landing-page .cf-wpass--pink .cf-wpass__strip {
  background: rgba(255, 255, 255, 0.3);
}

.landing-page .cf-wpass__stamps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3cqw;
}

/* A stamp: a cup in the pass colour on a white disc; an empty slot is a faint disc. */
.landing-page .cf-wpass__stamps span {
  position: relative;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #FFFFFF;
}

.landing-page .cf-wpass__stamps span::after {
  content: "";
  position: absolute;
  inset: 22%;
  background: var(--wp-bg);
  -webkit-mask: url("../images/landing/cafeterias/icon-cup-saucer.90d344e64d15.png") center / contain no-repeat;
  mask: url("../images/landing/cafeterias/icon-cup-saucer.90d344e64d15.png") center / contain no-repeat;
}

.landing-page .cf-wpass__stamps span.is-off {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 0.5cqw rgba(255, 255, 255, 0.45);
}

.landing-page .cf-wpass__stamps span.is-off::after {
  content: none;
}

/* A product shot in the strip, like a real points card. */
.landing-page .cf-wpass__strip--shop {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2cqw;
  padding: 3cqw 7cqw 2cqw;
}

.landing-page .cf-wpass__shop-cup {
  width: 30cqw;
  height: auto;
}

.landing-page .cf-wpass__shop-bun {
  width: 28cqw;
  height: auto;
  margin-bottom: 1cqw;
}

.landing-page .cf-wpass__fields {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  gap: 4cqw;
}

.landing-page .cf-wpass__fields + .cf-wpass__btn {
  margin-top: -1cqw;
}

.landing-page .cf-wpass__big {
  font-size: 17cqw;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.landing-page .cf-wpass__big small {
  margin-left: 2cqw;
  font-size: 6cqw;
  font-weight: 600;
  letter-spacing: 0;
}

.landing-page .cf-wpass__person {
  display: flex;
  align-items: center;
  gap: 4cqw;
}

.landing-page .cf-wpass__avatar {
  width: 16cqw;
  height: 16cqw;
  flex: none;
  border-radius: 50%;
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6cqw;
  font-weight: 600;
}

/* A link button, as Google Wallet shows it on the pass. */
.landing-page .cf-wpass__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5cqw;
  padding: 3.5cqw;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: #1F1F1F;
  font-size: 6.4cqw;
  font-weight: 600;
  white-space: nowrap;
}

.landing-page .cf-wpass__btn svg {
  width: 6.4cqw;
  height: 6.4cqw;
  flex: none;
}

.landing-page .cf-wpass__gift {
  display: flex;
  align-items: center;
  gap: 3cqw;
  padding: 4cqw;
  border-radius: 4cqw;
  background: #FFFFFF;
  color: var(--color-navy);
  font-size: 6.6cqw;
  font-weight: 600;
  line-height: 1.25;
}

.landing-page .cf-wpass__gift .cf-icon-gift {
  width: 8cqw;
  height: 8cqw;
  flex: none;
  color: #E6523D;
}

.landing-page .cf-wpass__note {
  margin-top: 1cqw;
  font-size: 8cqw;
  font-weight: 700;
}

.landing-page .cf-wpass__strip > .cf-wpass__key + .cf-wpass__gift {
  margin-top: 2cqw;
}

/* ---------- Refer a friend ---------- */

.landing-page .cf-ref__scene {
  height: 290px;
  border-radius: 12px;
  background: var(--color-coral-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-ref__anchor {
  position: relative;
}

.landing-page .cf-ref__bubble {
  position: absolute;
  right: -78px;
  top: -18px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  border-radius: 14px 14px 14px 4px;
  background: var(--color-white);
  color: var(--color-navy);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(25, 33, 63, 0.12);
  white-space: nowrap;
}

.landing-page .cf-ref__bubble svg {
  color: var(--color-coral-red);
}

.landing-page .cf-ref__badge {
  position: absolute;
  left: -26px;
  top: -10px;
  z-index: 1;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
}

.landing-page .cf-ref__pair {
  position: relative;
  width: min(300px, 100%);
  height: 250px;
}

.landing-page .cf-ref__pair-a {
  position: absolute;
  left: 4%;
  top: 0;
}

.landing-page .cf-ref__pair-a .cf-wpass {
  width: 132px;
}

.landing-page .cf-ref__pair-b {
  position: absolute;
  right: 4%;
  top: 18px;
}

.landing-page .cf-ref__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 24px 32px;
  margin-top: -16px;
  padding: 28px 32px;
  border-radius: 20px;
  background: var(--color-navy);
}

.landing-page .cf-ref__fact {
  display: flex;
  gap: 12px;
}

.landing-page .cf-ref__fact .cf-check {
  color: #F26B57;
}

.landing-page .cf-ref__fact-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--color-white);
}

.landing-page .cf-ref__fact-text {
  margin-top: 4px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cf-dark-muted);
}

/* ---------- Card builder ---------- */

.landing-page .cf-builder-band {
  background: linear-gradient(180deg, rgba(245, 237, 226, 0) 0, var(--cf-sand) 160px, var(--cf-sand) 100%);
}

.landing-page .cf-builder {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.landing-page .cf-builder__form {
  flex: 1 1 460px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.landing-page .cf-builder__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}

.landing-page .cf-builder__preview {
  flex: 0 1 380px;
  min-width: 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.landing-page .cf-builder__notes {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  max-width: 340px;
}

.landing-page .cf-builder__more {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-navy);
  text-wrap: pretty;
}

.landing-page .cf-builder__more b {
  font-weight: 600;
}

.landing-page .cf-pass {
  width: 100%;
  max-width: 340px;
  overflow: hidden;
  background: var(--pass-bg, #2B2118);
  color: var(--pass-fg, #FFFFFF);
  box-shadow: var(--shadow-lg);
  transition: background-color 200ms ease, color 200ms ease;
  animation: cf-swap 200ms var(--cf-ease);
}

.landing-page .cf-pass[hidden] {
  display: none;
}

.landing-page .cf-pass--apple {
  border-radius: 16px;
  font-family: -apple-system, 'SF Pro Text', var(--landing-font);
}

.landing-page .cf-pass--google {
  border-radius: 26px;
  font-family: Roboto, var(--landing-font);
}

.landing-page .cf-pass__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 12px;
}

.landing-page .cf-pass__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.landing-page .cf-pass__brand--google {
  padding: 18px 18px 6px;
}

.landing-page .cf-pass__logo {
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--pass-stamp, #E9D8C4);
  color: var(--pass-bg, #2B2118);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}

.landing-page .cf-pass__logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #FFFFFF;
}

.landing-page .cf-pass__name {
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-page .cf-pass__field {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.landing-page .cf-pass__field--end {
  align-items: flex-end;
  flex: none;
}

.landing-page .cf-pass__key {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

.landing-page .cf-pass__key--google {
  font-size: 12px;
  letter-spacing: 0;
}

.landing-page .cf-pass__val {
  font-size: 17px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.landing-page .cf-pass__val--big {
  font-size: 22px;
  line-height: 1.1;
}

.landing-page .cf-pass__strip {
  display: grid;
  grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
  gap: 8px;
  padding: 14px 16px;
  background: var(--pass-strip, rgba(255, 255, 255, 0.06));
}

.landing-page .cf-pass__strip--google {
  padding: 16px 18px 20px;
}

.landing-page .cf-pass__stamp {
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pass-fg, #FFFFFF);
  opacity: 0.55;
  transition: background-color 200ms ease, border-color 200ms ease;
  animation: cf-pop-in 150ms var(--cf-ease);
}

.landing-page .cf-pass__stamp.is-on {
  border-color: transparent;
  background: var(--pass-stamp, #E9D8C4);
  opacity: 1;
}

.landing-page .cf-pass__stamp img {
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.landing-page .cf-pass__fields {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 0;
}

.landing-page .cf-pass__fields--google {
  padding: 14px 18px 0;
}

.landing-page .cf-pass__title {
  padding: 6px 18px 0;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
}

.landing-page .cf-pass__qr {
  display: flex;
  justify-content: center;
  padding: 26px 0 20px;
}

.landing-page .cf-pass__qr--google {
  padding: 20px 0;
}

.landing-page .cf-pass__qr > div {
  width: 132px;
  height: 132px;
  padding: 10px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  color: #111111;
}

.landing-page .cf-pass__qr--google > div {
  width: 128px;
  height: 128px;
  padding: 12px;
  border-radius: 14px;
}

/* ---------- Other mechanics ---------- */

.landing-page .cf-mech-band {
  background: linear-gradient(180deg, var(--cf-sand) 0, var(--cf-sand) calc(100% - 160px), rgba(245, 237, 226, 0) 100%);
  padding-top: 0;
}

.landing-page .cf-mech__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  /* thin rule separating the mechanics from the card builder above */
  padding-top: clamp(48px, 6vw, 88px);
  border-top: 1px solid var(--cf-line);
}

.landing-page .cf-mech__title {
  max-width: 560px;
}

.landing-page .cf-mech__ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  font-weight: 600;
  font-size: 16px;
  color: var(--color-navy);
}

.landing-page .cf-mech__group {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.landing-page .cf-mech__step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--color-navy);
}

.landing-page .cf-mech__step .cf-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 15px;
}

.landing-page .cf-mech__types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px;
}

.landing-page .cf-mech__type {
  background: var(--color-white);
  border: 1px solid var(--cf-line);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
}

.landing-page .cf-mech__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 24px 12px;
}

/* Card type passes: smaller, with a strip of the same height on every card
   and the fields right under it. */
.landing-page .cf-mech__visual .cf-wpass {
  width: 136px;
  aspect-ratio: 4 / 5;
}

.landing-page .cf-mech__visual .cf-wpass__strip {
  height: 46cqw;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-page .cf-mech__visual .cf-wpass__strip--shop {
  flex-direction: row;
  align-items: center;
}

.landing-page .cf-mech__visual .cf-wpass__fields {
  margin-top: 0;
}

.landing-page .cf-mech__body {
  padding: 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-page .cf-mech__body h4 {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  color: var(--color-navy);
}

.landing-page .cf-mech__body p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cf-muted);
  text-wrap: pretty;
}

.landing-page .cf-mech__step-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
}

.landing-page .cf-mech__note {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--cf-muted);
}

/* One table: each cell draws its right and bottom rule, the outer border clips the last ones. */
.landing-page .cf-mech__extras {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  overflow: hidden;
  border: 1px solid var(--cf-line);
  border-radius: var(--radius-lg);
  background: var(--color-white);
}

.landing-page .cf-mech__extras li {
  display: flex;
  gap: 14px;
  padding: 24px;
  box-shadow: 1px 0 0 var(--cf-line), 0 1px 0 var(--cf-line);
}

.landing-page .cf-mech__plus {
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--color-coral-light);
  color: var(--cf-coral-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-page .cf-mech__extras li.cf-mech__more {
  background: #FFF6F1;
  /* Its tint covers the neighbours' rules, so it draws its own left and top ones. */
  box-shadow:
    inset 1px 0 0 var(--cf-line),
    inset 0 1px 0 var(--cf-line),
    1px 0 0 var(--cf-line),
    0 1px 0 var(--cf-line);
}

.landing-page .cf-mech__more .cf-mech__plus {
  background: var(--color-white);
}

.landing-page .cf-mech__more-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cf-coral-text);
  text-decoration: none;
}

.landing-page .cf-mech__more-link:hover {
  text-decoration: underline;
}

.landing-page .cf-mech__extra-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-navy);
}

.landing-page .cf-mech__extra-text {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--cf-muted);
  text-wrap: pretty;
}

/* Inline right after the last word of the title, not on a line of its own. */
.landing-page .cf-mech__pro {
  display: inline-block;
  margin-left: 4px;
  vertical-align: 2px;
  line-height: 1.4;
  padding: 1px 8px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: var(--color-navy);
  color: var(--color-white);
}

/* ---------- Payback calculator ---------- */

.landing-page .cf-calc {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  box-shadow: 0 16px 40px rgba(31, 42, 68, 0.06);
}

.landing-page .cf-calc__inputs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px 40px;
  padding: clamp(20px, 3vw, 32px);
}

.landing-page .cf-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.landing-page .cf-stepper__btn {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-300);
  background: var(--color-white);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 200ms var(--cf-ease), color 200ms var(--cf-ease), transform 140ms ease-out;
}

.landing-page .cf-stepper__input {
  width: 100%;
  min-width: 0;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.landing-page .cf-calc__result {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 28px 48px;
  padding: clamp(24px, 3vw, 36px);
  background: var(--color-navy);
  color: var(--color-white);
}

.landing-page .cf-calc__main,
.landing-page .cf-calc__extra {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-page .cf-calc__cups {
  font-weight: 700;
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #F26B57;
  font-variant-numeric: tabular-nums;
}

.landing-page .cf-calc__cups-label {
  margin-top: 6px;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
}

.landing-page .cf-calc__week {
  font-size: 16px;
  line-height: 1.5;
  text-wrap: pretty;
}

.landing-page .cf-calc__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--cf-dark-muted);
  text-wrap: pretty;
}

.landing-page .cf-calc__extra-title {
  font-weight: 600;
  font-size: 16px;
}

.landing-page .cf-calc__range-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 15px;
  color: var(--cf-dark-muted);
}

.landing-page .cf-calc__range-head span {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 18px;
  color: var(--color-white);
  min-width: 2ch;
  text-align: right;
}

.landing-page .cf-calc__range {
  width: 100%;
  height: 44px;
  margin: 0;
  cursor: pointer;
  accent-color: #FF7A66;
  background: transparent;
}

.landing-page .cf-calc__ret {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  text-wrap: balance;
}

/* ---------- FAQ ---------- */

.landing-page .cf-faq__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 12px 24px;
  align-items: start;
}

.landing-page .cf-faq__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-page .cf-faq__item {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
}

.landing-page .cf-faq__item summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-navy);
  cursor: pointer;
  list-style: none;
}

.landing-page .cf-faq__item summary::-webkit-details-marker {
  display: none;
}

.landing-page .cf-faq__item summary svg {
  flex: none;
  color: var(--cf-muted);
  transition: transform 200ms var(--cf-ease);
}

.landing-page .cf-faq__item[open] summary svg {
  transform: rotate(45deg);
}

.landing-page .cf-faq__answer {
  padding: 0 24px 20px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-gray-700);
  animation: cf-fade-in 180ms var(--cf-ease);
}

.landing-page .cf-faq__answer p {
  margin: 0;
}

.landing-page .cf-faq__more {
  align-self: center;
}

.landing-page .cf-faq__extra[hidden] {
  display: none;
}

/* ---------- Motion ---------- */

@keyframes cf-float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-6px); }
}

@keyframes cf-scan {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 1; }
  45% { transform: translateY(104px); opacity: 1; }
  55%, 100% { transform: translateY(104px); opacity: 0; }
}

@keyframes cf-pop {
  0%, 45% { opacity: 0; transform: scale(.9); }
  53% { opacity: 1; transform: scale(1.03); }
  60%, 88% { opacity: 1; transform: scale(1); }
  94%, 100% { opacity: 0; transform: scale(.96); }
}

@keyframes cf-w-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@keyframes cf-w-card {
  from { transform: none; }
  to { transform: translateY(52px); }
}

@keyframes cf-w-out {
  from { opacity: 1; transform: none; }
  to { opacity: 0; transform: translateY(8px); }
}

@keyframes cf-w-tap {
  0% { opacity: 0; transform: scale(.4); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.8); }
}

@keyframes cf-w-toast {
  from { opacity: 0; transform: translateY(6px) scale(.96); }
  to { opacity: 1; transform: none; }
}

@keyframes cf-pop-in {
  from { opacity: 0; transform: scale(.9); }
  to { opacity: 1; transform: none; }
}

@keyframes cf-swap {
  from { opacity: 0; filter: blur(2px); }
  to { opacity: 1; filter: none; }
}

@keyframes cf-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .landing-page #how *,
  .landing-page .cf-pass,
  .landing-page .cf-pass__stamp,
  .landing-page .cf-faq__answer {
    animation: none !important;
  }
}
