:root {
  --prism-night: url("/assets/studio-prism-night.jpg");
  --prism-day: url("/assets/studio-prism-day.jpg");
  --studio-paper: #f8eff6;
}

body {
  background: var(--studio-paper);
  isolation: isolate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, #faf3f8 12%, #faf3f8d9 60%, #f8eff6ac),
    var(--prism-day) right center / cover no-repeat;
}

.site-header { background: #faf2f8eb; }
.page-hero:has(> .eyebrow) {
  min-height: clamp(16rem, 29vw, 26rem);
  align-content: center;
  border-color: #e9d4ec;
  background:
    linear-gradient(90deg, #faf1f8 13%, #faf1f8e8 47%, #f6e7f257 73%, #f6e7f200),
    var(--prism-day) right 48% / cover;
}

.genie-hero {
  background:
    linear-gradient(90deg, #21122dfc 12%, #21122de5 38%, #21122d29 80%),
    var(--prism-night) right center / cover #21122d;
}

.genie-hero-brand img {
  width: 3.4rem;
  height: 3.4rem;
  border: 1px solid #f3cde7;
  border-radius: .87rem;
  box-shadow: 0 .3rem 1.3rem #12081c8c;
}

.demo,
.store-screen-surface,
.genie-release-panel,
.community-feature-inner,
.community-panel,
.contact-card {
  background:
    linear-gradient(110deg, #fbf4fa 21%, #fbf4faeb 55%, #f7edf4b5),
    var(--prism-day) right center / cover #f5ebf5;
}

.outfit-panel {
  background:
    linear-gradient(105deg, #fbeceddf, #f8e7eac7 58%, #f8e7ea91),
    var(--prism-day) left center / cover #f8e7ea;
}

.prose {
  width: min(100% - 2rem, 56rem);
  margin-block: .6rem clamp(2.2rem, 5.5vw, 4.5rem);
  padding-inline: clamp(1.15rem, 5vw, 3.5rem);
  border: 1px solid #ebdbed;
  border-radius: 1.25rem;
  background:
    linear-gradient(104deg, #fdf9fc 24%, #fdf9fcec 57%, #fdf9fcb5),
    linear-gradient(#fdf9fc00 2rem, #fdf9fc 21rem),
    var(--prism-day) right top / max(100%, 38rem) auto no-repeat #fdf9fc;
}

.download {
  background:
    linear-gradient(90deg, #261534fa 15%, #261534d9 54%, #26153473),
    var(--prism-night) right 47% / cover #261534;
}

.studio-update {
  background:
    linear-gradient(110deg, #2a173bfa 19%, #2a173bd9 59%, #2a173b88),
    var(--prism-night) right 57% / cover #2a173b;
}

.site-footer {
  --footer-paper: #f8edf5;
  --footer-line: #d9bfdc;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(1.2rem, 4vw, 3.25rem);
  border: 1px solid var(--footer-line);
  border-bottom: 0;
  border-radius: clamp(1rem, 2.5vw, 1.85rem) clamp(1rem, 2.5vw, 1.85rem) 0 0;
  background: linear-gradient(125deg, #fcf5f7, var(--footer-paper) 48%, #f0e3f3);
  color: var(--plum);
}

.footer-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .8rem;
  margin-bottom: clamp(1.3rem, 3vw, 2.3rem);
}

.footer-intro .wordmark { font-size: clamp(1.22rem, 2.8vw, 2rem); }
.footer-intro p { color: var(--quiet); margin-top: .55rem; }

.footer-top-link {
  padding: .48rem .85rem;
  border: 1px solid var(--footer-line);
  border-radius: 2rem;
  background: #fdf7fbdf;
  font-size: .88rem;
  font-weight: 750;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.55rem, 1.5vw, 1.25rem);
}

.footer-grid nav {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: .25rem;
  padding: clamp(.8rem, 2vw, 1.45rem);
  border: 1px solid var(--footer-line);
  border-radius: 1rem;
  background: linear-gradient(145deg, #fff9fdf2, #f3e3f4e8);
  box-shadow: inset 0 1px #fff9fe, 0 .4rem 1.5rem #553b6210;
}

.footer-grid nav strong {
  margin-bottom: .27rem;
  font: 400 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--serif);
}

.footer-grid nav a {
  display: inline-flex;
  min-height: 1.85rem;
  align-items: center;
  gap: .5rem;
  color: #4b3658;
  font-size: .94rem;
}

.footer-genie-link img {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid #d9bfdc;
  border-radius: .4rem;
}

.site-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.site-footer :focus-visible { outline-color: #75439a; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem 1.35rem;
  padding-top: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--footer-line);
  color: #4b3658;
  font-size: .88rem;
}

.footer-bottom p { margin-right: auto; }

@media (max-width: 680px) {
  body::before {
    background:
      linear-gradient(90deg, #faf3f8f0 0%, #faf3f8c9 52%, #f8eff6a0),
      var(--prism-day) right center / auto 100% no-repeat;
  }

  .page-hero:has(> .eyebrow) {
    min-height: 15rem;
    background:
      linear-gradient(90deg, #faf1f8fa 16%, #faf1f8e8 52%, #f6e7f270),
      var(--prism-day) right center / cover #faf1f8;
  }

  .genie-hero {
    background:
      linear-gradient(180deg, #21122dfc 8%, #21122de8 48%, #21122d3d),
      var(--prism-night) 71% center / cover #21122d;
  }

  .prose {
    background:
      linear-gradient(105deg, #fdf9fc 18%, #fdf9fce0 55%, #fdf9fca8),
      linear-gradient(#fdf9fc00 2rem, #fdf9fc 16rem),
      var(--prism-day) right top / 32rem auto no-repeat #fdf9fc;
  }
}

@media (max-width: 530px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid nav:last-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: .65rem;
  }
  .footer-grid nav:last-child strong { grid-column: 1 / -1; }
  .footer-bottom p { flex-basis: 100%; }
}
