@font-face {
  font-family: Inter;
  src: url("/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #171717;
  background: #ffffff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --brand-blue: oklch(58% 0.27 264);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100svh;
  margin: 0;
  padding: 2rem 1.5rem;
}

.header,
main {
  width: 100%;
  max-width: 72rem;
  margin-inline: auto;
}

.logo {
  display: block;
}

main {
  display: grid;
  gap: 3rem;
  padding-block: 4rem 1rem;
}

.message {
  align-self: center;
}

h1 {
  margin: 0;
  font-size: clamp(3.25rem, 8vw, 5.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.065em;
}

p {
  max-width: 22rem;
  margin: 1.5rem 0 2rem;
  color: #525252;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-wrap: pretty;
}

.retry {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  border-radius: 0.625rem;
  padding: 0.875rem 1.25rem;
  color: #ffffff;
  background: var(--brand-blue);
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}

.retry svg {
  flex: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.retry:hover {
  background: oklch(50% 0.24 264);
}

.retry:focus-visible {
  outline: 2px solid var(--brand-blue);
  outline-offset: 4px;
}

.illustration {
  display: grid;
  aspect-ratio: 1.2;
  place-items: center;
  overflow: hidden;
  background: #f1f4ff;
  border-radius: 1.5rem;
}

.pause {
  display: flex;
  width: 52%;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  gap: 15%;
  background: var(--brand-blue);
}

.pause span {
  width: 14%;
  height: 44%;
  background: #ffffff;
}

@media (min-width: 48rem) {
  body {
    display: flex;
    flex-direction: column;
    padding: 3rem;
  }

  main {
    flex: 1;
    grid-template-columns: 1fr 1fr;
    align-content: center;
    gap: clamp(3rem, 6vw, 6rem);
    padding-block: 4rem;
  }

  .illustration {
    aspect-ratio: 1;
  }
}
