/* NeoHire: Hi-Vis. Asphalt charcoal, reflective white, safety-vest orange. Token names (--green, --yellow) kept from the original palette. Type: Overpass (descended from Highway Gothic). */
/* Self-hosted Overpass (variable weight 100-900, Latin subset) */
@font-face { font-family: 'Overpass'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/overpass-latin.woff2') format('woff2'); }
:root {
  --green: #2A3138;
  --green-deep: #1F252B;
  --green-night: #161A1E;
  --green-tint: #ECEEF0;
  --on-green: #FFFFFF;
  --bg: #EAEFF5;
  --surface: #FFFFFF;
  --surface-2: #F6F8FA;
  --ink: #16191C;
  --ink-2: #3A4148;
  --muted: #646C74;
  --line: #E3E5E7;
  --line-strong: #C9CDD1;
  --yellow: #F26B1D;
  --yellow-ink: #8A3300;
  --yellow-bg: #FDE9DC;
  --ok: #0F6B47;
  --ok-bg: #DDF1E6;
  --blue: #1D5BA8;
  --blue-bg: #E2ECF9;
  --red: #A3261D;
  --red-bg: #FBE7E4;
  --link: #B5470B;
  --sh-1: 0 1px 2px rgba(22, 25, 28, .06), 0 1px 1px rgba(22, 25, 28, .03);
  --sh-2: 0 1px 2px rgba(22, 25, 28, .05), 0 8px 24px -8px rgba(22, 25, 28, .14);
  --r: 12px;
  --r-sm: 8px;
  --font: 'Overpass', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --side-w: 248px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --green: #39424B;
    --green-deep: #2A3138;
    --green-night: #0E1114;
    --green-tint: #1D2227;
    --bg: #0C1016;
    --surface: #15181B;
    --surface-2: #1A1E22;
    --ink: #E8EAEC;
    --ink-2: #C6CBD0;
    --muted: #959CA3;
    --line: #262B30;
    --line-strong: #3A4148;
    --yellow-ink: #FF9354;
    --yellow-bg: #33190A;
    --ok: #74CFA2;
    --ok-bg: #12291F;
    --blue: #8DB8F0;
    --blue-bg: #14233A;
    --red: #F1897F;
    --red-bg: #331714;
    --link: #FF9354;
    --sh-1: 0 1px 2px rgba(0, 0, 0, .4);
    --sh-2: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}

/* Base */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 15px/1.55 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: #1a1400; }
a { color: var(--link); text-underline-offset: 3px; }
h1, h2, h3 { font-weight: 800; letter-spacing: -0.015em; line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(1.6rem, 3vw, 2rem); margin: 0; }
h2 { font-size: 1.05rem; margin: 0; }
h3 { font-size: 1rem; margin: 0; }
p { margin: 0 0 .75rem; }
code { font-family: inherit; font-weight: 700; background: var(--green-tint); color: var(--link); padding: .05em .35em; border-radius: 5px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.hint { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; margin-top: .1rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .82rem; margin-left: .35rem; }
.nowrap { white-space: nowrap; }
[hidden] { display: none !important; }
.sep { margin: 0 .4em; opacity: .6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: #1a1400; padding: .5rem .8rem; z-index: 10; font-weight: 700; }
.skip:focus { left: .5rem; top: .5rem; }

/* Icons */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; }
.i-lg { width: 22px; height: 22px; }
.i-sm { width: 15px; height: 15px; vertical-align: -2px; }
#i-play polygon { fill: currentColor; }

/* Brand */
.brand { color: inherit; text-decoration: none; font-weight: 800; font-size: 1.15rem; display: inline-flex; align-items: center; gap: .6rem; letter-spacing: -0.01em; }
.brand-mark { width: 22px; height: 22px; border: 3px solid currentColor; border-radius: 5px; position: relative; flex: none; }
.brand-mark::after { content: ''; position: absolute; left: 3px; right: 3px; top: 7px; height: 3px; background: var(--yellow); }

/* ---------- App shell (signed in) ---------- */
.app { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.side {
  background: var(--green-night); color: #fff;
  display: flex; flex-direction: column; gap: .25rem;
  padding: 1.25rem .9rem 1rem; position: sticky; top: 0; height: 100vh;
}
.side .brand { padding: .2rem .55rem; }
.side-org { margin: .15rem .55rem 1.1rem; font-size: .82rem; color: rgba(255, 255, 255, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-nav { display: grid; gap: 2px; }
.side-nav a {
  display: flex; align-items: center; gap: .7rem; padding: .58rem .7rem .5rem; border-radius: 8px;
  color: rgba(255, 255, 255, .74); text-decoration: none; font-weight: 600; font-size: .94rem;
}
.side-nav a .i { opacity: .85; }
.side-nav a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.side-nav a.on { background: rgba(255, 255, 255, .11); color: #fff; box-shadow: inset 3px 0 0 var(--yellow); }
.side-nav a.on .i { opacity: 1; color: var(--yellow); }
.nav-count { margin-left: auto; background: var(--yellow); color: #1a1400; font-size: .72rem; font-weight: 800; min-width: 1.4rem; height: 1.4rem; padding: .1rem .4rem 0; border-radius: 999px; display: grid; place-items: center; }
.side-foot {
  margin-top: auto; display: flex; align-items: center; gap: .65rem;
  padding: .85rem .55rem 0; border-top: 1px solid rgba(255, 255, 255, .1);
}
.who { display: grid; min-width: 0; line-height: 1.3; flex: 1; }
.who strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who span { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.logout { margin: 0; }
.icon-btn { background: none; border: 0; color: rgba(255, 255, 255, .7); padding: .45rem; border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.side .avatar { background: rgba(255, 255, 255, .14); color: #fff; }

.main { padding: 2rem clamp(1rem, 3vw, 2.5rem) 4rem; max-width: 1240px; width: 100%; }

.lbl-short { display: none; }

/* Phones and small tablets: compact top bar plus a bottom tab bar */
@media (max-width: 960px) {
  .app { display: block; padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
  .side {
    position: sticky; top: 0; z-index: 20; height: auto;
    flex-direction: row; align-items: center; gap: .6rem;
    padding: .6rem 1rem; padding-top: calc(.6rem + env(safe-area-inset-top, 0px));
  }
  .side .brand { padding: 0; }
  .side-org { margin: 0; padding-left: .6rem; border-left: 1px solid rgba(255, 255, 255, .2); min-width: 0; }
  .who, .side-foot .avatar { display: none; }
  .side-foot { margin: 0 -.45rem 0 auto; padding: 0; border: 0; }
  .icon-btn { padding: .6rem; }
  .side-nav {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    display: flex; gap: 0; background: var(--green-night);
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 0 .25rem env(safe-area-inset-bottom, 0px);
  }
  .side-nav a {
    flex: 1 1 0; min-width: 0; min-height: 60px; position: relative;
    flex-direction: column; justify-content: center; gap: .2rem;
    padding: .5rem .1rem .4rem; border-radius: 0; font-size: .7rem; font-weight: 700;
  }
  .side-nav a .i { width: 22px; height: 22px; }
  .side-nav a .lbl { display: none; }
  .side-nav a .lbl-short { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .side-nav a:hover { background: none; }
  .side-nav a.on { background: none; box-shadow: inset 0 3px 0 var(--yellow); }
  .nav-count { position: absolute; top: .3rem; left: calc(50% + 5px); margin: 0; min-width: 1.15rem; height: 1.15rem; font-size: .65rem; }
  .main { padding: 1.25rem 1rem 2rem; }
}

/* ---------- Public site ---------- */
.site-top { background: var(--surface); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.site-top-bare { background: var(--green); border-bottom: 0; color: #fff; }
.site-top-in { max-width: 1160px; margin: 0 auto; padding: .8rem 1.25rem; display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.site-top .brand { color: var(--green); }
.site-top-bare .brand { color: #fff; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.site-nav > a:not(.btn) { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav > a:not(.btn):hover, .site-nav > a.on { color: var(--ink); text-decoration: underline; }
.site-main { max-width: 1160px; margin: 0 auto; padding: 2rem 1.25rem 4rem; min-height: calc(100vh - 64px - 90px); }
.site-foot { border-top: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: .88rem; }
.site-foot-in { max-width: 1160px; margin: 0 auto; padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; }
.site-foot nav { margin-left: auto; display: flex; gap: 1.25rem; }
.site-foot a { color: var(--muted); }
.brand-quiet { font-size: .95rem; color: var(--ink); }
.brand-quiet .brand-mark { width: 18px; height: 18px; border-width: 2.5px; }
.brand-quiet .brand-mark::after { top: 5px; height: 2.5px; left: 2px; right: 2px; }

/* ---------- Page head ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 1.5rem; flex-wrap: wrap; margin: 0 0 1.5rem; }
.page-head .sub { margin: .35rem 0 0; color: var(--muted); }
.page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 0 0 .35rem; }

/* ---------- Cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); }
.card + .card, .grid + .card, .card + .grid, form + .card, .stats + .card { margin-top: 1.25rem; }
form.card, form > .card:first-of-type, .grid > .card, .steps > .card { margin-top: 0; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.card-head h2 { display: flex; align-items: center; gap: .55rem; }
.card-head h2 .i { color: var(--muted); }
.card-head a { font-weight: 600; font-size: .88rem; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.card-head a:hover { text-decoration: underline; }
.card-body { padding: 1.25rem; }
.card-foot { padding: .8rem 1.25rem; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--r) var(--r); font-size: .85rem; color: var(--muted); }
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3-2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
@media (max-width: 900px) { .grid-2, .grid-3-2 { grid-template-columns: 1fr; } }

/* ---------- Stat tiles ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; margin: 0 0 1.25rem; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); padding: 1.05rem 1.15rem 1rem; display: grid; gap: .4rem; }
.stat-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.stat-label { font-size: .84rem; color: var(--muted); font-weight: 600; }
.stat-ic { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; background: var(--green-tint); color: var(--link); flex: none; }
.stat-val { font-size: 1.9rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.stat-note { font-size: .8rem; color: var(--muted); }
.stat-key { background: var(--yellow-bg); border-color: color-mix(in srgb, var(--yellow) 45%, var(--line)); }
.stat-key .stat-ic { background: var(--yellow); color: #1a1400; }
.stat-key .stat-val { color: var(--yellow-ink); }
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: .65rem; }
  .stat { padding: .85rem .9rem; }
  .stat-val { font-size: 1.5rem; }
  .stats .stat-ic { display: none; }
}

/* ---------- Action callouts ---------- */
.todo { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: .75rem; margin: 0 0 1.25rem; }
.todo a {
  display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: var(--r);
  background: var(--yellow-bg); color: var(--yellow-ink); text-decoration: none; font-weight: 600;
  border: 1px solid color-mix(in srgb, var(--yellow) 40%, transparent);
}
.todo a strong { font-size: 1.15rem; }
.todo a > .i:last-child { margin-left: auto; transition: transform .15s; }
.todo a:hover > .i:last-child { transform: translateX(3px); }

/* ---------- Funnel ---------- */
.funnel { display: grid; gap: 1rem; }
.funnel-row { display: grid; gap: .4rem; }
.funnel-top { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; font-size: .9rem; }
.funnel-top strong { font-size: 1.1rem; }
.funnel-bar { display: block; width: 100%; height: 10px; }
.funnel-track { fill: var(--line); }
.funnel-fill { fill: var(--green); }
.funnel-row:last-child .funnel-fill { fill: var(--yellow); }
.qual-sub { margin-top: .3rem; white-space: nowrap; }
.funnel-rate { font-size: .8rem; color: var(--muted); }
.kv { display: grid; gap: .8rem; margin: 0; }
.kv div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.kv dt { color: var(--muted); font-size: .9rem; }
.kv dd { margin: 0; font-weight: 800; font-size: 1.1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  font: 600 .95rem/1 var(--font); padding: .72rem 1.05rem .62rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  text-decoration: none; cursor: pointer; min-height: 42px; box-shadow: var(--sh-1);
  transition: background-color .12s, border-color .12s, color .12s;
}
.btn .i { width: 16px; height: 16px; vertical-align: 0; margin-top: -2px; }
.btn:hover { border-color: var(--muted); background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); border-color: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-deep); border-color: var(--green-deep); }
.btn-sign { background: var(--yellow); border-color: var(--yellow); color: #1a1400; box-shadow: none; }
.btn-sign:hover { background: #FF8340; border-color: #FF8340; }
.btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .45); color: #fff; box-shadow: none; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-danger:hover { border-color: var(--red); color: var(--red); background: var(--red-bg); }
.btn-sm { padding: .48rem .75rem .4rem; font-size: .86rem; min-height: 34px; }
.btn-lg { padding: .9rem 1.4rem .8rem; font-size: 1.02rem; min-height: 50px; }
.btn-block { width: 100%; }
/* Liquid glass button, ported from 21st.dev LiquidButton: layered inset shadows plus a refracting backdrop (Chromium only; others get a plain blur). */
.btn-liquid { position: relative; isolation: isolate; background: transparent; border-color: transparent; border-radius: 999px; box-shadow: none; color: var(--ink); transition: transform .3s; }
.btn-liquid::before, .btn-liquid::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.btn-liquid::before { z-index: -1; transition: box-shadow .3s;
  box-shadow: 0 0 6px rgba(0,0,0,.03), 0 2px 6px rgba(0,0,0,.08), inset 3px 3px .5px -3px rgba(0,0,0,.9), inset -3px -3px .5px -3px rgba(0,0,0,.85),
    inset 1px 1px 1px -.5px rgba(0,0,0,.6), inset -1px -1px 1px -.5px rgba(0,0,0,.6), inset 0 0 6px 6px rgba(0,0,0,.12), inset 0 0 2px 2px rgba(0,0,0,.06), 0 0 12px rgba(255,255,255,.15); }
.btn-liquid::after { z-index: -2; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
@supports (backdrop-filter: url(#container-glass)) { .btn-liquid::after { backdrop-filter: url(#container-glass); } }
.btn-liquid:hover { background: transparent; border-color: transparent; transform: scale(1.05); }
.btn-liquid:active { transform: scale(1.02); }
@media (prefers-color-scheme: dark) {
  .btn-liquid::before { box-shadow: 0 0 8px rgba(0,0,0,.03), 0 2px 6px rgba(0,0,0,.08), inset 3px 3px .5px -3.5px rgba(255,255,255,.09), inset -3px -3px .5px -3.5px rgba(255,255,255,.85),
    inset 1px 1px 1px -.5px rgba(255,255,255,.6), inset -1px -1px 1px -.5px rgba(255,255,255,.6), inset 0 0 6px 6px rgba(255,255,255,.12), inset 0 0 2px 2px rgba(255,255,255,.06), 0 0 12px rgba(0,0,0,.15); }
}
@media (prefers-reduced-motion: reduce) { .btn-liquid:hover, .btn-liquid:active { transform: none; } }
.link-btn { background: none; border: 0; padding: 0; font: 600 .9rem var(--font); color: var(--link); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.copy-btn { background: none; border: 0; padding: .25rem; margin: -.25rem 0; color: var(--muted); cursor: pointer; border-radius: 6px; display: inline-grid; place-items: center; vertical-align: middle; }
.copy-btn:hover { color: var(--green); background: var(--green-tint); }
.copy-btn.is-done { color: var(--ok); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.1rem; }
.form label:not(.chip):not(.check) { display: grid; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.label-row { display: flex; align-items: baseline; }
input, select, textarea {
  font: 400 1rem var(--font); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: .68rem .8rem .58rem; width: 100%; min-height: 44px;
  transition: border-color .12s, box-shadow .12s;
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 75%, transparent); }
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
textarea { resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 70%, transparent); }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font-weight: 600; font-size: .9rem; color: var(--ink-2); margin-bottom: .5rem; padding: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.choices { display: flex; flex-wrap: wrap; gap: .5rem; }
.choices legend { width: 100%; }
.chip { display: inline-flex; cursor: pointer; position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span { border: 1px solid var(--line-strong); border-radius: 999px; padding: .5rem .95rem .42rem; font-weight: 600; font-size: .92rem; background: var(--surface); transition: background-color .12s, border-color .12s; }
.chip:hover span { border-color: var(--green); }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .86rem; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; min-height: 0; margin-top: .1rem; flex: none; accent-color: var(--green); }
.money-in { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); }
.money-in > span { padding-left: .8rem; color: var(--muted); font-weight: 600; }
.money-in input { border: 0; box-shadow: none !important; padding-left: .35rem; }
.money-in:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--yellow) 70%, transparent); }
.reward-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 640px) { .reward-grid { grid-template-columns: 1fr; } }
.form-error { display: flex; gap: .6rem; align-items: flex-start; background: var(--red-bg); color: var(--red); border: 1px solid color-mix(in srgb, var(--red) 25%, transparent); border-radius: var(--r-sm); padding: .7rem .85rem; font-weight: 600; margin: 0 0 1rem; font-size: .92rem; }
.form-error .i { margin-top: 1px; }
.inline-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.inline-form input { flex: 1 1 240px; width: auto; }
.form-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }

/* ---------- Flash ---------- */
.flash { display: flex; align-items: center; gap: .65rem; padding: .75rem 1rem; border-radius: var(--r-sm); margin: 0 0 1.25rem; font-weight: 600; font-size: .94rem; border: 1px solid transparent; animation: flash-in .25s ease-out; }
.flash-ok { background: var(--ok-bg); color: var(--ok); border-color: color-mix(in srgb, var(--ok) 20%, transparent); }
.flash-error { background: var(--red-bg); color: var(--red); border-color: color-mix(in srgb, var(--red) 20%, transparent); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-4px); } }
.site-main > .flash { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; position: relative; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th { text-align: left; font-size: .74rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: .7rem 1.25rem .55rem; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: .8rem 1.25rem .7rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
tbody tr:last-child td { border-bottom: 0; }
tbody tr { transition: background-color .1s; }
tbody tr:hover { background: var(--surface-2); }
.num { text-align: right; }
.row-off td { color: var(--muted); }
.row-off .avatar { filter: grayscale(1); opacity: .6; }
.person { display: flex; align-items: center; gap: .75rem; min-width: 0; }
.person-txt { display: grid; min-width: 0; line-height: 1.35; }
.person-txt strong { font-weight: 700; white-space: nowrap; }
.person-txt .sub, .contact a { white-space: nowrap; }
.list-main.person { display: flex; }
.person-txt .sub { font-size: .82rem; color: var(--muted); }
.contact { display: flex; flex-wrap: wrap; gap: .1rem .9rem; font-size: .84rem; }
.contact a { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); text-decoration: none; }
.contact a:hover { color: var(--link); }
.rank { width: 1.6rem; color: var(--muted); font-weight: 700; font-size: .85rem; }
.tag { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 700; padding: .2rem .5rem .12rem; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); white-space: nowrap; }
.link-cell { display: inline-flex; align-items: center; gap: .35rem; font-size: .88rem; white-space: nowrap; }
.empty-state { text-align: center; padding: 2.5rem 1.5rem; color: var(--muted); }
.empty-state .empty-ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--green-tint); color: var(--link); margin: 0 auto .9rem; }
.empty-state h3 { margin-bottom: .3rem; }
.empty-state p { max-width: 42ch; margin: 0 auto; font-size: .92rem; }
.empty-state .btn { margin-top: 1rem; }

/* Status select: colored by current value */
.status-form { display: flex; gap: .4rem; align-items: center; margin: 0; }
.status-select {
  min-height: 32px; padding: .3rem 1.9rem .22rem .75rem; width: auto; font-size: .85rem; font-weight: 700; border-radius: 999px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.status-select.s-new { background-color: var(--blue-bg); color: var(--blue); border-color: transparent; }
.status-select.s-qualified { background-color: var(--yellow-bg); color: var(--yellow-ink); border-color: transparent; }
.status-select.s-hired { background-color: var(--ok-bg); color: var(--ok); border-color: transparent; }
.status-select.s-rejected { background-color: var(--red-bg); color: var(--red); border-color: transparent; }
.status-select option { background: var(--surface); color: var(--ink); }

/* Filters (segmented tabs) */
.filters { display: flex; gap: .25rem; flex-wrap: wrap; padding: .75rem 1.25rem; border-bottom: 1px solid var(--line); }
.filters a { text-decoration: none; color: var(--ink-2); border-radius: 8px; padding: .42rem .75rem .34rem; font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: .4rem; }
.filters a:hover { background: var(--surface-2); color: var(--ink); }
.filters a.on { background: var(--ink); color: var(--bg); }
.count { font-size: .74rem; font-weight: 700; background: var(--line); color: var(--ink-2); border-radius: 999px; padding: .08rem .45rem 0; }
.filters a.on .count { background: rgba(255, 255, 255, .2); color: inherit; }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; padding: .22rem .6rem .14rem; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); white-space: nowrap; border: 1px solid var(--line); }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-top: -1px; }
.badge-new { background: var(--blue-bg); color: var(--blue); border-color: transparent; }
.badge-qualified, .badge-pending { background: var(--yellow-bg); color: var(--yellow-ink); border-color: transparent; }
.badge-hired, .badge-approved, .badge-paid { background: var(--ok-bg); color: var(--ok); border-color: transparent; }
.badge-rejected, .badge-paused { background: var(--red-bg); color: var(--red); border-color: transparent; }

/* Avatar */
.avatar { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; background: var(--green-tint); color: var(--link); font-weight: 800; font-size: .8rem; letter-spacing: .02em; padding-top: 2px; }
.avatar-sm { width: 32px; height: 32px; font-size: .74rem; }
.avatar-lg { width: 48px; height: 48px; font-size: 1rem; }

/* ---------- The sign: the one bold element ---------- */
.sign { background: var(--green); color: var(--on-green); border-radius: 16px; padding: 6px; box-shadow: var(--sh-2); }
.sign-in { border: 3px solid #fff; border-radius: 11px; padding: 1.15rem 1.35rem 1.25rem; position: relative; overflow: hidden; }
.sign-kicker { margin: 0 0 .25rem; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .78); display: flex; align-items: center; gap: .45rem; }
.sign-title { margin: 0; font-weight: 800; font-size: clamp(1.6rem, 4.5vw, 2.3rem); line-height: 1.08; letter-spacing: -0.015em; color: #fff; }
.sign-title-sm { font-size: 1.45rem; }
.sign-url { margin: .2rem 0 1rem; font-size: clamp(1.05rem, 3.2vw, 1.55rem); font-weight: 800; word-break: break-all; letter-spacing: -0.01em; }
.sign-actions { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; position: relative; }
.sign-actions form { margin: 0; }
.sign-hint { margin: .9rem 0 0; font-size: .86rem; color: rgba(255, 255, 255, .72); position: relative; }
.sign-art { position: absolute; right: -14px; bottom: -34px; width: 170px; height: 170px; color: rgba(255, 255, 255, .07); pointer-events: none; }
.sign-art .i { width: 100%; height: 100%; stroke-width: 1.5; }
.sign + .card, .sign + .grid, .sign + .stats { margin-top: 1.25rem; }

/* ---------- Lists: videos, payouts ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; gap: .75rem 1rem; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.list-item:last-child { border-bottom: 0; }
.list-main { flex: 1 1 260px; min-width: 0; display: grid; line-height: 1.4; }
.list-actions { display: flex; gap: .45rem; flex-wrap: wrap; }
.list-actions form { margin: 0; }
.video-url { font-size: .84rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.video-url:hover { color: var(--link); text-decoration: underline; }
.platform-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex: none; background: #111; color: #fff; }
.platform-ic.p-youtube { background: #CC1F1F; }
.platform-ic.p-instagram { background: linear-gradient(135deg, #F58529, #DD2A7B 55%, #8134AF); }
.platform-ic.p-facebook { background: #1A66D2; }
.payout-amt { font-size: 1.45rem; font-weight: 800; color: var(--yellow-ink); letter-spacing: -0.01em; margin-left: auto; }
.payout-form { display: flex; gap: .45rem; flex-wrap: wrap; flex: 1 1 100%; margin: 0; padding-left: calc(36px + 1rem); }
.payout-form select { width: auto; min-height: 36px; padding: .35rem .6rem .28rem; font-size: .9rem; }
.payout-form input { flex: 1 1 180px; min-height: 36px; padding: .35rem .65rem .28rem; width: auto; font-size: .9rem; }
@media (max-width: 560px) { .payout-form { padding-left: 0; } }

/* Earn list */
.earn { list-style: none; margin: 0; padding: 0; display: grid; }
.earn li { display: flex; align-items: center; gap: .9rem; padding: .85rem 0; border-bottom: 1px dashed var(--line); }
.earn li:first-child { padding-top: 0; }
.earn li:last-child { border-bottom: 0; padding-bottom: 0; }
.earn-amt { font-weight: 800; font-size: 1.25rem; color: var(--yellow-ink); margin-left: auto; }

/* ---------- Narrow pages: auth, settings ---------- */
.narrow { max-width: 720px; }
.auth { max-width: 440px; margin: 1.5rem auto 0; }
.auth-head { text-align: center; margin: 0 0 1.5rem; }
.auth-ic { width: 52px; height: 52px; display: grid; place-items: center; margin: 0 auto 1rem; }
.auth-ic .brand-mark { width: 24px; height: 24px; }
.auth-head p { color: var(--muted); margin: .5rem 0 0; }
.auth .card-body { padding: 1.5rem; }
.auth-alt { text-align: center; margin: 1.25rem 0 0; color: var(--muted); font-size: .92rem; }
.auth .sign { margin-bottom: 1.25rem; }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0 0 1.25rem; }
.perk { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .7rem .4rem .6rem; }
.perk strong { display: block; font-size: 1.25rem; color: var(--yellow-ink); line-height: 1.1; }
.perk span { font-size: .76rem; color: var(--muted); }

/* ---------- Marketing home ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 3rem; align-items: center; padding: 2.5rem 0 3.5rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.03; letter-spacing: -0.03em; margin: 0 0 1.1rem; }
.hero h1 em { font-style: normal; color: var(--green); box-shadow: inset 0 -.16em 0 var(--yellow); }
.hero-lede { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; margin: 0 0 1.75rem; }
.hero-actions { display: flex; gap: .65rem; flex-wrap: wrap; }
.hero-note { margin: 1.1rem 0 0; font-size: .88rem; color: var(--muted); display: flex; align-items: center; gap: .45rem; }
.hero-visual { display: grid; gap: 1rem; }
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-2); padding: 1rem 1.1rem; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.mock-stats div { display: grid; gap: .1rem; }
.mock-stats span { font-size: .75rem; color: var(--muted); font-weight: 600; }
.mock-stats strong { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.mock-stats .hl { color: var(--yellow-ink); }
.mock-row { display: flex; align-items: center; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.mock-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mock-row:first-child { padding-top: 0; }
.mock-row .badge { margin-left: auto; }
.mock-float { margin-left: 2.5rem; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; padding-top: 1rem; }
  .mock-float { margin: 0; }
}
.section { padding: 3rem 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin: 0 0 2rem; }
.section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 0 0 .6rem; letter-spacing: -0.02em; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { counter-increment: step; }
.step .card-body { display: grid; gap: .55rem; align-content: start; }
.step-num::before {
  content: counter(step); display: grid; place-items: center; width: 2.3rem; height: 2.3rem; margin-bottom: .4rem;
  background: var(--green); color: #fff; font-weight: 800; border-radius: 7px; padding-top: 2px;
  box-shadow: inset 0 0 0 2px var(--green), inset 0 0 0 4px #fff;
}
.step p { color: var(--muted); margin: 0; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 2rem; }
.feature { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto 1fr; gap: .25rem .9rem; align-items: start; }
.feature .stat-ic { grid-row: span 2; width: 38px; height: 38px; }
.feature h3 { padding-top: .45rem; }
.feature p { color: var(--muted); margin: 0; font-size: .94rem; }
@media (max-width: 900px) { .steps, .features { grid-template-columns: 1fr; } }
.cta-band .sign-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 1.75rem 2rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 .35rem; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }

/* ---------- Applicant landing ---------- */
.apply { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); grid-template-rows: auto 1fr; gap: 1.5rem 2.5rem; align-items: start; grid-template-areas: "intro form" "next form"; }
.apply-intro { grid-area: intro; display: grid; gap: 1.25rem; }
.apply-form { grid-area: form; position: sticky; top: 1.5rem; }
.apply-next { grid-area: next; }
.apply h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.025em; }
.apply-lede { color: var(--ink-2); font-size: 1.05rem; margin: .6rem 0 0; }
.quote { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1.1rem 1.2rem; }
.quote p { margin: 0; font-size: 1.08rem; font-style: italic; color: var(--ink); }
.quote cite { display: block; font-style: normal; font-size: .85rem; color: var(--muted); margin-top: .45rem; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 36px 1fr; gap: .9rem; position: relative; padding-bottom: 1.1rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--line); }
.timeline .stat-ic { width: 36px; height: 36px; border-radius: 50%; }
.timeline strong { display: block; padding-top: .45rem; }
.timeline span { color: var(--muted); font-size: .9rem; }
.apply-form .card-head { display: block; }
.apply-form .card-head p { margin: .25rem 0 0; color: var(--muted); font-size: .88rem; display: flex; align-items: center; gap: .4rem; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: .4rem; font-size: .8rem; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .apply { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "next"; }
  .apply-form { position: static; }
}

/* Centered states: thanks, error */
.center-state { max-width: 520px; margin: 2rem auto 0; text-align: center; }
.center-state .card-body { padding: 2.25rem 1.75rem; }
.big-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 1.25rem; background: var(--ok-bg); color: var(--ok); }
.big-ic .i { width: 30px; height: 30px; }
.big-ic.warn { background: var(--yellow-bg); color: var(--yellow-ink); }
.center-state h1 { margin: 0 0 .6rem; }
.center-state p { color: var(--muted); }
.center-state .btn { margin-top: .75rem; }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  /* 16px fields stop iOS from zooming in on focus */
  input, select, textarea, .status-select, .payout-form select, .payout-form input { font-size: 16px; }
  .btn-sm { min-height: 40px; }
  .copy-btn { padding: .55rem; margin: -.55rem 0; }

  .site-main { padding: 1.25rem 1rem 3rem; }
  .page-head { margin-bottom: 1.1rem; }
  .page-actions { width: 100%; }
  .page-actions .btn { flex: 1 1 0; }
  .card-head { padding: .9rem 1rem; }
  .card-body { padding: 1rem; }
  .card-foot { padding: .8rem 1rem; }
  .filters { padding: .6rem .75rem; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filters a { flex: none; padding: .55rem .75rem .45rem; }

  .sign-in { padding: 1rem 1.05rem 1.1rem; }
  .sign-actions > .btn, .sign-actions > form { flex: 1 1 100%; }
  .sign-actions form .btn { width: 100%; }
  .inline-form .btn { flex: 1 1 100%; }
  .list-item { padding: 1rem; }
  .list-actions { width: 100%; }
  .list-actions > * { flex: 1 1 0; }
  .list-actions .btn { width: 100%; }
  .payout-form > * { flex: 1 1 100%; width: 100%; }
  .payout-form select, .payout-form input { min-height: 44px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .cta-band .sign-in { padding: 1.25rem; }
  .cta-band .btn { width: 100%; }
  .site-foot nav { margin-left: 0; }

  /* Tables stack into labeled cards. Labels come from the column headings (see app.js). */
  table.stackable thead { display: none; }
  table.stackable, .stackable tbody, .stackable tr { display: block; width: 100%; }
  .stackable tr { padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
  .stackable tbody tr:last-child { border-bottom: 0; }
  .stackable tbody tr:hover { background: none; }
  .stackable td {
    display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; align-items: center; justify-items: end;
    border: 0; padding: .3rem 0; text-align: right; min-height: 2rem;
  }
  .stackable td::before {
    content: attr(data-label); grid-row: 1 / span 4; justify-self: start;
    font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); font-weight: 700;
  }
  .stackable td:not([data-label]) { grid-template-columns: 1fr; }
  .stackable td:not([data-label])::before { content: none; }
  .stackable td.rank, .stackable td.rank:first-child { display: none; }
  .stackable td:first-child, .stackable td.rank + td { display: block; justify-items: start; text-align: left; padding: 0 0 .45rem; }
  .stackable td:first-child::before, .stackable td.rank + td::before { content: none; }
  .person-txt strong, .person-txt .sub { white-space: normal; }
  .stackable .contact { gap: .1rem .75rem; }
  .stackable .qual-sub { margin-top: .2rem; }
}

/* Marketplace: job board, job cards, influencer links */
.board { display: grid; gap: 1rem; max-width: 1040px; }
.board > .page-head { margin-bottom: .25rem; }
.board-search { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; padding: .75rem; }
.search-field { flex: 1 1 280px; display: flex; align-items: center; gap: .5rem; padding: 0 .75rem; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); color: var(--muted); }
.search-field:focus-within { border-color: var(--green); }
.search-field input { border: 0; outline: 0; background: transparent; padding: .7rem 0 .6rem; width: 100%; font: inherit; color: var(--ink); min-width: 0; }
.board-search .check { white-space: nowrap; }
.niche-bar { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: thin; }
.niche-bar a { flex: none; text-decoration: none; color: var(--ink-2); border: 1px solid var(--line-strong); background: var(--surface); border-radius: 999px; padding: .42rem .85rem .34rem; font-weight: 600; font-size: .86rem; white-space: nowrap; }
.niche-bar a:hover { border-color: var(--green); color: var(--ink); }
.niche-bar a.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.niche-bar-home { flex-wrap: wrap; overflow: visible; }
.board-count { margin: 0; }
.job-list { display: grid; gap: .75rem; }
.job-card { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh-1); padding: 1.1rem 1.25rem; transition: border-color .15s; }
.job-card:hover { border-color: var(--line-strong); }
.job-card-main { flex: 1 1 320px; min-width: 0; display: grid; gap: .3rem; justify-items: start; }
.job-card h3 { font-size: 1.12rem; margin: .15rem 0 0; }
.job-card h3 a { color: var(--ink); text-decoration: none; }
.job-card h3 a:hover { text-decoration: underline; }
.job-co { margin: 0; font-weight: 600; color: var(--ink-2); }
.job-card-side { display: grid; gap: .55rem; justify-items: end; text-align: right; }
.job-card-side form { margin: 0; }
.tag-niche { background: var(--green-tint); border-color: transparent; color: var(--link); }
.job-facts { list-style: none; margin: .1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: var(--muted); font-size: .88rem; }
.job-facts li { display: inline-flex; align-items: center; gap: .35rem; }
.job-facts-lg { font-size: .95rem; margin-top: .6rem; }
.reward-pill { margin: 0; display: inline-flex; align-items: center; gap: .4rem; font-size: .84rem; color: var(--yellow-ink); background: var(--yellow-bg); border-radius: 999px; padding: .3rem .7rem .22rem; }
.board-cta .card-body { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.board-cta p { margin: .3rem 0 0; }
.job-desc { white-space: pre-line; line-height: 1.65; color: var(--ink-2); }
.company-about { margin: 0; color: var(--ink-2); max-width: 70ch; }
.sign-url-sm { margin: 0; font-weight: 700; word-break: break-all; padding: .6rem .75rem; background: var(--surface-2); border: 1px dashed var(--line-strong); border-radius: var(--r-sm); font-size: .9rem; }
.center-actions { justify-content: center; margin-top: 1rem; }
.center-actions .btn { margin-top: 0; }

/* Company area */
.job-cell { display: grid; gap: .15rem; justify-items: start; }
.job-cell a { color: var(--ink); text-decoration: none; }
.job-cell a:hover { text-decoration: underline; }
.row-actions { display: inline-flex; gap: .4rem; justify-content: flex-end; flex-wrap: wrap; }
.row-actions form { margin: 0; }
.job-filter { margin: 0; display: flex; gap: .4rem; }
.job-filter select { min-width: 200px; }
.app-note { margin-top: .3rem; color: var(--ink-2); max-width: 36ch; }
.pay-to { display: inline-flex; align-items: center; gap: .3rem; margin-top: .15rem; }
.choices-stack { flex-direction: column; flex-wrap: nowrap; }
.chip-block { display: flex; }
.chip-block span { border-radius: var(--r-sm); padding: .8rem 1rem .7rem; display: grid; gap: .2rem; width: 100%; }
.chip-block small { font-weight: 400; font-size: .85rem; color: var(--muted); }
.chip-block input:checked + span small { color: rgba(255, 255, 255, .82); }

/* Influencer links */
.link-list .list-item { align-items: center; }
.link-url { color: var(--muted); font-size: .85rem; margin-top: .25rem; min-width: 0; white-space: normal; }
.link-url > span { overflow-wrap: anywhere; }
.mini-stats { display: flex; gap: 1.25rem; margin: 0; }
.mini-stats div { display: grid; text-align: right; }
.mini-stats dt { font-size: .74rem; color: var(--muted); font-weight: 600; }
.mini-stats dd { margin: 0; font-weight: 800; font-size: 1.05rem; }

/* Referral programs */
.joined { margin: 0; display: inline-flex; align-items: center; gap: .35rem; font-size: .84rem; font-weight: 700; color: var(--ok); }
.bonus { display: flex; align-items: center; gap: .8rem; padding: .85rem 1rem; border-radius: var(--r-sm); background: var(--yellow-bg); }
.bonus .stat-ic { background: var(--yellow); color: #1a1400; }
.bonus div { display: grid; }
.bonus strong { font-size: 1.15rem; color: var(--yellow-ink); }
.how-steps { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; color: var(--ink-2); font-size: .92rem; }

/* Long links shown in tables: one line, cut off with an ellipsis */
.trunc { max-width: 100%; min-width: 0; }
.trunc > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28ch; }

/* Logo: the charcoal-and-orange mark on light backgrounds, the white-and-orange mark on dark ones */
.logo { display: inline-flex; flex: none; }
.logo img { display: block; width: auto; }
.logo-for-dark { display: none !important; }
.logo-on-dark .logo-for-light, .is-home-dark .site-top .logo-for-light, .site-top-bare .logo-for-light { display: none !important; }
.logo-on-dark .logo-for-dark, .is-home-dark .site-top .logo-for-dark, .site-top-bare .logo-for-dark { display: block !important; }
@media (prefers-color-scheme: dark) {
  .logo .logo-for-light { display: none !important; }
  .logo .logo-for-dark { display: block !important; }
}

/* Legal and contact pages: readable prose at a comfortable line length */
.legal { max-width: 72ch; margin: 0 auto; padding: 1rem 0 2rem; color: var(--ink-2); line-height: 1.7; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 .4rem; }
.legal h2 { font-size: 1.15rem; margin: 2rem 0 .5rem; color: var(--ink); }
.legal p, .legal ul { margin: 0 0 1rem; }
.legal ul { padding-left: 1.2rem; display: grid; gap: .45rem; }
.legal a { font-weight: 600; }
.legal-updated { color: var(--muted); font-size: .9rem; }
.legal .table-wrap { margin: 0 0 1rem; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
.legal-table { width: 100%; font-size: .9rem; line-height: 1.5; }
.legal-table td { vertical-align: top; }
.contact-cards { display: grid; gap: 1rem; margin: 1.5rem 0; }
.contact-cards h2 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .4rem; }
.contact-cards p { margin: 0; }
.contact-email { font-size: 1.15rem; }
.card-danger { border-color: color-mix(in srgb, var(--red) 35%, var(--line)); }
.card-danger .card-head h2, .card-danger .card-head h2 .i { color: var(--red); }
.site-foot-legal { width: 100%; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; padding-top: .75rem; border-top: 1px solid var(--line); font-size: .82rem; }
.site-foot-legal nav { margin-left: auto; display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; }
.label-row a.opt { margin-left: auto; font-weight: 600; }

/* Company track record */
.track { list-style: none; margin: 0 0 .5rem; padding: 0; display: grid; gap: .35rem; font-size: .88rem; color: var(--ink-2); }
.job-track { margin-top: .85rem; }
.track li { display: flex; align-items: center; gap: .45rem; }
.track .i { color: var(--muted); }
.track-bad, .track-bad .i { color: var(--red) !important; }
.track-chip { display: inline-flex; align-items: center; gap: .25rem; margin-left: .35rem; font-size: .76rem; font-weight: 600; color: var(--muted); }

/* Applications */
.app-list .app-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 1.25rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.app-list .app-item:last-child { border-bottom: 0; }
.app-main { min-width: 0; display: grid; gap: .3rem; }
.app-meta { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .4rem; }
.app-side { display: grid; gap: .5rem; justify-items: end; align-content: start; }
.app-side form { margin: 0; }
.paid-form { display: flex; gap: .4rem; flex-wrap: wrap; justify-content: flex-end; }
.paid-form input { width: 12rem; }
.app-disputed { background: color-mix(in srgb, var(--red-bg) 55%, transparent); }
.dispute { grid-column: 1 / -1; border-left: 3px solid var(--line-strong); padding: .5rem .85rem; display: grid; gap: .35rem; }
.dispute p { margin: 0; display: flex; gap: .35rem; align-items: baseline; flex-wrap: wrap; }
.dispute-open { border-left-color: var(--red); }
.dispute-open > p:first-child, .dispute-open > p:first-child .i { color: var(--red); }
.app-answer { grid-column: 1 / -1; margin: 0; }
.ref-status { display: grid; gap: .25rem; justify-items: end; text-align: right; }
.paid-yes { color: var(--ok); font-weight: 700; }
.dispute-note { color: var(--muted); display: flex; gap: .3rem; align-items: baseline; margin-top: .2rem; }
.dispute-note-open { color: var(--red); }
.checkin-choices { display: grid; gap: .6rem; margin: 1.25rem 0; }
.checkin-choices .btn { width: 100%; justify-content: center; margin: 0; }
.refer-instead { margin: 1rem 0 0; font-size: .88rem; color: var(--muted); text-align: center; }
@media (max-width: 640px) {
  .app-list .app-item { grid-template-columns: 1fr; }
  .app-side, .ref-status { justify-items: start; text-align: left; }
  .paid-form { justify-content: flex-start; }
  .paid-form input { width: 100%; }
}

/* FAQ (native details/summary, so it works without JavaScript) */
.faq { display: grid; gap: .6rem; max-width: 820px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); }
.faq-item summary { cursor: pointer; list-style: none; padding: .95rem 1.1rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-weight: 800; color: var(--muted); flex: none; }
.faq-item[open] summary::after { content: '–'; }
.faq-item summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: var(--r-sm); }
.faq-item p { margin: 0; padding: 0 1.1rem 1rem; color: var(--ink-2); line-height: 1.65; }

