/* Legends AI: cool paper, character portraits, blue and violet. */
:root {
  color-scheme: light;
  --bg: #f7f9fd;
  --surface: #fff;
  --ink: #17233c;
  --muted: #526079;
  --blue: #315ecc;
  --violet: #7850b3;
  --line: #dce3ee;
  --wash: #edf2fe;
  --radius: 24px;
  --width: 1160px;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--blue);
  text-underline-offset: 4px;
}

button,input {
  font: inherit;
}

button {
  color: inherit;
  cursor: pointer;
}

button:disabled {
  cursor: default;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2,h3 {
  line-height: 1.16;
}

p {
  margin-bottom: 1rem;
}

::selection {
  background: #dfe5ff;
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}

button,a,summary {
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none!important;
}

.wrap {
  width: min(var(--width),calc(100% - 64px));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  background: #ffffffed;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
  color: var(--ink);
  font-size: 1.25rem;
  font-weight: 750;
  letter-spacing: -.04em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
}

.brand-emphasis {
  color: var(--blue);
}

.site-nav,.footer-links {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.site-nav a,.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  font-size: .9375rem;
}

.site-nav a[aria-current=page] {
  color: var(--blue);
  box-shadow: inset 0 -2px var(--blue);
}

.site-nav a:hover,.footer-links a:hover {
  color: var(--blue);
}

.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 87% 35%,#e3ddfa 0,transparent 45%),radial-gradient(ellipse at 24% 14%,#e7f0ff 0,transparent 47%);
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 54px;
  padding-block: 88px 96px;
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  color: var(--violet);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(3.2rem,4.8vw,4.7rem);
  font-weight: 750;
  letter-spacing: -.055em;
  line-height: 1.06;
  margin-bottom: 28px;
}

.hero h1 span {
  color: var(--blue);
}

.hero-intro {
  font-size: 1.1875rem;
  max-width: 450px;
  margin-bottom: 16px;
}

.hero-description {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 470px;
  margin-bottom: 28px;
}

.store-button,.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border-radius: 14px;
  padding: 14px 23px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
}

.store-button {
  background: linear-gradient(105deg,#376bd5,#8152b6);
  color: white;
  border: 1px solid transparent;
  box-shadow: 0 8px 24px #4d63b221;
}

.store-button:hover {
  background: linear-gradient(105deg,#2858bc,#6b409f);
}

.store-button svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.text-button {
  background: var(--wash);
  color: var(--blue);
  border: 1px solid var(--line);
}

.hero-visual {
  justify-self: center;
  max-width: 310px;
  padding: 10px;
  background: white;
  border: 1px solid #d6ddec;
  border-radius: 28px;
  box-shadow: 0 28px 65px #27396b20;
  transform: rotate(2deg);
}

.hero-visual>img {
  width: 100%;
  border-radius: 20px;
}

.character-signatures {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 36px;
}

.character-signatures figure {
  margin: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.character-signatures img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #d3c9ef;
}

.character-signatures figcaption {
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 90px;
}

.showcase {
  padding: 80px 0 84px;
  background: white;
  border-block: 1px solid var(--line);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-heading h2,.create h2 {
  font-size: clamp(2.125rem,3.65vw,3.25rem);
  font-weight: 700;
  letter-spacing: -.045em;
  margin-bottom: 18px;
}

.section-heading h2 span,.create h2 span {
  color: var(--violet);
}

.section-heading p {
  max-width: 590px;
  color: var(--muted);
  margin: 0;
}

.gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 18px;
  padding-bottom: 16px;
  scrollbar-width: thin;
  scrollbar-color: #a8b7dc #edf2fa;
}

.screenshot {
  margin: 0;
  min-width: 0;
  flex: 0 0 clamp(240px,24vw,288px);
  scroll-snap-align: start;
}

.screenshot img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--wash);
}

.gallery-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.gallery-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.gallery-controls button:disabled {
  opacity: .4;
}

.gallery-controls button:not(:disabled):hover {
  background: var(--wash);
}

.gallery-controls svg {
  width: 20px;
  height: 20px;
}


.create-section {
  padding: 70px 0;
}

