/* ==========================================================================
   Landing page (Views/Home/Index.cshtml). Loaded on that page only, after home.css.
   Everything is prefixed lp- so nothing here leaks into the other pages that share the layout.
   Motion: entrance and looping animations are CSS; landing.js adds scroll reveals (.in), the
   pointer parallax (--px/--py) and the hero's bid example (.is-on / .is-best / .is-priced).
   ========================================================================== */

:root {
  /* The dark surfaces are a deep evergreen rather than black, so the lime, mint and amber sit in one family */
  --lp-ink: #17211d;
  --lp-ink-2: #1f2b26;
  --lp-ink-3: #2a3831;
  --lp-lime: #e5ee80;
  --lp-lime-deep: #5d6a0e;
  --lp-mint: #7fe0b8;
  --lp-amber: #ffd978;
  --lp-text: #333136;
  --lp-muted: rgba(51, 49, 54, 0.68);
  --lp-tint: #f6f7ec;
  --lp-line: rgba(51, 49, 54, 0.1);
  --lp-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --lp-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* The header is half see-through; over the dark hero that turned it grey and its dark links unreadable. */
.header-sticky {
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px) saturate(1.5);
  -webkit-backdrop-filter: blur(14px) saturate(1.5);
}

/* ---------- Shared pieces ---------- */
.lp-section {
  position: relative;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.lp-head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.lp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-lime-deep);
}

.lp-eyebrow::before {
  content: '';
  width: 1.5rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.lp-h2 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--lp-text);
  text-wrap: balance;
}

/* "Our Partners" above the logo strip: a section heading like the others, closer to its logos */
.partners-strip-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  padding: 0 1rem;
}

.lp-sub {
  margin: 1rem auto 0;
  max-width: 600px;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  line-height: 1.5;
  color: var(--lp-muted);
  text-wrap: pretty;
}

.lp-dark .lp-h2 {
  color: #fff;
}

.lp-dark .lp-sub {
  color: rgba(255, 255, 255, 0.66);
}

.lp-dark .lp-eyebrow {
  color: var(--lp-lime);
}

.lp-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  height: 56px;
  padding: 0 1.75rem;
  overflow: hidden;
  border-radius: 14px;
  background: var(--lp-lime);
  color: var(--lp-ink);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 16px 40px -16px rgba(229, 238, 128, 0.7);
  transition: transform 0.25s var(--lp-ease), box-shadow 0.25s var(--lp-ease);
}

.lp-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.65) 50%, transparent 65%);
  translate: -110% 0;
  transition: translate 0.7s var(--lp-ease);
}

.lp-btn:hover {
  color: var(--lp-ink);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -16px rgba(229, 238, 128, 0.85);
}

.lp-btn:hover::after {
  translate: 110% 0;
}

.lp-btn svg {
  position: relative;
  z-index: 1;
  transition: translate 0.25s var(--lp-ease);
}

.lp-btn span {
  position: relative;
  z-index: 1;
}

.lp-btn:hover svg {
  translate: 4px 0;
}

/* Cards light up under the pointer (landing.js sets --mx / --my) */
[data-lp-spot] {
  position: relative;
  isolation: isolate;
}

[data-lp-spot]::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), var(--lp-spot, rgba(229, 238, 128, 0.55)), transparent 62%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

[data-lp-spot]:hover::before {
  opacity: 1;
}

/* Scroll reveal. Hidden only once landing.js is known to be running (html.lp-js). */
.lp-js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--lp-ease), transform 0.8s var(--lp-ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.lp-js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ---------- Hero ---------- */
.lp-hero {
  position: relative;
  z-index: 5; /* the search dropdowns open over the next section */
  overflow-x: clip; /* the star may reach past the edge; downwards stays open for those dropdowns */
  padding: clamp(2.5rem, 6vw, 5.25rem) 0 2.5rem;
  color: #fff;
}

.lp-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(229, 238, 128, 0.26) 0%, transparent 62%),
    radial-gradient(55% 80% at 0% 100%, rgba(127, 224, 184, 0.2) 0%, transparent 64%),
    linear-gradient(120deg, #14221e 0%, #1c2b20 44%, #2d3a16 100%);
}

/* The original landing page's hero photo, under the auroras. A dark evergreen wash over it keeps
   the white headline readable, and the moving layers above stay exactly as they were. */
.lp-photo {
  position: absolute;
  inset: 0;
  background: url('/assets/images/hero.png') center 68% / cover no-repeat;
}

.lp-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 34, 30, 0.86) 0%, rgba(28, 43, 32, 0.74) 44%, rgba(45, 58, 22, 0.66) 100%);
}

@media (max-width: 991.98px) {
  .lp-photo {
    background-position: left 33%;
  }

  .lp-photo::after {
    background: linear-gradient(180deg, rgba(20, 34, 30, 0.88) 0%, rgba(28, 43, 32, 0.8) 55%, rgba(45, 58, 22, 0.74) 100%);
  }
}

/* A section out of view rests: js/pages/landing.js sets .lp-rest on it and every animation in it
   stops until it is back. Those the browser cannot run off the main thread cost the whole page a
   frame of work each time they tick, wherever on the page the visitor is. */
.lp-rest,
.lp-rest *,
.lp-rest *::before,
.lp-rest *::after {
  animation-play-state: paused !important;
}

/* A soft glow: a disc that fades out to its edge. It was a disc under filter: blur(90px), which the
   browser redrew on every frame of the drift (four of them, up to 640px each, over the hero's
   photographs and falling leaves) and held the page well under 60 frames a second. The fade is drawn
   once; `scale` (apart from the drift's transform) gives it the reach the blur had. */
.lp-aurora {
  position: absolute;
  border-radius: 50%;
  scale: 1.5;
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, rgba(0, 0, 0, 0.5) 62%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 25%, rgba(0, 0, 0, 0.5) 62%, transparent 100%);
  will-change: transform;
}

.lp-aurora-1 {
  right: -8%;
  top: -34%;
  width: 46vw;
  height: 46vw;
  max-width: 640px;
  max-height: 640px;
  background: var(--lp-lime);
  opacity: 0.3;
  animation: lp-drift 18s ease-in-out infinite alternate;
}

