/* ============================================================ tokens
   Calm marketplace look: white surfaces, thin borders, one green accent,
   pill buttons, no gradients or glow. */
:root {
  --bg: #ffffff; --page: #f7f9f7; --surface: #ffffff; --surface-2: #f4f7f4; --surface-3: #e9efe9;
  --text: #132019; --muted: #56655c; --faint: #85928a; --line: #e2e8e2; --line-strong: #c8d2c9;
  --brand: #15803d; --brand-strong: #0f6a31; --brand-soft: #e8f5ec; --brand-ink: #ffffff;
  --link: #15803d;
  --accent: #15803d; --accent-soft: #e8f5ec;
  --danger: #c4320a; --danger-soft: #fdf0ec; --warn: #9a5b00; --warn-soft: #fff5e1; --info: #1d5fbf; --info-soft: #eaf2fd;
  --dark: #0f2417;
  --radius: 12px; --radius-sm: 8px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0d1210; --page: #0d1210; --surface: #141b17; --surface-2: #19221d; --surface-3: #212c26;
    --text: #e8eee9; --muted: #a3b0a7; --faint: #76847b; --line: #253029; --line-strong: #34433a;
    --brand: #3fbf6a; --brand-strong: #6bd48f; --brand-soft: #16301f; --brand-ink: #07140c;
    --link: #5fd085;
    --accent: #4cc574; --accent-soft: #16301f;
    --danger: #f2846a; --danger-soft: #3a1a12; --warn: #f0b54a; --warn-soft: #33260c; --info: #7aaef5; --info-soft: #132540;
    --dark: #08100b;
    color-scheme: dark;
  }
}

/* ============================================================ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.55 var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.015em; margin: 0; font-weight: 600; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin: 0 0 .75rem; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: .875rem; }
.tiny { font-size: .78rem; }
.mono { font-variant-numeric: tabular-nums; }
.ico { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.ico.sm { width: 15px; height: 15px; }
.ico.lg { width: 22px; height: 22px; }
.grad-text { color: var(--brand); }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); }
.grid > * { min-width: 0; }
.grid.main-side { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; gap: 28px; }
@media (max-width: 960px) { .grid.main-side { grid-template-columns: 1fr; } }

/* ============================================================ app shell: top nav */
.app { min-height: 100vh; background: var(--page); }
.topbar { position: sticky; top: 0; z-index: 30; background: var(--surface); border-bottom: 1px solid var(--line); }
.topbar .inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 1.25rem; color: var(--text); letter-spacing: -.03em; }
.brand:hover { color: var(--text); text-decoration: none; }
.brand-mark { width: 28px; height: 28px; border-radius: 7px; background: var(--brand); display: grid; place-items: center; color: #fff; }
.brand-mark .ico { width: 16px; height: 16px; stroke-width: 2.6; }
.top-nav { display: flex; align-items: stretch; height: 100%; gap: 4px; }
.top-nav a { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; color: var(--text); font-weight: 500; font-size: .93rem; border-bottom: 2px solid transparent; }
.top-nav a:hover { color: var(--brand); text-decoration: none; }
.top-nav a.active { border-bottom-color: var(--brand); font-weight: 600; }
.top-nav .count { font-size: .72rem; min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-weight: 600; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.me { display: flex; align-items: center; gap: 10px; }
.me .who { line-height: 1.25; text-align: right; }
.me .who strong { display: block; font-size: .88rem; font-weight: 600; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 600; text-transform: uppercase; flex: none; }
.avatar.xl { width: 72px; height: 72px; font-size: 1.6rem; }
.icon-btn { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.content { max-width: 1240px; margin: 0 auto; padding: 32px 24px 80px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.page-head p { margin: 6px 0 0; color: var(--muted); }
.crumb { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 500; color: var(--muted); margin-bottom: 14px; }
.crumb:hover { color: var(--text); }
@media (max-width: 860px) {
  .topbar .inner { gap: 10px; padding: 0 16px; }
  .brand .name, .me .who, .top-nav .lbl { display: none; }
  .top-nav a { padding: 0 10px; }
  .content { padding: 22px 16px 60px; }
  td:first-child { min-width: 170px; }
}

/* ============================================================ cards & stats */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card.pad-0 { padding: 0; overflow: hidden; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.card-head p { margin: 4px 0 0; }
.section { margin-top: 24px; }
.stat { display: flex; flex-direction: column; gap: 2px; }
.stat-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--surface-2); color: var(--text); }
.stat-ico.green { background: var(--brand-soft); color: var(--brand); }
.stat-ico.amber { background: var(--warn-soft); color: var(--warn); }
.stat-ico.blue { background: var(--info-soft); color: var(--info); }
.stat .label { color: var(--muted); font-size: .85rem; }
.stat .value { font-size: 1.6rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.stat .value small { font-size: .8rem; color: var(--faint); font-weight: 500; margin-left: 4px; }
.stat .sub { font-size: .82rem; color: var(--faint); }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); }
.stats-row .stat { padding: 20px 24px; border-left: 1px solid var(--line); }
.stats-row .stat:first-child { border-left: 0; }
@media (max-width: 700px) { .stats-row { grid-template-columns: 1fr; } .stats-row .stat { border-left: 0; border-top: 1px solid var(--line); } .stats-row .stat:first-child { border-top: 0; } }

/* greeting header on dashboard */
.greet { margin-bottom: 24px; }
.greet .date { color: var(--muted); font-size: .9rem; }
.greet h1 { font-size: 1.9rem; margin-top: 2px; }

/* side profile panel */
.side { display: grid; gap: 16px; position: sticky; top: 88px; }
.profile-card { text-align: center; padding: 26px 22px 22px; }
.profile-card .avatar { margin: 0 auto 12px; }
.profile-card h3 { font-size: 1.1rem; }
.profile-card .role { color: var(--muted); font-size: .88rem; margin-top: 2px; display: inline-flex; align-items: center; gap: 5px; }
.progress { margin-top: 18px; text-align: left; }
.progress .spread { font-size: .82rem; color: var(--muted); gap: 6px; }
.bar { height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; margin-top: 6px; }
.bar span { display: block; height: 100%; background: var(--brand); border-radius: inherit; }
.side-list { display: grid; }
.side-list > div, .side-list > a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text); }
.side-list > :first-child { border-top: 0; padding-top: 0; }
.side-list > :last-child { padding-bottom: 0; }
.side-list span { color: var(--muted); }
.side-list strong { font-weight: 600; }
.side h4 { margin: 0 0 14px; font-size: .98rem; font-weight: 600; }
.ladder { display: flex; gap: 4px; margin-top: 8px; }
.ladder .step { flex: 1; text-align: center; }
.ladder .pip { height: 6px; border-radius: 99px; background: var(--surface-3); }
.ladder .step.on .pip { background: var(--brand); }
.ladder .step span { display: block; font-size: .7rem; font-weight: 500; margin-top: 5px; color: var(--faint); }
.ladder .step.on span { color: var(--text); }

