/* LiveSoko Partners — one stylesheet, phone first. The shop's type and
   colours (Outfit for display, Inter for text, the brand orange), so a
   partner moving between the two sees one company. */
:root {
  --ink: #0B0B0C; --ink-2: #44474F; --ink-3: #80858D;
  --brand: #FF5F35; --brand-2: #E8481F; --brand-050: #FFF1EC;
  --grad: linear-gradient(135deg, #FFA41B 0%, #FF5A0F 50%, #E3200A 100%);
  --ok: #12805C; --ok-bg: #E6F5EF; --warn: #B26A00; --warn-bg: #FDF3E3; --bad: #C2271C; --bad-bg: #FDECEA;
  --page: #FAF8F5; --panel: #FFFFFF; --panel-2: #F6F3EF; --line: #ECE6DF;
  --r: 16px; --r-sm: 11px; --r-pill: 999px;
  --sh: 0 6px 22px rgba(11,11,12,.07); --sh-lg: 0 18px 50px rgba(11,11,12,.14);
  --ff: 'Inter', system-ui, sans-serif; --ff-d: 'Outfit', 'Inter', system-ui, sans-serif;
  --tab-h: 62px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--ff); color: var(--ink); background: var(--page); }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--ff-d); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
code { font: 500 .86rem/1.4 ui-monospace, 'SFMono-Regular', Menlo, monospace; }
img { max-width: 100%; }
.ic { width: 18px; height: 18px; flex: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 520px; }
.dim { color: var(--ink-3); }
.tiny { font-size: .78rem; }
.mono { font-variant-numeric: tabular-nums; }

