/* Instrument Sans, self-hosted (was Google Fonts; SIL OFL 1.1, see assets/fonts/OFL.txt) */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/instrument-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../assets/fonts/instrument-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   Big Partners — payment processing partner platform
   Logo: Figma Z7ms1qCbJp6Qct4uDmMqHD / node 231:69; layout follows the family sites
   ============================================================ */

:root {
  /* Palette — exact tokens from the Figma output */
  --color-bg: #010a05;
  --color-hero-bg: #00120a;
  --color-accent: #0dc523;
  --color-accent-light: #87ff95;
  --color-accent-light-2: #5ef06f;
  --color-heading: #eaeaec;
  --color-text-bright: #f3f3f5;
  --color-text-muted: rgba(243, 243, 245, 0.6);
  --color-text-dim: rgba(243, 243, 245, 0.5);
  --color-card-bg: rgba(255, 255, 255, 0.05);
  --color-card-border: rgba(13, 197, 35, 0.32);
  --color-cta-bg: #0f1712;
  --color-cta-border: rgba(13, 197, 35, 0.2);
  --color-btn-border: rgba(238, 237, 255, 0.1);
  --glow-orange: #18d63a;
  --glow-brown: #0a6b1c;
  --glow-brown-50: rgba(10, 107, 28, 0.5);
  --glow-deep: #021407;
  --glow-umber: #002a0c;

  /* Type */
  --font-sans: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  --font-manrope: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Spacing scale */
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 72px;

  /* Radii */
  --radius-btn: 12px;
  --radius-card: 21px;
  --radius-cta: 24px;

  --transition: 200ms ease;
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background-color: var(--color-bg);
  color: var(--color-text-bright);
  overflow-x: clip;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1280px; /* 1240 content + 2 x 20 padding */
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Buttons ---------- */
p { text-wrap: pretty; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  border-radius: var(--radius-btn);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
  cursor: pointer;
  transition: filter var(--transition), background-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.btn:focus-visible {
  border-radius: var(--radius-btn);
}

.btn-arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  width: 172px;
  height: 51px;
  padding: 16px;
  letter-spacing: -0.005em;
  border: none;
  background-image: linear-gradient(90deg, #0dc523 0%, #87ff95 100%);
  box-shadow:
    inset 0 0 0 1px var(--color-btn-border),
    0 4px 4.5px rgba(13, 197, 35, 0.08),
    0 16px 8px rgba(13, 197, 35, 0.07),
    0 35px 10.5px rgba(13, 197, 35, 0.04),
    0 63px 12.5px rgba(13, 197, 35, 0.01);
}

.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn-cta {
  background-image: linear-gradient(90deg, #0dc523 52.907%, #5ef06f 100%);
  box-shadow:
    0 1px 1.5px rgba(13, 197, 35, 0.05),
    0 5px 2.5px rgba(13, 197, 35, 0.05),
    0 12px 3.5px rgba(13, 197, 35, 0.03),
    0 22px 4.5px rgba(13, 197, 35, 0.01);
}

.btn-outline {
  padding: 14px 32px;
  border: 1px solid var(--color-accent);
  background: transparent;
  font-family: var(--font-manrope);
}

.btn-outline:hover {
  background-color: rgba(13, 197, 35, 0.15);
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding-top: 60px;
  z-index: 100; /* above card backdrop-filter/blend stacking contexts — burger panel must cover page content */
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 17.5px;
}

.site-header .brand-mark {
  width: 55.3px;
  height: 65.6px;
}

.site-header .brand-word {
  width: 129.4px;
  height: 24.8px;
}

.site-header .brand-divider {
  width: 1px;
  height: 45.6px;
}

.site-header .brand-tagline {
  width: 148.3px;
  height: 23.2px;
}

.hero-planet-m { display: none; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 56px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0;
  color: #ffffff;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: color var(--transition);
}

.nav-link:hover {
  color: var(--color-accent-light);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid rgba(13, 197, 35, 0.5);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background-color: var(--color-text-bright);
  transition: transform var(--transition), opacity var(--transition);
}

body.nav-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 1071px;
  display: flex;
  flex-direction: column;
  overflow: clip;
  background-color: var(--color-hero-bg);
  background-image: url("../assets/bg-hero.jpg");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-inner {
  padding-top: 317px;
}

.hero-title {
  max-width: 560px;
  font-weight: 500;
  font-size: 64px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-heading);
  margin-bottom: 43px;
}

.hero-market {
  margin-top: auto;
  padding-top: 80px;
  padding-bottom: 56px;
  display: flex;
  align-items: center;
  gap: 72px;
}

.market-title {
  font-weight: 500;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.028em;
  white-space: nowrap;
  background-image: linear-gradient(103.47deg, #0dc523 1.5%, #87ff95 99.76%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.market-text {
  max-width: 683px;
  font-size: 18px;
  letter-spacing: -0.005em;
  color: #ffffff;
  line-height: 1.5;
}

/* ---------- How it works ---------- */
.how-it-works {
  position: relative;
  overflow: clip;
  padding: 48px 0 49px;
  background-color: var(--color-bg);
  background-image: url("../assets/bg-how-it-works.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.section-title {
  font-weight: 500;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--color-heading);
}

.section-subtitle {
  font-size: 18px;
  letter-spacing: -0.005em;
  color: #ffffff;
  max-width: 478px;
  line-height: 1.5;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 20px;
}

.card {
  position: relative;
  min-height: 306px;
  border-radius: var(--radius-card);
  border: 0.873px solid var(--color-card-border);
  background-color: var(--color-card-bg);
  -webkit-backdrop-filter: blur(50px);
  backdrop-filter: blur(50px);
  overflow: clip;
}

.glow {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
}

.card .glow-1 {
  width: 60%;
  left: -23%;
  top: -92px;
  background-color: rgba(13, 197, 35, 0.2);
}

.card .glow-2 {
  width: 48%;
  left: 74%;
  top: 349px;
  background-color: var(--glow-brown);
}

.card .glow-3 {
  width: 65%;
  left: 20%;
  top: 333px;
  background-color: var(--glow-brown-50);
}

.card .glow-4 {
  width: 65%;
  left: 67%;
  top: 164px;
  background-color: var(--glow-deep);
}

.card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 23px;
}

.card-icon {
  width: 42px;
  height: 42px;
}

.card-title {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-text-bright);
}

.card-text {
  margin-top: -8px; /* title/text gap = 8px inside the 16px column gap */
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--color-text-muted);
}