/* ============================================================ badges & buttons */
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 99px; font-size: .78rem; font-weight: 500; background: var(--surface-3); color: var(--muted); white-space: nowrap; line-height: 1.5; }
.badge .ico { width: 13px; height: 13px; stroke-width: 2.2; }
.badge.ok { background: var(--accent-soft); color: var(--accent); }
.badge.bad { background: var(--danger-soft); color: var(--danger); }
.badge.warn { background: var(--warn-soft); color: var(--warn); }
.badge.info { background: var(--info-soft); color: var(--info); }
.badge.brand { background: var(--brand-soft); color: var(--brand); }
.badge.grad { background: var(--brand); color: var(--brand-ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; }
.skill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 99px; background: var(--surface-3); color: var(--text); font-size: .8rem; font-weight: 500; white-space: nowrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 2px solid transparent; background: var(--brand); color: var(--brand-ink); padding: 8px 22px; border-radius: 99px; font: inherit; font-weight: 600; font-size: .93rem; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; line-height: 1.4; }
.btn:hover { color: var(--brand-ink); background: var(--brand-strong); text-decoration: none; }
.btn.grad { background: var(--brand); color: var(--brand-ink); }
.btn.grad:hover { background: var(--brand-strong); }
.btn.ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn.ghost:hover { background: var(--brand-soft); color: var(--brand-strong); }
.btn.plain { background: transparent; color: var(--text); }
.btn.plain:hover { background: var(--surface-2); color: var(--text); }
.btn.white { background: #fff; color: #0f2417; }
.btn.white:hover { background: #e9f2ec; color: #0f2417; }
.btn.outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn.outline-white:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn.danger-ghost { background: transparent; color: var(--muted); border-color: var(--line-strong); }
.btn.danger-ghost:hover { color: var(--danger); border-color: var(--danger); background: var(--danger-soft); }
.btn.lg { padding: 11px 28px; font-size: 1rem; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* ============================================================ alerts */
.messages { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; }
.messages li, .alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: .9rem; background: var(--info-soft); color: var(--info); border-left: 4px solid currentColor; }
.messages li span, .alert span { color: var(--text); }
.messages li.success, .alert.ok { background: var(--accent-soft); color: var(--accent); }
.messages li.error, .alert.bad { background: var(--danger-soft); color: var(--danger); }
.messages li.warning, .alert.warn { background: var(--warn-soft); color: var(--warn); }
.alert .ico, .messages .ico { margin-top: 2px; }
.alert a { color: var(--link); text-decoration: underline; }

/* ============================================================ tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 14px 20px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
th { font-size: .8rem; color: var(--muted); font-weight: 500; }
tbody tr:hover { background: var(--surface-2); }
td a strong { color: var(--text); font-weight: 600; }
td a:hover strong { color: var(--brand); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.amt-pos { color: var(--accent); font-weight: 600; }
.amt-neg { color: var(--text); font-weight: 600; }
.empty { text-align: center; padding: 44px 20px; color: var(--muted); }
.empty .ico { display: block; width: 32px; height: 32px; color: var(--faint); margin: 0 auto 10px; }
.empty strong { display: block; color: var(--text); margin-bottom: 4px; font-weight: 600; }

/* ============================================================ verification stepper */
.vsteps { display: grid; }
.vstep { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); color: var(--text); }
.vstep:first-child { border-top: 0; padding-top: 4px; }
a.vstep:hover { color: var(--text); text-decoration: none; }
a.vstep:hover strong { color: var(--brand); text-decoration: underline; }
.vnum { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; border: 2px solid var(--line-strong); color: var(--muted); flex: none; }
.vstep.done .vnum { background: var(--brand); border-color: var(--brand); color: #fff; }
.vstep.fail .vnum { background: var(--danger); border-color: var(--danger); color: #fff; }
.vstep.review .vnum { border-color: var(--info); color: var(--info); }
.vstep.go .vnum { border-color: var(--brand); color: var(--brand); }
.vstep .vbody { flex: 1; min-width: 0; }
.vstep .vbody strong { display: block; font-weight: 600; }

/* ============================================================ task feed (job-board list) */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 24px; border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 5px 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 500; font-size: .85rem; }
.chip:hover { border-color: var(--brand); text-decoration: none; }
.chip.on { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.toggle { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .87rem; color: var(--text); cursor: pointer; margin-left: auto; }
.toggle input { accent-color: var(--brand); width: 16px; height: 16px; }
.feed-head { padding: 20px 24px 0; }
.feed-head h2 { font-size: 1.2rem; }
.feed-head p { color: var(--muted); font-size: .88rem; margin: 4px 0 14px; }
.tasks { display: block; }
.task { display: block; padding: 22px 24px; border-bottom: 1px solid var(--line); color: var(--text); transition: background .12s; }
.task:last-child { border-bottom: 0; }
.task:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.task .posted { font-size: .8rem; color: var(--faint); }
.task h3 { font-size: 1.12rem; line-height: 1.35; font-weight: 600; margin: 4px 0 6px; }
.task:hover h3 { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.task .terms { font-size: .86rem; color: var(--muted); }
.task .terms b { color: var(--text); font-weight: 500; }
.task .desc { color: var(--text); font-size: .93rem; margin: 12px 0 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.task .skills { display: flex; gap: 8px; flex-wrap: wrap; }
.task .meta { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: .82rem; margin-top: 14px; }
.task .meta span { display: inline-flex; align-items: center; gap: 5px; }
.task .meta .ok { color: var(--brand); }
.task.locked h3 { color: var(--muted); }
.price { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; }
.price small { font-size: .78rem; color: var(--faint); font-weight: 500; margin-left: 3px; }
.lvl { display: inline-flex; align-items: center; gap: 4px; font-size: .85rem; font-weight: 500; color: var(--text); }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; padding: 18px; border-top: 1px solid var(--line); }

/* ============================================================ task detail */
.detail-hero { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.detail-hero h1 { font-size: 1.6rem; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.prose { white-space: pre-wrap; color: var(--text); }
.req-list { display: grid; }
.checker { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); color: var(--text); }
.checker:first-child { border-top: 0; }
a.checker:hover { color: var(--text); text-decoration: none; }
a.checker:hover strong { color: var(--brand); text-decoration: underline; }
.checker-logo { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 600; font-size: .8rem; color: var(--text); background: var(--surface-3); flex: none; }
.checker .cbody { flex: 1; min-width: 0; }
.checker .cbody strong { display: block; font-size: .92rem; font-weight: 600; }
.meter { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--surface-2); margin: 14px 0; }
.meter .big { font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--brand); }
.action-card { position: sticky; top: 88px; }
.action-card .price-big { font-size: 2.1rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.kv { display: grid; gap: 10px; margin: 18px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kv div { display: flex; justify-content: space-between; font-size: .9rem; }
.kv span:first-child { color: var(--muted); }
.kv strong { font-weight: 600; }
.source { white-space: pre-wrap; background: var(--surface-2); border-radius: var(--radius-sm); padding: 18px; max-height: 520px; overflow: auto; font-size: .93rem; line-height: 1.7; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 18px; padding: 20px 0 0; margin-top: 18px; border-top: 1px solid var(--line); }
.facts > div { display: flex; gap: 10px; align-items: flex-start; }
.facts .ico { margin-top: 2px; color: var(--muted); }
.facts strong { display: block; font-weight: 600; font-size: .93rem; }
.facts span { font-size: .8rem; color: var(--muted); }

/* ============================================================ forms */
.field { margin: 0 0 18px; }
.field label, form p label { display: block; font-weight: 500; font-size: .88rem; margin-bottom: 6px; }
form p { margin: 0 0 16px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=number], select, textarea {
  width: 100%; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font: inherit; font-size: .95rem;
  background: var(--surface); color: var(--text); transition: border-color .15s, box-shadow .15s;
}
input:hover, select:hover, textarea:hover { border-color: var(--muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
textarea { resize: vertical; }
input[type=file] { width: 100%; font: inherit; font-size: .88rem; color: var(--muted); padding: 22px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface-2); cursor: pointer; }
input[type=file]:hover { border-color: var(--brand); }
input[type=file]::file-selector-button { font: inherit; font-weight: 600; margin-right: 14px; padding: 7px 18px; border-radius: 99px; border: 2px solid var(--brand); background: transparent; color: var(--brand); cursor: pointer; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 48px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--faint); cursor: pointer; }
.pw-toggle:hover { color: var(--text); background: var(--surface-2); }
.pw-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.pw-toggle .pw-hide, .pw-toggle[aria-pressed="true"] .pw-show { display: none; }
.pw-toggle[aria-pressed="true"] .pw-hide { display: grid; }
.pw-toggle .pw-show { display: grid; }
select { appearance: none; padding-right: 40px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2385928a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.helptext, .help { display: block; color: var(--faint); font-size: .8rem; margin-top: 5px; }
.helptext ul { margin: 4px 0 0; padding-left: 18px; }
.errorlist { color: var(--danger); margin: 6px 0 0; padding: 0; list-style: none; font-size: .83rem; font-weight: 500; }
.errorlist.nonfield { padding: 12px 14px; border-radius: var(--radius-sm); background: var(--danger-soft); margin-bottom: 16px; }
.checker-input { display: grid; grid-template-columns: auto minmax(0, 2fr) minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--line); }
.checker-input label { font-size: .82rem; color: var(--muted); }
@media (max-width: 700px) { .checker-input { grid-template-columns: 1fr; } }
.form-section { padding-top: 10px; margin-top: 14px; }
.form-section > h3 { margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* ============================================================ timeline (submissions) */
.timeline { display: grid; }
.tl-item { padding: 18px 22px; border-top: 1px solid var(--line); }
.tl-item:first-child { border-top: 0; }
.tl-item .reports { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 0; }
.tl-item .reports a { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 99px; background: var(--surface-3); font-size: .8rem; font-weight: 500; color: var(--text); }
.tl-item .reports a:hover { color: var(--brand); }
.feedback { margin-top: 12px; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--surface-2); border-left: 3px solid var(--brand); font-size: .9rem; }

/* ============================================================ wallet */
.wallet { display: grid; grid-template-columns: 1.3fr 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.wallet > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.wallet > div:first-child { border-left: 0; }
.wallet .label { font-size: .85rem; color: var(--muted); }
.wallet .amount { font-size: 2rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; margin-top: 4px; }
.wallet .amount small { font-size: .9rem; color: var(--faint); margin-left: 4px; font-weight: 500; }
.wallet .amount.sm { font-size: 1.35rem; }
.wallet .btn { margin-top: 14px; }
@media (max-width: 760px) { .wallet { grid-template-columns: 1fr; } .wallet > div { border-left: 0; border-top: 1px solid var(--line); } .wallet > div:first-child { border-top: 0; } }

/* withdraw form: method cards; the checked card reveals its own detail fields (pure CSS via :has) */
.methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: 12px; margin-bottom: 18px; }
.method { position: relative; cursor: pointer; margin: 0; font-weight: 400; }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.method-body { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.method:hover .method-body { border-color: var(--muted); }
.method input:checked + .method-body { border-color: var(--brand); box-shadow: inset 0 0 0 1px var(--brand); }
.method input:focus-visible + .method-body { outline: 2px solid var(--brand); outline-offset: 2px; }
.method-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--text); margin-bottom: 8px; }
.method input:checked + .method-body .method-ico { background: var(--brand-soft); color: var(--brand); }
.method-logo { height: 40px; min-width: 40px; max-width: 132px; align-self: flex-start; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; margin-bottom: 8px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); }
.method-logo img { height: 22px; max-width: 110px; object-fit: contain; display: block; }
.method-logo img.logo-skrill, .method-logo img.logo-neteller { height: 18px; }
.method-body strong { font-size: .98rem; font-weight: 600; }
.method-meta { display: flex; align-items: center; gap: 5px; font-size: .8rem; color: var(--muted); }
.method-check { position: absolute; top: 14px; right: 14px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); color: transparent; }
.method input:checked + .method-body .method-check { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.pay-group { display: none; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 0 16px; padding: 20px; margin-bottom: 18px; border-radius: var(--radius); background: var(--surface-2); }
.pay-group .span-2 { grid-column: 1 / -1; }
.withdraw:has(input[data-kind="paypal"]:checked) .pay-group[data-kind="paypal"],
.withdraw:has(input[data-kind="wallet"]:checked) .pay-group[data-kind="wallet"],
.withdraw:has(input[data-kind="binance"]:checked) .pay-group[data-kind="binance"],
.withdraw:has(input[data-kind="mobile_money"]:checked) .pay-group[data-kind="mobile_money"],
.withdraw:has(input[data-kind="bank"]:checked) .pay-group[data-kind="bank"],
.withdraw:has(input[data-kind="other"]:checked) .pay-group[data-kind="other"] { display: grid; }
.amount-row { display: flex; gap: 16px; align-items: flex-start; flex-wrap: wrap; justify-content: space-between; }
.amount-row .field { flex: 1 1 280px; max-width: 420px; }
.amount-row .btn { margin-top: 28px; }
.amount-input { display: flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.amount-input:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.amount-input .cur { padding: 0 4px 0 14px; font-weight: 600; color: var(--faint); font-size: .85rem; }
.amount-input input { border: 0 !important; box-shadow: none !important; font-size: 1.1rem; font-weight: 600; }
.max-btn { margin-right: 6px; padding: 5px 12px; border: 0; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font: inherit; font-weight: 600; font-size: .8rem; cursor: pointer; }
.max-btn:hover { background: var(--brand); color: var(--brand-ink); }
@media (max-width: 900px) { #history { grid-template-columns: 1fr !important; } }
td.small { white-space: nowrap; }

/* ============================================================ public site */
.pub-head { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid var(--line); }
.pub-head .inner { max-width: 1240px; margin: 0 auto; padding: 0 24px; height: 68px; display: flex; align-items: center; gap: 32px; }
.pub-nav { display: flex; gap: 26px; flex: 1; }
.pub-nav a { color: var(--text); font-weight: 500; font-size: .95rem; }
.pub-nav a:hover { color: var(--brand); text-decoration: none; }
.pub-actions { display: flex; gap: 6px; align-items: center; }
@media (max-width: 760px) { .pub-nav { display: none; } .pub-head .inner { padding: 0 16px; justify-content: space-between; } }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 760px) { .wrap { padding: 0 16px; } }

.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.04em; margin: 0 0 22px; font-weight: 600; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust .ico { color: var(--brand); }

/* hero visual: before/after mock on a dark panel */
.mock { background: var(--dark); border-radius: 20px; padding: 32px 28px; }
.mock-card { background: var(--surface); border-radius: var(--radius); padding: 18px 20px; }
.mock-card + .mock-card { margin-top: 14px; }
.mock-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; }
.mock-line { font-size: .9rem; line-height: 1.7; color: var(--muted); margin: 0; }
.mock-line mark { background: var(--danger-soft); color: var(--danger); text-decoration: line-through; border-radius: 3px; padding: 0 3px; }
.mock-line ins { background: var(--accent-soft); color: var(--accent); text-decoration: none; border-radius: 3px; padding: 0 3px; font-weight: 600; }
.score-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.score { flex: 1; min-width: 90px; padding: 10px 12px; border-radius: var(--radius-sm); background: var(--surface-2); }
.score b { display: block; font-size: 1.1rem; color: var(--accent); font-weight: 600; }
.score span { font-size: .72rem; color: var(--faint); font-weight: 500; letter-spacing: .04em; }
.float-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 16px; border-radius: 99px; background: #fff; color: #0f2417; font-weight: 600; font-size: .85rem; }
.float-pill .ico { color: #15803d; stroke-width: 2.4; }

.strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip div { padding: 26px 8px; }
.strip b { display: block; font-size: 1.9rem; font-weight: 600; letter-spacing: -.03em; }
.strip span { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr 1fr; } }

section.block { padding: 88px 0 0; }
.block-head { max-width: 680px; margin: 0 0 36px; }
.block-head .kicker { font-size: .85rem; font-weight: 600; color: var(--brand); }
.block-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.035em; margin: 8px 0 10px; }
.block-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--surface-2); }
.feature .stat-ico { margin-bottom: 18px; background: var(--surface); }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); margin: 0; font-size: .94rem; }
.step-num { font-size: .8rem; font-weight: 600; color: var(--brand); margin-bottom: 6px; display: block; }

