/* ==========================================================================
   BEST GAINS GHANA — THEME 4 · LANDING PAGE
   Loaded only by front_studio/index.blade.php. Tokens, buttons and the shell come from studio.css.
   "Night" bands (.hm-night) are always a dark winter sky; the other sections follow light / dark appearance.
   ========================================================================== */

/* ---------- Shared pieces ------------------------------------------------ */
.sg-home .hm-night { --text: #f8f0de; --text-2: rgba(248, 240, 222, .82); --text-3: rgba(248, 240, 222, .62); --line: rgba(255, 255, 255, .14);
  --surface: rgba(255, 255, 255, .06); --surface-2: rgba(255, 255, 255, .09); --focus: #ffd36b;
  position: relative; overflow: hidden; isolation: isolate; color: var(--text); background: #04120d; }
.sg-home .hm-night::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .75;
  background-image: radial-gradient(1.2px 1.2px at 20px 30px, rgba(255, 255, 255, .6), transparent), radial-gradient(1px 1px at 96px 126px, rgba(255, 255, 255, .42), transparent),
    radial-gradient(1.5px 1.5px at 208px 64px, rgba(255, 211, 107, .6), transparent), radial-gradient(1px 1px at 262px 224px, rgba(255, 255, 255, .45), transparent), radial-gradient(1.2px 1.2px at 150px 196px, rgba(255, 140, 150, .5), transparent);
  background-size: 300px 260px; }

.hm-head { max-width: 760px; margin: 0 auto clamp(30px, 5vw, 52px); text-align: center; }
.hm-head p { margin: 14px auto 0; max-width: 62ch; color: var(--text-2); font-size: clamp(15.5px, 1.6vw, 17px); line-height: 1.65; }
.hm-h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4.6vw, 46px); line-height: 1.08; letter-spacing: -.03em; text-wrap: balance; color: var(--text); }
.hm-acc { color: var(--red); }
:root[data-mode="dark"] .hm-acc, .hm-night .hm-acc { color: #ffd36b; background: linear-gradient(90deg, #ffe08a, #ff8a98); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hm-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; margin-bottom: 16px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; letter-spacing: .02em;
  color: var(--gold-text); background: var(--gold-soft); border: 1px solid var(--gold-line); }
