:root {
  color-scheme: light;
  font-family: foco, "Trebuchet MS", system-ui, sans-serif;
  color: #231d42;
  background: #fff7fa;
  --secondary: #51486d;
  --accent: #36b4f9;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  background: radial-gradient(ellipse at 50% 34%, #fff 5%, #fff8fb 58%, #f7f1ff 100%);
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  overflow: hidden;
  flex: 1 1 0;
  min-height: 220px;
  max-height: min(36.62vw, 750px);
  background: #aee6f9;
}

/* Side fill: the outermost strip of the art, stretched and softened,
   continues the background when the image is narrower than the screen */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  top: -24px;
  bottom: -24px;
  width: calc(50% + 24px);
  background-image: url("assets/knittens-key-art.jpg");
  background-repeat: no-repeat;
  background-size: 4000% 100%;
  filter: blur(18px);
}

.hero::before {
  left: -24px;
  background-position: 0 0;
}

.hero::after {
  right: -24px;
  background-position: 100% 0;
}

.hero picture {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  height: 100%;
}

.hero img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 48px, #000 calc(100% - 48px), transparent);
}

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

.launch {
  padding: clamp(25px, 3.3vw, 50px) 16px 25px;
}

h2, h3, p, ul {
  margin: 0;
}

h2 {
  font-weight: 700;
  line-height: 1.05;
}

.launch-intro {
  display: block;
  color: var(--secondary);
  font-size: clamp(1.05rem, 2.15vw, 1.5rem);
  line-height: 1.3;
  margin-bottom: 6px;
}

time {
  display: block;
  font-size: clamp(1.9rem, 6vw, 4.1rem);
  letter-spacing: -0.045em;
}

.tagline {
  margin-top: 11px;
  font-size: clamp(1rem, 2.1vw, 1.375rem);
  line-height: 1.4;
  color: var(--secondary);
}

.tagline strong {
  color: var(--accent);
}

.channel {
  display: grid;
  justify-items: center;
  gap: 9px;
  margin-top: 23px;
}

.channel h3 {
  font-size: 1rem;
  line-height: 1.2;
  color: var(--secondary);
}

.icon-list, .legal {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 9px;
}

.platform {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid #e7d9ef;
  background: #fff;
  box-shadow: 0 3px 9px #4325660e;
  text-decoration: none;
}

.platform svg {
  width: 24px;
  height: 24px;
}

.facebook,
.instagram {
  color: #34313f;
}

a.platform:hover {
  background: #fbf1fc;
  border-color: #cba8d8;
}

.support {
  margin-top: 22px;
  line-height: 1.5;
  font-size: 1rem;
  color: var(--secondary);
}

a {
  color: inherit;
  text-decoration-color: currentColor;
  text-underline-offset: .2em;
}

.support a {
  color: var(--accent);
  font-weight: 700;
}

a:not(.platform):hover {
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid #7a348a;
  outline-offset: 4px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 6px 10px;
  padding: 13px 16px 17px;
  color: var(--secondary);
  border-top: 1px solid #e7d9ef;
  font-size: .875rem;
  line-height: 1.5;
}

.footer small {
  font-size: inherit;
}

.legal li::before {
  content: "·";
  padding-right: 9px;
  color: #746582;
}

@media (max-width: 640px) {
  .hero { flex: none; min-height: 0; max-height: none; }
  .hero::before, .hero::after { content: none; }
  .hero picture, .hero img { height: auto; }
  .hero img { width: 100%; -webkit-mask-image: none; mask-image: none; }
}

@media (max-width: 410px) {
  .footer { flex-direction: column; align-items: center; }
  .legal li:first-child::before { content: none; }
}
