/* ==========================================================================
   MN EARN — "Glass & Gradient" theme
   Custom CSS for the GPT-site template. REPLACES any previous custom CSS —
   do not append; two themes fighting over the same properties is its own bug.

   Structure:
     1. Tokens  2. Base  3. Buttons  4. Header  5. Hero  6. Sections
     7. Steps  8. Offers  9. CTA band  10. Footer  11. Auth
     12. Content pages  13. Logged-in area  14. Responsive  15. Motion
   ========================================================================== */

/* Fonts are progressive: if the platform strips @import, every stack below
   falls back to system fonts and the layout is unchanged. */
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap");

/* ==========================================================================
   1. TOKENS
   The 9 site tokens feed ~90 derived variables via
   color-mix(in srgb, <color> X%, var(--gptsite-surface)). A dark surface
   darkens every derived tint, including logged-in screens we can't see.
   `:root, body` + !important: the site's token <style> sits late in <head>
   and some installs re-declare on body, so plain :root can lose.
   ========================================================================== */
:root,
body {
  /* --- the nine site tokens --- */
  --gptsite-primary: #9b7bff !important;
  --gptsite-secondary: #22d3ee !important;
  --gptsite-accent: #f0abfc !important;
  --gptsite-background: #07081a !important;
  --gptsite-surface: #11132b !important;
  --gptsite-text: #eef0ff !important;
  --gptsite-border: #2a2e55 !important;
  --gptsite-font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  --gptsite-radius: 16px !important;

  /* --- theme-private helpers --- */
  --mn-display: "Sora", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mn-void: #07081a;            /* page base */
  --mn-glass: rgba(22, 25, 56, 0.55);
  --mn-glass-hi: rgba(255, 255, 255, 0.06);
  --mn-hair: rgba(255, 255, 255, 0.09);
  --mn-hair-hi: rgba(255, 255, 255, 0.18);
  --mn-money: #5eead4;           /* every payout figure */
  --mn-on-grad: #07081a;         /* text placed on the bright gradient */
  --mn-paper: #f5f3ff;           /* inverted CTA block */

  /* --- derived variables the template actually reads --- */
  --ink: #eef0ff !important;
  --ink-2: #c3c6e6 !important;
  --muted: #8d91b8 !important;
  --bg: #07081a !important;
  --surface: #11132b !important;
  --tint: rgba(155, 123, 255, 0.08) !important;
  --line: rgba(255, 255, 255, 0.09) !important;

  --purple-50: rgba(155, 123, 255, 0.10) !important;
  --purple-100: rgba(155, 123, 255, 0.18) !important;
  --purple-200: rgba(155, 123, 255, 0.28) !important;
  --purple-300: #c4b5fd !important;
  --purple-400: #b39dff !important;
  --purple-500: #9b7bff !important;
  --purple-600: #b9a6ff !important;   /* used as "strong text" on tints → lighten for dark bg */
  --purple-700: #d4c9ff !important;

  --grad: linear-gradient(115deg, #b39dff 0%, #7dd3fc 55%, #5eead4 100%) !important;
  --grad-soft: linear-gradient(135deg, rgba(155, 123, 255, 0.16), rgba(34, 211, 238, 0.08)) !important;

  --green-50: rgba(94, 234, 212, 0.12) !important;
  --green-100: rgba(94, 234, 212, 0.20) !important;
  --green-500: #5eead4 !important;
  --green-600: #5eead4 !important;
  --green-700: #99f6e4 !important;
  --orange-50: rgba(251, 191, 36, 0.12) !important;
  --orange-100: rgba(251, 191, 36, 0.20) !important;
  --orange-500: #fbbf24 !important;
  --orange-600: #fcd34d !important;
  --red-50: rgba(251, 113, 133, 0.12) !important;
  --red-100: rgba(251, 113, 133, 0.20) !important;
  --red-500: #fb7185 !important;
  --red-600: #fda4af !important;
  --blue-50: rgba(125, 211, 252, 0.12) !important;
  --blue-100: rgba(125, 211, 252, 0.20) !important;
  --blue-500: #7dd3fc !important;
  --blue-600: #bae6fd !important;
  --accent-50: rgba(240, 171, 252, 0.12) !important;
  --accent-100: rgba(240, 171, 252, 0.20) !important;
  --accent-500: #f0abfc !important;
  --accent-600: #f5d0fe !important;

  --survey-bg: rgba(125, 211, 252, 0.12) !important;
  --survey-fg: #7dd3fc !important;
  --survey-border: rgba(125, 211, 252, 0.3) !important;
  --goal-bg: rgba(240, 171, 252, 0.12) !important;
  --goal-fg: #f0abfc !important;
  --goal-border: rgba(240, 171, 252, 0.3) !important;

  --shadow-sm: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 1px 2px rgba(0, 0, 0, 0.4) !important;
  --shadow-md: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 12px 32px rgba(0, 0, 0, 0.45) !important;
  --shadow-lg: 0 1px 0 rgba(255, 255, 255, 0.06) inset, 0 30px 80px rgba(0, 0, 0, 0.55) !important;

  --r-sm: 10px !important;
  --r-md: 16px !important;
  --r-lg: 22px !important;
  --r-xl: 30px !important;

  --c3d-face: #9b7bff !important;
  --c3d-edge: #5b3fd6 !important;
  --pedestal-top: rgba(155, 123, 255, 0.15) !important;
  --avatar-bg: rgba(155, 123, 255, 0.22) !important;
  --avatar-fg: #e9e3ff !important;
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
html {
  color-scheme: dark !important;           /* native controls, scrollbars, pickers go dark */
  background: var(--mn-void) !important;   /* no white flash past the body on overscroll */
}

body,
body.aurora {
  position: relative;
  isolation: isolate;                      /* lets body::before sit above body's own background */
  font-family: var(--gptsite-font-sans) !important;
  color: var(--ink) !important;
  -webkit-font-smoothing: antialiased;
  /* Mesh gradient. attachment:scroll on purpose — fixed + backdrop-filter
     makes Chrome drop repaint tiles (chips render as grey blocks). */
  background:
    radial-gradient(60vw 46vw at 12% -6%, rgba(155, 123, 255, 0.34), transparent 62%),
    radial-gradient(48vw 40vw at 92% 4%, rgba(34, 211, 238, 0.22), transparent 60%),
    radial-gradient(50vw 40vw at 70% 58%, rgba(240, 171, 252, 0.10), transparent 65%),
    radial-gradient(60vw 50vw at 0% 100%, rgba(94, 234, 212, 0.08), transparent 60%),
    var(--mn-void) !important;
  background-attachment: scroll !important;
}

/* Technical grid over the top of the page only, faded out with a mask so it
   never ends in a hard edge. Absolute (not fixed) for the repaint bug above. */
body::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 100%;                            /* never taller than the page: a fixed px height adds scroll to short pages */
  max-height: 1100px;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 0%, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 75% at 50% 0%, #000 30%, transparent 80%);
}

::selection { background: rgba(94, 234, 212, 0.35); color: #fff; }

h1, h2, h3, h4,
.section-title, .features-title, .banner-title, .auth-headline {
  font-family: var(--mn-display) !important;
  color: #fff;
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--mn-money) !important;
  outline-offset: 3px !important;
}

/* Dark scrollbars (Chromium/Safari) + Firefox */
html { scrollbar-color: #2f3366 var(--mn-void); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--mn-void); }
::-webkit-scrollbar-thumb {
  background: #2a2e5a;
  border: 3px solid var(--mn-void);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover { background: #3c4180; }

/* Generic form controls (contact page, logged-in forms) */
/* buttons/inputs don't inherit font by default — the contact submit fell back to a serif */
button, input, select, textarea {
  font-family: inherit;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
  background: rgba(7, 8, 26, 0.6) !important;
  color: var(--ink) !important;
  border: 1px solid var(--mn-hair-hi) !important;
  border-radius: 12px !important;
}
input::placeholder, textarea::placeholder { color: #6b6f99 !important; }
input:focus, select:focus, textarea:focus {
  outline: none !important;
  border-color: rgba(94, 234, 212, 0.6) !important;
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12) !important;
}
/* Chrome paints autofilled fields pale yellow/blue; an inset shadow is the only way to cover it */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
select:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0d0f26 inset !important;
  -webkit-text-fill-color: var(--ink) !important;
  caret-color: var(--ink);
  transition: background-color 9999s ease-out 0s;
}

/* ==========================================================================
   3. BUTTONS
   `.landing .btn-primary` in the site CSS out-ranks a bare selector → !important.
   Gradient is bright, so label text flips from white to near-black.
   ========================================================================== */
.btn-primary,
.landing .btn-primary,
.auth .btn-primary {
  background: var(--grad) !important;
  background-size: 140% 100% !important;
  color: var(--mn-on-grad) !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 10px 30px -8px rgba(94, 234, 212, 0.45) !important;
  transition: background-position 0.35s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover,
.landing .btn-primary:hover {
  background-position: 100% 0 !important;
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35) inset, 0 14px 36px -8px rgba(94, 234, 212, 0.6) !important;
}

.btn-ghost,
.landing .btn-ghost {
  background: rgba(255, 255, 255, 0.04) !important;   /* plain rgba, no blur: see repaint note */
  color: var(--ink) !important;
  border: 1px solid var(--mn-hair-hi) !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
.btn-ghost:hover,
.landing .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

/* ==========================================================================
   4. HEADER — attached white bar → floating glass pill
   ========================================================================== */
.header,
.landing .header {
  position: sticky !important;
  top: 0 !important;
  z-index: 60 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  /* padding, not margin: a top margin collapses through <body> and exposes a bare strip above the mesh */
  padding: 14px 16px 0 !important;
  margin-top: 0 !important;
  pointer-events: none;                  /* only the pill itself takes clicks, not the full-width strip */
}
.header-inner,
.header .header-inner {
  pointer-events: auto;
  max-width: 1040px !important;
  height: 62px !important;
  margin: 0 auto !important;
  padding: 0 8px 0 10px !important;
  border-radius: 999px !important;
  /* one of only three blurred surfaces on the site (header, auth card, modal) */
  background: rgba(14, 16, 40, 0.62) !important;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--mn-hair-hi) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset, 0 18px 50px -20px rgba(0, 0, 0, 0.8) !important;
}

/* a.logo is inline-flex in the template; flex stops a following .eyebrow riding up onto its line */
.logo,
a.logo {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: max-content;
  font-family: var(--mn-display) !important;
  font-weight: 700 !important;
  letter-spacing: -0.03em;
  color: #fff !important;
}
.logo-mark {
  width: 40px !important;
  height: 40px !important;
  border-radius: 999px !important;
  background: var(--grad) !important;
  color: var(--mn-on-grad) !important;     /* was hardcoded white on the gradient */
  font-family: var(--mn-display) !important;
  font-weight: 800 !important;
  box-shadow: 0 0 0 4px rgba(155, 123, 255, 0.16) !important;
}
.logo-text { color: #fff !important; font-size: 18px !important; }

.nav-links {
  gap: 4px !important;
  color: var(--ink-2) !important;
}
.nav-links a {
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--ink-2) !important;
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current] {
  background: rgba(255, 255, 255, 0.07) !important;
  color: #fff !important;
}
.header-actions { gap: 6px !important; }
.header-actions .btn-ghost,
.header-actions .btn-primary {
  padding: 10px 18px !important;
  font-size: 14px !important;
}
.header-actions .btn-ghost { border-color: transparent !important; background: transparent !important; }
.header-actions .btn-ghost:hover { background: rgba(255, 255, 255, 0.07) !important; }

.menu-toggle {
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--mn-hair) !important;
}
.menu-toggle .bar { background: #fff !important; border-radius: 2px; }

/* Mobile drawer: shown/hidden by the site's JS — only its look is changed here */
.mobile-nav {
  background: rgba(13, 15, 38, 0.97) !important;   /* opaque enough to need no blur */
  border: 1px solid var(--mn-hair-hi) !important;
  border-radius: 24px !important;
  color: var(--ink) !important;
  box-shadow: var(--shadow-lg) !important;
}
.mobile-nav a { color: var(--ink) !important; border-color: var(--mn-hair) !important; }
.mobile-nav-backdrop { background: rgba(3, 4, 14, 0.65) !important; }

/* ==========================================================================
   5. HERO — two-column + 3D card → centered, full-width display type
   ========================================================================== */
.hero,
.landing .hero {
  background: transparent !important;
  padding: clamp(64px, 9vw, 120px) 0 clamp(16px, 3vw, 40px) !important;
  text-align: center;
}
/* Retired: full-bleed accent glow several hundred px tall; left in place it
   draws a visible seam where the hero ends. The body mesh replaces it. */
.hero::before,
.hero::after,
.landing .hero::before,
.landing .hero::after {
  content: none !important;
  display: none !important;
}

.hero-grid {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  grid-template-columns: none !important;
}
.hero-left {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  max-width: 1040px !important;
  width: 100% !important;
  text-align: center !important;
}

/* Retired: the 3D scene is absolutely positioned for a fixed right column and
   collapses into the text once the hero is centered — clamping can't save it. */
.hero-visual,
.scene-wrap,
.visual-bubble {
  display: none !important;
}

.eyebrow {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 8px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--mn-hair-hi) !important;
  color: var(--ink-2) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: 4px;
  border-radius: 50%;
  background: var(--mn-money);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.18), 0 0 12px var(--mn-money);
  flex: 0 0 auto;
}

.hero-left h1,
.hero h1 {
  font-family: var(--mn-display) !important;
  font-size: clamp(2.75rem, 7.4vw, 6.6rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.055em !important;
  font-weight: 700 !important;
  margin: 28px 0 26px !important;
  max-width: 14ch;
  text-wrap: balance;
  /* White-to-lilac vertical fill on the main line */
  background: linear-gradient(180deg, #ffffff 30%, #c9c3f2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}
/* Highlighted phrase: full gradient fill on its own line */
.hero-left h1 span,
.hero h1 span,
.hero-left h1 em,
.hero-left h1 strong {
  display: block;
  background: var(--grad) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  font-style: normal;
  padding-bottom: 0.06em;                /* keeps descenders from being clipped by background-clip */
}

.hero-desc {
  font-size: clamp(16px, 1.5vw, 19px) !important;
  line-height: 1.6 !important;
  color: var(--muted) !important;
  max-width: 600px !important;
  margin: 0 auto !important;
}
.hero-ctas {
  justify-content: center !important;
  flex-wrap: wrap;
  gap: 12px !important;
  margin: 36px 0 48px !important;
}
.hero-ctas .btn-primary,
.hero-ctas .btn-ghost {
  padding: 16px 28px !important;
  font-size: 16px !important;
}

/* Trust chips → one joined glass strip with hairline dividers */
.trust-row {
  display: inline-flex !important;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 !important;
  padding: 6px !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid var(--mn-hair) !important;
}
/* flex:1 1 auto + min-width — a px flex-basis turns into a height when the row becomes a column on mobile */
.trust {
  flex: 1 1 auto !important;
  min-width: 150px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px !important;
  padding: 10px 20px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  text-align: left;
}
.trust + .trust { border-left: 1px solid var(--mn-hair) !important; border-radius: 0 !important; }
.trust-ico {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: rgba(155, 123, 255, 0.14) !important;
  color: #fff !important;
  flex: 0 0 34px;
}
.trust-text { color: var(--muted) !important; font-size: 12.5px !important; line-height: 1.35; }
.trust-text b, .trust-text strong {
  color: #fff !important;
  font-family: var(--mn-display);
  font-size: 15px !important;
  letter-spacing: -0.02em;
}

/* Retired decorations from the hero scene, in case any are rendered outside it */
.coin,
.sparkle,
.stack .sparkle,
.pedestal {
  display: none !important;
}

/* ==========================================================================
   6. SECTIONS — shared heads: left-aligned editorial split instead of centered stack
   ========================================================================== */
.section { padding: clamp(64px, 8vw, 112px) 0 !important; background: transparent !important; }

.section-eyebrow { text-align: left !important; }
.pill {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: var(--mn-money) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.18em !important;
  text-transform: uppercase;
}
.pill::before { content: "/ "; opacity: 0.6; }

.section-title {
  text-align: left !important;
  font-size: clamp(2rem, 4.4vw, 3.6rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  font-weight: 700 !important;
  margin: 14px 0 14px !important;
  max-width: 16ch;
  color: #fff !important;
}
.section-sub {
  text-align: left !important;
  margin: 0 !important;
  max-width: 480px !important;
  color: var(--muted) !important;
  font-size: 17px !important;
}

/* ==========================================================================
   7. STEPS — three separate cards → one glass panel, giant outlined numerals
   ========================================================================== */
.steps {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 0 !important;
  margin-top: 56px !important;
  border-radius: var(--r-xl) !important;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)) !important;
  border: 1px solid var(--mn-hair) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset !important;
  overflow: hidden;
}
.step {
  position: relative !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 40px 36px 40px !important;
  display: flex;
  flex-direction: column;
}
.step + .step { border-left: 1px solid var(--mn-hair) !important; }
.step::before, .step::after { display: none !important; }

.step-num {
  position: static !important;
  order: -1;
  display: block;
  font-family: var(--mn-display) !important;
  font-size: clamp(64px, 7vw, 96px) !important;
  font-weight: 800 !important;
  line-height: 0.9 !important;
  letter-spacing: -0.06em;
  margin-bottom: 28px;
  color: transparent !important;
  -webkit-text-stroke: 1.5px rgba(179, 157, 255, 0.55);
  background: none !important;
}
.step-ico-wrap {
  position: absolute !important;
  top: 40px;
  right: 36px;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid var(--mn-hair) !important;
  color: #fff !important;
  font-size: 20px;
}
.step-title {
  font-family: var(--mn-display) !important;
  font-size: 21px !important;
  letter-spacing: -0.03em;
  color: #fff !important;
  margin: 0 0 8px !important;
}
.step-desc { color: var(--muted) !important; font-size: 15px !important; }

/* ==========================================================================
   8. OFFERS — dense 4-col tiles → 2-col horizontal rows, payout as the hero number
   ========================================================================== */
/* The offers section ships its own tint + border-top, which reads as a band on a mesh page */
.offers,
.landing .offers,
section.offers,
#offers {
  background: transparent !important;
  border-top: 0 !important;
  box-shadow: none !important;
}
.offers::before, .offers::after { display: none !important; }

.features-head {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--mn-hair);
}
.features-head .eyebrow { margin-bottom: 4px; }
.features-title {
  font-size: clamp(2rem, 4.4vw, 3.6rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  font-weight: 700 !important;
  margin: 18px 0 10px !important;
  color: #fff !important;
}
.features-sub { color: var(--muted) !important; font-size: 16px !important; }
.view-all-link {
  border-radius: 999px !important;
  padding: 12px 20px !important;
  border: 1px solid var(--mn-hair-hi) !important;
  background: transparent !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  white-space: nowrap;
}
.view-all-link:hover {
  background: var(--grad) !important;
  color: var(--mn-on-grad) !important;    /* was hardcoded white */
  border-color: transparent !important;
}

.offer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin-top: 28px !important;
}

.card,
.landing .card,
.offer-grid .card {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 16px 16px 16px 16px !important;
  border-radius: var(--r-lg) !important;
  background: rgba(255, 255, 255, 0.035) !important;    /* plain rgba — no per-card blur */
  border: 1px solid var(--mn-hair) !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.card:hover,
.landing .card:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(94, 234, 212, 0.35) !important;
  transform: translateY(-2px);
}
/* Hardcoded lilac corner blob — bright smudge on dark glass */
.card::after,
.card::before,
.landing .card::after,
.landing .card::before {
  content: none !important;
  display: none !important;
}

.card-head {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}
.app-icon,
img.app-icon {
  width: 60px !important;
  height: 60px !important;
  flex: 0 0 60px !important;
  border-radius: 18px !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 10px 24px -10px rgba(0, 0, 0, 0.8) !important;
}
.card-meta { min-width: 0 !important; }
.card-title {
  font-family: var(--mn-display) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em;
  color: #fff !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-desc {
  color: var(--muted) !important;
  font-size: 13.5px !important;
  margin: 2px 0 8px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill-survey, .pill-app, .pill-goal {
  border-radius: 999px !important;
  font-size: 10.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  padding: 3px 9px !important;
  border: 1px solid transparent !important;
}
.pill-survey { background: var(--survey-bg) !important; color: var(--survey-fg) !important; border-color: rgba(125, 211, 252, 0.25) !important; }
.pill-app    { background: rgba(155, 123, 255, 0.14) !important; color: #c4b5fd !important; border-color: rgba(155, 123, 255, 0.3) !important; }
.pill-goal   { background: var(--goal-bg) !important; color: var(--goal-fg) !important; border-color: rgba(240, 171, 252, 0.25) !important; }

/* Footer of the card becomes a right-hand payout column */
.h-card-foot {
  flex: 0 0 auto !important;
  display: grid !important;
  grid-template-columns: auto auto;
  grid-template-areas: "label label" "reward cta";
  align-items: center;
  justify-items: end;
  column-gap: 12px;
  row-gap: 2px;
  margin: 0 !important;
  padding: 0 0 0 18px !important;
  border: 0 !important;
  border-left: 1px solid var(--mn-hair) !important;
}
.stat-label {
  grid-area: label;
  font-size: 10.5px !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted) !important;
}
.reward {
  grid-area: reward;
  margin: 0 !important;
  font-family: var(--mn-display) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
  color: var(--mn-money) !important;
  text-shadow: 0 0 24px rgba(94, 234, 212, 0.35);
}
.fake-cta {
  grid-area: cta;
  display: grid !important;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid var(--mn-hair-hi) !important;
  color: transparent !important;          /* label text swapped for an arrow glyph below */
  font-size: 0 !important;
  overflow: hidden;
  transition: background 0.2s;
}
.fake-cta::after {
  content: "\2192";
  font-size: 17px;
  font-weight: 600;
  color: #fff;
}
.card:hover .fake-cta { background: var(--grad) !important; border-color: transparent !important; }
.card:hover .fake-cta::after { color: var(--mn-on-grad); }  /* white text flipped for the bright gradient */

/* ==========================================================================
   9. CTA BAND — the inverted counterpoint: a bright paper block in a dark page,
   recomposed from centered stack into a left-text / right-button split.
   ========================================================================== */
.cta-banner {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "title cta" "sub cta";
  align-items: center;
  column-gap: 40px;
  text-align: left !important;
  margin: clamp(32px, 6vw, 72px) auto clamp(64px, 8vw, 112px) !important;
  padding: clamp(36px, 5vw, 64px) clamp(28px, 5vw, 72px) !important;
  border-radius: var(--r-xl) !important;
  border: 0 !important;
  color: #0b0b1f !important;
  background:
    radial-gradient(70% 140% at 100% 0%, rgba(94, 234, 212, 0.55), transparent 60%),
    radial-gradient(60% 120% at 0% 100%, rgba(179, 157, 255, 0.55), transparent 60%),
    var(--mn-paper) !important;
  box-shadow: 0 40px 100px -40px rgba(155, 123, 255, 0.6) !important;
}
.cta-banner::before, .cta-banner::after { display: none !important; }
/* Retired: waves, floating particles and icons fight the flat split composition */
.banner-wave,
.dot-particle,
.float-icon {
  display: none !important;
}
.banner-title {
  grid-area: title;
  align-self: end;
  font-size: clamp(1.9rem, 4vw, 3.4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.05em !important;
  font-weight: 700 !important;
  color: #0b0b1f !important;
  margin: 0 0 12px !important;
  max-width: 18ch;
}
.banner-sub {
  grid-area: sub;
  align-self: start;
  margin: 0 !important;
  color: #3d3a5c !important;
  opacity: 1 !important;
  font-size: 17px !important;
}
.banner-cta {
  grid-area: cta;
  justify-self: end;
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 18px 30px !important;
  border-radius: 999px !important;
  background: #0b0b1f !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  box-shadow: 0 16px 40px -14px rgba(11, 11, 31, 0.7) !important;
  white-space: nowrap;
  transition: transform 0.2s;
}
.banner-cta::after { content: "\2192"; }
.banner-cta:hover { transform: translateY(-2px); }

/* ==========================================================================
   10. FOOTER — white slab → hairline, transparent, minimal
   ========================================================================== */
.footer {
  background: transparent !important;
  border-top: 1px solid var(--mn-hair) !important;
  color: var(--muted) !important;
  padding: 48px 0 32px !important;
}
.footer-inner { align-items: flex-start; }
.footer-blurb { color: var(--muted) !important; margin-top: 14px !important; }
.footer a:not(.logo) { color: var(--ink-2) !important; }
.footer a:not(.logo):hover { color: #fff !important; }
.footer-copy {
  color: #60648c !important;
  border-top: 1px solid var(--mn-hair);
  padding-top: 24px;
  font-size: 12.5px !important;
}

/* ==========================================================================
   11. AUTH — /login, /signup
   ========================================================================== */
/* .auth-bg hardcodes pale lilac/pink radials; replace with the dark mesh */
.auth-bg {
  background:
    radial-gradient(50vw 40vw at 0% 0%, rgba(155, 123, 255, 0.32), transparent 60%),
    radial-gradient(50vw 40vw at 100% 100%, rgba(34, 211, 238, 0.2), transparent 60%),
    var(--mn-void) !important;
}
.auth-bg::before, .auth-bg::after { display: none !important; }

.auth-shell {
  gap: clamp(32px, 6vw, 96px) !important;
  align-items: center !important;
}
/* Grid cells are wider than the fixed-width panels → visible gap between halves. Fill the cells. */
.auth-marketing,
.auth-card {
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
}
.auth-marketing { padding: 0 !important; background: transparent !important; color: var(--ink) !important; }
.auth-logo { margin-bottom: 40px !important; }
.auth-marketing .eyebrow { margin-bottom: 4px; }
.auth-headline {
  font-size: clamp(2.4rem, 4.6vw, 4.2rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  font-weight: 700 !important;
  margin: 22px 0 18px !important;
  background: linear-gradient(180deg, #fff 35%, #b9b2ea);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent !important;
}
.auth-blurb { color: var(--muted) !important; font-size: 17px !important; max-width: 440px; }
.auth-features { gap: 10px !important; margin-top: 32px !important; }
.auth-features li.trust,
.auth-features .trust {
  justify-content: flex-start !important;
  min-width: 0;
  border: 1px solid var(--mn-hair) !important;
  border-left: 1px solid var(--mn-hair) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  padding: 8px 18px 8px 8px !important;
  width: max-content;
  max-width: 100%;
}
/* Retired: gold coin decoration (and its hardcoded ::before/::after glints) */
.auth-coin,
[class*="a-coin-"],
[class*="a-coin-"]::before,
[class*="a-coin-"]::after {
  display: none !important;
}

.auth-card {
  position: relative;
  padding: clamp(28px, 4vw, 44px) !important;
  border-radius: var(--r-xl) !important;
  background: rgba(17, 19, 46, 0.6) !important;
  /* second of the three blurred surfaces */
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  border: 1px solid var(--mn-hair-hi) !important;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 40px 100px -30px rgba(0, 0, 0, 0.8) !important;
  color: var(--ink) !important;
}
.auth-head h1, .auth-head h2, .auth-head h3 {
  font-family: var(--mn-display) !important;
  font-size: 28px !important;
  letter-spacing: -0.04em;
  color: #fff !important;
}
.auth-head p { color: var(--muted) !important; }

.auth-form { gap: 14px !important; }
.auth-field svg { color: #7c80ad !important; z-index: 1; }
.auth-field input {
  height: 52px;
  padding-left: 46px !important;
  padding-right: 46px !important;
  border-radius: 14px !important;
  background: rgba(7, 8, 26, 0.55) !important;
  border: 1px solid var(--mn-hair-hi) !important;
  color: var(--ink) !important;
}
.auth-field:focus-within svg { color: var(--mn-money) !important; }
.auth-field-eye { color: #7c80ad !important; background: transparent !important; }
.auth-field-eye:hover { color: #fff !important; }

.auth-forgot,
.auth-switch a,
.auth-terms-text a { color: var(--mn-money) !important; font-weight: 600; }
.auth-switch { color: var(--muted) !important; }

.auth-terms-text { color: var(--muted) !important; }
.auth-terms-box {
  border-radius: 6px !important;
  border: 1.5px solid var(--mn-hair-hi) !important;
  background: rgba(7, 8, 26, 0.55) !important;
  display: grid !important;
  place-items: center;
}
/* The checkbox box is a general sibling of the (hidden) input — must use ~ not + */
.auth-terms input:checked ~ .auth-terms-box {
  background: var(--grad) !important;
  border-color: transparent !important;
}
.auth-terms input:checked ~ .auth-terms-box::after {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--mn-on-grad);
  border-bottom: 2px solid var(--mn-on-grad);
  transform: translateY(-1px) rotate(-45deg);
}
.auth-terms input:focus-visible ~ .auth-terms-box { outline: 2px solid var(--mn-money); outline-offset: 2px; }

.auth-submit {
  height: 54px;
  border-radius: 999px !important;
  background: var(--grad) !important;
  color: var(--mn-on-grad) !important;    /* was hardcoded white */
  font-family: var(--mn-display) !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  letter-spacing: -0.01em;
  border: 0 !important;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25) inset, 0 14px 36px -12px rgba(94, 234, 212, 0.55) !important;
}
.auth-submit:hover { filter: brightness(1.06); }
.auth-secure { color: #6b6f99 !important; }

.gpt-auth-flash {
  border-radius: 14px !important;
  border: 1px solid transparent !important;
}
.gpt-auth-flash--error {
  background: rgba(251, 113, 133, 0.1) !important;
  border-color: rgba(251, 113, 133, 0.35) !important;
  color: #fecdd3 !important;
}
.gpt-auth-flash--success {
  background: rgba(94, 234, 212, 0.1) !important;
  border-color: rgba(94, 234, 212, 0.35) !important;
  color: #ccfbf1 !important;
}

/* ==========================================================================
   12. CONTENT PAGES — /contact, /tos (markup varies per install; kept generic)
   ========================================================================== */
.page-card,
.content-card,
.legal,
.tos,
.contact-card {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid var(--mn-hair) !important;
  border-radius: var(--r-xl) !important;
  box-shadow: none !important;
  color: var(--ink-2) !important;
}
.page-card h1, .content-card h1, .legal h1, .tos h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem) !important;
  letter-spacing: -0.05em !important;
  line-height: 1 !important;
  color: #fff !important;
}
.page-card h2, .content-card h2, .legal h2, .tos h2 {
  font-size: 20px !important;
  letter-spacing: -0.02em;
  color: #fff !important;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--mn-hair);
}
.page-card p, .page-card li,
.content-card p, .content-card li { color: var(--ink-2) !important; }
.page-card a:not(.btn-primary):not(.btn-ghost),
.content-card a:not(.btn-primary):not(.btn-ghost) { color: var(--mn-money) !important; }
.contact-form input,
.contact-form textarea { padding: 14px 16px !important; }
.contact-form .btn-primary { justify-content: center; padding: 15px 24px !important; }

/* ==========================================================================
   13. LOGGED-IN AREA — styled blind from class names; most colour already
   flows from the tokens above. These rules fix hardcoded whites and surfaces.
   ========================================================================== */
.app { background: transparent !important; color: var(--ink) !important; }

.sidebar {
  background: rgba(10, 12, 32, 0.75) !important;
  border-right: 1px solid var(--mn-hair) !important;
  color: var(--ink-2) !important;
}
.sidebar a { color: var(--ink-2) !important; border-radius: 999px !important; }
.sidebar a:hover { background: rgba(255, 255, 255, 0.05) !important; color: #fff !important; }
.sidebar a.active,
.sidebar .active {
  background: rgba(155, 123, 255, 0.14) !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(155, 123, 255, 0.3) !important;
}

.topbar {
  background: rgba(7, 8, 26, 0.55) !important;
  border-bottom: 1px solid var(--mn-hair) !important;
  color: var(--ink) !important;
}

.balance-surface {
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(94, 234, 212, 0.6), transparent 60%),
    linear-gradient(120deg, #b39dff, #7dd3fc) !important;
  color: var(--mn-on-grad) !important;    /* was hardcoded white */
  border-radius: var(--r-xl) !important;
  border: 0 !important;
  box-shadow: 0 30px 80px -30px rgba(155, 123, 255, 0.6) !important;
}
.balance-surface * { color: inherit !important; }
.balance-surface .amount,
.balance-surface b,
.balance-surface strong {
  font-family: var(--mn-display) !important;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.metric,
.history-card,
.offer-detail,
.method,
.kyc-page .card,
.wallet .card,
.empty-state,
.profile-dropdown {
  background: rgba(255, 255, 255, 0.035) !important;
  border: 1px solid var(--mn-hair) !important;
  border-radius: var(--r-lg) !important;
  box-shadow: none !important;
  color: var(--ink) !important;
}
.metric { color: var(--muted) !important; }
.metric b, .metric strong, .metric .value {
  color: #fff !important;
  font-family: var(--mn-display) !important;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.history-card > *,
.history-row { border-color: var(--mn-hair) !important; }

.profile-dropdown { background: rgba(14, 16, 40, 0.97) !important; box-shadow: var(--shadow-lg) !important; }
.empty-state { border-style: dashed !important; color: var(--muted) !important; }

.method:hover { border-color: var(--mn-hair-hi) !important; }
.method.selected,
.method.active,
.method-grid .selected {
  background: rgba(94, 234, 212, 0.08) !important;
  border-color: rgba(94, 234, 212, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.1) !important;
}

.tabs {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--mn-hair) !important;
  border-radius: 999px !important;
}
.tabs button, .tabs a, .tabs .tab {
  border-radius: 999px !important;
  color: var(--muted) !important;
  background: transparent !important;
}
.tabs .active, .tabs button.active, .tabs [aria-selected="true"] {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.checkbox {
  border-color: var(--mn-hair-hi) !important;
  background: rgba(7, 8, 26, 0.55) !important;
  border-radius: 6px !important;
}
.checkbox.checked {
  background: var(--grad) !important;
  border-color: transparent !important;
  color: var(--mn-on-grad) !important;    /* was hardcoded white */
}

.load-more {
  background: transparent !important;
  border: 1px solid var(--mn-hair-hi) !important;
  border-radius: 999px !important;
  color: var(--ink) !important;
}
.load-more:hover { background: rgba(255, 255, 255, 0.06) !important; }

.status.ok, .status.success, .status.completed { background: var(--green-50) !important; color: var(--mn-money) !important; }

.modal-backdrop, .modal-overlay { background: rgba(3, 4, 14, 0.7) !important; }
.modal,
.modal-content,
.modal .modal-dialog {
  background: rgba(17, 19, 46, 0.82) !important;
  /* third and last blurred surface */
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--mn-hair-hi) !important;
  border-radius: var(--r-xl) !important;
  color: var(--ink) !important;
  box-shadow: var(--shadow-lg) !important;
}
/* Some installs put .modal on the full-screen wrapper — keep that one transparent */
.modal:has(> .modal-content),
.modal:has(> .modal-dialog) {
  background: rgba(3, 4, 14, 0.7) !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Leftover 3D-card bits sometimes reused in the wallet */
.c3d-arrow { color: var(--mn-on-grad) !important; background: rgba(255, 255, 255, 0.4) !important; }

/* ==========================================================================
   14. RESPONSIVE — template breakpoints: 1600 · 1500 · 1024 · 768 · 600 · 480 · 430 · 375 · 325
   ========================================================================== */
@media (max-width: 1024px) {
  .header-inner { max-width: none !important; }
  .nav-links { display: none !important; }
  .menu-toggle { display: flex !important; }
  /* with the nav hidden, space-between parks the actions mid-pill — push them right, next to the toggle */
  .header-actions { margin-left: auto !important; margin-right: 6px !important; }

  .steps { grid-template-columns: 1fr !important; }
  .step + .step { border-left: 0 !important; border-top: 1px solid var(--mn-hair) !important; }
  .step { padding: 32px 28px !important; }
  .step-num { font-size: 64px !important; margin-bottom: 18px; }
  .step-ico-wrap { top: 32px; right: 28px; }

  .offer-grid { grid-template-columns: 1fr !important; }

  .auth-shell { grid-template-columns: 1fr !important; }
  .auth-card { max-width: 480px !important; justify-self: center !important; }
}

@media (max-width: 768px) {
  .header { padding: 10px 10px 0 !important; }
  .header-inner { height: 56px !important; padding: 0 6px 0 8px !important; }
  .header-actions .btn-ghost { display: none !important; }
  .logo-mark { width: 36px !important; height: 36px !important; }

  .hero { padding: 56px 0 8px !important; }
  .hero-left h1, .hero h1 { letter-spacing: -0.05em !important; }

  /* Trust strip stacks; pill shape becomes a rounded panel */
  .trust-row {
    flex-direction: column !important;
    width: 100%;
    max-width: 360px;
    border-radius: 24px !important;
  }
  .trust { justify-content: flex-start !important; min-width: 0; padding: 12px 16px !important; }
  .trust + .trust { border-left: 0 !important; border-top: 1px solid var(--mn-hair) !important; }

  .features-head { flex-direction: column !important; align-items: flex-start !important; }

  /* CTA split collapses to a stack */
  .cta-banner {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "sub" "cta";
    row-gap: 0;
  }
  .banner-cta { justify-self: start; margin-top: 26px; }

  .footer-inner { flex-direction: column; }

  .metrics { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 600px) {
  /* Narrow rows: payout column drops below the meta, so title + pill keep one line each */
  .card,
  .landing .card,
  .offer-grid .card {
    flex-wrap: wrap !important;
    gap: 14px !important;
  }
  .h-card-foot {
    flex: 1 1 100% !important;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "label reward cta";
    justify-items: start;
    padding: 12px 0 0 !important;
    border-left: 0 !important;
    border-top: 1px solid var(--mn-hair) !important;
  }
  .reward { font-size: 22px !important; }
  .fake-cta { justify-self: end; }
}

@media (max-width: 480px) {
  .hero-ctas { width: 100%; flex-direction: column; }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-ghost { width: 100%; justify-content: center; }
  .eyebrow { font-size: 12px !important; }
  .section-title, .features-title { letter-spacing: -0.04em !important; }
  .banner-cta { width: 100%; justify-content: center; }
  .auth-card { padding: 24px 20px !important; }
  .metrics, .method-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 375px) {
  .header-actions .btn-primary { padding: 9px 14px !important; font-size: 13px !important; }
  .logo-text { font-size: 16px !important; }
  .app-icon, img.app-icon { width: 52px !important; height: 52px !important; flex-basis: 52px !important; border-radius: 15px !important; }
}

@media (max-width: 325px) {
  .logo-text { display: none !important; }
  .hero-left h1, .hero h1 { font-size: 2.4rem !important; }
}

/* ==========================================================================
   15. MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .card:hover, .btn-primary:hover, .banner-cta:hover { transform: none !important; }
}