.hm-night .hm-pill { color: #ffd36b; background: rgba(255, 211, 107, .1); border-color: rgba(255, 211, 107, .35); }
.hm-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--red); }
.hm-night .hm-num { color: #ffd36b; }

.sg-home .hm-btn-red, .sg-home .hm-btn-line { height: 54px; padding: 0 26px; border-radius: 12px; font-size: 16.5px; font-weight: 650; }
.sg-home .hm-btn-red { background: #d92d45; border-color: #d92d45; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 10px 28px -8px rgba(217, 45, 69, .65); }
.sg-home .hm-btn-red:hover { background: #ea4a5f; border-color: #ea4a5f; color: #fff; }
.sg-home .hm-btn-line { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .55); color: #fff; }
.sg-home .hm-btn-line:hover { background: rgba(255, 255, 255, .12); border-color: #fff; color: #fff; }
.hm-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hm-cta--c { justify-content: center; }

/* Platform "app icons" (brand colours, Font Awesome glyphs) */
.hm-app { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 15px; color: #fff; font-size: 25px; flex: none;
  box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .7), inset 0 0 0 1px rgba(255, 255, 255, .16); }
.hm-app--instagram { background: linear-gradient(45deg, #f9a03f, #e1306c 52%, #833ab4); }
.hm-app--tiktok, .hm-app--twitter { background: #101010; }
.hm-app--youtube { background: #ff1f3d; } .hm-app--facebook { background: #1877f2; } .hm-app--telegram { background: #229ed9; }
.hm-app--spotify { background: #1db954; } .hm-app--whatsapp { background: #25d366; } .hm-app--linkedin { background: #0a66c2; } .hm-app--twitch { background: #9146ff; }

/* ---------- 1 · Hero ------------------------------------------------------ */
.hm-hero { background: radial-gradient(60% 75% at 80% 42%, rgba(196, 17, 47, .36), transparent 70%), radial-gradient(55% 60% at 0% 100%, rgba(14, 74, 56, .75), transparent 72%), #04120d; }
.hm-hero__in { display: grid; gap: 28px; align-items: center; padding-top: clamp(34px, 5vw, 76px); padding-bottom: clamp(40px, 6vw, 80px); }
@media (min-width: 960px) { .hm-hero__in { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); min-height: 660px; } }
.hm-trust { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: var(--text-2); }
.hm-trust b { color: #fff; font-weight: 700; }
.hm-trust__ico { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 211, 107, .18); color: #ffd36b; }
.hm-trust__ico .i { width: 16px; height: 16px; }
.hm-dot { display: inline-block; width: 4px; height: 4px; margin: 0 9px; border-radius: 50%; background: rgba(255, 255, 255, .4); vertical-align: middle; }
.hm-hero h1 { margin: 20px 0 18px; font-family: var(--font-display); font-weight: 800; font-size: clamp(38px, 6.2vw, 66px); line-height: 1.02; letter-spacing: -.035em; color: #fff; text-wrap: balance; }
.hm-lede { max-width: 52ch; font-size: clamp(16px, 1.7vw, 18.5px); line-height: 1.65; color: var(--text-2); }
.hm-hero__art { position: relative; display: grid; justify-items: center; gap: 14px; }
.hm-tree svg { width: min(78vw, 400px); height: auto; display: block; filter: drop-shadow(0 0 46px rgba(255, 211, 107, .22)); }
.hm-chip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 15px; border-radius: 12px; font-size: 13.5px; color: #fff; background: rgba(10, 28, 21, .74);
  border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .7); }
.hm-chip .i { width: 17px; height: 17px; color: #7be0b0; }
.hm-chip--b { right: 0; top: 52%; flex-direction: column; align-items: flex-start; gap: 2px; } .hm-chip--b b { font-size: 17px; }
.hm-dock { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 14px; width: min(100%, 460px); border-radius: 20px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hm-dock .hm-app { width: 50px; height: 50px; font-size: 23px; }
@media (max-width: 959.98px) { .hm-chip--b { right: 2%; top: 38%; } }
@media (max-width: 479.98px) { .hm-chip--b { display: none; } .hm-dock .hm-app { width: 44px; height: 44px; font-size: 20px; } .hm-dock { gap: 8px; padding: 10px; } }
.hm-star { position: absolute; width: 12px; height: 12px; background: #ffd36b; opacity: .85; pointer-events: none; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: hm-twinkle 4.2s ease-in-out infinite; }
.hm-star--b { width: 18px; height: 18px; animation-delay: -1.6s; }
@keyframes hm-twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }

/* ---------- Light / dark sections ----------------------------------------- */
.hm-sec { position: relative; padding: clamp(56px, 8vw, 104px) 0; background: var(--bg); }
.hm-head--split { max-width: none; margin-inline: 0; text-align: left; display: grid; gap: 14px 48px; align-items: end; }
.hm-head--split p { margin: 0; max-width: 52ch; }
@media (min-width: 860px) { .hm-head--split { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); } .hm-head--split p { justify-self: end; } }

/* ---------- 2 · Why (three numbered cards, the middle one raised) ---------- */
.hm-trio { display: grid; gap: 16px; }
@media (min-width: 900px) { .hm-trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 30px; align-items: stretch; } .hm-trio__c--hot { margin-top: -30px; } }
.hm-trio__c { padding: 34px 30px 38px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); }
.hm-trio__c h3 { margin: 22px 0 10px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.hm-trio__c p { color: var(--text-2); font-size: 15.5px; line-height: 1.65; }
.hm-trio__c--hot { background: linear-gradient(165deg, #d92d45, #9f0f27); border-color: transparent; color: #fff; box-shadow: 0 26px 50px -24px rgba(196, 17, 47, .75); }
.hm-trio__c--hot .hm-num, .hm-trio__c--hot h3 { color: #fff; } .hm-trio__c--hot p { color: rgba(255, 255, 255, .92); }

/* ---------- 3 · Platform orbit + real figures ------------------------------ */
.hm-orbit { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 80px); background: radial-gradient(70% 55% at 50% 100%, rgba(196, 17, 47, .26), transparent 70%), #04120d; }
.hm-orbit .hm-head p { color: var(--text-2); }
.hm-orbit__stage { position: relative; width: 100%; max-width: 1000px; margin: 8px auto 0; aspect-ratio: 2 / 1; }
.hm-orbit__arcs { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hm-orbit__arcs ellipse { stroke: rgba(255, 211, 107, .26); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hm-orbit__arcs ellipse:nth-child(2) { stroke: rgba(255, 140, 150, .24); } .hm-orbit__arcs ellipse:nth-child(3) { stroke-dasharray: 3 7; }
.hm-orb { position: absolute; width: clamp(34px, 5.6vw, 58px); height: clamp(34px, 5.6vw, 58px); font-size: clamp(16px, 2.7vw, 27px); border-radius: clamp(10px, 1.5vw, 16px);
  transform: translate(-50%, -50%); will-change: left, top, transform; transition: filter var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease); }
.hm-orb:hover, .hm-orb:focus-visible { filter: brightness(1.12); box-shadow: 0 0 0 3px rgba(255, 211, 107, .55), 0 12px 24px -8px rgba(0, 0, 0, .7); }
.hm-orbit__tree { position: absolute; z-index: 1; left: 50%; bottom: 8%; width: 26%; transform: translateX(-50%); pointer-events: none; }
.hm-orbit__tree svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 0 40px rgba(255, 211, 107, .2)); }
.hm-stats { position: relative; z-index: 2; display: flex; justify-content: space-around; gap: 8px; width: min(100%, 540px); margin: -24px auto 0; padding: 22px 12px 18px; border-radius: 22px;
  background: rgba(10, 28, 21, .78); border: 1px solid rgba(255, 255, 255, .15); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); }
.hm-stats > div { display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; min-width: 0; text-align: center; }
.hm-stats dt { font-size: 12.5px; font-weight: 650; color: var(--text-2); }
.hm-stats dd { margin: 0; display: grid; place-items: center; width: clamp(78px, 15vw, 100px); height: clamp(78px, 15vw, 100px); border-radius: 50%; border: 2px solid rgba(255, 211, 107, .6);
  font-weight: 750; font-size: clamp(15px, 2.4vw, 19px); color: #fff; background: radial-gradient(circle, rgba(255, 211, 107, .1), transparent 70%); }
@media (max-width: 599.98px) { .hm-orbit__stage { aspect-ratio: 5 / 4; } .hm-orbit__tree { width: 36%; } .hm-stats { margin-top: 22px; } }

/* ---------- 4 · Payments --------------------------------------------------- */
.hm-pay__wallet { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; width: max-content; max-width: 100%; margin: 0 auto; padding: 18px 34px; border-radius: 18px; text-align: center;
  background: var(--surface); border: 1px solid var(--gold-line); box-shadow: 0 18px 40px -26px rgba(8, 47, 36, .45); }
.hm-pay__wallet::after { content: ""; position: absolute; left: 50%; top: 100%; height: 34px; border-left: 2px dotted var(--gold); }
.hm-pay__wallet small { color: var(--text-3); font-size: 13px; }
.hm-pay__ico { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; background: var(--red); color: #fff; }
.hm-pay__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 34px auto 0; }
.hm-pay__m { flex: 0 1 204px; width: 204px; display: grid; gap: 4px; padding: 12px 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); min-width: 0; text-align: center; transition: transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease); }
.hm-pay__m:hover { transform: translateY(-2px); border-color: var(--gold-line); }
/* Logo plate: always white, because brand logos are drawn for a light background (also in dark mode) */
.hm-pay__logo { display: grid; place-items: center; height: 62px; margin-bottom: 8px; padding: 10px 16px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(8, 47, 36, .08); }
.hm-pay__logo img { display: block; max-width: 100%; max-height: 32px; width: auto; height: auto; object-fit: contain; }
.hm-pay__logo--generic { color: var(--forest-2); } .hm-pay__logo--generic .i { width: 30px; height: 30px; stroke-width: 1.6; }
.hm-pay__m b { font-size: 15px; font-weight: 650; overflow-wrap: anywhere; } .hm-pay__m small { color: var(--text-3); font-size: 12.5px; }

/* ---------- 5 · How it works (a staircase that climbs to the last step) ----- */
.hm-steps { padding: clamp(56px, 8vw, 104px) 0 0; background: radial-gradient(60% 70% at 10% 30%, rgba(14, 74, 56, .8), transparent 70%), #04120d; }
.hm-steps__in { display: grid; gap: 36px; align-items: end; }
@media (min-width: 1000px) { .hm-steps__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 40px; } }
.hm-steps__intro { padding-bottom: clamp(24px, 4vw, 64px); }
.hm-steps__intro p { margin: 14px 0 26px; color: var(--text-2); font-size: 16.5px; }
.hm-stairs { display: grid; gap: 12px; list-style: none; padding: 0 0 clamp(28px, 5vw, 56px); }
@media (min-width: 640px) { .hm-stairs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .hm-stairs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; align-items: end; padding-bottom: 0; }
  .hm-stairs li:nth-child(1) { min-height: 250px; } .hm-stairs li:nth-child(2) { min-height: 300px; } .hm-stairs li:nth-child(3) { min-height: 350px; } .hm-stairs li:nth-child(4) { min-height: 400px; } }
.hm-stairs li { position: relative; overflow: hidden; padding: 26px 22px 30px; border-radius: 16px; background: rgba(255, 255, 255, .045); border: 1px solid rgba(255, 255, 255, .13); }
@media (min-width: 1000px) { .hm-stairs li { border-radius: 16px 16px 0 0; border-bottom: 0; } }
.hm-stairs h3 { margin: 18px 0 8px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.hm-stairs p { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.hm-stairs__hot { background: linear-gradient(170deg, #d92d45, #9f0f27) !important; border-color: transparent !important; }
.hm-stairs__hot .hm-num { color: #fff; } .hm-stairs__hot p { color: rgba(255, 255, 255, .94); }
.hm-stairs__gift { position: absolute; right: -14px; bottom: -14px; width: 120px; height: 120px; color: rgba(255, 255, 255, .16); stroke-width: 1.4; }

/* ---------- 6 · Services by platform -------------------------------------- */
.hm-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hm-tab { display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 7px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px; cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.hm-tab .hm-app { width: 32px; height: 32px; font-size: 16px; border-radius: 10px; box-shadow: none; }
.hm-tab:hover { border-color: var(--line-strong); transform: translateY(-1px); }
.hm-tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: 0 10px 22px -12px rgba(8, 47, 36, .8); }
.hm-tab:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hm-panel { position: relative; display: grid; gap: 26px; margin-top: 26px; padding: clamp(22px, 4vw, 46px); border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
.hm-panel[hidden] { display: none; }
@media (min-width: 860px) { .hm-panel { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 48px; } }
.hm-panel h3 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.hm-panel__copy p { margin: 14px 0 24px; color: var(--text-2); font-size: 16px; line-height: 1.65; max-width: 52ch; }
.hm-panel__list { display: grid; gap: 14px; min-width: 0; }
.hm-panel__ico { width: 60px; height: 60px; font-size: 30px; border-radius: 17px; }
.hm-panel__list ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.hm-panel__list li { position: relative; padding: 11px 14px 11px 34px; border-radius: 11px; background: var(--bg-sunk); font-size: 14.5px; font-weight: 550; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hm-panel__list li::before { content: ""; position: absolute; left: 14px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--gold); }

/* ---------- 7 · Advantages -------------------------------------------------- */
.hm-adv { background: var(--bg-sunk); }
.hm-adv__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .hm-adv__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) { .hm-adv__c--feat { grid-column: 1 / -1; min-height: 240px; } }
@media (min-width: 980px) { .hm-adv__grid { grid-template-columns: 1.1fr 1fr 1fr; } .hm-adv__c--feat { grid-column: auto; grid-row: span 2; min-height: 300px; } }
.hm-adv__c { padding: 28px 26px 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.hm-adv__c h3 { margin: 18px 0 8px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.hm-adv__c p { color: var(--text-2); font-size: 15px; line-height: 1.6; }
.hm-adv__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-text); }
.hm-adv__c--feat { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; color: #f8f0de; border-color: transparent;
  background: radial-gradient(90% 60% at 80% 0%, rgba(217, 45, 69, .55), transparent 70%), linear-gradient(180deg, #0f5a41, #06261c); }
.hm-adv__c--feat h3 { color: #fff; font-size: 24px; } .hm-adv__c--feat p { color: rgba(248, 240, 222, .88); font-size: 16px; }
.hm-adv__c--feat .hm-adv__ico { width: 64px; height: 64px; border-radius: 18px; background: rgba(255, 211, 107, .16); color: #ffd36b; margin-bottom: auto; }
.hm-adv__c--feat .hm-adv__ico .i { width: 30px; height: 30px; }

/* ---------- 8 · FAQ -------------------------------------------------------- */
.hm-acc-list { display: grid; gap: 12px; }
.hm-acc-list details { border-radius: 16px; border: 1px solid var(--line); background: var(--surface); transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease); }
.hm-acc-list details[open] { border-color: var(--gold-line); background: var(--surface-2, var(--surface)); }
.hm-acc-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; list-style: none; border-radius: 16px; }
.hm-acc-list summary::-webkit-details-marker { display: none; }
.hm-acc-list summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hm-q { font-size: clamp(15.5px, 1.8vw, 17.5px); font-weight: 650; letter-spacing: -.005em; line-height: 1.4; }
.hm-q i { font-style: normal; margin-right: 10px; color: var(--gold-text); font-weight: 700; }
.hm-pm { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red); }
.hm-pm::before, .hm-pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; border-radius: 2px; background: #fff; transition: transform var(--t-base) var(--ease); }
.hm-pm::after { transform: rotate(90deg); } details[open] .hm-pm::after { transform: rotate(0); }
.hm-a { padding: 0 20px 22px; color: var(--text-2); line-height: 1.7; font-size: 15.5px; max-width: 72ch; overflow-wrap: anywhere; }
.hm-more { margin-top: 22px; text-align: center; }

/* ---------- 9 · Closing call to action ------------------------------------- */
.hm-end { padding: clamp(60px, 9vw, 112px) 0; text-align: center; background: radial-gradient(60% 90% at 50% 120%, rgba(217, 45, 69, .5), transparent 70%), #04120d; }
.hm-end p { margin: 14px auto 0; max-width: 52ch; color: var(--text-2); font-size: 17px; }
.hm-end .hm-h2 { max-width: 20ch; margin: 0 auto; }

/* Telegram "Join" pill (only when a Telegram link is set in admin) */
.hm-join { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 60; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: var(--r-pill);
  background: #229ed9; color: #fff; font-weight: 700; box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .6); }
.hm-join:hover { color: #fff; filter: brightness(1.08); } .hm-join i { font-size: 20px; }

@media (max-width: 959.98px) { .hm-star { display: none; } }
@media (prefers-reduced-motion: reduce) { .hm-star { animation: none; } .hm-tab:hover { transform: none; } }
@media (max-width: 479.98px) { .hm-pay__grid { gap: 10px; } .hm-pay__m { flex: 0 1 calc(50% - 5px); width: calc(50% - 5px); padding: 10px 8px 12px; } .hm-pay__logo { height: 56px; padding: 8px 10px; } .hm-pay__m b { font-size: 14px; } }

/* Mobile money: the three networks side by side on the logo plate */
.hm-pay__logo--nets { grid-auto-flow: column; grid-auto-columns: 1fr; align-items: center; justify-items: center; gap: 8px; padding: 8px 10px; }
.hm-net { display: grid; place-items: center; width: 100%; height: 36px; min-width: 0; border-radius: 8px; }
.hm-net img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.hm-net--mtn { background: #ffcb05; padding: 3px 4px; }           /* MTN's logo is black on its signature yellow */
.hm-net--telecel { padding: 2px; }
.hm-net--at { padding: 2px; }
@media (max-width: 479.98px) { .hm-pay__logo--nets { gap: 5px; padding: 6px 6px; } .hm-net { height: 32px; } }
@media (max-width: 479.98px) { .hm-pay__m--nets { flex: 0 1 100%; width: 100%; } .hm-pay__logo--nets { gap: 12px; padding: 8px 14px; } .hm-net { height: 40px; } }

/* Services by platform · phones: an even 2-column grid of platforms, and a tidy panel under it */
@media (max-width: 639.98px) {
  .hm-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 420px; margin-inline: auto; }
  .hm-tab { width: 100%; min-width: 0; justify-content: flex-start; gap: 9px; padding: 7px 10px 7px 7px; font-size: 14px; border-radius: 13px; }
  .hm-tab .hm-app { flex: none; }
  .hm-panel { margin-top: 18px; padding: 20px 18px; gap: 18px; border-radius: 20px; text-align: left; }
  .hm-panel h3 { font-size: 26px; }
  .hm-panel__copy p { margin: 10px 0 18px; font-size: 15px; line-height: 1.6; max-width: none; }
  .hm-panel__copy .sg-btn { width: 100%; justify-content: center; }
  .hm-panel__list { gap: 10px; padding-top: 16px; border-top: 1px dashed var(--line-strong); }
  .hm-panel__ico { width: 48px; height: 48px; font-size: 24px; border-radius: 14px; }
  .hm-panel__list li { white-space: normal; padding: 10px 12px 10px 32px; font-size: 14px; line-height: 1.35; }
}

/* Hero: Santa video as the background (landscape cut on desktop/tablet, portrait cut on phones) */
.hm-hero { position: relative; overflow: hidden; isolation: isolate; }
.hm-herobg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #04120d; pointer-events: none; }
.hm-herobg__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 40%; display: block; }
/* dark veil: keeps the headline and buttons readable while Santa stays visible on the right */
.hm-herobg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4, 18, 13, .94) 0%, rgba(4, 18, 13, .78) 34%, rgba(4, 18, 13, .28) 62%, rgba(4, 18, 13, .08) 100%),
              linear-gradient(0deg, rgba(4, 18, 13, .72) 0%, transparent 28%); }
.hm-hero > .hm-star { z-index: 1; }
.hm-hero__in { position: relative; z-index: 2; }
.hm-hero .hm-dock { justify-content: flex-start; margin-top: 28px; width: fit-content; max-width: 100%; }
/* tablets: text on top, picture beneath it */
@media (max-width: 959.98px) {
  .hm-hero__in { padding-bottom: 240px; }
  .hm-herobg__v { object-position: 76% 50%; }
  .hm-herobg::after { background: linear-gradient(180deg, rgba(4, 18, 13, .9) 0%, rgba(4, 18, 13, .7) 45%, rgba(4, 18, 13, .15) 100%), linear-gradient(0deg, rgba(4, 18, 13, .7) 0%, transparent 25%); }
}
/* phones: the portrait video sits at the bottom, fading into the dark behind the headline */
@media (max-width: 599.98px) {
  .hm-herobg__v { top: auto; bottom: 0; height: auto; aspect-ratio: 464 / 824; object-position: center bottom; }
  .hm-herobg { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .hm-herobg::after { background: linear-gradient(180deg, rgba(4, 18, 13, .55) 0%, transparent 40%), linear-gradient(0deg, rgba(4, 18, 13, .6) 0%, transparent 22%); }
  .hm-hero__in { padding-bottom: 330px; }
}

/* 3D Santa canvas (santa3d.js) sits over the page background; the video is only the fallback */
.hm-herobg__v { opacity: 0; transition: opacity .5s var(--ease, ease); }
.hm-herobg.is-video .hm-herobg__v { opacity: 1; }
.hm-herobg:not(.is-video)::after { background: linear-gradient(90deg, rgba(4, 18, 13, .35) 0%, transparent 55%), linear-gradient(0deg, rgba(4, 18, 13, .55) 0%, transparent 18%); }
.hm-herobg__3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .9s ease; }
.hm-herobg.is-3d .hm-herobg__3d { opacity: 1; }
@media (max-width: 599.98px) { .hm-herobg:not(.is-video) { -webkit-mask-image: none; mask-image: none; } .hm-hero__in { padding-bottom: 460px; } }
@media (min-width: 600px) and (max-width: 959.98px) { .hm-hero__in { padding-bottom: 400px; } }
