/* Thin hub extras on /assets/css/challenge-guide.css. Tokens stay in the guide sheet. */
/* Display face shared with / and /tools/. Reversible: drop the @font-face + h1 rule. */

@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

h1 {
  font-family: Fraunces, "Times New Roman", Times, serif;
  font-weight: 700;
}

.price {
  color: var(--ink);
  font-weight: 600;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  align-items: center;
  margin: 0 0 1.25rem;
}

.cta-row .cta {
  margin: 0;
}

a.cta-secondary {
  margin-left: 0;
  font-weight: 600;
  text-decoration: none;
}

img.sample {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 0 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--bg-raised);
}

code {
  font-size: 0.92em;
}

@media (max-width: 40rem) {
  .cta-row {
    display: block;
  }

  a.cta-secondary {
    display: inline-block;
    margin-top: 0.55rem;
  }
}
