/* PREEN home — the driver's door first. Night photography, glass, water, and a stamp card. */

:root {
  --ink: #0b1c2b;
  --navy: #14324a;
  --blue: #1677ff;
  --blue-deep: #0f5fd6;
  --sky: #3aa6ff;
  --cyan: #00b2e2;
  --glow: #7adfff;
  --ice: #eef4fa;
  --foam: #dff0ff;
  --paper: #ffffff;
  --line: #d5e3f0;
  --muted: #4b6580;
  --gold: #c9a227;
  --mint: #3ddc97;
  --font-display: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --font-ui: "Nunito", "Avenir Next", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 40px rgba(20, 50, 74, 0.08);
  --shadow-lift: 0 34px 80px rgba(11, 28, 43, 0.22);
  --wrap: min(1200px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: var(--wrap);
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 50;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.skip:focus {
  top: 16px;
}

/* ---------- type ---------- */

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.display--xl {
  font-size: clamp(56px, 8.6vw, 124px);
}

.display--md {
  font-size: clamp(36px, 4.6vw, 62px);
  letter-spacing: -0.035em;
  line-height: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--glow);
}

.kicker__line {
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--glow));
}

.kicker--dark {
  color: var(--blue-deep);
}

.kicker--dark .kicker__line {
  background: linear-gradient(90deg, var(--blue-deep), var(--sky));
}

.section-lede {
  max-width: 52ch;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

/* ---------- mark ---------- */

.mark {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: inherit;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
}

.ee {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.ee i {
  display: block;
  width: 12px;
  height: 3px;
  border-radius: 1px;
  background: currentColor;
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}

.mark:hover .ee i:nth-child(1) { transform: scaleX(0.7); }
.mark:hover .ee i:nth-child(3) { transform: scaleX(0.7); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 78px;
  padding: 0 clamp(20px, 4vw, 56px);
  color: #fff;
  border-bottom: 1px solid transparent;
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), height 0.5s var(--ease);
}

.nav.is-scrolled {
  height: 66px;
  background: rgba(11, 28, 43, 0.74);
  border-color: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.nav__links {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav__links a {
  padding: 9px 15px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav__links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__staff {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav__staff b {
  color: #fff;
  font-weight: 800;
}

.nav__staff i {
  font-style: normal;
  color: var(--glow);
  transition: transform 0.3s var(--ease);
}

.nav__staff:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.nav__staff:hover i {
  transform: translateX(3px);
}

.nav__live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font-size: 13.5px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav__live:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav__live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6);
  animation: pulse 2.2s ease-out infinite;
}

/* ---------- hero ---------- */

.hero {
  --mx: 0;
  --my: 0;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100svh;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transform: scale(1.04);
  filter: saturate(1.05);
  animation: kenburns 40s ease-in-out infinite alternate;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 28, 43, 0.6) 0%, rgba(11, 28, 43, 0.14) 28%, rgba(11, 28, 43, 0.3) 58%, rgba(11, 28, 43, 0.97) 100%),
    linear-gradient(90deg, rgba(11, 28, 43, 0.72) 0%, rgba(11, 28, 43, 0.22) 52%, rgba(11, 28, 43, 0.12) 100%);
}

.hero__glow {
  position: absolute;
  left: -12%;
  bottom: -30%;
  width: 58%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(0, 178, 226, 0.34), transparent 72%);
  filter: blur(48px);
  animation: glow-drift 18s ease-in-out infinite alternate;
}

.hero__sweep {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -30%;
  width: 14%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.07), transparent);
  transform: skewX(-18deg);
  animation: sweep 13s ease-in-out infinite;
}

.rain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.rain i {
  position: absolute;
  top: -12%;
  left: calc(var(--x) * 1%);
  width: 2px;
  height: 46px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(200, 236, 255, 0.55));
  opacity: 0;
  animation: fall var(--d) linear infinite;
  animation-delay: var(--delay);
}