.lp-aurora-2 {
  left: -12%;
  bottom: -46%;
  width: 40vw;
  height: 40vw;
  max-width: 560px;
  max-height: 560px;
  background: var(--lp-mint);
  opacity: 0.24;
  animation: lp-drift 22s ease-in-out -6s infinite alternate-reverse;
}

.lp-aurora-3 {
  left: 38%;
  bottom: -30%;
  width: 30vw;
  height: 30vw;
  max-width: 420px;
  max-height: 420px;
  background: var(--lp-amber);
  opacity: 0.13;
  animation: lp-drift 26s ease-in-out -11s infinite alternate;
}

.lp-aurora-4 {
  left: 8%;
  top: -38%;
  width: 28vw;
  height: 28vw;
  max-width: 400px;
  max-height: 400px;
  background: #3fb6a0;
  opacity: 0.2;
  animation: lp-drift 30s ease-in-out -3s infinite alternate-reverse;
}

.lp-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(229, 238, 128, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 238, 128, 0.07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(80% 80% at 70% 20%, #000 0%, transparent 75%);
  mask-image: radial-gradient(80% 80% at 70% 20%, #000 0%, transparent 75%);
}

/* Four-point glints scattered over the background */
.lp-spark {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--lp-lime);
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  opacity: 0;
  animation: lp-twinkle 5s ease-in-out infinite;
}

.lp-spark-1 {
  left: 46%;
  top: 14%;
}

.lp-spark-2 {
  left: 7%;
  top: 9%;
  width: 10px;
  height: 10px;
  background: var(--lp-mint);
  animation-delay: -1.4s;
}

.lp-spark-3 {
  left: 58%;
  top: 72%;
  width: 18px;
  height: 18px;
  background: #fff;
  animation-delay: -2.6s;
}

.lp-spark-4 {
  left: 93%;
  top: 56%;
  width: 12px;
  height: 12px;
  background: var(--lp-amber);
  animation-delay: -3.5s;
}

.lp-spark-5 {
  left: 30%;
  top: 84%;
  width: 9px;
  height: 9px;
  animation-delay: -0.7s;
}

/* A fine film grain keeps the large gradients from banding */
.lp-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.16;
  mix-blend-mode: soft-light;
}

.lp-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: 'copy' 'search' 'visual';
  row-gap: 2rem;
}

.lp-hero-copy {
  grid-area: copy;
  min-width: 0;
}

.lp-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 1.5rem;
  padding: 0.4375rem 0.9375rem 0.4375rem 0.75rem;
  border-radius: 999px;
  background: linear-gradient(100deg, rgba(229, 238, 128, 0.16), rgba(127, 224, 184, 0.1));
  box-shadow: inset 0 0 0 1px rgba(229, 238, 128, 0.28), 0 10px 30px -16px rgba(229, 238, 128, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  animation: lp-rise 0.8s var(--lp-ease) both;
}

.lp-pill-dot {
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lp-lime);
  position: relative;
}

/* Its pulse: a disc scaled and faded, not an animated box-shadow (see .lp-meter-fill::before) */
.lp-pill-dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(229, 238, 128, 0.6);
  animation: lp-pulse 2.2s ease-out infinite;
}

.lp-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5.7vw, 4.625rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: #fff;
}

:lang(hy) .lp-title {
  font-size: clamp(2rem, 4.3vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* Each line slides up out of its own mask */
.lp-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.lp-line > span {
  display: block;
  animation: lp-line-in 1s var(--lp-ease) 0.1s both;
}

.lp-line + .lp-line > span {
  animation-delay: 0.22s;
}

.lp-line--accent {
  color: var(--lp-lime);
}

/* The accent line is lime running into mint, with a slow light passing through it: out and back
   once, then still. A background cannot be moved off the main thread, and looping it for good
   repainted the headline (and with it cost the page a full frame) sixty times a second. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .lp-line.lp-line--accent > span {
    background: linear-gradient(100deg, #e5ee80 0%, #f6fbc4 22%, #7fe0b8 50%, #e5ee80 78%, #f6fbc4 100%);
    background-size: 240% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: lp-line-in 1s var(--lp-ease) 0.22s both, lp-sheen 9s ease-in-out 1.2s 2 alternate;
  }
}

.lp-lead {
  max-width: 540px;
  margin: 1.5rem 0 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.78);
  animation: lp-rise 0.9s var(--lp-ease) 0.4s both;
}

.lp-facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  column-gap: clamp(1rem, 3vw, 2rem);
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  animation: lp-rise 0.9s var(--lp-ease) 0.52s both;
}

.lp-facts li {
  display: grid;
  gap: 0.375rem;
  font-size: 0.9375rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.7);
}

.lp-facts li + li {
  padding-left: clamp(1rem, 3vw, 2rem);
  box-shadow: inset 1px 0 0 rgba(229, 238, 128, 0.22);
}

.lp-facts li:nth-child(2) strong {
  color: var(--lp-lime);
}

.lp-facts li:nth-child(3) strong {
  color: var(--lp-mint);
}

.lp-facts strong {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

/* Search bar */
.lp-search {
  grid-area: search;
  position: relative;
  z-index: 3;
  min-width: 0;
  animation: lp-rise 0.9s var(--lp-ease) 0.62s both;
}

.lp-search .search-form {
  max-width: none;
  padding: 1rem;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 0 7px rgba(229, 238, 128, 0.12), 0 30px 70px -24px rgba(6, 20, 14, 0.6);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: box-shadow 0.4s ease;
}

.lp-search .search-label {
  font-weight: 500;
}

.lp-search .search-input {
  background-color: #f7f7f5;
  border-color: transparent;
  border-radius: 12px;
}

.lp-search .search-input:hover {
  background-color: #f1f1ee;
}

.lp-search .search-form .btn-primary {
  border-radius: 12px;
  font-family: var(--font-heading);
  transition: transform 0.2s var(--lp-ease), box-shadow 0.2s var(--lp-ease);
}

.lp-search .search-form .btn-primary:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -12px rgba(140, 150, 30, 0.9);
}

/* A destination chip or the header's "Start Bidding" just sent the visitor here */
.lp-search.is-flash .search-form {
  animation: lp-flash 1.4s ease-out;
}

/* Bid example */
.lp-hero-visual {
  grid-area: visual;
  position: relative;
  min-width: 0;
  height: calc(470px * var(--lp-s, 0.66));
}

.lp-stage {
  position: absolute;
  left: 50%;
  top: 0;
  width: 540px;
  height: 470px;
  margin-left: -270px;
  transform-origin: 50% 0;
  transform: scale(var(--lp-s, 0.66));
  color: var(--lp-text);
  --px: 0;
  --py: 0;
}

/* Each layer follows the pointer by its own depth */
.lp-layer {
  position: absolute;
  translate: calc(var(--px) * var(--depth, 1) * 1px) calc(var(--py) * var(--depth, 1) * 1px);
}

.lp-layer--star {
  right: -34px;
  top: -30px;
  --depth: 0.5;
  animation: lp-pop 1.1s var(--lp-ease) 0.3s backwards;
}

.lp-star {
  position: relative;
  display: block;
  width: 310px;
  height: auto;
  /* lp-turn, not lp-spin: on an <svg> the rotate property is animated on the main thread */
  animation: lp-turn 70s linear infinite;
  filter: drop-shadow(0 30px 50px rgba(8, 24, 14, 0.45));
}

/* The light the star throws behind itself */
.lp-star-glow {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(229, 238, 128, 0.5), rgba(127, 224, 184, 0.16) 55%, transparent 72%);
  filter: blur(18px);
  animation: lp-breathe 6s ease-in-out infinite;
}

