:root {
  color-scheme: dark;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #f4f1e8;
  background: #1c2423;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 280px;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
}

::selection {
  color: #f4f1e8;
  background: #56604c;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 0 72px;
  text-align: center;
}

.illustration {
  position: relative;
  display: grid;
  place-items: center;
  width: 188px;
  height: 188px;
  margin-bottom: 40px;
  border-radius: 50%;
  background: #3e4a43;
}

.illustration img {
  display: block;
  transform: rotate(-8deg);
}

.spark {
  position: absolute;
  width: 18px;
  height: 18px;
  background: #e9b674;
  clip-path: polygon(
    50% 0,
    62% 38%,
    100% 50%,
    62% 62%,
    50% 100%,
    38% 62%,
    0 50%,
    38% 38%
  );
}

.spark-one {
  top: 16px;
  right: -12px;
}

.spark-two {
  bottom: 24px;
  left: -22px;
  width: 12px;
  height: 12px;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.065em;
}

h1 em {
  color: #e9b674;
  font-weight: 400;
}

.hero-line {
  width: 32px;
  height: 1px;
  margin-top: 36px;
  background: #e9b674;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid #3d4943;
  color: #b1bdb5;
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 540px) {
  main {
    padding: 40px 0 56px;
  }

  .illustration {
    width: 156px;
    height: 156px;
    margin-bottom: 36px;
  }

  .illustration img {
    width: 136px;
    height: 136px;
  }

  .site-footer {
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 10px;
  }
}