/* ---------- What the partner gets ---------- */
.partner {
  padding-top: 48px;
}

.partner-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.partner-left {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 492px;
  flex-shrink: 0;
}

.partner-title {
  font-weight: 500;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--color-heading);
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 7px;
  background-color: var(--color-accent);
}

.benefit-icon img {
  width: 20px;
  height: 20px;
}

.benefit-text {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text-bright);
}

/* Glass visual card with MacBook */
.partner-visual {
  position: relative;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 700 / 600;
  border-radius: 20.7px;
  background-color: var(--color-card-bg);
  -webkit-backdrop-filter: blur(21.5px);
  backdrop-filter: blur(21.5px);
  overflow: clip;
}

.pv-glow {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.pv-glow-orange {
  width: 37%;
  left: 62.9%;
  top: -24px;
  background-color: var(--glow-orange);
  opacity: 0.25;
  filter: blur(197px);
}

.pv-glow-dark {
  width: 63%;
  left: 0;
  top: -178px;
  background-color: var(--glow-umber);
  opacity: 0.25;
  filter: blur(197px);
}

.pv-glow-center {
  width: 42.4%;
  left: 29.6%;
  top: 26.7%;
  background-color: rgba(13, 197, 35, 0.5);
  filter: blur(229px);
}

/* ---------- CTA ---------- */
.cta-section {
  margin-top: 44px;
}

.cta-card {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-cta);
  border: 1px solid var(--color-cta-border);
  background-color: var(--color-cta-bg);
  overflow: clip;
}

.cta-bg {
  position: absolute;
  left: -6.4%;
  top: -51px;
  width: 111.8%;
  max-width: none;
  transition: opacity 0.9s linear;
}

.cta-shade {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.cta-shade-1 {
  width: 37%;
  left: -7.3%;
  top: -89px;
  background-color: rgba(1, 10, 6, 0.8);
}

.cta-shade-2 {
  width: 27%;
  left: -5%;
  top: 84px;
  background-color: rgba(1, 10, 6, 0.6);
}

.cta-tint {
  position: absolute;
  inset: 0;
  background-color: var(--color-accent);
  mix-blend-mode: color;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 47px;
}

.cta-title {
  font-weight: 500;
  font-size: 54px;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: #ffffff;
}

.cta-subtitle {
  font-size: 18px;
  letter-spacing: -0.005em;
  color: #ffffff;
  line-height: 1.5;
}

.cta-content .btn {
  margin-top: 8px; /* 24px block gap vs 16px text gap */
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 104px;
  padding: 53px 0 81px;
  background-color: var(--color-bg);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.brand-footer {
  gap: 20.3px;
}

.brand-footer .brand-lockup {
  gap: 22.2px;
}

.brand-footer .brand-mark {
  width: 70px;
  height: 83px;
}

.brand-footer .brand-word {
  width: 163.9px;
  height: 31.3px;
}

.brand-footer .brand-divider {
  width: 1px;
  height: 57.8px;
}

.brand-footer .brand-tagline {
  width: 151.4px;
  height: 28.4px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 2px;
}

.footer-nav-link {
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-text-dim);
  transition: color var(--transition);
}

.footer-nav-link:hover {
  color: var(--color-text-bright);
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 145px;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-legal-link {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-text-bright);
  white-space: nowrap;
  transition: color var(--transition);
}

.footer-legal-link:hover {
  color: var(--color-accent-light);
}

.footer-copy {
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--color-text-bright);
  text-align: center;
}