/* Two tilted rings, each carrying one small body round the star */
.lp-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  transform: rotateZ(-20deg) rotateX(66deg);
  pointer-events: none;
}

.lp-orbit--2 {
  width: 500px;
  height: 500px;
  margin: -250px 0 0 -250px;
  transform: rotateZ(24deg) rotateX(72deg);
}

.lp-orbit i {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(229, 238, 128, 0.32);
  border-radius: 50%;
  animation: lp-spin 16s linear infinite;
}

.lp-orbit--2 i {
  border-color: rgba(127, 224, 184, 0.26);
  border-style: dashed;
  animation-duration: 26s;
  animation-direction: reverse;
}

.lp-orbit i::after {
  content: '';
  position: absolute;
  left: 50%;
  top: -8px;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  border-radius: 50%;
  background: var(--lp-lime);
  box-shadow: 0 0 0 6px rgba(229, 238, 128, 0.18), 0 0 26px 6px rgba(229, 238, 128, 0.75);
}

.lp-orbit--2 i::after {
  background: var(--lp-mint);
  box-shadow: 0 0 0 6px rgba(127, 224, 184, 0.18), 0 0 26px 6px rgba(127, 224, 184, 0.75);
}

.lp-layer--mini {
  left: 24px;
  top: 28px;
  --depth: 3.6;
  animation: lp-pop 1s var(--lp-ease) 0.7s backwards;
}

.lp-mini {
  display: block;
  fill: var(--lp-mint);
  animation: lp-spin 24s linear infinite reverse;
  filter: drop-shadow(0 10px 18px rgba(127, 224, 184, 0.45));
}

.lp-layer--bid {
  left: 0;
  top: 104px;
  z-index: 2;
  --depth: 1.2;
  animation: lp-pop 1s var(--lp-ease) 0.45s backwards;
}

/* While the bid is on its way, rings spread out from the card */
.lp-ping,
.lp-ping::before,
.lp-ping::after {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
}

.lp-ping::before,
.lp-ping::after {
  content: '';
  box-shadow: 0 0 0 2px rgba(229, 238, 128, 0.85);
  opacity: 0;
}

.is-sending .lp-ping::before,
.is-sending .lp-ping::after {
  animation: lp-ping 1.8s ease-out infinite;
}

.is-sending .lp-ping::after {
  animation-delay: 0.9s;
}

.lp-bid {
  position: relative;
  width: 312px;
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: linear-gradient(165deg, #fff 55%, #f8faea 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 2px 6px rgba(8, 24, 14, 0.12), 0 44px 80px -30px rgba(4, 16, 10, 0.75);
  /* Leans a few degrees towards the pointer */
  transform: perspective(900px) rotateY(calc(var(--px) * -0.8deg)) rotateX(calc(var(--py) * 0.8deg));
  animation: lp-bob 7s ease-in-out infinite;
}

/* A hairline of lime and mint round the card */
.lp-bid::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: inherit;
  background: linear-gradient(140deg, var(--lp-lime), rgba(127, 224, 184, 0.9) 45%, rgba(255, 255, 255, 0) 75%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}

.lp-bid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lp-bid-label {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(51, 49, 54, 0.6);
}

.lp-tag {
  padding: 3px 10px;
  border-radius: 999px;
  background: #f1f1ee;
  font-size: 12px;
  font-weight: 500;
  color: rgba(51, 49, 54, 0.7);
}

.lp-bid-where {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin-top: 14px;
  font-size: 14px;
  color: rgba(51, 49, 54, 0.75);
}

.lp-bid-where svg {
  flex: none;
  color: var(--lp-text);
}

.lp-bid-where b {
  font-weight: 600;
  color: var(--lp-text);
}

.lp-bid-where i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(51, 49, 54, 0.35);
}

.lp-bid-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--font-heading);
}

.lp-bid-price strong {
  font-size: 46px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.lp-bid-price span {
  font-size: 15px;
  font-weight: 600;
}

.lp-bid-price small {
  font-size: 13px;
  font-weight: 400;
  color: rgba(51, 49, 54, 0.6);
}

/* The price meter fills from 8% to 68% as the bid is named. The fill is a full-width bar scaled along
   its length and the thumb a disc slid along the track (cqi: a hundredth of the track's width), so
   the browser moves both off the main thread. Animating the fill's width laid the card out again on
   every frame for a second and a half of each loop. */
.lp-meter {
  position: relative;
  height: 6px;
  margin-top: 18px;
  border-radius: 6px;
  background: #ecece8;
  container-type: inline-size;
}

.lp-meter-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--lp-ink), var(--lp-lime-deep) 70%, #a9b637);
  transform-origin: 0 50%;
  transform: scaleX(0.08);
  transition: transform 1.5s var(--lp-ease);
}