/* ---- buttons ---------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 44px; padding: 0 18px;
  border-radius: var(--r-pill); border: 1px solid transparent; font: 600 .92rem var(--ff); cursor: pointer;
  background: var(--panel); color: var(--ink); transition: transform .12s, background .15s, box-shadow .15s; }
.btn:active { transform: scale(.98); }
.btn-sm { height: 36px; padding: 0 13px; font-size: .84rem; }
.btn-lg { height: 52px; padding: 0 26px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(255,95,53,.3); }
.btn-primary:hover { background: var(--brand-2); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--line); background: var(--panel); }
.btn-ghost:hover { border-color: var(--ink-3); }
.btn-wa { background: #25D366; color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---- header, tabs, footer -------------------------------------------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; height: 62px; }
.brand { display: flex; align-items: center; gap: 8px; flex: none; }
.brand img { height: 26px; width: auto; display: block; }
.brand-tag { font: 700 .7rem var(--ff); letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px;
  border-radius: 6px; background: var(--ink); color: #fff; }
.top-links { margin-left: auto; display: flex; align-items: center; gap: 18px; font-weight: 600; font-size: .9rem; }
.top-links a:not(.btn) { color: var(--ink-2); }
.top-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 640px) { .top-links a:not(.btn) { display: none; } }
.tabs { display: none; }
.top-out { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-weight: 600; font-size: .85rem; }
.top-out:hover { color: var(--ink); }
@media (min-width: 900px) {
  .tabs { display: flex; gap: 4px; margin-left: 18px; }
  .tabs a { display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: var(--r-pill);
    font-weight: 600; font-size: .9rem; color: var(--ink-2); }
  .tabs a:hover { background: var(--panel-2); color: var(--ink); }
  .tabs a.on { background: var(--brand-050); color: var(--brand-2); }
}
@media (max-width: 899px) { .top-out span { display: none; } }
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; height: calc(var(--tab-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(0,0,0,.05); }
.tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  font-size: .68rem; font-weight: 600; color: var(--ink-3); }
.tabbar a .ic { width: 22px; height: 22px; }
.tabbar a.on { color: var(--brand-2); }
@media (min-width: 900px) { .tabbar { display: none; } }
.is-member main { padding-bottom: calc(var(--tab-h) + 30px); }
@media (min-width: 900px) { .is-member main { padding-bottom: 40px; } }
.foot { border-top: 1px solid var(--line); margin-top: 48px; padding: 22px 0; font-size: .82rem; color: var(--ink-3); }
.is-member .foot { margin-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .is-member .foot { margin-bottom: 0; } }
.foot-in { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a:hover { color: var(--ink); }

/* ---- flashes, toast, QR ---------------------------------------------- */
.flash { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; padding: 12px 14px; border-radius: var(--r-sm); font-size: .9rem; }
.flash-ok { background: var(--ok-bg); color: var(--ok); }
.flash-err { background: var(--bad-bg); color: var(--bad); }
.flash-info { background: var(--warn-bg); color: var(--warn); }
.toast { position: fixed; left: 50%; bottom: calc(var(--tab-h) + 24px); transform: translate(-50%, 12px); opacity: 0; z-index: 60;
  background: var(--ink); color: #fff; padding: 11px 18px; border-radius: var(--r-pill); font-weight: 600; font-size: .88rem;
  transition: .2s; box-shadow: var(--sh-lg); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.qr-wrap { position: fixed; inset: 0; z-index: 70; background: rgba(11,11,12,.55); display: grid; place-items: center; padding: 16px; }
.qr-box { background: #fff; border-radius: var(--r); padding: 22px; text-align: center; max-width: 340px; width: 100%; box-shadow: var(--sh-lg); }
.qr-box canvas { width: 260px; max-width: 100%; height: auto; image-rendering: pixelated; }
.qr-box p { font-size: .78rem; color: var(--ink-3); word-break: break-all; margin: 10px 0 14px; }
.qr-acts { display: flex; gap: 8px; justify-content: center; }
.qr-box h3 { font-size: 1.05rem; }
.qr-box .cb-text { width: 100%; margin-bottom: 14px; font: 500 .84rem ui-monospace, monospace; }

/* ---- forms ------------------------------------------------------------ */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.card + .card { margin-top: 14px; }
.card h2 { font-size: 1.15rem; }
.card-sub { color: var(--ink-3); font-size: .88rem; margin-top: 4px; }
.field { display: block; margin-top: 16px; }
.field > span { display: block; font-weight: 600; font-size: .86rem; margin-bottom: 6px; }
.field small { display: block; color: var(--ink-3); font-size: .78rem; margin-top: 5px; }
.field .err { color: var(--bad); }
.input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff;
  font: 500 1rem var(--ff); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050); }
.input-otp { font: 700 1.5rem var(--ff-d); letter-spacing: .4em; text-align: center; }
.input-pre { display: flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.input-pre > b { display: grid; place-items: center; padding: 0 12px; background: var(--panel-2); color: var(--ink-2); font-weight: 600; font-size: .9rem; }
.input-pre .input { border: 0; border-radius: 0; }
.input-pre:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-050); }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2380858D' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .88rem; color: var(--ink-2); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); flex: none; }
.check a { color: var(--brand-2); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; padding: 8px 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: .86rem; font-weight: 600; cursor: pointer; }
.chip input:checked + span { border-color: var(--brand); background: var(--brand-050); color: var(--brand-2); }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--brand-050); }

/* ---- join ------------------------------------------------------------- */
.join { padding: 34px 0 10px; }
.join h1 { font-size: 1.75rem; }
.join-lead { color: var(--ink-2); margin-top: 8px; }
.steps-dots { display: flex; gap: 6px; margin-bottom: 18px; }
.steps-dots i { height: 4px; flex: 1; border-radius: 4px; background: var(--line); }
.steps-dots i.on { background: var(--brand); }
.code-preview { margin-top: 10px; font-size: .84rem; color: var(--ink-3); }
.code-preview b { color: var(--ink); font-family: ui-monospace, monospace; }

