/* The tester program (go/internal/testers, behind the flag "testers"): the steps card in the app
   (testers.js: the Coach page and getting started), the bar over the top of the home page (home.css),
   and /testers. Tokens live in style.css. Nothing shows until the server says the program runs. */

/* ------------------------------------------------------------ the card, in the app */
.tester-card {
  display: grid; gap: 12px; margin-top: 24px; padding: 20px 24px;
  background: var(--card); border: 2.5px solid var(--outline); border-radius: var(--radius);
}
.tester-card h2 { margin: 0; font-size: 1.2rem; }
.tester-card > p { margin: 0; color: var(--ink-soft); max-width: 60ch; }
.tester-left { font-weight: 700; color: var(--meadow-deep); white-space: nowrap; }
:root[data-theme="night"] .tester-left { color: #8EE0AE; }

/* the three steps: a drawn tick once done, the step's one way to it while it isn't */
.tester-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 560px; }
.tester-steps li { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.tester-tick {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--line-strong); color: var(--muted); font-weight: 800; font-size: .85rem;
}
.tester-steps li.done .tester-tick { background: var(--meadow); border-color: var(--meadow); color: #FFFBF0; }
.tester-steps li.done .tester-what { color: var(--ink-soft); }
.tester-what { flex: 1; min-width: 0; }
.tester-steps .small { flex: none; }

.tester-card.granted { background: color-mix(in srgb, var(--meadow-soft) 62%, var(--card)); }
:root[data-theme="night"] .tester-card.granted { background: color-mix(in srgb, var(--meadow) 24%, var(--card)); }
.tester-quiet { margin: 0; font-size: .9rem; color: var(--muted); }

/* ------------------------------------------------------------ the paywall's line about it */
.pw-testers { margin: 0 auto 24px; max-width: 60ch; text-align: center; color: var(--ink-soft); }

/* ------------------------------------------------------------ /testers */
.testers-main .spots { font-size: 1.15rem; margin: 0 0 24px; }
.testers-main .spots b { font-family: var(--display); font-size: 1.6rem; }
.testers-steps { counter-reset: step; list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.testers-steps li {
  counter-increment: step; position: relative; padding: 16px 20px 16px 64px;
  background: var(--card); border: 2.5px solid var(--outline); border-radius: var(--radius);
}
.testers-steps li::before {
  content: counter(step); position: absolute; left: 20px; top: 16px; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: var(--meadow); color: #FFFBF0; font-weight: 800;
}
.testers-steps h2 { margin: 0 0 4px; font-size: 1.1rem; }
.testers-steps p { margin: 0; color: var(--ink-soft); }
.testers-act { margin: 0 0 32px; }
/* the page's one action, the home page's sun button */
.testers-go {
  display: inline-flex; align-items: center; min-height: 48px; padding: .8em 1.5em; border-radius: 999px;
  text-decoration: none; font-weight: 700; font-size: 1.1rem; color: #2A251D; background: var(--sun);
  border: 2px solid var(--outline); box-shadow: 3px 3px 0 var(--outline); transition: transform .15s ease, box-shadow .15s ease;
}
.testers-go:hover { color: #2A251D; transform: translate(-1px, -2px); box-shadow: 4px 5px 0 var(--outline); }
.testers-go:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--outline); }
.testers-fine { color: var(--ink-soft); font-size: .95rem; }
.testers-fine li + li { margin-top: 8px; }