/* The thumb, and under it the ring that pulses out of it: a disc scaled and faded (it was an animated
   box-shadow on the thumb, repainted on every frame) */
.lp-meter::before,
.lp-meter::after {
  content: '';
  position: absolute;
  left: -9px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  translate: 8cqi 0;
  transition: translate 1.5s var(--lp-ease);
}

.lp-meter::after {
  z-index: 1;
  background: var(--lp-lime);
  box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(0, 0, 0, 0.25);
}

.lp-meter::before {
  background: rgba(229, 238, 128, 0.8);
  animation: lp-thumb 2.4s ease-out infinite;
}

.is-priced .lp-meter-fill {
  transform: scaleX(0.68);
}

.is-priced .lp-meter::before,
.is-priced .lp-meter::after {
  translate: 68cqi 0;
}

.lp-bid-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid #efefec;
  font-size: 14px;
  font-weight: 500;
  color: rgba(51, 49, 54, 0.75);
}

.lp-dots {
  display: inline-flex;
  gap: 4px;
}

.lp-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-text);
  animation: lp-blink 1.1s ease-in-out infinite;
}

.lp-dots i:nth-child(2) {
  animation-delay: 0.16s;
}

.lp-dots i:nth-child(3) {
  animation-delay: 0.32s;
}

/* Once the hotels have answered the dots settle into one green tick */
.is-answered .lp-dots {
  width: 18px;
  height: 18px;
  gap: 0;
  border-radius: 50%;
  background: #1f9d55 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.is-answered .lp-dots i {
  display: none;
}

.lp-layer--o1 {
  right: 0;
  top: 34px;
  z-index: 3;
  --depth: 2.2;
}

.lp-layer--o2 {
  right: 14px;
  top: 190px;
  z-index: 3;
  --depth: 2.8;
}

.lp-layer--o3 {
  right: -6px;
  top: 322px;
  z-index: 3;
  --depth: 1.9;
}

.lp-offer {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 12px;
  width: 268px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(8, 24, 14, 0.1), 0 30px 60px -26px rgba(4, 16, 10, 0.8);
  opacity: 0;
  transform: translateY(26px) scale(0.9) rotate(var(--r, 0deg));
  /* Not box-shadow: a shadow cannot be faded off the main thread, and it changes with the answer */
  transition: opacity 0.45s ease, transform 0.6s var(--lp-spring);
}

.lp-layer--o1 .lp-offer {
  --r: 2deg;
}

.lp-layer--o2 .lp-offer {
  --r: -2.5deg;
}

.lp-layer--o3 .lp-offer {
  --r: 1.5deg;
}

.lp-offer.is-on,
html:not(.lp-js) .lp-offer {
  opacity: 1;
  transform: rotate(var(--r, 0deg));
}

.lp-offer.is-best {
  box-shadow: 0 0 0 3px var(--lp-lime), 0 30px 60px -22px rgba(229, 238, 128, 0.55);
  transform: scale(1.05) rotate(0deg);
}

.lp-offer-ic {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f5c2;
  color: #4a550b;
}

.lp-layer--o2 .lp-offer-ic {
  background: #fff1cf;
  color: #7a4d00;
}

.lp-layer--o3 .lp-offer-ic {
  background: #dcf5ea;
  color: #14604a;
}

/* Each answer used to be crossed by a streak of light as it landed (an animated background, then a
   band slid across the card). Either way the browser ran it on the main thread for over a second per
   answer, three times a loop, restyling every moving thing on the page each frame; the answers
   springing in say enough. */

.lp-offer-name {
  min-width: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.lp-offer-name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-offer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 8px;
  font-size: 13px;
  color: rgba(51, 49, 54, 0.7);
}

.lp-offer-meta b {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--lp-text);
  font-variant-numeric: tabular-nums;
}

/* The hotel's answer is pinned to the card's top edge, so the name keeps the full width */
.lp-badge {
  position: absolute;
  right: 14px;
  top: -11px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 0 0 2px #fff, 0 6px 14px -6px rgba(0, 0, 0, 0.5);
}

.lp-badge--ok {
  background: #dcf5e4;
  color: #14602f;
}

.lp-badge--counter {
  background: #ffefc9;
  color: #7a4d00;
}

/* The bid on its way: a price chip flies from the bid card to each hotel and lands as that
   hotel's answer appears (landing.js adds .is-go). The routes are in the stage's own 540 x 470 space. */
.lp-layer--send {
  left: 0;
  top: 0;
  width: 540px;
  height: 470px;
  z-index: 5;
  pointer-events: none;
  --depth: 1.6;
}

.lp-send-chip {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 9px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(31, 122, 88, 0.14), 0 12px 26px -10px rgba(4, 16, 10, 0.55);
  color: #1f7a58;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  /* Centred on the bid card's edge, where every flight starts */
  left: 160px;
  top: 230px;
  transform: translate(-50%, -50%);
}

/* Each flight bends to its hotel through a point half way (--mx/--my) and lands at --ex/--ey: the
   curves the chips used to follow as offset-paths (from 160,230 to 406,72 / 392,228 / 412,360), which
   the browser can only animate on the main thread. translate is in px and is animated off it. */
.lp-send-chip--1 {
  --mx: 132px;
  --my: -50px;
  --ex: 246px;
  --ey: -158px;
}

.lp-send-chip--2 {
  --mx: 130px;
  --my: -1px;
  --ex: 232px;
  --ey: -2px;
}

.lp-send-chip--3 {
  --mx: 133px;
  --my: 42px;
  --ex: 252px;
  --ey: 130px;
}

.lp-send-chip.is-go {
  animation: lp-send 0.7s cubic-bezier(0.45, 0, 0.2, 1) both, lp-send-fly 0.7s both;
}