.rain i:nth-child(1)  { --x: 6;  --d: 7s;   --delay: -1s; }
.rain i:nth-child(2)  { --x: 13; --d: 9s;   --delay: -4s; height: 32px; }
.rain i:nth-child(3)  { --x: 21; --d: 8s;   --delay: -2s; }
.rain i:nth-child(4)  { --x: 29; --d: 11s;  --delay: -6s; height: 28px; }
.rain i:nth-child(5)  { --x: 36; --d: 7.5s; --delay: -3s; }
.rain i:nth-child(6)  { --x: 44; --d: 10s;  --delay: -7s; height: 38px; }
.rain i:nth-child(7)  { --x: 51; --d: 8.5s; --delay: -5s; }
.rain i:nth-child(8)  { --x: 58; --d: 9.5s; --delay: -1.5s; height: 30px; }
.rain i:nth-child(9)  { --x: 64; --d: 7.2s; --delay: -6.5s; }
.rain i:nth-child(10) { --x: 71; --d: 10.5s; --delay: -2.5s; height: 34px; }
.rain i:nth-child(11) { --x: 77; --d: 8.2s; --delay: -8s; }
.rain i:nth-child(12) { --x: 83; --d: 9.8s; --delay: -3.5s; height: 26px; }
.rain i:nth-child(13) { --x: 89; --d: 7.8s; --delay: -5.5s; }
.rain i:nth-child(14) { --x: 94; --d: 11.5s; --delay: -0.5s; height: 40px; }
.rain i:nth-child(15) { --x: 40; --d: 12s;  --delay: -9s; height: 24px; }
.rain i:nth-child(16) { --x: 68; --d: 6.8s; --delay: -4.5s; }

.hero__inner {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  align-items: end;
  gap: 40px;
  padding: 150px 0 44px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero .kicker {
  animation: rise 1s var(--ease) 0.1s both;
}

.w {
  display: inline-block;
  margin-right: 0;
  opacity: 0;
  animation: word-in 1.1s var(--ease) both;
  animation-delay: calc(0.2s + var(--i) * 90ms);
  text-shadow: 0 12px 50px rgba(0, 0, 0, 0.35);
}

.w--shine {
  background: linear-gradient(92deg, #b9f0ff 0%, var(--glow) 35%, var(--cyan) 65%, #8fb4ff 100%);
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  animation: word-in 1.1s var(--ease) both, shine 6s ease-in-out 1.4s infinite;
}

.lede {
  max-width: 38ch;
  margin: 24px 0 0;
  color: rgba(232, 240, 248, 0.82);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.55;
  animation: rise 1s var(--ease) 0.7s both;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation: rise 1s var(--ease) 0.85s both;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn--light {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.btn--light::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -30%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(0, 178, 226, 0.22), transparent);
  transform: skewX(-20deg) translateX(-140%);
  transition: transform 0.9s var(--ease);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.38);
}

.btn--light:hover::after {
  transform: skewX(-20deg) translateX(640%);
}

.btn--light i {
  font-style: normal;
  transition: transform 0.35s var(--ease);
}

.btn--light:hover i {
  transform: translateX(4px);
}

.btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* floating glass cards */

.hero__cards {
  position: relative;
  z-index: 1;
  height: 400px;
  pointer-events: none;
}

.fcard {
  position: absolute;
  transform: translate3d(calc(var(--mx) * var(--depth) * 1px), calc(var(--my) * var(--depth) * 1px), 0);
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.fcard--bay { right: 4%; top: 0; }
.fcard--queue { right: 36%; top: 40%; }
.fcard--pay { right: 0; top: 70%; }

.fcard__in {
  opacity: 0;
  animation: card-in 1.1s var(--ease) both, floaty var(--dur, 7s) ease-in-out 1.2s infinite;
}

.fcard--bay .fcard__in { animation-delay: 0.9s, 2s; --dur: 7.5s; }
.fcard--queue .fcard__in { animation-delay: 1.1s, 2.4s; --dur: 9s; }
.fcard--pay .fcard__in { animation-delay: 1.3s, 2.8s; --dur: 6.5s; }

.glass {
  min-width: 250px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(14, 30, 46, 0.66), rgba(14, 30, 46, 0.4));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #f4f7fb;
}

.glass--row {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 246px;
}

.glass__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(232, 240, 248, 0.82);
}

.glass__head b {
  margin-left: auto;
  color: var(--glow);
  font-size: 10.5px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint);
  animation: pulse 2.2s ease-out infinite;
}