/* ---------- scroll reveal ---------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1200px) {
  .hero-title,
  .section-title,
  .market-title,
  .partner-title {
    font-size: 48px;
    letter-spacing: -0.028em;
  }

  .hero-title {
    font-size: 56px;
    letter-spacing: -0.03em;
  }

  .hero {
    min-height: 960px;
  }

  .hero-inner {
    padding-top: 270px;
  }

  .cta-title {
    font-size: 48px;
    letter-spacing: -0.028em;
  }

  .partner-left {
    max-width: 440px;
  }

  .benefit-text {
    font-size: 20px;
    letter-spacing: -0.01em;
  }
}

@media (max-width: 1023px) {
  .site-header {
    padding-top: 24px;
  }

  .site-header .brand-mark {
    width: 46px;
    height: 54.6px;
  }

  .site-header .brand-word {
    width: 110px;
    height: 21.1px;
  }

  .site-header .brand-divider {
    height: 38px;
  }

  .site-header .brand-tagline {
    width: 124px;
    height: 19.4px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(13, 197, 35, 0.3);
    background-color: #03130a;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .nav-link {
    font-size: 18px;
  }

  .btn-outline {
    justify-content: center;
  }

  .hero {
    min-height: 0;
  }

  .hero-inner {
    padding-top: 200px;
  }

  .hero-market {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding-top: 96px;
    padding-bottom: 64px;
  }

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

  .card {
    min-height: 0;
  }

  .partner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .partner-left {
    max-width: 620px;
  }

  .partner-visual {
    align-self: center;
  }

  .footer-bottom {
    margin-top: 96px;
  }
}

@media (max-width: 767px) {
  .hero-title,
  .section-title,
  .market-title,
  .partner-title {
    font-size: 38px;
    letter-spacing: -0.028em;
  }

  .hero-title {
    font-size: clamp(34px, 9.6vw, 40px);
    letter-spacing: -0.03em;
  }

  .market-text,
  .section-subtitle,
  .cta-subtitle {
    font-size: 16px;
  }

  .card-title {
    font-size: 19px;
  }

  .market-title {
    white-space: normal;
  }

  .hero {
    /* phones: planet-free starfield behind the copy; the planet gets
       its own stage between the headline and the CTA button */
    background-image: linear-gradient(rgba(1, 10, 5, 0) calc(100% - 240px), #010a05), linear-gradient(rgba(1, 10, 5, 0.35), rgba(1, 10, 5, 0.15) 60%, rgba(1, 10, 5, 0) 90%), url("../assets/bg-hero-mobile.jpg?v=2");
    background-position: center top, center top, center top;
  }

  .hero-planet-m {
    display: block;
    width: 116%;
    max-width: none;
    margin: 4px -8% 0;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 48%, #000 55%, transparent 96%);
    mask-image: radial-gradient(ellipse 72% 66% at 50% 48%, #000 55%, transparent 96%);
  }

  .hero-title { margin-bottom: 0; }
  .hero-inner .btn-primary { margin-top: 24px; }

  /* soften the bright planets behind the CTA copy */
  .cta-bg { filter: brightness(0.6); }

  .hero-inner {
    padding-top: 170px;
  }

  .hero-title {
    margin-bottom: 32px;
  }

  .hero-market {
    gap: 24px;
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .how-it-works {
    padding: 56px 0 64px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .partner {
    padding-top: 56px;
  }

  .partner-inner {
    gap: 32px;
  }

  .partner-left {
    gap: 32px;
  }

  .cta-section {
    margin-top: 56px;
  }

  .cta-card {
    min-height: 0; /* content-driven height — no empty band under the button */
  }

  .cta-title {
    font-size: 30px;
    letter-spacing: -0.028em;
  }

  .cta-title br,
  .partner-title br {
    display: none;
  }

  .cta-content {
    padding: 32px 24px;
  }

  .cta-bg {
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* zoom the framing onto the central planet so the narrow card
       doesn't cram the whole planetary family into view; anchor on the
       dark space up-left of the planet so its lit arc settles bottom-right
       and the text sits on clean sky */
    object-position: 24% 28%;
    transform: scale(1.55);
    transform-origin: 24% 28%;
  }

  .benefit-text {
    font-size: 18px;
    letter-spacing: -0.01em;
  }

  .glow,
  .pv-glow {
    filter: blur(70px);
  }

  .site-footer {
    margin-top: 72px;
    padding: 48px 0 56px;
  }

  .footer-top {
    flex-direction: column;
    gap: 40px;
  }

  /* 44px touch targets for footer links (line-height stays 24px on desktop) */
  .footer-nav {
    gap: 0;
  }

  .footer-nav-link,
  .footer-legal-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-legal {
    gap: 0 24px;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 20px;
    margin-top: 64px;
  }

  .footer-copy {
    text-align: left;
  }

}

@media (max-width: 560px) {
  .site-header .brand-divider,
  .site-header .brand-tagline {
    display: none;
  }

  .brand-footer .brand-divider,
  .brand-footer .brand-tagline {
    display: none;
  }
}

@media (max-width: 479px) {
  /* primary actions go full-width on phones, like the hub page */
  .hero .btn-primary,
  .cta-content .btn {
    width: 100%;
  }

  .hero-title,
  .section-title,
  .market-title,
  .partner-title {
    font-size: 34px;
    letter-spacing: -0.028em;
  }

  .hero-title {
    font-size: clamp(34px, 9.6vw, 40px);
    letter-spacing: -0.03em;
  }

  .hero-title br {
    display: none;
  }

  .hero-inner {
    padding-top: 150px;
  }

  .cta-title {
    font-size: 28px;
    letter-spacing: -0.028em;
  }

  .card-body {
    padding: 20px;
  }

  .footer-legal {
    flex-wrap: wrap;
    gap: 0 20px; /* rows are already 44px tall — no extra row gap needed */
  }

  .brand-footer .brand-mark {
    width: 52px;
    height: 61.7px;
  }

  .brand-footer .brand-word {
    width: 130px;
    height: 24.9px;
  }

  .brand-footer .brand-divider {
    height: 44px;
  }

  .brand-footer .brand-tagline {
    width: 118px;
    height: 22.1px;
  }
}

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

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

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

/* ---------- logo flip on hover ---------- */
header .brand { perspective: 360px; }
.logo-coin {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  transform-style: preserve-3d;
}
.logo-coin .logo-coin__layer {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
}
.logo-coin.is-flipping .logo-coin__layer { opacity: 1; }
.logo-coin .logo-coin__back { filter: brightness(0.5) saturate(0.85); }
@keyframes logo-flip {
  to { transform: rotateY(-1turn); }
}
.logo-coin.is-flipping { animation: logo-flip 0.9s cubic-bezier(0.45, 0.05, 0.3, 1); }

/* intro: wordmark hidden from the first frame (html.logo-intro is set in <head>), then fades in */
.logo-intro header .brand .brand-word,
.logo-intro header .brand .brand-divider,
.logo-intro header .brand .brand-tagline { opacity: 0; transition: opacity 0.5s ease; }
.logo-intro header .brand .brand-divider { transition-delay: 0.22s; }
.logo-intro header .brand .brand-tagline { transition-delay: 0.44s; }
.logo-intro header .brand .is-on { opacity: 1; }

/* ---------- animated waves background ---------- */
.waves-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(46% 30% at 12% 22%, rgba(13, 197, 35, 0.16), transparent 70%),
    radial-gradient(56% 34% at 62% 42%, rgba(13, 197, 35, 0.09), transparent 70%),
    radial-gradient(42% 30% at 88% 80%, rgba(135, 255, 149, 0.12), transparent 72%);
}
.how-it-works.has-waves { background-image: none; }
.how-it-works.has-waves > :not(.waves-canvas) { position: relative; z-index: 1; }

/* ---------- orbiting stars in the hero ---------- */
.stars-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero.has-stars .hero-inner { position: relative; z-index: 1; }

/* ---------- wide screens: seamlessly extended hero art at design scale ---------- */
@media (min-width: 1441px) {
  .hero {
    background-image: url("../assets/bg-hero-wide.jpg");
    background-size: auto 100%;
    background-position: center top;
  }
}

.hero-planet-3d {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.hero-planet-video-wrap { display: none; }
@media (max-width: 767px) {
  .hero-planet-video-wrap {
    position: relative;
    width: 116%;
    max-width: none;
    margin: 4px -8% 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }
  .hero-planet-video-wrap.is-on { display: block; }
  /* static crop stays visible until the live planet is ready */
  .hero-planet-video-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/hero-planet-mobile.jpg") center / cover no-repeat;
    mix-blend-mode: lighten;
    -webkit-mask-image: radial-gradient(ellipse 72% 66% at 50% 48%, #000 55%, transparent 96%);
    mask-image: radial-gradient(ellipse 72% 66% at 50% 48%, #000 55%, transparent 96%);
    transition: opacity 0.8s ease;
  }
  .hero-planet-video-wrap.is-live::before { opacity: 0; }
  .hero-planet-video-wrap .hero-planet-3d {
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: auto;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%),
      linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%),
      linear-gradient(180deg, transparent 0, #000 8%, #000 92%, transparent 100%);
    mask-composite: intersect;
  }
}

@media (min-width: 768px) {
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(1, 10, 5, 0) calc(100% - 240px), #010a05), url("../assets/bg-hero-live.jpg?v=2");
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
  }
  .hero--live::before { opacity: 1; }
  
  .hero .hero-market { position: relative; z-index: 1; }
}
@media (min-width: 1441px) {
  .hero::before {
    background-image: linear-gradient(rgba(1, 10, 5, 0) calc(100% - 240px), #010a05), url("../assets/bg-hero-wide-live.jpg?v=3");
    background-size: auto 100%;
  }
}

/* ---------- live planet expected (class set in <head> before the first paint) ----------
   The baked-in planet art never shows up: the page opens on the planet-free backdrop and the
   live planet fades in. The <head> script drops the class again if the planet cannot run. */
@media (min-width: 768px) {
  .planet-live .hero { background-image: linear-gradient(rgba(1, 10, 5, 0) calc(100% - 240px), #010a05), url("../assets/bg-hero-live.jpg?v=2"); }
  .planet-live .hero::before { display: none; }
}
@media (min-width: 1441px) {
  .planet-live .hero { background-image: linear-gradient(rgba(1, 10, 5, 0) calc(100% - 240px), #010a05), url("../assets/bg-hero-wide-live.jpg?v=3"); }
}
@media (max-width: 767px) {
  .planet-live .hero-planet-m { display: none; }
  .planet-live .hero-planet-video-wrap { display: block; }
  .planet-live .hero-planet-video-wrap::before { display: none; }
}

/* ============================================================
   Shared helpers and hero copy
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* hero copy */
.hero-inner { padding-top: 272px; }
.hero-title { margin-bottom: 24px; }
.hero-lead {
  max-width: 520px;
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--color-text-bright);
}
.hero-text {
  max-width: 500px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-muted);
}
.hero-inner .btn-primary { margin-top: 32px; }
.market-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 600px;
}


/* ---------- dashboard modules ---------- */
.partner { padding-top: 104px; }
.partner-left { max-width: 540px; gap: 40px; }
.partner-head { display: flex; flex-direction: column; gap: 20px; }
.partner-lead {
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--color-text-bright);
}

/* Big Family signature (bottom-right corner of the footer) */
.footer-bf {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  opacity: 0.72;
  transition: opacity 200ms ease;
}
.footer-bf:hover,
.footer-bf:focus-visible { opacity: 1; }
.footer-bf img { display: block; width: auto; height: 28px; }
.footer-bf { justify-self: end; }
@media (max-width: 767px) {
  .footer-bf { justify-self: start; }
  .footer-copy { order: 1; }
}

/* short laptop windows (< ~781px tall): lift the hero copy so the CTA stays on the first screen,
   never closer than 40px to the header; tall screens keep the design position (shift = 0) */
@media (min-width: 1025px) {
  .hero-inner { translate: 0 clamp(-132px, 100vh - 781px, 0px); }
}


/* ============================================================
   Shared helpers
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Big Family signature (bottom-right corner of the footer) */
.footer-bf {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 44px;
  opacity: 0.72;
  transition: opacity 200ms ease;
}
.footer-bf:hover,
.footer-bf:focus-visible { opacity: 1; }
.footer-bf img { display: block; width: auto; height: 28px; }
@media (max-width: 767px) {
  .footer-bf { justify-self: start; }
  .footer-copy { order: 1; }
}

/* short laptop windows (< ~781px tall): lift the hero copy so the CTA stays on the first screen */
@media (min-width: 1025px) {
  .hero-inner { translate: 0 clamp(-132px, 100vh - 781px, 0px); }
}

/* ============================================================
   Big Partners (Oct 2026)
   ============================================================ */
:root {
  --bp-green: #0dc523;
  --bp-mint: #87ff95;
  --bp-ink: #021a08;            /* text on the green buttons */
  --bp-line: rgba(135, 255, 149, 0.14);
  --bp-line-strong: rgba(135, 255, 149, 0.28);
  --ui-bg: #06100a;
  --ui-panel: rgba(255, 255, 255, 0.035);
  --ui-panel-2: rgba(255, 255, 255, 0.06);
  --ui-text: #eef3ef;
  --ui-muted: rgba(238, 243, 239, 0.56);
  --ui-warn: #f5c451;
  --ui-bad: #ff6b6b;
}

/* gradient words inside headlines (padding keeps descenders inside the painted box) */
.text-grad {
  background-image: linear-gradient(103deg, #0dc523 1.5%, #87ff95 99.76%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.12em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-mint);
}

/* buttons: the bright brand green carries dark ink (white on green fails contrast) */
.btn-primary,
.btn-cta {
  width: auto;
  padding: 16px 24px;
  color: var(--bp-ink);
  background-image: linear-gradient(90deg, #0dc523 0%, #87ff95 100%);
}
.btn-primary .btn-arrow,
.btn-cta .btn-arrow { filter: brightness(0); opacity: 0.85; }
.btn-outline { color: #ffffff; }

/* logo lockup: Big Partners proportions (Figma 231:69: mark 185 tall, wordmark cap 56) */
.site-header .brand { gap: 15.6px; }
.site-header .brand-lockup { gap: 16px; }
.site-header .brand-mark { width: 54.5px; height: 64.6px; }
.site-header .brand-word { width: 142px; height: 25.6px; transform: translateY(2.6px); } /* descender of "g" below the baseline */
.site-header .brand-divider { height: 45px; }
.site-header .brand-tagline { width: 66px; height: 21.5px; }
.brand-footer .brand-mark { width: 70px; height: 83px; }
.brand-footer .brand-word { width: 182.4px; height: 32.8px; transform: translateY(3.3px); }
.brand-footer .brand-divider { height: 57.8px; }
.brand-footer .brand-tagline { width: 84.8px; height: 27.6px; }

/* header: Log in as a quiet link, Become a partner as the outlined button */
.site-nav { gap: 40px; }
.nav-actions { display: flex; align-items: center; gap: 24px; }
.nav-login { color: var(--color-text-bright); }

/* ---------- hero ---------- */
.hero-inner { padding-top: 250px; }
.hero-eyebrow { margin-bottom: 20px; }
.hero-title { max-width: 600px; margin-bottom: 24px; }
.hero-lead {
  max-width: 500px;
  font-size: 20px;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--color-text-bright);
}
.hero-inner .btn-primary { margin-top: 36px; }
.hero-market {
  flex-direction: column;
  align-items: flex-start;
  gap: 28px;
  padding-top: 96px;
  padding-bottom: 64px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(13, 197, 35, 0.42);
  background-color: rgba(13, 197, 35, 0.1);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-bright);
}
.hero-badge b { font-weight: 600; color: var(--bp-mint); }
/* narrow phones: a badge that has to wrap splits into two even lines, never a lone word */
.hero-badge { line-height: 1.3; text-wrap: balance; }
.hero-statement {
  max-width: 1120px;
  font-size: 36px;
  line-height: 1.22;
  letter-spacing: -0.022em;
  color: var(--color-heading);
}

/* ---------- how it works: four stations on one track ---------- */
.how-it-works { padding: 104px 0 260px; margin-top: 40px; } /* the bottom band belongs to the waves */
.how-it-works .section-title { max-width: 720px; }
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin-top: 64px;
}
/* the track: a hairline that brightens towards the last station (income) */
.steps::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 0;
  top: 22px;
  height: 1px;
  background: linear-gradient(90deg, rgba(135, 255, 149, 0.12), rgba(135, 255, 149, 0.28) 60%, #0dc523 100%);
}
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding-right: 8px; }
.step-num {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 1px solid var(--bp-line-strong);
  background-color: #04100a;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--bp-mint);
}
.step--earn .step-num {
  border-color: transparent;
  background-image: linear-gradient(135deg, #0dc523, #87ff95);
  color: var(--bp-ink);
  box-shadow: 0 0 0 6px rgba(13, 197, 35, 0.12), 0 0 28px rgba(13, 197, 35, 0.55);
}
.step-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--color-text-bright);
}
.step-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