@keyframes lp-send {
  0% {
    opacity: 0;
    scale: 0.6;
  }
  18% {
    opacity: 1;
    scale: 1;
  }
  82% {
    opacity: 1;
    scale: 1;
  }
  100% {
    opacity: 0;
    scale: 0.7;
  }
}

/* Speeding up to the half-way point and slowing from it, so the two halves read as one flight */
@keyframes lp-send-fly {
  0% {
    translate: 0 0;
    animation-timing-function: ease-in;
  }
  50% {
    translate: var(--mx) var(--my);
    animation-timing-function: ease-out;
  }
  100% {
    translate: var(--ex) var(--ey);
  }
}

.lp-layer--note {
  left: 26px;
  top: 404px;
  z-index: 4;
  --depth: 3.2;
  animation: lp-pop 1s var(--lp-ease) 0.9s backwards;
}

.lp-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  background: linear-gradient(100deg, #f1f7a8, var(--lp-lime) 45%, #cfe98f);
  color: var(--lp-ink);
  font-size: 14px;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 20px 40px -18px rgba(229, 238, 128, 0.7);
  animation: lp-bob 6s ease-in-out -2s infinite;
}

.lp-note svg {
  flex: none;
  padding: 5px;
  border-radius: 50%;
  background: var(--lp-ink);
  color: var(--lp-lime);
}

@media (min-width: 576px) {
  .lp-hero-visual {
    --lp-s: 0.86;
  }
}

@media (min-width: 992px) {
  .lp-hero {
    padding-bottom: 0;
  }

  .lp-hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    grid-template-areas: 'copy visual' 'search search';
    column-gap: 2.5rem;
    row-gap: 2.75rem;
    align-items: center;
  }

  .lp-hero-visual {
    --lp-s: 0.86;
  }

  /* The bar straddles the hero's bottom edge */
  .lp-search {
    margin-bottom: -3rem;
  }

  .lp-search .search-form {
    padding: 1.25rem 1.5rem 1.5rem;
    border-radius: 24px;
  }

  .lp-hero + .partners-strip {
    padding-top: 6rem;
  }
}

@media (min-width: 1200px) {
  .lp-hero-visual {
    --lp-s: 1;
  }
}

/* ---------- Three wins ---------- */
.lp-wins {
  background: var(--lp-tint);
}

.lp-wins-grid {
  display: grid;
  gap: 1.25rem;
}

.lp-win {
  padding: 2rem;
  overflow: hidden;
  border: 1px solid var(--lp-line);
  border-radius: 24px;
  background: #fff;
}

.lp-win-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2.5rem;
}

.lp-win-ic {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  /* A soft tint of the win's colour with the icon drawn in a deeper shade of it */
  background: linear-gradient(145deg, #f7f9dc, #eef3b8);
  box-shadow: inset 0 0 0 1px rgba(93, 106, 14, 0.12), 0 10px 24px -14px rgba(93, 106, 14, 0.55);
  color: var(--lp-lime-deep);
  transition: transform 0.5s var(--lp-spring);
}

.lp-win:hover .lp-win-ic {
  transform: rotate(-8deg) scale(1.08);
}

/* Each win has its own colour from the palette */
.lp-win:nth-child(2) .lp-win-ic {
  background: linear-gradient(145deg, #e9f8f1, #d2f1e3);
  box-shadow: inset 0 0 0 1px rgba(31, 122, 88, 0.12), 0 10px 24px -14px rgba(31, 122, 88, 0.5);
  color: #1f7a58;
}

.lp-win:nth-child(3) .lp-win-ic {
  background: linear-gradient(145deg, #fff8e3, #ffecbc);
  box-shadow: inset 0 0 0 1px rgba(154, 106, 0, 0.12), 0 10px 24px -14px rgba(154, 106, 0, 0.5);
  color: #9a6a00;
}

.lp-win-no {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: rgba(51, 49, 54, 0.1);
  transition: color 0.3s ease;
}

.lp-win:hover .lp-win-no {
  color: rgba(51, 49, 54, 0.28);
}

.lp-win h3 {
  margin: 0 0 0.625rem;
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-win p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--lp-muted);
}

@media (min-width: 768px) {
  .lp-wins-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- How it works ---------- */
.lp-steps {
  position: relative;
  display: grid;
  gap: 2.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: lp-step;
}

/* The track the steps sit on; the lime part draws itself when the list scrolls in */
.lp-steps::before,
.lp-steps::after {
  content: '';
  position: absolute;
  left: 35px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  border-radius: 2px;
  background: #ecece8;
}

.lp-steps::after {
  background: linear-gradient(var(--lp-lime), #c9d44e);
  transform-origin: 0 0;
  transform: scaleY(0);
  transition: transform 1.6s var(--lp-ease) 0.2s;
}

.lp-steps.in::after,
html:not(.lp-js) .lp-steps::after {
  transform: none;
}

.lp-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 1.25rem;
  counter-increment: lp-step;
}

.lp-step-ic {
  position: relative;
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--lp-lime);
  color: var(--lp-ink);
  box-shadow: 0 0 0 8px #fff;
  transition: transform 0.5s var(--lp-spring);
}

.lp-step:hover .lp-step-ic {
  transform: translateY(-4px) rotate(-4deg);
}

.lp-step-ic::after {
  content: counter(lp-step);
  position: absolute;
  right: -8px;
  top: -8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--lp-ink);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 0 0 3px #fff;
}

.lp-step h3 {
  align-self: end;
  margin: 0 0 0.375rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lp-step p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--lp-muted);
}

