body { padding-bottom: 60px; }
[hidden] { display: none !important; }
.spacer { width: 40px; }

.title {
  font-size: clamp(44px, 13vw, 68px);
  font-weight: 300;
  margin-top: 20px;
}
.title-script {
  display: block;
  width: fit-content;
  margin: -14px 0 6px auto;
  font-size: clamp(42px, 11vw, 56px);
}
.lede { color: var(--ink-soft); font-weight: 300; max-width: 380px; margin: 6px 0 28px; }

.hint { color: var(--ink-soft); font-size: 13px; font-weight: 300; }
.error { color: #c23a4b; font-size: 13px; margin-top: 10px; }
.error:empty { display: none; }

/* de dónde vienes */
.sources { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 6px; }

.guide {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 22px;
  margin: 20px 0 28px;
}
.guide li {
  counter-increment: step;
  position: relative;
  padding-left: 48px;
  color: var(--ink-soft);
  font-weight: 300;
  line-height: 1.55;
}
.guide li::before {
  content: counter(step) "/";
  position: absolute;
  left: 0;
  top: -6px;
  font-family: var(--script);
  font-size: 44px;
  line-height: 1;
  color: var(--accent);
  transform: rotate(-6deg);
}
.guide li b { color: var(--ink); font-weight: 500; }
.ext-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ext-links a {
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.ext-links a:hover { border-color: var(--ink); }

.pick { width: 100%; cursor: pointer; }

/* vista previa */
.preview {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 20px;
  display: grid;
  gap: 10px;
}
.found { font-family: var(--display); font-weight: 300; font-size: 24px; line-height: 1.15; }
.found b { color: var(--accent); font-weight: 400; font-size: 38px; vertical-align: -3px; }
.by-status { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-soft); }
.by-status b { color: var(--ink); font-weight: 500; }

.opts { display: grid; gap: 4px; margin-top: 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 8px 0; cursor: pointer; font-size: 15px; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt .box {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: grid;
  place-items: center;
  transition: background .15s;
}
.opt .box::after {
  content: "";
  width: 6px;
  height: 11px;
  border: solid var(--bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
  opacity: 0;
}
.opt input:checked + .box { background: var(--accent); }
.opt input:checked + .box::after { opacity: 1; }
.opt input:focus-visible + .box { outline: 2px solid var(--ink); outline-offset: 2px; }

.go { width: 100%; margin-top: 18px; }
.go:disabled { opacity: .4; }
.linklike {
  display: block;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.note { text-align: center; margin-top: 18px; }

/* progreso */
.prog-label { font-family: var(--display); font-weight: 300; font-size: 26px; margin: 10px 0 14px; }
.bar { height: 10px; border-radius: 999px; background: rgba(42, 20, 22, .12); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width .25s ease; }
#progHint { margin-top: 14px; }

/* listo */
.done-card {
  background: #8b2c2a;
  color: #f6d6e3;
  border-radius: 32px;
  padding: 30px 24px;
  display: grid;
  gap: 8px;
}
.done-card h2 { font-size: 44px; font-weight: 300; }
.done-card .left { font-size: 13px; opacity: .75; }
.done-card .left:empty { display: none; }
#stepDone .go { display: flex; }