/* ---------- product windows (simplified partner workspace screens) ---------- */
.ui-window {
  position: relative;
  border-radius: 20px;
  padding: 1px; /* gradient frame */
  background: linear-gradient(160deg, rgba(135, 255, 149, 0.42), rgba(13, 197, 35, 0.1) 40%, rgba(135, 255, 149, 0.06) 70%, rgba(13, 197, 35, 0.3));
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 80px -20px rgba(13, 197, 35, 0.22);
  font-size: 14px;
  color: var(--ui-text);
}
.ui-inner {
  border-radius: 19px;
  background-color: var(--ui-bg);
  background-image: radial-gradient(120% 60% at 100% 0%, rgba(13, 197, 35, 0.1), transparent 60%);
  overflow: hidden;
}
.ui-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--bp-line);
}
.ui-title { font-size: 15px; font-weight: 600; letter-spacing: -0.005em; }
.ui-sub { font-size: 12px; color: var(--ui-muted); }
.ui-body { padding: 18px 22px 22px; }
.ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  background-color: var(--ui-panel-2);
  color: var(--ui-muted);
}
.ui-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}
.ui-chip--ok { color: var(--bp-mint); background-color: rgba(13, 197, 35, 0.14); }
.ui-chip--wait { color: var(--ui-warn); background-color: rgba(245, 196, 81, 0.12); }
.ui-chip--plain::before { display: none; }
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--bp-ink);
  background-image: linear-gradient(90deg, #0dc523, #87ff95);
}
.ui-btn svg { width: 16px; height: 16px; }
.ui-num { font-variant-numeric: tabular-nums; }

