/* ==========================================================================
   VARIABLES
   ========================================================================== */


:root {
  --font-family-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
  --font-family-code: Menlo, Monaco, monospace;

  --font-size-base: 1rem;
  --font-size-md: 1.25rem;
  --font-size-lg: 1.5rem;
  --font-size-xl: 1.75rem;
  --font-size-2xl: 2.25rem;
  --font-size-3xl: 2.5rem;
  --font-size-4xl: 3rem;
  --font-size-5xl: 4rem;

  --space-0: 0;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: 1rem;
  --space-4: 2rem;
  --space-5: 4rem;

  --color-blue: #0055FF;
  --color-red: #FF3300;
  --color-yellow: #FFCC00;
  --color-green: #4CA55E;

  --color-blue-100: #CCDBFF;
  --color-red-100: #FFD3CC;
  --color-yellow-100: #FFF8CC;
  --color-green-100: #D9EFDE;

  --mark: var(--color-yellow-100);
  --outline: 0 0 0 3px var(--color-yellow);
  --gap: var(--space-3);
  --radius: 4px;
  --shadow: 0 1px 2px rgba(0,0,0,0.07),
            0 2px 4px rgba(0,0,0,0.07),
            0 4px 8px rgba(0,0,0,0.07),
            0 8px 16px rgba(0,0,0,0.07),
            0 16px 32px rgba(0,0,0,0.07),
            0 32px 64px rgba(0,0,0,0.07);

  --theme-color: #24292e;
  --theme-color-primary: var(--color-blue);
  --theme-color-gray: #6a737d;
  --theme-color-gray-light: #F6F8FA;
  --theme-background-color: #FFFFFF;
  --theme-border-color: #EEEEEE;
}

@media (min-width: 720px) {
  :root {
    --gap: var(--space-4);
  }
}




/* ==========================================================================
   BASE
   ========================================================================== */


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 45rem;
  margin-right: auto;
  margin-left: auto;
  padding: var(--space-5) var(--space-3);
  font-family: var(--font-family-sans);
  line-height: 1.5;
  color: var(--theme-color);
  background-color: var(--theme-background-color);
}

h1, h2, h3,
h4, h5, h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.o-stack--prose > * + h2,
.o-stack--prose > * + h3 {
  margin-top: var(--space-4);
}

.o-stack--prose h2 {
  font-size: var(--font-size-lg);
}

.o-stack--prose h3 {
  font-size: var(--font-size-md);
}

.o-stack--lead p:first-of-type {
  font-size: var(--font-size-lg);
  line-height: 1.3;
}

a {
  color: inherit;
  text-decoration-color: var(--theme-color-primary);
}

a:hover,
a:focus {
  color: var(--theme-color-primary);
}

a:focus {
  outline: 0;
  box-shadow: var(--outline) !important;
}

h2 a {
  color: var(--theme-color-primary);
  text-decoration: none;
}

h2 a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

ul {
  list-style: none;
}

ul:not([class]) li {
  position: relative;
  padding-left: 1.1rem;
}

ul:not([class]) li + li {
  margin-top: var(--space-1);
}

ul:not([class]) li::before {
  content: '–';
  position: absolute;
  top: 0;
  left: 0;
  color: var(--theme-color-gray);
}

dt {
  font-weight: 600;
}

dd + dt {
  margin-top: var(--space-2);
}

blockquote p {
  font-style: italic;
}

figure blockquote p::before { content: '“'; }
figure blockquote p::after { content: '”'; }

figure blockquote p {
  text-indent: -.25rem;
}

blockquote {
  border-left: 4px solid var(--theme-border-color);
  padding-left: var(--space-3);
}

main {
  margin-bottom: var(--space-5);
  outline: none;
}

mark {
  padding-right: .1em;
  padding-left: .1em;
  background-color: var(--mark);
}

hr {
  margin-top: 2rem !important;
  margin-bottom: 2rem;
  width: 100%;
  border: 0;
  height: 4px;
  background-color: var(--theme-border-color);
}