@media (min-width: 768px) {
  .lp-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }

  .lp-steps::before,
  .lp-steps::after {
    left: 16.666%;
    right: 16.666%;
    top: 35px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .lp-steps::after {
    background: linear-gradient(90deg, var(--lp-lime), #c9d44e);
    transform: scaleX(0);
  }

  .lp-step {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    text-align: center;
  }

  .lp-step-ic {
    grid-row: auto;
    margin-bottom: 1.75rem;
  }

  .lp-step h3 {
    font-size: 1.375rem;
  }

  .lp-step p {
    max-width: 320px;
  }
}

/* ---------- Benefits ---------- */
.lp-dark {
  background:
    radial-gradient(55% 70% at 0% 0%, rgba(127, 224, 184, 0.12), transparent 62%),
    radial-gradient(55% 70% at 100% 100%, rgba(229, 238, 128, 0.12), transparent 62%),
    var(--lp-ink);
  color: #fff;
}

.lp-bento {
  display: grid;
  gap: 1.25rem;
}

.lp-tile {
  --lp-spot: rgba(229, 238, 128, 0.13);
  display: flex;
  flex-direction: column;
  padding: 2rem;
  overflow: hidden;
  border-radius: 28px;
  background: var(--lp-ink-2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lp-tile h3 {
  margin: 0 0 0.625rem;
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.lp-tile p {
  margin: 0;
  max-width: 520px;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.66);
}

.lp-art {
  position: relative;
  flex: 1;
  min-height: 190px;
  margin-bottom: 1.75rem;
}

/* Private offers: three cards fan out, the top one is yours */
.lp-art--offers {
  min-height: 250px;
}

.lp-ticket {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 230px;
  height: 142px;
  margin: -71px 0 0 -115px;
  padding: 18px;
  border-radius: 20px;
  background: var(--lp-ink-3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 30px 50px -30px #000;
  transform-origin: 50% 130%;
  transition: transform 0.9s var(--lp-spring);
}

.lp-ticket::before,
.lp-ticket::after {
  content: '';
  position: absolute;
  left: 18px;
  height: 10px;
  border-radius: 10px;
  background: currentColor;
  opacity: 0.16;
}

.lp-ticket::before {
  bottom: 42px;
  width: 58%;
}

.lp-ticket::after {
  bottom: 22px;
  width: 36%;
}

.lp-ticket--front {
  background: var(--lp-lime);
  color: var(--lp-ink);
  box-shadow: 0 30px 60px -28px rgba(229, 238, 128, 0.6);
}

.lp-ticket-lock {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--lp-ink);
  color: var(--lp-lime);
}

.lp-ticket-cut {
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px dashed rgba(21, 20, 24, 0.5);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  animation: lp-spin 14s linear infinite;
}

.lp-tile.in .lp-ticket--back-1,
html:not(.lp-js) .lp-ticket--back-1 {
  transform: rotate(-13deg) translateX(-34px);
}

.lp-tile.in .lp-ticket--back-2,
html:not(.lp-js) .lp-ticket--back-2 {
  transform: rotate(12deg) translateX(34px);
}

.lp-tile:hover .lp-ticket--back-1 {
  transform: rotate(-19deg) translateX(-54px);
}

.lp-tile:hover .lp-ticket--back-2 {
  transform: rotate(18deg) translateX(54px);
}

.lp-tile:hover .lp-ticket--front {
  transform: translateY(-8px);
}

/* One bid reaches several hotels */
.lp-art--bid svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  overflow: visible;
}

.lp-wire {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1.5;
}

.lp-flow {
  fill: none;
  stroke: var(--lp-lime);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 3 15;
  animation: lp-flow 1.4s linear infinite;
}

.lp-node {
  fill: var(--lp-ink-3);
  stroke: rgba(255, 255, 255, 0.16);
}

.lp-node-glyph {
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-node-ring {
  fill: none;
  stroke: var(--lp-lime);
  stroke-width: 2;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: lp-ring 3.2s ease-out infinite;
}

.lp-node-ring--2 {
  animation-delay: 0.5s;
}

.lp-node-ring--3 {
  animation-delay: 1s;
}

.lp-node-ring--4 {
  animation-delay: 1.5s;
}

.lp-source {
  fill: var(--lp-lime);
}

/* Effortless bidding: the bid travels to Hotel A, B and C (markup in Views/Home/IndexV2.cshtml) */
.lp-route {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1.8;
  stroke-dasharray: 3 6;
  stroke-linecap: round;
}

.lp-route-card {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1.5;
}

.lp-route-glow {
  fill: none;
  stroke: #7fe0b8;
  stroke-width: 1.8;
}

.lp-route-card--bid {
  fill: rgba(255, 255, 255, 0.1);
  stroke: rgba(229, 238, 128, 0.45);
}

.lp-route-tag {
  fill: var(--lp-lime);
}

.lp-route-tag-glyph {
  fill: none;
  stroke: var(--lp-ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-route-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  fill: #fff;
}

/* Three still dots, each a little fainter. They used to blink, but nothing inside an <svg> can be
   animated off the main thread, and three dots were not worth a pass over the page on every frame. */
.lp-route-dots circle {
  fill: var(--lp-mint);
}

.lp-route-dots circle:nth-child(2) {
  opacity: 0.7;
}

.lp-route-dots circle:nth-child(3) {
  opacity: 0.4;
}

.lp-route-hotel-ic {
  fill: rgba(255, 255, 255, 0.1);
}

.lp-route-hotel-glyph {
  fill: none;
  stroke: #fff;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-route-name {
  font-size: 13.5px;
  font-weight: 600;
  fill: rgba(255, 255, 255, 0.9);
}

.lp-route-chip rect {
  fill: var(--lp-lime);
}

.lp-route-chip path {
  fill: none;
  stroke: var(--lp-ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-route-badge circle {
  fill: #1f9d55;
  stroke: var(--lp-ink-2);
  stroke-width: 2;
}

.lp-route-badge path {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.lp-route-still {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .lp-route-live {
    display: none;
  }

  .lp-route-still {
    display: inline;
  }

  .lp-route-dots circle {
    animation: none;
  }
}

@keyframes lp-route-dot {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

/* Verified */
.lp-art--safe {
  display: grid;
  place-items: center;
}

.lp-shield {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--lp-lime);
  color: var(--lp-ink);
}

.lp-shield::before,
.lp-shield::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(229, 238, 128, 0.55);
  animation: lp-halo 3s ease-out infinite;
}

.lp-shield::after {
  animation-delay: 1.5s;
}

.lp-shield svg {
  position: relative;
  z-index: 1;
}

@media (min-width: 992px) {
  .lp-bento {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  }

  .lp-tile {
    padding: 2.5rem;
  }

  .lp-tile--offers {
    grid-row: span 2;
  }

  /* The tall tile has the room for a larger fan */
  .lp-tile--offers .lp-ticket {
    width: 320px;
    height: 198px;
    margin: -99px 0 0 -160px;
    padding: 24px;
    border-radius: 26px;
  }

  .lp-tile--offers .lp-ticket::before,
  .lp-tile--offers .lp-ticket::after {
    left: 24px;
    height: 12px;
  }

  .lp-tile--offers .lp-ticket::before {
    bottom: 58px;
  }

  .lp-tile--offers .lp-ticket::after {
    bottom: 30px;
  }

  .lp-tile--offers .lp-ticket-lock {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .lp-tile--offers .lp-ticket-cut {
    right: 22px;
    top: 22px;
    width: 56px;
    height: 56px;
    font-size: 1.375rem;
  }
}

/* ---------- Destinations: the map of Armenia ----------
   The mobile app's province map (Views/Shared/_ArmeniaMap.cshtml), alone and centred. Every pin
   carries its city's name at every size and picks that city in the search bar; a province dims
   the rest (js/pages/landing.js). */
.lp-dest {
  display: grid;
  gap: 2rem;
  justify-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.lp-dest-map {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

/* A soft pool of light under the country, so it sits on the page rather than floats */
.lp-dest-map::before {
  content: "";
  position: absolute;
  inset: 8% 4% 2%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(169, 216, 236, 0.45), rgba(169, 216, 236, 0));
  pointer-events: none;
}

/* Cities are what the map names, at every size; a province still gives its name on hover (<title>) */
.lp-map-names {
  display: none;
}

.lp-map {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 22px 30px rgba(43, 111, 138, 0.2));
}

.lp-map-province {
  fill: var(--f);
  stroke: #fff;
  stroke-width: 1;
  stroke-linejoin: round;
  cursor: pointer;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

.lp-map-province:hover {
  filter: brightness(1.06) saturate(1.15);
}

.lp-map-lake {
  fill: #bfdcef;
  stroke: #fff;
  stroke-width: 0.8;
  pointer-events: none;
}

.lp-map-names text {
  font-family: var(--font-heading);
  font-weight: 600;
  text-anchor: middle;
  fill: var(--lp-text);
  opacity: 0.62;
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 2.2px;
  stroke-linejoin: round;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lp-map-pin {
  cursor: pointer;
  outline: none;
}

.lp-map-pin-hit {
  fill: transparent;
}

.lp-map-pin-ring {
  fill: var(--lp-lime);
  opacity: 0.55;
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.35s var(--lp-spring);
}

.lp-map-pin-dot {
  fill: var(--lp-text);
  stroke: #fff;
  stroke-width: 1.2;
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.35s var(--lp-spring);
}

.lp-map-pin-label {
  font-family: var(--font-heading);
  font-size: 6.6px;
  font-weight: 600;
  fill: var(--lp-text);
  paint-order: stroke;
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 2.4px;
  stroke-linejoin: round;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Phones: every pin keeps its name, as on larger screens, since the map is the only way to pick
   a city. The main cities are larger; the pin in hand is always readable. A wider area takes the tap. */
@media (max-width: 575.98px) {
  .lp-map-pin-label {
    font-size: 7.4px;
    font-weight: 600;
  }

  .lp-map-pin--main .lp-map-pin-label,
  .lp-map-pin.is-active .lp-map-pin-label,
  .lp-map-pin:focus-visible .lp-map-pin-label {
    font-size: 9px;
    font-weight: 700;
  }

  .lp-map-pin-hit {
    r: 11px;
  }
}

.lp-map-pin:hover .lp-map-pin-ring,
.lp-map-pin:focus-visible .lp-map-pin-ring,
.lp-map-pin.is-active .lp-map-pin-ring {
  opacity: 1;
  transform: scale(1.7);
}

.lp-map-pin:hover .lp-map-pin-dot,
.lp-map-pin:focus-visible .lp-map-pin-dot,
.lp-map-pin.is-active .lp-map-pin-dot {
  transform: scale(1.2);
}

.lp-map-pin:hover .lp-map-pin-label,
.lp-map-pin:focus-visible .lp-map-pin-label,
.lp-map-pin.is-active .lp-map-pin-label {
  font-weight: 700;
}

/* A chosen province: the others, their names and their pins step back */
.lp-dest.is-filtered .lp-map-province:not(.is-on),
.lp-dest.is-filtered .lp-map-names text:not(.is-on),
.lp-dest.is-filtered .lp-map-pin:not(.is-on) {
  opacity: 0.3;
}

.lp-dest.is-filtered .lp-map-province.is-on {
  stroke: var(--lp-text);
  stroke-width: 1.6;
}

/* Night: the app's darker fills, light names and pins */
html[data-theme="dark"] .lp-map {
  filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.35));
}

html[data-theme="dark"] .lp-map-province {
  fill: var(--fd);
  stroke: #0f2230;
}

html[data-theme="dark"] .lp-map-lake {
  fill: #24506b;
  stroke: #0f2230;
}

html[data-theme="dark"] .lp-map-names text,
html[data-theme="dark"] .lp-map-pin-label {
  fill: #f1f6fa;
  stroke: rgba(15, 34, 48, 0.8);
}

html[data-theme="dark"] .lp-dest-map::before {
  background: radial-gradient(closest-side, rgba(74, 155, 189, 0.22), rgba(74, 155, 189, 0));
}

html[data-theme="dark"] .lp-map-pin-dot {
  fill: #f1f6fa;
  stroke: #0f2230;
}

html[data-theme="dark"] .lp-dest.is-filtered .lp-map-province.is-on {
  stroke: #f1f6fa;
}

@media (prefers-reduced-motion: reduce) {
  .lp-map-province,
  .lp-map-names text,
  .lp-map-pin-ring,
  .lp-map-pin-dot,
  .lp-map-pin-label {
    transition: none;
  }
}

/* ---------- FAQ ---------- */
.lp-faq {
  background: var(--lp-tint);
}

.lp-faq-grid {
  display: grid;
  gap: 2.5rem;
}

.lp-faq .lp-head {
  margin: 0;
  text-align: left;
}

.lp-faq .lp-sub {
  margin-left: 0;
}

.lp-faq-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  padding-bottom: 2px;
  border-bottom: 2px solid var(--lp-text);
  color: var(--lp-text);
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.25s var(--lp-ease);
}

.lp-faq-more:hover {
  gap: 0.875rem;
  color: var(--lp-text);
}

.lp-faq-list {
  display: grid;
  gap: 0.75rem;
}

.lp-faq-item {
  border: 1px solid var(--lp-line);
  border-radius: 20px;
  background: #fff;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.lp-faq-item[open] {
  border-color: transparent;
  box-shadow: 0 24px 50px -30px rgba(51, 49, 54, 0.45);
}

.lp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.lp-faq-item summary::-webkit-details-marker {
  display: none;
}

.lp-faq-item summary:focus-visible {
  outline: 2px solid var(--lp-text);
  outline-offset: 2px;
  border-radius: 20px;
}

.lp-faq-x {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--lp-tint);
  transition: background-color 0.25s ease, rotate 0.4s var(--lp-spring);
}

.lp-faq-x::before,
.lp-faq-x::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--lp-text);
}

.lp-faq-x::after {
  rotate: 90deg;
}

.lp-faq-item[open] .lp-faq-x {
  background: var(--lp-lime);
  rotate: 45deg;
}

.lp-faq-item p {
  margin: 0;
  padding: 0 1.5rem 1.5rem;
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--lp-muted);
  animation: lp-rise 0.45s var(--lp-ease) both;
}

@media (min-width: 992px) {
  .lp-faq-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 4rem;
    align-items: start;
  }

  .lp-faq .lp-head {
    position: sticky;
    top: 112px;
  }
}

/* ---------- Closing call ---------- */
.lp-cta {
  padding-top: 0;
  background: var(--lp-tint);
}

.lp-cta-panel {
  position: relative;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  overflow: hidden;
  border-radius: clamp(24px, 4vw, 40px);
  background:
    radial-gradient(70% 120% at 100% 0%, rgba(229, 238, 128, 0.26), transparent 60%),
    radial-gradient(60% 110% at 0% 100%, rgba(127, 224, 184, 0.2), transparent 62%),
    linear-gradient(120deg, #14221e, #1c2b20 45%, #2d3a16);
  text-align: center;
  color: #fff;
}

.lp-cta-star {
  position: absolute;
  width: clamp(180px, 24vw, 320px);
  height: auto;
  opacity: 0.9;
  pointer-events: none;
  animation: lp-spin 60s linear infinite;
}

.lp-cta-star--1 {
  left: -6%;
  bottom: -32%;
}

.lp-cta-star--2 {
  right: -5%;
  top: -34%;
  animation-direction: reverse;
  animation-duration: 80s;
}

.lp-cta-panel .lp-h2 {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  color: #fff;
}

.lp-cta-panel .lp-sub {
  position: relative;
  color: rgba(255, 255, 255, 0.7);
}

.lp-cta-panel .lp-btn {
  margin-top: 2.25rem;
}

/* ---------- Blog (carousel markup and behaviour are unchanged) ---------- */
/* Two white sections in a row would otherwise leave a double gap between them */
#destinations + .lp-blog {
  padding-top: 0;
}

.lp-blog .blog-card-img {
  border-radius: 20px;
}

.lp-blog .blog-card-img img {
  transition: transform 0.8s var(--lp-ease);
}

/* ---------- Keyframes ---------- */
@keyframes lp-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}

@keyframes lp-line-in {
  from {
    transform: translateY(112%);
  }
}

/* Used with `backwards`, not `both`: held to the end, it left a blur(0px) filter on the hero's star,
   bid card and note for good, which the browser applied again on every frame of their bobbing. */
@keyframes lp-pop {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.92);
    filter: blur(10px);
  }
}

