/* Screens 1 and 2: the intro (.intro) and the progress run (.prog). Uses tokens from shell.css. */

/* ---------- Screen 1: Your site ---------- */

.intro { max-width: 560px; padding-top: 8px; }
.intro__title {
  max-width: 10.2em; font-size: clamp(34px, 3.1vw, 44px); font-weight: 700;
  line-height: 1.04; letter-spacing: -0.035em;
}
.intro__lede { margin-top: 16px; font-size: 16px; line-height: 1.6; color: var(--text); max-width: 34em; }

.intro__form { margin-top: 24px; }
.intro__label { display: block; margin-bottom: 9px; font-size: var(--fs-md); font-weight: 600; color: var(--ink); }

.intro__url {
  display: flex; align-items: center; height: 52px; padding: 0 16px;
  background: var(--surface); border: 1.5px solid var(--navy); border-radius: var(--radius-sm);
  font-size: 17px; cursor: text;
  transition: box-shadow .15s;
}
.intro__url:focus-within { box-shadow: 0 0 0 4px rgba(44, 51, 64, .1); }
.intro__prefix { color: var(--muted); user-select: none; }
.intro__input {
  flex: 1; min-width: 0; height: 100%; padding: 0 0 0 1px;
  border: 0; outline: 0; background: none; color: var(--ink); font-size: inherit;
}
.intro__input::placeholder { color: var(--hint); }
.intro__form .btn--lg { margin-top: 12px; min-height: 52px; }
/* A ?site= that wasn't a website address: one calm line under the field, in the "needs you" gold. */
.intro__bad { margin-top: 8px; font-size: var(--fs-md); line-height: 1.45; color: var(--gold-text); }

/* The checkbox: a navy rounded check, with the native input kept for keyboard and screen readers. */

.intro__fine { margin-top: 10px; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); max-width: 36em; }

.intro__steps {
  list-style: none; margin: 20px 0 0; padding: 6px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.intro__step { display: flex; align-items: center; gap: 14px; padding: 8px 14px; border: 1.5px solid transparent; }
.intro__step > div { flex: 1; min-width: 0; }
.intro__step strong { display: block; color: var(--ink); font-size: var(--fs-md); font-weight: 600; line-height: 1.3; }
.intro__step > div > span { display: block; font-size: var(--fs-sm); color: var(--muted); line-height: 1.4; }
/* Each row starts with who does it: a worker (js/workers.js), or Timothy and Elise. */
.intro__who { flex: none; position: relative; width: 58px; height: 40px; }
.intro__step .avatars { display: inline-flex; flex: none; width: 58px; justify-content: center; }

/* ---------- Screen 2: Progress ---------- */

.prog { max-width: 560px; padding-top: 4px; }
.prog__from { font-size: 15.5px; color: var(--muted); }
.prog__from strong { color: var(--ink); font-weight: 600; }
.prog__from .link { margin-left: 8px; font-size: var(--fs-sm); color: var(--muted); }
.prog__from .link:hover { color: var(--ink); }

.prog__jobs { display: grid; gap: 12px; margin-top: 14px; }
.prog__job { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 12px; row-gap: 6px; }
.prog__job-name { display: flex; align-items: center; min-width: 0; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.prog__count { font-size: var(--fs-xs); color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; transition: color .3s; }
.prog__job.is-done .prog__count { color: var(--green); }
.prog__track { grid-column: 1 / -1; height: 4px; border-radius: var(--radius-pill); background: var(--track); overflow: hidden; }
.prog__fill {
  display: block; height: 100%; border-radius: inherit; background: var(--navy);
  transform: scaleX(0); transform-origin: left center; will-change: transform;
}
.prog__job[data-job="check"] .prog__fill { background: var(--green); }
/* Laptops: the two jobs side by side, each with its count under its bar, so the two questions
   stay in view under the notes. */
@media (min-width: 901px) {
  .prog__jobs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .prog__job { grid-template-columns: minmax(0, 1fr); }
  .prog__count { grid-row: 3; }
}
.prog__meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; font-size: var(--fs-sm); }
.prog__left { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.prog__both { color: var(--muted); }

/* One line in Timothy's voice, above the scene where the two workers go to their site. */
.prog__sent { margin-top: 14px; font-size: var(--fs-md); line-height: 1.5; color: var(--text); }
.prog__sent strong { color: var(--ink); font-weight: 600; }

.prog__ask { margin-top: 24px; }
.prog__ask-title { font-size: 15.5px; font-weight: 700; letter-spacing: -0.01em; }
.prog__ask-sub { margin-top: 4px; font-size: var(--fs-sm); color: var(--muted); }
.prog__q { margin: 14px 0 8px; font-size: var(--fs-md); color: var(--ink); }
.prog__ask .chip { padding: 5px 13px; }

@media (max-width: 900px) {
  .intro, .prog { max-width: none; }
}

/* Pick-any-that-apply chips show a check when selected; "Other" opens a short text field. */
.prog__hint { margin-left: 6px; font-size: var(--fs-xs); font-weight: 400; color: var(--muted); }
.prog__other { max-width: 320px; margin-top: 8px; padding: 7px 12px; font-size: var(--fs-sm); }
.prog__other[hidden] { display: none; }

/* Your site, after the check: a short "ready" state instead of the address form. */
.intro--done .intro__lede { margin-bottom: 22px; }
.intro__back { margin: 8px 0 0; font-size: var(--fs-xs); color: var(--muted); text-align: center; }
.intro__fresh { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--muted); }

/* The permission line under the button: continuing is the confirmation. */
.intro__consent { margin: 10px 0 0; font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }


/* The site couldn't be read: say so plainly, where they'll see it. */
.conf-head .conf-note--alert, .prog__head .prog__note.is-shown {
  margin-top: 12px; padding: 10px 14px; border: 1px solid #EBD9B4; border-radius: var(--radius-sm);
  background: var(--gold-soft); color: var(--ink); font-size: var(--fs-sm); line-height: 1.5;
}

/* The two ways in: each is a submit button, so picking one is also "go". */
.intro__ask { margin: 16px 0 8px; font-size: var(--fs-md); font-weight: 600; color: var(--ink); }













/* "No website yet? See a sample.": small and quiet, under the form. */
.intro__try { display: block; margin: 6px 0 4px; font-size: var(--fs-sm); color: var(--muted); }
