:root {
  --color-bg: #faf9f6;
  --color-burgundy: #722031;
  --color-text: #1a1a1a;
  --color-muted: #5c5c5c;
  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
}

.page {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem 1.25rem 1.5rem;
}

.page__content {
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo {
  width: min(90vw, 22rem);
  height: auto;
  display: block;
}

.soon {
  margin: 1.75rem 0 0;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text);
}

.instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.625rem 1rem;
  border-radius: 999px;
  color: var(--color-burgundy);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.instagram__icon {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.instagram:hover,
.instagram:focus-visible {
  background-color: rgb(114 32 49 / 0.08);
  outline: none;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 1.25rem;
  border-top: 1px solid rgb(114 32 49 / 0.12);
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer__copy {
  margin: 0;
}

.footer__link {
  color: var(--color-burgundy);
  text-decoration: none;
  font-weight: 500;
}

.footer__link:hover,
.footer__link:focus-visible {
  text-decoration: underline;
  outline: none;
}

@media (min-width: 768px) {
  .page {
    padding-top: 3rem;
  }

  .page__content {
    max-width: 32rem;
  }

  .logo {
    width: min(80vw, 26rem);
  }

  .soon {
    margin-top: 2rem;
  }
}
