:root {
  --bg: #f3f1ec;
  --bg-soft: #e9e6df;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-solid: #fbfaf7;
  --panel-strong: #ffffff;
  --ink: #17191d;
  --muted: #17191d;
  --line: rgba(23, 25, 29, 0.13);
  --line-strong: rgba(23, 25, 29, 0.24);
  --accent: #ff4a4a;
  --accent-dark: #d93636;
  --accent-soft: rgba(255, 74, 74, 0.22);
  --blue: #426fe8;
  --blue-soft: rgba(66, 111, 232, 0.12);
  --green: #1f8b66;
  --header: rgba(243, 241, 236, 0.84);
  --shadow: 0 24px 70px rgba(23, 25, 29, 0.13);
  --shadow-soft: 0 14px 38px rgba(23, 25, 29, 0.08);
  --radius-sm: 12px;
  --radius: 22px;
  --radius-lg: 32px;
  --shell: min(1240px, calc(100vw - 48px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--accent);
}

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

a {
  color: inherit;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

/* Keep interface chrome out of text selections while article copy remains selectable. */
:where(
  a[href],
  button,
  select,
  option,
  summary,
  label,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  [role="button"],
  [role="link"],
  [role="tab"],
  [role="menuitem"],
  [role="option"],
  [role="switch"],
  [tabindex]:not([tabindex="-1"]),
  .site-header,
  .docs-nav,
  .packs-toolbar,
  .pack-card-tags,
  .pack-card-meta,
  .install-steps,
  .price-label,
  .facts-grid,
  .community-label,
  .notice
) {
  -webkit-user-select: none;
  user-select: none;
}

:where(
  input:not([type]),
  input[type="text"],
  input[type="search"],
  input[type="tel"],
  input[type="url"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  textarea,
  [contenteditable]:not([contenteditable="false"])
) {
  -webkit-user-select: text;
  user-select: text;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  color: #fff;
  background: #111;
  border-radius: 9px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Shared shell */
.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  min-height: 84px;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: var(--header);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px) saturate(145%);
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: transparent;
}

.brand-mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand-copy {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  position: relative;
  padding: 9px 13px;
  color: var(--muted);
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.site-nav a:not(.nav-social):hover {
  color: var(--ink);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 74, 74, 0.3);
}

.site-nav a.is-active {
  color: #fff;
  background: var(--accent);
  box-shadow: none;
}

.site-nav a.is-active:hover {
  color: #fff;
  background: var(--accent-dark);
}

.nav-socials {
  display: flex;
  margin-left: 8px;
  align-items: center;
  gap: 10px;
}

.site-nav .nav-social {
  display: grid;
  width: auto;
  height: 30px;
  padding: 0;
  place-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.site-nav .nav-social img {
  display: block;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-nav .nav-social[data-discord-link] img {
  width: 27px;
  height: 20px;
}

.site-nav .nav-social:hover {
  background: transparent;
  box-shadow: none;
}

.site-nav .nav-social:hover img {
  opacity: 0.82;
  transform: translateY(-1px) scale(1.06);
}

.nav-toggle {
  display: inline-grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  cursor: pointer;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.nav-toggle {
  display: none;
  gap: 4px;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

.header-cta {
  display: inline-flex;
  min-height: 42px;
  padding: 0 17px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--accent);
  border-radius: 12px;
  box-shadow: none;
  font-size: 0.88rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.header-cta:hover {
  background: var(--accent-dark);
  box-shadow: none;
  transform: translateY(-1px);
}

main {
  overflow: clip;
}

.site-footer {
  padding: 22px max(24px, calc((100% - var(--shell)) / 2));
  color: var(--muted);
  background: var(--bg);
  border-top: 1px solid var(--line);
  text-align: center;
  user-select: none;
}

.site-footer p {
  margin: 0;
  font-size: 0.82rem;
}

.reveal-enabled .scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 1100ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 1100ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-enabled .scroll-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.shell,
.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-shell {
  padding-block: clamp(30px, 3vw, 44px);
}

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

h1,
h2,
h3 {
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.45rem, 8vw, 7.2rem);
  font-weight: 820;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 5vw, 4.6rem);
  font-weight: 780;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 2.1vw, 1.75rem);
  font-weight: 740;
}

.lede,
.section-lede {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.65vw, 1.28rem);
  line-height: 1.65;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 20px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 13px;
  font-size: 0.93rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: none;
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--ink);
  background: var(--panel);
  border-color: var(--line-strong);
}

.button-secondary:hover {
  background: var(--panel-strong);
}

.steam-button-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  object-fit: contain;
}

.text-link {
  color: var(--ink);
  font-weight: 750;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: var(--accent);
}

/* Product media */
.editor-frame {
  margin: 0;
  background: transparent;
}

.editor-frame::before {
  display: none;
}

.editor-frame img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.page-hero-card .editor-frame img {
  border-radius: 2px;
}

/* Home */
.home-hero {
  position: relative;
  display: grid;
  min-height: clamp(560px, 64vw, 720px);
  padding: clamp(72px, 9vw, 132px) 0;
  align-items: center;
  isolation: isolate;
  color: #fff;
  background: #080b10 url("assets/HeroBackground.png") center / cover no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-hero::before {
  position: absolute;
  z-index: 0;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 8, 14, 0.42) 0%, rgba(5, 8, 14, 0.18) 48%, rgba(5, 8, 14, 0.03) 100%),
    linear-gradient(180deg, rgba(5, 8, 14, 0.02) 0%, rgba(5, 8, 14, 0.16) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  grid-template-areas: "copy emblem";
  align-items: center;
  gap: clamp(44px, 7vw, 108px);
}

.hero-copy {
  grid-area: copy;
  max-width: 760px;
}

.hero-copy h1 {
  display: grid;
  width: max-content;
  max-width: 100%;
  font-size: clamp(3.5rem, 5.4vw, 5.25rem);
  line-height: 0.96;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.34);
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-copy h1 .hero-title-lead {
  color: #fff;
  font-size: 0.9em;
}

.hero-copy h1 .hero-title-accent {
  color: var(--accent);
  font-size: 1.08em;
  text-align: center;
}

.hero-emblem {
  position: relative;
  grid-area: emblem;
  width: min(100%, 360px);
  justify-self: end;
  isolation: isolate;
}

.hero-emblem::before {
  position: absolute;
  z-index: -1;
  inset: 5%;
  content: "";
  background: radial-gradient(circle, rgba(255, 104, 72, 0.28), rgba(8, 11, 16, 0.5) 52%, transparent 72%);
  border-radius: 50%;
  filter: blur(14px);
}

.hero-emblem img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-copy .lede {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.78);
}

.home-hero .button-secondary {
  color: #fff;
  background: rgba(9, 12, 18, 0.58);
  border-color: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
}

.home-hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.62);
}

.section-heading {
  max-width: 800px;
  margin-bottom: clamp(42px, 6vw, 76px);
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.workflow-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--ink);
  background: var(--bg-soft);
}

.workflow-section .section-shell {
  padding-block: clamp(76px, 9vw, 128px);
}

.feature-showcase-heading {
  width: min(100%, 780px);
  margin: 0 auto clamp(44px, 6vw, 72px);
  text-align: center;
}

