/* Prime Signal - custom layer on top of Pico.css (loaded first from the CDN).
   Mobile-first: base rules target a 360px screen, wider layouts are added at 480 / 768 / 1024px. */

:root {
  --pico-font-family: "Source Serif 4", "Times New Roman", Times, Georgia, serif;
  --pico-font-size: 100%;
  --pico-line-height: 1.7;
  --pico-background-color: #fff;
  --pico-color: #1f1f1f;
  --pico-primary: #8c5a1e;
  --pico-primary-hover: #6b4315;
  --pico-primary-underline: rgba(140, 90, 30, .45);
  --pico-spacing: 1rem;

  --ink: #141414;
  --text: #1f1f1f;
  --muted: #595959;
  --rule: #d8d2ca;
  --cream: #f3e9df;
  --gold: #8c5a1e;
  --gold-dark: #6b4315;
  --amber: #f4a300;
  --peach: #fbe3cc;
  --brown: #7a4210;
  --green: #2e8b45;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", "Times New Roman", Times, Georgia, serif;
  --radius: 8px;
  --gutter: 16px;
  --pad: max(var(--gutter), calc((100% - 1220px) / 2));
}

@media (min-width: 768px) {
  :root { --gutter: 30px; }
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-wrap: break-word;
}

body.has-sticky { padding-bottom: 92px; }

:focus-visible {
  outline: 3px solid #0b57d0;
  outline-offset: 3px;
  border-radius: 2px;
}

img, video { max-width: 100%; height: auto; }

/* ---------- Masthead: thin black bar, publication name + label ---------- */

body > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  margin: 0;
  padding: 0 var(--pad);
  background: var(--ink);
  color: #fff;
}

body > header a {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #fff;
  font: 600 .9375rem/1 var(--serif);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s ease;
}

body > header a:hover { color: var(--peach); }
body > header a:focus-visible { outline-color: #fff; }

body > header span {
  padding: .45rem .7rem;
  border-radius: 4px;
  background: var(--peach);
  color: var(--brown);
  font: 700 .6875rem/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Page frame ---------- */

body > main {
  display: block;
  margin: 0;
  padding: 28px var(--pad) 48px;
}

body > main.story > aside { display: none; }
body > main.legal > aside { margin-top: 3rem; }

@media (min-width: 768px) {
  body > main { padding-top: 40px; padding-bottom: 72px; }
}

@media (min-width: 1024px) {
  body > main.story,
  body > main.legal {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 335px;
    column-gap: 50px;
    align-items: start;
    padding-top: 48px;
  }

  body > main.story > aside,
  body > main.legal > aside {
    display: block;
    position: sticky;
    top: 24px;
    margin-top: 0;
  }
}

/* Reset Pico's card look: the article is a plain editorial column */
main article {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

main article > header {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

main section { margin: 0; }

/* ---------- Article typography ---------- */

main article h1 {
  margin: 0 0 1.25rem;
  color: var(--ink);
  font: 700 clamp(1.75rem, 1.2rem + 2.6vw, 2.5625rem)/1.25 var(--serif);
  letter-spacing: -.01em;
}

main article h2 {
  margin: clamp(2.5rem, 4vw, 3.5rem) 0 1rem;
  color: var(--ink);
  font: 700 clamp(1.4rem, 1.15rem + 1vw, 1.75rem)/1.25 var(--serif);
  letter-spacing: -.005em;
  scroll-margin-top: 16px;
}

main article h3 {
  margin: 0 0 .8rem;
  color: var(--ink);
  font: 700 .8125rem/1.3 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
}

main article p {
  margin: 0 0 1.2rem;
  font-size: 1.0625rem;
}

main article p strong { color: var(--ink); }

main article ul,
main article ol { margin: 0 0 1.5rem; padding: 0; }

/* Plain bulleted list used in the prose */
main article ul > li {
  margin: 0 0 .7rem;
  padding-left: .15rem;
  list-style: square;
  list-style-position: outside;
  margin-left: 1.1rem;
}

main article ul > li::marker { color: var(--gold); }

/* ---------- Byline + badge row ---------- */

.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem 1rem;
  margin: 0;
  padding: 1rem 0;
  border-top: 1px solid #b9b2a8;
}

.byline .avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font: 700 .75rem/1 var(--sans);
  letter-spacing: .04em;
}

main article .byline p {
  flex: 1 1 10rem;
  margin: 0;
  color: var(--text);
  font-size: .9375rem;
  line-height: 1.4;
}

.byline .sep { margin: 0 .5rem; color: #8a8a8a; }

@media (min-width: 768px) {
  main article .byline p { flex: 0 1 auto; }
  .byline time { white-space: nowrap; }
  .byline { gap: .75rem 1.25rem; }
  main article .badges li { padding: .3rem .55rem; letter-spacing: .06em; }
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

main article .badges li {
  margin: 0;
  padding: .3rem .65rem;
  border-radius: 4px;
  background: var(--peach);
  color: var(--brown);
  font: 700 .6875rem/1.3 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  list-style: none;
}

main article .verified {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 1.25rem;
  color: var(--muted);
  font: 400 .8125rem/1.4 var(--sans);
}

main article .verified::before {
  content: "";
  flex: none;
  width: .5rem;
  height: .5rem;
  border-radius: 50%;
  background: var(--green);
}

main article .updated {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font: 400 .875rem/1.4 var(--sans);
}

/* ---------- Lead-in box and pull quote (cream, italic sans, soft shadow) ---------- */

main article .dek,
main article blockquote {
  margin: 0 0 1.5rem;
  padding: .95rem 1.1rem;
  border: 0;
  border-radius: 3px;
  background: var(--cream);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .14), 0 2px 6px rgba(0, 0, 0, .28);
  color: #1f1f1f;
  font: italic 400 clamp(1rem, .95rem + .3vw, 1.1875rem)/1.75 var(--sans);
}

main article blockquote { margin: 2.25rem 0; }

main article blockquote p {
  margin: 0;
  font: inherit;
}

/* ---------- Media ---------- */

main figure {
  display: block;
  margin: 0 0 1.75rem;
  padding: 0;
}

main figure img {
  display: block;
  width: 100%;
  height: auto;
}

.frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1200 / 630;
  overflow: hidden;
  background: #d9d4cd;
}

.frame video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

main figcaption {
  padding: .6rem 0 0;
  color: var(--muted);
  font: italic 400 .875rem/1.5 var(--sans);
}

/* ---------- Numbered steps ---------- */

main article ol {
  list-style: none;
  counter-reset: step;
}

main article ol > li {
  position: relative;
  min-height: 2.5rem;
  margin: 0 0 1.2rem;
  padding: 0 0 0 3.4rem;
  counter-increment: step;
  list-style: none;
}

main article ol > li::before {
  content: counter(step);
  position: absolute;
  top: .05rem;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid #d6b48a;
  border-radius: 50%;
  background: var(--cream);
  color: var(--gold);
  font: 700 1rem/1 var(--sans);
}

/* ---------- Figures strip ---------- */

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 0 1.75rem;
  padding: 0;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
}

.stats div {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--rule);
}