/* split layout: copy + product window */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}
.feature--ui-left { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
.feature--ui-left .feature-ui { order: -1; }
.feature-copy { display: flex; flex-direction: column; gap: 20px; }
.feature-text {
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--color-text-muted);
}
.feature-text strong { font-weight: 500; color: var(--color-text-bright); }
/* points with a short green dash (no separators that could wrap to a line start) */
.points { display: flex; flex-direction: column; gap: 22px; }
.points li {
  position: relative;
  padding-left: 30px;
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--color-text-muted);
}
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background-image: linear-gradient(90deg, #0dc523, #87ff95);
}
.points strong { font-weight: 500; color: var(--color-text-bright); }

/* ---------- payment solutions ---------- */
.solutions { padding-top: 72px; } /* the waves band above already gives the air */
.solutions-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
.solutions-lead {
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--color-text-bright);
}

/* markets board: regions as columns, countries as rows with their methods */
.markets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 32px;
  margin-top: 64px;
}
.market-group { display: flex; flex-direction: column; }
.market-region {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--bp-line-strong);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bp-mint);
}
.market-region span { font-size: 13px; letter-spacing: 0.02em; color: var(--color-text-dim); font-variant-numeric: tabular-nums; }
.market {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bp-line);
}
.market-code {
  grid-row: span 2;
  align-self: start;
  margin-top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  border-radius: 6px;
  border: 1px solid var(--bp-line-strong);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--bp-mint);
}
.market-name { font-size: 16px; font-weight: 500; color: var(--color-text-bright); }
.market-methods { font-size: 14px; line-height: 1.45; color: var(--color-text-muted); }
.market--intl .market-code { border-color: transparent; background-color: rgba(13, 197, 35, 0.18); }
.markets-note {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 64px;
  margin-top: 48px;
}

.proposal { margin-top: 120px; }
.proposal .feature-copy { max-width: 470px; }
.pr-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.7fr) minmax(0, 1fr) minmax(0, 0.7fr);
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bp-line);
}
.pr-row--head {
  padding: 0 0 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ui-muted);
}
.pr-row--head span:last-child { text-align: right; }
.pr-method { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pr-name { font-weight: 600; }
.pr-meta { font-size: 12px; color: var(--ui-muted); }
.pr-base { color: var(--ui-muted); }
.pr-rate {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  border-radius: 10px;
  border: 1px solid var(--bp-line-strong);
  background-color: var(--ui-panel);
}
.pr-rate output { min-width: 50px; text-align: center; font-weight: 600; }
.pr-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ui-text);
  font: inherit;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  border-radius: 9px;
  touch-action: manipulation;
  transition: background-color var(--transition), color var(--transition);
}
.pr-step:hover { background-color: rgba(13, 197, 35, 0.16); color: var(--bp-mint); }
.pr-step:focus-visible { outline-offset: 0; border-radius: 9px; }
.pr-margin { justify-self: end; font-weight: 600; color: var(--bp-mint); transition: color var(--transition); }
.pr-margin.is-zero { color: var(--ui-muted); }
.pr-margin.is-neg { color: var(--ui-bad); }
.pr-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}
.pr-total { display: flex; flex-direction: column; gap: 2px; }
.pr-total b { font-size: 20px; font-weight: 600; color: var(--bp-mint); transition: color var(--transition); }
.pr-total b.is-zero { color: var(--ui-muted); }
.pr-total b.is-neg { color: var(--ui-bad); }
.pr-note { font-size: 12px; color: var(--ui-muted); }