.glass__row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.glass strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.glass small {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: rgba(226, 236, 246, 0.66);
}

.ring {
  width: 58px;
  height: 58px;
  flex-shrink: 0;
}

.ring__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 5;
}

.ring__fill {
  fill: none;
  stroke: var(--glow);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 150.8;
  stroke-dashoffset: 150.8;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  filter: drop-shadow(0 0 6px rgba(122, 223, 255, 0.55));
  animation: ring 2.2s var(--ease) 1.6s both;
}

.ring__text {
  fill: #fff;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 800;
}

.queue {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.queue__car {
  display: grid;
  place-items: center;
  width: 54px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--tone);
  opacity: 0;
  animation: slide-in 0.8s var(--ease) both;
  animation-delay: calc(1.9s + var(--i) * 160ms);
}

.queue__car svg {
  width: 40px;
  height: 18px;
}

.queue__hint {
  margin-left: auto;
  font-size: 11.5px;
  color: rgba(226, 236, 246, 0.66);
}

.check {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #5ff0b5, #14b478 70%);
  color: #04261a;
  box-shadow: 0 10px 24px rgba(20, 180, 120, 0.4);
  animation: pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 2s both;
}

.check svg {
  width: 22px;
  height: 22px;
}

.check__path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 0.6s var(--ease) 2.4s both;
}

/* hero foot */

.hero__foot {
  position: relative;
  z-index: 2;
  width: var(--wrap);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 0 34px;
  animation: rise 1s var(--ease) 1.1s both;
}

.scroll-cue {
  display: grid;
  place-items: start center;
  width: 28px;
  height: 46px;
  padding-top: 8px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.scroll-cue i {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: #fff;
  animation: cue 2s ease-in-out infinite;
}

/* ---------- home hero: the app is the one thing it asks for ---------- */

.hero--home .hero__inner {
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  padding-top: 132px;
}

.hero--home .display--xl {
  font-size: clamp(46px, 6.3vw, 92px);
  text-wrap: balance;
}

.hero--home .lede {
  max-width: 44ch;
  margin-top: 20px;
  text-wrap: pretty;
}

.launchpad {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 22px;
  margin-top: 34px;
  animation: rise 1s var(--ease) 0.8s both;
}

/* The app's icon: the three bars of the PREEN E on a white tile, as on a home screen. */
.app-icon {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 4px;
  flex-shrink: 0;
  width: 58px;
  height: 58px;
  padding-left: 17px;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, var(--foam) 100%);
  box-shadow: 0 10px 22px rgba(3, 26, 64, 0.35), inset 0 -2px 0 rgba(15, 95, 214, 0.14);
}

.app-icon i {
  display: block;
  width: 24px;
  height: 5px;
  border-radius: 2px;
  background: var(--blue-deep);
  transform-origin: left center;
  transition: transform 0.4s var(--ease);
}

.app-icon--sm {
  width: 32px;
  height: 32px;
  gap: 2.5px;
  padding-left: 9px;
  border-radius: 11px;
  box-shadow: none;
}

.app-icon--sm i {
  width: 13px;
  height: 2.5px;
  border-radius: 1px;
}

.launch:hover .app-icon i:nth-child(1),
.launch:hover .app-icon i:nth-child(3),
.nav__app:hover .app-icon i:nth-child(1),
.nav__app:hover .app-icon i:nth-child(3) {
  transform: scaleX(0.7);
}

.launch {
  --launch-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 24px 50px rgba(0, 100, 180, 0.45);
  position: relative;
  isolation: isolate;
  display: inline-grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: min(100%, 420px);
  min-height: 84px;
  padding: 12px 14px 12px 12px;
  overflow: hidden;
  border-radius: 28px;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(122, 223, 255, 0.26), transparent 60%),
    linear-gradient(135deg, #0077b6 0%, var(--blue-deep) 62%, #1748b8 100%);
  box-shadow: var(--launch-shadow);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

/* A light passes over the button once, and again on hover. */
.launch::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: -30%;
  z-index: -1;
  width: 26%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: skewX(-20deg) translateX(-160%);
  pointer-events: none;
}