.stats div:nth-child(odd) { padding-right: 1rem; border-right: 1px solid var(--rule); }
.stats div:nth-child(even) { padding-left: 1rem; }
.stats div:nth-child(n+3) { border-bottom: 0; }

.stats dt {
  margin: 0;
  color: var(--gold);
  font: 700 clamp(1.75rem, 1.4rem + 1.5vw, 2.375rem)/1 var(--serif);
  letter-spacing: -.01em;
}

.stats dd {
  margin: .45rem 0 0;
  color: var(--muted);
  font: 400 .8125rem/1.4 var(--sans);
}

@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stats div,
  .stats div:nth-child(n+3) { border-bottom: 0; }
  .stats div,
  .stats div:nth-child(odd),
  .stats div:nth-child(even) {
    padding: 1.25rem 1rem;
    border-right: 0;
    border-left: 1px solid var(--rule);
  }
  .stats div:first-child { padding-left: 0; border-left: 0; }
}

/* ---------- Two-column comparison ---------- */

.split {
  display: grid;
  gap: 1.75rem;
  margin: 0 0 1.75rem;
}

.split > div {
  padding-top: 1rem;
  border-top: 3px solid var(--ink);
}

.split > div:last-child { border-top-color: var(--amber); }

main article .split ul { margin: 0; padding: 0; list-style: none; }

main article .split li {
  position: relative;
  margin: 0 0 .75rem;
  padding: 0 0 0 1.6rem;
  list-style: none;
  font-size: 1rem;
  line-height: 1.55;
}

.split li::before {
  position: absolute;
  top: 0;
  left: 0;
  font: 700 1rem/1.55 var(--sans);
}

.split > div:first-child li::before { content: "\2713"; color: var(--green); }
.split > div:last-child li::before { content: "\2014"; color: var(--gold); }

