/* The brand page (brand.pathfinderthegame.com): the guide's look (docs.css) and what this page has of its own. */

.brand-page article {
  max-width: 52rem;
}

.brand-page h3 {
  margin-top: 32px;
  font-size: 17px;
  text-align: left;
}

.brand-page h3 + p {
  margin-top: 6px;
  color: var(--ink-2);
}

/* ---- the "download everything" button */
.get-all {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--raised);
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
}

.button .i {
  font-size: 19px;
  color: var(--accent);
}

.button:hover {
  border-color: var(--accent);
  color: #fff;
}

.small {
  color: var(--ink-3);
  font-size: 14px;
}

/* ---- the logos, each in a box with its downloads under it */
.logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.logos.wide {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.logos figure {
  display: flex;
  flex-direction: column;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--raised);
}

.show {
  display: grid;
  place-items: center;
  min-height: 188px;
  padding: 28px;
  background: var(--page);
  border-bottom: 1px solid var(--line);
}

.show.light {
  background: var(--ink);
}

.show img {
  display: block;
  max-width: 100%;
  height: auto;
}

.logos figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px 14px;
}

.what {
  font-size: 14.5px;
  font-weight: 600;
}

.get {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.get a {
  padding: 2px 9px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}

.get a:hover {
  border-color: var(--accent);
  color: #fff;
}

/* ---- the colors */
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.swatches li {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--raised);
}

.chip {
  grid-row: 1 / 4;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.swatches .name {
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.3;
}

.swatches code {
  justify-self: start;
  font-size: 13px;
}

.swatches .use {
  color: var(--ink-3);
  font-size: 13px;
  line-height: 1.35;
}

.c-accent {
  background: #b996e8;
}

.c-white {
  background: #ffffff;
}

.c-ink {
  background: #e7e3ec;
}

.c-page {
  background: #120c18;
}

.c-well {
  background: #221a2a;
}

.c-line {
  background: #2b2433;
}

/* ---- the don'ts */
.donts li::marker {
  color: var(--careful);
}

@media (max-width: 940px) {
  .show {
    min-height: 160px;
    padding: 22px;
  }
}