.launch:hover::after {
  transform: skewX(-20deg) translateX(640%);
  transition: transform 0.9s var(--ease);
}

/* The hero's button draws the eye once: a sheen, then two soft rings. */
.hero .launch {
  animation: beacon 2.4s ease-out 1.9s 2 backwards;
}

.hero .launch::after {
  animation: sheen 1.1s var(--ease) 1.5s backwards;
}

.launch:hover {
  transform: translateY(-3px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    0 30px 60px rgba(0, 100, 180, 0.55);
}

.launch:active {
  transform: scale(0.985);
}

.launch:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 4px;
}

.cta .launch:focus-visible {
  outline-color: var(--blue-deep);
}

.launch__text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.launch__text b {
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.launch__text small {
  color: #fff;
  opacity: 0.92;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.launch__go {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease);
}

.launch__go svg {
  width: 22px;
  height: 22px;
}

.launch:hover .launch__go {
  background: #fff;
  color: var(--blue-deep);
  transform: translateX(3px);
}

/* Desktop visitors: the app lives on the phone, so hand it over with a QR code. */
.qr-hand {
  display: none;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 10px 18px 10px 10px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(160deg, rgba(14, 30, 46, 0.7), rgba(14, 30, 46, 0.45));
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* White tile around the code: the rounded corners stay outside the code's own white margin. */
.qr-hand__tile {
  display: block;
  padding: 6px;
  border-radius: 16px;
  background: #fff;
}

.qr-hand__code {
  display: block;
  width: 98px;
  height: 98px;
}

.qr-hand figcaption {
  max-width: 18ch;
  color: rgba(226, 236, 246, 0.8);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
}

.qr-hand figcaption b {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

@media (min-width: 1081px) and (hover: hover) and (pointer: fine) {
  .qr-hand {
    display: flex;
  }
}

.hero__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding: 6px 0;
  color: rgba(232, 240, 248, 0.82);
  font-size: 15px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 6px;
  animation: rise 1s var(--ease) 0.95s both;
  transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease);
}

.hero__more svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--ease);
}

.hero__more:hover {
  color: #fff;
  text-decoration-color: rgba(122, 223, 255, 0.8);
}

.hero__more:hover svg {
  transform: translateY(3px);
}

/* The nav keeps the same app door in small, filled like the hero's button. */
.nav__app {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px 0 6px;
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  background: linear-gradient(135deg, #0077b6, var(--blue-deep));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2), 0 10px 26px rgba(0, 100, 180, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.nav__app:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3), 0 14px 32px rgba(0, 100, 180, 0.55);
}

.nav__app:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 3px;
}

/* Phones: once the hero's button scrolls away, the same button waits at the bottom. */
.dock {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 30;
  display: none;
  visibility: hidden;
  transform: translateY(calc(100% + 28px));
  transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
}

.dock.is-shown {
  visibility: visible;
  transform: none;
  transition: transform 0.45s var(--ease), visibility 0s;
}

.launch--dock {
  width: 100%;
  min-height: 64px;
  padding: 8px 10px 8px 8px;
  border-radius: 22px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 18px 40px rgba(2, 16, 40, 0.5);
}

.launch--dock .app-icon {
  width: 46px;
  height: 46px;
  gap: 3.5px;
  padding-left: 13px;
  border-radius: 15px;
}

.launch--dock .app-icon i {
  width: 19px;
  height: 4px;
}

.launch--dock .launch__text b {
  font-size: 18px;
}

.launch--dock .launch__go {
  width: 42px;
  height: 42px;
}

@keyframes beacon {
  0% { box-shadow: var(--launch-shadow), 0 0 0 0 rgba(122, 223, 255, 0.55); }
  100% { box-shadow: var(--launch-shadow), 0 0 0 22px rgba(122, 223, 255, 0); }
}

@keyframes sheen {
  from { transform: skewX(-20deg) translateX(-160%); }
  to { transform: skewX(-20deg) translateX(640%); }
}

@media (max-width: 1080px) {
  .hero--home .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 128px;
  }

  /* One column: the headline can take the full width again. */
  .hero--home .display--xl {
    font-size: clamp(46px, 8vw, 80px);
  }
}