@media (min-width: 768px) {
  .split { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ---------- What you need: picture + bands ---------- */

.needs {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  margin: 0 0 2rem;
}

.needs figure { margin: 0; }

main article .needs ul {
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

main article .needs li {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: start;
  gap: .2rem 1rem;
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: var(--cream);
  list-style: none;
}

.needs svg {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.needs strong {
  color: var(--ink);
  font: 700 1.125rem/1.3 var(--serif);
}

.needs li span {
  color: #4a4a4a;
  font: 400 .875rem/1.5 var(--sans);
}

@media (min-width: 768px) {
  .needs { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 1.75rem; }
}

/* ---------- Call to action (every link to the provider) ---------- */

a[href^="https://www.clickworker.com/"] {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  width: 100%;
  min-height: 54px;
  padding: .85rem 1.5rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  box-shadow: 0 2px 0 var(--gold-dark), 0 6px 14px rgba(107, 67, 21, .25);
  color: #fff;
  font: 700 1.0625rem/1.25 var(--sans);
  text-align: center;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

a[href^="https://www.clickworker.com/"]::after {
  content: "";
  flex: none;
  width: .55em;
  height: .55em;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

a[href^="https://www.clickworker.com/"]:hover,
a[href^="https://www.clickworker.com/"]:active {
  background: var(--gold-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 3px 0 #4f310e, 0 10px 18px rgba(107, 67, 21, .3);
}

a[href^="https://www.clickworker.com/"]:hover::after { transform: translateX(3px) rotate(45deg); }

.cta-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: .7rem;
  margin: 2.25rem 0;
}

.cta-row small {
  color: var(--muted);
  font: 400 .8125rem/1.4 var(--sans);
  text-align: center;
}

@media (min-width: 480px) {
  .cta-row { align-items: flex-start; }
  .cta-row small { text-align: left; }
  .cta-row a[href^="https://www.clickworker.com/"] { width: auto; padding-inline: 2rem; }
}

/* ---------- Sticky mobile CTA bar ---------- */

.sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--rule);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, .1);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .3s ease, visibility .3s ease;
}

.sticky-cta.is-visible { transform: none; visibility: visible; }

.sticky-cta a[href^="https://www.clickworker.com/"] { display: flex; }

@media (min-width: 1024px) {
  .sticky-cta { display: none; }
  body.has-sticky { padding-bottom: 0; }
}

/* ---------- Sidebar ---------- */

main > aside h2 {
  margin: 0 0 .9rem;
  color: var(--ink);
  font: 700 1.375rem/1.25 var(--serif);
}

main > aside section {
  margin: 0;
  padding: 1.6rem 0;
  border-top: 1px solid #bdb6ac;
}

main > aside section:first-child { padding-top: 0; border-top: 0; }

main > aside nav {
  display: block;
  overflow: visible;
}

main > aside ul,
main > aside ol,
main > aside nav ul:first-of-type,
main > aside nav ol:first-of-type {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

main > aside li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

main > aside li a {
  display: block;
  margin: 0;
  padding: .55rem 0;
  border-bottom: 1px dotted #b9b2a8;
  color: var(--text);
  font: 400 .9375rem/1.4 var(--sans);
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}

main > aside li a:hover {
  padding-left: .35rem;
  color: var(--gold);
}

main > aside li a[aria-current="page"] {
  color: var(--gold);
  font-weight: 700;
}

.bars li { margin: 0 0 1.1rem; }
.bars li:last-child { margin-bottom: .9rem; }

.bars .row {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .35rem;
  font: 400 .875rem/1.3 var(--sans);
}

.bars .row b { color: var(--gold); font-weight: 700; white-space: nowrap; }

.bars .track {
  height: 16px;
  overflow: hidden;
  border: 1px solid #b8b8b8;
  border-radius: 3px;
  background: linear-gradient(#f4f4f4, #e3e3e3);
}

.bars .track i {
  display: block;
  width: var(--w, 50%);
  height: 100%;
  border-right: 1px solid #b07400;
  background: linear-gradient(#ffc83a, #f0a000);
}

main > aside .scale {
  margin: 0;
  color: var(--muted);
  font: 400 .8125rem/1.45 var(--sans);
}

main > aside .pick { text-align: center; }

main > aside .pick h2 {
  text-align: center;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

main > aside .pick p {
  margin: 0 0 1.1rem;
  color: #3a3a3a;
  font: 400 .9375rem/1.55 var(--sans);
}

/* ---------- Legal pages ---------- */

main .back {
  margin: 0 0 1.25rem;
}

main .back a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font: 400 .875rem/1.4 var(--sans);
  text-underline-offset: 3px;
  transition: color .2s ease;
}

main .back a:hover { color: var(--gold); }

main article a:not([href^="https://www.clickworker.com/"]) {
  color: var(--gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

main article a:not([href^="https://www.clickworker.com/"]):hover { color: var(--ink); }

/* ---------- Footer: publisher imprint ---------- */

body > footer.bottom {
  margin: 0;
  padding: 2.25rem var(--pad) 3rem;
  border: 0;
  background: none;
  color: var(--muted);
  font: 400 13px/1.65 var(--sans);
}

.bottom__contact-info p {
  margin: 0 0 .75rem;
  color: var(--muted);
  font: inherit;
}

.bottom__foot-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0 1.25rem;
  margin: 0 0 .5rem;
  overflow: visible;
}

.bottom__foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

.bottom__foot-links a:hover { color: var(--ink); }

.closing-note {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
