:root {
  --ink: #070817;
  --paper: #f1ede7;
  --accent: #b5f02f;
  --accent-ink: #070817;
  --line: rgba(241, 237, 231, 0.3);
  --display: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 280px;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--sans);
}

a {
  color: inherit;
}

.theme-green {
  --accent: #b5f02f;
}

.theme-pink {
  --accent: #f04482;
}

.theme-orange {
  --accent: #ff7438;
}

.theme-lilac {
  --accent: #c9b7ff;
}

.theme-blue {
  --accent: #3c50ff;
  --accent-ink: #f1ede7;
}

.placeholder-header,
.placeholder-main,
.placeholder-footer {
  width: min(1320px, calc(100% - 64px));
  margin: 0 auto;
}

.placeholder-header {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.placeholder-header a,
.placeholder-header span,
.placeholder-kicker,
.placeholder-footer {
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.placeholder-header a:hover,
.placeholder-header a:focus-visible,
.back-link:hover,
.back-link:focus-visible {
  color: var(--accent);
}

.placeholder-header span {
  color: var(--accent);
}

.placeholder-main {
  position: relative;
  min-height: calc(100svh - 122px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
  gap: 72px;
  align-items: center;
  padding: 64px 5%;
}

.placeholder-copy {
  position: relative;
  z-index: 2;
}

.placeholder-kicker {
  margin: 0 0 24px;
  color: var(--accent);
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--display);
  font-size: 96px;
  font-weight: 400;
  line-height: 0.83;
}

.placeholder-line {
  max-width: 590px;
  margin: 34px 0 38px;
  color: #aaa6a1;
  font-family: var(--display);
  font-size: 23px;
  font-style: italic;
  line-height: 1.35;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link span {
  color: var(--accent);
  font-size: 23px;
}

.placeholder-object {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  justify-self: end;
  color: var(--accent-ink);
  background: var(--accent);
  transform: rotate(4deg);
}

.placeholder-object::before,
.placeholder-object::after,
.placeholder-object span {
  position: absolute;
  content: "";
}

.placeholder-object::before {
  inset: 13%;
  border: 2px solid currentColor;
  transform: rotate(-12deg);
}

.placeholder-object::after {
  width: 42%;
  height: 42%;
  top: 29%;
  left: 29%;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.placeholder-object span:first-child {
  width: 2px;
  top: 7%;
  bottom: 7%;
  left: 50%;
  background: currentColor;
  transform: rotate(34deg);
}

.placeholder-object span:last-child {
  height: 2px;
  right: 7%;
  bottom: 25%;
  left: 7%;
  background: currentColor;
  transform: rotate(-22deg);
}

.placeholder-footer {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #aaa6a1;
}

.placeholder-footer span:first-child {
  color: var(--accent);
}

@media (max-width: 900px) {
  .placeholder-header,
  .placeholder-main,
  .placeholder-footer {
    width: min(100% - 32px, 720px);
  }

  .placeholder-main {
    grid-template-columns: 1fr;
    gap: 54px;
    align-content: center;
    padding: 54px 0 70px;
  }

  h1 {
    font-size: 72px;
  }

  .placeholder-object {
    width: min(72%, 330px);
    justify-self: center;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 52px;
  }

  .placeholder-line {
    font-size: 20px;
  }

  .placeholder-object {
    width: min(82%, 280px);
  }
}

@media (max-width: 360px) {
  .placeholder-header,
  .placeholder-main,
  .placeholder-footer {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: 43px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .placeholder-object {
    animation: unhelpful-spin 16s steps(8, end) infinite;
  }
}

@keyframes unhelpful-spin {
  to {
    transform: rotate(364deg);
  }
}