.feature-showcase-heading h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5.25rem);
  text-wrap: balance;
}

.feature-showcase-list {
  display: grid;
  width: min(100%, 1120px);
  margin-inline: auto;
  gap: 18px;
}

.feature-showcase {
  display: grid;
  min-height: 332px;
  padding: 16px;
  overflow: clip;
  align-items: center;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(20px, 3vw, 40px);
  color: var(--ink);
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: none;
}

.feature-copy {
  display: flex;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 32px) clamp(12px, 2vw, 24px);
  align-items: flex-start;
  flex-direction: column;
}

.feature-heading {
  display: inline-flex;
  max-width: 100%;
  align-self: flex-start;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-icon {
  width: clamp(48px, 4vw, 62px);
  height: auto;
  margin-bottom: 14px;
}

.feature-copy h3 {
  max-width: 14ch;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  text-wrap: balance;
}

.feature-copy p {
  margin: 22px 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.68;
}

.feature-showcase-media {
  min-width: 0;
  align-self: center;
}

.feature-showcase-media img {
  display: block;
}

.feature-image-trigger {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  cursor: zoom-in;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
}

.feature-image-trigger:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.feature-image-trigger img {
  transform: scale(1);
  transition: transform 240ms ease;
}

.feature-image-trigger:hover img {
  transform: scale(1.018);
}

body.image-lightbox-open {
  overflow: hidden;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  width: min(96vw, 1800px);
  max-width: none;
  max-height: 94svh;
  margin: auto;
  padding: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
  border: 0;
}

.image-lightbox::backdrop {
  background: rgba(7, 9, 13, 0.86);
  backdrop-filter: blur(4px);
}

.image-lightbox-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: 94svh;
  overflow: hidden;
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
}

.image-lightbox-header {
  display: flex;
  min-height: 56px;
  padding: 8px 10px 8px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.image-lightbox-title {
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.2;
}

.image-lightbox-close {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  cursor: pointer;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  font: inherit;
}

.image-lightbox-close:hover,
.image-lightbox-close:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.image-lightbox-close-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.image-lightbox-close-icon::before,
.image-lightbox-close-icon::after {
  position: absolute;
  top: 7px;
  left: 1px;
  width: 14px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.image-lightbox-close-icon::before {
  transform: rotate(45deg);
}

.image-lightbox-close-icon::after {
  transform: rotate(-45deg);
}

.image-lightbox-stage {
  display: grid;
  min-height: 0;
  padding: 10px;
  overflow: auto;
  place-items: center;
}

.image-lightbox-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(96vw - 22px);
  max-height: calc(94svh - 76px);
  border: 0;
  border-radius: 8px;
}

.feature-list,
.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.check-list li {
  position: relative;
  padding-left: 27px;
  color: var(--muted);
}

.feature-list li::before,
.check-list li::before {
  position: absolute;
  top: 0.55em;
  left: 1px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--blue);
  border-radius: 3px;
  transform: rotate(45deg);
}

.pledge-section {
  color: #fff;
  background: #11151b;
}

.pledge-copy {
  max-width: 900px;
  padding-block: clamp(64px, 8vw, 104px);
  text-align: center;
}

.pledge-copy h2 {
  margin-bottom: 18px;
  font-size: clamp(2.75rem, 5vw, 4.6rem);
}

.pledge-copy p {
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.12rem, 2vw, 1.4rem);
  line-height: 1.6;
}

/* Interior page heroes */
.page-hero {
  padding: clamp(68px, 9vw, 132px) 0 clamp(60px, 8vw, 104px);
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.page-hero h1 {
  font-size: clamp(3rem, 4.8vw, 4.75rem);
  text-wrap: balance;
}

.page-hero-copy .lede {
  max-width: 660px;
}

.page-hero-card {
  min-width: 0;
}

.page-hero-card .editor-frame {
  width: 100%;
}

/* Documentation */
.docs-coming-soon {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  min-height: calc(100svh - 84px);
  align-items: center;
  color: #fff;
  background: #080b10 url("assets/HeroBackground.png") center / cover no-repeat;
}

.docs-coming-soon::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 8, 14, 0.46) 0%, rgba(5, 8, 14, 0.2) 50%, rgba(5, 8, 14, 0.05) 100%),
    linear-gradient(180deg, rgba(5, 8, 14, 0.03), rgba(5, 8, 14, 0.2));
  pointer-events: none;
}

.docs-coming-soon::after {
  content: none;
}

.docs-coming-soon-shell {
  width: min(var(--shell), 1180px);
  margin-inline: auto;
  padding-block: clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 360px);
  grid-template-areas: "copy emblem";
  align-items: center;
  gap: clamp(44px, 7vw, 108px);
}

.coming-soon-emblem {
  position: relative;
  grid-area: emblem;
  display: grid;
  width: min(100%, 360px);
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  isolation: isolate;
}

.coming-soon-emblem::before,
.coming-soon-emblem::after {
  position: absolute;
  z-index: -1;
  content: "";
  border-radius: 50%;
}

.coming-soon-emblem::before {
  inset: 5%;
  background: radial-gradient(circle, rgba(255, 104, 72, 0.28), rgba(8, 11, 16, 0.5) 52%, transparent 72%);
  filter: blur(14px);
}

.coming-soon-emblem::after {
  content: none;
}

.coming-soon-emblem img {
  display: block;
  width: 100%;
  height: auto;
}

.coming-soon-copy {
  grid-area: copy;
  max-width: 720px;
}

.coming-soon-label {
  margin-bottom: 18px;
  color: #ff6848;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.coming-soon-copy h1 {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-bottom: 24px;
  color: #fff;
  font-size: clamp(3.5rem, 5.4vw, 5.25rem);
  line-height: 0.96;
  text-shadow: 0 5px 36px rgba(0, 0, 0, 0.38);
  white-space: nowrap;
}

.coming-soon-lede {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.65;
}

.docs-coming-soon .button-row {
  margin-top: 30px;
}

.docs-coming-soon .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.docs-coming-soon .button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.48);
}

.documentation-coming-soon .docs-coming-soon .button:hover {
  transform: none;
}

.docs-section {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.docs-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  align-items: start;
  gap: clamp(42px, 7vw, 96px);
}

.docs-nav {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 5px;
}

.docs-nav strong {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.docs-nav a {
  padding: 9px 12px;
  color: var(--muted);
  border-left: 2px solid var(--line);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.docs-nav a:hover {
  color: var(--ink);
  border-left-color: var(--accent);
}

.docs-content {
  min-width: 0;
}

.docs-block {
  padding: 0 0 clamp(68px, 8vw, 108px);
  margin-bottom: clamp(68px, 8vw, 108px);
  border-bottom: 1px solid var(--line);
}

.docs-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.docs-block > p {
  max-width: 760px;
  color: var(--muted);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 32px;
  counter-reset: steps;
}

.step-card {
  position: relative;
  padding: 28px 28px 28px 76px;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 18px;
  counter-increment: steps;
}

.step-card::before {
  position: absolute;
  top: 27px;
  left: 25px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  content: counter(steps, decimal-leading-zero);
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-radius: 10px;
  font-size: 0.7rem;
  font-weight: 850;
}

.step-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.editor-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(30px, 5vw, 58px) clamp(24px, 4vw, 44px);
  margin-top: 34px;
}

.editor-map article {
  background: transparent;
}

.editor-map article:first-child {
  grid-column: 1 / -1;
}

.editor-map img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 2px;
}

