/* =================================================================
   SPLUS — corporate one-pager
   Brand tokens mirrored from the Flutter app (lib/theme.dart)
   ================================================================= */

:root {
  /* Brand — single source of truth, matched to theme.dart */
  --blue:        #0C33B6;   /* primaryColor rgb(12,51,182) */
  --blue-bright: #0072FF;   /* primaryGradientColorEnd     */
  --cyan:        #00C6FF;   /* primaryGradientColorStart   */
  --teal:        #1C595D;   /* secondaryColor rgb(28,89,93)*/
  --teal-deep:   #206769;   /* logo mark green             */
  --green:       #24A148;   /* successColor                */

  /* Neutrals — tinted toward brand blue (never pure black/white) */
  --ink:    #0c1730;
  --ink-2:  #3a4561;
  --muted:  #6c7693;
  --line:   #e3e9f4;
  --paper:  #ffffff;
  --bg:     #f5f8fd;
  --bg-2:   #eef3fc;

  /* Brand gradients */
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--blue-bright) 55%, var(--blue) 100%);
  --grad-teal: linear-gradient(135deg, var(--teal-deep), var(--blue-bright));

  /* Type */
  --font-display: 'Sora', 'Nunito', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  /* Shape & depth */
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(12, 51, 182, .06);
  --shadow:    0 18px 50px -24px rgba(12, 51, 182, .28);
  --shadow-lg: 0 40px 80px -32px rgba(12, 51, 182, .35);

  /* Rhythm */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 11vw, 144px);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -.02em;
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: 10px; z-index: 200; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--blue-bright); outline-offset: 3px; border-radius: 6px; }

/* ---------- Utilities ---------- */
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.kicker {
  font-family: var(--font-display);
  font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-bright);
  display: inline-flex; align-items: center; gap: .55em;
  margin-bottom: 1rem;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: var(--grad);
}
.kicker--light { color: #cfe6ff; }
.kicker--light::before { background: #cfe6ff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-weight: 700; font-size: .82rem;
  padding: .5em 1em; border-radius: 100px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px rgba(36,161,72,.18);
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: .82em; --pad-x: 1.4em;
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5em;
  font-family: var(--font-display); font-weight: 600;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s;
}
.btn--sm { --pad-y: .58em; --pad-x: 1.1em; font-size: .9rem; }
.btn--lg { --pad-y: .95em; --pad-x: 1.7em; font-size: 1.02rem; }

.btn--primary {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--blue) 100%); color: #fff;
  box-shadow: 0 14px 30px -12px rgba(0,114,255,.55);
}
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: 0 20px 40px -14px rgba(0,114,255,.65); }

.btn--ghost {
  background: var(--paper); color: var(--ink);
  border-color: var(--line); box-shadow: var(--shadow-sm);
}
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--blue-bright); color: var(--blue); }

.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -16px rgba(0,0,0,.4); }

/* =================================================================
   NAV
   ================================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.is-stuck { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__logo { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav__links > a:not(.btn) {
  font-weight: 700; font-size: .96rem; color: var(--ink-2);
  position: relative; padding: 4px 0;
}
.nav__links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; border-radius: 2px; background: var(--grad);
  transition: width .3s var(--ease);
}
.nav__links > a:not(.btn):hover { color: var(--ink); }
.nav__links > a:not(.btn):hover::after { width: 100%; }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =================================================================
   HERO
   ================================================================= */
.hero { position: relative; padding-top: clamp(48px, 8vw, 96px); padding-bottom: var(--section-y); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.orb--1 { width: 460px; height: 460px; background: radial-gradient(circle, var(--cyan), transparent 70%); top: -140px; right: -80px; }
.orb--2 { width: 520px; height: 520px; background: radial-gradient(circle, color-mix(in srgb, var(--blue) 55%, transparent), transparent 70%); bottom: -180px; left: -160px; opacity: .35; }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 70% 10%, #000 0%, transparent 70%);
  opacity: .5;
}

.hero__inner {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__title { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 5rem); font-weight: 800; margin: 1.3rem 0 1.1rem; }
.hero__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.28rem); color: var(--ink-2); max-width: 32ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

.hero__proof { display: flex; gap: clamp(1.4rem, 4vw, 2.6rem); margin-top: 2.6rem; flex-wrap: wrap; }
.hero__proof li { display: flex; flex-direction: column; }
.hero__proof strong { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; line-height: 1; }
.hero__proof span { color: var(--muted); font-size: .85rem; font-weight: 600; margin-top: .35rem; }

