:root {
  color-scheme: dark;
  font-family: "Yu Gothic UI", "Meiryo", sans-serif;
  background: #171317;
  color: #f2e9f0;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.75;
  background:
    radial-gradient(
      circle at 80% 0%,
      rgba(255, 0, 179, 0.13),
      transparent 34rem
    ),
    #171317;
}
a {
  color: #ff79cf;
}
header,
main,
footer {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}
header {
  padding: 48px 0 24px;
}
.hero {
  padding-top: 72px;
}
.hero h1 {
  max-width: 780px;
  margin: 0.18em 0 0.3em;
  font-size: clamp(2.15rem, 7vw, 4.35rem);
  letter-spacing: -0.045em;
}
.eyebrow,
.card-kicker {
  margin-bottom: 0.25rem;
  color: #ff79cf;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero-lead {
  max-width: 680px;
  color: #d8cad4;
  font-size: 1.1rem;
}
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  list-style: none;
}
.hero-facts li {
  margin: 0;
  padding: 5px 11px;
  border: 1px solid #665162;
  border-radius: 999px;
  background: rgba(35, 26, 35, 0.82);
  color: #e6d9e2;
  font-size: 0.9rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 28px;
}
.hero-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #ff79cf;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.hero-actions .primary-action {
  background: #ff79cf;
  color: #241420;
}
.hero-actions .secondary-action {
  background: #2b202a;
}
.support-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid #ff79cf;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
}
.support-action.primary-action {
  background: #ff79cf;
  color: #241420;
}
.hero-actions a:hover {
  filter: brightness(1.12);
}
.hero-actions a:focus-visible,
.support-action:focus-visible,
nav a:focus-visible,
.link-grid a:focus-visible,
.compact-links a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}
main {
  padding-bottom: 48px;
}
footer {
  padding: 24px 0 48px;
  border-top: 1px solid #4b3c49;
  color: #c9bbc5;
}
h1,
h2,
h3 {
  line-height: 1.35;
}
h2 {
  margin-top: 2em;
  border-bottom: 1px solid #4b3c49;
  padding-bottom: 0.35em;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-top: 44px;
  border-bottom: 1px solid #4b3c49;
}
.section-heading h2 {
  margin: 0 0 0.35em;
  border: 0;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 20px;
}
.card {
  background: #231a23;
  border: 1px solid #4b3c49;
  border-radius: 12px;
  padding: 20px;
  margin: 16px 0;
}
.notice {
  border-left: 4px solid #ff00b3;
}
.distribution-grid,
.release-grid,
.feature-grid,
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.distribution-card,
.release-card,
.feature-grid .card {
  margin: 0;
}
.distribution-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.distribution-card p:not(.card-kicker) {
  flex-grow: 1;
}
.release-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}
.release-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.release-card h3,
.distribution-card h3,
.feature-grid h3 {
  margin-top: 0;
}
.featured-release {
  border-color: #ff79cf;
  box-shadow: 0 16px 44px rgba(255, 0, 179, 0.12);
}
.status-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 3px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}
.status-chip.beta {
  color: #f8d987;
}
.status-chip.muted-chip {
  color: #c9bbc5;
}
.release-metadata {
  margin: 18px 0 0;
}
.release-metadata div {
  padding: 10px 0;
  border-top: 1px solid #4b3c49;
}
.release-metadata dt {
  color: #c9bbc5;
  font-size: 0.78rem;
  font-weight: 700;
}
.release-metadata dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}
.inline-links,
.compact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.inline-links {
  margin-top: 18px;
}
.disabled-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid #665162;
  border-radius: 10px;
  color: #a998a5;
  font-weight: 700;
}
.store-note {
  margin: 18px 0 0;
}
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.screenshot-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.screenshot-grid figure {
  margin: 0;
}
.screenshot-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border: 1px solid #4b3c49;
  border-radius: 12px;
  background: #f5f7fa;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.screenshot-grid figcaption {
  margin-top: 8px;
  color: #c9bbc5;
  font-size: 0.9rem;
}
pre {
  overflow-x: auto;
  padding: 14px;
  border: 1px solid #4b3c49;
  border-radius: 8px;
  background: #171317;
}
table {
  border-collapse: collapse;
  width: 100%;
  display: block;
  overflow-x: auto;
}
th,
td {
  border: 1px solid #4b3c49;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
code {
  background: #30242f;
  border-radius: 4px;
  padding: 2px 5px;
}
li + li {
  margin-top: 0.35em;
}
.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.link-grid a {
  display: grid;
  gap: 6px;
  border: 1px solid #4b3c49;
  border-radius: 10px;
  padding: 16px;
  text-decoration: none;
  background: #2b202a;
}
.link-grid a:hover {
  border-color: #ff79cf;
}
.link-grid span,
.muted {
  color: #c9bbc5;
}
.manual-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 18px 0 30px;
  border: 1px solid #4b3c49;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.manual-nav {
  margin-bottom: 28px;
}
.warning {
  border-left: 4px solid #f4b942;
}
.success {
  border-left: 4px solid #55c28a;
}
.release-entry {
  margin-top: 32px;
  padding-top: 4px;
}
.release-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #4b3c49;
}
.release-heading h2 {
  margin-top: 0.15em;
  border: 0;
}
.release-version {
  margin-bottom: 0;
  color: #ff79cf;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.release-status {
  flex: 0 0 auto;
  margin-top: 12px;
  padding: 5px 12px;
  border: 1px solid #f4b942;
  border-radius: 999px;
  color: #f8d987;
  font-size: 0.9rem;
  font-weight: 700;
}
.toc h2 {
  margin-top: 0;
}
.button-reference {
  display: table;
  margin: 18px 0 28px;
}
.button-reference th:first-child,
.button-reference td:first-child {
  white-space: nowrap;
}
.annotated-figure {
  margin: 20px 0 30px;
}
.annotated-figure figcaption {
  margin-top: 10px;
  color: #c9bbc5;
  font-size: 0.92rem;
}
.compact-figure {
  max-width: 520px;
}
.account-figure {
  max-width: 900px;
}
.focus-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #665162;
  border-radius: 12px;
  background: #f5f7fa;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}
.focus-frame img {
  display: block;
  position: static;
  width: 100%;
  max-width: 100%;
  height: auto;
}
.callout-lines {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.callout-lines line {
  stroke: #e6007e;
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 1px #fff);
}
.callout-marker {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  transform: translate(-50%, -50%);
  border: 3px solid #fff;
  border-radius: 999px;
  background: #e6007e;
  color: #fff;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
}
kbd {
  display: inline-block;
  min-width: 1.8em;
  padding: 0.08em 0.4em;
  border: 1px solid #6d5b69;
  border-bottom-width: 3px;
  border-radius: 5px;
  background: #30242f;
  text-align: center;
  font: inherit;
}
@media (max-width: 640px) {
  .hero {
    padding-top: 44px;
  }
  .section-heading,
  .release-heading {
    display: block;
  }
  .section-heading .status-chip {
    margin-bottom: 16px;
  }
  .distribution-grid,
  .release-grid,
  .feature-grid,
  .screenshot-grid {
    grid-template-columns: 1fr;
  }
  .release-status {
    display: inline-block;
    margin: 0 0 18px;
  }
  .button-reference {
    display: block;
  }
  .callout-lines line {
    stroke-width: 2;
  }
  .callout-marker {
    width: 22px;
    height: 22px;
    border-width: 2px;
    font-size: 0.7rem;
  }
}
