/* TaskBlink Data, the creator program page (/creators). rd-app.css gives the tokens, the top bar, the logo and
 * .rd-btn; this file lays out the page itself. Light only, like the ready search. */

.cr { background: var(--bg); color: var(--text); font-family: var(--font); }
.cr-brand { grid-area: logo; display: flex; align-items: center; gap: 10px; }
.cr-tag {
  display: inline-flex; align-items: center; height: 24px; padding: 0 10px;
  border-radius: 999px; background: var(--purple-soft); color: var(--purple-ink); font-size: 12px; font-weight: 600;
}
.cr-top__nav { grid-area: nav; display: flex; align-items: center; }
/* Phones (2026-11-11): the bar ran past the right edge up to 375 px. rd-app.css drops the top bar's column gaps
   under 900 px, so the button keeps its own 12 px space; the tag's word is 14 px on phones like every other word
   (SPEC 15.11); under 400 px a tighter tag and button; under 360 px the tag steps aside (the hero right below says
   For YouTube creators). */
@media (max-width: 899px) { .cr-top__nav { margin-left: 12px; } }
@media (pointer: coarse), (max-width: 759px) { .cr-tag { font-size: 14px; } }
@media (max-width: 399px) {
  .cr-brand { gap: 6px; }
  .cr-tag { padding: 0 6px; }
  .cr-top__nav .rd-btn { padding: 0 8px; }
}
@media (max-width: 359px) { .cr-tag { display: none; } }

.cr-main { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter) 56px; }
.cr-main:focus { outline: none; }

.cr-hero { text-align: center; padding: 40px 0 24px; }
.cr-kicker { margin: 0 0 10px; color: var(--purple-ink); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.cr-title { margin: 0; font-size: 32px; line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; text-wrap: balance; }
.cr-lede { margin: 14px auto 0; max-width: 560px; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.cr-lede strong { color: var(--text); }

.cr-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-l);
  box-shadow: var(--shadow-2); padding: 22px 18px; margin: 8px 0 40px;
}
.cr-card__title { margin: 0; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.cr-card__sub { margin: 6px 0 18px; color: var(--text-2); font-size: 14px; }

.cr-field { display: block; margin-bottom: 14px; }
.cr-field__label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--text); }
.cr-input {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border-2); border-radius: var(--radius);
  background: var(--surface); color: var(--text); font: inherit; font-size: 16px;
}
.cr-input:focus { outline: none; border-color: var(--purple-line); box-shadow: var(--ring); }
.cr-input[aria-invalid="true"] { border-color: var(--bad-ink); }
.cr-input--mono { font-family: var(--mono); font-size: 14px; }
.cr-text { resize: vertical; line-height: 1.5; font-size: 14px; margin-bottom: 10px; }

.cr-hint a { color: var(--purple-ink); }

.cr-msg { margin: 0 0 12px; padding: 10px 12px; border-radius: var(--radius-s); background: var(--bad-bg); color: var(--bad-ink); font-size: 14px; }
.cr-msg.is-ok { background: var(--ok-bg); color: var(--purple-ink); }
.cr-submit { width: 100%; min-height: 48px; font-size: 16px; }

.cr-done:focus { outline: none; }
.cr-copyrow { display: flex; gap: 8px; margin-bottom: 12px; }
.cr-copyrow .cr-input { flex: 1 1 auto; min-width: 0; }
.cr-copyrow .rd-btn { flex: 0 0 auto; min-height: 46px; padding: 0 18px; }
.cr-wide { width: 100%; min-height: 46px; margin-bottom: 10px; }
.cr-fine { margin: 12px 0 0; text-align: center; font-size: 12px; color: var(--text-3); }
.cr-fine a { color: var(--text-2); }
.cr-sub { margin: 22px 0 8px; font-size: 15px; font-weight: 700; }
.cr-hint { margin: 10px 0 0; color: var(--text-2); font-size: 13px; line-height: 1.5; }
.cr-hint--tight { margin: -2px 0 8px; }

.cr-sec { margin: 0 0 36px; }
.cr-h2 { margin: 0 0 14px; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.cr-steps { margin: 0; padding: 0; list-style: none; counter-reset: cr; }
.cr-steps li {
  position: relative; counter-increment: cr; padding: 12px 14px 12px 50px; margin-bottom: 10px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 15px; line-height: 1.5;
  color: var(--text-2);
}
.cr-steps li strong { color: var(--text); }
.cr-steps li::before {
  content: counter(cr); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--purple-soft); color: var(--purple-ink); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.cr-earn { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.cr-earn__row { display: flex; justify-content: space-between; gap: 12px; padding: 13px 14px; font-size: 15px; color: var(--text-2); }
.cr-earn__row + .cr-earn__row { border-top: 1px solid var(--border); }
.cr-earn__row strong { color: var(--text); white-space: nowrap; font-variant-numeric: tabular-nums; }
.cr-list { margin: 0; padding-left: 20px; color: var(--text-2); font-size: 15px; line-height: 1.6; }
.cr-list li { margin-bottom: 6px; }

.cr-foot { border-top: 1px solid var(--border); padding: 20px var(--gutter) 32px; text-align: center; color: var(--text-3); font-size: 13px; }
.cr-foot a { color: var(--text-2); margin-left: 10px; }

@media (min-width: 720px) {
  .cr-hero { padding: 64px 0 32px; }
  .cr-title { font-size: 46px; }
  .cr-lede { font-size: 18px; }
  .cr-card { padding: 30px 32px; }
}
