:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #191d2e;
  background: #fff8e8;
}

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

.welcome {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
  max-width: 84rem;
  margin: auto;
  padding: clamp(1.5rem, 7vw, 6rem);
}

.brand {
  margin: 0 0 2rem;
  border-inline-start: .4rem solid #7758ed;
  padding-inline-start: .75rem;
  font-size: 1.35rem;
  font-weight: 850;
}

#ro { display: none; }
#ro:target { display: block; }
#ro:target ~ #en { display: none; }
.language {
  display: inline-block;
  padding-block: .75rem;
  margin-block-end: 1rem;
  color: #493294;
  font-weight: 650;
  text-underline-offset: .18em;
}
.language:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

h1 {
  margin: 0;
  font-size: clamp(3.35rem, 8vw, 6.8rem);
  letter-spacing: -.065em;
  line-height: .95;
}

.intro {
  max-width: 27rem;
  margin: 1.5rem 0 .75rem;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  line-height: 1.4;
}

.opening {
  color: #555267;
  margin: 0;
  line-height: 1.5;
}

.pet-shapes {
  position: relative;
  aspect-ratio: 1;
  border-radius: 46% 46% 15% 15%;
  overflow: hidden;
  background: #f1e6ff;
}

.pet-shapes span { position: absolute; }

.pet-shapes__head {
  width: 46%;
  height: 40%;
  inset: 22% auto auto 27%;
  border-radius: 48%;
  background: #7758ed;
}

.pet-shapes__head::before,
.pet-shapes__head::after {
  content: "";
  position: absolute;
  width: 39%;
  height: 51%;
  inset-block-start: -16%;
  border-radius: 30% 90% 10% 35%;
  background: inherit;
  transform: rotate(-20deg);
}

.pet-shapes__head::after {
  inset-inline-end: 0;
  transform: scaleX(-1) rotate(-20deg);
}

.pet-shapes__body {
  width: 82%;
  height: 60%;
  inset: auto 12% -14% auto;
  border-radius: 49% 51% 14% 14%;
  background: #fac6a0;
  transform: rotate(13deg);
}

.pet-shapes__ball {
  z-index: 1;
  width: 25%;
  aspect-ratio: 1;
  inset: auto 11% 11% auto;
  border-radius: 50%;
  background: #a4ead4;
  border: 1px solid #191d2e14;
}

@media (max-width: 760px) {
  .welcome {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-block: 3rem;
  }
  .pet-shapes { max-width: 23rem; width: 100%; }
}