.levels { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (max-width: 900px) { .levels { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .levels { grid-template-columns: 1fr; } }
.lv-card { padding: 24px 20px; background: var(--surface); border-left: 1px solid var(--line); }
.lv-card:first-child { border-left: 0; }
@media (max-width: 900px) { .lv-card { border-left: 0; border-top: 1px solid var(--line); } }
.lv-card .n { font-size: .82rem; font-weight: 600; color: var(--brand); }
.lv-card h3 { margin: 6px 0 6px; font-size: 1.1rem; }
.lv-card p { color: var(--muted); font-size: .88rem; margin: 0; }

.faq { max-width: 820px; display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 0 4px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.02rem; padding: 20px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; max-width: 680px; }

.cta-band { margin: 88px 0 0; border-radius: 20px; padding: 56px 48px; color: #fff; background: var(--dark); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 600; letter-spacing: -.035em; color: #fff; }
.cta-band p { color: rgba(255,255,255,.75); margin: 10px 0 0; max-width: 520px; }
@media (max-width: 600px) { .cta-band { padding: 40px 24px; } }
.pub-foot { margin-top: 72px; padding: 28px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* ============================================================ auth: centred card */
.auth { min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
.auth-top { padding: 22px 32px; }
.auth-form { flex: 1; display: flex; align-items: flex-start; justify-content: center; padding: 24px 16px 60px; }
.auth-box { width: 100%; max-width: 460px; border: 1px solid var(--line); border-radius: 16px; padding: 40px 40px 32px; }
@media (max-width: 520px) { .auth-box { border: 0; padding: 16px 4px; } .auth-top { padding: 18px 16px; } }
.auth-box h1 { font-size: 1.6rem; text-align: center; }
.auth-box .sub { color: var(--muted); margin: 8px 0 28px; text-align: center; }
.auth-points { display: grid; gap: 8px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: .88rem; color: var(--muted); }
.auth-points div { display: flex; gap: 8px; align-items: center; }
.auth-points .ico { color: var(--brand); }
.switch { text-align: center; margin-top: 22px; color: var(--muted); font-size: .92rem; }

/* ============================================================ landing footer */
.cta-band + * { margin-top: 0; }
.site-foot { margin-top: 88px; background: var(--dark); color: rgba(255,255,255,.72); font-size: .92rem; }
.site-foot .wrap { padding-top: 64px; padding-bottom: 28px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand .brand { color: #fff; }
.foot-brand .brand-mark { background: #fff; color: #0f2417; }
.foot-brand p { margin: 16px 0 22px; max-width: 340px; line-height: 1.65; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h4 { margin: 0 0 4px; color: #fff; font-size: .95rem; font-weight: 600; }
.foot-col a { color: rgba(255,255,255,.72); }
.foot-col a:hover { color: #fff; }
.foot-col span { display: flex; gap: 8px; align-items: flex-start; line-height: 1.45; }
.foot-col span .ico { color: #6bd48f; margin-top: 2px; }
.foot-pay { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.foot-label { font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.pay-logos { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pay-logos span { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; gap: 6px; border-radius: 8px; background: #fff; }
.pay-logos img { height: 18px; max-width: 90px; object-fit: contain; display: block; }
.pay-logos .txt { background: rgba(255,255,255,.08); color: #fff; font-size: .82rem; font-weight: 500; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .84rem; color: rgba(255,255,255,.5); }
.cta-band { background: var(--brand-soft); color: var(--text); }
.cta-band h2 { color: var(--text); }
.cta-band p { color: var(--muted); }
.pay-logos span { color: #132019; font-size: .82rem; font-weight: 600; }

/* ============================================================ landing header */
html { scroll-behavior: smooth; }
section[id], #payouts { scroll-margin-top: 90px; }
.announce { background: var(--dark); color: rgba(255,255,255,.82); font-size: .84rem; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 40px; flex-wrap: wrap; }
.announce span { display: inline-flex; align-items: center; gap: 6px; }
.announce .ico { color: #6bd48f; }
.announce .sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.35); }
.announce a { color: #fff; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.announce a .ico { color: #fff; }
@media (max-width: 760px) { .announce .hide-sm, .announce .sep { display: none; } }

.pub-head { transition: box-shadow .2s, border-color .2s; }
.pub-head.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px -12px rgba(15,36,23,.25); border-bottom-color: transparent; }
.pub-head .inner { height: 72px; }
.pub-nav { align-items: center; gap: 4px; }
.pub-nav > a, .dd-btn { padding: 8px 14px; border-radius: 99px; color: var(--text); font: inherit; font-weight: 500; font-size: .95rem; }
.pub-nav > a:hover, .dd-btn:hover, .dd:focus-within .dd-btn { background: var(--surface-2); color: var(--text); text-decoration: none; }
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; cursor: pointer; }
.dd-btn .caret { transition: transform .2s; color: var(--muted); }
.dd:hover .caret, .dd:focus-within .caret { transform: rotate(180deg); }
.dd-menu { position: absolute; top: calc(100% + 10px); left: -8px; width: 380px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px -16px rgba(15,36,23,.28); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 10px; color: var(--text); }
.dd-menu a:hover { background: var(--surface-2); text-decoration: none; }
.dd-menu a:hover strong { color: var(--brand); }
.dd-ico { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.dd-menu strong { display: block; font-weight: 600; font-size: .93rem; }
.dd-menu small { display: block; color: var(--muted); font-size: .82rem; margin-top: 1px; }
.pub-actions { gap: 8px; }
.login-link { color: var(--text); font-weight: 600; padding: 8px 14px; border-radius: 99px; }
.login-link:hover { background: var(--surface-2); text-decoration: none; color: var(--text); }
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }
.menu-btn path { transition: transform .2s, opacity .2s; transform-origin: center; }
.pub-head.open .menu-btn .l1 { transform: translateY(5px) rotate(45deg); }
.pub-head.open .menu-btn .l2 { opacity: 0; }
.pub-head.open .menu-btn .l3 { transform: translateY(-5px) rotate(-45deg); }
.nav-mobile-actions { display: none; }

@media (max-width: 960px) {
  .pub-head .inner { height: 64px; gap: 12px; justify-content: space-between; }
  .menu-btn { display: grid; }
  .login-link { display: none; }
  .pub-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -20px rgba(15,36,23,.35); max-height: calc(100vh - 64px); overflow-y: auto; }
  .pub-head.open .pub-nav { display: flex; }
  .pub-nav > a, .dd-btn { padding: 12px; border-radius: 10px; font-size: 1rem; width: 100%; text-align: left; }
  .dd-btn { justify-content: space-between; }
  .dd-menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px; display: none; }
  .dd:focus-within .dd-menu, .dd:hover .dd-menu { display: block; }
  .nav-mobile-actions { display: grid; gap: 10px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
  .pub-head { position: sticky; }
}
@media (max-width: 340px) { .pub-actions > .btn { display: none; } }
@media (max-width: 860px) { .pub-head .brand .name { display: inline; } }
@media (max-width: 520px) { .announce { font-size: .8rem; } .announce .wrap { gap: 10px; flex-wrap: nowrap; } .announce span, .announce a { white-space: nowrap; } .pub-actions > .btn { padding: 7px 16px; } }

/* header v2: search, live count, scroll-spy */
.pub-head .inner { gap: 20px; }
.pub-nav { flex: none; }
.pub-nav > a, .dd-btn { padding: 8px 12px; }
.pub-nav > a { position: relative; }
.pub-nav > a[data-spy]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform .2s; }
.pub-nav > a.current { color: var(--brand); }
.pub-nav > a.current::after { transform: scaleX(1); }
.nav-find { display: inline-flex; align-items: center; gap: 8px; font-weight: 600 !important; }
.live-count { display: inline-flex; align-items: center; gap: 5px; padding: 1px 8px 1px 7px; border-radius: 99px; background: var(--brand-soft); color: var(--brand); font-size: .76rem; font-weight: 700; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(21,128,61,.5); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(21,128,61,.45); } 70% { box-shadow: 0 0 0 7px rgba(21,128,61,0); } 100% { box-shadow: 0 0 0 0 rgba(21,128,61,0); } }
@media (prefers-reduced-motion: reduce) { .pulse { animation: none; } }
.nav-search { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 8px 0 14px; border: 1px solid var(--line-strong); border-radius: 99px; background: var(--surface-2); color: var(--muted); transition: border-color .15s, background .15s, box-shadow .15s; }
.nav-search:hover { border-color: var(--muted); }
.nav-search:focus-within { background: var(--surface); border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand); }
.nav-search input { border: 0 !important; box-shadow: none !important; background: transparent; padding: 0; height: 100%; font-size: .9rem; min-width: 0; flex: 1; color: var(--text); }
.nav-search input::-webkit-search-cancel-button { display: none; }
.nav-search kbd { font: 600 .72rem var(--font); color: var(--faint); border: 1px solid var(--line-strong); border-radius: 6px; padding: 1px 7px; background: var(--surface); }
.nav-search.desktop-only { margin-left: auto; flex: 0 1 260px; min-width: 170px; }
.nav-search.mobile-only { display: none; }
.pub-actions { margin-left: 0; }
@media (max-width: 1320px) { .nav-search.desktop-only { display: none; } .pub-actions { margin-left: auto; } }
@media (max-width: 960px) { .nav-search.mobile-only { display: flex; margin: 0 0 10px; order: -1; } .pub-nav > a[data-spy]::after { display: none; } }
.feed-search { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--muted); }
.feed-search:focus-within { border-color: var(--brand); }
.feed-search input { border: 0 !important; box-shadow: none !important; padding: 0; width: 150px; font-size: .87rem; background: transparent; }

/* logo */
img.brand-mark { width: 30px; height: 30px; border-radius: 8px; background: none; display: block; flex: none; }
.brand { gap: 10px; }
.brand .name-accent { color: var(--brand); }
.foot-brand .brand .name-accent { color: #6bd48f; }
.foot-brand img.brand-mark { background: none; }
.login-link, .pub-nav > a, .dd-btn { white-space: nowrap; }
.pub-head .brand { font-size: 1.32rem; }

/* ============================================================ landing v3 (marketplace-style sections) */
.landing { padding-bottom: 8px; }
.sec { padding-top: 84px; }
.sec-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 600; letter-spacing: -.035em; margin-bottom: 26px; }
.sec-title.center, .sec-sub.center { text-align: center; }
.sec-sub { color: var(--muted); margin: -16px 0 28px; font-size: 1.02rem; }
.sec-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.sec-head .sec-title { margin: 0; }
.seg { display: inline-flex; padding: 4px; border-radius: 99px; background: var(--surface-3); }
.seg span { padding: 7px 18px; border-radius: 99px; font-size: .88rem; font-weight: 600; color: var(--muted); }
.seg span.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }

.news-pill { display: flex; align-items: center; gap: 14px; margin-top: 20px; padding: 12px 18px; border-radius: 14px; background: var(--brand-soft); color: var(--text); font-size: .92rem; flex-wrap: wrap; }
.news-pill:hover { text-decoration: none; color: var(--text); }
.news-pill .new { font-size: .7rem; font-weight: 700; letter-spacing: .06em; padding: 3px 8px; border-radius: 6px; background: var(--dark); color: #fff; }
.news-pill .msg { font-weight: 500; flex: 1; min-width: 200px; }
.news-pill .more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--brand); }
.news-pill:hover .more { text-decoration: underline; }

.hero-panel { position: relative; margin-top: 16px; border-radius: 28px; overflow: hidden; min-height: 500px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 56px; color: #fff;
  background-color: #0f2417;
  background-image: radial-gradient(circle at 85% 20%, rgba(107,212,143,.18), transparent 45%), radial-gradient(circle at 10% 110%, rgba(21,128,61,.55), transparent 50%), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px; }
@media (max-width: 960px) { .hero-panel { grid-template-columns: 1fr; padding: 36px 24px; min-height: 0; } }
.hero-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.1); margin-bottom: 26px; flex-wrap: wrap; }
.hero-tabs span { padding: 6px 14px; border-radius: 99px; font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.75); }
.hero-tabs span.on { background: #fff; color: #0f2417; }
.hero-copy h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); line-height: 1.04; letter-spacing: -.045em; font-weight: 600; color: #fff; margin: 0 0 20px; }
.hero-copy p { font-size: 1.12rem; color: rgba(255,255,255,.8); max-width: 520px; margin-bottom: 30px; }
.hero-copy .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-btn { background: #3fbf6a; color: #07140c; }
.hero-btn:hover { background: #6bd48f; color: #07140c; }
.hero-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.hero-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.hero-visual { display: grid; gap: 14px; }
.hero-visual .mock-card { box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); }
.hero-visual .mock-card:last-child { margin-left: 32px; }
@media (max-width: 600px) { .hero-visual .mock-card:last-child { margin-left: 0; } }

.checker-strip { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; padding: 26px 0 0; color: var(--muted); }
.checker-strip .lbl { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.checker-strip .names { display: flex; gap: 32px; flex-wrap: wrap; justify-content: center; }
.checker-strip .names span { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; color: var(--muted); }
.checker-strip .ico { color: var(--brand); }

.niche-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1000px) { .niche-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .niche-grid { grid-template-columns: repeat(2, 1fr); } }
.niche { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 120px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); transition: border-color .15s, box-shadow .15s, transform .15s; }
.niche:hover { text-decoration: none; color: var(--text); border-color: var(--brand); box-shadow: 0 10px 24px -16px rgba(15,36,23,.4); transform: translateY(-2px); }
.niche .ico { color: var(--brand); }
.niche span { font-weight: 600; font-size: .98rem; line-height: 1.3; }

.quiz-sec { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .quiz-sec { grid-template-columns: 1fr; gap: 24px; } }
.chip-note { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--brand); margin-bottom: 12px; }
.quiz-intro h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.035em; font-weight: 600; margin-bottom: 12px; }
.quiz-intro p { color: var(--muted); font-size: 1.02rem; }
.quiz-card { border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--surface); box-shadow: 0 16px 40px -28px rgba(15,36,23,.35); min-height: 260px; }
.quiz-head { display: flex; justify-content: flex-end; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted); margin-bottom: 18px; }
.qbar { width: 90px; height: 6px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.qbar span { display: block; height: 100%; background: var(--brand); transition: width .3s; }
.quiz-step { display: none; }
.quiz-step.on { display: block; animation: fadeUp .25s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.quiz-step h3 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: 18px; }
.opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (max-width: 520px) { .opts { grid-template-columns: 1fr; } }
.opts button { text-align: left; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--text); font: inherit; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; }
.opts button:hover { border-color: var(--brand); background: var(--brand-soft); }

.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .how-grid { grid-template-columns: 1fr; } }
.how-card h3 { font-size: 1.15rem; margin: 18px 0 6px; }
.how-card p { color: var(--muted); margin: 0; }
.how-art { height: 240px; border-radius: 18px; padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
.art-1 { background: #e8f5ec; } .art-2 { background: #eef1ea; } .art-3 { background: #0f2417; align-items: center; }
.mini { background: #fff; color: #132019; border-radius: 12px; padding: 12px 14px; box-shadow: 0 8px 20px -14px rgba(15,36,23,.5); font-size: .85rem; }
.mini b { display: block; font-weight: 600; }
.mini small { display: block; color: #56655c; font-size: .75rem; }
.mini em { font-style: normal; font-size: .75rem; color: #9a5b00; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.mini em.ok { color: #15803d; }
.bar2 { display: block; height: 5px; border-radius: 99px; background: #e9efe9; margin: 8px 0 6px; overflow: hidden; }
.bar2 i { display: block; height: 100%; background: #15803d; border-radius: inherit; }
.row-mini { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.row-mini strong { color: #15803d; font-size: 1rem; }
.pay-mini { width: 230px; text-align: left; padding: 20px; }
.pay-mini b { font-size: 1.9rem; letter-spacing: -.03em; margin: 2px 0 10px; }
.pill-ok { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 99px; background: #e8f5ec; color: #15803d; font-size: .78rem; font-weight: 600; }

.dark-panel { margin-top: 84px; padding: 56px; border-radius: 28px; background: #0f1a14; color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .dark-panel { grid-template-columns: 1fr; padding: 36px 24px; } }
.dark-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.035em; font-weight: 600; color: #fff; margin-bottom: 12px; }
.dark-copy p { color: rgba(255,255,255,.7); margin-bottom: 26px; max-width: 460px; }
.est-form { display: grid; gap: 18px; max-width: 460px; padding: 20px; border-radius: 16px; background: #fff; color: #132019; }
.est-form label { display: grid; gap: 8px; font-weight: 600; font-size: .88rem; }
.est-form label output { color: #15803d; }
.est-form select { background-color: #fff; color: #132019; border-color: #c8d2c9; }
.est-form input[type=range] { width: 100%; accent-color: #15803d; }
.dark-result { position: relative; display: grid; place-items: center; min-height: 260px; }
.dark-result .glow { position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(63,191,106,.45), transparent 65%); filter: blur(10px); }
.res-card { position: relative; text-align: center; padding: 26px 40px; border-radius: 20px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(6px); }
.res-card small { display: block; color: rgba(255,255,255,.7); font-size: .85rem; }
.res-card b { display: block; font-size: 3.2rem; letter-spacing: -.04em; font-weight: 600; line-height: 1.1; margin: 4px 0; }
.res-card span { color: #6bd48f; font-weight: 600; }

.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 22px; }
@media (max-width: 820px) { .plans { grid-template-columns: 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 20px 40px -28px rgba(21,128,61,.6); }
.plan-tag { position: absolute; top: 18px; right: 18px; font-size: .68rem; font-weight: 700; letter-spacing: .06em; padding: 3px 9px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); }
.plan h3 { font-size: 1.3rem; }
.plan p { margin: 4px 0 16px; }
.plan-price { font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.plan-price small { display: block; font-size: .82rem; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; font-size: .93rem; }
.plan li .ico { color: var(--brand); margin-top: 3px; }
.level-row { display: grid; grid-template-columns: repeat(5, 1fr); max-width: 782px; margin: 22px auto 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.level-row div { padding: 14px; text-align: center; border-left: 1px solid var(--line); }
.level-row div:first-child { border-left: 0; }
.level-row b { display: block; font-size: .8rem; color: var(--brand); font-weight: 600; }
.level-row span { font-size: .9rem; font-weight: 600; }
@media (max-width: 600px) { .level-row { grid-template-columns: 1fr 1fr; } .level-row div { border-left: 0; border-top: 1px solid var(--line); } }

.edit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .edit-grid { grid-template-columns: 1fr; } }
.edit-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.edit-card .tag { align-self: flex-start; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--danger-soft); color: var(--danger); margin-bottom: 14px; }
.edit-card .before { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(196,50,10,.5); font-size: .93rem; margin-bottom: 10px; }
.edit-card .after { font-size: 1.02rem; font-weight: 500; line-height: 1.5; flex: 1; margin-bottom: 18px; }
.edit-foot { display: flex; align-items: center; gap: 7px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.edit-foot .ico { color: var(--brand); }

.seals { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; max-width: 980px; margin: 0 auto; }
@media (max-width: 900px) { .seals { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .seals { grid-template-columns: repeat(2, 1fr); } }
.seal { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 0 10px 26px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 12px 12px 50% 50% / 12px 12px 22% 22%; box-shadow: 0 10px 24px -18px rgba(15,36,23,.5); }
.seal-top { align-self: stretch; margin: 0 -10px 10px; padding: 5px 0; border-radius: 11px 11px 0 0; background: var(--dark); color: #fff; font-size: .62rem; font-weight: 700; letter-spacing: .12em; }
.seal .ico { color: var(--brand); }
.seal b { font-size: .92rem; line-height: 1.2; }
.seal small { font-size: .74rem; color: var(--muted); }

.landing .faq { max-width: none; }
.green-band { margin-top: 88px; padding: 60px 32px; border-radius: 24px; background: var(--brand); color: #fff; text-align: center; }
.green-band h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -.035em; font-weight: 600; color: #fff; max-width: 720px; margin: 0 auto 24px; }
.site-foot { margin-top: 88px; }
.plan-tag { top: -12px; right: 24px; background: var(--brand); color: var(--brand-ink); padding: 4px 10px; }
@media (max-width: 520px) { .hero-tabs { flex-wrap: nowrap; } .hero-tabs span { padding: 5px 10px; font-size: .76rem; white-space: nowrap; } }

/* ============================================================ app shell v2: left rail + white panel (job-board style) */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; background: #f1f4f2; }
.side-rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 6px; padding: 22px 14px 18px; }
.side-rail .brand { padding: 0 10px 14px; font-size: 1.25rem; }
.rail-user { display: flex; align-items: center; gap: 10px; padding: 10px; margin-bottom: 10px; border-radius: 12px; color: var(--text); }
.rail-user:hover { background: rgba(0,0,0,.04); text-decoration: none; color: var(--text); }
.rail-user .who { min-width: 0; line-height: 1.25; }
.rail-user strong { display: block; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-user small { color: var(--muted); font-size: .78rem; }
.rail-nav { display: grid; gap: 2px; }
.rail-nav a, .rail-foot button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); font: inherit; font-weight: 500; font-size: .93rem; background: none; border: 0; cursor: pointer; width: 100%; text-align: left; }
.rail-nav a:hover, .rail-foot button:hover { background: rgba(0,0,0,.05); text-decoration: none; color: var(--text); }
.rail-nav a.active { background: var(--surface); font-weight: 600; box-shadow: 0 1px 2px rgba(15,36,23,.08); }
.rail-nav a.active .ico { color: var(--brand); }
.rail-nav .count { margin-left: auto; font-style: normal; font-size: .72rem; min-width: 20px; height: 20px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 99px; background: var(--brand); color: var(--brand-ink); font-weight: 600; }
.rail-foot { margin-top: auto; }
.rail-foot button { color: var(--muted); }
.panel { margin: 12px 12px 12px 0; padding: 32px 40px 24px; background: var(--surface); border-radius: 24px; min-width: 0; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(15,36,23,.05); }
.panel > .messages { max-width: none; }
.panel-foot { margin-top: auto; padding-top: 40px; text-align: center; font-size: .82rem; color: var(--faint); }
.panel .side { top: 24px; }
@media (prefers-color-scheme: dark) { .shell { background: #0a0f0c; } .rail-user:hover, .rail-nav a:hover, .rail-foot button:hover { background: rgba(255,255,255,.06); } }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .side-rail { position: sticky; top: 0; z-index: 30; height: auto; flex-direction: row; align-items: center; gap: 4px; padding: 10px 12px; background: var(--surface); border-bottom: 1px solid var(--line); overflow-x: auto; }
  .side-rail .brand { padding: 0 6px 0 0; } .side-rail .brand .name, .rail-user, .rail-nav span, .rail-foot span { display: none; }
  .rail-nav { display: flex; gap: 2px; } .rail-nav a, .rail-foot button { padding: 9px 10px; width: auto; }
  .rail-foot { margin: 0 0 0 auto; }
  .panel { margin: 0; border-radius: 0; padding: 20px 16px; box-shadow: none; }
}

/* ============================================================ job feed */
.feed-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; width: 100%; }
@media (max-width: 1250px) { .feed-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 20px; } .job { grid-template-columns: 1fr 160px; } .job-pay { padding: 16px; } }
@media (max-width: 980px) { .feed-layout { grid-template-columns: 1fr; } }
.setup-banner { padding: 24px 26px; border-radius: 18px; background: var(--brand-soft); margin-bottom: 24px; }
.setup-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.setup-head h1 { font-size: 1.6rem; letter-spacing: -.03em; }
.setup-steps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.setup-step { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 99px; background: var(--surface); font-size: .87rem; font-weight: 500; }
.setup-step .tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-strong); font-size: .75rem; font-weight: 700; color: var(--muted); }
.setup-step.done { color: var(--muted); }
.setup-step.done .tick { background: var(--brand); border-color: var(--brand); color: #fff; }
.setup-note { display: flex; align-items: center; gap: 6px; margin: 14px 0 0; font-size: .85rem; color: var(--muted); }

.feed-searchbar { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 99px; color: var(--muted); }
.feed-searchbar:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); }
.feed-searchbar input[type=search] { flex: 1; border: 0 !important; box-shadow: none !important; padding: 0; background: transparent; font-size: .98rem; }
.feed-searchbar .clear { color: var(--muted); display: grid; place-items: center; }
.feed-tabs { display: flex; gap: 26px; margin-top: 18px; border-bottom: 1px solid var(--line); }
.feed-tabs a { padding: 12px 0; color: var(--muted); font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.feed-tabs a:hover { color: var(--text); text-decoration: none; }
.feed-tabs a.on { color: var(--text); font-weight: 600; border-bottom-color: var(--text); }
.feed-hint { font-size: .86rem; color: var(--muted); margin: 14px 0 16px; }

.job-list { display: grid; gap: 16px; }
.job { padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.job:hover { border-color: var(--line-strong); box-shadow: 0 8px 24px -18px rgba(15,36,23,.35); }
.job-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.job-posted { font-size: .8rem; color: var(--faint); }
.job h2 { font-size: 1.15rem; font-weight: 600; line-height: 1.35; margin-top: 4px; }
.job h2 a { color: var(--text); }
.job h2 a:hover { color: var(--brand); }
.job-action { flex: none; }
.job-action form { margin: 0; }
.job-terms { display: flex; flex-wrap: wrap; gap: 0; margin-top: 8px; font-size: .86rem; color: var(--muted); }
.job-terms span { padding: 0 12px; border-left: 1px solid var(--line-strong); }
.job-terms span:first-child { padding-left: 0; border-left: 0; }
.job-terms b { color: var(--text); font-weight: 600; }
.job-desc { margin: 12px 0 14px; font-size: .93rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.job .skills { display: flex; flex-wrap: wrap; gap: 8px; }
.job-foot { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 14px; font-size: .84rem; color: var(--muted); }
.job-foot span { display: inline-flex; align-items: center; gap: 6px; }
.job-foot .ok { color: var(--text); }
.job-foot .ok .ico { color: var(--info); }
.btn.sm { padding: 6px 16px; font-size: .86rem; }
@media (max-width: 600px) { .job-top { flex-direction: column; } .job-terms span { border-left: 0; padding: 0 10px 0 0; } }

.feed-side { display: grid; gap: 16px; position: sticky; top: 24px; }
.side-box { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.side-box h4 { display: flex; justify-content: space-between; margin: 0 0 12px; font-size: .98rem; font-weight: 600; }
.profile-box { text-align: center; }
.profile-box .avatar { margin: 0 auto 10px; }
.profile-box h3 { font-size: 1.1rem; }
.profile-box p { margin: 2px 0 0; }
.complete { margin-top: 16px; text-align: left; font-size: .85rem; }
.complete .spread b { font-weight: 600; }
.complete a { display: inline-block; margin-top: 10px; font-weight: 600; }
.test-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--text); font-size: .9rem; }
.test-row:first-of-type { border-top: 0; padding-top: 0; }
.test-row:hover { text-decoration: none; color: var(--brand); }
.test-row .badge { font-size: .72rem; }

/* ============================================================ "complete your tests" modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(10,20,14,.55); animation: fadeIn .15s ease; }
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-box { position: relative; width: 100%; max-width: 440px; padding: 32px 28px 24px; border-radius: 20px; background: var(--surface); text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); animation: popIn .2s ease; }
@keyframes popIn { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
.modal-x { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: none; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.modal-x:hover { background: var(--surface-2); color: var(--text); }
.modal-ico { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.modal-box h2 { font-size: 1.35rem; letter-spacing: -.02em; margin-bottom: 10px; }
.modal-box p { color: var(--muted); }
.modal-actions { display: grid; gap: 6px; margin-top: 20px; }

/* ============================================================ welcome splash */
.splash { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: var(--surface); cursor: pointer; transition: opacity .45s ease; }
.splash.out { opacity: 0; pointer-events: none; }
.splash-logo { width: 96px; height: 96px; animation: logoPulse 1.3s ease-in-out 2; }
@keyframes logoPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .15; transform: scale(.94); } }
.splash-text { margin: 0; font-size: clamp(1.4rem, 3.5vw, 2rem); letter-spacing: -.03em; color: var(--text); opacity: 0; animation: textIn .6s ease .5s forwards; }
.splash-text strong { color: var(--brand); font-weight: 600; }
@keyframes textIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .splash-logo, .splash-text { animation: none; opacity: 1; } }

/* ============================================================ signup specializations */
.specs { border: 0; padding: 0; margin: 0 0 18px; }
.specs legend { font-weight: 500; font-size: .88rem; margin-bottom: 8px; padding: 0; }
.specs legend span { display: block; font-weight: 400; font-size: .8rem; color: var(--faint); }
.spec-all { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: .88rem; font-weight: 600; color: var(--brand); cursor: pointer; }
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
@media (max-width: 420px) { .spec-grid { grid-template-columns: 1fr; } }
.spec { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 10px; font-size: .86rem; cursor: pointer; transition: border-color .15s, background .15s; }
.spec:hover { border-color: var(--brand); }
.spec:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }
.spec input, .spec-all input { width: 16px; height: 16px; accent-color: var(--brand); margin: 0; flex: none; }

/* ---------- Niche colours + VeriWrite job cards / task brief (v2) ---------- */
.niche-general { --nc: var(--brand); }
.niche-tech { --nc: #2563eb; } .niche-finance { --nc: #0f766e; } .niche-health { --nc: #db2777; }
.niche-lifestyle { --nc: #d97706; } .niche-travel { --nc: #0891b2; } .niche-marketing { --nc: #7c3aed; }
.niche-business { --nc: #475569; } .niche-careers { --nc: #65a30d; } .niche-guides { --nc: #ea580c; }
.niche-reviews { --nc: #9333ea; }
.niche-tag { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 6px; font-size: .74rem; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--nc); background: color-mix(in srgb, var(--nc) 12%, transparent); }
.lvl-tag { display: inline-flex; padding: 3px 10px; border-radius: 6px; font-size: .74rem; font-weight: 600; color: var(--muted); background: var(--surface-3); }

.job { display: grid; grid-template-columns: 1fr 200px; gap: 0; padding: 0; overflow: hidden; border-left: 4px solid var(--nc); }
.job-body { padding: 20px 22px; min-width: 0; }
.job-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.job-age { margin-left: auto; font-size: .78rem; color: var(--faint); }
.job h2 { margin-top: 10px; }
.job-desc { margin: 6px 0 12px; color: var(--muted); -webkit-line-clamp: 2; }
.job-specs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--muted); }
.job-specs span { display: inline-flex; align-items: center; gap: 5px; }
.job-specs .ico { color: var(--nc); }
.job-pay { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 20px; background: var(--surface-2, var(--surface-3)); border-left: 1px dashed var(--line-strong); text-align: center; }
.pay-amt { font-size: 1.6rem; font-weight: 700; letter-spacing: -.03em; color: var(--text); }
.pay-note { font-size: .75rem; color: var(--muted); margin-bottom: 10px; }
.job-pay form { margin: 0; }
.job-pay .badge { justify-content: center; }
@media (max-width: 640px) {
  .job { grid-template-columns: 1fr; }
  .job-pay { border-left: 0; border-top: 1px dashed var(--line-strong); flex-direction: row; flex-wrap: wrap; align-items: center; text-align: left; padding: 14px 18px; }
  .pay-amt { font-size: 1.3rem; } .pay-note { margin: 0 auto 0 0; }
  .job-pay .btn, .job-pay form { width: auto; }
}

.brief { padding: 0; overflow: hidden; }
.brief-band { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 24px; background: color-mix(in srgb, var(--nc) 8%, var(--surface)); border-bottom: 1px solid color-mix(in srgb, var(--nc) 20%, var(--line)); }
.brief-meta { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; color: var(--muted); }
.brief-body { padding: 22px 24px 24px; }
.brief h1 { font-size: 1.6rem; line-height: 1.25; letter-spacing: -.02em; }
.brief-sum { margin: 10px 0 0; color: var(--muted); font-size: 1rem; }
.spec-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; margin-top: 20px; }
.tile { padding: 12px 14px; border-radius: 12px; background: var(--surface-3); }
.tile small { display: block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.tile b { display: block; margin-top: 4px; font-size: 1.08rem; font-weight: 650; }
.tile.pay { background: var(--brand-soft); }
.tile.pay b { color: var(--brand-strong); }

/* new-tasks pill on Find work */
.new-jobs { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; padding: 10px 16px; border-radius: 12px; background: var(--brand-soft); color: var(--brand-strong); font-weight: 600; font-size: .9rem; border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); animation: newJobsIn .35s ease-out; }
.new-jobs[hidden] { display: none; }
.new-jobs:hover { background: color-mix(in srgb, var(--brand) 18%, var(--surface)); }
@keyframes newJobsIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* live feed: freshly arrived task cards */
.job.fresh { animation: jobIn .6s ease-out, jobGlow 4s ease-out; }
@keyframes jobIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes jobGlow { 0%, 40% { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 35%, transparent); } 100% { box-shadow: none; } }
@media (prefers-reduced-motion: reduce) { .job.fresh { animation: none; } }

/* ---------- client track record ---------- */
.side-col { display: grid; gap: 16px; align-content: start; position: sticky; top: 24px; }
.side-col .action-card { position: static; }
.client-line { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--muted); }
.client-line span { display: inline-flex; align-items: center; gap: 5px; }
.client-line .pv { color: var(--text); font-weight: 600; }
.client-line .pv .ico { color: var(--info); }
.client-line .pnv { color: var(--faint); }
.client-box h3 { font-size: 1.02rem; font-weight: 650; }
.cb-badges { margin-top: 12px; }
.cb-ok, .cb-no { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 8px; font-size: .82rem; font-weight: 600; }
.cb-ok { background: var(--info-soft); color: var(--info); }
.cb-no { background: var(--warn-soft); color: var(--warn); }
.cb-where { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; font-size: .9rem; }
.cb-where .ico { margin-top: 3px; color: var(--muted); }
.cb-where small { color: var(--muted); }
.cb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.cb-grid div { padding: 10px 12px; border-radius: 10px; background: var(--surface-2); }
.cb-grid b { display: block; font-size: 1.02rem; font-weight: 650; }
.cb-grid small { font-size: .74rem; color: var(--muted); }
.cb-since { margin: 12px 0 0; font-size: .8rem; color: var(--faint); }

/* client star rating */
.stars { position: relative; display: inline-block; font-size: .95rem; line-height: 1; letter-spacing: 1px; color: var(--surface-3); vertical-align: -1px; }
.stars::before { content: "★★★★★"; }
.stars-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #f59e0b; }
.stars-fill::before { content: "★★★★★"; }
.client-line .rate { gap: 6px; }
.client-line .rate b, .client-line b { color: var(--text); font-weight: 600; }
.cb-rating { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .88rem; }
.cb-rating .stars { font-size: 1.1rem; }
.cb-rating > span:last-child { color: var(--muted); }
.client-line .cl-label { flex-basis: 100%; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); margin-bottom: 2px; }
