:root {
  --purple-950: #21005d;
  --purple-900: #32007c;
  --purple-800: #4a00a8;
  --purple-700: #6412dc;
  --purple-600: #7828f2;
  --purple-100: #ede3ff;
  --ink: #121a2a;
  --muted: #5f6573;
  --white: #fff;
  --paper: #fbfaff;
  --amber: #ffa617;
  --amber-soft: #ffd27a;
  --shadow-lg: 0 32px 80px rgba(31, 0, 87, .28);
  --shadow-md: 0 20px 48px rgba(31, 0, 87, .18);
  --shell: min(1180px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:where([id]) { scroll-margin-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Manrope", sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::selection { color: var(--white); background: var(--purple-700); }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; border-radius: 8px; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; transform: translateY(-160%); background: var(--white); padding: 12px 16px; font-weight: 800; }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(18, 26, 42, .08);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: "Outfit", sans-serif; font-size: 29px; font-weight: 800; text-decoration: none; letter-spacing: -.03em; }
.brand img { border-radius: 13px; }
.site-header nav, .footer-inner nav { display: flex; align-items: center; gap: 28px; }
.site-header nav a { font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-cta { padding: 12px 18px; color: var(--white); background: var(--purple-700); border-radius: 999px; }

.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: linear-gradient(132deg, var(--purple-950) 0%, var(--purple-800) 42%, var(--purple-600) 100%);
  min-height: 850px;
  padding: 88px 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .28;
  background-image: url("./assets/landing/mekanx-icon.webp");
  background-repeat: no-repeat;
  background-size: 760px;
  background-position: calc(100% + 220px) -180px;
  filter: saturate(.7);
}
.hero-glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); opacity: .5; }
.hero-glow-one { width: 620px; height: 620px; right: 2%; top: 80px; background: radial-gradient(circle, rgba(255,166,23,.45), rgba(255,166,23,0) 64%); }
.hero-glow-two { width: 520px; height: 520px; left: -240px; bottom: 40px; background: radial-gradient(circle, rgba(180,122,255,.5), rgba(180,122,255,0) 67%); }
.hero-layout { display: grid; grid-template-columns: minmax(0, .92fr) minmax(430px, 1.08fr); align-items: center; gap: 56px; }
.hero-copy { position: relative; z-index: 2; padding-bottom: 130px; }
h1, h2, h3 { margin: 0; font-family: "Outfit", sans-serif; text-wrap: balance; }
h1 { max-width: 760px; font-size: clamp(54px, 5.6vw, 82px); line-height: .98; letter-spacing: -.035em; }
h1 span { color: var(--amber); }
.hero-copy > p { max-width: 630px; margin: 30px 0 0; color: #eadfff; font-size: 20px; line-height: 1.7; }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.store-button { min-width: 194px; display: inline-flex; flex-direction: column; justify-content: center; padding: 13px 20px 14px; border-radius: 14px; text-decoration: none; box-shadow: 0 14px 30px rgba(0, 0, 0, .18); transition: transform .25s ease, box-shadow .25s ease; }
.store-button:hover { transform: translateY(-3px); box-shadow: 0 20px 38px rgba(0, 0, 0, .24); }
.store-small { font-size: 11px; font-weight: 600; opacity: .7; }
.store-button strong { margin-top: 2px; font-size: 17px; }
.store-button-light { color: var(--ink); background: var(--white); }
.hero-copy .hero-note { margin-top: 18px; color: #fff; font-size: 13px; font-weight: 700; }
.hero-product { position: relative; height: 660px; }
.phone { position: absolute; overflow: hidden; margin: 0; border: 10px solid #121523; border-radius: 44px; background: #f8f7ff; box-shadow: var(--shadow-lg); }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-back { width: 285px; height: 617px; right: 18px; top: 8px; transform: rotate(8deg); opacity: .92; }
.phone-front { width: 315px; height: 682px; left: 38px; top: 70px; transform: rotate(-6deg); }
.orbit { position: absolute; border: 2px solid rgba(255,255,255,.2); border-radius: 50%; }
.orbit-one { width: 560px; height: 560px; top: 62px; left: -10px; }
.orbit-two { width: 410px; height: 410px; top: 140px; left: 66px; border-color: rgba(255,166,23,.42); }
.stamp-badge { position: absolute; z-index: 3; right: 10px; bottom: 34px; display: grid; grid-template-columns: repeat(4, 19px); align-items: center; gap: 7px; padding: 18px 22px; color: var(--ink); background: var(--white); border-radius: 14px; box-shadow: var(--shadow-md); transform: rotate(3deg); }
.stamp-badge b { grid-column: 1 / -1; margin-top: 4px; font-size: 15px; }
.stamp-dot { width: 19px; height: 19px; border-radius: 6px; background: var(--purple-100); }
.stamp-dot.active { background: var(--purple-700); }
.stamp-dot.reward { background: var(--amber); }
.motion-rail { position: absolute; bottom: 0; left: 0; right: 0; overflow: hidden; border-top: 1px solid rgba(255,255,255,.2); background: rgba(27, 0, 79, .48); }
.motion-track { min-height: 82px; display: flex; align-items: center; justify-content: center; gap: 28px; padding: 0 28px; }
.motion-track span { font-family: "Outfit", sans-serif; font-size: 24px; font-weight: 700; white-space: nowrap; }
.motion-track i { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.journey { padding: 148px 16px; background: var(--white); }
.journey-layout { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 110px; align-items: start; }
.journey-copy h2, .audience h2, .story-gallery h2, .final-cta h2 { font-size: clamp(46px, 5vw, 72px); line-height: 1.02; letter-spacing: -.03em; }
.section-lead { max-width: 650px; margin: 24px 0 54px; color: var(--muted); font-size: 19px; line-height: 1.7; }
.journey-step { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 30px 0; border-top: 1px solid #e3dfec; opacity: .54; transition: opacity .35s ease, transform .35s ease; }
.journey-step:last-child { border-bottom: 1px solid #e3dfec; }
.journey-step.is-active { opacity: 1; transform: translateX(12px); }
.step-index { display: grid; place-items: center; width: 48px; height: 48px; color: var(--white); background: var(--purple-700); border-radius: 50%; font-family: "Outfit", sans-serif; font-size: 19px; font-weight: 800; }
.journey-step h3 { font-size: 27px; letter-spacing: -.02em; }
.journey-step p { max-width: 580px; margin: 11px 0 0; color: var(--muted); line-height: 1.7; }
.journey-stage { position: sticky; top: 116px; text-align: center; }
.journey-stage-frame { width: 330px; height: 714px; margin-inline: auto; overflow: hidden; border: 10px solid #151723; border-radius: 47px; background: #f8f7ff; box-shadow: var(--shadow-lg); }
.journey-stage-frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity .22s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.journey-stage-frame img.is-swapping { opacity: .2; transform: scale(.975); }
.journey-stage p { margin: 22px auto 0; color: var(--purple-800); font-size: 14px; font-weight: 800; }

.audience { padding: 138px 16px; background: #f2edff; }
.audience > .shell > h2 { max-width: 850px; margin-bottom: 64px; }
.audience-spread { display: grid; gap: 40px; }
.customer-panel, .business-panel { overflow: hidden; border-radius: 16px; }
.customer-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, 430px); align-items: center; min-height: 590px; background: var(--white); box-shadow: var(--shadow-md); }
.customer-panel .audience-copy { padding: 64px 24px 64px 64px; }
.customer-panel img { align-self: end; width: min(100%, 430px); height: auto; max-height: 560px; margin-inline: auto; object-fit: contain; object-position: center bottom; }
.business-panel { display: grid; grid-template-columns: minmax(340px, 430px) minmax(0, 1fr); align-items: center; min-height: 650px; color: var(--white); background: linear-gradient(145deg, #180046, #3d008f 62%, #6513d8); box-shadow: var(--shadow-lg); }
.business-panel > img { align-self: end; width: min(100%, 390px); height: auto; max-height: 620px; margin-inline: auto; object-fit: contain; object-position: center bottom; }
.business-panel .audience-copy { padding: 64px 64px 64px 34px; }
.audience-copy h3 { font-size: clamp(32px, 3vw, 46px); line-height: 1.08; letter-spacing: -.025em; }
.audience-copy p { margin: 20px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.text-link { display: inline-block; margin-top: 26px; color: var(--purple-700); font-weight: 800; }
.business-panel ul { margin: 28px 0 34px; padding: 0; list-style: none; }
.business-panel li { position: relative; padding: 13px 0 13px 31px; color: #e6d9ff; border-top: 1px solid rgba(255,255,255,.16); line-height: 1.45; }
.business-panel li::before { content: ""; position: absolute; left: 3px; top: 21px; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.contact-button, .lead-submit { display: inline-flex; justify-content: center; border: 0; padding: 15px 20px; color: #332000; background: var(--amber); border-radius: 12px; font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.contact-button:focus-visible, .lead-submit:focus-visible, .form-field input:focus-visible { outline: 3px solid var(--amber-soft); outline-offset: 3px; }
.venue-lead-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.2); scroll-margin-top: 92px; }
.venue-lead-form[hidden] { display: none; }
.form-field { display: grid; gap: 8px; }
.form-field:nth-of-type(3), .lead-submit, .form-privacy, .form-status { grid-column: 1 / -1; }
.form-field label { color: var(--white); font-size: 13px; font-weight: 800; }
.form-field input { width: 100%; min-height: 48px; border: 1px solid rgba(255,255,255,.28); padding: 12px 14px; color: var(--white); background: rgba(20,0,51,.48); border-radius: 12px; font: inherit; }
.form-field input::placeholder { color: #c8b5ee; }
.form-field input[aria-invalid="true"] { border-color: var(--amber); }
.field-error { min-height: 18px; color: #ffdca0; font-size: 12px; font-weight: 700; }
.lead-submit { width: 100%; }
.lead-submit:disabled { cursor: wait; opacity: .72; }
.venue-lead-form .form-privacy { margin: 0; color: #e8ddff; font-size: 12px; line-height: 1.55; }
.venue-lead-form .form-status { min-height: 22px; margin: 0; color: var(--white); font-size: 14px; font-weight: 800; }
.form-status.is-success { color: #ffdb95; }
.form-status.is-error { color: #ffd0c8; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.story-gallery { padding: 138px 0 118px; background: var(--white); }
.gallery-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 56px; }
.gallery-heading h2 { max-width: 760px; }
.gallery-heading p { max-width: 350px; margin: 0 0 8px; color: var(--muted); line-height: 1.6; }
.poster-track { width: var(--shell); margin-inline: auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.poster-track figure { min-width: 0; margin: 0; overflow: hidden; border-radius: 16px; box-shadow: var(--shadow-md); }
.poster-track img { width: 100%; height: auto; object-fit: contain; }

.final-cta { color: var(--white); background: linear-gradient(118deg, var(--purple-950), var(--purple-700)); overflow: hidden; }
.final-layout { min-height: 760px; display: grid; grid-template-columns: 1fr 420px; gap: 84px; align-items: center; }
.final-layout > div { padding: 96px 0; }
.final-icon { margin-bottom: 32px; border-radius: 24px; box-shadow: 0 18px 44px rgba(0,0,0,.25); }
.final-cta h2 { max-width: 720px; }
.final-cta p { max-width: 620px; margin: 25px 0 0; color: #e7dcff; font-size: 19px; line-height: 1.65; }
.store-button-dark { color: var(--ink); background: var(--amber); }
.final-poster { align-self: end; width: 100%; max-height: 690px; object-fit: cover; object-position: top; border-radius: 32px 32px 0 0; box-shadow: 0 -18px 70px rgba(148, 85, 255, .35); }

footer { color: #d9c9ff; background: #140033; }
.footer-inner { min-height: 128px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand { color: var(--white); font-size: 24px; }
.footer-inner nav a { color: #d9c9ff; font-size: 13px; text-decoration: none; }
.footer-inner > span { font-size: 12px; white-space: nowrap; }

@media (max-width: 980px) {
  :root { --shell: min(100% - 36px, 760px); }
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding-top: 64px; }
  .hero-layout { grid-template-columns: 1fr; gap: 16px; }
  .hero-copy { padding-bottom: 0; }
  .hero-product { height: 690px; max-width: 620px; width: 100%; margin: 0 auto 82px; }
  .journey-layout { grid-template-columns: 1fr 340px; gap: 54px; }
  .journey-stage-frame { width: 300px; height: 650px; }
  .customer-panel, .business-panel { grid-template-columns: 1fr 1fr; }
  .customer-panel .audience-copy { padding: 48px 20px 48px 42px; }
  .business-panel .audience-copy { padding: 48px 42px 48px 20px; }
  .poster-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .final-layout { grid-template-columns: 1fr 330px; gap: 42px; }
  .footer-inner { padding: 34px 0; flex-wrap: wrap; }
  .footer-inner nav { order: 3; width: 100%; flex-wrap: wrap; }
}

@media (max-width: 720px) {
  :root { --shell: calc(100% - 28px); }
  .header-inner { min-height: 68px; }
  .brand { font-size: 25px; }
  .brand img { width: 42px; height: 42px; }
  .nav-cta { padding: 11px 14px; font-size: 13px !important; }
  .hero { padding-top: 54px; }
  h1 { font-size: clamp(48px, 13vw, 66px); }
  .hero-copy > p { font-size: 17px; line-height: 1.6; }
  .download-actions { flex-direction: column; }
  .store-button { width: 100%; }
  .hero-product { height: 545px; margin-bottom: 82px; }
  .phone-front { width: 232px; height: 503px; left: 5%; top: 54px; border-width: 7px; border-radius: 34px; }
  .phone-back { width: 205px; height: 444px; right: 3%; border-width: 7px; border-radius: 32px; }
  .orbit-one { width: 430px; height: 430px; left: -12%; }
  .orbit-two { width: 310px; height: 310px; left: 14%; }
  .stamp-badge { right: 2%; bottom: 2px; transform: rotate(2deg) scale(.84); transform-origin: bottom right; }
  .motion-track { min-height: 72px; }
  .motion-track span { font-size: 20px; }
  .journey, .audience, .story-gallery { padding: 94px 14px; }
  .journey-layout { grid-template-columns: 1fr; }
  .journey-stage { position: relative; top: auto; grid-row: 1; margin-bottom: 46px; }
  .journey-stage-frame { width: min(300px, 78vw); height: auto; aspect-ratio: 540 / 1170; }
  .journey-step { grid-template-columns: 46px 1fr; gap: 16px; }
  .journey-step.is-active { transform: none; }
  .step-index { width: 42px; height: 42px; }
  .audience > .shell > h2 { margin-bottom: 42px; }
  .customer-panel, .business-panel { grid-template-columns: 1fr; min-height: auto; }
  .customer-panel .audience-copy { padding: 38px 28px 24px; }
  .customer-panel img { width: min(88%, 430px); max-height: none; }
  .business-panel > img { width: min(82%, 390px); max-height: none; }
  .business-panel .audience-copy { padding: 36px 28px 42px; }
  .venue-lead-form { grid-template-columns: 1fr; }
  .form-field:nth-of-type(3), .lead-submit, .form-privacy, .form-status { grid-column: auto; }
  .gallery-heading { display: block; margin-bottom: 38px; }
  .gallery-heading p { margin-top: 20px; }
  .poster-track { width: var(--shell); grid-template-columns: 1fr; gap: 24px; }
  .final-layout { grid-template-columns: 1fr; }
  .final-layout > div { padding: 86px 0 30px; }
  .final-poster { width: 82%; max-height: 660px; margin-inline: auto; }
  .footer-inner { align-items: flex-start; }
  .footer-inner nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .store-button, .journey-step, .journey-stage-frame img { transition: none; }
}