/* Phone mockup */
.hero__visual { display: flex; justify-content: center; perspective: 1400px; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 300 / 620;
  background: #0c1730; border-radius: 42px;
  padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
  transform: rotateY(-12deg) rotateX(4deg) rotateZ(1deg);
  transition: transform .6s var(--ease);
  animation: float 7s ease-in-out infinite;
}
.hero__visual:hover .phone { transform: rotateY(-4deg) rotateX(2deg); }
.phone__notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 110px; height: 24px; background: #0c1730; border-radius: 0 0 16px 16px; z-index: 3; }
.phone__screen {
  height: 100%; border-radius: 32px; overflow: hidden;
  background: #fff; display: flex; flex-direction: column;
  font-family: var(--font-body); color: #1a2233;
}

/* ----- App home recreation (matches the real SPLUS app) ----- */
.app__header {
  position: relative; color: #fff; padding: 30px 15px 16px;
  background: linear-gradient(165deg, #1a3bbf 0%, #0c33b6 55%, #0a2a93 100%);
}
.app__header::after {
  content: ""; position: absolute; top: 0; right: 0; width: 120px; height: 120px;
  background: radial-gradient(circle at 80% 10%, rgba(255,255,255,.10), transparent 60%);
}
.app__status { display: flex; align-items: center; justify-content: space-between; }
.app__time { font-weight: 800; font-size: .72rem; }
.app__sysicons { display: inline-flex; align-items: center; gap: 5px; color: #fff; }
.app__batt { background: #2fbf6c; color: #fff; font-weight: 800; font-size: .52rem; padding: 1px 5px; border-radius: 6px; line-height: 1.4; }
.app__hi { margin-top: 12px; font-size: 1.18rem; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.app__hi b { color: #FACC15; font-weight: 900; }
.app__wallet { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 8px; padding-bottom: 30px; }
.app__link { font-size: .62rem; font-weight: 800; display: flex; align-items: center; gap: 3px; }
.app__link b { color: #FACC15; }
.app__amt { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-weight: 800; font-size: 1.18rem; }
.app__amt small { font-size: .7rem; font-weight: 800; }
.app__plus { display: inline-grid; place-items: center; width: 16px; height: 16px; background: #fff; color: #0c33b6; border-radius: 5px; font-size: .85rem; font-weight: 800; line-height: 1; }
.app__commission { text-align: right; }
.app__comm-amt { margin-top: 3px; font-weight: 800; font-size: 1.05rem; }

.app__quick {
  position: relative; z-index: 2; margin: -22px 13px 0; padding: 12px 4px;
  background: #fff; border-radius: 16px; box-shadow: 0 12px 26px -14px rgba(12,51,182,.35);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px;
}
.app__quick span, .app__tiles span {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: .56rem; font-weight: 800; color: #1c2433; text-align: center;
}
.app__quick img { width: 25px; height: 25px; }

.app__tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding: 12px 11px 4px; }
.app__tiles i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #fff; box-shadow: 0 5px 13px -5px rgba(0,0,0,.22); }
.app__tiles img { width: 27px; height: 27px; object-fit: contain; }

.app__banner {
  position: relative; margin: 8px 11px 0; height: 84px; border-radius: 14px; overflow: hidden;
  background: linear-gradient(120deg, #0c33b6, #0072FF 60%, #00C6FF);
  display: flex; align-items: center; justify-content: center;
}
.app__play { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.92); color: #0c33b6; display: grid; place-items: center; font-size: .8rem; padding-left: 2px; }
.app__arrow { position: absolute; top: 50%; transform: translateY(-50%); left: 7px; width: 21px; height: 21px; border-radius: 50%; background: rgba(0,0,0,.32); color: #fff; display: grid; place-items: center; font-size: .85rem; }
.app__arrow--r { left: auto; right: 7px; }
.app__banner-cap { position: absolute; left: 10px; bottom: 7px; color: #fff; font-weight: 800; font-size: .72rem; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.app__dots { display: flex; justify-content: center; gap: 4px; padding: 7px 0 3px; }
.app__dots i { width: 15px; height: 4px; border-radius: 3px; background: #0072FF; }

.app__merch-head { display: flex; align-items: center; justify-content: space-between; padding: 3px 12px; }
.app__merch-head b { font-size: .76rem; font-weight: 800; color: #0c1730; }
.app__merch-head span { font-size: .6rem; font-weight: 800; color: #0072FF; }
.app__merch { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 4px 12px 6px; }
.app__merch-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 16px -9px rgba(12,51,182,.25); }
.app__merch-banner { position: relative; height: 50px; display: grid; place-items: center; background: #e8edf6; color: #aab6cc; }
.app__merch-banner--b { background: #eaf0f2; }
.app__merch-illus { width: 26px; height: 26px; }
.app__merch-cash {
  position: absolute; top: 5px; left: 5px; display: inline-flex; align-items: center; gap: 2px;
  background: rgba(255,255,255,.95); border-radius: 7px; padding: 1px 4px;
  font-size: .48rem; font-weight: 800; color: #16243d; box-shadow: 0 2px 6px rgba(0,0,0,.12);
}
.app__cash-wallet { width: 9px; height: 9px; color: #16a34a; }
.app__cash-trend { width: 9px; height: 9px; color: #0072FF; margin-left: 2px; }
.app__merch-logo {
  position: absolute; left: 6px; bottom: -13px; z-index: 2;
  width: 28px; height: 28px; border-radius: 9px; background: #fff;
  display: grid; place-items: center; box-shadow: 0 3px 9px rgba(0,0,0,.22);
}
.app__merch-logo svg { width: 17px; height: 17px; }
.app__merch-info { padding: 17px 8px 9px; }
.app__merch-name { font-size: .66rem; font-weight: 800; color: #0c1730; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app__merch-desc { margin-top: 2px; font-size: .54rem; font-weight: 600; color: #8a93a6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.app__nav {
  margin-top: auto; display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 7px 4px 9px; border-top: 1px solid var(--line); background: #fff;
}
.app__nav span { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .52rem; font-weight: 700; color: #666; }
.app__nav img { width: 20px; height: 20px; }
.app__nav .is-active { color: #0c33b6; }

@keyframes float { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }

/* Trust bar */
.trustbar {
  margin-top: clamp(3rem, 7vw, 5.5rem);
  display: flex; flex-wrap: wrap; gap: 1rem clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; justify-content: center;
  padding: clamp(1.1rem, 2.5vw, 1.5rem) clamp(1.2rem, 4vw, 2.5rem);
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  text-align: center;
}
.trustbar span { color: var(--muted); font-weight: 600; font-size: .96rem; }
.trustbar strong { color: var(--ink); font-weight: 800; }

/* =================================================================
   SECTIONS (shared)
   ================================================================= */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--bg); }
.section__head { max-width: 56ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); font-weight: 800; }
.section__sub { color: var(--ink-2); font-size: clamp(1.02rem, 1rem + .3vw, 1.18rem); margin-top: 1rem; max-width: 50ch; }

/* ---------- What we do (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2vw, 1.4rem); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue-bright) 30%, var(--line)); }
.card::after {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.card:hover::after { transform: scaleX(1); }
.card__icon {
  display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 16px; background: var(--bg-2); color: var(--blue-bright);
  font-size: 1.5rem; margin-bottom: 1.2rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: .55rem; }
.card p { color: var(--ink-2); }
.card__tag {
  display: inline-block; margin-top: 1.1rem;
  font-family: var(--font-display); font-weight: 700; font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--teal-deep); background: color-mix(in srgb, var(--teal-deep) 12%, transparent);
  padding: .4em .85em; border-radius: 100px;
}
.card--feature { grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(165deg, #fff, var(--bg)); }
.card--feature .card__icon { width: 64px; height: 64px; font-size: 1.8rem; }
.card--feature h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.card--feature .card__tag { margin-top: auto; }
.card--wide { grid-column: span 2; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about__media { display: flex; justify-content: center; }
.about__panel {
  position: relative; width: min(360px, 90%); aspect-ratio: 1;
  border-radius: var(--r-lg); display: grid; place-content: center; gap: 1rem;
  background: var(--grad-teal); color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.about__panel::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 55%);
}
.about__panel img { width: 64px; height: auto; filter: brightness(0) invert(1); position: relative; }
.about__since { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .85rem; position: relative; text-align: center; }
.about__copy p { color: var(--ink-2); margin-top: 1.1rem; max-width: 54ch; }
.stats { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.2rem; }
.stats strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-weight: 600; font-size: .9rem; margin-top: .4rem; display: block; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); counter-reset: s; }
.step { position: relative; padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--line); }
.step__num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.step h3 { font-size: 1.25rem; margin: .9rem 0 .5rem; }
.step p { color: var(--ink-2); }
.steps .step:not(:last-child)::after {
  content: "→"; position: absolute; top: 50%; right: -1.1rem; transform: translateY(-50%);
  color: var(--blue-bright); font-size: 1.4rem; font-weight: 700; z-index: 2;
}

/* ---------- Refer a friend ---------- */
.refer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.refer__steps { display: grid; gap: .9rem; margin-top: 2rem; }
.refer__steps li { display: flex; align-items: center; gap: .9rem; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.refer__steps span {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
}
.refer__note {
  margin-top: 1.6rem; color: var(--muted); font-weight: 600; font-size: .95rem;
  padding-left: 1rem; border-left: 3px solid color-mix(in srgb, var(--green) 60%, transparent);
}

.refer__visual { display: flex; justify-content: center; }
.refer__card {
  position: relative; width: min(420px, 100%);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem); box-shadow: var(--shadow);
}
.refer__gift {
  position: absolute; top: -22px; left: clamp(1.6rem, 3vw, 2.4rem);
  display: grid; place-items: center; width: 52px; height: 52px;
  border-radius: 16px; background: var(--grad); font-size: 1.5rem;
  box-shadow: 0 12px 24px -10px rgba(0,114,255,.7);
}
.refer__card-label {
  margin-top: 1.4rem; font-family: var(--font-display); font-weight: 700;
  font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
}
.refer__link {
  display: flex; align-items: center; gap: .6rem; margin-top: .6rem;
  background: var(--bg); border: 1px dashed color-mix(in srgb, var(--blue-bright) 40%, var(--line));
  border-radius: var(--r); padding: .85rem 1rem;
}
.refer__link-icon { width: 18px; height: 18px; flex: none; color: var(--blue-bright); }
.refer__link span { font-family: var(--font-display); font-weight: 700; color: var(--ink-2); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.refer__rewards { display: flex; align-items: stretch; gap: .8rem; margin-top: 1.4rem; }
.refer__reward { flex: 1; text-align: center; background: var(--bg-2); border-radius: var(--r); padding: 1rem .8rem; }
.refer__reward strong { display: block; font-family: var(--font-display); font-weight: 800; color: var(--ink); }
.refer__reward span { display: block; margin-top: .25rem; font-size: .82rem; font-weight: 600; color: var(--muted); }
.refer__reward--you { background: color-mix(in srgb, var(--blue-bright) 12%, #fff); border: 1px solid color-mix(in srgb, var(--blue-bright) 32%, transparent); }
.refer__reward--you strong { color: var(--blue); }
.refer__reward--you span { color: color-mix(in srgb, var(--blue) 65%, var(--muted)); }
.refer__amp { display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--blue-bright); }

/* ---------- Merchants ---------- */
.merchants { color: #fff; padding-block: var(--section-y); position: relative; overflow: hidden; background: var(--ink); }
.merchants::before { content: ""; position: absolute; inset: 0; background: var(--grad); opacity: .92; }
.merchants::after { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 70%); top: -160px; right: -120px; }
.merchants__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.merchants__title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.merchants__copy p { color: rgba(255,255,255,.9); max-width: 46ch; margin-bottom: 2rem; }
.merchants__list { display: grid; gap: 1rem; }
.merchants__list li {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  backdrop-filter: blur(8px); border-radius: var(--r); padding: 1.1rem 1.3rem;
  font-weight: 600; font-size: 1.02rem;
}
.merchants__list strong { font-family: var(--font-display); font-weight: 800; }

/* ---------- Download ---------- */
.download { max-width: 760px; }
.stores { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.store {
  display: inline-flex; align-items: center; gap: .8rem;
  background: var(--ink); color: #fff; padding: .7rem 1.4rem; border-radius: 14px;
  box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.store:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.store__icon { width: 26px; height: 26px; flex: none; background: #fff; border-radius: 6px; -webkit-mask: center/contain no-repeat; mask: center/contain no-repeat; }
.store__icon { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16.36 12.9c-.02-2.18 1.78-3.23 1.86-3.28-1.01-1.48-2.59-1.69-3.15-1.71-1.34-.14-2.61.79-3.29.79-.68 0-1.72-.77-2.83-.75-1.46.02-2.8.85-3.55 2.16-1.51 2.62-.39 6.5 1.09 8.63.72 1.04 1.58 2.22 2.71 2.18 1.09-.04 1.5-.7 2.82-.7 1.31 0 1.69.7 2.84.68 1.17-.02 1.92-1.07 2.64-2.12.83-1.22 1.18-2.4 1.2-2.46-.03-.01-2.3-.88-2.32-3.49zM14.2 6.27c.6-.73 1.01-1.74.9-2.75-.87.04-1.92.58-2.54 1.3-.55.64-1.04 1.67-.91 2.65.97.08 1.96-.49 2.55-1.2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M16.36 12.9c-.02-2.18 1.78-3.23 1.86-3.28-1.01-1.48-2.59-1.69-3.15-1.71-1.34-.14-2.61.79-3.29.79-.68 0-1.72-.77-2.83-.75-1.46.02-2.8.85-3.55 2.16-1.51 2.62-.39 6.5 1.09 8.63.72 1.04 1.58 2.22 2.71 2.18 1.09-.04 1.5-.7 2.82-.7 1.31 0 1.69.7 2.84.68 1.17-.02 1.92-1.07 2.64-2.12.83-1.22 1.18-2.4 1.2-2.46-.03-.01-2.3-.88-2.32-3.49zM14.2 6.27c.6-.73 1.01-1.74.9-2.75-.87.04-1.92.58-2.54 1.3-.55.64-1.04 1.67-.91 2.65.97.08 1.96-.49 2.55-1.2z'/%3E%3C/svg%3E"); }
.store__icon--play { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3.6 2.4c-.3.3-.5.7-.5 1.2v16.8c0 .5.2.9.5 1.2l9-9.6-9-9.6zm10.1 8.5l2.6-2.7-9.3-5.3c-.3-.2-.6-.2-.9-.1l7.6 8.1zm0 2.2l-7.6 8.1c.3.1.6.1.9-.1l9.3-5.3-2.6-2.7zm5.4-3.6L17 8.7l-2.9 3 2.9 3 2.1-1.2c.7-.4.7-1.5 0-1.9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3.6 2.4c-.3.3-.5.7-.5 1.2v16.8c0 .5.2.9.5 1.2l9-9.6-9-9.6zm10.1 8.5l2.6-2.7-9.3-5.3c-.3-.2-.6-.2-.9-.1l7.6 8.1zm0 2.2l-7.6 8.1c.3.1.6.1.9-.1l9.3-5.3-2.6-2.7zm5.4-3.6L17 8.7l-2.9 3 2.9 3 2.1-1.2c.7-.4.7-1.5 0-1.9z'/%3E%3C/svg%3E"); }
.store__text { display: flex; flex-direction: column; line-height: 1.15; }
.store__text small { font-size: .65rem; opacity: .8; }
.store__text strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.download__register { margin-top: 1.6rem; color: var(--ink-2); font-weight: 600; }
.download__register a { color: var(--blue-bright); font-weight: 800; }
.download__register a:hover { text-decoration: underline; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.4rem, 3vw, 2.4rem); align-items: stretch; }
.contact__channels { display: grid; gap: 1rem; align-content: start; }
.channel {
  display: flex; align-items: center; gap: 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
a.channel:hover { transform: translateX(4px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--blue-bright) 35%, var(--line)); }
.channel--static { background: var(--bg); align-items: flex-start; }
.channel__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--bg-2); font-size: 1.2rem; }
.channel__body { display: flex; flex-direction: column; }
.channel__body small { color: var(--muted); font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.channel__body strong { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.channel__addr { margin-top: .35rem; color: var(--ink-2); font-size: .9rem; font-weight: 600; line-height: 1.45; }
.contact__map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); min-height: 340px; }
.contact__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

/* =================================================================
   FOOTER
   ================================================================= */
.footer { background: var(--ink); color: #fff; padding-top: clamp(3rem, 6vw, 5rem); }
.footer__inner { display: grid; grid-template-columns: 1.3fr 2fr; gap: clamp(2rem, 5vw, 4rem); padding-bottom: 2.5rem; }
.footer__brand img { height: 38px; width: auto; margin-bottom: 1.1rem; }
.footer__brand p { color: rgba(255,255,255,.65); max-width: 36ch; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.footer__nav h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1rem; font-weight: 700; }
.footer__nav a { display: block; color: rgba(255,255,255,.8); padding: .35rem 0; font-weight: 600; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__bar {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  padding-block: 1.6rem; border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.55); font-size: .88rem; font-weight: 600;
}

/* =================================================================
   SCROLL REVEAL
   ================================================================= */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { order: -1; margin-bottom: 1rem; }
  .hero__lead { max-width: 48ch; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .card--feature { grid-row: auto; }
  .card--wide { grid-column: span 2; }
  .about { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .merchants__inner { grid-template-columns: 1fr; }
  .refer { grid-template-columns: 1fr; }
  .refer__visual { order: -1; }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* Mobile nav drawer */
  .nav__toggle { display: flex; }
  .nav__links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: .25rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 1rem var(--gutter) 1.6rem;
    box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s var(--ease), visibility .3s;
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links > a:not(.btn) { padding: .8rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav__links > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: .8rem; }

  .steps { grid-template-columns: 1fr; }
  .steps .step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -1.3rem; transform: translateX(-50%); }
  .hero__proof { gap: 1.6rem; }
}

@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .card--wide { grid-column: auto; }
  .stores { flex-direction: column; align-items: stretch; }
  .store { justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .phone { transform: none; }
}
