:root {
  --navy-900: #05063a;
  --navy-800: #0a0c5c;
  --indigo-600: #2f2fd6;
  --indigo-500: #4f55ff;
  --indigo-400: #6c74ff;
  --lav-100: #eef0ff;
  --lav-200: #dfe2ff;
  --ink: #0d0f2e;
  --muted: #7a7f9e;
  --bg-light: #eef0f8;
  --white: #fff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-card: 0 20px 50px -20px rgba(10, 12, 92, 0.45);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.xs { font-size: 11px; }

/* ---------- Buttons & pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 0;
  font-weight: 600;
  font-size: 14px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--indigo-500);
  color: var(--white);
  box-shadow: 0 10px 30px -8px rgba(79, 85, 255, .8);
}
.btn--primary:hover { background: #5d63ff; }
.btn--light { background: var(--white); color: var(--navy-800); }
.btn--sm { padding: 10px 22px; border-radius: 999px; }
.btn--pill { padding: 8px 8px 8px 22px; border-radius: 999px; }
.btn__icon {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--white);
  color: var(--indigo-500);
}
.btn--light .btn__icon { background: var(--indigo-500); color: var(--white); }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}
.pill--dark {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #d6d8ff;
  backdrop-filter: blur(6px);
}
.pill--dark strong { color: #9aa0ff; font-weight: 600; }
.pill--light { background: var(--white); border: 1px solid var(--lav-200); color: var(--ink); }
.pill--glass { background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .3); color: var(--white); }
.pill--soft { background: var(--lav-200); color: var(--indigo-600); }
.pill__dot {
  display: grid; place-items: center;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); color: var(--indigo-600);
  font-size: 11px; font-weight: 700;
}

.circle-btn {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--lav-200);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  transition: transform .2s;
}
.circle-btn:hover { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(120% 60% at 50% 100%, #3b3fe6 0%, transparent 60%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 55%, #1a1ec4 100%);
  padding-bottom: 120px;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 64% 100%, 60% calc(100% - 50px), 40% calc(100% - 50px), 36% 100%, 0 100%);
}
.hero__stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0 34px,
    rgba(120, 130, 255, .14) 34px 36px,
    rgba(40, 50, 220, .22) 36px 64px,
    rgba(255, 255, 255, 0) 64px 70px
  );
  mask-image: linear-gradient(180deg, transparent 5%, #000 55%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 5%, #000 55%, #000 100%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  left: 50%; bottom: -200px;
  width: 900px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(110, 120, 255, .65), transparent);
  filter: blur(40px);
  pointer-events: none;
}

/* Nav */
.nav {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; }
.logo svg { color: var(--white); }
.logo__ai { color: #c9ccff; }
.nav__links { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; font-size: 13px; }
.nav__links a { color: #c6c9f2; transition: color .2s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--white); }
.nav__actions { display: flex; align-items: center; gap: 22px; font-size: 13px; }
.nav__login { font-weight: 600; }
.nav__toggle { display: none; background: none; border: 0; padding: 6px; }
.nav__toggle span { display: block; width: 22px; height: 2px; margin: 5px 0; background: var(--white); border-radius: 2px; transition: .25s; }

/* Hero content */
.hero__content { position: relative; z-index: 2; text-align: center; padding-top: 36px; }
.hero__title {
  position: relative;
  margin: 22px auto 22px;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -.02em;
}
.hero__path { position: absolute; left: calc(50% - 300px); top: -30px; width: 120px; opacity: .9; }
.hero__title-row { display: inline-flex; align-items: center; gap: 14px; }
.plane-icon { width: .7em; height: .7em; }
.hero__toggle {
  display: inline-flex; align-items: center;
  width: 1em; height: .56em;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7078ff, #cfd2ff);
}
.hero__toggle i { width: .44em; height: .44em; border-radius: 50%; background: var(--white); margin-left: auto; box-shadow: 0 0 0 3px rgba(79, 85, 255, .5); }
.hero__sub { max-width: 540px; margin: 0 auto 30px; color: #aeb2e0; font-size: 14px; line-height: 1.7; }

.rocket {
  position: absolute;
  right: 5%; top: 10px;
  width: 72px;
  filter: drop-shadow(0 10px 20px rgba(79, 85, 255, .6));
  animation: float 5s ease-in-out infinite;
}

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

/* ---------- Showcase ---------- */
.showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  gap: 40px;
  align-items: start;
  margin-top: 64px;
}
.card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

/* Points */
.showcase__left { position: relative; display: flex; flex-direction: column; gap: 18px; padding-top: 10px; }
.card--points {
  position: relative;
  width: min(290px, 100%);
  padding: 20px;
  background: var(--white);
  color: var(--ink);
  border: 3px solid #cfd3ff;
  animation: float 7s ease-in-out infinite;
}
.card--points h3 { font-size: 14px; line-height: 1.3; margin-bottom: 8px; }
.sparkle { position: absolute; right: 18px; top: 16px; width: 44px; }
.points { display: flex; align-items: center; gap: 8px; margin: 2px 0; }
.points__value { font-size: 34px; font-weight: 800; color: var(--indigo-500); letter-spacing: -.02em; }
.badge { padding: 3px 8px; border-radius: 999px; background: var(--indigo-600); color: var(--white); font-size: 9px; font-weight: 600; }
.reward {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid var(--lav-100);
}
.reward > div { flex: 1; }
.reward__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--indigo-600); }

.chip-card {
  display: flex; align-items: center; gap: 12px;
  width: 190px; padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .92);
  border: 3px solid #cfd3ff;
  box-shadow: var(--shadow-card);
}
.chip-card--b { margin-left: 80px; }
.dot { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.dot--blue { background: var(--indigo-500); }
.dot--navy { background: var(--navy-900); }
.lines { flex: 1; display: grid; gap: 6px; }
.lines i { display: block; height: 6px; border-radius: 4px; background: var(--lav-200); }
.lines i:last-child { width: 60%; }

/* Phone */
.card--phone {
  position: relative;
  padding: 22px 16px 16px;
  background: linear-gradient(180deg, #fafbff, #eef0ff);
  color: var(--ink);
  border: 5px solid rgba(255, 255, 255, .8);
  border-radius: 34px;
  text-align: left;
  margin-top: -10px;
}
.card--phone > .pill { display: flex; width: fit-content; margin: 0 auto 18px; }
.phone__title { font-size: 22px; font-weight: 600; line-height: 1.2; }
.accent { color: var(--indigo-500); }
.soft { color: #9fa4c7; font-weight: 500; }
.predict { display: flex; align-items: center; gap: 14px; margin: 18px 0; }
.predict p { font-size: 12px; color: #4a4f72; line-height: 1.5; }
.ring {
  --p: 94;
  flex: none;
  display: grid; place-items: center;
  width: 62px; height: 62px;
  border-radius: 50%;
  background: conic-gradient(var(--indigo-500) calc(var(--p) * 1%), var(--lav-200) 0);
}
.ring span {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--white);
  font-weight: 700; font-size: 13px;
}
.phone__img { border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; }
.phone__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.satisfied {
  position: absolute;
  right: -70px; bottom: 34px;
  display: flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: var(--white);
  border: 2px solid #cfd3ff;
  box-shadow: var(--shadow-card);
  font-size: 10px;
  line-height: 1.3;
}
.satisfied small { display: block; color: var(--muted); font-size: 8px; }
.avatars { display: flex; }
.avatars i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--white); margin-left: -6px; }
.avatars i:first-child { margin-left: 0; background: linear-gradient(135deg, #f7b58b, #b8653e); }
.avatars i:nth-child(2) { background: linear-gradient(135deg, #8c95ff, #3b3fd8); }
.avatars i:nth-child(3) { background: linear-gradient(135deg, #4d4f63, #15172e); }

/* Deal */
.card--deal {
  position: relative;
  justify-self: end;
  width: min(280px, 100%);
  min-height: 300px;
  padding: 22px;
  margin-top: -40px;
  background: url("assets/wing-sunset.jpg") center / cover;
  border: 3px solid rgba(190, 196, 255, .8);
  backdrop-filter: blur(12px);
  box-shadow: 0 0 60px -10px rgba(120, 130, 255, .8), var(--shadow-card);
  overflow: hidden;
}
.card--deal::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(90, 100, 255, .7), rgba(30, 35, 180, .85));
  z-index: 0;
}
.card--deal > * { position: relative; z-index: 1; }
.deal__label { margin-top: 18px; font-size: 11px; color: #dfe1ff; }
.deal__route { margin-top: 4px; font-size: 24px; font-weight: 800; line-height: 1.15; }
.deal__saved { margin-top: 8px; font-size: 11px; color: #dfe1ff; }
.deal__path { position: absolute; right: 18px; top: 110px; width: 110px; }
.circle-btn--light { position: absolute; left: 22px; bottom: 22px; border-color: transparent; }

/* ---------- Features ---------- */
.features { padding: 60px 0 90px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 {
  margin: 18px 0 14px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -.02em;
}
.section-head p { max-width: 460px; margin: 0 auto; font-size: 13px; line-height: 1.7; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
  display: flex; flex-direction: column;
  min-height: 220px;
  padding: 24px 22px;
  background: var(--white);
  border-radius: var(--radius-md);
  transition: transform .25s ease, box-shadow .25s ease, background .25s, color .25s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.feature__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--lav-100);
}
.feature__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--navy-800); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 15px; font-weight: 700; line-height: 1.35; margin-bottom: 8px; }
.feature p { font-size: 12px; line-height: 1.6; color: var(--muted); margin-bottom: 18px; }
.feature a { margin-top: auto; font-size: 12px; font-weight: 600; }
.feature a span { display: inline-block; transition: transform .2s; }
.feature a:hover span { transform: translateX(4px); }

.feature--active { background: linear-gradient(160deg, #1d1fd4, #0b0ca8); color: var(--white); }
.feature--active p { color: #c8cbff; }
.feature--active .feature__icon { background: rgba(255, 255, 255, .16); }
.feature--active .feature__icon svg { stroke: var(--white); }

/* ---------- CTA / Footer ---------- */
.cta { margin-top: 90px; }
.features + .cta { margin-top: 0; }
.cta__inner {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 300px;
  display: flex; align-items: center;
}
.cta__inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta__inner::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(5, 6, 58, .92) 0%, rgba(10, 12, 92, .55) 55%, transparent 100%);
}
.cta__text { position: relative; z-index: 1; padding: 48px; color: var(--white); max-width: 520px; }
.cta__text h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.cta__text p { margin: 12px 0 26px; color: #c8cbff; font-size: 14px; }


/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr 1fr; }
  .card--phone { grid-column: 1 / -1; grid-row: 1; max-width: 380px; margin: 0 auto; width: 100%; }
  .card--deal { margin-top: 0; justify-self: stretch; width: 100%; }
  .satisfied { right: -20px; }
  .hero__path { display: none; }
}

@media (max-width: 820px) {
  .nav__links {
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    padding: 8px;
    background: rgba(10, 12, 92, .97);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius-md);
    opacity: 0; pointer-events: none;
    transform: translateY(-8px);
    transition: .25s;
  }
  .nav__links a { display: block; padding: 12px 14px; }
  .nav.is-open .nav__links { opacity: 1; pointer-events: auto; transform: none; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .nav__toggle { display: block; }
  .nav__login { display: none; }
  .rocket { width: 48px; right: 0; top: -6px; }
}

@media (max-width: 640px) {
  .hero { padding-bottom: 90px; clip-path: polygon(0 0, 100% 0, 100% 100%, 75% 100%, 70% calc(100% - 30px), 30% calc(100% - 30px), 25% 100%, 0 100%); }
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .card--points { width: 100%; }
  .chip-card--b { margin-left: 40px; }
  .satisfied { right: 8px; bottom: -18px; }
  .grid { grid-template-columns: 1fr; }
  .cta__text { padding: 32px 24px; }
  .footer { flex-direction: column; }
  .nav__actions .btn--sm { padding: 8px 14px; }
}

/* ============ Shared: utilities ============ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--indigo-500); margin-bottom: 10px; }
.section { padding: 80px 0 0; }
.btn--block { width: 100%; justify-content: center; padding: 14px; border-radius: 12px; }

/* ============ Site footer ============ */
.site-footer { margin-top: 90px; background: var(--white); border-top: 1px solid var(--lav-200); font-size: 13px; }
.site-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; padding: 56px 0 40px; }
.site-footer h4 { margin: 0 0 14px; font-size: 13px; }
.site-footer a:not(.logo) { display: block; margin-bottom: 10px; color: var(--muted); transition: color .2s; }
.site-footer a:not(.logo):hover { color: var(--indigo-500); }
.site-footer p { color: var(--muted); line-height: 1.7; }
.site-footer__brand p { max-width: 280px; margin-top: 14px; }
.site-footer .small { margin-bottom: 12px; }
.logo--dark, .logo--dark svg { color: var(--navy-800); }
.logo--dark .logo__ai { color: var(--indigo-500); }
.newsletter { display: flex; gap: 8px; }
.newsletter input { flex: 1; min-width: 0; padding: 10px 14px; border: 1px solid var(--lav-200); border-radius: 999px; font: inherit; font-size: 13px; }
.site-footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 32px; border-top: 1px solid var(--lav-100); color: var(--muted); }

/* ============ Inner-page hero ============ */
.hero--page { padding-bottom: 110px; }
.hero--page .hero__content { padding-top: 40px; }
.hero__title--page { font-size: clamp(32px, 4.6vw, 54px); }
.hero--page .hero__sub { margin-bottom: 0; }

/* ============ Stats band ============ */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin-top: 80px;
  border-radius: var(--radius-lg); overflow: hidden;
  background: rgba(255, 255, 255, .15);
  box-shadow: var(--shadow-card);
}
.stats div { padding: 34px 20px; text-align: center; background: linear-gradient(160deg, #1d1fd4, #0b0ca8); color: var(--white); }
.stats strong { display: block; font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -.02em; }
.stats span { font-size: 13px; color: #c8cbff; }

/* ============ Split rows (features) ============ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; scroll-margin-top: 24px; }
.split + .split { margin-top: 90px; }
.split--reverse .split__text { order: 2; }
.split__text h2, .loyalty-top__text h2, .demo__text h2, .contact__info h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin-bottom: 16px; }
.split__text > p, .loyalty-top__text p, .demo__text > p, .contact__info > p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.split__text .feature__icon { margin-bottom: 18px; }
.split__media { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media--panel { display: grid; place-items: center; padding: 30px; background: linear-gradient(160deg, #1d1fd4, #0b0ca8); }

.checklist { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.checklist li { display: flex; align-items: center; gap: 10px; }
.tick { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--lav-200); }
.tick svg { width: 12px; height: 12px; fill: none; stroke: var(--indigo-600); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.mini-points { width: min(320px, 100%); padding: 24px; border-radius: 20px; background: var(--white); box-shadow: var(--shadow-card); }
.mini-points .points__value { display: block; margin: 4px 0 12px; }
.progress { height: 8px; margin: 10px 0 6px; border-radius: 999px; background: var(--lav-100); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--indigo-500), #8c7cff); }
.activity { list-style: none; margin: 18px 0 0; padding: 14px 0 0; border-top: 1px solid var(--lav-100); display: grid; gap: 10px; font-size: 12px; }
.activity li { display: flex; justify-content: space-between; }
.activity b { color: var(--indigo-500); }
.activity b.neg { color: var(--muted); }

/* ============ Loyalty ============ */
.loyalty-top { display: grid; grid-template-columns: auto 1fr; gap: 60px; align-items: center; }
.card--static { animation: none; }
.loyalty-top .card--points { width: 320px; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.tier { position: relative; padding: 32px 28px; border-radius: var(--radius-lg); background: var(--white); transition: transform .25s, box-shadow .25s; }
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.tier h3 { font-size: 22px; }
.tier__range { margin: 6px 0 12px; font-weight: 700; color: var(--indigo-500); font-size: 14px; }
.tier__desc { color: var(--muted); font-size: 13px; line-height: 1.6; }
.tier--featured { background: linear-gradient(160deg, #1d1fd4, #0b0ca8); color: var(--white); box-shadow: 0 30px 60px -24px rgba(29, 31, 212, .7); }
.tier--featured .tier__range { color: #b9bdff; }
.tier--featured .tier__desc { color: #c8cbff; }
.tier--featured .tick { background: rgba(255, 255, 255, .18); }
.tier--featured .tick svg { stroke: var(--white); }
.tier__badge { position: absolute; top: 20px; right: 20px; padding: 4px 10px; border-radius: 999px; background: var(--white); color: var(--indigo-600); font-size: 11px; font-weight: 700; }
.table-wrap { max-width: 720px; margin: 0 auto; border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.rewards-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rewards-table th, .rewards-table td { padding: 16px 24px; text-align: left; }
.rewards-table th { background: var(--lav-100); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rewards-table td:last-child, .rewards-table th:last-child { text-align: right; }
.rewards-table tbody tr + tr td { border-top: 1px solid var(--lav-100); }
.rewards-table b { color: var(--indigo-500); }

/* ============ How it works ============ */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; padding: 28px 24px; border-radius: var(--radius-md); background: var(--white); }
.step__num { position: absolute; top: 22px; right: 22px; font-size: 28px; font-weight: 800; color: var(--lav-200); }
.step .feature__icon { margin-bottom: 22px; }
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { font-size: 13px; line-height: 1.65; color: var(--muted); }
.demo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.demo__visual { display: grid; place-items: center; padding: 50px 20px; border-radius: 28px; background: radial-gradient(90% 90% at 50% 100%, #3b3fe6, var(--navy-900)); }
.demo__visual .card--deal { margin: 0; justify-self: center; color: var(--white); }

/* ============ FAQ ============ */
.faq { max-width: 820px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: 22px; margin-bottom: 16px; }
.faq-item { border-radius: var(--radius-md); background: var(--white); }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; font-weight: 600; font-size: 15px; cursor: pointer; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--lav-100); }
.faq-item__icon::before, .faq-item__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--indigo-600); transform: translate(-50%, -50%); transition: transform .25s; }
.faq-item__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-item__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-item[open] summary { color: var(--indigo-600); }
.faq-item p { padding: 0 24px 22px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.faq-help { margin-top: 56px; padding: 36px; border-radius: var(--radius-lg); text-align: center; background: linear-gradient(160deg, #1d1fd4, #0b0ca8); color: var(--white); }
.faq-help h3 { font-size: 22px; }
.faq-help p { margin: 8px 0 22px; color: #c8cbff; }

/* ============ Forms ============ */
label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--lav-200);
  border-radius: 12px;
  background: #fafbff;
  font: inherit; font-size: 14px; font-weight: 400; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--indigo-500); box-shadow: 0 0 0 4px rgba(79, 85, 255, .15); }
input.is-invalid, textarea.is-invalid { border-color: #e5484d; }
textarea { resize: vertical; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; }
label.check input { width: auto; }
.form-status { min-height: 1.2em; font-size: 13px; color: var(--indigo-600); }
.form-status.is-error { color: #e5484d; }

.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact__list { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; align-items: center; gap: 14px; }
.contact__list .feature__icon { margin: 0; background: var(--white); }
.contact__list div { display: grid; font-size: 14px; }
.contact__list span { color: var(--muted); }
.form-card { display: grid; gap: 18px; padding: 32px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-card); }
.form-card .btn { justify-self: start; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============ Auth ============ */
.auth { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth + .site-footer { margin-top: 0; }
.auth__visual { position: relative; overflow: hidden; }
.auth__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth__overlay { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; height: 100%; padding: 36px; color: var(--white); background: linear-gradient(180deg, rgba(5, 6, 58, .75), rgba(5, 6, 58, .1) 40%, rgba(5, 6, 58, .85)); }
.auth__overlay h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.15; max-width: 420px; }
.auth__overlay p { margin-top: 10px; color: #d6d8ff; }
.auth__panel { display: flex; flex-direction: column; padding: 36px clamp(16px, 5vw, 72px); }
.auth__back { font-size: 13px; color: var(--muted); }
.auth__box { width: min(420px, 100%); margin: auto; padding: 40px 0; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin-bottom: 32px; border-radius: 999px; background: var(--lav-200); }
.tabs button { padding: 10px; border: 0; border-radius: 999px; background: transparent; font-weight: 600; font-size: 14px; color: var(--muted); }
.tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 4px 12px -4px rgba(10, 12, 92, .25); }
.auth__form { display: grid; gap: 18px; }
.auth__form h1 { font-size: 28px; letter-spacing: -.02em; }
.auth__form > p.muted { margin-top: -10px; font-size: 14px; }
.auth__row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.auth__row a { color: var(--indigo-500); font-weight: 600; }

.notfound { text-align: center; }

@media (max-width: 1024px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .split, .demo, .contact, .loyalty-top { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__text { order: 0; }
  .loyalty-top .card--points { width: 100%; max-width: 340px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .auth { grid-template-columns: 1fr; }
  .auth__visual { min-height: 260px; }
}
@media (max-width: 640px) {
  .section { padding-top: 56px; }
  .steps, .site-footer__grid, .form-row { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; }
  .form-card { padding: 22px; }
  .rewards-table th, .rewards-table td { padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
