/* Legal, Story and 404 layouts measured against the original Framer pages. */
.legal-page .text-page,
.story-page .text-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 50px;
  width: 760px;
  max-width: 100%;
  padding: 80px 50px 120px;
}
.legal-page .text-page > h1,
.story-page .text-page > h1 {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  color: #333;
  font-family: "Inter", sans-serif;
  font-size: 50px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2.6px;
  text-align: left;
}
.legal-page .legal-prose,
.story-page .story-prose {
  width: 100%;
  max-width: none;
  margin: 0;
  color: #888;
  font-family: "Open Runde", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.2px;
  white-space: pre-wrap;
}
.legal-page .legal-prose p,
.legal-page .legal-prose h2,
.legal-page .legal-prose h3,
.story-page .story-prose p {
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
}
.legal-page .legal-prose > h2 {
  color: #333;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
}
.legal-page .legal-prose strong,
.story-page .story-prose strong {
  font-weight: 700;
}
.privacy-page .legal-prose > :nth-child(6),
.privacy-page .legal-prose > :nth-child(7),
.terms-page .legal-prose > :nth-child(2),
.terms-page .legal-prose > :nth-child(3),
.imprint-page .legal-prose > :nth-child(3),
.imprint-page .legal-prose > :nth-child(5),
.imprint-page .legal-prose > :nth-child(8),
.imprint-page .legal-prose > :nth-child(9) {
  margin-top: 16px;
}
.privacy-page .legal-prose > :nth-child(16) {
  font-family: "Inter", sans-serif;
}
.imprint-page .legal-prose strong {
  color: #333;
}
.imprint-page .legal-prose > :nth-child(9),
.imprint-page .legal-prose > :nth-child(16) {
  color: #333;
  font-weight: 700;
}
.imprint-page .legal-prose > :nth-child(9) {
  letter-spacing: 0;
}
.story-page .story-prose p + p {
  margin-top: 26px;
}
.story-page .text-page > h1 {
  color: #000;
}
.story-page .story-prose a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: auto;
}
.story-page .story-prose a:hover {
  color: inherit;
}
/* Optional group wrappers preserve original rich-text boundaries. */
.legal-page .legal-prose:has(> .secondary-copy-group) {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.legal-page .legal-prose > .secondary-copy-group {
  margin: 0;
}
.legal-page .secondary-copy-group > * {
  margin: 0;
}
.legal-page .secondary-copy-group span {
  line-height: 1.5em;
}
.not-found-page .not-found {
  min-height: 0;
  gap: 30px;
  padding: 150px 20px 100px;
}
.not-found-page .not-found-code {
  margin: 0;
  color: #001122;
  font-family: "Open Runde", sans-serif;
  font-size: 250px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -19.6px;
}
.not-found-page .not-found-code > span {
  display: inline-block;
  background-image: linear-gradient(0deg, #000 7.421875%, #0000 150%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.not-found-page .not-found-emoji {
  max-width: 600px;
  color: #333;
  font-family: "Inter", sans-serif;
  font-size: 50px;
  font-weight: 400;
  line-height: 0.6;
  letter-spacing: 0;
  transform: rotate(-2deg);
}
.not-found-page .not-found-message {
  max-width: 600px;
  color: #888;
  font-family: "Open Runde", sans-serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.7px;
}
.not-found-page .not-found-back {
  border-radius: 8px;
  padding: 15px 34px;
  background: #000;
  box-shadow: none;
  color: #fff;
  font-family: "Open Runde", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  transition: none;
}
.not-found-page .not-found .not-found-back:hover,
.not-found-page .not-found .not-found-back:active {
  opacity: 1;
  transform: none;
  box-shadow: none;
}
.not-found-reveal-pending {
  opacity: 0;
  translate: 0 40px;
}
.not-found-reveal-visible {
  animation: not-found-entrance 0.8s
    linear(
      0,
      0.4429 10%,
      0.7477 20%,
      0.8866 30%,
      0.949 40%,
      0.9771 50%,
      0.9897 60%,
      0.9954 70%,
      0.9979 80%,
      0.9991 90%,
      1
    )
    both;
}
.not-found-emoji.not-found-reveal-visible,
.not-found-message.not-found-reveal-visible {
  animation-delay: 0.1s;
}
.not-found-back.not-found-reveal-visible {
  animation-delay: 0.2s;
}
.not-found-emoji-character {
  display: inline-block;
  animation: not-found-emoji 0.4s 0.05s both;
}
@keyframes not-found-entrance {
  from {
    opacity: 0;
    translate: 0 40px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
@keyframes not-found-emoji {
  from {
    opacity: 0.001;
    filter: blur(10px);
    translate: 0 10px;
  }
  to {
    opacity: 1;
    filter: blur(0);
    translate: 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .not-found-reveal-visible,
  .not-found-emoji-character {
    animation: none;
  }
}
@media (min-width: 810px) and (max-width: 1399.98px) {
  .legal-page .text-page,
  .story-page .text-page {
    width: 100%;
  }
  .terms-page .text-page {
    width: 640px;
  }
  .terms-page .legal-prose {
    width: 80%;
  }
}
@media (min-width: 810px) and (max-width: 1199.98px) {
  .not-found-page .not-found-code {
    letter-spacing: -20.6px;
  }
  .not-found-page .not-found-emoji,
  .not-found-page .not-found-message {
    max-width: 500px;
  }
  .not-found-page .not-found-message {
    font-size: 20px;
  }
}
@media (max-width: 809.98px) {
  .legal-page .text-page,
  .story-page .text-page {
    width: 100%;
    gap: 48px;
    padding: 50px 20px 120px;
  }
  .not-found-page .not-found-code {
    font-size: 154px;
    letter-spacing: -11.6px;
  }
  .not-found-page .not-found-emoji,
  .not-found-page .not-found-message {
    max-width: 300px;
  }
  .not-found-page .not-found-message {
    font-size: 18px;
  }
}