.editor-map article:first-child img {
  width: 100%;
}

.editor-map div {
  padding: 20px 0 0;
}

.editor-map p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.reference-card {
  padding: 26px;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.reference-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.reference-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.docs-callout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  margin-top: 28px;
  padding: 28px;
  align-items: center;
  background: var(--blue-soft);
  border: 1px solid color-mix(in srgb, var(--blue) 32%, transparent);
  border-radius: 18px;
}

.docs-callout p {
  margin-bottom: 0;
  color: var(--muted);
}

/* Mythpacks */
.packs-hero {
  padding-bottom: 42px;
}

.packs-hero .page-hero-copy {
  max-width: 820px;
}

.packs-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: var(--shell);
  margin: 0 auto 24px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.packs-search input,
.packs-sort select {
  width: 100%;
  min-height: 42px;
  padding: 0 13px;
  color: var(--ink);
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.packs-filters {
  display: flex;
  gap: 6px;
}

.packs-pill {
  min-height: 40px;
  padding: 0 13px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 700;
}

.packs-pill.is-active {
  color: #fff;
  background: var(--ink);
}

.packs-sort {
  display: grid;
  grid-template-columns: auto 140px;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.packs-collection {
  width: var(--shell);
  margin: 0 auto;
  padding-bottom: clamp(78px, 10vw, 140px);
}

.packs-count {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.pack-card {
  overflow: hidden;
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, border-color 180ms ease;
}

.pack-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-5px);
}

.pack-card-cover {
  display: block;
  overflow: hidden;
  background: #202328;
  border-bottom: 1px solid var(--line);
}

.pack-card-cover img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  transition: transform 400ms ease;
}

.pack-card:hover .pack-card-cover img {
  transform: scale(1.025);
}

.pack-card-body {
  display: flex;
  height: 100%;
  padding: 25px;
  flex-direction: column;
}