/* ---- dashboard -------------------------------------------------------- */
.hello { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 26px 0 16px; flex-wrap: wrap; }
.hello h1 { font-size: 1.6rem; }
.hello p { color: var(--ink-2); margin-top: 4px; }
.code-pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 8px 7px 14px; border-radius: var(--r-pill);
  background: var(--panel); border: 1px solid var(--line); font-weight: 600; font-size: .88rem; }
.code-pill b { font-family: ui-monospace, monospace; letter-spacing: .06em; }
.code-pill button { border: 0; background: var(--panel-2); border-radius: var(--r-pill); height: 28px; padding: 0 10px; font: 600 .78rem var(--ff); cursor: pointer; }
.money { border-radius: var(--r); padding: 22px; color: #fff; background: var(--ink); position: relative; overflow: hidden; }
.money::after { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,95,53,.55), transparent 65%); }
.money > * { position: relative; z-index: 1; }
.money-label { font-size: .8rem; color: rgba(255,255,255,.65); font-weight: 600; letter-spacing: .02em; }
.money-big { font: 800 2.3rem/1.1 var(--ff-d); margin: 6px 0 2px; letter-spacing: -.02em; }
.money-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); }
.money-row b { display: block; font: 700 1.05rem var(--ff-d); }
.money-row span { font-size: .74rem; color: rgba(255,255,255,.6); }
.money .btn { margin-top: 18px; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; }
.stat b { display: block; font: 700 1.4rem var(--ff-d); }
.stat span { font-size: .78rem; color: var(--ink-3); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.grid-2 > * { min-width: 0; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; } }
.sec-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 26px 0 12px; }
.sec-title h2 { font-size: 1.2rem; }
.sec-title a { font-size: .86rem; font-weight: 600; color: var(--brand-2); }
.link-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.link-card + .link-card { margin-top: 12px; }
.lc-head { display: flex; gap: 12px; align-items: flex-start; }
.lc-head b { display: block; font-size: .98rem; }
.lc-head span { display: block; font-size: .84rem; color: var(--ink-3); margin-top: 2px; }
.lc-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-050); color: var(--brand-2); flex: none; }
.lc-ico .ic { width: 20px; height: 20px; }
.lc-url { margin-top: 12px; padding: 10px 12px; background: var(--panel-2); border-radius: var(--r-sm); overflow-x: auto; white-space: nowrap; }
.lc-acts { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr) minmax(0, .8fr) 36px; gap: 6px; margin-top: 12px; }
.lc-acts .btn { padding: 0 6px; gap: 5px; min-width: 0; white-space: nowrap; }
/* Phones: words on Copy and Share, so WhatsApp keeps its name on one row. */
.lc-acts .btn:nth-child(1) .ic, .lc-acts .btn:nth-child(3) .ic { display: none; }
@media (min-width: 520px) { .lc-acts { display: flex; flex-wrap: wrap; gap: 8px; } .lc-acts .btn { padding: 0 13px; }
  .lc-acts .btn:nth-child(1) .ic, .lc-acts .btn:nth-child(3) .ic { display: inline-block; } }
.rates { display: grid; gap: 10px; }
.rate { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: var(--r-sm); background: var(--panel); border: 1px solid var(--line); }
.rate b { display: block; font-size: .95rem; }
.rate span { font-size: .84rem; color: var(--ink-3); }
.rate em { font-style: normal; font: 800 1.1rem var(--ff-d); color: var(--brand-2); margin-left: auto; white-space: nowrap; }
.nudge { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-sm); background: var(--warn-bg); color: var(--warn); font-size: .9rem; margin-top: 14px; }
.nudge a { margin-left: auto; font-weight: 700; white-space: nowrap; }