.create {
  padding: 48px 54px;
  border-radius: var(--radius);
  background: linear-gradient(105deg,#edf3ff,#f1eafa);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.create h2 {
  margin: 0;
}

.create p {
  color: var(--muted);
  margin-bottom: 24px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: white;
}

.footer-inner {
  padding-block: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: .875rem;
}

.footer-links {
  gap: 24px;
}

.footer-links a {
  font-size: .875rem;
}

.document-main {
  padding-block: 64px 80px;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .875rem;
  color: var(--muted);
  margin-bottom: 30px;
}

.breadcrumb a {
  text-decoration: none;
}

.document-title {
  max-width: 780px;
  margin-bottom: 38px;
}

.document-title h1 {
  font-size: clamp(2.5rem,5.5vw,4.5rem);
  letter-spacing: -.05em;
  font-weight: 750;
  margin-bottom: 20px;
}

.document-title>p {
  color: var(--muted);
  font-size: 1.0625rem;
}

.last-updated {
  font-size: .875rem!important;
}

.document-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) 270px;
  gap: 42px;
  align-items: start;
}

.privacy-layout {
  grid-template-areas: "article toc";
}

.privacy-layout > .prose {
  grid-area: article;
}

.privacy-layout > .document-aside {
  grid-area: toc;
}

.document-aside {
  position: sticky;
  top: 116px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
}

.document-aside h2 {
  font-size: 1.125rem;
  letter-spacing: -.025em;
}

.document-aside p {
  font-size: .9375rem;
  color: var(--muted);
}

.document-aside a {
  overflow-wrap: anywhere;
}

.document-aside nav {
  display: grid;
  gap: 8px;
}

.document-aside nav a {
  font-size: .9375rem;
  text-decoration: none;
  line-height: 1.5;
  padding-block: 5px;
}

.topic-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 36px;
}

.topic-links a {
  padding: 9px 15px;
  min-height: 44px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  text-decoration: none;
  font-size: .9375rem;
}

.topic-links a:hover {
  background: var(--wash);
}

.faq-group {
  margin-bottom: 36px;
  scroll-margin-top: 120px;
}

.faq-group>h2 {
  font-size: 1.4375rem;
  letter-spacing: -.035em;
  margin-bottom: 16px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: clip;
  scroll-margin-top: 120px;
}

.faq-list details[open] {
  border-color: #b9c9ef;
  box-shadow: 0 3px 14px #253d7110;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  font-size: 1.0625rem;
  line-height: 1.5;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--violet);
  line-height: 1;
  flex: none;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer strong {
  color: var(--ink);
}

.contact-block {
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--wash);
  margin-top: 38px;
}

.contact-block h2 {
  font-size: 1.4rem;
  letter-spacing: -.03em;
}

.contact-block a {
  overflow-wrap: anywhere;
}

.prose {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 40px;
  color: var(--muted);
}

.prose section {
  margin-bottom: 36px;
  scroll-margin-top: 120px;
}

.prose section:last-child {
  margin-bottom: 0;
}

.prose h2 {
  font-size: 1.4rem;
  letter-spacing: -.03em;
  color: var(--ink);
  margin-bottom: 16px;
}

.prose p {
  line-height: 1.8;
}

.prose a {
  overflow-wrap: anywhere;
}

.not-found {
  max-width: 650px;
  padding-block: 100px 120px;
}

.not-found h1 {
  font-size: clamp(2.8rem,6vw,4.5rem);
  letter-spacing: -.05em;
}

.not-found p {
  color: var(--muted);
}

.not-found-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media(max-width:1000px) {
  .wrap {
    width: calc(100% - 48px);
  }

  .hero-inner {
    gap: 30px;
    padding-block: 66px 76px;
  }

  .hero-visual {
    max-width: 270px;
  }

  .hero h1 {
    font-size: clamp(2.6rem,5.2vw,3.5rem);
  }

  .character-signatures {
    gap: 12px;
    flex-wrap: wrap;
  }

  .character-signatures img {
    width: 40px;
    height: 40px;
  }

  .character-signatures figcaption {
    font-size: .875rem;
  }

  .gallery {
    gap: 12px;
  }

  .create {
    gap: 30px;
    padding: 36px;
  }

  .document-grid {
    grid-template-columns: minmax(0,1fr) 235px;
    gap: 26px;
  }

  .prose {
    padding: 28px;
  }

}

