body {
  --showcase-bg: #f6f3f0;
  --showcase-head: #eee8e3;
  --showcase-copper: #9e5f45;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  background: linear-gradient(
    152deg,
    var(--showcase-head),
    var(--showcase-bg) 48%
  );
}

/* These pages have their own dark foreground palette. */
.dark body,
body:has(.aizona-landing, .aizona-docs) {
  --showcase-bg: #141117;
  --showcase-head: #211a23;
  --showcase-copper: #b37457;
}

.site-background-traces {
  position: absolute;
  z-index: -1;
  inset: 64px 0 0;
  overflow: hidden;
  pointer-events: none;
}

.site-background-traces::before {
  position: absolute;
  inset: 0 0 auto 30%;
  height: 124px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--showcase-copper) 0 1px,
      transparent 1px 32px
    ),
    repeating-linear-gradient(
      0deg,
      var(--showcase-copper) 0 1px,
      transparent 1px 32px
    );
  opacity: 0.09;
  mask-image:
    linear-gradient(110deg, transparent, black),
    linear-gradient(black, transparent);
  mask-composite: intersect;
  content: '';
}

.site-background-traces span {
  position: absolute;
  right: -1px;
  width: min(42vw, 620px);
  height: 28px;
  border-block-start: 1px solid var(--showcase-copper);
  border-inline-start: 1px solid var(--showcase-copper);
  border-start-start-radius: 22px;
  opacity: 0.48;
}

.site-background-traces span:first-child {
  top: 18px;
}

.site-background-traces span:last-child {
  width: min(51vw, 740px);
  bottom: 17px;
  transform: scaleY(-1);
}

.site-background-traces span::before {
  position: absolute;
  top: -1px;
  right: 36%;
  width: 53%;
  height: 28px;
  border-block-end: 1px solid var(--showcase-copper);
  border-inline-end: 1px solid var(--showcase-copper);
  border-end-end-radius: 20px;
  content: '';
}

.site-background-traces span::after {
  position: absolute;
  top: -4px;
  right: 22%;
  width: 8px;
  height: 8px;
  border: 1px solid var(--showcase-copper);
  border-radius: 50%;
  background: var(--showcase-bg);
  content: '';
}