/* ---------- merchants and onboarding ---------- */
.merchants { padding-top: 144px; }
.feature-copy .section-heading { margin-bottom: 12px; }
.feature-copy .section-title { font-size: 48px; }
.mx-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.mx-filter {
  min-height: 36px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--bp-line);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--ui-muted);
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}
.mx-filter:hover { color: var(--ui-text); border-color: var(--bp-line-strong); }
.mx-filter[aria-pressed="true"] { color: var(--bp-ink); border-color: transparent; background-image: linear-gradient(90deg, #0dc523, #87ff95); }
.mx-filter:focus-visible { border-radius: 999px; }
/* every filter shows three rows of one fixed shape: the window never changes height or empties */
.mx-list { display: flex; flex-direction: column; }
.mx {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 16px;
  min-height: 74px;
  padding: 14px 0;
  border-bottom: 1px solid var(--bp-line);
}
.mx[hidden] { display: none; }
.mx.is-in { animation: mx-in 0.32s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: var(--mx-delay, 0s); }
@keyframes mx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mx-name { font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx .ui-chip { justify-self: end; }
.mx-meta { font-size: 12px; color: var(--ui-muted); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-vol,
.mx-steps,
.mx-flag,
.mx-wait { justify-self: end; font-size: 12.5px; white-space: nowrap; }
.mx-vol { color: var(--ui-muted); }
.mx-vol b { font-weight: 600; color: var(--ui-text); }
.mx-steps { display: inline-flex; align-items: center; gap: 8px; color: var(--ui-muted); }
.mx-bar { display: block; width: 64px; height: 4px; border-radius: 4px; background-color: var(--ui-panel-2); overflow: hidden; }
.mx-bar i { display: block; height: 100%; border-radius: 4px; background-image: linear-gradient(90deg, #0dc523, #87ff95); }
.mx-flag { color: var(--ui-warn); }
.mx-wait { color: var(--ui-muted); }
.mx-foot {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-top: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bp-mint);
}

/* ---------- earnings and payouts: glass coins with the workspace's notifications ---------- */
.earnings { padding-top: 144px; }
.er-visual {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1;
  justify-self: center;
}
.er-object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: lighten;
  -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 70%, transparent 100%);
}
.push {
  position: absolute;
  display: flex;
  gap: 10px;
  width: 272px;
  padding: 12px;
  border-radius: 18px;
  border: 1px solid rgba(135, 255, 149, 0.18);
  background-color: rgba(8, 24, 14, 0.74);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9);
  text-align: left;
}
.push--a { left: -10%; top: 40%; } /* below the emblem of the top coin */
.push--b { right: -6%; bottom: 7%; width: 248px; }
.push__app {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background-color: #04120a;
  box-shadow: inset 0 0 0 1px rgba(135, 255, 149, 0.22);
}
.push__app img { width: 20px; height: auto; }
.push__body { min-width: 0; flex: 1; }
.push__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 1.3; color: rgba(238, 243, 239, 0.55); }
.push__meta b { font-weight: 600; color: rgba(238, 243, 239, 0.85); }
.push__title { margin-top: 2px; font-size: 14px; font-weight: 600; line-height: 1.3; color: #ffffff; }
.push--a .push__title { color: var(--bp-mint); }
.push__text { margin-top: 2px; font-size: 13px; line-height: 1.38; color: rgba(238, 243, 239, 0.78); }
/* the notifications arrive once, after the coins: first the earning, then the payout */
.js .er-visual .push { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1); }
.js .er-visual.is-revealed .push { opacity: 1; transform: none; }
.js .er-visual.is-revealed .push--a { transition-delay: 0.45s; }
.js .er-visual.is-revealed .push--b { transition-delay: 1s; }
@media (max-width: 1023px) {
  .push--a { left: 0; }
  .push--b { right: 0; }
}
@media (max-width: 767px) {
  .er-visual { max-width: 420px; }
  .push { width: 236px; padding: 10px; gap: 8px; border-radius: 14px; }
  .push--a { left: -2%; top: 36%; }
  .push--b { right: -2%; bottom: 4%; width: 220px; }
  .push__app { width: 32px; height: 32px; }
  .push__title { font-size: 13px; }
  .push__text { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .er-visual .push { opacity: 1; transform: none; transition: none; }
}

/* ---------- FAQ ---------- */
.faq { padding-top: 144px; }
.faq-inner { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.faq-list { border-top: 1px solid var(--bp-line-strong); }
.faq-item { border-bottom: 1px solid var(--bp-line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 20px 0;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--color-text-bright);
  cursor: pointer;
  list-style: none;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--bp-mint); }
.faq-item summary:focus-visible { outline-offset: 2px; border-radius: 6px; }
/* plus that turns into a minus */
.faq-icon { position: relative; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--bp-line-strong); }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background-color: var(--bp-mint);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-answer {
  max-width: 640px;
  padding: 0 52px 26px 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ---------- CTA: galaxy photo tinted to the brand green ---------- */
.cta-section { margin-top: 144px; }
.cta-subtitle { max-width: 520px; }
.cta-bg {
  left: -8.2%;
  top: -325px;
  width: 152%;
  filter: brightness(0.82);
}
/* dark veil on the copy side, the galaxy core stays bright on the right */
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 10, 5, 0.92) 0%, rgba(1, 10, 5, 0.62) 38%, rgba(1, 10, 5, 0) 68%);
  pointer-events: none;
}
.cta-content { padding: 64px 56px; }
.cta-title { max-width: 640px; }
.cta-login { font-size: 16px; color: rgba(255, 255, 255, 0.78); }
.cta-login a {
  font-weight: 600;
  color: var(--bp-mint);
  text-decoration: underline;
  text-decoration-color: rgba(135, 255, 149, 0.4);
  text-underline-offset: 4px;
  transition: text-decoration-color var(--transition);
}
.cta-login a:hover { text-decoration-color: currentColor; }

