* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
body {
  margin: 0;
  min-height: 100vh;
  background: #f7f4fa;
  color: #2b193b;
  line-height: 1.5;
}
body > header,
body > main,
body > footer {
  width: min(1120px, calc(100% - 64px));
  margin-inline: auto;
}
a {
  color: #55258d;
  text-underline-offset: 0.23em;
}
a:focus-visible,
summary:focus-visible,
.after:focus-visible {
  outline: 3px solid #ab55ea;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -100px;
  background: white;
  padding: 10px;
  z-index: 5;
}
.skip:focus {
  top: 0;
}
.mast {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 88px;
}
.wordmark,
.web,
.below a,
.back {
  text-decoration: none;
}
.wordmark {
  color: #321e4b;
  display: inline-flex;
  align-items: center;
  gap: 0.33em;
  font: 400 34px/1 var(--pixel-font);
  letter-spacing: -0.08em;
}
.wordmark img,
.after img {
  image-rendering: pixelated;
}
.web,
.below a,
.back {
  font-size: 15px;
  font-weight: 650;
}
.web span,
.below a span {
  margin-left: 0.4em;
}
.web:hover,
.below a:hover,
.back:hover {
  text-decoration: underline;
}
.hero {
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr);
  align-items: center;
  position: relative;
  gap: clamp(20px, 4vw, 48px);
  background:
    radial-gradient(ellipse at 90% 68%, #58338a 0, transparent 46%),
    linear-gradient(116deg, #21132f, #322046 67%, #492a62);
  color: #fff9ff;
  border-radius: 22px;
  padding: clamp(32px, 5.2vw, 74px);
  min-height: 444px;
}
.intro {
  position: relative;
  z-index: 1;
}
.intro h1 {
  font-size: clamp(44px, 5.8vw, 80px);
  line-height: 0.99;
  letter-spacing: -0.048em;
  margin: 0 0 22px;
  font-weight: 700;
}
.intro > p {
  margin: 0 0 29px;
  font-size: clamp(16px, 1.5vw, 20px);
  max-width: 37ch;
  color: #e1d6eb;
  line-height: 1.5;
}
.buttons,
.devices {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.download {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  border-radius: 8px;
  padding: 13px 18px;
  background: #ffdf79;
  color: #31203c;
  font-weight: 760;
  box-shadow:
    inset 0 1px 0 #fff3bf,
    0 3px 0 #a47e3f;
  font-size: 17px;
  line-height: 1.3;
}
.download:hover {
  background: #ffea9e;
}
.download:active {
  transform: translateY(1px);
}
.download span {
  font-size: 1.2em;
}
.other {
  display: inline-block;
  color: #e2cdec;
  font-size: 14px;
  margin-top: 17px;
}
.product-shot {
  display: block;
  justify-self: end;
  width: min(100%, 340px);
  height: auto;
  border-radius: 5px;
  border: 1px solid #c0a4d2;
}
.below,
.after {
  border-bottom: 1px solid #dbd0e2;
}
.below {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 24px 4px;
}
.after {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 24px 4px;
}
.after h2 {
  margin: 0 0 5px;
  font-size: 22px;
}
.after p {
  margin: 0 0 8px;
  max-width: 68ch;
}
footer {
  padding: 23px 2px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #685971;
  font-size: 13px;
}
footer span {
  margin-right: auto;
}
footer a {
  color: inherit;
}
.reader {
  background: #fffdfd;
  border: 1px solid #e0d6e5;
  border-radius: 16px;
  padding: clamp(22px, 5vw, 56px);
  max-width: 840px;
  margin: 0 auto;
}
.reader h1 {
  font-size: clamp(38px, 5vw, 61px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  margin: 22px 0;
}
.reader h2 {
  font-size: clamp(21px, 3vw, 27px);
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin: 0 0 12px;
}
.reader p {
  margin: 8px 0;
  max-width: 69ch;
}
.reader section,
.reader details {
  border-top: 1px solid #e3dce7;
  padding: 23px 0 7px;
  margin-top: 22px;
  scroll-margin-top: 22px;
}
.reader li + li {
  margin-top: 9px;
}
.reader ol {
  padding-left: 21px;
}
.reader code {
  overflow-wrap: anywhere;
}
.reader summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
}
.reader .devices {
  margin: 16px 0;
}
.devices .download {
  font-size: 15px;
}
.file {
  display: inline-block;
  margin: 8px 0;
  font-weight: 650;
}
@media (max-width: 760px) {
  body > header,
  body > main,
  body > footer {
    width: calc(100% - 32px);
  }
  .mast {
    min-height: 70px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 34px 27px 12px;
    gap: 6px;
  }
  .product-shot {
    justify-self: center;
    width: min(100%, 320px);
    margin: 20px 0 12px;
  }
  .intro h1 {
    font-size: clamp(40px, 8.2vw, 59px);
  }
  .intro > p {
    margin-bottom: 21px;
  }
  .below {
    align-items: start;
    flex-wrap: wrap;
    padding: 18px 1px;
  }
  .wordmark {
    font-size: 29px;
  }
  .wordmark img {
    width: 29px;
    height: 29px;
  }
  .reader section {
    padding-top: 18px;
  }
}
@media (max-width: 380px) {
  .hero {
    padding-inline: 20px;
  }
  .download,
  .web,
  .below a {
    font-size: 14px;
  }
  footer {
    gap: 9px;
  }
  .reader {
    padding-inline: 16px;
  }
}
@media (prefers-contrast: more) {
  a {
    outline-offset: 3px;
  }
  .hero {
    background: #271737;
  }
  .product-shot {
    border: 2px solid currentColor;
  }
}

.alternatives, .prompt-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 20px;
}
.assistant { max-width: 720px; }
.prompt-label { display: block; margin: 22px 0 6px; font-weight: 650; }
#setup-prompt { width: 100%; resize: vertical; font: inherit; line-height: 1.5; color: inherit; border: 1px solid #baa4cb; border-radius: 8px; background: #faf7fc; padding: 13px; }
.prompt-actions { margin-top: 14px; gap: 12px 20px; }
.prompt-actions button { font-family: inherit; border: 0; cursor: pointer; }
#copy-result { display: block; margin-top: 10px; }
.prompt-actions button:focus-visible, #setup-prompt:focus-visible { outline: 3px solid #8847ba; outline-offset: 3px; }

.first-open { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.first-open { font-size: 14px; margin: 4px 0 8px; }

.more { margin: 16px 0 0; width: fit-content; color: #f1e5fb; font-size: 14px; }
.more summary { cursor: pointer; padding-block: 5px; }
.more div { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-block: 6px; }
.more a { color: inherit; }
.stories { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(18px,3vw,36px); margin: 38px 0 30px; }
.stories figure { min-width: 0; margin: 0; }
.stories figure > div { background: #e9e1f0; border: 1px solid #d9cfe1; border-radius: 9px; padding: 15px; height: clamp(175px,21vw,250px); display: grid; place-items: center; overflow: hidden; }
.stories figure:nth-child(2) > div { background: #e9e8ed; }
.stories figure:nth-child(3) > div { background: #efe8d9; }
.stories img { max-width: 100%; max-height: 100%; min-height: 0; width: auto; height: auto; object-fit: contain; border-radius: 3px; }
.stories h2 { font-size: clamp(19px,2vw,25px); line-height: 1.18; margin: 15px 0 6px; letter-spacing: -.035em; }
.stories p { margin: 0; color: #584961; max-width: 36ch; }
@media (max-width: 660px) {
  .stories { grid-template-columns: 1fr; gap: 28px; }
  .stories figure > div { height: auto; max-height: none; }
  .stories img { max-height: 240px; }
}