.pack-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.pack-badge {
  padding: 5px 8px;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 7px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pack-badge-trust {
  color: var(--green);
  background: color-mix(in srgb, var(--green) 12%, transparent);
}

.pack-card-title {
  font-size: 1.55rem;
}

.pack-card-desc {
  color: var(--muted);
  font-size: 0.91rem;
}

.pack-card-meta {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.75rem;
}

.pack-card-meta span + span::before {
  margin-right: 8px;
  content: "·";
}

.pack-card-details {
  margin: 18px 0;
  padding: 14px 0;
  border-block: 1px solid var(--line);
}

.pack-card-details summary {
  cursor: pointer;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.pack-card-details ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.pack-card-actions {
  margin: 0;
}

.pack-card-download {
  width: 100%;
}

.packs-empty {
  padding: 50px;
  text-align: center;
  color: var(--muted);
  background: var(--panel);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.install-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  align-items: center;
  gap: clamp(34px, 6vw, 74px);
}

.install-steps {
  display: grid;
  gap: 13px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: install;
}

.install-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 13px;
  color: var(--muted);
  counter-increment: install;
}

.install-steps li::before {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  content: counter(install);
  color: #fff;
  background: var(--accent);
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 850;
}

/* Get Myth Engine */
.get-hero .page-hero-card {
  transform: none;
}

.playtest-hero {
  position: relative;
  isolation: isolate;
}

.playtest-hero .page-hero-grid {
  grid-template-columns: minmax(560px, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(48px, 5vw, 72px);
}

.playtest-hero .page-hero-copy h1 {
  margin-bottom: 28px;
  font-size: clamp(3.1rem, 3.8vw, 3.65rem);
  line-height: 0.98;
}

.playtest-hero .page-hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.playtest-hero .page-hero-copy .lede {
  max-width: 600px;
}

.playtest-hero .button-row {
  max-width: 600px;
  justify-content: center;
}

.playtest-preview {
  display: grid;
  place-items: center;
  transform: none;
}

.playtest-wrench-figure {
  display: grid;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin: 0;
  place-items: center;
}

.playtest-logo-wrench {
  position: static;
  display: grid;
  width: clamp(210px, 21vw, 285px);
  aspect-ratio: 1;
  place-items: center;
  color: #fff;
  background: var(--accent);
  border: 0;
  border-radius: clamp(48px, 5.25vw, 68px);
  box-shadow: none;
  font-family: "Segoe UI Symbol", "Arial Unicode MS", sans-serif;
  font-size: clamp(8.1rem, 13.75vw, 11.25rem);
  line-height: 1;
  transform: none;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

#community .section-heading {
  max-width: 1000px;
}

.community-card {
  display: flex;
  min-height: 380px;
  padding: clamp(32px, 5vw, 52px);
  flex-direction: column;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.community-label {
  margin-bottom: 40px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.community-card h3 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.community-card > p:not(.community-label),
.community-description {
  max-width: 540px;
  margin-bottom: 32px;
  color: var(--muted);
}

.community-description p {
  margin-bottom: 0;
}

.community-description p + p {
  margin-top: 18px;
}

.community-card > .button,
.community-actions {
  margin-top: auto;
}

.community-card > .button {
  align-self: center;
}

.community-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.community-actions .button {
  align-self: flex-start;
}

.license-terms-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.license-terms-section .section-shell {
  padding-block: clamp(70px, 8vw, 112px);
}

.license-terms-section .section-heading {
  margin-bottom: clamp(32px, 5vw, 52px);
}

.license-terms-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.license-term-card {
  padding: clamp(30px, 4vw, 46px);
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.license-term-label {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.license-term-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 2.5vw, 2.15rem);
}

.license-term-list {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.license-term-list li {
  position: relative;
  padding-left: 25px;
  color: var(--muted);
  line-height: 1.68;
}

.license-term-list li::before {
  position: absolute;
  top: 0.58em;
  left: 2px;
  width: 9px;
  height: 9px;
  content: "";
  background: var(--accent);
  border-radius: 2px;
  transform: rotate(45deg);
}

.license-term-list strong {
  color: var(--ink);
  font-weight: 820;
}

.license-agreement-action {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(24px, 4vw, 38px);
}

body.license-dialog-open {
  overflow: hidden;
}

.license-dialog {
  width: min(920px, calc(100vw - 32px));
  max-width: none;
  max-height: min(88svh, 920px);
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(10, 12, 16, 0.34);
}

.license-dialog::backdrop {
  background: rgba(10, 12, 16, 0.68);
  backdrop-filter: blur(5px);
}

.license-dialog-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  max-height: min(88svh, 920px);
  padding-bottom: 10px;
}

.license-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(22px, 4vw, 34px);
  background: var(--panel-solid);
  border-bottom: 1px solid var(--line);
}

.license-dialog-header p,
.license-dialog-header h2,
.license-dialog-meta {
  margin: 0;
}

.license-dialog-header p {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.license-dialog-header h2 {
  margin-top: 3px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
}

.license-dialog-meta {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.78rem;
}

.license-dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  color: var(--ink);
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
  font: inherit;
}

.license-dialog-close:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

.license-dialog-close-icon {
  position: relative;
  display: block;
  width: 16px;
  height: 16px;
}

.license-dialog-close-icon::before,
.license-dialog-close-icon::after {
  position: absolute;
  top: 7px;
  left: 1px;
  width: 14px;
  height: 2px;
  content: "";
  background: currentColor;
  border-radius: 999px;
}

.license-dialog-close-icon::before {
  transform: rotate(45deg);
}

.license-dialog-close-icon::after {
  transform: rotate(-45deg);
}

.license-dialog-content {
  min-height: 0;
  margin: 10px 10px 0;
  padding: clamp(22px, 4vw, 38px) clamp(18px, 3.5vw, 34px);
  overflow: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: rgba(102, 106, 114, 0.56) transparent;
  scrollbar-width: thin;
  border-radius: 14px;
}

.license-dialog-content::-webkit-scrollbar {
  width: 10px;
}

.license-dialog-content::-webkit-scrollbar-track {
  margin-block: 8px;
  background: transparent;
}

.license-dialog-content::-webkit-scrollbar-thumb {
  background: rgba(102, 106, 114, 0.56);
  background-clip: padding-box;
  border: 2px solid transparent;
  border-radius: 999px;
}

.license-dialog-content::-webkit-scrollbar-thumb:hover {
  background: rgba(74, 78, 86, 0.72);
  background-clip: padding-box;
}

.license-dialog-content::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.license-dialog-copy {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: var(--ink);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.72;
}

.license-dialog-error {
  margin: 0;
  padding: 18px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  border-radius: var(--radius-sm);
}

.license-dialog-error a {
  font-weight: 800;
}

.social-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

[data-discord-link] .social-icon {
  width: 27px;
  height: 20px;
}

.pricing-section {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
}

.price-card {
  display: flex;
  min-height: 520px;
  padding: clamp(30px, 4vw, 48px);
  flex-direction: column;
  background: var(--panel-solid);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.price-card.featured {
  color: #f7f7f4;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 74, 74, 0.42), transparent 19rem),
    #1f2228;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.price-label {
  margin-bottom: 38px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card h2 {
  margin-bottom: 8px;
  font-size: clamp(2.25rem, 4vw, 3.55rem);
  text-wrap: balance;
}

.price-card.featured h2 {
  color: #fff;
}

.price-note {
  color: var(--muted);
}

.price-card.featured .price-note,
.price-card.featured .check-list li {
  color: #b9bec8;
}

.price-card .check-list {
  margin-bottom: 34px;
}

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.purchase-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  text-align: center;
}

.price-card.featured .purchase-note {
  color: #9ea4af;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 42px;
  padding: 0;
  list-style: none;
}

.fact-card {
  padding: 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.fact-card strong,
.fact-card span {
  display: block;
}

.fact-card strong {
  margin-bottom: 6px;
}

.fact-card span {
  color: var(--muted);
  font-size: 0.82rem;
}

.license-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 92px);
  align-items: start;
}

.license-points {
  display: grid;
  gap: 12px;
}

.license-point {
  padding: 23px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.license-point h3 {
  font-size: 1.08rem;
}

.license-point p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.requirements-table {
  width: 100%;
  margin-top: 28px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.requirements-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 17px 22px;
  border-bottom: 1px solid var(--line);
}

.requirements-row:last-child {
  border-bottom: 0;
}

.requirements-row dt {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
}

.requirements-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.faq-list {
  max-width: 900px;
  margin: 40px auto 0;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  padding: 24px 38px 24px 0;
  cursor: pointer;
  font-weight: 760;
  list-style: none;
}

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

.faq-list summary::after {
  float: right;
  content: "+";
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
}

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

.faq-list details p {
  max-width: 760px;
  padding: 0 0 25px;
  margin: 0;
  color: var(--muted);
}

/* Notices */
.notice {
  position: fixed;
  z-index: 200;
  right: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 14px 17px;
  color: #fff;
  background: #22262c;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.notice.is-error {
  background: #8d2f20;
}

.notice.is-success {
  background: #186247;
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 36px, 960px);
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    padding-inline: 18px;
  }

  .nav-toggle {
    display: inline-grid;
    justify-self: end;
    margin-right: 10px;
  }

  .site-nav {
    position: fixed;
    z-index: 120;
    top: 85px;
    right: 18px;
    left: 18px;
    display: none;
    padding: 14px;
    align-items: stretch;
    flex-direction: column;
    background: var(--panel-solid);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 14px;
  }

  .site-nav .nav-socials {
    margin-left: 0;
    padding: 4px 12px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
    gap: clamp(32px, 5vw, 52px);
  }

  .page-hero-grid {
    grid-template-columns: 1fr;
  }

  .playtest-hero .page-hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy,
  .page-hero-copy {
    max-width: 800px;
  }

  .page-hero-card {
    max-width: 900px;
  }

  .packs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reference-grid,
  .facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 780px) {
  :root {
    --shell: calc(100% - 28px);
    --radius: 17px;
    --radius-lg: 22px;
  }

  .site-header {
    min-height: 72px;
  }

  .site-nav {
    top: 73px;
  }

  .header-cta {
    display: none;
  }

  .site-header {
    grid-template-columns: auto 1fr;
  }

  .brand-mark,
  .brand-mark img {
    width: 48px;
    height: 48px;
  }

  h1 {
    font-size: clamp(3.15rem, 16vw, 5.2rem);
  }

  .hero-copy h1 span {
    white-space: normal;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "emblem"
      "copy";
    gap: 22px;
  }

  .hero-emblem {
    width: clamp(112px, 30vw, 148px);
    justify-self: start;
  }

  .docs-coming-soon {
    min-height: calc(100svh - 72px);
    background-position: 54% center;
  }

  .docs-coming-soon-shell {
    grid-template-columns: 1fr;
    grid-template-areas:
      "emblem"
      "copy";
    gap: 22px;
    padding-block: 56px 64px;
    text-align: left;
  }

  .coming-soon-emblem {
    width: clamp(112px, 30vw, 148px);
    justify-self: start;
  }

  .coming-soon-copy {
    max-width: 640px;
    margin-inline: 0;
  }

  .coming-soon-copy h1 {
    font-size: clamp(3.15rem, 16vw, 5.2rem);
    white-space: normal;
  }

  .coming-soon-lede {
    margin-inline: 0;
  }

  .docs-coming-soon .button-row {
    justify-content: flex-start;
  }

  .home-hero,
  .page-hero {
    padding-top: 54px;
  }

  .playtest-hero .page-hero-copy h1 span {
    white-space: normal;
  }

  .home-hero {
    min-height: 600px;
    padding-bottom: 54px;
    background-position: 54% center;
  }

  .home-hero::before {
    background:
      linear-gradient(90deg, rgba(5, 8, 14, 0.5), rgba(5, 8, 14, 0.24)),
      linear-gradient(180deg, rgba(5, 8, 14, 0.04), rgba(5, 8, 14, 0.24));
  }

  .install-band,
  .pricing-grid,
  .license-grid,
  .license-terms-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .feature-showcase {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .feature-showcase .feature-copy {
    align-items: center;
    text-align: center;
  }

  .packs-grid,
  .steps-grid,
  .editor-map {
    grid-template-columns: 1fr;
  }

  .editor-map article:first-child {
    grid-column: auto;
  }

  .docs-layout {
    grid-template-columns: 1fr;
  }

  .docs-nav {
    position: static;
    grid-template-columns: repeat(2, 1fr);
    padding: 14px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .docs-nav strong {
    grid-column: 1 / -1;
  }

  .docs-nav a {
    border-left: 0;
  }

  .packs-toolbar {
    grid-template-columns: 1fr;
  }

  .packs-sort {
    grid-template-columns: auto 1fr;
  }

  .price-card {
    min-height: 0;
  }

  .license-dialog,
  .license-dialog-shell {
    max-height: calc(100svh - 16px);
  }

  .license-dialog {
    width: calc(100vw - 16px);
    border-radius: 18px;
  }

  .license-dialog-header {
    gap: 14px;
    padding: 18px 20px;
  }

  .license-dialog-content {
    padding: 22px 20px 28px;
  }

}

@media (max-width: 520px) {
  .brand-copy {
    display: none;
  }

  .reference-grid,
  .facts-grid {
    grid-template-columns: 1fr;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .docs-callout {
    grid-template-columns: 1fr;
  }

  .requirements-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

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

  .reveal-enabled .scroll-reveal {
    opacity: 1;
    transform: none;
  }

  .feature-image-trigger:hover img {
    transform: none;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* DOCUMENTATION_BUNDLE_START */

.documentation-page {
  display: grid;
  height: 100svh;
  overflow: hidden;
  grid-template-rows: auto minmax(0, 1fr);
  color: var(--ink);
  background: var(--bg);
}

.documentation-page .site-header {
  color: var(--ink);
  background: var(--header);
  border-bottom-color: transparent;
}

.documentation-page .site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
}

.documentation-page .brand,
.documentation-page .site-nav a:not(.nav-social):hover {
  color: var(--ink);
}

.documentation-page .site-nav a {
  color: var(--muted);
}

.documentation-page .site-nav a:not(.nav-social):hover {
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 74, 74, 0.3);
}

.documentation-page .site-nav a.is-active,
.documentation-page .site-nav a.is-active:hover {
  color: #fff;
  background: var(--accent);
}

.documentation-page .site-nav a.is-active:hover {
  background: var(--accent-dark);
}

.documentation-page .nav-toggle {
  background: var(--panel);
  border-color: var(--line);
}

.documentation-page .nav-toggle > span:not(.sr-only) {
  background: var(--ink);
}

.documentation-page main {
  min-height: 0;
  overflow: hidden;
}

.documentation-page .site-footer {
  display: none;
}

.documentation-coming-soon main {
  overflow: auto;
}

.documentation-coming-soon .docs-coming-soon {
  position: relative;
  display: grid;
  min-height: 100%;
  padding: clamp(56px, 9vw, 112px) var(--page-pad);
  overflow: hidden;
  place-items: center;
  color: var(--ink);
  text-align: center;
  background: var(--bg);
}

.documentation-coming-soon .docs-coming-soon::before,
.documentation-coming-soon .docs-coming-soon::after {
  content: none;
}

.docs-coming-soon-inner {
  display: grid;
  width: min(100%, 720px);
  justify-items: center;
}

.docs-coming-soon-mark {
  display: block;
  width: clamp(112px, 14vw, 144px);
  height: auto;
  margin-bottom: 28px;
}

.docs-coming-soon-eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.docs-coming-soon h1 {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.docs-coming-soon-copy {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.documentation-coming-soon .documentation-app[hidden] {
  display: none !important;
}

.documentation-app {
  --docs-toolbar-height: 51px;
  --docs-bg: #f3f1ec;
  --docs-surface: #fbfaf7;
  --docs-surface-2: #ffffff;
  --docs-code: #17181b;
  --docs-line: rgba(23, 25, 29, 0.13);
  --docs-line-strong: rgba(23, 25, 29, 0.24);
  --docs-text: #17191d;
  --docs-text-2: #17191d;
  --docs-text-3: #17191d;
  --docs-accent: #ff4a4a;
  --docs-accent-text: #c93434;
  --docs-accent-press: #d93636;
  --docs-accent-soft: rgba(255, 74, 74, 0.11);
  --docs-secondary: #426fe8;
  --docs-secondary-text: #3158bd;
  --docs-secondary-soft: rgba(66, 111, 232, 0.1);
  --docs-ok: #1f8b66;
  --docs-ok-2: #176b4f;
  --docs-warn: #a8630f;
  --docs-danger: #d93636;
  position: relative;
  display: grid;
  grid-template-columns: minmax(250px, 292px) minmax(0, 1fr);
  grid-template-rows: var(--docs-toolbar-height) minmax(0, 1fr);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: var(--docs-text);
  background: var(--docs-bg);
  font-size: 15px;
  line-height: 1.65;
  letter-spacing: -0.008em;
}

.documentation-app.has-docs-outline {
  grid-template-columns: minmax(250px, 292px) minmax(0, 1fr) minmax(180px, 216px);
}

.documentation-app ::selection {
  color: #fff;
  background: var(--docs-accent);
}

.documentation-app :focus-visible {
  outline: 2px solid var(--docs-accent);
  outline-offset: 2px;
}

.docs-sidebar {
  z-index: 12;
  display: flex;
  min-width: 0;
  min-height: 0;
  grid-column: 1;
  grid-row: 2;
  flex-direction: column;
  background: rgba(251, 250, 247, 0.97);
  border-right: 1px solid var(--docs-line);
}

.docs-nav-head {
  flex: 0 0 auto;
  padding: 20px 18px 16px;
  border-bottom: 1px solid var(--docs-line);
}

.docs-nav-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.docs-nav-title {
  margin: 0;
  color: var(--docs-text);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.docs-nav-subtitle {
  margin: 4px 0 0;
  color: var(--docs-text-3);
  font-size: 0.78rem;
  line-height: 1.45;
}

.docs-nav-close {
  display: none;
  width: 34px;
  height: 34px;
  padding: 0;
  cursor: pointer;
  color: var(--docs-text-2);
  background: transparent;
  border: 1px solid var(--docs-line);
  border-radius: 8px;
  font-size: 1.25rem;
  line-height: 1;
}

.docs-search {
  display: block;
  margin-top: 15px;
}

.docs-search input {
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  color: var(--docs-text);
  caret-color: var(--docs-accent);
  background: var(--docs-surface-2);
  border: 1px solid var(--docs-line);
  border-radius: 9px;
  outline: 0;
  font-size: 0.84rem;
  transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.docs-search input::placeholder {
  color: var(--docs-text-3);
}

.docs-search input:hover {
  border-color: var(--docs-line-strong);
}

.docs-search input:focus {
  background: var(--docs-surface-2);
  border-color: var(--docs-accent);
  box-shadow: 0 0 0 3px rgba(255, 74, 74, 0.14);
}

.docs-navigation {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 10px 9px 28px;
  scrollbar-color: rgba(23, 25, 29, 0.2) transparent;
  scrollbar-width: thin;
}

.docs-static-navigation {
  display: grid;
  gap: 3px;
}

.docs-static-navigation-title,
.docs-section-eyebrow {
  margin: 0;
  color: var(--docs-accent-text);
  font-size: 0.68rem;
  font-weight: 760;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.docs-static-navigation-title {
  padding: 10px 11px 7px;
}

.docs-nav-group + .docs-nav-group {
  margin-top: 8px;
}

.docs-nav-group-toggle,
.docs-nav-branch-toggle {
  display: flex;
  padding: 0;
  cursor: pointer;
  color: inherit;
  background: transparent;
  border: 0;
}

.docs-nav-group-toggle {
  width: 100%;
  min-height: 36px;
  padding: 7px 8px;
  align-items: center;
  justify-content: space-between;
  border-radius: 7px;
  color: var(--docs-text-2);
  font-size: 0.8rem;
  font-weight: 680;
}

.docs-nav-group-toggle:hover {
  color: var(--docs-text);
  background: rgba(23, 25, 29, 0.045);
}

.docs-nav-group-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.docs-disclosure-icon {
  display: inline-grid;
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--docs-text-3);
  font-size: 0.78rem;
  font-weight: 600;
}

.docs-nav-count {
  display: inline-grid;
  min-width: 24px;
  height: 20px;
  padding: 0 6px;
  place-items: center;
  color: var(--docs-text-3);
  background: var(--docs-surface-2);
  border: 1px solid var(--docs-line);
  border-radius: 999px;
  font-size: 0.68rem;
  font-variant-numeric: tabular-nums;
}

.docs-nav-group-pages {
  padding: 2px 0 5px 8px;
}

.docs-nav-group-pages > .docs-nav-root-link {
  margin-left: 26px;
}

.docs-nav-branch-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: start;
}

.docs-nav-branch-toggle {
  width: 26px;
  height: 35px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.docs-nav-branch-toggle:hover {
  background: rgba(23, 25, 29, 0.05);
}

.docs-nav-link {
  display: flex;
  min-width: 0;
  min-height: 35px;
  padding: 7px 9px;
  flex-direction: column;
  justify-content: center;
  color: var(--docs-text-2);
  border: 1px solid transparent;
  border-radius: 7px;
  text-decoration: none;
  transition: color 120ms ease, background 120ms ease, border-color 120ms ease;
}

.docs-nav-link:hover {
  color: var(--docs-text);
  background: rgba(23, 25, 29, 0.05);
}

.docs-nav-link.is-active {
  color: var(--docs-accent-text);
  background: var(--docs-accent-soft);
  border-color: rgba(255, 74, 74, 0.32);
}

.docs-nav-link.contains-active {
  color: var(--docs-accent-text);
}

.docs-nav-root-link .docs-nav-link-title {
  font-weight: 620;
}

.docs-nav-link-title {
  overflow: hidden;
  font-size: 0.8rem;
  font-weight: 520;
  line-height: 1.35;
  text-overflow: ellipsis;
}

.docs-nav-link-summary {
  display: -webkit-box;
  margin-top: 3px;
  overflow: hidden;
  color: var(--docs-text-3);
  font-size: 0.71rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.docs-nav-children {
  margin-left: 26px;
  padding: 3px 0 6px 12px;
  border-left: 1px solid var(--docs-line-strong);
}

.docs-nav-child-link {
  min-height: 31px;
  padding-block: 5px;
}

.docs-nav-child-link .docs-nav-link-title {
  font-size: 0.76rem;
}

.docs-nav-empty {
  display: grid;
  gap: 4px;
  margin: 14px 8px;
  padding: 16px;
  color: var(--docs-text-3);
  background: var(--docs-surface-2);
  border: 1px solid var(--docs-line);
  border-radius: 10px;
  font-size: 0.78rem;
}

.docs-nav-empty strong {
  color: var(--docs-text-2);
}

.docs-content {
  display: grid;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  grid-column: 2;
  grid-row: 2;
  grid-template-rows: minmax(0, 1fr);
}

.docs-toolbar {
  position: relative;
  z-index: 4;
  display: flex;
  min-height: var(--docs-toolbar-height);
  padding: 8px 22px;
  align-items: center;
  grid-column: 1 / -1;
  grid-row: 1;
  color: var(--docs-text-3);
  background: rgba(243, 241, 236, 0.86);
  border-bottom: 1px solid var(--docs-line);
  backdrop-filter: blur(12px);
}

.docs-mobile-nav {
  min-height: 32px;
  padding: 5px 10px;
  cursor: pointer;
  color: var(--docs-text-2);
  background: var(--docs-surface);
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 620;
  transition: color 120ms ease, border-color 120ms ease, background 120ms ease;
}

.docs-mobile-nav:hover {
  color: var(--docs-text);
  background: var(--docs-surface-2);
  border-color: var(--docs-line-strong);
}

.docs-mobile-nav {
  display: none;
}

.docs-breadcrumb {
  position: absolute;
  left: 50%;
  width: min(720px, calc(100% - 48px));
  min-width: 0;
  overflow: hidden;
  transform: translateX(-50%);
  font-size: 0.75rem;
  line-height: 1.25;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-scroll {
  min-width: 0;
  min-height: 0;
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-color: rgba(23, 25, 29, 0.2) transparent;
  scrollbar-width: thin;
}

.docs-article {
  width: min(100%, 920px);
  padding: clamp(38px, 5vw, 64px) clamp(26px, 5vw, 66px) 96px;
  margin: 0 auto;
  outline: 0;
}

.documentation-app .docs-article:focus-visible {
  outline: 0;
}

.docs-article :where(h1, h2, h3, h4, p, li, th, td, figcaption) {
  -webkit-user-select: text;
  user-select: text;
}

.docs-article-header {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--docs-line);
}

.docs-page-kind {
  color: var(--docs-accent-text);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.docs-article h1 {
  max-width: 22ch;
  margin: 7px 0 0;
  color: var(--docs-text);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 720;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.docs-tags {
  display: flex;
  margin-top: 17px;
  flex-wrap: wrap;
  gap: 7px;
}

.docs-tag {
  min-height: 27px;
  padding: 3px 9px;
  cursor: pointer;
  color: var(--docs-accent-text);
  background: var(--docs-accent-soft);
  border: 1px solid rgba(255, 74, 74, 0.24);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
}

.docs-tag:hover {
  color: var(--docs-accent-press);
  border-color: rgba(255, 74, 74, 0.48);
}

.docs-lead {
  max-width: 74ch;
  margin: 0 0 24px;
  color: var(--docs-text);
  font-size: 1.05rem;
  line-height: 1.7;
}

.docs-paragraph,
.docs-list {
  max-width: 76ch;
  color: var(--docs-text-2);
}

.docs-paragraph {
  margin: 0 0 19px;
}

.docs-list {
  margin: 0 0 24px;
  padding-left: 22px;
}

.docs-list li {
  padding-left: 3px;
  margin: 7px 0;
}

.docs-list li::marker {
  color: var(--docs-accent-text);
}

.docs-section-title {
  max-width: 28ch;
  margin: 40px 0 14px;
  scroll-margin-top: 22px;
  color: var(--docs-text);
  font-size: 1.12rem;
  font-weight: 680;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.docs-static-section {
  scroll-margin-top: 76px;
}

.docs-static-section .docs-section-eyebrow + .docs-section-title {
  margin-top: 7px;
}

.docs-steps {
  max-width: 78ch;
  padding: 0;
  margin: 4px 0 28px;
  list-style: none;
  counter-reset: docs-step;
}

.docs-step {
  position: relative;
  display: grid;
  min-height: 70px;
  padding: 12px 0 18px 50px;
  counter-increment: docs-step;
}

.docs-step:not(:last-child)::after {
  position: absolute;
  top: 48px;
  bottom: -4px;
  left: 16px;
  width: 1px;
  content: "";
  background: var(--docs-line-strong);
}

.docs-step::before {
  position: absolute;
  z-index: 1;
  top: 11px;
  left: 0;
  display: grid;
  width: 33px;
  height: 33px;
  content: counter(docs-step);
  place-items: center;
  color: #fff;
  background: var(--docs-accent);
  border: 4px solid var(--docs-bg);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 74, 74, 0.3);
  font-size: 0.76rem;
  font-weight: 720;
}

.docs-step-title {
  margin: 0;
  color: var(--docs-text);
  font-size: 0.94rem;
  font-weight: 660;
  letter-spacing: -0.01em;
  line-height: 1.45;
}

.docs-step-text {
  margin: 5px 0 0;
  color: var(--docs-text-2);
  line-height: 1.68;
}

.docs-callout {
  max-width: 78ch;
  padding: 15px 17px;
  margin: 24px 0;
  color: var(--docs-text-2);
  background: var(--docs-surface);
  border: 1px solid var(--docs-line);
  border-left: 3px solid var(--docs-accent);
  border-radius: 9px;
}

.docs-callout-title {
  margin: 0 0 5px;
  color: var(--docs-accent-text);
  font-size: 0.84rem;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.4;
}

.docs-callout p {
  margin: 0;
}

.docs-callout-tip {
  background: rgba(31, 139, 102, 0.07);
  border-left-color: var(--docs-ok);
}

.docs-callout-tip .docs-callout-title {
  color: var(--docs-ok-2);
}

.docs-callout-warn,
.docs-callout-warning {
  background: rgba(168, 99, 15, 0.07);
  border-left-color: var(--docs-warn);
}

.docs-callout-warn .docs-callout-title,
.docs-callout-warning .docs-callout-title {
  color: var(--docs-warn);
}

.docs-callout-danger {
  background: rgba(217, 54, 54, 0.07);
  border-left-color: var(--docs-danger);
}

.docs-callout-danger .docs-callout-title {
  color: var(--docs-danger);
}

.docs-table-wrap {
  max-width: 820px;
  margin: 15px 0 28px;
  overflow-x: auto;
  background: var(--docs-surface);
  border: 1px solid var(--docs-line);
  border-radius: 10px;
}

.docs-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--docs-text-2);
  font-size: 0.87rem;
}

.docs-table th,
.docs-table td {
  min-width: 130px;
  padding: 11px 13px;
  border-top: 1px solid var(--docs-line);
  border-left: 1px solid var(--docs-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.docs-table tr > :first-child {
  border-left: 0;
  color: var(--docs-text);
  font-weight: 630;
}

.docs-table thead th {
  border-top: 0;
  color: var(--docs-text);
  background: var(--docs-surface-2);
  font-weight: 660;
}

.docs-table tbody tr:nth-child(even) {
  background: rgba(23, 25, 29, 0.025);
}

.docs-figure {
  max-width: 820px;
  margin: 22px 0 30px;
  overflow: hidden;
  background: var(--docs-surface);
  border: 1px solid var(--docs-line);
  border-radius: 11px;
}

.docs-figure-image {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  background: var(--docs-code);
}

.docs-figure figcaption {
  padding: 11px 13px;
  color: var(--docs-text-3);
  border-top: 1px solid var(--docs-line);
  font-size: 0.76rem;
  line-height: 1.5;
}

.docs-card-grid {
  display: grid;
  max-width: 820px;
  margin: 23px 0 30px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.docs-card {
  display: flex;
  min-height: 156px;
  padding: 18px;
  flex-direction: column;
  color: inherit;
  background: var(--docs-surface);
  border: 1px solid var(--docs-line);
  border-radius: 11px;
  text-decoration: none;
  transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}

a.docs-card:hover {
  color: inherit;
  background: var(--docs-surface-2);
  border-color: var(--docs-line-strong);
  transform: translateY(-2px);
}

.docs-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.docs-card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--docs-accent-text);
  background: var(--docs-accent-soft);
  border: 1px solid rgba(255, 74, 74, 0.24);
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 800;
}

.docs-card-arrow {
  color: var(--docs-text-3);
  font-size: 1rem;
}

.docs-card h3 {
  margin: 17px 0 5px;
  color: var(--docs-text);
  font-size: 0.93rem;
  font-weight: 660;
  line-height: 1.35;
}

.docs-card p {
  margin: 0;
  color: var(--docs-text-3);
  font-size: 0.78rem;
  line-height: 1.55;
}

.docs-sequence {
  max-width: 820px;
  margin-bottom: 28px;
}

.docs-sequence-items {
  display: flex;
  min-width: 0;
  align-items: stretch;
  gap: 8px;
}

.docs-sequence-item {
  display: grid;
  min-width: 0;
  padding: 12px;
  flex: 1 1 0;
  align-content: start;
  gap: 8px;
  background: var(--docs-surface);
  border: 1px solid var(--docs-line);
  border-radius: 9px;
}

.docs-sequence-label {
  justify-self: start;
  padding: 2px 7px;
  color: var(--docs-accent-text);
  background: var(--docs-accent-soft);
  border-radius: 999px;
  font-size: 0.67rem;
  font-weight: 680;
}

.docs-sequence-text {
  color: var(--docs-text-2);
  font-size: 0.78rem;
  line-height: 1.5;
}

.docs-sequence-arrow {
  display: grid;
  place-items: center;
  color: var(--docs-accent);
}

.docs-shortcuts {
  max-width: 580px;
  margin: 14px 0 27px;
  overflow: hidden;
  background: var(--docs-surface);
  border: 1px solid var(--docs-line);
  border-radius: 9px;
}

.docs-shortcut-row {
  display: grid;
  min-height: 43px;
  padding: 8px 12px;
  grid-template-columns: minmax(110px, auto) minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  color: var(--docs-text-2);
  border-top: 1px solid var(--docs-line);
  font-size: 0.83rem;
}

.docs-shortcut-row:first-child {
  border-top: 0;
}

.docs-keycap {
  width: max-content;
  max-width: 170px;
  padding: 3px 8px;
  overflow: hidden;
  color: #fff;
  background: var(--docs-code);
  border: 1px solid var(--docs-line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.72rem;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.docs-inline-note,
.docs-action-note {
  color: var(--docs-text-3);
  font-size: 0.76rem;
}

.docs-action-row {
  display: flex;
  margin: 20px 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
}

.docs-action-button {
  min-height: 38px;
  padding: 8px 14px;
  cursor: pointer;
  color: #fff;
  background: var(--docs-accent);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 650;
}

.docs-action-button:hover {
  background: var(--docs-accent-press);
}

.docs-reference-section {
  max-width: 820px;
  margin: 26px 0;
}

.docs-reference-title {
  margin: 0 0 11px;
  color: var(--docs-accent-text);
  font-size: 0.86rem;
  font-weight: 680;
}

.docs-reference-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.docs-reference-item {
  min-width: 0;
  padding: 13px;
  color: var(--docs-text-2);
  background: var(--docs-surface);
  border: 1px solid var(--docs-line);
  border-radius: 9px;
  font-size: 0.8rem;
}

.docs-reference-item h4 {
  margin: 0;
  color: var(--docs-text);
  font-size: 0.84rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.docs-reference-item p {
  margin: 8px 0 0;
}

.docs-reference-meta {
  margin-top: 4px;
  color: var(--docs-secondary-text);
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.7rem;
  overflow-wrap: anywhere;
}

.docs-reference-example {
  color: var(--docs-warn);
}

.docs-reference-details {
  padding-left: 18px;
  margin: 9px 0 0;
  color: var(--docs-text-3);
}

.docs-code-wrap {
  position: relative;
  margin-top: 9px;
}

.docs-code {
  padding: 10px 76px 10px 11px;
  margin: 0;
  overflow-wrap: anywhere;
  color: #f3f6ff;
  background: var(--docs-code);
  border: 1px solid var(--docs-line);
  border-radius: 7px;
  font-family: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.71rem;
  line-height: 1.55;
  white-space: pre-wrap;
}

.docs-code-copy {
  position: absolute;
  top: 7px;
  right: 7px;
  min-height: 27px;
  padding: 3px 8px;
  cursor: pointer;
  color: var(--docs-text-3);
  background: var(--docs-surface-2);
  border: 1px solid var(--docs-line);
  border-radius: 6px;
  font-size: 0.68rem;
}

.docs-code-copy:hover {
  color: var(--docs-text);
  border-color: var(--docs-line-strong);
}

.docs-load-failure {
  padding: 26px;
  color: var(--docs-text-2);
  background: var(--docs-surface);
  border: 1px solid var(--docs-line);
  border-radius: 12px;
}

.docs-load-failure h1 {
  margin: 0 0 8px;
  color: var(--docs-text);
}

.docs-outline {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  grid-column: 3;
  grid-row: 2;
  background: rgba(251, 250, 247, 0.82);
  border-left: 1px solid var(--docs-line);
}

.docs-outline-head {
  padding: 20px 15px 12px;
  color: var(--docs-text-3);
  font-size: 0.69rem;
  font-weight: 720;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.docs-outline-list {
  display: flex;
  max-height: calc(100% - 52px);
  padding: 0 9px 20px;
  overflow: auto;
  flex-direction: column;
  gap: 2px;
  scrollbar-width: thin;
}

.docs-outline-link {
  padding: 7px 9px;
  cursor: pointer;
  overflow: hidden;
  color: var(--docs-text-3);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.73rem;
  line-height: 1.35;
  text-align: left;
  text-overflow: ellipsis;
}

.docs-outline-link:hover {
  color: var(--docs-text-2);
  background: rgba(23, 25, 29, 0.045);
}

.docs-outline-link.is-active {
  color: var(--docs-accent-text);
  background: var(--docs-accent-soft);
  border-color: rgba(255, 74, 74, 0.28);
}

.docs-nav-scrim {
  display: none;
}

@media (max-width: 1180px) {
  .documentation-app.has-docs-outline {
    grid-template-columns: minmax(240px, 282px) minmax(0, 1fr);
  }

  .docs-outline {
    display: none;
  }
}

@media (max-width: 820px) {
  .documentation-app,
  .documentation-app.has-docs-outline {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .docs-content {
    grid-column: 1;
  }

  .docs-sidebar {
    position: absolute;
    inset: var(--docs-toolbar-height) auto 0 0;
    width: min(88vw, 330px);
    border-right-color: var(--docs-line-strong);
    box-shadow: 24px 0 60px rgba(23, 25, 29, 0.22);
    transform: translateX(-105%);
    transition: transform 180ms cubic-bezier(0.2, 0.6, 0.2, 1);
  }

  .documentation-app.docs-navigation-open .docs-sidebar {
    transform: translateX(0);
  }

  .docs-nav-close,
  .docs-mobile-nav {
    display: inline-grid;
    place-items: center;
  }

  .docs-nav-scrim {
    position: absolute;
    z-index: 11;
    inset: var(--docs-toolbar-height) 0 0;
    display: block;
    padding: 0;
    cursor: pointer;
    visibility: hidden;
    background: rgba(23, 25, 29, 0.48);
    border: 0;
    opacity: 0;
    transition: opacity 180ms ease, visibility 180ms ease;
  }

  .documentation-app.docs-navigation-open .docs-nav-scrim {
    visibility: visible;
    opacity: 1;
  }

  .docs-toolbar {
    padding-inline: 14px;
  }

  .docs-breadcrumb {
    width: min(480px, calc(100% - 190px));
  }

  .docs-article {
    padding: 34px clamp(20px, 5vw, 34px) 76px;
  }
}

@media (max-width: 620px) {
  .docs-card-grid {
    grid-template-columns: 1fr;
  }

  .docs-card {
    min-height: 142px;
  }

  .docs-sequence-items {
    flex-direction: column;
  }

  .docs-sequence-arrow {
    transform: rotate(90deg);
  }

  .docs-shortcut-row {
    grid-template-columns: minmax(92px, auto) minmax(0, 1fr);
  }

  .docs-article h1 {
    font-size: clamp(1.8rem, 9vw, 2.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .docs-sidebar,
  .docs-nav-scrim,
  .docs-card,
  .docs-scroll {
    scroll-behavior: auto;
    transition: none;
  }
}

@media print {
  .documentation-page {
    display: block;
    height: auto;
    overflow: visible;
    color: #111;
    background: #fff;
  }

  .documentation-page main {
    overflow: visible;
  }

  .documentation-page .site-header,
  .documentation-page .site-footer,
  .docs-sidebar,
  .docs-toolbar,
  .docs-outline,
  .docs-nav-scrim {
    display: none !important;
  }

  .documentation-app,
  .documentation-app.has-docs-outline {
    display: block;
    height: auto;
    min-height: 0;
    overflow: visible;
    color: #111;
    background: #fff;
  }

  .docs-content,
  .docs-scroll {
    display: block;
    height: auto;
    overflow: visible;
  }

  .docs-article {
    width: auto;
    max-width: none;
    padding: 0;
  }

  .docs-article h1,
  .docs-step-title,
  .docs-card h3,
  .docs-table tr > :first-child,
  .docs-table thead th {
    color: #111;
  }

  .docs-lead,
  .docs-paragraph,
  .docs-list,
  .docs-step-text,
  .docs-callout,
  .docs-table,
  .docs-card p {
    color: #222;
  }

  .docs-card,
  .docs-callout,
  .docs-table-wrap,
  .docs-figure,
  .docs-shortcuts,
  .docs-reference-item {
    break-inside: avoid;
    background: #fff;
    border-color: #bbb;
  }
}

/* DOCUMENTATION_BUNDLE_END */
