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

:root {
  --risk-h: 0px;
  --header-h: 64px;
  --max-w: 1200px;
  --font: "PingFang SC", -apple-system, BlinkMacSystemFont, "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: #1a0f06;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
}

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

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

.container {
  width: min(calc(100% - 40px), 1200px);
  margin-inline: auto;
}

/* Tablet */
@media (min-width: 768px) {
  .container {
    width: min(calc(100% - 64px), 1200px);
  }
}

/* 13-inch desktop (1280px) */
@media (min-width: 1280px) {
  .container {
    width: min(calc(100% - 80px), 1200px);
  }
}

/* 1080p large screen (1920px) */
@media (min-width: 1600px) {
  .container {
    width: min(calc(100% - 120px), 1440px);
  }
}

/* 27-inch 2K (2560px) */
@media (min-width: 2200px) {
  .container {
    width: min(calc(100% - 160px), 1760px);
  }
}

/* ─── Header: fixed, transparent → cream background on scroll ─── */
.bouns-page .bouns-header {
  position: fixed;
  top: var(--risk-h);
  left: 0;
  right: 0;
  z-index: 30;
  height: var(--header-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

.bouns-page .bouns-header.is-scrolled {
  background: rgba(255, 252, 246, 0.96);
  border-bottom-color: rgba(91, 71, 54, 0.1);
  box-shadow: 0 8px 24px rgba(80, 50, 20, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.bouns-page .bouns-header .header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bouns-page .bouns-header .header-logo {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter 200ms ease, height 200ms ease;
}

@media (min-width: 768px) {
  .bouns-page .bouns-header .header-logo {
    height: 36px;
  }
}

.bouns-page .bouns-header.is-scrolled .header-logo {
  filter: none;
}

.bouns-page .bouns-header:not(.is-scrolled) .language-select__trigger,
.bouns-page .bouns-header:not(.is-scrolled) .language-select__value {
  color: #fff;
}

.bouns-page .bouns-header:not(.is-scrolled) .language-select__icon img {
  filter: brightness(0) invert(1);
}

/* ─── Hero: orange background.webp + right/bottom hero image ─── */
.b-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #ef7510;
  background-image: url("./assets/background.webp?32");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 58% center;
}

.b-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1.28fr);
  align-items: center;
  gap: clamp(16px, 2.5vw, 40px);
  /* 13-inch screen (~800px height): ~86vh=688px, fills viewport after header */
  min-height: min(86vh, 720px);
  max-height: min(92vh, 820px);
  padding: calc(var(--risk-h) + var(--header-h) + 32px) 0 36px;
}

.b-hero__copy {
  color: #fff;
  max-width: 560px;
}

.b-hero__title {
  margin: -32px 0 24px;
  font-size: clamp(48px, 8.5vw, 76px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(120, 40, 0, 0.22);
}

.b-hero__join {
  margin: 0 0 8px;
  font-size: clamp(26px, 4.6vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  color: #1a0f06;
  letter-spacing: -0.01em;
}

.b-hero__reward {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: inherit;
  gap: 0 0.4em;
  margin: 0 0 30px;
  font-size: clamp(26px, 4.6vw, 38px);
  font-weight: 800;
  line-height: 1.25;
}

.b-hero__amount {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 1.2em;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 12px rgba(120, 40, 0, 0.18);
}

.b-hero__bonus-label {
  color: #1a0f06;
}

.b-hero-copy--long .b-hero__title {
  margin-top: 0;
  line-height: 1.18;
}

@media (min-width: 768px) {
  .b-hero-copy--long .b-hero__title {
    font-size: clamp(40px, 6.5vw, 64px);
    margin-bottom: 20px;
  }

  .b-hero-copy--long .b-hero__join {
    margin-bottom: 12px;
  }

  .b-hero-copy--long .b-hero__reward {
    margin-bottom: 26px;
  }
}

.b-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 260px);
  height: 54px;
  padding: 0 32px;
  border: none;
  border-radius: 999px;
  background: #1a0f06;
  color: #fff;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.b-hero__cta:hover {
  transform: translateY(-2px);
  background: #2d1a0c;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.b-hero__visual {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  pointer-events: none;
  user-select: none;
}

.b-hero__visual img {
  width: min(100%, 780px);
  height: auto;
  max-height: min(76vh, 680px);
  object-fit: contain;
  object-position: bottom right;
}

/* ─── Mobile: copy centered, device image below ─── */
@media (max-width: 767px) {
  :root {
    --risk-h: 0px;
    --header-h: 56px;
  }

  .bouns-page .bouns-header .header-logo {
    height: 36px;
  }

  /* Avoid "100% auto" — background would only cover the top half, exposing base color below */
  .b-hero {
    background-color: #ef7510;
    background-image: linear-gradient(
      180deg,
      #ffbf5a 0%,
      #f58a20 38%,
      #ef7510 72%,
      #e8680e 100%
    );
    background-size: cover;
    background-position: center top;
    max-height: none;
  }

  .b-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("./assets/background.webp?32") center top / cover no-repeat;
    pointer-events: none;
  }

  .b-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-items: center;
    text-align: center;
    gap: 0;
    min-height: min(82vh, 580px);
    max-height: none;
    padding: calc(var(--risk-h) + var(--header-h) + 8px) 0 0;
  }

  .b-hero__copy {
    max-width: none;
    padding: 0 4px 20px;
    text-align: center;
    margin-top: auto;
  }

  .b-hero__title {
    font-size: clamp(40px, 11vw, 56px);
    margin-top: 0;
    margin-bottom: 18px;
    line-height: 1.15;
  }

  .b-hero__join {
    font-size: clamp(24px, 6.5vw, 30px);
    margin-bottom: 10px;
    line-height: 1.25;
  }

  .b-hero__reward {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-bottom: 24px;
    font-size: clamp(24px, 6.5vw, 30px);
    line-height: 1.3;
  }

  .b-hero-copy--long .b-hero__inner {
    padding-top: calc(var(--risk-h) + var(--header-h) + 20px);
  }

  .b-hero-copy--long .b-hero__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    margin-top: 0;
  }

  .b-hero-copy--long .b-hero__title {
    font-size: clamp(28px, 7.8vw, 40px);
    line-height: 1.22;
    margin: 0;
  }

  .b-hero-copy--long .b-hero__join {
    margin: 0;
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.3;
  }

  .b-hero-copy--long .b-hero__reward {
    margin: 0;
    font-size: clamp(20px, 5.8vw, 26px);
    line-height: 1.35;
  }

  .b-hero-copy--long .b-hero__cta {
    margin-top: 6px;
  }

  .b-hero__cta {
    width: 100%;
    max-width: 300px;
    height: 48px;
    font-size: 16px;
  }

  .b-hero__visual {
    width: min(100%, 460px);
    margin-top: 4px;
    padding: 0 4px 8px;
  }

  .b-hero__visual img {
    width: 100%;
    max-width: 460px;
    max-height: min(56vh, 440px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .b-hero {
    background-position: 62% center;
  }

  .b-hero__inner {
    min-height: min(84vh, 620px);
    max-height: min(90vh, 720px);
    padding-top: calc(var(--risk-h) + var(--header-h) + 24px);
    padding-bottom: 28px;
  }

  .b-hero__visual img {
    width: min(100%, 700px);
    max-height: min(68vh, 600px);
  }
}

/* ─── Main content area (cream background) ─── */
.b-page-main {
  background: #fff8ee;
}

.b-section-title {
  margin: 0 0 48px;
  text-align: center;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.25;
  color: #1a0f06;
  letter-spacing: -0.02em;
}

/* ─── Trading platform showcase ─── */
.b-platform {
  padding: 80px 0;
  background: #0e0e0e;
  overflow: hidden;
  position: relative;
}

/* Dual light sources: upper-left diagonal + lower-right upward */
.b-platform::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 0%,  rgba(251, 191, 74, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 5%  0%,  rgba(255, 220, 120, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 55% 50% at 80% 105%, rgba(251, 191, 74, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 30% 35% at 90% 100%, rgba(255, 230, 140, 0.10) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.b-platform__inner {
  position: relative;
  z-index: 1;
}

.b-platform__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
}

.b-platform__copy {
  color: #fff;
  max-width: 480px;
}

.b-platform__title {
  margin: 0 0 20px;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

.b-platform__lead {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.b-platform__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 52px;
  padding: 0 28px;
  border-radius: 10px;
  background: #FBBF4A;
  color: #1a0f06;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(43, 109, 246, 0.35);
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.b-platform__cta:hover {
  background: #f5b030;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(251, 191, 74, 0.4);
}

.b-platform__devices {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* tool.png: 2048×1440 combined device image, responsive scaling */
.b-platform__tool {
  width: min(100%, 620px);
  height: auto;
  display: block;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.5));
}

@media (max-width: 900px) {
  .b-platform__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .b-platform__copy {
    max-width: none;
    margin: 0 auto;
  }

  .b-platform__devices {
    margin: 0 auto;
  }

  .b-platform__tool {
    width: min(100%, 500px);
  }
}



.b-page-main .section-center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* ─── Card slider section ─── */
.b-cards-section {
  padding: 72px 0 80px;
  background: #fff;
  overflow: hidden;
}

.b-cards-section .b-section-title {
  margin-bottom: 48px;
}

/* Slider root */
.b-slider-root {
  position: relative;
}

.b-slider-viewport {
  overflow: hidden;
  padding-top: 8px;
  margin-top: -8px;
  padding-bottom: 4px;
  margin-bottom: -4px;
}

.b-slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Card item */
.b-slider-card {
  flex: 0 0 var(--bs-card-w, 300px);
  width: var(--bs-card-w, 300px);
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(91, 71, 54, 0.08);
  box-shadow: 0 4px 20px rgba(40, 28, 12, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  cursor: default;
}

.b-slider-card:hover {
  box-shadow: 0 12px 36px rgba(40, 28, 12, 0.12);
  transform: translateY(-4px);
}

.b-slider-card__body {
  padding: 20px 20px 16px;
}

.b-slider-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: #1a0f06;
}

.b-slider-card__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #5f5043;
}

.b-slider-card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 0 0 20px 20px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.b-slider-card__img {
  width: 62%;
  height: 62%;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Arrow buttons */
.b-slider-arrow {
  position: absolute;
  top: calc(50% - 44px); /* centre on image area */
  transform: translateY(-50%);
  z-index: 10;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
  border-radius: 50%;
  transition: opacity 0.2s;
}

.b-slider-arrow:focus-visible {
  outline: 2px solid #f07818;
  outline-offset: 2px;
}

.b-slider-arrow[disabled] {
  opacity: 0.28;
  pointer-events: none;
}

.b-slider-arrow--prev { left: -26px; }
.b-slider-arrow--next { right: -26px; }

/* Dots */
.b-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.b-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(150, 90, 20, 0.18);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s, width 0.25s, border-radius 0.25s;
  flex-shrink: 0;
}

.b-slider-dot.is-active {
  width: 24px;
  border-radius: 4px;
  background: #f07818;
}

/* Responsive card sizing */
@media (min-width: 1024px) {
  .b-slider-root { --bs-card-w: calc((min(calc(100vw - 40px), var(--max-w)) - 40px) / 3); }
  .b-slider-arrow--prev { left: -28px; }
  .b-slider-arrow--next { right: -28px; }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .b-slider-root { --bs-card-w: calc((min(calc(100vw - 40px), var(--max-w)) - 20px) / 2); }
  .b-slider-arrow--prev { left: -20px; }
  .b-slider-arrow--next { right: -20px; }
}

@media (max-width: 639px) {
  .b-slider-root { --bs-card-w: calc(100vw - 96px); }
  .b-slider-arrow--prev { left: -16px; }
  .b-slider-arrow--next { right: -16px; }
  .b-cards-section { padding: 48px 0 56px; }
}

/* ─── Bottom floating CTA dock ─── */

/* Shrink thumb to free horizontal space */
.mobile-cta-dock__inner {
  grid-template-columns: 52px minmax(0, 1fr) auto;
  column-gap: 6px;
  align-items: center;
}

.mobile-cta-dock__thumb {
  width: 52px;
}

.mobile-cta-dock__thumb img {
  width: 52px;
  max-height: 52px;
}

/* Reduce reward amount text size */
.mobile-cta-dock .mobile-cta-dock__amount {
  font-size: clamp(13px, 4vw, 18px) !important;
}

.mobile-cta-dock .mobile-cta-dock__label {
  font-size: clamp(10px, 2.8vw, 13px) !important;
}

/* Button: auto-width to fit text, no single-line truncation */
.mobile-cta-dock .mobile-cta-dock__btn {
  min-width: 0 !important;
  max-width: none !important;
  width: auto !important;
  white-space: nowrap !important;
  font-size: clamp(12px, 3vw, 14px) !important;
  padding: 0 14px !important;
}

/* ─── App download ─── */
.b-app {
  margin-top: 0;
  padding: 80px 0 88px;
  text-align: center;
  background: #fff;
}

.b-app .container {
  max-width: 720px;
}

.b-app__lead {
  margin: -12px 0 24px;
  font-size: 15px;
  color: #5f5043;
  line-height: 1.5;
}

.b-app__stores {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.b-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(100%, 200px);
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: #1a0f06;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.b-store-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.b-store-btn--play svg {
  width: 18px;
  height: 18px;
}

.b-store-btn:hover {
  transform: translateY(-2px);
  background: #2d1a0c;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

/* ═══════════════════════════════════════════
   Language selector
═══════════════════════════════════════════ */
.language-select {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
}
.language-select__trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding: 0 0 0 28px;
  border: 0;
  background: transparent;
  color: rgba(38, 19, 5, 1);
  cursor: pointer;
  transition: opacity 180ms ease;
}
.language-select__trigger:hover { opacity: 0.85; }
.language-select__icon {
  position: absolute;
  top: 50%; left: 0;
  width: 24px; height: 24px;
  transform: translateY(-50%);
  pointer-events: none;
}
.language-select__icon img { width: 100%; height: 100%; }
.language-select__value {
  display: block;
  color: rgba(38, 19, 5, 1);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}
.language-select__trigger:focus-visible,
.language-select__option:focus-visible {
  outline: 2px solid rgba(249, 122, 37, 0.45);
  outline-offset: 2px;
}
.language-select__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 220;
  display: flex;
  flex-direction: column;
  min-width: 200px;
  max-height: min(70vh, 480px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 16px 32px rgba(0,0,0,0.14);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.language-select.is-open .language-select__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.language-select__option {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 36px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: rgba(0,0,0,1);
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  text-align: left;
}
.language-select__option.is-active {
  background: rgba(249,122,37,0.12);
  color: rgba(249,122,37,1);
  font-weight: 600;
}
.language-select select {
  position: absolute;
  width: 0; height: 0;
  padding: 0; border: 0;
  opacity: 0; pointer-events: none;
}
[dir="rtl"] .language-select__menu { right: auto; left: 0; }
[dir="rtl"] .language-select { align-items: flex-start; }

/* ═══════════════════════════════════════════
   Section base
═══════════════════════════════════════════ */
.section { padding: 80px 0; }
.section--warm { background: #fff8ee; }
.section-h {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #261305;
  margin: 0;
}
.section-lead {
  font-size: 16px;
  color: #5f5043;
  margin-top: 12px;
  max-width: 600px;
  line-height: 1.8;
}
.section-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 48px;
}

/* ═══════════════════════════════════════════
   Footer main row: Logo | Stats | Download
═══════════════════════════════════════════ */
.footer-main-row {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 28px 0;
  margin-top: 30px;
  border-bottom: 1px solid rgba(91, 71, 54, 0.1);
}

.footer-brand {
  flex-shrink: 0;
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid rgba(91, 71, 54, 0.12);
}

.trust-inline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.trust-inline__item {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 0 20px;
  border-right: 1px solid rgba(91, 71, 54, 0.1);
  min-width: 0;
}

.trust-inline__item:first-child {
  padding-left: 0;
}

.trust-inline__item:last-child {
  border-right: none;
}

.trust-inline__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #FBBF4A;
  color: #5c3a1e;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-inline__icon svg {
  display: block;
}

.trust-inline__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.trust-inline__text strong {
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #261305;
  letter-spacing: -0.02em;
  line-height: 1.1;
  white-space: nowrap;
}

.trust-inline__text > span {
  font-size: 11px;
  color: rgba(91, 71, 54, 0.6);
  line-height: 1.3;
  white-space: nowrap;
}

.footer-dl-group {
  flex-shrink: 0;
  display: flex;
  gap: 8px;
  padding-left: 32px;
  margin-left: 32px;
  border-left: 1px solid rgba(91, 71, 54, 0.12);
}

.license-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.license-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px 22px;
  border: 1px solid rgba(91,71,54,0.14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(150,90,20,0.08);
  text-align: center;
  transition: transform 220ms, box-shadow 220ms;
}
.license-card:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(150,90,20,0.14); }
.license-card img { max-height: 80px; width: auto; object-fit: contain; }
.license-card p { font-size: 13px; color: #8e7d6d; line-height: 1.5; }

/* ═══════════════════════════════════════════
   Footer
═══════════════════════════════════════════ */
.site-footer {
  padding: 0 0 40px;
  background: #fff;
  border-top: 1px solid rgba(91, 71, 54, 0.1);
}

.footer-dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 16px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(91, 71, 54, 0.25);
  color: #261305;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 160ms ease;
}

.footer-dl-btn:hover {
  background: rgba(91, 71, 54, 0.06);
}

/* Divider */
.footer-divider {
  border: none;
  border-top: 1px solid rgba(91, 71, 54, 0.1);
  margin: 0 0 32px;
}

.footer-inner { display: flex; flex-direction: column; gap: 16px; }
.footer-inner p { font-size: 12px; color: rgba(91, 71, 54, 0.55); line-height: 1.75; margin: 0; }
.footer-copy { color: rgba(91, 71, 54, 0.3) !important; }

@media (max-width: 767px) {
  /* Stack vertically: Logo → Stats → Download */
  .footer-main-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 28px 0;
  }

  .footer-brand {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  /* Stats: 2×2 equal-height equal-width grid */
  .trust-inline {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    flex: none;
    background: rgba(91, 71, 54, 0.1);
    border-radius: 16px;
    overflow: hidden;
  }

  .trust-inline__item {
    flex: none;
    padding: 20px 16px;
    border-right: none;
    background: #fff;
    justify-content: flex-start;
  }

  .trust-inline__item:first-child {
    padding-left: 16px;
  }

  /* Center download buttons */
  .footer-dl-group {
    width: 100%;
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════
   Mobile bottom floating CTA
═══════════════════════════════════════════ */
.mobile-cta-dock { display: none; }

@media (max-width: 767px) {
  .mobile-cta-dock[data-mobile-cta-pending] {
    transform: translateY(110%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .mobile-cta-dock {
    display: block;
    position: fixed;
    right: 0; bottom: 0; left: 0;
    z-index: 220;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: linear-gradient(135deg, #ffc44a 0%, #f9b233 48%, #f5a21e 100%);
    box-shadow: 0 -6px 24px rgba(180,110,0,0.18);
    transform: translateY(110%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 240ms ease, opacity 240ms ease;
  }
  .mobile-cta-dock.is-visible {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  body.has-mobile-cta-dock .site-footer {
    padding-bottom: calc(44px + 80px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-cta-dock__inner {
    display: grid;
    grid-template-columns: 52px minmax(0,1fr) auto;
    grid-template-areas: "thumb copy cta";
    align-items: center;
    column-gap: 6px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .mobile-cta-dock__thumb {
    grid-area: thumb;
    width: 52px;
    line-height: 0;
    overflow: visible;
  }
  .mobile-cta-dock__thumb img {
    display: block;
    width: 52px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
    object-position: left bottom;
  }
  .mobile-cta-dock__copy {
    grid-area: copy;
    min-width: 0;
    color: #fff;
  }
  .mobile-cta-dock__reward {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    margin: 0;
    line-height: 1.1;
  }
  .mobile-cta-dock__amount {
    font-family: "Arial","Helvetica Neue",sans-serif;
    font-size: clamp(13px, 4vw, 18px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: -0.02em;
  }
  .mobile-cta-dock__label {
    font-size: clamp(10px, 2.8vw, 13px);
    font-weight: 800;
    line-height: 1.2;
  }
  .mobile-cta-dock__cta {
    grid-area: cta;
    justify-self: end;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  .mobile-cta-dock__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding: 0 14px;
    border: 2px solid rgba(32,17,4,0.9);
    border-radius: 999px;
    background: linear-gradient(180deg,#2f1a08 0%,#1d1005 100%);
    color: #fff;
    font-size: clamp(12px, 3vw, 14px);
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(32,17,4,0.28);
  }
}

/* Section titles: mobile override (must follow the 48px rule above) */
@media (max-width: 767px) {
  .b-section-title,
  .b-cards-section .b-section-title,
  .section-h,
  .b-platform__title {
    font-size: 34px;
  }

  .b-platform {
    padding: 56px 0;
  }

  .b-platform__lead {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .b-platform__cta {
    width: 100%;
    max-width: 300px;
  }

  .b-platform__tool {
    width: 100%;
  }

}