kbd {
  display: inline-block;
  padding-right: 4px;
  padding-left: 4px;
  background-color: #FAFAFA;
  border: 1px solid #EAEAEA;
  box-shadow: inset 0 -1px 0 #D9EFDE;
  border-radius: var(--radius);
  font-family: var(--font-family-code);
  font-size: .95rem;
  color: #222222;
}



/* ==========================================================================
   OBJECTS
   ========================================================================== */


/**
 * ASPECT-RATIO
 */

[style*='--aspect-ratio'] > :first-child {
  height: auto;
  width: 100%;
}

@supports (--custom: property) {
  [style*='--aspect-ratio'] {
    position: relative;
    width: 100%;
    background-color: var(--color-gray-100);
  }

  [style*='--aspect-ratio']::before {
    content: '';
    display: block;
    padding-bottom: calc(100% / (var(--aspect-ratio)));
  }

  [style*='--aspect-ratio'] > :first-child {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }
}


/**
 * BREAKOUT
 */
.o-breakout {
  position: relative;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}


.o-container {
  max-width: 45rem;
  margin-right: auto;
  margin-left: auto;
  padding-right: var(--space-3);
  padding-left: var(--space-3);
}

.o-container--lg {
  max-width: 75rem;
}


/**
 * GRID
 */

.o-grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--gap) * -1);
  margin-bottom: calc(var(--gap) * -1);
}

.o-grid--justify-end {
  justify-content: flex-end;
}

@media(min-width: 720px) {
  .o-grid--reversed\@md {
    flex-direction: row-reverse;
  }
}

.o-grid + .o-grid {
  margin-top: var(--gap);
}

.o-grid--align-center {
  align-items: center;
}

@media (min-width: 720px) {
  .o-grid--align-center\@md {
    align-items: center;
  }
}

.o-grid__col {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-left: var(--gap);
  margin-bottom: var(--gap);
}


/**
 * STACK
 */

.o-stack > * + *    { margin-top: var(--space-3); }
.o-stack--1 > * + * { margin-top: var(--space-1); }
.o-stack--2 > * + * { margin-top: var(--space-2); }
.o-stack--3 > * + * { margin-top: var(--space-3); }
.o-stack--4 > * + * { margin-top: var(--space-4); }
.o-stack--5 > * + * { margin-top: var(--space-5); }


/**
 * TAGS
 */

.o-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.o-tags--center {
  justify-content: center;
}

.o-tags__item {
  margin-right: var(--space-2);
  margin-bottom: var(--space-2);
}


/* ==========================================================================
   COMPONENTS
   ========================================================================== */


/**
 * AVATAR
 */

.c-avatar {
  flex-shrink: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--theme-border-color);
}


/**
 * BANNER
 */

.c-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

@media (min-width: 720px) {
  .c-banner {
    align-items: center;
  }
}

.c-banner__branding {
  display: inline-block;
  border-radius: var(--radius);
}

.c-banner__branding svg {
  vertical-align: top;
  border-radius: var(--radius);
}

@media (max-width: 720px) {
  .c-banner__nav {
    display: flex;
    justify-content: flex-end;
  }
}

.c-banner__nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

@media (min-width: 720px) {
  .c-banner__nav-list {
    flex-direction: row;
  }

  .c-banner__nav-item + .c-banner__nav-item {
    margin-left: var(--space-4);
  }
}

.c-banner__nav-anchor {
  text-decoration: none;
}


/**
 * BUTTON
 */

.c-button {
  -webkit-appearance: none;
  outline: none;
  appearance: none;
  display: inline-flex;
  align-items: center;
  padding: 0.6875rem 1rem;
  background-color: #000000;
  border: 1px solid #000000;
  color: #fff;
  font: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all ease-in-out 0.2s;
}

.c-button:hover,
.c-button:focus {
  background-color: var(--theme-color-primary);
  border-color: var(--theme-color-primary);
  color: #FFFFFF;
}

.c-button--primary {
  background-color: var(--theme-color-primary);
  border-color: var(--theme-color-primary);
}

.c-button--primary:hover,
.c-button--primary:focus {
  background-color: #000000;
  border-color: #000000;
}

