:root {
  --purple: #8240b5;
  --purple-bright: #a839ff;
  --grey-lightest: #f5f5f5;
  --grey-light: #bdbdbd;
  --grey-dark: #575658;
  --grey-darkest: #262626;

  font-family:
    'Noto Sans SC', 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--grey-darkest);
  background: var(--grey-lightest);
}

.kg-width-wide,
.kg-width-full {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.kg-width-wide {
  max-width: 70rem;
}

.kg-width-full {
  max-width: none;
}

.bridge-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
}

.bridge-card {
  width: min(100%, 34rem);
  padding: 2.5rem 2rem;
  text-align: center;
  background: #fff;
  border: 1px solid rgb(189 189 189 / 45%);
  border-radius: 1.5rem;
  box-shadow:
    0 0.375rem 0.75rem rgb(0 0 0 / 8%),
    0 0.25rem 0.5rem rgb(0 0 0 / 5%);
}

.bridge-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.bridge-brand-symbol {
  display: block;
  width: min(100%, 11rem);
  height: auto;
}

.bridge-brand-wordmark {
  display: block;
  width: min(100%, 6.625rem);
  height: auto;
}

.bridge-title {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.2;
  color: var(--grey-darkest);
}

.bridge-copy {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--grey-dark);
}

.bridge-copy-muted {
  font-size: 0.875rem;
  color: var(--grey-dark);
}

.bridge-actions {
  margin: 2rem 0 0;
}

.bridge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.625rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background: var(--purple);
  border-radius: 9999px;
  transition: background-color 200ms ease-out;
}

.bridge-link:hover,
.bridge-link:focus {
  background: var(--purple-bright);
}

@media (width >= 48rem) {
  .bridge-shell {
    padding: 2.5rem 2rem;
  }

  .bridge-card {
    padding: 3rem 2.5rem;
  }

  .bridge-brand {
    margin-bottom: 1.75rem;
  }
}