/* ---- lists ------------------------------------------------------------ */
.list { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.row { display: flex; gap: 12px; align-items: center; padding: 14px 16px; }
.row + .row { border-top: 1px solid var(--line); }
.row-ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--panel-2); color: var(--ink-2); flex: none; }
.row-main { flex: 1; min-width: 0; }
.row-main b { display: block; font-size: .92rem; font-weight: 600; }
.row-main span { display: block; font-size: .8rem; color: var(--ink-3); }
.row-amt { text-align: right; font: 700 .98rem var(--ff-d); white-space: nowrap; }
.row-amt small { display: block; font: 600 .72rem var(--ff); }
.pill { display: inline-block; padding: 2px 8px; border-radius: var(--r-pill); font-size: .7rem; font-weight: 700; }
.pill-pending { background: var(--warn-bg); color: var(--warn); }
.pill-approved { background: var(--ok-bg); color: var(--ok); }
.pill-paid { background: #E8EEFF; color: #3448C5; }
.pill-reversed { background: var(--panel-2); color: var(--ink-3); }
.empty { text-align: center; padding: 34px 18px; color: var(--ink-3); }
.empty b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 4px; }
.seg { display: flex; gap: 6px; margin: 0 0 14px; overflow-x: auto; }
.seg a { padding: 7px 13px; border-radius: var(--r-pill); border: 1px solid var(--line); background: #fff; font-size: .84rem; font-weight: 600; white-space: nowrap; }
.seg a.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- landing ---------------------------------------------------------- */
.hero { padding: 54px 0 30px; display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.1fr .9fr; padding: 80px 0 50px; } }
.hero-kicker { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--brand-050); color: var(--brand-2); font-weight: 700; font-size: .8rem; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); margin: 16px 0 14px; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; align-items: center; }
.hero-note { font-size: .84rem; color: var(--ink-3); }
.hero-card { background: var(--ink); color: #fff; border-radius: 22px; padding: 22px; box-shadow: var(--sh-lg); position: relative; overflow: hidden; }
.hero-card::after { content: ""; position: absolute; right: -80px; bottom: -100px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,95,53,.5), transparent 65%); }
.hero-card > * { position: relative; z-index: 1; }
.hc-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.hc-row:last-of-type { border-bottom: 0; }
.hc-row b { font: 700 1.05rem var(--ff-d); }
.hc-row span { color: rgba(255,255,255,.7); }
.hc-total { margin-top: 10px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: baseline; }
.hc-total b { font: 800 1.8rem var(--ff-d); }
.three { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 800px) { .three { grid-template-columns: repeat(3, 1fr); } }
.how { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.how i { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--grad); color: #fff; font: 800 .95rem var(--ff-d); font-style: normal; }
.how h3 { font-size: 1.08rem; margin: 12px 0 6px; }
.how p { color: var(--ink-2); font-size: .92rem; }
.earn { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 800px) { .earn { grid-template-columns: repeat(3, 1fr); } }
.earn-card { border-radius: var(--r); padding: 22px; background: var(--panel); border: 1px solid var(--line); }
.earn-card.hot { background: var(--ink); color: #fff; border-color: var(--ink); }
.earn-card.hot p { color: rgba(255,255,255,.72); }
.earn-card big { display: block; font: 800 2.2rem var(--ff-d); color: var(--brand); margin: 8px 0 4px; }
.earn-card h3 { font-size: 1.1rem; }
.earn-card p { color: var(--ink-2); font-size: .9rem; }
.section { padding: 40px 0 0; }
.section > h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
.section > p.sub { color: var(--ink-2); margin-top: 8px; max-width: 640px; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 16px; }
.faq details + details { margin-top: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--ink-2); margin-top: 8px; font-size: .92rem; }
.cta-band { margin-top: 44px; border-radius: 22px; padding: 30px 22px; background: var(--grad); color: #fff; text-align: center; }
.cta-band h2 { font-size: clamp(1.4rem, 4vw, 2rem); }
.cta-band p { opacity: .9; margin: 8px 0 18px; }
.cta-band .btn { background: #fff; color: var(--ink); }
.prose h2 { font-size: 1.2rem; margin: 26px 0 8px; }
.prose p, .prose li { color: var(--ink-2); font-size: .94rem; }
.prose li + li { margin-top: 6px; }