.c-button--secondary {
  background-color: var(--theme-background-color);
  border-color: var(--theme-color-gray);
  color: var(--theme-color-gray);
  box-shadow: none;
}

.c-button:focus {
  box-shadow: var(--outline);
}

.c-button svg {
  margin-right: var(--space-2);
  flex-shrink: 0;
}

.c-button--sm {
  padding: var(--space-1) .75rem;
  font-size: smaller;
}


/**
 * CARD
 */

.c-card {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: var(--space-4);
  background-color: var(--theme-color-gray-light);
  border-radius: var(--radius);
}


/**
 * CONTENTINFO
 */

.c-contentinfo {
  margin-top: auto;
  padding-top: var(--space-5);
  border-top: 1px solid var(--theme-border-color);
}

.c-contentinfo__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.c-contentinfo__list + .c-contentinfo__list {
  margin-top: var(--space-4);
}

.c-contentinfo__list-item + .c-contentinfo__list-item {
  margin-left: var(--space-3);
}

@media (min-width: 720px) {
  .c-contentinfo__list-item + .c-contentinfo__list-item {
    margin-left: var(--space-4);
  }
}

.c-contentinfo__list-anchor {
  text-decoration: none;
}


/**
 * HEADING-DECORATE
 */

.c-heading-decorate::after {
  content: '\2009\00AC';
  display: inline-block;
  color: var(--theme-color-gray);
  opacity: .5;
}


/**
 * FORM
 */

.c-form__row + .c-form__row {
  margin-top: var(--space-3);
}

.c-form__row--button {
  display: flex;
  align-items: flex-end;
}

.c-form__row--button div {
  flex: 1;
  margin-right: var(--space-3);
}

.c-form__label {
  display: block;
  margin-bottom: var(--space-1);
  font-weight: 600;
}

.c-form__input {
  display: block;
  width: 100%;
  padding: 0.6875rem var(--space-3);
  font: inherit;
  background-color: #FAFAFA;
  border: 1px solid var(--theme-border-color);
  border-radius: var(--radius);
  outline: none;
}

.c-form__input:focus {
  box-shadow: var(--outline);
}


/**
 * NOTE
 */

.c-note {
  padding: var(--space-3);
  border: 1px solid var(--theme-border-color);
  border-radius: var(--radius);
}

.c-note--primary {
  border-color: var(--theme-color-primary);
}

.c-note__label {
  font-weight: 600;
}


/**
 * LINK
 */

.c-link {
  display: inline-flex;
  align-items: center;
  color: var(--theme-color-primary);
  text-decoration: none;
}

.c-link:hover,
.c-link:focus {
  text-decoration: underline;
}

.c-link svg {
  margin-left: var(--space-1);
}


/**
 * LISTING
 */

 .c-listing {
  list-style: none;
}

.c-listing__item:not(:last-of-type) {
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--theme-border-color);
}


/**
 * META
 */

@media (min-width: 720px) {
  .c-meta {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    grid-template-rows: repeat(50, min-content);
    grid-column-gap: var(--space-4);
  }

  .c-meta__title {
    grid-row-start: 1;
  }
}


/**
 * PAGINATION
 */

.c-pagination {
  display: flex;
  align-items: center;
}

.c-pagination__item {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-3);
  background-color: transparent;
  color: inherit;
  border: 1px solid currentColor;
  text-decoration: none;
  border-radius: var(--radius);
  transition: all ease-in-out 0.2s;
}

.c-pagination__item:hover {
  color: var(--theme-color-primary);
}

.c-pagination__item[rel="next"] {
  margin-left: auto;
}

.c-pagination__item[rel="next"] svg {
  margin-left: var(--space-1);
}

.c-pagination__item[rel="prev"] svg {
  margin-right: var(--space-1);
  transform: rotate(180deg);
}


/**
 * PILL
 */

 .c-pill {
  position: relative;
  padding: var(--space-1) .75rem;
  border-radius: var(--space-3);
  color: var(--theme-color-primary);
  text-decoration: none;
  font-size: smaller;
  -webkit-transition: var(--transition);
  transition: var(--transition);
}

