/* VooSquare Affiliates: polish layer (owner 2026-11-03: "make it nicer, colour is good, more serious").
   Same palette (green, lime, night). Calmer type, tighter hierarchy, no cartoons on the program pages, no pulsing dots,
   motion only where it shows a change. Loaded after aff.css and aff-live.css. */

/* ---------- global: quieter, sharper ---------- */
.aff-root { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11"; }
.aff-root h1, .aff-root h2 { text-wrap: balance; }
.aff-root p { text-wrap: pretty; }
.aff-root .live-dot { display: none !important; }
.aff-root .bs-wave { animation: none; display: none; }
.sec-h h2, .sec h2 { letter-spacing: -.045em; }
.hero h1 { letter-spacing: -.05em; line-height: 1.02; max-width: 15ch; font-size: clamp(36px, 4.4vw, 60px); margin-top: 0; }
.hero-in { padding-top: 64px; }
.sec-h p, .lead { line-height: 1.6; }
.foot-n { color: var(--muted); font-size: 14px; max-width: 72ch; }
.ex { letter-spacing: 0; font-family: inherit; font-size: 10.5px; }

/* ---------- tables: steady rhythm, numbers aligned ---------- */
.aff-root .tbl { font-variant-numeric: tabular-nums; }
.aff-root .tbl thead th { font-size: 12px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--muted); background: var(--bg2); position: sticky; top: 0; z-index: 1; }
.aff-root .tbl tbody tr { transition: background-color .15s; }
.aff-root .tbl tbody tr:hover { background: color-mix(in srgb, var(--brand) 5%, transparent); }
.aff-root .tbl td small.d { display: block; font-size: 12px; }
.selc { width: 36px; } .selc input { width: 16px; height: 16px; accent-color: var(--deep); }

/* ---------- how it works: six steps with timing ---------- */
.how-6 { grid-template-columns: repeat(6, 1fr); }
.how-6 li { padding-right: 18px; }
.how-w { font-size: 12.5px; font-weight: 700; color: var(--deep); margin-top: 6px; }
.how-6 h3 { font-size: 17px; letter-spacing: -.02em; }
.how-6 p { font-size: 14px; line-height: 1.5; }
@media (max-width: 1080px) { .how-6 { grid-template-columns: repeat(3, 1fr); row-gap: 34px; } .how-6::before, .how-6::after { display: none; } }