@keyframes lp-sheen {
  to {
    background-position: 100% 0;
  }
}

@keyframes lp-twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.4) rotate(0deg);
  }
  50% {
    opacity: 0.9;
    transform: scale(1) rotate(45deg);
  }
}

@keyframes lp-breathe {
  50% {
    opacity: 0.6;
    transform: scale(1.08);
  }
}

@keyframes lp-ping {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.22, 1.3);
  }
}

@keyframes lp-thumb {
  0% {
    opacity: 1;
    transform: scale(1.33);
  }
  100% {
    opacity: 0;
    transform: scale(2.55);
  }
}

@keyframes lp-bob {
  50% {
    translate: 0 -10px;
  }
}

@keyframes lp-spin {
  to {
    rotate: 360deg;
  }
}

/* The same turn for an <svg>, where only transform is run off the main thread */
@keyframes lp-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lp-drift {
  to {
    transform: translate(-9%, 12%) scale(1.15);
  }
}

@keyframes lp-pulse {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(3.5);
  }
}

@keyframes lp-blink {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes lp-flash {
  0% {
    box-shadow: 0 0 0 0 rgba(229, 238, 128, 0.95), 0 30px 70px -24px rgba(6, 20, 14, 0.6);
  }
  100% {
    box-shadow: 0 0 0 22px rgba(229, 238, 128, 0), 0 30px 70px -24px rgba(6, 20, 14, 0.6);
  }
}

@keyframes lp-flow {
  to {
    stroke-dashoffset: -18;
  }
}

@keyframes lp-ring {
  0% {
    opacity: 0.9;
    transform: scale(1);
  }
  45%,
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@keyframes lp-halo {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(2.3);
  }
}

/* ---------- Reduced motion: everything is shown in its final state ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp-hero *,
  .lp-section *,
  .lp-hero *::before,
  .lp-hero *::after,
  .lp-section *::before,
  .lp-section *::after {
    animation: none !important;
    transition: none !important;
  }

  .lp-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .lp-steps::after {
    transform: none;
  }

  .lp-ticket--back-1 {
    transform: rotate(-13deg) translateX(-34px);
  }

  .lp-ticket--back-2 {
    transform: rotate(12deg) translateX(34px);
  }
}
