:root {
  --alz-violet: #9c0fe6;
  --alz-purple: #7a07c9;
  --alz-deep: #5c01a9;
  --alz-dark: #430078;
  --alz-tint: #f6edfc;
  --alz-line: #e4d5ef;
}

body {
  background: linear-gradient(145deg, var(--alz-tint), #ffffff 48%);
}

header {
  position: relative;
  background: linear-gradient(125deg, var(--alz-dark), var(--alz-deep) 52%, var(--alz-violet));
  box-shadow: 0 6px 22px rgba(67, 0, 120, 0.22);
}

.parent-brand {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: max(1rem, calc((100% - 1180px) / 2));
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.parent-brand:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
}

.parent-brand img {
  width: 40px;
  height: 40px;
  margin: 0;
  border-radius: 9px;
  object-fit: contain;
}

.alz-branding {
  display: flex;
  width: fit-content;
  flex-direction: column;
  align-items: center;
  margin-inline: auto;
}

header img {
  border-radius: 21%;
}

.content,
.language-card {
  border: 1px solid var(--alz-line);
  box-shadow: 0 10px 30px rgba(92, 1, 169, 0.09);
}

.language-card:hover {
  border-color: var(--alz-violet);
  box-shadow: 0 14px 32px rgba(92, 1, 169, 0.17);
}

.language-card strong,
.story-note strong {
  color: var(--alz-deep);
}

.cta,
a.button {
  background: var(--alz-violet);
}

.cta:hover,
a.button:hover {
  background: #8509d2;
}

.cta:active,
a.button:active {
  background: var(--alz-deep);
}

.recommendation {
  background: #fbf8fd;
  border-left-color: var(--alz-violet);
}

.user-story {
  background: var(--alz-tint);
  border-color: #dac2eb;
  box-shadow: 0 14px 30px rgba(92, 1, 169, 0.1);
}

.user-story::after {
  background: var(--alz-tint);
  border-right-color: #dac2eb;
  border-bottom-color: #dac2eb;
}

.story-label {
  color: var(--alz-deep);
}

.story-quote {
  color: #430078;
}

.story-note {
  border-top-color: #dac2eb;
}

footer {
  color: #4f4655;
  background: #f7f2fa;
  border-top: 1px solid var(--alz-line);
}

footer a {
  color: var(--alz-deep);
}

:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid #b93cff;
  outline-offset: 3px;
}

@media (max-width: 680px) {
  header {
    padding-top: 5.25rem;
  }

  .parent-brand {
    top: 0.65rem;
    left: 0.65rem;
    min-height: 44px;
    gap: 0.5rem;
    padding: 0.3rem 0.45rem;
    font-size: 0.9rem;
  }

  .parent-brand img {
    width: 34px;
    height: 34px;
  }

  .alz-branding > img {
    width: 104px;
  }

  .content {
    padding: 2rem 1.25rem;
  }
}