.c-pill:after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--theme-color-primary);
  border-radius: var(--space-3);
  opacity: .15;
  -webkit-transition: var(--transition);
  transition: var(--transition);
  z-index: -1;
}

a.c-pill:hover {
  color: #fff;
}

a.c-pill:hover:after {
  opacity: 1;
}


/**
 * SHARE
 */

.c-share {
  position: relative;
  display: -webkit-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.c-share::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--theme-border-color);
}

.c-share span {
  position: relative;
  padding-right: 1rem;
  background-color: var(--theme-background-color);
  color: var(--theme-color-gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 10;
}

.c-share__list {
  position: relative;
  list-style: none;
  display: flex;
  align-items: center;
  padding-left: var(--space-3);
  background-color: var(--theme-background-color);
  z-index: 10;
}

.c-share__list-item:not(:last-of-type) {
  margin-right: var(--space-3);
}

.c-share__list-anchor {
  color: currentColor;
}

.c-share__list-anchor:hover {
  color: var(--theme-color-primary);
}


/**
 * VIDEO
 */

.c-video__backdrop[style] {
  padding: var(--space-4);
  background-color: var(--backdrop, #FAFAFA);
}

.c-video__caption {
  margin-top: var(--space-2);
  text-align: center;
  color: var(--theme-color-gray);
}


/**
 * QUOTE
 */

/* .c-quote {} */

.c-quote__blockquote {
  border-left: 0;
  padding-left: 0;
}

.c-quote--feature .c-quote__blockquote {
  text-align: center;
  font-size: var(--font-size-md);
}

.c-quote__cite {
  margin-top: var(--space-3);
  display: flex;
}

.c-quote--feature .c-quote__cite {
  flex-direction: column;
  text-align: center;
}

.c-quote--default .c-quote__cite-media {
  flex-shrink: 0;
  margin-right: var(--space-3);
}

.c-quote--feature .c-quote__cite-body {
  margin-top: var(--space-2);
}




/* ==========================================================================
   UTILITIES
   ========================================================================== */


.u-text-center {
  text-align: center;
}


/**
 * WIDTHS
 */

.u-width-1of12 {
  width: calc(100% * 1 / 12);
}

.u-width-3of12 {
  width: calc(100% * 3 / 12);
}

.u-width-4of12 {
  width: calc(100% * 4 / 12);
}

.u-width-6of12 {
  width: calc(100% * 6 / 12);
}

.u-width-7of12 {
  width: calc(100% * 7 / 12);
}

.u-width-8of12 {
  width: calc(100% * 8 / 12);
}

.u-width-9of12 {
  width: calc(100% * 9 / 12);
}

.u-offset-3of12 {
  margin-left: calc(100% * 3 / 12);
}

.u-offset-4of12 {
  margin-left: calc(100% * 4 / 12);
}

@media (min-width: 720px) {
  .u-width-1of12\@md {
    width: calc(100% * 1 / 12);
  }

  .u-width-3of12\@md {
    width: calc(100% * 3 / 12);
  }

  .u-width-4of12\@md {
    width: calc(100% * 4 / 12);
  }

  .u-width-6of12\@md {
    width: calc(100% * 6 / 12);
  }

  .u-width-7of12\@md {
    width: calc(100% * 7 / 12);
  }

  .u-width-8of12\@md {
    width: calc(100% * 8 / 12);
  }

  .u-width-9of12\@md {
    width: calc(100% * 9 / 12);
  }

  .u-offset-3of12\@md {
    margin-left: calc(100% * 3 / 12);
  }

  .u-offset-4of12\@md {
    margin-left: calc(100% * 4 / 12);
  }
}


/**
 * ORDER
 */
@media (min-width: 720px) {
  .u-order-first\@md {
    order: -9999;
  }
}


/**
 * SPACING
 */

.u-margin-right-1  { margin-right: var(--space-1) !important; }
.u-margin-right-2  { margin-right: var(--space-2) !important; }
.u-margin-right-3  { margin-right: var(--space-3) !important; }

.u-margin-top-0 { margin-top: var(--space-0) !important; }
.u-margin-top-1 { margin-top: var(--space-1) !important; }
.u-margin-top-2 { margin-top: var(--space-2) !important; }
.u-margin-top-3 { margin-top: var(--space-3) !important; }
.u-margin-top-4 { margin-top: var(--space-4) !important; }
.u-margin-top-5 { margin-top: var(--space-5) !important; }
.u-margin-top-6 { margin-top: var(--space-6) !important; }

@media (min-width: 720px) {
  .u-margin-top-0\@md { margin-top: var(--space-0) !important; }
  .u-margin-top-1\@md { margin-top: var(--space-1) !important; }
  .u-margin-top-2\@md { margin-top: var(--space-2) !important; }
  .u-margin-top-3\@md { margin-top: var(--space-3) !important; }
  .u-margin-top-4\@md { margin-top: var(--space-4) !important; }
  .u-margin-top-5\@md { margin-top: var(--space-5) !important; }
  .u-margin-top-6\@md { margin-top: var(--space-6) !important; }
}

.u-padding-left-0 { padding-left: 0 !important; }

/**
 * FONT-SCALE
 */

.u-font-size-sm   { font-size: 88.8888889% !important; }
.u-font-size-base { font-size: var(--font-size-base) !important; }
.u-font-size-md   { font-size: var(--font-size-md) !important; }
.u-font-size-lg   { font-size: var(--font-size-lg) !important; }
.u-font-size-xl   { font-size: var(--font-size-xl) !important; }
.u-font-size-2xl  { font-size: var(--font-size-2xl) !important; }
.u-font-size-3xl  { font-size: var(--font-size-3xl) !important; }
.u-font-size-4xl  { font-size: var(--font-size-4xl) !important; }
.u-font-size-5xl  { font-size: var(--font-size-5xl) !important; }

@media (min-width: 720px) {
  .u-font-size-sm\@md   { font-size: 88.8888889% !important; }
  .u-font-size-base\@md { font-size: var(--font-size-base) !important; }
  .u-font-size-md\@md   { font-size: var(--font-size-md) !important; }
  .u-font-size-lg\@md   { font-size: var(--font-size-lg) !important; }
  .u-font-size-xl\@md   { font-size: var(--font-size-xl) !important; }
  .u-font-size-2xl\@md  { font-size: var(--font-size-2xl) !important; }
  .u-font-size-3xl\@md  { font-size: var(--font-size-3xl) !important; }
  .u-font-size-4xl\@md  { font-size: var(--font-size-4xl) !important; }
  .u-font-size-5xl\@md  { font-size: var(--font-size-5xl) !important; }
}


/**
 * LEADING
 */

.u-leading-strict {
  line-height: 1.1;
}

.u-leading-tight {
  line-height: 1.3;
}

.u-text-uppercase {
  text-transform: uppercase;
  letter-spacing: 1px;
}


/**
 * FONT-WEIGHT
 */

.u-font-weight-normal {
  font-weight: 400;
}

.u-font-weight-semi-bold {
  font-weight: 600;
}


/**
 * COLORS
 */

.u-color-primary {
  color: var(--theme-color-primary);
}

.u-color-gray {
  color: var(--theme-color-gray);
}

.u-primary-anchor {
  color: var(--theme-color-primary);
  text-decoration: none;
}

.u-primary-anchor:hover,
.u-primary-anchor:focus {
  text-decoration: underline;
}


/**
 * HIDDEN-VISUALLY
 */

.u-hidden-visually {
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  -webkit-clip-path: inset(50%) !important;
  clip-path: inset(50%) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: absolute !important;
  white-space: nowrap !important;
  width: 1px !important;
}


/**
 * FLEXBOX
 */

.u-flex {
  display: flex;
}

.u-justify-center {
  justify-content: center;
}

.u-justify-between {
  justify-content: space-between;
}

.u-align-center {
  align-items: center;
}

.u-flex-shrink-0 {
  flex-shrink: 0;
}


/**
 * BORDERS
 */

.u-bordered {
  border: 1px solid var(--theme-border-color);
}

.u-border-none {
  border: 0;
}

.u-shadow {
  box-shadow: var(--shadow);
}

.u-rounded {
  border-radius: var(--radius);
}

.u-text-right {
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