/* footer: what Big Partners is, and whose family it belongs to */
.footer-about { display: flex; flex-direction: column; gap: 28px; }
.footer-tag { font-size: 15px; line-height: 1.6; color: var(--color-text-dim); }
.footer-tag a { color: var(--color-text-bright); transition: color var(--transition); }
.footer-tag a:hover { color: var(--bp-mint); }

/* ---------- responsive: Big Partners ---------- */
@media (max-width: 1200px) {
  .site-nav { gap: 28px; }
  .nav-list { gap: 22px; }
  .nav-actions { gap: 18px; }
  .hero-statement { font-size: 32px; }
  .hero-title { max-width: 500px; }
  .feature { gap: 48px; }
  .markets { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
}

@media (min-width: 1024px) and (max-width: 1140px) {
  .site-header .brand-divider,
  .site-header .brand-tagline { display: none; }
}

@media (max-width: 1023px) {
  .hero-inner { padding-top: 200px; }
  .hero-lead { max-width: 440px; }
  .hero-title { max-width: 440px; } /* keeps the headline clear of the globe on tablets */
  .how-it-works { padding-bottom: 320px; }
  .site-header .brand-mark { width: 46px; height: 54.5px; }
  .site-header .brand-word { width: 120px; height: 21.6px; transform: translateY(2.2px); }
  .site-header .brand-divider { height: 38px; }
  .site-header .brand-tagline { width: 56px; height: 18.2px; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 8px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 32px; }
  .steps::before { display: none; }
  .solutions-head,
  .feature,
  .feature--ui-left,
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .feature--ui-left .feature-ui { order: 0; }
  .feature--ui-left .feature-copy { order: -1; } /* heading first once the columns stack */
  .feature-ui { width: 100%; max-width: 640px; }
  .proposal .feature-copy { max-width: none; }
  .markets-note { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 767px) {
  .hero-inner { padding-top: 170px; }
  .hero-eyebrow { margin-bottom: 14px; font-size: 12px; }
  .hero-title { margin-bottom: 16px; }
  .hero-lead { font-size: 18px; }
  .hero-inner .btn-primary { margin-top: 16px; } /* the planet stage above already has air under the globe */
  .hero-market { gap: 20px; padding-top: 48px; padding-bottom: 16px; }
  .hero-badges { gap: 8px; }
  .hero-badge { min-height: 40px; padding: 8px 14px; font-size: 15px; }
  .hero-statement { font-size: 24px; line-height: 1.3; }
  .how-it-works { padding: 64px 0 230px; margin-top: 32px; }
  .steps { grid-template-columns: 1fr; gap: 0; margin-top: 40px; }
  /* phones: the track runs down the left edge */
  .step { display: grid; grid-template-columns: 45px minmax(0, 1fr); column-gap: 18px; row-gap: 6px; padding: 0 0 32px; }
  .step:last-child { padding-bottom: 0; }
  .step-num { grid-row: span 2; margin-bottom: 0; }
  .step::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 45px;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(135, 255, 149, 0.28), rgba(135, 255, 149, 0.12));
  }
  .step:nth-child(3)::before { background: linear-gradient(180deg, rgba(135, 255, 149, 0.28), #0dc523); }
  .step:last-child::before { display: none; }
  .step-title { font-size: 19px; padding-top: 11px; }
  .solutions { padding-top: 48px; }
  .solutions-head { gap: 16px; }
  .merchants,
  .earnings,
  .faq { padding-top: 88px; }
  .solutions-lead,
  .feature-text,
  .points li { font-size: 16px; }
  .points { gap: 16px; }
  .markets { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .markets-note { margin-top: 32px; }
  .proposal { margin-top: 72px; }
  .feature-copy .section-title { font-size: 38px; }
  /* product windows: tighter padding, the proposal table folds into two lines per method */
  .ui-top { padding: 14px 16px; }
  .ui-body { padding: 14px 16px 18px; }
  .pr-row--head { display: none; }
  .pr-row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 10px; }
  .pr-method { grid-column: 1 / -1; }
  .pr-base { display: none; }
  .pr-rate { grid-column: 1; }
  .pr-margin { grid-column: 2; }
  .pr-margin::before { content: "Margin "; font-weight: 400; color: var(--ui-muted); }
  .pr-foot { flex-direction: column; align-items: stretch; }
  .pr-foot .ui-btn { width: 100%; }
  .faq-item summary { min-height: 64px; font-size: 18px; }
  .faq-answer { padding-right: 0; font-size: 16px; }
  .cta-section { margin-top: 88px; }
  .cta-content { padding: 36px 24px; }
  .cta-bg { left: 0; top: 0; width: 100%; object-position: 64% 50%; transform: scale(1.25); transform-origin: 64% 50%; }
  .cta-card::after { background: linear-gradient(180deg, rgba(1, 10, 5, 0.85) 0%, rgba(1, 10, 5, 0.55) 50%, rgba(1, 10, 5, 0.1) 82%, rgba(1, 10, 5, 0) 100%); }
}

@media (max-width: 479px) {
  .hero-inner { padding-top: 150px; }
  .brand-footer .brand-mark { width: 52px; height: 61.7px; }
  .brand-footer .brand-word { width: 136px; height: 24.5px; transform: translateY(2.5px); }
  .brand-footer .brand-divider { height: 44px; }
  .brand-footer .brand-tagline { width: 63px; height: 20.5px; }
}
.section-title--sm { font-size: 44px; }
@media (max-width: 1200px) { .section-title--sm { font-size: 40px; } }
@media (max-width: 767px) { .section-title--sm { font-size: 32px; } }

/* CTA: own footage, an aurora over the planet horizon (not the family galaxy), tinted to the brand green;
   the frame is cropped so the aurora sits on the right and the copy on clean dark sky */
.cta-tint { background-color: var(--cta-tint, #0dc523); } /* brand colour over the footage, like the other sites */
.cta-bg {
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 38%;
  filter: none;
  transform: none;
}
@media (max-width: 767px) {
  .cta-bg { object-position: 66% 50%; transform: scale(1.15); transform-origin: 66% 50%; }
}
@media (max-width: 1200px) { .feature-copy .section-title { font-size: 44px; } }

/* ---------- payment solutions: dotted world map ---------- */
.world { margin-top: 56px; }
.world-track { display: flex; }
.world-map { position: relative; flex: none; width: 100%; aspect-ratio: 360 / 142; } /* 180 x 71 cells of 2 degrees, lon -180..180, lat 84..-56 */
.world-map--copy { display: none; }
.world-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.world-chips { position: absolute; inset: 0; pointer-events: none; }
.world-chip {
  position: absolute;
  translate: -50% -50%;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(135, 255, 149, 0.32);
  background-color: rgba(4, 16, 9, 0.82);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  color: var(--color-text-bright);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.world.is-on .world-chip { opacity: 1; transform: none; }
.world-chip:nth-child(2) { transition-delay: 0.08s; }
.world-chip:nth-child(3) { transition-delay: 0.16s; }
.world-chip:nth-child(4) { transition-delay: 0.24s; }
.world-chip:nth-child(5) { transition-delay: 0.32s; }
.world-chip:nth-child(6) { transition-delay: 0.4s; }
.world-chip:nth-child(7) { transition-delay: 0.48s; }
.world-chip:nth-child(8) { transition-delay: 0.56s; }
.world-chip:nth-child(9) { transition-delay: 0.64s; }
.world-legend { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 24px; font-size: 14px; color: var(--color-text-muted); }
.world-key { display: inline-flex; align-items: center; gap: 10px; }
.world-key::before { content: ""; width: 9px; height: 9px; border-radius: 50%; }
.world-key--local::before { background-color: #5ef06f; box-shadow: 0 0 10px rgba(94, 240, 111, 0.7); }
.world-key--eur::before { background-color: rgba(135, 255, 149, 0.55); }
/* no script: the map cannot draw, the copy around it carries the list */
.world:not(.has-map) { display: none; }
@media (max-width: 1023px) {
  .world-chip { padding: 5px 10px; font-size: 11.5px; }
}
@media (max-width: 767px) {
  .world { margin-top: 32px; overflow: clip; }
  /* phones without motion: a still zoom on the markets, Mexico to Indonesia (lon -115..145 of -180..180) */
  .world-map { width: 138.5%; margin-left: -25%; }
  .world-chips { display: none; }
  .world-legend { flex-direction: column; gap: 10px; font-size: 13px; }
  /* phones with motion: the map is ~2.6x larger, edge to edge, an endless strip rolling west -> east */
  .world--pan { margin-inline: -20px; }
  .world--pan .world-track { will-change: transform; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; }
  .world--pan .world-track:active { cursor: grabbing; }
  .world--pan .world-map { width: 260%; margin-left: 0; }
  .world--pan .world-map--copy { display: block; }
  .world--pan .world-chips { display: block; }
  .world--pan .world-chip { padding: 5px 10px; font-size: 12px; }
  .world--pan .world-legend { padding-inline: 20px; }
}
@media (max-width: 400px) {
  /* small phones: badges stay on one line where they can */
  .hero-badge { padding: 8px 12px; font-size: 14px; }
}

/* ---------- FAQ: "another question?" and the support request dialog ---------- */
.faq-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: 20px;
  border: 1px solid var(--bp-line-strong);
  background: radial-gradient(120% 140% at 100% 0%, rgba(13, 197, 35, 0.12), transparent 60%), rgba(255, 255, 255, 0.025);
}
.faq-more__title { font-size: 21px; font-weight: 500; letter-spacing: -0.012em; color: var(--color-text-bright); }
.faq-more__text { margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--color-text-muted); }
.faq-more .btn { flex: none; }

html.support-open { overflow: hidden; }
.support {
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-text-bright);
  overflow: visible;
}
.support::backdrop {
  background: rgba(0, 4, 2, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.support[open] { animation: support-in 0.28s cubic-bezier(0.22, 0.61, 0.36, 1); }
.support[open]::backdrop { animation: support-fade 0.28s ease; }
@keyframes support-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes support-fade { from { opacity: 0; } to { opacity: 1; } }
.support__panel {
  position: relative;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 36px 36px 32px;
  border-radius: 24px;
  border: 1px solid var(--bp-line-strong);
  background: radial-gradient(120% 60% at 100% 0%, rgba(13, 197, 35, 0.12), transparent 60%), #06100a;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9);
}
.support__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition);
}
.support__close:hover { background-color: rgba(255, 255, 255, 0.06); color: var(--color-text-bright); }
.support__close svg { width: 20px; height: 20px; }
.support__title { padding-right: 40px; font-size: 30px; font-weight: 500; line-height: 1.15; letter-spacing: -0.02em; color: var(--color-heading); }
.support__lead { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--color-text-muted); }
.support__lead b { font-weight: 500; color: var(--color-text-bright); }
.support__form { display: grid; gap: 16px; margin-top: 28px; }
.support__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 500; color: rgba(243, 243, 245, 0.72); }
.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(238, 243, 239, 0.16);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 16px; /* 16px keeps iOS from zooming in on focus */
  color: var(--color-text-bright);
  transition: border-color var(--transition), background-color var(--transition);
}
.field textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(243, 243, 245, 0.32); }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--bp-green); background: rgba(255, 255, 255, 0.07); }
.field.is-invalid input,
.field.is-invalid textarea { border-color: rgba(255, 107, 107, 0.8); }
.field__error { margin-top: 6px; font-size: 13px; color: #ff8a8a; }
.support__error { padding: 12px 14px; border-radius: 12px; background: rgba(255, 107, 107, 0.1); font-size: 14px; line-height: 1.5; color: #ffb3b3; }
.support__error a,
.support__note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.support__actions { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.support__actions .btn { flex: none; min-width: 180px; border: 0; }
.support__actions .btn[disabled] { opacity: 0.6; cursor: progress; }
.support__note { font-size: 13px; line-height: 1.45; color: var(--color-text-dim); }
.support__done { text-align: left; }
.support__done-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--bp-ink);
  background-image: linear-gradient(135deg, #0dc523, #87ff95);
}
.support__done-ico svg { width: 24px; height: 24px; }
.support__done .btn { margin-top: 28px; }

@media (max-width: 767px) {
  .faq-more { flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 32px; padding: 22px 20px; }
  .faq-more .btn { width: 100%; }
  .faq-more__title { font-size: 19px; }
  .support__panel { padding: 28px 20px 24px; border-radius: 20px; }
  .support__title { font-size: 25px; }
  .support__row { grid-template-columns: 1fr; }
  .support__actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .support__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .support[open],
  .support[open]::backdrop { animation: none; }
}
