/*
 * Help pages (/help/, /it/aiuto/). Loaded after legal/legal.css, whose tokens,
 * bar, sheet and footer they share; this file adds only what a guide needs:
 * the short answer, numbered steps, screenshots, the hub list and the call
 * to action.
 */

.crumbs {
  margin: 0 0 16px;
  font-size: 0.875rem;
  color: var(--paper-text-2);
}
.sheet .crumbs a {
  color: inherit;
  text-decoration: none;
}
.sheet .crumbs a:hover {
  text-decoration: underline;
}

.help h1 {
  font-size: clamp(2rem, 5.5vw, 3rem);
  text-wrap: balance;
}
.help h1 + .meta {
  margin-top: 16px;
}

/* The answer, in the first two sentences, before anything else. */
.answer {
  margin: 24px 0 0;
  padding: 20px 24px;
  background: var(--paper-tonal);
  border-radius: 14px;
  font-size: 1.125rem;
  line-height: 1.55;
}
.sheet .answer {
  margin: 24px 0 8px;
}
.help .meta + .answer {
  margin-top: 20px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 2.5em;
  min-height: 1.75em;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.05em;
  width: 1.75em;
  height: 1.75em;
  border-radius: 50%;
  background: var(--paper-accent);
  color: var(--paper);
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1.75em;
  text-align: center;
}
.sheet .steps li + li {
  margin-top: 10px;
}

.shot {
  margin: 20px 0 8px;
  display: grid;
  justify-items: center;
  gap: 10px;
}
.shot img {
  width: min(100%, 280px);
  height: auto;
  border-radius: 28px;
  box-shadow: inset 0 0 0 1px var(--paper-line), 0 6px 0 var(--edge);
}
.shot figcaption {
  font-size: 0.9375rem;
  color: var(--paper-text-2);
  text-align: center;
}

/* Hub: one question per row, with its one line description. */
.hub {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0;
}
.sheet .hub li + li {
  margin-top: 0;
}
.hub li {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--paper-line);
}
.hub li:first-child {
  border-top: 1px solid var(--paper-line);
}
.sheet .hub a {
  font-weight: 650;
  text-decoration: none;
}
.sheet .hub a:hover {
  text-decoration: underline;
}
.hub span {
  color: var(--paper-text-2);
  font-size: 0.9375rem;
}

.cta {
  margin: 48px 0 0;
  padding: 24px;
  border: 1px solid var(--paper-line);
  border-radius: 18px;
}
.sheet .cta h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}
.cta__badge {
  display: inline-block;
  margin-top: 4px;
}
.cta__badge img {
  display: block;
  height: 50px;
  width: auto;
}

.related {
  margin-top: 40px;
}
.sheet .related h2 {
  margin-top: 0;
  font-size: 1.25rem;
}
