:root {
  --font-size-72: 4.5rem;
  --font-size-50: 3.125rem;
  --font-size-40: 2.5rem;
  --font-size-32: 2rem;
  --font-size-28: 1.75rem;
  --font-size-24: 1.5rem;
  --font-size-20: 1.25rem;
  --font-size-18: 1.125rem;
  --font-size-16: 1rem;
  --font-size-14: 0.875rem;
  --font-size-12: 0.75rem;
}

:root {
  --transition-duration: 0.15s;
  --transition-timing-function: ease-in-out;
  interpolate-size: allow-keywords;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
.styleguide-header {
  background-color: var(--color-electricblue);
  color: var(--color-white);
  text-align: center;
}

.styleguide-section-header {
  background-color: var(--color-gray-4);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.styleguide-color-tile-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto;
  gap: 1rem;
}

.styleguide-color-tile {
  padding: 1rem;
  border-radius: 0.5rem;
  grid-column: span 6;
  font-size: var(--font-size-14);
}
@media screen and (min-width: 640px) {
  .styleguide-color-tile {
    grid-column: span 2;
  }
}

@media screen and (min-width: 640px) {
  .styleguide-color-tile--large {
    min-height: 8rem;
  }
}

.styleguide-hr {
  display: block;
  border: 0;
  border-top: 1px solid var(--color-gray-20);
  margin: 1em 0;
  padding: 0;
  clear: both;
}

.styleguide-typography-spec {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
  align-items: center;
  border-top: 1px solid var(--color-gray-20);
  overflow-wrap: break-word;
}
.styleguide-typography-spec code {
  color: var(--color-gray-70);
  font-size: 0.75rem;
}
.styleguide-typography-spec > :nth-child(1n) {
  grid-column: span 3;
}
.styleguide-typography-spec > :nth-child(2n) {
  grid-column: span 9;
}

.styleguide-typography-spec--stack {
  align-items: start;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.styleguide-typography-spec--stack > :nth-child(1n),
.styleguide-typography-spec--stack > :nth-child(2n) {
  grid-column: 1/-1;
}
.styleguide-typography-spec--stack code {
  display: block;
}
