:root {
  --theme: #3965ab;
  --hue: 217;
  --sat: 50%;
  --hs: var(--hue) var(--sat);
  --hsl: var(--hs) 45%;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  font-family: system-ui, -apple-system, sans-serif;
  line-height: 1.25;
  color: #101214;
  background: hsl(var(--hsl) / 0.05);
  margin: 0;
  min-height: 100%;
}
body {
  min-height: 100svh;
  padding: clamp(1.5rem, 5vw, 3rem) 0.75rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
main {
  max-width: 48rem;
}
img {
  display: block;
  /* max-width: 24rem; */
  width: clamp(12rem, 50vw, 24rem);
  height: auto;
  margin: 0 auto clamp(-3rem, -5vw, -1rem);
  position: relative;
  z-index: 1;
}
h1 {
  z-index: -1;
  margin: clamp(-3rem, -5vw, -1rem) 0 0;
  font-size: clamp(3rem, 15vw, 9rem);
  line-height: 1;
  color: var(--theme);
  text-align: justify;
  text-justify: inter-character;
  text-align-last: justify;
  text-transform: uppercase;
}
h1 span {
  display: block;
}
h1 .top {
  font-weight: 900;
}
h1 .bottom {
  font-weight: 400;
}
section {
  padding-block: 1.5rem;
  width: 18rem;
  margin: 2rem auto 2.375rem;
  border: 0.375rem solid hsl(var(--hue) 64% 44%);
  border-left: none;
  border-right: none;
}
section p {
  color: hsl(var(--hue) 25% 25%);
  text-wrap: balance;
  font-size: 1.375rem;
  margin: 0;
  line-height: 1.25;
  font-weight: 400;
}
p strong {
  font-weight: 700;
  letter-spacing: 0.5px;
}
p span {
  font-weight: 550;
  letter-spacing: 0.25px;
}
a {
  display: inline-block;
  padding: 1rem 2.125rem 17px;
  border-radius: 999px;
  border: none;
  background-color: hsl(var(--hue) 64% 44%);
  color: hsl(var(--hs) 95%);
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  outline-offset: 2.5px;
  outline-width: 0.25rem;
  outline-style: solid;
  outline-color: hsl(var(--hsl) / 0.01);
  transform: scale(1);
  transition:
    background-color 0.2s,
    transform 0.2s,
    outline-color 0.2s,
    box-shadow 0.2s,
    color 0.2s;
  margin: 0 auto;
  &:hover,
  &:focus-visible,
  &:focus {
    color: #fff;
    background-color: hsl(var(--hue) 60% 48%);
    transform: scale(1.05);
    outline-color: hsl(var(--hue) 64% 64%);
  }
  &:active {
    color: #fff;
    background-color: hsl(var(--hue) 60% 40%);
    transform: scale(1.025);
    outline-color: hsl(var(--hsl) / 0.5);
  }
}