@media (max-width: 860px) {
  .hero--home .hero__inner {
    padding-top: 112px;
  }
}

@media (max-width: 600px) {
  .nav__staff-ask,
  .nav__app {
    display: none;
  }

  .hero--home .hero__inner {
    padding-top: 100px;
  }

  .launchpad {
    margin-top: 26px;
  }

  .launch:not(.launch--dock) {
    width: 100%;
    min-height: 78px;
    border-radius: 24px;
  }

  .launch__text b {
    font-size: 19px;
  }

  .launch__text small {
    font-size: 13px;
  }

  .dock {
    display: block;
  }
}

@media (max-width: 360px) {
  .launch {
    gap: 12px;
  }

  .launch:not(.launch--dock) .app-icon {
    width: 50px;
    height: 50px;
    padding-left: 14px;
  }

  /* The whole bar is the button; on the narrowest phones the arrow gives its room to the label. */
  .launch__go {
    display: none;
  }

  .launch__text b {
    font-size: 18px;
  }
}

/* ---------- path ---------- */

.path {
  position: relative;
  overflow: hidden;
  padding: 120px 0 100px;
  background: var(--ice);
}

.path__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.path__blob--a {
  left: -10%;
  top: -20%;
  width: 46%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(58, 166, 255, 0.18), transparent 70%);
  animation: glow-drift 22s ease-in-out infinite alternate;
}

.path__blob--b {
  right: -12%;
  bottom: -30%;
  width: 44%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(201, 162, 39, 0.14), transparent 70%);
  animation: glow-drift 26s ease-in-out -8s infinite alternate-reverse;
}

.path .wrap {
  position: relative;
}

.steps {
  position: relative;
  margin-top: 56px;
}

.steps__line {
  display: block;
  width: 100%;
  height: 60px;
  margin-bottom: -6px;
  overflow: visible;
}

.steps__track {
  fill: none;
  stroke: rgba(20, 50, 74, 0.12);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.steps__flow {
  fill: none;
  stroke: var(--sky);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0.035 0.045;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 6px rgba(58, 166, 255, 0.6));
  animation: flow 3.2s linear infinite;
}

.steps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  padding: 26px 24px 26px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(20, 50, 74, 0.06);
  box-shadow: 0 18px 44px rgba(20, 50, 74, 0.08);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(20, 50, 74, 0.14);
}

.step__num {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--foam), #fff);
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, 0.14);
  color: var(--blue-deep);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
}

.step__icon {
  position: absolute;
  top: 24px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ice);
  color: var(--navy);
}

.step__icon svg {
  width: 20px;
  height: 20px;
}

.step h3 {
  margin: 20px 0 8px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- doors ---------- */

.doors {
  padding: 110px 0 120px;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(223, 240, 255, 0.7), transparent 60%),
    #fff;
}

.apps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.door-wrap {
  min-width: 0;
}

.door {
  --rx: 0deg;
  --ry: 0deg;
  --gx: 50%;
  --gy: 50%;
  --accent: var(--glow);
  position: relative;
  display: block;
  min-height: 460px;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  background: var(--ink);
  box-shadow: 0 30px 70px rgba(11, 28, 43, 0.18);
  transform: perspective(1200px) rotateX(var(--ry)) rotateY(var(--rx));
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}

