:root {
  color-scheme: dark;
  --bg: #0b0b0e;
  --panel: #111114;
  --raised: #171519;
  --border: #30282d;
  --text: #f5f1f2;
  --muted: #aaa2a7;
  --red: #fa4055;
  --red-light: #ff8995;
  --mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --top: 68px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    15px/1.65 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid #ff8995;
  outline-offset: 3px;
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip:focus {
  position: fixed;
  z-index: 99;
  left: 16px;
  top: 12px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 8px 12px;
  background: #fff;
  color: #111;
}
.topbar {
  height: var(--top);
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0d0c0fee;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
}
.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 0 3.25%;
  max-width: 1800px;
  margin: auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.17em;
}
.brand b {
  font: 600 0.66rem var(--mono);
  letter-spacing: 0.08em;
  color: #999097;
  margin-left: 4px;
}
.brand-icon {
  color: var(--red);
  font-size: 1.8rem;
  line-height: 1;
}
.search-wrap {
  position: relative;
  width: min(410px, 40vw);
  margin-left: auto;
}
.search-wrap input {
  width: 100%;
  height: 38px;
  padding: 0 45px 0 37px;
  border: 1px solid #393138;
  border-radius: 6px;
  color: var(--text);
  background: #19171b;
  font: inherit;
  font-size: 0.84rem;
}
.search-wrap input::placeholder {
  color: #8e858a;
}
.search-icon {
  position: absolute;
  left: 13px;
  top: 3px;
  color: #b4a6ac;
  font-size: 1.3rem;
}
.search-wrap kbd {
  position: absolute;
  right: 11px;
  top: 8px;
  padding: 0 6px;
  border: 1px solid #4a4046;
  border-radius: 4px;
  color: #9f9399;
  font: 12px/20px var(--mono);
}
.top-link {
  font-size: 0.83rem;
  font-weight: 650;
  color: #d0c6ca;
  white-space: nowrap;
}
.top-link span {
  color: var(--red-light);
}
.search-results {
  position: absolute;
  top: 45px;
  left: 0;
  right: 0;
  max-height: min(60vh, 440px);
  overflow: auto;
  border: 1px solid #554049;
  background: #171419;
  border-radius: 7px;
  box-shadow: 0 18px 50px #000b;
}
.search-results a {
  display: block;
  padding: 11px 14px;
  border-bottom: 1px solid #302a2e;
}
.search-results a:hover,
.search-results a:focus {
  background: #352027;
}
.search-results strong,
.search-results small {
  display: block;
}
.search-results small {
  color: var(--muted);
  line-height: 1.35;
}
.search-empty {
  padding: 14px;
  color: var(--muted);
}
.layout {
  display: grid;
  grid-template-columns: 235px minmax(0, 850px) 185px;
  gap: clamp(30px, 4vw, 72px);
  max-width: 1600px;
  margin: auto;
  padding: 0 3.25%;
}
.sidebar {
  border-right: 1px solid #292429;
  min-height: calc(100vh - var(--top));
}
.sidebar-inner {
  position: sticky;
  top: var(--top);
  height: calc(100vh - var(--top));
  overflow: auto;
  padding: 32px 25px 30px 0;
  scrollbar-width: thin;
  scrollbar-color: #4b343a transparent;
}
.sidebar-label,
.outline-title {
  color: #877b82;
  font: 700 0.64rem var(--mono);
  letter-spacing: 0.12em;
}
.sidebar-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 19px;
}
.sidebar-label span {
  color: #684e55;
}
.sidebar nav a,
.mobile-nav nav a {
  display: block;
  padding: 5px 10px;
  color: #b2aab0;
  font-size: 0.84rem;
  border-left: 2px solid transparent;
}
.sidebar nav a:hover,
.mobile-nav nav a:hover {
  color: white;
}
.sidebar nav a.active,
.mobile-nav nav a.active {
  background: #331c22;
  color: #ffacb5;
  border-left-color: var(--red);
  font-weight: 700;
}
.overview-link {
  margin-bottom: 18px;
}
.nav-group {
  margin-top: 21px;
}
.nav-group p {
  margin: 0 0 8px 10px;
  color: #81787d;
  font: 700 0.62rem var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.sidebar-bottom {
  margin: 32px 0 0 11px;
  color: #8f7c82;
  font: 0.62rem var(--mono);
  letter-spacing: 0.08em;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 12px #f94b5d70;
  vertical-align: middle;
}
.main-content {
  min-width: 0;
  padding-top: 45px;
}
.breadcrumb {
  display: flex;
  gap: 10px;
  color: #8d7e84;
  font: 700 0.65rem var(--mono);
  letter-spacing: 0.11em;
}
.breadcrumb span {
  color: #e65768;
}
.breadcrumb a:hover {
  color: #fff;
}
.intro {
  position: relative;
  overflow: hidden;
  padding: 63px 0 54px;
  border-bottom: 1px solid var(--border);
}
.intro:after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: -90px;
  top: -45px;
  width: 370px;
  height: 370px;
  border: 1px solid #fb3f5527;
  border-radius: 50%;
  box-shadow:
    0 0 0 42px #f94b5d06,
    0 0 0 84px #f94b5d04;
}
.eyebrow {
  color: #ff7d8b;
  font: 700 0.65rem/1.4 var(--mono);
  letter-spacing: 0.12em;
}
.eyebrow .status-dot {
  margin-right: 7px;
}
.eyebrow-sep {
  color: #70454d;
  margin: 0 5px;
}
.intro h1 {
  position: relative;
  z-index: 1;
  margin: 21px 0 22px;
  font-size: clamp(3.6rem, 6vw, 5.5rem);
  line-height: 0.99;
  letter-spacing: -0.065em;
}
.intro h1 span {
  color: var(--red);
}
.intro-copy {
  position: relative;
  z-index: 1;
  max-width: 510px;
  color: #beb4b9;
  font-size: 1.06rem;
  line-height: 1.8;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 27px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 10px 16px;
  border: 1px solid #4b3a40;
  border-radius: 5px;
  font-weight: 700;
  font-size: 0.85rem;
}
.button:hover {
  border-color: #ff7584;
}
.button.primary {
  background: var(--red);
  color: #170b0e;
  border-color: var(--red);
}
.button.secondary {
  background: #171316;
  color: #f4e8eb;
}
.notice {
  display: flex;
  gap: 14px;
  margin: 28px 0;
  padding: 17px 19px;
  border: 1px solid #5b2c36;
  border-left: 3px solid var(--red);
  background: #211419;
}
.notice-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid #f47c8a;
  border-radius: 50%;
  color: #ff9da7;
  font:
    700 0.8rem Georgia,
    serif;
}
.notice strong {
  font-size: 0.86rem;
}
.notice p {
  margin: 4px 0 0;
  color: #c5adb4;
  font-size: 0.83rem;
}
.home-section {
  padding: 48px 0 15px;
}
.section-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  color: #d16b78;
  font: 700 0.61rem var(--mono);
  letter-spacing: 0.11em;
}
.section-label span:last-child {
  color: #75686e;
}
.home-section h2,
.next-panel h2 {
  margin: 27px 0 8px;
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.045em;
}
.section-copy {
  max-width: 570px;
  margin: 0 0 24px;
  color: var(--muted);
}
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.card {
  position: relative;
  min-height: 185px;
  padding: 22px;
  border: 1px solid #382c31;
  border-radius: 6px;
  background: linear-gradient(145deg, #1c171b, #121215);
  transition:
    border-color 0.16s,
    transform 0.16s;
}
.card:hover {
  border-color: #a34756;
  transform: translateY(-2px);
}
.card-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #743843;
  border-radius: 5px;
  background: #351b22;
  color: #ff8794;
  font-size: 1.12rem;
}
.card-arrow {
  position: absolute;
  right: 21px;
  top: 19px;
  color: #aa7982;
}
.card h3 {
  margin: 19px 0 4px;
  font-size: 1rem;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.6;
}
.card-meta {
  display: block;
  margin-top: 18px;
  color: #a2606a;
  font: 700 0.58rem var(--mono);
  letter-spacing: 0.1em;
}
.status-list {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.status-list a {
  display: grid;
  grid-template-columns: 35px 1fr auto 15px;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  background: #141316;
  border-bottom: 1px solid var(--border);
}
.status-list a:last-child {
  border-bottom: 0;
}
.status-list a:hover {
  background: #1c171b;
}
.status-num {
  color: #9d5964;
  font: 0.67rem var(--mono);
}
.status-list strong,
.status-list small {
  display: block;
}
.status-list strong {
  font-size: 0.9rem;
}
.status-list small {
  color: var(--muted);
  font-size: 0.76rem;
}
.status-badge {
  padding: 3px 7px;
  border: 1px solid #783743;
  background: #341a21;
  color: #ff9ba7;
  font: 700 0.58rem var(--mono);
  letter-spacing: 0.05em;
}
.status-badge.subtle {
  background: #211b1f;
  border-color: #514047;
  color: #bfaeb5;
}
.list-arrow {
  color: #bc737f;
}
.release-note {
  margin-top: 14px;
  padding: 13px 16px;
  border: 1px solid #33292f;
  color: #aaa0a5;
  background: #121215;
  font-size: 0.79rem;
}
.release-note span {
  color: #ff8490;
  font: 700 0.63rem var(--mono);
}
.release-note a,
.caption a {
  color: #ff929d;
}
.architecture img {
  width: 100%;
  height: auto;
  margin-top: 2px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #111;
}
.caption {
  color: #938b90;
  font-size: 0.76rem;
}
.next-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 45px;
  padding: 26px;
  border: 1px solid #57313a;
  background:
    radial-gradient(ellipse at left, #5a1e2938, transparent 70%), #171216;
}
.next-panel h2 {
  margin: 6px 0;
  font-size: 1.5rem;
}
.next-panel p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.doc-footer {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 65px;
  padding: 22px 0 35px;
  border-top: 1px solid var(--border);
  color: #897d83;
  font: 600 0.62rem var(--mono);
  letter-spacing: 0.08em;
}
.doc-footer a:hover {
  color: #fff;
}
.footer-slash {
  color: var(--red);
}
.page-outline {
  position: sticky;
  top: calc(var(--top) + 45px);
  align-self: start;
  padding-top: 45px;
  color: #aaa0a5;
  font-size: 0.78rem;
}
.page-outline > a,
.page-outline .toc a {
  display: block;
  padding: 5px 0;
  color: #a9a0a5;
}
.page-outline a:hover {
  color: var(--red-light);
}
.page-outline ul {
  list-style: none;
  margin: 4px 0;
  padding: 0;
}
.page-outline ul ul {
  padding-left: 12px;
}
.page-outline .toc > ul > li > ul {
  padding-left: 0;
}
.article {
  padding: 30px 0 0;
  overflow-wrap: anywhere;
}
.article h1 {
  font-size: clamp(2.3rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin: 15px 0 10px;
}
.page-summary {
  font-size: 1.06rem !important;
  color: #aaa0a5 !important;
  border-bottom: 1px solid var(--border);
  padding-bottom: 25px;
  margin-bottom: 30px !important;
}
.article h2 {
  margin: 42px 0 12px;
  font-size: 1.55rem;
  letter-spacing: -0.035em;
  scroll-margin-top: 95px;
}
.article h3 {
  margin: 28px 0 8px;
  font-size: 1.08rem;
  scroll-margin-top: 95px;
}
.article p,
.article li {
  color: #c7bec2;
}
.article p {
  margin: 14px 0;
}
.article a {
  color: #ff9aa5;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article a:hover {
  color: #ffd1d5;
}
.article code {
  padding: 2px 5px;
  background: #241c20;
  border: 1px solid #3b2b31;
  border-radius: 3px;
  color: #ffbbc2;
  font: 0.87em var(--mono);
}
.article pre {
  overflow: auto;
  padding: 17px 19px;
  border: 1px solid #443039;
  background: #151215;
  border-radius: 5px;
  line-height: 1.6;
}
.article pre code {
  padding: 0;
  border: 0;
  background: none;
  color: #f2d4d9;
}
.article blockquote {
  margin: 20px 0;
  padding: 1px 18px;
  border-left: 3px solid var(--red);
  background: #211419;
}
.article table {
  display: block;
  overflow-x: auto;
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  text-align: left;
}
.article th,
.article td {
  min-width: 150px;
  padding: 11px 14px;
  border: 1px solid #3b3035;
  font-size: 0.86rem;
  vertical-align: top;
}
.article th {
  background: #211a1e;
}
.article img {
  max-width: 100%;
  height: auto;
}
.mobile-nav {
  display: none;
}
@media (max-width: 1200px) {
  .layout {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 38px;
  }
  .page-outline {
    display: none;
  }
}
@media (max-width: 760px) {
  .topbar-inner {
    padding: 0 20px;
    gap: 14px;
  }
  .brand b {
    display: none;
  }
  .search-wrap {
    width: auto;
    flex: 1;
  }
  .search-wrap kbd {
    display: none;
  }
  .search-wrap input {
    padding-right: 10px;
  }
  .top-link {
    font-size: 0.75rem;
  }
  .layout {
    display: block;
    padding: 0 21px;
  }
  .sidebar {
    display: none;
  }
  .mobile-nav {
    display: block;
    border-bottom: 1px solid var(--border);
    background: #121014;
  }
  .mobile-nav summary {
    padding: 12px 21px;
    cursor: pointer;
    list-style: none;
    font-size: 0.82rem;
    font-weight: 700;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav summary span {
    float: right;
    color: var(--red-light);
  }
  .mobile-nav nav {
    max-height: 55vh;
    overflow: auto;
    padding: 0 21px 18px;
  }
  .mobile-nav .nav-group {
    margin-top: 14px;
  }
  .main-content {
    padding-top: 27px;
  }
  .intro {
    padding: 45px 0;
  }
  .intro:after {
    opacity: 0.45;
  }
  .home-section {
    padding-top: 38px;
  }
  .next-panel {
    align-items: flex-start;
    flex-direction: column;
  }
  .doc-footer {
    flex-wrap: wrap;
  }
  .article {
    padding-top: 22px;
  }
}
@media (max-width: 480px) {
  .brand {
    font-size: 0.68rem;
    letter-spacing: 0.09em;
  }
  .brand-icon {
    font-size: 1.5rem;
  }
  .topbar-inner {
    padding: 0 14px;
    gap: 10px;
  }
  .search-wrap input {
    font-size: 0.75rem;
  }
  .search-icon {
    left: 9px;
  }
  .search-wrap input {
    padding-left: 28px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .intro h1 {
    font-size: 3.5rem;
  }
  .status-list a {
    grid-template-columns: 25px 1fr auto;
    gap: 8px;
  }
  .status-badge {
    display: none;
  }
  .list-arrow {
    justify-self: end;
  }
  .section-label span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

.anchor-alias {
  display: block;
  scroll-margin-top: 90px;
}
.mobile-outline {
  display: none;
}
@media (max-width: 760px) {
  .mobile-outline {
    display: block;
    margin-bottom: 20px;
    padding: 10px 13px;
    border: 1px solid var(--border);
    border-radius: 5px;
    color: #c0b4ba;
    font-size: 0.8rem;
  }
  .mobile-outline summary {
    cursor: pointer;
    font-weight: 700;
  }
  .mobile-outline .outline-title {
    display: none;
  }
  .mobile-outline ul {
    list-style: none;
    margin: 5px 0;
    padding-left: 10px;
  }
  .mobile-outline a {
    display: block;
    padding: 3px 0;
    color: #ff9aa5;
  }
}
