:root {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  color: #292c3b;
  background: #f6f7f9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --purple: #7761d6;
  --purple-dark: #6250bc;
  --muted: #655d73;
  --border: #e8e9ee;
  --surface: #fff;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 28px;
}
body {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: var(--purple-dark);
  text-decoration: none;
  text-underline-offset: 4px;
}
a:hover {
  text-decoration: underline;
}
a:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
  border-radius: 3px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.035em;
}
.header,
main,
.footer {
  width: min(1080px, calc(100% - 64px));
  margin-inline: auto;
}
.header {
  width: min(1440px, calc(100% - 64px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 16px;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.055em;
  color: #292c3b;
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  margin-right: 10px;
  border-radius: 11px;
  box-shadow: 0 4px 8px #7761d629;
  transform: rotate(-5deg);
}
.brand span {
  color: var(--purple);
}
.header .brand {
  font-size: 28px;
}
.header .brand img {
  width: 38px;
  height: 41px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 16px;
}
.header nav a {
  color: var(--muted);
}
.header nav a[aria-current] {
  color: var(--purple-dark);
}
.header nav .github-link {
  color: #292c3b;
}
.github-link {
  display: inline-flex;
  align-items: center;
}
.mobile-navigation {
  display: none;
}
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
  list-style: none;
  border-radius: 6px;
}
.menu-toggle::-webkit-details-marker {
  display: none;
}
.menu-toggle:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 3px;
}
.close-icon {
  display: none;
}
.mobile-navigation[open] .menu-toggle {
  position: fixed;
  top: 28px;
  right: 28px;
  z-index: 51;
  background: #f3f3f3;
}
.mobile-navigation[open] .menu-icon {
  display: none;
}
.mobile-navigation[open] .close-icon {
  display: block;
}
.mobile-menu {
  position: fixed;
  inset: 8px 8px auto;
  z-index: 50;
  padding: 20px;
  max-height: calc(100dvh - 16px);
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 3px 12px #292c3b12;
}
.mobile-menu-heading {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-right: 52px;
  margin-bottom: 8px;
}
.header .mobile-menu nav {
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding-block: 12px;
}
.mobile-menu .donation-link {
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.mobile-menu .donation-coin {
  width: 28px;
  height: 28px;
}
.donation-link {
  position: relative;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
}
.donation-coin {
  display: block;
  width: 32px;
  height: 32px;
  transform-origin: 50% 72%;
  filter: drop-shadow(0 3px 3px #81531938);
  animation: donation-coin-wiggle 8s ease-in-out infinite;
}
.donation-coin svg {
  display: block;
  width: 100%;
  height: 100%;
}
.donation-link:hover .donation-coin,
.donation-link:focus-visible .donation-coin {
  animation: none;
  transform: scale(1.1) rotate(-5deg);
}
.donation-link:hover,
.donation-link:focus-visible {
  background: #fff8e5;
}
.donation-tooltip {
  position: absolute;
  right: 0;
  top: calc(100% + 7px);
  padding: 7px 9px;
  border: 1px solid #4d405e;
  border-radius: 6px;
  background: #302a3c;
  color: #f8f0ff;
  font-size: 10px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 6px 18px #24163225;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-4px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
}
.donation-link:hover .donation-tooltip,
.donation-link:focus-visible .donation-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
@keyframes donation-coin-wiggle {
  0%,
  85%,
  100% {
    transform: rotate(0deg);
  }
  87% {
    transform: rotate(-9deg);
  }
  89% {
    transform: rotate(8deg);
  }
  91% {
    transform: rotate(-5deg);
  }
  93% {
    transform: rotate(2deg);
  }
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 52;
  background: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 16px;
}
.hero {
  text-align: center;
  max-width: 810px;
  margin: 75px auto 50px;
}
.eyebrow {
  color: var(--purple-dark);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(44px, 6.5vw, 76px);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1.04;
}
.hero h1 span,
.page-intro h1 span {
  color: var(--purple);
}
.hero-description {
  margin: 26px auto 12px;
  font-size: 20px;
  font-weight: 500;
  color: #4d465b;
}
.hero-subtitle {
  max-width: 630px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 17px;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-block: 30px 18px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  border: 1px solid #e1e3ea;
  border-radius: 8px;
  padding: 11px 20px;
  background: var(--surface);
  color: #292c3b;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s;
}
.button:hover {
  text-decoration: none;
  background: #f1edfc;
}
.button.primary {
  background: var(--purple-dark);
  border-color: var(--purple-dark);
  color: #fff;
}
.button.primary:hover {
  background: #5441ac;
}
.hero-note {
  font-size: 12px;
  color: var(--muted);
}
.hero-note span {
  padding-inline: 7px;
}
.studio-preview img {
  border-radius: 18px;
  border: 1px solid var(--border);
}
figcaption {
  margin-top: 14px;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.section {
  --section-bg: #fff;
  position: relative;
  isolation: isolate;
  padding-block: 75px;
  border-bottom: 1px solid var(--border);
}
.section:nth-of-type(odd) {
  --section-bg: #f3f3f3;
}
.section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--section-bg);
  box-shadow: 0 0 0 100vmax var(--section-bg);
  clip-path: inset(0 -100vmax);
}
.workflow .note {
  background: #fff;
}
.section-heading {
  margin-bottom: 40px;
}
.section-heading .eyebrow {
  margin-bottom: 12px;
}
.section h2 {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 650;
}
.section-heading > p:last-child:not(.eyebrow) {
  color: var(--muted);
  margin-top: 14px;
  max-width: 620px;
}
.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 65px;
  margin-bottom: 32px;
}
.feature {
  position: relative;
  padding-left: 44px;
}
.feature-number {
  position: absolute;
  left: 0;
  top: 1px;
  font-size: 12px;
  color: var(--purple-dark);
  font-variant-numeric: tabular-nums;
}
.feature h3 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}
.feature p {
  font-size: 14px;
  color: var(--muted);
}
.text-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 550;
}
.workflow .steps ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 45px;
  padding-left: 22px;
  margin-bottom: 32px;
}
.steps li {
  padding-left: 8px;
  color: var(--muted);
  font-size: 15px;
}
.steps li::marker {
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 600;
}
.steps strong {
  display: block;
  color: #292c3b;
  margin-bottom: 6px;
}
.note {
  padding: 18px 22px;
  border-left: 3px solid var(--purple);
  background: #f1edfc;
  color: #514760;
  font-size: 14px;
}
.note a {
  display: inline;
}
.downloads {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.download {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.15s;
}
.download:hover {
  border-color: var(--purple);
  text-decoration: none;
}
.download > span {
  font-size: 16px;
  color: #292c3b;
  font-weight: 600;
}
.download strong {
  font-size: 22px;
  font-weight: 600;
  margin-block: 16px 4px;
}
.download strong span {
  float: right;
  font-weight: 400;
}
.download small {
  font-size: 12px;
  color: var(--muted);
}
.download-note {
  max-width: 750px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 12px;
}
.page-intro {
  margin-block: 68px 55px;
  max-width: 820px;
}
.page-intro h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 650;
  margin-bottom: 20px;
}
.page-intro > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 20px;
}
.page-intro .docs-note {
  font-size: 13px;
}
.changelog-page {
  background: #fff;
}
.changelog-intro {
  text-align: center;
  margin-block: 56px 88px;
}
.changelog-intro h1 {
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 750;
  letter-spacing: -0.055em;
  margin-bottom: 22px;
}
.atom-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}
.atom-link svg {
  color: #f58a00;
}
.changelog-intro .note {
  margin-top: 28px;
  text-align: left;
}
.timeline {
  margin-bottom: 80px;
}
.release {
  position: relative;
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 72px;
  padding-bottom: 64px;
}
.release::before {
  content: '';
  position: absolute;
  left: 216px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.release::after {
  content: '';
  position: absolute;
  left: 212px;
  top: 10px;
  width: 9px;
  height: 9px;
  background: #fff;
  border: 2px solid #cdd0dc;
  border-radius: 50%;
}
.release-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  text-align: right;
}
.version {
  font-size: 20px;
  font-weight: 500;
  background: #f7f4ff;
  border: 1px solid #d9cffb;
  border-radius: 5px;
  padding: 4px 8px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.release-date {
  font-size: 14px;
  color: var(--muted);
}
.release-body.prose h2 {
  font-size: 30px;
  font-weight: 720;
  line-height: 1.25;
  margin-block: 0 28px;
}
.release-body.prose h3 {
  font-size: 18px;
  font-weight: 650;
  margin-block: 32px 18px;
}
.release-body h3[id$='-new']::before {
  content: '✨ ';
}
.release-body h3[id$='-improvements']::before {
  content: '💎 ';
}
.release-body h3[id$='-fixes']::before {
  content: '🐞 ';
}
.release-body > :first-child {
  margin-top: 0;
}
.release-body ul {
  padding-left: 26px;
}
.release-body li {
  font-size: 16px;
  line-height: 1.85;
  color: #514b60;
}
.release-body li::marker {
  color: #cdd0dc;
}
.release-body strong {
  color: #292c3b;
}
.release-body .text-link {
  margin-top: 12px;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 80px;
}
.guide-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.guide-card:hover {
  border-color: var(--purple);
  text-decoration: none;
}
.guide-card h2 {
  font-size: 20px;
  font-weight: 600;
  color: #292c3b;
  margin-bottom: 10px;
}
.guide-card h2 span {
  float: right;
  color: var(--purple);
}
.guide-card p {
  font-size: 14px;
  color: var(--muted);
}
.docs-layout {
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr);
  gap: 55px;
  margin-block: 56px 80px;
}
.docs-sidebar {
  align-self: start;
  position: sticky;
  top: 30px;
}
.docs-sidebar .eyebrow {
  margin-bottom: 16px;
}
.docs-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.docs-sidebar a {
  color: var(--muted);
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 5px;
}
.docs-sidebar a[aria-current] {
  color: var(--purple-dark);
  background: #f1edfc;
}
.back-link {
  margin-bottom: 24px;
}
.prose {
  overflow-wrap: anywhere;
}
.prose h1 {
  font-size: clamp(30px, 4vw, 40px);
  margin-bottom: 26px;
  font-weight: 650;
}
.prose h2 {
  font-size: 25px;
  margin-block: 40px 16px;
  font-weight: 600;
}
.prose h3 {
  font-size: 19px;
  margin-block: 30px 12px;
  font-weight: 600;
}
.prose p,
.prose ul,
.prose ol {
  margin-bottom: 18px;
}
.prose li {
  margin-bottom: 9px;
}
.prose a {
  text-decoration: underline;
}
.prose .text-link {
  text-decoration: none;
}
.prose code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.85em;
  background: #edeef3;
  padding: 2px 5px;
  border-radius: 4px;
}
.prose pre {
  overflow-x: auto;
  padding: 18px;
  background: #edeef3;
  border-radius: 8px;
  line-height: 1.6;
}
.prose pre code {
  padding: 0;
  white-space: pre;
  overflow-wrap: normal;
}
.prose blockquote {
  border-left: 3px solid var(--purple);
  padding-left: 18px;
  margin-left: 0;
  color: var(--muted);
}
.prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 13px;
  margin-block: 22px;
}
.prose th,
.prose td {
  border: 1px solid var(--border);
  padding: 10px 14px;
  text-align: left;
  min-width: 120px;
}
.prose th {
  background: #f1edfc;
  font-weight: 600;
}
.doc-source {
  margin-top: 50px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 12px;
  color: var(--muted);
}
.doc-source p {
  margin-bottom: 5px;
}
.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding-block: 34px;
  border-top: 1px solid var(--border);
}
.footer .brand {
  font-size: 19px;
}
.footer p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}
.footer-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--muted);
}
.footer .credits {
  grid-column: 1 / -1;
  font-size: 11px;
  line-height: 1.8;
}
@media (max-width: 767px) {
  .header,
  main,
  .footer {
    width: calc(100% - 36px);
  }
  .header {
    width: calc(100% - 32px);
  }
  .header .desktop-navigation {
    display: none;
  }
  .mobile-navigation {
    display: block;
  }
  .hero {
    margin-top: 46px;
  }
  .hero-description {
    font-size: 17px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .hero-note {
    font-size: 11px;
  }
  .studio-preview img {
    border-radius: 10px;
  }
  .section {
    padding-block: 48px;
  }
  .section-heading {
    margin-bottom: 28px;
  }
  .features,
  .workflow .steps ol,
  .guide-grid,
  .downloads {
    grid-template-columns: 1fr;
  }
  .features {
    gap: 28px;
  }
  .feature {
    padding-left: 36px;
  }
  .download {
    padding: 22px;
  }
  .download strong {
    margin-top: 10px;
  }
  .release {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 0 0 56px 28px;
  }
  .release::before {
    left: 0;
  }
  .release::after {
    left: -4px;
  }
  .release-meta {
    align-items: flex-start;
    text-align: left;
  }
  .release-body.prose h2 {
    font-size: 28px;
  }
  .changelog-intro {
    margin-block: 40px 60px;
  }
  .page-intro {
    margin-top: 40px;
  }
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    margin-top: 40px;
  }
  .docs-sidebar {
    position: static;
  }
  .docs-sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .docs-sidebar a {
    border: 1px solid var(--border);
    padding: 6px 9px;
    font-size: 12px;
  }
  .footer {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-links {
    gap: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
  .donation-coin {
    animation: none;
  }
}
