/* brand-lockup: the logo and the wordmark "open calls." (Geist 700), made
   by `web::brand` for every layout. Each size is the owner's artboard's
   own: WebHome (header 34 and 23, footer 26), WebHomeMobile (28 and 20,
   footer 24), WebDashboard and the other account artboards (30 and 21),
   WebSignIn (the logo alone, 34; the giant wordmark, 210). The fonts and
   the colours are design.css's. */

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  color: var(--wordmark);
  text-decoration: none;
  white-space: nowrap;
}

.brand-logo {
  display: block;
  flex: none;
}

.brand-word {
  font-family: var(--font-brand);
  font-weight: 700;
  line-height: 1;
  color: var(--wordmark);
}

.brand-word span {
  color: var(--wordmark-period);
}

.brand-landing .brand-logo {
  width: 34px;
  height: 34px;
}

.brand-landing .brand-word {
  font-size: 23px;
  letter-spacing: -1.15px;
}

.brand-account .brand-logo {
  width: 30px;
  height: 30px;
}

.brand-account .brand-word {
  font-size: 21px;
  letter-spacing: -1px;
}

.brand-sign-in .brand-logo {
  width: 34px;
  height: 34px;
}

.brand-footer .brand-word {
  font-size: 26px;
  letter-spacing: -1.3px;
}

/* WebSignIn: white, 210 px at 1440 (smaller on a narrower window), its
   tracking -10 px at that size, the period in the accent on dark. */
.brand-watermark {
  font-family: var(--font-brand);
  font-weight: 700;
  font-size: min(210px, 14.6vw);
  line-height: 1;
  letter-spacing: calc(-10em / 210);
  color: #ffffff;
  text-shadow: 0 20px 60px rgba(63, 85, 217, 0.25);
}

.brand-watermark span {
  color: var(--accent-on-inverse);
}

/* The landing page's phone layout (landing.css, 800 px and under). */
@media (max-width: 800px) {
  .brand-landing {
    gap: 8px;
  }
  .brand-landing .brand-logo {
    width: 28px;
    height: 28px;
  }
  .brand-landing .brand-word {
    font-size: 20px;
    letter-spacing: -1px;
  }
  .brand-footer .brand-word {
    font-size: 24px;
    letter-spacing: -1.2px;
  }
}