.door--customer { --accent: #9fd4ff; }
.door--owner { --accent: #ffd97a; }
.door--kiosk { --accent: #8fb4ff; }

.door:hover {
  box-shadow: var(--shadow-lift);
}

.door__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 55%;
  transform: scale(1.03);
  transition: transform 1.3s var(--ease), filter 1.3s var(--ease);
}

.door:hover .door__photo {
  transform: scale(1.09);
  filter: saturate(1.1);
}

.door__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(420px 420px at var(--gx) var(--gy), rgba(255, 255, 255, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(11, 28, 43, 0.12) 0%, rgba(11, 28, 43, 0.24) 42%, rgba(11, 28, 43, 0.94) 100%);
  transition: opacity 0.6s var(--ease);
}

.door__index {
  position: absolute;
  top: 24px;
  left: 26px;
  z-index: 2;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(11, 28, 43, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.door__body {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 30px;
  z-index: 2;
  display: grid;
  gap: 10px;
}

.door__name {
  font-family: var(--font-display);
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.96;
  text-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.door__line {
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 16px;
  line-height: 1.5;
}

.door__more {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows 0.6s var(--ease), opacity 0.5s var(--ease);
}

.door:hover .door__more,
.door:focus-visible .door__more {
  grid-template-rows: 1fr;
  opacity: 1;
}

.door__points {
  min-height: 0;
  overflow: hidden;
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.door__points li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.door__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

.door__go {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin-top: 6px;
  padding: 10px 10px 10px 20px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.door__go i {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-style: normal;
  font-size: 15px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}

.door:hover .door__go {
  transform: translateX(4px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
}

.door:hover .door__go i {
  transform: translateX(3px);
  background: var(--blue);
}

.door:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

/* ---------- marquee band ---------- */

.band {
  padding: 30px 0;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee {
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 44s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.mq {
  padding: 0 28px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.mq--soft {
  color: rgba(255, 255, 255, 0.55);
  font-style: italic;
  font-weight: 500;
}

.marquee__track i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
  flex-shrink: 0;
}

/* ---------- colophon ---------- */

.colophon {
  padding: 72px 0 36px;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}

.colophon__grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 0.8fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.colophon__brand {
  color: #fff;
}

.mark--foot {
  font-size: 28px;
}

.colophon__tag {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.colophon__note {
  margin: 0;
  max-width: 44ch;
  font-size: 16px;
  line-height: 1.6;
}

.colophon__links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  justify-items: start;
}

.colophon__links a {
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.colophon__links a:hover {
  color: var(--glow);
  border-color: var(--glow);
}

.colophon__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease) calc(var(--i, 0) * 90ms),
    transform 0.9s var(--ease) calc(var(--i, 0) * 90ms),
    filter 0.9s var(--ease) calc(var(--i, 0) * 90ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* ---------- keyframes ---------- */

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes word-in {
  from { opacity: 0; transform: translateY(30px); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes shine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(30px) scale(0.96); filter: blur(12px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes kenburns {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.12) translate(-1%, -1.2%); }
}

@keyframes glow-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(10%, -8%) scale(1.12); }
}

@keyframes sweep {
  0%, 10% { left: -30%; opacity: 0; }
  18% { opacity: 1; }
  60% { left: 120%; opacity: 1; }
  61%, 100% { left: 120%; opacity: 0; }
}

@keyframes fall {
  0% { opacity: 0; transform: translateY(0); }
  10% { opacity: 0.7; }
  90% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(115vh); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); }
  100% { box-shadow: 0 0 0 10px rgba(61, 220, 151, 0); }
}

@keyframes ring {
  to { stroke-dashoffset: var(--target); }
}

@keyframes slide-in {
  from { opacity: 0; transform: translateX(-16px); }
  to { opacity: 1; transform: none; }
}

@keyframes pop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

@keyframes cue {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

@keyframes flow {
  to { stroke-dashoffset: -0.24; }
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 130px;
  }

  .hero__cards {
    height: 300px;
    max-width: 620px;
  }

  .fcard--bay { right: auto; left: 0; top: 0; }
  .fcard--queue { right: 0; top: 10%; }
  .fcard--pay { right: auto; left: 18%; top: 58%; }

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

  .steps__line {
    display: none;
  }

  .colophon__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }

  .apps {
    grid-template-columns: 1fr;
  }

  .door {
    min-height: 420px;
  }

  .hero__cards {
    display: none;
  }

  .hero__inner {
    padding-top: 120px;
  }

  .hero__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .colophon__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  :root {
    --wrap: min(1200px, calc(100% - 32px));
  }

  .path,
  .doors {
    padding: 80px 0 70px;
  }

  .steps__list {
    grid-template-columns: 1fr;
  }

  .door__body {
    left: 22px;
    right: 22px;
    bottom: 22px;
  }

  .door__index {
    left: 20px;
  }

  .door__more {
    grid-template-rows: 1fr;
    opacity: 1;
  }

  .scroll-cue {
    display: none;
  }
}

@media (hover: none) {
  .door__more {
    grid-template-rows: 1fr;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .rain,
  .hero__sweep {
    display: none;
  }

  .fcard,
  .door {
    transform: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ---------- hero: stamp card and code in the glass ---------- */

.display--lg {
  font-size: clamp(48px, 7vw, 100px);
}

.glass--loyalty,
.glass--code {
  min-width: 262px;
}

.glass--loyalty > small,
.glass--code > small {
  display: block;
  margin-top: 12px;
  color: rgba(226, 236, 246, 0.72);
}

.stamps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 14px;
}

.stamp {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
}

.stamp svg {
  width: 18px;
  height: 18px;
}

.stamp.is-on {
  background: radial-gradient(circle at 35% 28%, #8ee7ff 0%, #1e8cff 48%, #0f5fd6 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(22, 119, 255, 0.4), inset 0 2px 6px rgba(255, 255, 255, 0.35);
  animation: stamp-in 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) both;
  animation-delay: calc(1.6s + var(--i, 0) * 160ms);
}

.stamp--gift {
  background: rgba(242, 193, 78, 0.14);
  box-shadow: inset 0 0 0 1.5px rgba(242, 193, 78, 0.5);
  color: #ffe9a6;
}

.stamp--gift::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  width: 5px;
  height: 2px;
  margin-top: -1px;
  background: rgba(255, 255, 255, 0.25);
}

.stamp--gift.is-on {
  background: radial-gradient(circle at 35% 28%, #fff1b8 0%, #f6c445 50%, #d9960e 100%);
  color: #3a2800;
  box-shadow: 0 10px 22px rgba(240, 180, 41, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.5);
  animation: stamp-in 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) both, gift-glow 2.4s ease-in-out infinite;
  animation-delay: calc(1.6s + var(--i, 0) * 160ms), 2.8s;
}

.stamps--big .stamp {
  width: 46px;
  height: 46px;
}

.code {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.code b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 56px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35), inset 0 -3px 0 rgba(0, 0, 0, 0.06);
  animation: digit-in 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) both;
  animation-delay: calc(1.9s + var(--i, 0) * 110ms);
}

/* ---------- loyalty section ---------- */

.loyalty {
  position: relative;
  overflow: hidden;
  padding: 120px 0 110px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(0, 178, 226, 0.34), transparent 55%),
    radial-gradient(80% 60% at 0% 100%, rgba(22, 119, 255, 0.28), transparent 60%),
    linear-gradient(180deg, #10263b 0%, var(--ink) 100%);
}

.loyalty__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.section-lede--light {
  color: rgba(232, 240, 248, 0.78);
}

.loyalty__points {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.loyalty__points li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 0 0 30px;
}

.loyalty__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--glow);
  box-shadow: 0 0 16px var(--glow);
}

.loyalty__points b {
  font-size: 18px;
  font-weight: 800;
}

.loyalty__points span {
  color: rgba(232, 240, 248, 0.72);
  font-size: 15.5px;
  line-height: 1.55;
}

.loyalty .hero__cta {
  animation: none;
}

.loyalty__art {
  display: grid;
  place-items: center;
  perspective: 1400px;
}

.phone {
  --rx: 0deg;
  --ry: 0deg;
  width: 320px;
  padding: 12px;
  border-radius: 46px;
  background: #0a121b;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transform: rotateY(var(--rx)) rotateX(var(--ry));
  transition: transform 0.6s var(--ease);
  animation: floaty 8s ease-in-out 1s infinite;
}

.phone__screen {
  display: grid;
  gap: 10px;
  padding: 22px 16px 18px;
  border-radius: 36px;
  background: linear-gradient(180deg, #10263b 0%, #0b1c2b 32%, var(--ice) 32%, var(--ice) 100%);
  color: var(--ink);
}

.phone__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
}

.phone__mark {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.06em;
}

.phone__mark i {
  display: inline-block;
  width: 9px;
  height: 2px;
  margin: 0 1px;
  background: #fff;
  box-shadow: 0 -4px 0 #fff, 0 4px 0 #fff;
}

.phone__pill {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.phone__hello {
  margin: 6px 0 14px;
  color: #fff;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.lcard {
  padding: 16px 16px 14px;
  border-radius: 22px;
  color: #3a2800;
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, 0.5), transparent 60%),
    linear-gradient(135deg, #ffe9a6, #f6c445);
  box-shadow: 0 22px 48px rgba(240, 180, 41, 0.35);
}

.lcard__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
}

.lcard__head b {
  padding: 4px 9px;
  border-radius: 999px;
  background: #3a2800;
  color: #ffe9a6;
  font-family: var(--font-ui);
  font-size: 10.5px;
  font-weight: 800;
}

.lcard .stamp {
  background: rgba(58, 40, 0, 0.12);
  box-shadow: inset 0 0 0 1.5px rgba(58, 40, 0, 0.2);
  color: #3a2800;
}

.lcard .stamp.is-on {
  background: rgba(58, 40, 0, 0.14);
  color: #3a2800;
  box-shadow: inset 0 0 0 1.5px rgba(58, 40, 0, 0.2);
  animation: stamp-in 0.6s cubic-bezier(0.34, 1.4, 0.64, 1) both;
  animation-delay: calc(0.4s + var(--i, 0) * 160ms);
}

.lcard .stamp--gift::before {
  background: rgba(58, 40, 0, 0.25);
}

.lcard .stamp--gift.is-on {
  background: radial-gradient(circle at 35% 28%, #fff1b8 0%, #f6c445 50%, #d9960e 100%);
  box-shadow: 0 10px 22px rgba(240, 180, 41, 0.5), inset 0 2px 6px rgba(255, 255, 255, 0.5);
}

.lcard p {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.lcard__btn {
  display: block;
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffd971 0%, #f0b429 100%);
  color: #3a2800;
  font-size: 13.5px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 10px 22px rgba(240, 180, 41, 0.35);
}

.phone__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
}

.phone__row b {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 800;
  color: var(--blue-deep);
}

.phone__bay {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(20, 50, 74, 0.08);
}

.phone__bay i {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--foam);
}

.phone__bay span {
  flex: 1;
  min-width: 0;
}

.phone__bay b {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
}

.phone__bay small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.phone__bay em {
  color: var(--blue-deep);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

/* ---------- call to action ---------- */

.cta {
  padding: 100px 0;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(223, 240, 255, 0.8), transparent 60%),
    #fff;
}

.cta__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta__actions {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.btn--dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 18px 40px rgba(11, 28, 43, 0.25);
}

.btn--dark:hover {
  transform: translateY(-2px);
  background: var(--navy);
  box-shadow: 0 26px 50px rgba(11, 28, 43, 0.3);
}

.btn--dark i {
  font-style: normal;
  transition: transform 0.35s var(--ease);
}

.btn--dark:hover i {
  transform: translateX(4px);
}

.cta__staff {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(20, 50, 74, 0.2);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cta__staff:hover {
  color: var(--blue-deep);
  border-color: var(--blue-deep);
}

/* ---------- staff page ---------- */

.hero--staff {
  min-height: 72svh;
}

.hero__inner--one {
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 80px;
}

.apps--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.doors__note {
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.doors__note a {
  color: var(--blue-deep);
  font-weight: 800;
}

@keyframes stamp-in {
  0% { transform: scale(0.3) rotate(-25deg); opacity: 0; }
  60% { transform: scale(1.18) rotate(6deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes gift-glow {
  0%, 100% { box-shadow: 0 10px 22px rgba(240, 180, 41, 0.45), inset 0 2px 6px rgba(255, 255, 255, 0.5); }
  50% { box-shadow: 0 10px 34px rgba(240, 180, 41, 0.85), inset 0 2px 6px rgba(255, 255, 255, 0.5); }
}

@keyframes digit-in {
  0% { transform: translateY(18px) rotateX(-70deg); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

@media (max-width: 1080px) {
  .loyalty__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .loyalty__art {
    order: -1;
  }
}

@media (max-width: 860px) {
  .nav__staff {
    padding: 0 10px;
  }

  .nav__staff i {
    display: none;
  }

  .apps--two {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .nav__staff {
    font-size: 12.5px;
  }

  .nav__live {
    padding: 0 12px;
  }

  .loyalty,
  .cta {
    padding: 80px 0 70px;
  }

  .phone {
    width: min(300px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone {
    animation: none;
    transform: none !important;
  }
}
