/* AdPay "mono" theme — white & black minimal look: centred logo, big black rounded panels with a soft
   corner light, light-grey cards, lighter large headings. Loaded last on every public page (body.th-mono).
   Brand colour (Website Editor) is still used for small accents. */

body.th-mono { background: #fff; letter-spacing: -.005em; }
.th-mono main h1, .th-mono main h2 { font-weight: 500 !important; letter-spacing: -.035em; }
.th-mono main h3 { letter-spacing: -.02em; }
.th-mono main h1 .text-brand-500, .th-mono main h2 .text-brand-500, .th-mono main h1 .text-brand-600, .th-mono main h2 .text-brand-600,
.th-mono main h1 .fx-gtext, .th-mono main h2 .fx-gtext, .th-dim { color: #a1a1aa !important; background: none !important; -webkit-text-fill-color: currentColor; animation: none; }
.th-mono .bg-ink-900 h1 .text-brand-400, .th-mono .bg-ink-900 h2 .text-brand-400, .th-mono .th-hero .th-dim, .th-mono .bg-ink-900 .th-dim { color: rgba(255,255,255,.42) !important; }
.th-mono .fx-aurora, .th-mono .fx-grid, .th-mono #scrollBar { display: none !important; }

/* ---------- header ---------- */
.th-head { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); }
.th-nl { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; color: #3f3f46; font-weight: 500; transition: background .2s, color .2s; }
.th-nl:hover { background: #f4f4f5; color: #09090b; }
.th-nl.on { color: #09090b; font-weight: 600; background: #f4f4f5; }
.th-new { font-size: 9px; font-weight: 700; letter-spacing: .04em; padding: 2px 6px; border-radius: 99px; background: rgb(var(--brand-500) / .14); color: rgb(var(--brand-700)); }
.th-pill { display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 99px; background: #09090b; color: #fff; font-weight: 600; font-size: 13px; transition: transform .2s, background .2s; }
.th-pill:hover { background: #27272a; transform: translateY(-1px); }
.th-pill-lg { padding: 13px 24px; font-size: 14px; }

/* ---------- small tag chips ---------- */
.th-tag { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 99px; background: rgb(var(--brand-500) / .12); color: rgb(var(--brand-700)); font-size: 12px; font-weight: 600; }
.th-tag i { width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--brand-500)); }
.th-tag-dark { background: rgba(255,255,255,.08); color: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.1); }
.th-tag-dark i { background: rgb(var(--brand-400)); box-shadow: 0 0 10px rgb(var(--brand-400)); }

/* ---------- hero: big black panel ---------- */
.th-hero { position: relative; overflow: hidden; border-radius: 28px; background: #050505; display: flex; flex-direction: column; }
/* light that follows the mouse inside the black panel */
.th-hero .th-spot { position: absolute; z-index: 1; width: 520px; height: 520px; border-radius: 50%; pointer-events: none; left: var(--mx, 70%); top: var(--my, 20%); translate: -50% -50%;
                    background: radial-gradient(closest-side, rgb(var(--brand-400) / .22), transparent); transition: left .25s ease-out, top .25s ease-out; }
.th-hero::after { content: ""; position: absolute; left: -8%; top: -20%; width: 34%; height: 120%; pointer-events: none; z-index: 0;
                  background: linear-gradient(115deg, rgba(255,255,255,.16), rgb(var(--brand-400) / .10) 40%, transparent 70%); filter: blur(40px); transform: rotate(18deg);
                  animation: thBeam 9s ease-in-out infinite alternate; }
@keyframes thBeam { from { opacity: .55; transform: rotate(18deg) translateX(0) } to { opacity: 1; transform: rotate(12deg) translateX(18%) } }
.th-btn-w { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 99px; background: #fff; color: #09090b; font-weight: 600; font-size: 14px; transition: transform .2s, box-shadow .2s; }
.th-btn-w:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(255,255,255,.35); }
.th-btn-g { display: inline-flex; align-items: center; padding: 12px 22px; border-radius: 99px; color: #fff; font-weight: 600; font-size: 14px; border: 1px solid rgba(255,255,255,.18); transition: background .2s, border-color .2s; }
.th-btn-g:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); }

/* dashboard preview inside the hero */
.hd { position: relative; z-index: 2; margin-top: auto; padding: 56px 4% 0; }
.hd-win { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 17% 1fr; border-radius: 20px 20px 0 0; overflow: hidden; font-size: clamp(8.5px, .88vw, 12.5px); color: #e4e4e7;
          background: linear-gradient(180deg, #161616, #0c0c0c 70%); border: 1px solid rgba(255,255,255,.08); border-bottom: 0; box-shadow: 0 -30px 80px -40px rgb(var(--brand-400) / .35);
          opacity: 0; }
.hd-go .hd-win { animation: hdRise 1.3s cubic-bezier(.2,.8,.2,1) .15s both; }
@keyframes hdRise { from { opacity: 0; transform: translateY(90px) scale(.96); filter: blur(12px) } to { opacity: 1; transform: none; filter: none } }
.hd-side { padding: 1.8em 1.2em; border-right: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
.hd-logo { display: flex; align-items: center; gap: .6em; font-weight: 700; font-size: 1.15em; color: #fff; } .hd-logo img { width: 1.8em; height: 1.8em; }
.hd-sec { margin: 1.8em 0 .7em; font-size: .78em; text-transform: uppercase; letter-spacing: .12em; color: #71717a; }
.hd-nav { display: flex; align-items: center; gap: .8em; padding: .65em .8em; border-radius: .7em; color: #a1a1aa; }
.hd-nav i { width: 1.1em; text-align: center; font-size: .95em; }
.hd-nav.on { background: rgba(255,255,255,.07); color: #fff; } .hd-nav.on i { color: rgb(var(--brand-400)); }
.hd-main { padding: 1.6em 1.8em 1.8em; }
.hd-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4em; } .hd-top b { font-size: 1.4em; font-weight: 600; color: #fff; }
.hd-user { display: flex; align-items: center; gap: .6em; padding: .35em .8em .35em .35em; border-radius: 99px; background: rgba(255,255,255,.06); color: #d4d4d8; } .hd-user i { font-size: .7em; }
.hd-av { width: 1.9em; height: 1.9em; border-radius: 50%; display: grid; place-items: center; background: rgb(var(--brand-500)); color: #fff; font-weight: 700; }
.hd-grid { display: grid; grid-template-columns: 1.05fr 1fr .8fr; gap: 1.2em; }
.hd-col { border-radius: 1.2em; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); padding: 1.2em; }
.hd-tabs { display: flex; gap: .4em; margin-bottom: 1em; } .hd-tabs span { padding: .35em .8em; border-radius: 99px; color: #a1a1aa; } .hd-tabs .on { background: #fff; color: #09090b; font-weight: 600; }
.hd-card { aspect-ratio: 1.586; border-radius: 1em; padding: 1em; display: flex; flex-direction: column; justify-content: space-between; color: #fff; position: relative; overflow: hidden;
           background: radial-gradient(120% 140% at 100% 0%, rgb(var(--brand-500) / .55), transparent 55%), linear-gradient(135deg, #2a2a2a, #0a0a0a); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.hd-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.22) 50%, transparent 65%); background-size: 250% 100%; animation: hsShine 4s ease-in-out 2.4s infinite; }
.hd-card-r { display: flex; justify-content: space-between; align-items: center; } .hd-card-r img { width: 1.5em; height: 1.5em; vertical-align: middle; margin-right: .3em; }
.hd-card-r > span:first-child { font-weight: 700; display: flex; align-items: center; }
.hd-sm { font-size: .75em; letter-spacing: .14em; opacity: .75; font-weight: 600; }
.hd-chip { width: 2.3em; height: 1.7em; border-radius: .3em; background: linear-gradient(135deg, #f5e3a0, #c9a54a); }
.hd-num { font-family: ui-monospace, Menlo, monospace; letter-spacing: .12em; font-size: .95em; margin-bottom: .2em; }
.hd-list { margin-top: 1em; display: grid; gap: .6em; }
.hd-list > div { display: flex; align-items: center; gap: .7em; } .hd-list > div > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; color: #e4e4e7; } .hd-list small { color: #71717a; font-size: .85em; }
.hd-list b { font-weight: 600; color: #fff; }
.hd-ic { width: 2.3em; height: 2.3em; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.hd-lbl { color: #a1a1aa; }
.hd-bal { margin-top: .2em; font-size: 2.6em; font-weight: 600; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; } .hd-bal small { font-size: .45em; color: #71717a; }
.hd-up { color: rgb(var(--brand-400)); font-weight: 600; font-size: .92em; }
.hd-bars { margin-top: 1.4em; height: 6.5em; display: flex; align-items: flex-end; gap: .45em; }
.hd-bars i { flex: 1; height: var(--h); border-radius: .4em .4em .15em .15em; background: linear-gradient(180deg, rgb(var(--brand-400)), rgb(var(--brand-600) / .4)); transform-origin: bottom; transform: scaleY(0); }
.hd-go .hd-bars i { animation: hdBar .9s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: calc(1s + var(--d)); }
@keyframes hdBar { to { transform: scaleY(1) } }
.hd-acts { margin-top: 1.2em; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; } .hd-acts span { display: flex; flex-direction: column; align-items: center; gap: .4em; padding: .7em .2em; border-radius: .8em; background: rgba(255,255,255,.05); color: #d4d4d8; }
.hd-acts i { color: rgb(var(--brand-400)); }
.hd-pill { padding: .3em .8em; border-radius: 99px; background: rgba(255,255,255,.06); color: #a1a1aa; font-size: .85em; }
.hd-donut { position: relative; width: 78%; margin: 1.2em auto .6em; aspect-ratio: 1; }
.hd-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hd-donut span { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; } .hd-donut b { font-size: 1.3em; color: #fff; font-weight: 600; } .hd-donut small { color: #71717a; }
.hd-arc { stroke-dasharray: 0 100; }
.hd-arc.b { stroke-dashoffset: var(--o); }
.hd-go .hd-arc { animation: hdArc 1.4s cubic-bezier(.2,.8,.2,1) 1.1s forwards; } .hd-go .hd-arc.b { animation-delay: 1.4s; }
@keyframes hdArc { to { stroke-dasharray: var(--v) 100 } }
.hd-leg { display: flex; align-items: center; gap: .5em; color: #a1a1aa; margin-top: .3em; } .hd-leg i { width: .7em; height: .7em; border-radius: 50%; }

/* ---------- light-grey boxes & cards ---------- */
.th-box { border-radius: 32px; background: #f4f4f5; padding: 20px; }
.th-mono main .shadow-soft { box-shadow: none !important; }
.th-mono main .bg-white.rounded-3xl, .th-mono main .bg-white.rounded-2xl, .th-mono main .bg-white.rounded-\[2rem\], .th-mono main .bg-white.rounded-\[28px\],
.th-mono main .bg-\[\#eceef1\] { background-color: #f4f4f5 !important; border-color: transparent !important; }
.th-mono main .bg-\[\#f4f4f5\] .bg-\[\#f6f7f9\], .th-mono main .bg-white.rounded-3xl .bg-\[\#f6f7f9\], .th-mono main .bg-white.rounded-\[2rem\] .bg-\[\#f6f7f9\], .th-mono main .bg-\[\#eceef1\] .bg-white { background-color: #fff !important; }
.th-mono main .bg-brand-50.text-brand-700 { background: rgb(var(--brand-500) / .12); }
.th-mono main .rounded-3xl.bg-ink-900, .th-mono main .rounded-\[2rem\].bg-ink-900 { background: #050505; border-radius: 28px; }

/* banners → black panels with the corner light */
.th-mono .pb1, .th-mono .pb2, .th-mono .pb3, .th-mono .pb4 { background: radial-gradient(60% 90% at 0% 0%, rgba(255,255,255,.12), transparent 60%), radial-gradient(70% 100% at 100% 100%, rgb(var(--brand-500) / .28), transparent 60%), #050505; border-radius: 28px; }
.th-mono .pb h3 { font-weight: 500; letter-spacing: -.035em; }
.th-mono .pb-wrap > .overflow-hidden { border-radius: 28px; }

/* 3D card section + footer as inset rounded panels */
.th-mono .c3-sec { margin: 0 16px; border-radius: 28px; background: #050505; }
.th-mono .c3-sec h2 { font-weight: 500 !important; }
.th-mono footer.bg-ink-900 { margin: 16px; border-radius: 28px; background: #050505; }
.th-mono footer .fx-aurora { display: none; }

@media (max-width: 1023px) {
  .hd { padding: 40px 14px 0; }
  .hd-win { grid-template-columns: 1fr; font-size: 11px; }
  .hd-side, .hd-stat { display: none; }
  .hd-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .th-hero { min-height: 0; border-radius: 24px; }
  .hd-grid { grid-template-columns: 1fr; } .hd-grid > .hd-col:nth-child(2) { display: none; }
  .th-mono .c3-sec { margin: 0 8px; } .th-mono footer.bg-ink-900 { margin: 8px; border-radius: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .th-hero, .hd-win, .hd-bars i, .hd-arc, .th-hero::after, .th-top-bg i, .th-marq-in, .th-glow { animation: none !important; }
  .hd-win { opacity: 1; }
  .hd-bars i { transform: none; } .hd-arc { stroke-dasharray: var(--v) 100; }
}

/* coloured call-to-action panels → black with the corner light */
.th-mono main .rounded-\[2rem\].bg-gradient-to-br.from-brand-500, .th-mono main .rounded-3xl.bg-gradient-to-br.from-brand-500 { background: radial-gradient(60% 90% at 0% 0%, rgba(255,255,255,.14), transparent 60%), radial-gradient(70% 100% at 100% 100%, rgb(var(--brand-500) / .35), transparent 60%), #050505 !important; border-radius: 28px; }

/* light page heroes: no coloured blobs; full-width dark sections become inset rounded panels */
.th-mono main > section > .blob, .th-mono main > section > .absolute.blur-3xl { display: none; }
.th-mono main > section.bg-ink-900 { margin: 0 16px; border-radius: 28px; background: #050505; }
@media (max-width: 640px) { .th-mono main > section.bg-ink-900 { margin: 0 8px; border-radius: 24px; } }

.th-nl.hidden { display: none; }
@media (min-width: 640px) { .th-nl.sm\:inline-flex { display: inline-flex; } }
.th-pill, .th-nl { white-space: nowrap; }
.th-mono main .bg-gradient-to-br[class*="rounded-"][class*="from-ink"], .th-mono main .bg-gradient-to-r[class*="rounded-"][class*="from-ink"] { background: radial-gradient(60% 90% at 0% 0%, rgba(255,255,255,.14), transparent 60%), radial-gradient(70% 100% at 100% 100%, rgb(var(--brand-500) / .35), transparent 60%), #050505 !important; }
.th-mono main .rounded-\[32px\].bg-gradient-to-br.from-brand-500 { background: radial-gradient(60% 90% at 0% 0%, rgba(255,255,255,.14), transparent 60%), radial-gradient(70% 100% at 100% 100%, rgb(var(--brand-500) / .35), transparent 60%), #050505 !important; border-radius: 28px; }
.th-mono main .bg-gradient-to-b.from-brand-50 { background: #fff; }

/* header layout: phone/tablet = logo left · buttons right; desktop = links | logo | links */
.th-bar { display: flex; justify-content: space-between; }
@media (min-width: 1024px) { .th-bar { display: grid; grid-template-columns: 1fr auto 1fr; } .th-logo { justify-self: center; } }
@media (max-width: 1023px) {
  .th-head .th-pill { padding: 8px 14px; }
  .th-logo .text-lg { font-size: 17px; }
}
@media (max-width: 360px) { .th-head .th-pill { padding: 7px 11px; font-size: 12px; } }


/* ---------- top hero (person with phone) ---------- */
.th-top-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.th-top-bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(9,9,11,.07) 1px, transparent 1px); background-size: 22px 22px;
                     -webkit-mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 65% 40%, #000, transparent 75%); }
.th-top-bg i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; }
.th-top-bg i:nth-child(1) { width: 460px; height: 460px; right: 4%; top: 6%; background: rgb(var(--brand-400)); animation: thDrift 16s ease-in-out infinite alternate; }
.th-top-bg i:nth-child(2) { width: 340px; height: 340px; left: -6%; bottom: 0; background: rgb(var(--brand-300, 167 139 250) / .7); opacity: .22; animation: thDrift 20s ease-in-out -6s infinite alternate-reverse; }
@keyframes thDrift { 0% { transform: translate(0,0) scale(1) } 50% { transform: translate(-40px,30px) scale(1.12) } 100% { transform: translate(30px,-20px) scale(.95) } }
.th-box-hero { background: linear-gradient(160deg, #f4f4f5, #ececee); padding: 10px; position: relative; }
.th-box-hero::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(9,9,11,.05); pointer-events: none; }
.th-pill-o { display: inline-flex; align-items: center; padding: 13px 22px; border-radius: 99px; border: 1px solid #e4e4e7; background: #fff; color: #09090b; font-weight: 600; font-size: 14px; transition: border-color .2s, transform .2s; }
.th-pill-o:hover { border-color: #09090b; transform: translateY(-1px); }
.th-glow { position: relative; isolation: isolate; }
.th-glow::before { content: ""; position: absolute; inset: -3px; border-radius: inherit; z-index: -1; background: conic-gradient(from var(--a, 0deg), rgb(var(--brand-400)), transparent 30%, transparent 70%, rgb(var(--brand-400))); animation: thRing 3s linear infinite; filter: blur(2px); }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes thRing { to { --a: 360deg } }
/* marquee */
.th-marq { position: relative; overflow: hidden; padding: 6px 0 34px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.th-marq-in { display: flex; gap: 12px; width: max-content; animation: thMarq 38s linear infinite; }
.th-marq:hover .th-marq-in { animation-play-state: paused; }
.th-marq span { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; background: #f4f4f5; color: #3f3f46; font-size: 14px; font-weight: 600; white-space: nowrap; }
.th-marq span i { font-size: 18px; color: #09090b; }
@keyframes thMarq { to { transform: translateX(-50%) } }
@media (max-width: 640px) { .th-box-hero { padding: 4px; border-radius: 26px; } .th-marq span { font-size: 13px; padding: 8px 14px; } }