/* For-companies page */
.biz-hero { max-width: 760px; padding: 2.5rem 0 3rem; }
@media (max-width: 560px) { .site-nav .nav-wide { display: none; } }
.biz-hero h1 { font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 1rem; text-wrap: balance; }

/* Signup chooser */
.auth-wide { max-width: 720px; }
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.choose-card { display: grid; gap: .55rem; align-content: start; padding: 1.4rem; text-decoration: none; color: var(--ink-2); transition: border-color .15s, transform .15s; }
.choose-card strong { font-size: 1.15rem; color: var(--ink); }
.choose-card:hover { border-color: var(--green); transform: translateY(-2px); }
.choose-go { margin-top: .4rem; font-weight: 700; color: var(--link); display: inline-flex; align-items: center; gap: .3rem; }

@media (max-width: 640px) {
  .choose { grid-template-columns: 1fr; }
  .job-card-side { justify-items: start; text-align: left; width: 100%; }
  .mini-stats { width: 100%; justify-content: space-between; }
  .mini-stats div { text-align: left; }
  .job-filter select { min-width: 0; width: 100%; }
}
/* Home hero: full-bleed dark band with a photo (or phone mockup) and floating chat-style bubbles.
   The band is dark in both themes, so its colors are fixed rather than theme tokens. */
