/* /creators/ (2026-10-29): the three steps, the private earnings check and
   its result. On top of site + pages css. Sections sit at z-index 2 so the
   fixed background layers never paint over them. */
#main > section { position: relative; z-index: 2; }

.cr-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.cr-steps .card { position: relative; }
.cr-steps h2 { font-family: var(--f-head); font-size: 22px; line-height: 1.2; color: var(--ink); margin: 14px 0 8px; font-weight: 600; }
.cr-steps p { margin: 0; }
.cr-step-top { display: flex; align-items: center; justify-content: space-between; }
.cr-step-top .card-icon { margin-bottom: 0; }
.cr-no { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); }
.cr-money .cr-lab { display: flex; align-items: center; gap: 7px; }
.cr-lab svg { width: 17px; height: 17px; flex: none; color: var(--tide); }
.cr-money .cr-big .cr-lab svg { color: #fff; }

.cr-box {
  background: var(--white); border-radius: 24px; box-shadow: var(--card-shadow);
  border: 1px solid var(--line); padding: 30px; max-width: 880px;
}
.cr-form label { display: block; font-weight: 700; color: var(--ink); font-size: 17px; }
.cr-hint { margin: 2px 0 14px; color: var(--muted); font-size: 15px; }
.cr-row { display: flex; gap: 10px; flex-wrap: wrap; }
.cr-row input {
  flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 18px; border-radius: 14px;
  border: 1.5px solid rgba(15, 27, 34, .16); background: var(--paper);
  font: 600 19px/1 var(--f-body); letter-spacing: .12em; color: var(--ink);
  text-transform: uppercase;
}
.cr-row input::placeholder { color: rgba(15, 27, 34, .3); letter-spacing: .12em; }
.cr-row input:focus { outline: none; border-color: var(--tide); background: var(--white); box-shadow: 0 0 0 4px rgba(61, 110, 142, .14); }
.cr-row input[aria-invalid="true"] { border-color: #B04A3F; }
.cr-row .btn { min-height: 52px; }
.cr-msg { min-height: 1.4em; margin: 10px 0 0; font-size: 15px; color: #B04A3F; }
.cr-msg.is-wait { color: var(--muted); }
.cr-example {
  margin-top: 4px; padding: 6px 0; border: 0; background: none; cursor: pointer;
  font: 600 15px var(--f-body); color: var(--tide); text-decoration: underline; text-underline-offset: 3px;
}

.cr-out { animation: cr-in .42s var(--ease) both; }
@keyframes cr-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .cr-out { animation: none; } }
.cr-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cr-top h3 { font-family: var(--f-head); font-size: 30px; line-height: 1.15; color: var(--ink); margin: 0; font-weight: 600; }
.cr-meta { margin: 6px 0 0; font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.cr-meta b { color: var(--ink-2); font-weight: 600; }
/* Class display rules beat the browser's own [hidden], so restate it. */
#main [hidden] { display: none !important; }
.cr-tag {
  display: inline-block; margin: 0 0 10px; padding: 3px 11px; border-radius: 999px;
  background: #FBEFD9; color: #8A5A12; font-size: 13px; font-weight: 700;
}

.cr-money { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 12px; margin: 20px 0 30px; }
.cr-money > div { background: var(--paper); border-radius: 18px; padding: 18px 20px; }
.cr-money span { display: block; font-size: 14px; color: var(--muted); font-weight: 600; }
.cr-money b { display: block; font-family: var(--f-head); font-size: 30px; line-height: 1.2; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.cr-money small { display: block; font-size: 14px; color: var(--ink-2); }
.cr-money .cr-big { background: linear-gradient(135deg, var(--coral), var(--plum)); }
.cr-money .cr-big span, .cr-money .cr-big b, .cr-money .cr-big small { color: #fff; }
.cr-money .cr-big b { font-size: 38px; }

.cr-out h4 { margin: 0 0 12px; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.cr-bar { display: flex; height: 12px; border-radius: 999px; overflow: hidden; background: var(--paper); gap: 2px; }
.cr-bar i { display: block; height: 100%; transition: flex-grow .6s var(--ease); }
.b-pay { background: var(--tide); }
.b-free { background: #8FB6CE; }
.b-stop { background: #C9D3DA; }
.cr-people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 30px; }
.cr-people div { border-top: 1px solid var(--line); padding-top: 10px; }
.cr-people dt { font-size: 14px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 7px; }
.cr-people dd { margin: 2px 0 0; font-family: var(--f-head); font-size: 28px; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }

.cr-table { overflow-x: auto; position: relative; }
.cr-table table { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.cr-table th { text-align: left; font-size: 13px; color: var(--muted); font-weight: 600; padding: 0 12px 8px 0; white-space: nowrap; }
.cr-table td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line); color: var(--ink); white-space: nowrap; }
.cr-table td:nth-child(3) { font-weight: 700; }
.cr-sum { margin: 18px 0 0; font-size: 19px; line-height: 1.5; color: var(--ink); max-width: 46ch; }
.cr-explain { margin: 18px 0 0; padding: 14px 16px; border-radius: 14px; background: #FBEFD9; color: #6E4A10; font-size: 15px; }
.st { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.st-paid { background: #E3F0E8; color: #2E6B47; }
.st-due { background: #E4EEF5; color: var(--tide-deep); }
.st-carried { background: #F2ECE4; color: #7A5A2E; }
.st-running { background: var(--paper); color: var(--muted); }
.cr-fine { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

.cr-join { max-width: 34ch; margin: 14px auto 0; }
.end .stores .btn { min-height: 52px; padding: 0 24px; }

@media (max-width: 760px) {
  .cr-steps { grid-template-columns: 1fr; }
  .cr-box { padding: 22px 18px; border-radius: 20px; }
  .cr-row .btn { width: 100%; }
  .cr-money { grid-template-columns: 1fr 1fr; }
  .cr-money .cr-big { grid-column: 1 / -1; }
  .cr-people { grid-template-columns: 1fr 1fr; }
  .cr-top h3 { font-size: 25px; }
}
@media (max-width: 480px) {
  .end .stores { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
}
/* Phones: one card per month, nothing hidden off to the side. */
@media (max-width: 600px) {
  .cr-table thead { display: none; }
  .cr-table tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-top: 1px solid var(--line); }
  .cr-table td { border: 0; padding: 0; white-space: normal; }
  .cr-table td:nth-child(1) { grid-area: 1 / 1; font-weight: 700; }
  .cr-table td:nth-child(4) { grid-area: 1 / 2; text-align: right; }
  .cr-table td:nth-child(2) { grid-area: 2 / 1; color: var(--muted); }
  .cr-table td:nth-child(3) { grid-area: 2 / 2; text-align: right; font-family: var(--f-head); font-size: 22px; }
  .cr-table td[data-label]::before { content: attr(data-label) ": "; }
  .cr-table td[colspan] { grid-column: 1 / -1; }
}
/* Long amounts ($1,050.84) must fit a half-width tile on a phone. */
.cr-money > div, .cr-people div { min-width: 0; }
@media (max-width: 600px) {
  .cr-money > div:not(.cr-big) b { font-size: clamp(20px, 6.4vw, 30px); }
}
@media (max-width: 600px) {
  .cr-money > div:not(.cr-big) .cr-lab { flex-direction: column; align-items: flex-start; gap: 6px; }
}
.cr-terms { max-width: 46ch; margin: 22px auto 0; font-size: 15px; color: var(--muted); }
.cr-terms a, .cr-rules-note a { color: var(--tide); text-underline-offset: 3px; }
.cr-rules-note { margin: -6px 0 18px; color: var(--muted); }