@media(max-width:760px) {
  html {
    scroll-padding-top: 142px;
  }

  .wrap {
    width: calc(100% - 40px);
  }

  .header-inner {
    min-height: 80px;
    gap: 10px 20px;
    flex-wrap: wrap;
    padding-block: 12px;
  }

  .brand {
    font-size: 1.1875rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .site-nav {
    gap: 20px;
  }

  .site-nav a {
    font-size: .875rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 48px 56px;
  }

  .hero-copy {
    max-width: 580px;
  }

  .hero h1 {
    font-size: clamp(2.25rem,8.9vw,3.9rem);
  }

  .hero-intro {
    font-size: 1.0625rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-visual {
    max-width: 280px;
    transform: none;
  }

  .character-signatures {
    gap: 16px;
    margin-top: 28px;
  }

  .character-signatures figure {
    gap: 8px;
  }

  .character-signatures figcaption {
    max-width: 72px;
  }

  .showcase {
    padding-block: 52px 58px;
  }

  .section-heading {
    align-items: start;
    flex-wrap: wrap;
    gap: 22px;
  }

  .section-heading h2,.create h2 {
    font-size: clamp(2rem,6.5vw,2.8rem);
  }

  .gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    padding-bottom: 16px;
    scrollbar-width: thin;
    scrollbar-color: #a8b7dc #edf2fa;
  }

  .screenshot {
    flex: 0 0 78%;
    scroll-snap-align: start;
  }

  .create-section {
    padding-block: 40px;
  }

  .create {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 30px 26px;
  }

  .footer-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-links {
    gap: 20px;
  }

  .document-main {
    padding-block: 38px 56px;
  }

  .document-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .document-aside {
    position: static;
  }

  .privacy-layout {
    grid-template-areas:
      "toc"
      "article";
  }

  .document-aside nav {
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
  }

  .document-title {
    margin-bottom: 28px;
  }

  .document-title h1 {
    font-size: 2.75rem;
  }

  .prose {
    padding: 24px;
  }

  .faq-list summary {
    padding: 18px;
    font-size: 1rem;
  }

  .faq-answer {
    padding: 0 18px 20px;
  }

  .not-found {
    padding-block: 70px;
  }

}

@media(max-width:480px) {
  .site-nav {
    flex-basis: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .site-header {
    position: relative;
  }

  .character-signatures {
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
  }

  .character-signatures figure {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-visual {
    width: 260px;
    max-width: 100%;
  }

  .document-aside nav {
    grid-template-columns: 1fr;
  }

  .topic-links {
    gap: 8px;
  }

  .topic-links a {
    padding-inline: 12px;
  }

  .prose {
    padding: 22px 20px;
  }

}

@media(max-width:360px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .site-nav {
    gap: 10px;
  }

  .site-nav a {
    font-size: .875rem;
  }

  .store-button {
    padding-inline: 17px;
    font-size: .9375rem;
  }

  .document-title h1 {
    font-size: 2.5rem;
  }

}

.faq-list summary:focus-visible {
  outline-offset: -4px;
  border-radius: 14px;
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *,*::before,*::after {
    transition: none!important;
    animation: none!important;
  }

}

@media(forced-colors:active) {
  .store-button {
    background: ButtonFace;
    color: ButtonText;
    border-color: ButtonText;
  }

  .hero,.create {
    background: Canvas;
  }

  .site-header {
    background: Canvas;
  }

  .site-nav a[aria-current=page] {
    box-shadow: none;
    text-decoration: underline;
  }

}

@media print {
  .site-header,.site-footer,.document-aside,.topic-links,.breadcrumb {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .wrap {
    width: 100%;
  }

  .document-main {
    padding: 0;
  }

  .document-grid {
    display: block;
  }

  .prose {
    border: 0;
    padding: 0;
  }

  .prose section {
    break-inside: avoid;
  }

  .prose,.prose h2,.prose a {
    color: black;
  }

}