/* ---------- standards: what the program commits to ---------- */
.stds { background: var(--app, #F4F7F5); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stds-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.std { background: #fff; padding: 26px 24px 24px; display: grid; gap: 8px; align-content: start; }
.std-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--night, #0A1611); color: var(--lime); margin-bottom: 6px; }
.std-ic .ico { width: 20px; height: 20px; }
.std h3 { font-size: 17px; letter-spacing: -.02em; }
.std p { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 0; }
.stds .sec-h a { color: var(--deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1080px) { .stds-g { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .stds-g { grid-template-columns: 1fr; } .std { padding: 20px 18px; } }

/* ---------- activity rule: the step ladder ---------- */
.sd-lad { list-style: none; margin: 4px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; align-items: end; }
.sd-lad li { --hgt: calc(110px - var(--i) * 16px); min-height: var(--hgt); border-radius: 12px 12px 6px 6px; padding: 10px 10px 8px; display: grid; align-content: start; gap: 2px; background: var(--bg2); border: 1px solid var(--line); }
.sd-lad b { font-size: 20px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sd-lad span { font-size: 12.5px; font-weight: 700; }
.sd-lad small { font-size: 11px; color: var(--muted); line-height: 1.3; }
.sd-lad .sd-on, .sd-lad .sd-g { background: color-mix(in srgb, var(--brand) 12%, #fff); border-color: color-mix(in srgb, var(--brand) 35%, #fff); }
.sd-lad .sd-on { --hgt: 110px; } .sd-lad .sd-g { --hgt: 110px; }
.sd-lad .sd-f { background: var(--night, #0A1611); color: #fff; border-color: var(--night, #0A1611); } .sd-lad .sd-f small { color: #9FB3A9; } .sd-lad .sd-f b { color: var(--lime); }
.hl-s.hl-r .hl-chip, .hl-chip.hl-r { white-space: nowrap; }
@media (max-width: 720px) { .sd-lad { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; } .sd-lad li { padding: 8px 6px; } .sd-lad b { font-size: 16px; } .sd-lad small { display: none; } }

/* dashboard health card */
.hc-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.hc-rate { display: grid; justify-items: end; line-height: 1.1; text-align: right; }
.hc-rate small { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.hc-rate b { font-size: 26px; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.sd-mini { list-style: none; margin: 14px 0 4px; padding: 0; display: flex; gap: 4px; }
.sd-mini li { flex: 1; border-radius: 10px; padding: 7px 8px; background: var(--bg2); border: 1px solid var(--line); display: grid; gap: 1px; min-width: 0; transition: background-color .3s, border-color .3s; }
.sd-mini b { font-size: 14px; font-variant-numeric: tabular-nums; } .sd-mini small { font-size: 10.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sd-mini li.now { background: var(--ink); border-color: var(--ink); color: #fff; } .sd-mini li.now small { color: #B9C9C1; } .sd-mini li.now b { color: var(--lime); }
.sd-mini li.past { opacity: .55; }
.sd-hist { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.sd-hist summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--deep); }
.sd-hist ul { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.sd-hist li { display: grid; grid-template-columns: 96px 1fr; gap: 0 10px; font-size: 13px; } .sd-hist li span { color: var(--muted); grid-row: span 2; } .sd-hist li small { color: var(--muted); }

/* ---------- managers: roles, not cartoons ---------- */
.mgr-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; max-width: 460px; }
.mgr-roles span { display: grid; grid-template-columns: 36px 1fr; gap: 0 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.mgr-roles .ico { grid-row: span 2; width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: var(--bg2); color: var(--deep); }
.mgr-roles b { font-size: 14px; } .mgr-roles small { font-size: 12px; color: var(--muted); font-weight: 600; }
.chatmock { position: relative; }
.cm-ex { position: absolute; top: 12px; right: 14px; }
.cm-i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 800; background: var(--bg3, #E6ECE9); color: var(--ink); }
.cm-i.cm-mg { background: var(--ink); color: var(--lime); }

/* ---------- tier ladder marker (no figure) ---------- */
.climber { width: 44px; height: 30px; }
.climb-pin { display: block; width: 44px; height: 26px; border-radius: 999px; background: var(--lime); box-shadow: 0 8px 20px -8px rgba(10,22,17,.5); position: relative; }
.climb-pin::after { content: ""; position: absolute; left: 50%; top: 7px; width: 10px; height: 10px; border-left: 2.5px solid #14200A; border-top: 2.5px solid #14200A; transform: translateX(-50%) rotate(45deg); }
.climber.hop .climb-pin { animation: hop .7s var(--ease); }

/* ---------- sign-up: the flow beside the form, the relationship summary ---------- */
.join-flow { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; align-content: start; }
.join-flow li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: center; padding: 9px 0; color: #8FA59A; position: relative; }
.join-flow li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 38px; bottom: -6px; width: 2px; background: rgba(255,255,255,.08); }
.join-flow i { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.16); display: grid; place-items: center; font-style: normal; font-weight: 800; font-size: 13px; }
.join-flow b { display: block; font-size: 15px; color: #DDE8E2; letter-spacing: -.01em; } .join-flow small { font-size: 12.5px; }
.join-flow li.done i { background: var(--brand); border-color: var(--brand); color: #04140C; }
.join-flow li.on i { background: var(--lime); border-color: var(--lime); color: #14200A; } .join-flow li.on b { color: #fff; }
@media (max-width: 1080px) { .join-flow { display: none; } }
.rel-sum { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; background: var(--bg2); margin: 6px 0 14px; }
.rel-sum > b { font-size: 14.5px; }
.rel-sum ul { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 7px; }
.rel-sum li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 13.5px; line-height: 1.45; color: var(--ink2, #24332C); }
.rel-sum li .ico { width: 16px; height: 16px; color: var(--deep); margin-top: 2px; }
.rel-sum small { color: var(--muted); font-size: 12px; } .rel-sum a { color: var(--deep); font-weight: 700; }

/* terms page: the plain-words summary stands out */
.terms-b h2#t2 + ul { background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px 14px 34px; }

/* ---------- back office ---------- */
.liab { margin-bottom: 18px; }
.liab-g { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.liab-g > div { background: #fff; padding: 14px 16px; display: grid; gap: 2px; }
.liab-g small { font-size: 12px; color: var(--muted); font-weight: 600; } .liab-g b { font-size: 20px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.liab-f { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-size: 13.5px; }
.liab-f a, .liab-f > span { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.liab-f a.warn { color: var(--amb); } .liab-f .ico { width: 16px; height: 16px; }
@media (max-width: 720px) { .liab-g { grid-template-columns: 1fr 1fr; } .liab-g b { font-size: 17px; } }
.bulk { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.bulk b { font-size: 13px; margin-right: 4px; } .bulk .inp-sm { width: auto; min-width: 160px; }
.role-pick { display: grid; gap: 6px; }
.rp { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.rp:has(input:checked) { border-color: var(--deep); background: color-mix(in srgb, var(--brand) 7%, #fff); }
.rp input { margin-top: 3px; accent-color: var(--deep); } .rp b { display: block; font-size: 14px; } .rp small { font-size: 12px; color: var(--muted); }
.role-chip { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--bg2); border: 1px solid var(--line); white-space: nowrap; }
.cf-d { max-width: 44ch; font-size: 13px; color: var(--muted); }
.cf-a { display: flex; gap: 6px; flex-wrap: wrap; }
.stack { display: grid; gap: 12px; }

/* mobile: primary actions within the first screen */
@media (max-width: 720px) {
  .hero-in { padding-top: 28px; gap: 8px; }
  .hero h1 { font-size: 34px; margin-bottom: 12px; }
  .hero-sub { font-size: 16px; }
  .hero-cta { margin: 18px 0 10px; }
  .hero-cta .btn { padding: 13px 18px; font-size: 15px; }
  .how-6 { grid-template-columns: 1fr; }
  .mgr-roles { grid-template-columns: 1fr; }
  .hc-rate b { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) { .climber, .climber.hop .climb-pin, .sd-mini li { animation: none !important; transition: none !important; } }

/* hero visual without the figure: alerts sit in the open space on the right, clear of the CTA on phones */
.mm-alerts { top: 34%; right: 0; }
@media (max-width: 720px) { .hero-v { margin-top: 26px; } .mm-alerts { top: 2%; width: 236px; } }

/* balance card: products instead of an illustration */
.bal-prods { display: grid; align-content: center; gap: 12px; padding: 28px 30px 28px 8px; color: #B9C9C1; height: 100%; box-sizing: border-box; }
.bal-prods > small { font-size: 12.5px; font-weight: 700; color: #8FA59A; }
.bp-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.bp-g > span { display: grid; justify-items: start; gap: 6px; padding: 12px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.bp-g em { font-style: normal; font-size: 12.5px; font-weight: 700; color: #DDE8E2; }
.bal-prods p { margin: 0; font-size: 12.5px; color: #7F978B; max-width: 34ch; }
@media (max-width: 1080px) { .bal-prods { display: none; } }
.wl-mark { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 8px; }

/* double-commission cases: cards, actions always in view */
.cf-list { display: grid; gap: 12px; }
.cf { padding: 18px 20px; display: grid; gap: 10px; }
.cf.cf-open { border-left: 3px solid var(--amb); }
.cf-h { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cf-h b { display: block; font-size: 15.5px; letter-spacing: -.01em; } .cf-h small { font-size: 12.5px; }
.cf .cf-d { max-width: 80ch; margin: 0; font-size: 14px; color: var(--ink2, #33443C); }
.cf-m { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--muted); } .cf-m a { color: var(--deep); font-weight: 700; }
@media (max-width: 720px) { .bal-r { display: none; } .bal-l { padding-top: 22px; } }
/* sidebar group names: plain sans, no tracked mono labels */
.sb-g small { font-family: inherit; font-size: 12px; font-weight: 600; letter-spacing: 0; color: #6E877B; padding: 12px 12px 4px; }
.sb-g a { font-size: 14px; }
.bal .bp-g .pi svg { width: 62%; height: 62%; max-width: none; }