html { overflow-x: clip; }
.is-home-dark .site-top { background: #12161A; border-bottom-color: transparent; }
.is-home-dark .site-top .brand { color: #fff; }
.is-home-dark .site-nav > a:not(.btn) { color: rgba(255, 255, 255, .78); }
.is-home-dark .site-nav > a:not(.btn):hover { color: #fff; }
.is-home-dark .site-nav .btn-primary { background: var(--yellow); border-color: var(--yellow); color: #1a1400; }
.hero2 { position: relative; margin: -2rem calc(50% - 50vw) 0; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 85% 10%, #2B5A86 0%, rgba(43, 90, 134, 0) 60%), linear-gradient(115deg, #12161A 0%, #17232F 45%, #1E3A57 100%); }
.hero2-in { position: relative; max-width: 1160px; margin: 0 auto; padding: 4.5rem 1.25rem 5rem; min-height: 560px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.hero2-copy { position: relative; z-index: 2; }
.hero2-kicker { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.2rem; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
.hero2-dot { width: 8px; height: 8px; border-radius: 99px; background: var(--yellow); flex: none; }
.hero2 h1 { color: #fff; font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -0.035em; margin: 0 0 1.25rem; text-wrap: balance; }
.hero2-lede { font-size: 1.15rem; line-height: 1.6; color: rgba(255, 255, 255, .8); max-width: 44ch; margin: 0 0 2rem; }
.hero2-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 1.5rem; }
.btn-pill { border-radius: 999px; padding-left: 1.6rem; padding-right: 1.6rem; }
.hero2-link { color: #fff; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; }
.hero2-link:hover { text-decoration: underline; }
.hero2-proof { list-style: none; margin: 2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9rem; color: rgba(255, 255, 255, .78); }
.hero2-proof li { display: inline-flex; align-items: center; gap: .4rem; }
.hero2-proof .i { color: var(--yellow); }

.hero2-media { position: relative; height: 460px; }
/* Hero with a background illustration. The band takes the image's own edge color (#EAEFF5, also the page background)
   so the two read as one picture, and text is dark on it in both themes.
   --hero-h is the hero's target height; --text-end is where the text column stops (content edge + copy width + gap).
   The art is as wide as the hero height allows, but never starts before --text-end: when space is short it shrinks,
   anchored bottom-right, instead of sliding under the text. Its own left edge fades out, wherever that edge lands. */
.hero2-photo { --hero-h: clamp(600px, 48vw, 720px); --text-end: calc(max(1.25rem, 50vw - 580px + 1.25rem) + 28rem);
  background: #EAEFF5; color: #16191C; }
.hero2-art { position: absolute; right: 0; bottom: 0; aspect-ratio: 3 / 2;
  width: min(calc(var(--hero-h) * 1.5), calc(100% - var(--text-end))); }
.hero2-bg { display: block; width: 100%; height: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 20%), linear-gradient(180deg, transparent 0, #000 12%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 20%), linear-gradient(180deg, transparent 0, #000 12%);
  mask-composite: intersect; }
.hero2-photo .hero2-in { z-index: 1; grid-template-columns: minmax(0, 1fr); min-height: var(--hero-h); }
.hero2-photo .hero2-copy { max-width: 26rem; }
.hero2-photo h1 { color: #16191C; font-size: clamp(2.5rem, 5vw, 3.8rem); }
.hero2-photo .hero2-lede { max-width: 32ch; }
.hero2-photo .hero2-proof { flex-direction: column; gap: .45rem; }
.hero2-photo .hero2-kicker, .hero2-photo .hero2-lede, .hero2-photo .hero2-proof { color: #3A4148; }
.hero2-photo .hero2-link { color: #16191C; }
.hero2 + .section { border-top: 0; }
.is-home-light .site-top { background: #EAEFF5; border-bottom-color: transparent; }
.is-home-light .site-top .brand { color: #16191C; }
.is-home-light .site-nav > a:not(.btn) { color: #3A4148; }
.is-home-light .site-nav > a:not(.btn):hover, .is-home-light .site-nav > a.on { color: #16191C; }
.is-home-light .site-nav .btn-primary { background: #2A3138; border-color: #2A3138; color: #fff; }
.is-home-light .site-top .logo-for-light { display: block !important; }
.is-home-light .site-top .logo-for-dark { display: none !important; }
/* Narrower screens: text on top, the illustration across the bottom at full width */
@media (max-width: 1100px) {
  .hero2-photo .hero2-in { min-height: 0; padding-bottom: calc(66.67vw + 1rem); }
  .hero2-photo .hero2-copy { max-width: 40rem; }
  .hero2-photo .hero2-proof { flex-direction: row; }
  .hero2-art { left: 0; width: 100%; }
  .hero2-bg { -webkit-mask-image: none; mask-image: none; }
}

.phone { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-4deg); width: 250px; height: 440px; border-radius: 38px; padding: 12px; background: #0B0E11; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6), inset 0 0 0 2px rgba(255, 255, 255, .08); }
.phone-screen { height: 100%; border-radius: 28px; background: #F6F8FA; color: #16191C; padding: 2.2rem 1.1rem 1rem; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.phone-title { font-size: 1.15rem; font-weight: 800; }
.phone-co { font-size: .8rem; color: #646C74; }
.phone-btn { align-self: stretch; justify-content: center; margin-top: .4rem; }
.phone-line { display: block; height: 8px; width: 100%; border-radius: 99px; background: #E3E5E7; margin-top: .5rem; }
.phone-line.short { width: 60%; margin-top: 0; }

.bubble { position: absolute; z-index: 2; display: flex; align-items: center; gap: .55rem; max-width: 260px; padding: .65rem .9rem; border-radius: 18px; font-size: .85rem; line-height: 1.35; background: #fff; color: #16191C; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); }
.bubble .avatar { background: #ECEEF0; color: #8A3300; flex: none; }
.bubble-a { top: 3%; right: 2%; border-bottom-right-radius: 6px; }
.phone .reward-pill { white-space: nowrap; font-size: .76rem; }
.bubble-b { top: 50%; left: 0; background: var(--yellow); color: #1a1400; font-weight: 800; border-bottom-left-radius: 6px; }
.bubble-c { bottom: 10%; right: 6%; background: #DDF1E6; color: #0F5132; font-weight: 700; border-bottom-right-radius: 6px; }
@media (prefers-reduced-motion: no-preference) {
  .bubble { animation: bubble-in .5s cubic-bezier(.2, .8, .3, 1) both; }
  .bubble-b { animation-delay: .25s; }
  .bubble-c { animation-delay: .5s; }
  @keyframes bubble-in { from { transform: translateY(10px) scale(.96); } to { transform: none; } }
}

@media (max-width: 640px) { .hero2 { margin-top: -1.25rem; } }
@media (max-width: 900px) {
  .hero2-in { grid-template-columns: 1fr; padding: 3rem 1.25rem 0; min-height: 0; gap: 2.5rem; }
  .hero2-media { height: 440px; margin: 0 -1.25rem; }
}
@media (max-width: 560px) {
  .hero2-in { padding: 2.25rem 1rem 0; }
  .hero2-media { margin: 0 -1rem; height: 400px; }
  .hero2-lede { font-size: 1.02rem; }
  .hero2-actions .btn-pill { flex: 1 1 100%; justify-content: center; }
  .phone { width: 210px; height: 370px; }
  .bubble { font-size: .78rem; max-width: 210px; }
  .bubble-a { top: 0; right: 3%; }
  .phone-screen { padding-top: 3.2rem; }
  .bubble-b { left: 3%; }
  .bubble-c { bottom: 7%; right: 3%; }
}

/* Phones: public header and footer stay on one line per item; three stat tiles share a row */
@media (max-width: 560px) {
  .site-top-in { gap: .75rem; padding: .6rem 1rem; }
  .site-nav { gap: .75rem; }
  .site-nav > a { white-space: nowrap; }
  .site-nav > a:not(.btn) { font-size: .9rem; }
  .site-foot-in { padding-left: 1rem; padding-right: 1rem; }
  .site-foot nav { margin-left: 0; width: 100%; flex-wrap: wrap; gap: .5rem 1.1rem; }
  .site-foot a { white-space: nowrap; }
  .stats:has(> .stat:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stats:has(> .stat:nth-child(3):last-child) .stat { padding: .75rem .7rem; }
  .stats:has(> .stat:nth-child(3):last-child) .stat-label { font-size: .78rem; }
  .stats:has(> .stat:nth-child(3):last-child) .stat-note { font-size: .72rem; }
  .stackable .trunc > span { max-width: 22ch; }
}
@media (max-width: 380px) {
  .site-top .brand { font-size: .95rem; gap: .4rem; }
  .site-nav { gap: .55rem; }
  .site-nav > a:not(.btn) { font-size: .85rem; }
  .site-nav .btn-sm { padding-left: .6rem; padding-right: .6rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
