:root {
  --ink-950: #07111f;
  --ink-900: #0b1728;
  --ink-800: #14243a;
  --ink-700: #263b54;
  --ink-500: #63758b;
  --paper: #f5f8fc;
  --surface: #ffffff;
  --line: #d9e3ef;
  --blue: #1878d1;
  --blue-strong: #075da8;
  --blue-soft: #e8f3fd;
  --amber: #f3a71a;
  --code: #ecf1f7;
  --table-heading-text: #0b1728;
  --table-heading-background: #eaf1f8;
  --table-cell-background: #ffffff;
  --table-cell-stripe: #f7faff;
  --content-width: 760px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-800);
  background: var(--paper);
  font-family: "Microsoft JhengHei", "Noto Sans TC", "PingFang TC", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 8px 14px;
  color: var(--ink-950);
  background: var(--amber);
  border-radius: 6px;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(18px, 3vw, 42px);
  color: #fff;
  background: var(--ink-900);
  border-bottom: 1px solid #21344c;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  color: #fff;
  text-decoration: none;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.brand-copy small {
  margin-top: 4px;
  color: #aebed1;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
}

.version-chip {
  padding: 3px 10px;
  color: #a9c9e8;
  border: 1px solid #38506c;
  border-radius: 999px;
  font: 600 0.76rem/1.6 ui-monospace, "Cascadia Mono", monospace;
}

.header-actions {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 10px;
}

.language-control {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #aebed1;
  font-size: 0.78rem;
  font-weight: 650;
}

.language-control select {
  min-width: 126px;
  padding: 8px 32px 8px 11px;
  color: #fff;
  background-color: #152a42;
  border: 1px solid #3b5d7e;
  border-radius: 7px;
  font: inherit;
  cursor: pointer;
}

.language-control select:hover {
  border-color: #66b8f2;
}

.language-control select:focus-visible {
  outline: 3px solid #f4b942;
  outline-offset: 2px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  color: #fff;
  background: #152a42;
  border: 1px solid #36516e;
  border-radius: 7px;
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
  content: "";
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

.guide-shell {
  display: grid;
  min-height: calc(100vh - 74px);
  grid-template-columns: 286px minmax(0, 1fr);
}

.guide-sidebar {
  position: sticky;
  top: 74px;
  height: calc(100vh - 74px);
  overflow-y: auto;
  padding: 34px 24px 28px;
  background: #edf3f9;
  border-right: 1px solid var(--line);
}

.nav-label {
  margin: 0 0 10px;
  color: var(--ink-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.chapter-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chapter-list a {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  padding: 8px 10px;
  color: var(--ink-700);
  border-radius: 7px;
  text-decoration: none;
  transition: color 120ms ease, background-color 120ms ease;
}

.chapter-list a span {
  color: #8292a5;
  font: 700 0.7rem/1 ui-monospace, "Cascadia Mono", monospace;
}

.chapter-list a:hover {
  color: var(--blue-strong);
  background: #fff;
}

.chapter-list a[aria-current="page"] {
  color: #fff;
  background: var(--blue-strong);
  box-shadow: 0 4px 12px rgba(7, 93, 168, 0.18);
}

.chapter-list a[aria-current="page"] span {
  color: #bde2ff;
}

.sidebar-note {
  margin-top: 30px;
  padding: 15px 16px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: 6px;
}

.sidebar-note strong {
  color: var(--ink-900);
  font-size: 0.85rem;
}

.sidebar-note p {
  margin: 5px 0 0;
  color: var(--ink-500);
  font-size: 0.8rem;
  line-height: 1.6;
}

.guide-content {
  width: 100%;
  min-width: 0;
  padding: 28px clamp(24px, 7vw, 96px) 54px;
}

.content-meta {
  display: flex;
  width: min(100%, var(--content-width));
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 28px;
  padding-bottom: 12px;
  color: var(--ink-500);
  border-bottom: 1px solid var(--line);
  font-size: 0.78rem;
}

.manual-article,
.page-footer {
  width: min(100%, var(--content-width));
  margin-inline: auto;
}

.manual-article h1,
.manual-article h2,
.manual-article h3 {
  color: var(--ink-900);
  line-height: 1.35;
  text-wrap: balance;
}

.manual-article h1 {
  position: relative;
  margin: 0 0 32px;
  padding-bottom: 19px;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.035em;
}

.manual-article h1::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 88px;
  height: 4px;
  background: var(--blue);
  border-radius: 99px;
  content: "";
}

.manual-article h2 {
  margin: 2.6em 0 0.75em;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
}

.manual-article h3 {
  margin: 2em 0 0.55em;
  color: var(--blue-strong);
  font-size: 1.08rem;
}

.manual-article p {
  margin: 0.85em 0;
}

.manual-article ul,
.manual-article ol {
  padding-left: 1.45em;
}

.manual-article li {
  margin: 0.45em 0;
  padding-left: 0.18em;
}

.manual-article li::marker {
  color: var(--blue);
  font-weight: 700;
}

.manual-article blockquote {
  margin: 1.5em 0;
  padding: 13px 18px;
  color: var(--ink-700);
  background: var(--blue-soft);
  border-left: 4px solid var(--blue);
  border-radius: 0 6px 6px 0;
}

.manual-article blockquote p {
  margin: 0;
}

.manual-article code {
  padding: 0.12em 0.35em;
  color: #164e78;
  background: var(--code);
  border: 1px solid #dce5ef;
  border-radius: 4px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.9em;
}

.manual-article pre {
  overflow-x: auto;
  padding: 17px 18px;
  color: #e7f3ff;
  background: var(--ink-900);
  border: 1px solid #263d58;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(7, 17, 31, 0.1);
}

.manual-article pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.manual-article hr {
  height: 1px;
  margin: 2.5em 0;
  background: var(--line);
  border: 0;
}

.manual-chapter {
  padding-top: 24px;
  padding-bottom: 70px;
  scroll-margin-top: 84px;
}

.manual-chapter + .manual-chapter {
  border-top: 1px solid var(--line);
}

.manual-chapter > h2:first-child {
  margin-top: 0;
}

.manual-article img {
  display: block;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.manual-figure {
  width: min(100%, 980px);
  margin: 1.8em 0 2.2em;
  padding: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(7, 17, 31, 0.08);
}

.manual-figure a {
  display: block;
  background: #0c1118;
  border-radius: 8px;
}

.manual-figure img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  margin: 0 auto;
  border: 0;
}

.image-preview-trigger {
  cursor: zoom-in;
}

.image-preview-trigger:focus-visible {
  border-radius: 8px;
  outline-offset: 4px;
}

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

.image-lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding:
    max(72px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  color: #edf4fc;
  background: rgba(5, 9, 15, 0.92);
  border: 0;
  overflow: auto;
}

.image-lightbox:not([open]) {
  display: none;
}

.image-lightbox[open] {
  display: grid;
  place-items: center;
}

.image-lightbox::backdrop {
  background: rgba(1, 4, 8, 0.84);
  backdrop-filter: blur(8px);
}

.image-lightbox__stage {
  display: grid;
  max-width: min(100%, 1800px);
  justify-items: center;
  gap: 12px;
  animation: image-lightbox-enter 180ms ease-out both;
}

.image-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 145px);
  max-height: calc(100dvh - 145px);
  object-fit: contain;
  background: #090d14;
  border: 1px solid #3c5068;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.58);
}

.image-lightbox__caption {
  max-width: min(920px, 100%);
  margin: 0;
  padding: 8px 13px;
  color: #b8c6d7;
  background: rgba(9, 13, 20, 0.86);
  border: 1px solid #273548;
  border-radius: 8px;
  font-size: 0.86rem;
  line-height: 1.5;
  text-align: center;
}

.image-lightbox__close {
  position: fixed;
  z-index: 1;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  color: #edf4fc;
  background: #172231;
  border: 1px solid #526a85;
  border-radius: 9px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  cursor: pointer;
}

.image-lightbox__close:hover {
  color: #fff;
  background: #24364a;
  border-color: #80c8ff;
}

.image-lightbox__close svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

@keyframes image-lightbox-enter {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.launch-target {
  display: flex;
  max-width: 520px;
  align-items: center;
  gap: 18px;
  margin: 24px 0;
  padding: 18px 22px;
  background: #f2f7fc;
  border: 1px solid #b9cce0;
  border-left: 5px solid var(--blue);
  border-radius: 10px;
}

.manual-article .launch-target img {
  width: 72px;
  height: 72px;
  flex: 0 0 72px;
  object-fit: contain;
  border: 0;
  border-radius: 12px;
}

.launch-target div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.launch-target strong {
  overflow-wrap: anywhere;
  color: var(--ink-900);
  font-size: 1rem;
}

.launch-target span {
  color: var(--ink-500);
  font-size: 0.88rem;
}

.manual-figure figcaption {
  padding: 9px 6px 2px;
  color: var(--ink-500);
  font-size: 0.84rem;
  line-height: 1.65;
}

.manual-figure--medium {
  width: min(100%, 680px);
}

.manual-figure--small {
  width: min(100%, 480px);
}

.manual-figure--portrait {
  width: min(100%, 450px);
}

.figure-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 1.8em 0 2.2em;
}

.figure-grid .manual-figure {
  width: 100%;
  margin: 0;
}

.figure-grid .manual-figure img {
  aspect-ratio: 1540 / 1087;
  object-fit: contain;
  object-position: top center;
}

.manual-article table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-spacing: 0;
  border-collapse: collapse;
}

.manual-article th,
.manual-article td {
  padding: 10px 13px;
  text-align: left;
  border: 1px solid var(--line);
}

.manual-article th {
  color: var(--table-heading-text);
  background: var(--table-heading-background);
}

.manual-article td {
  color: var(--ink-800);
  background: var(--table-cell-background);
}

.manual-article tbody tr:nth-child(even) td {
  background: var(--table-cell-stripe);
}

.manual-article > p:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 3.5em;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 18px;
  color: var(--ink-500);
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
}

.intro-layout .content-meta,
.intro-layout .manual-article,
.intro-layout .page-footer {
  width: min(100%, 1120px);
}

.intro-layout .guide-content {
  padding-top: 38px;
  padding-right: clamp(24px, 3.8vw, 64px);
  padding-left: clamp(24px, 3.8vw, 64px);
}

.intro-hero {
  display: grid;
  align-items: center;
  gap: clamp(24px, 3vw, 42px);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  min-height: min(720px, calc(100vh - 160px));
  padding: clamp(28px, 4vw, 54px) 0 clamp(48px, 6vw, 76px);
}

.intro-hero__copy {
  position: relative;
  z-index: 1;
}

.intro-kicker,
.section-kicker {
  margin: 0 0 14px !important;
  color: var(--blue-strong);
  font: 750 0.74rem/1.5 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.manual-article .intro-hero h1 {
  max-width: 650px;
  margin: 0;
  padding: 0;
  font-size: clamp(2.55rem, 4vw, 4.5rem);
  line-height: 1.06;
  letter-spacing: -0.055em;
}

.manual-article .intro-hero h1::after {
  display: none;
}

.intro-lead {
  max-width: 630px;
  margin: 26px 0 0 !important;
  color: var(--ink-700);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.85;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.intro-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  color: var(--blue-strong);
  background: var(--surface);
  border: 1px solid #a9bfd4;
  border-radius: 8px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.intro-button:hover {
  color: var(--blue-strong);
  border-color: var(--blue);
  box-shadow: 0 8px 22px rgba(7, 93, 168, 0.12);
  transform: translateY(-1px);
}

.intro-button--primary {
  color: #fff;
  background: var(--blue-strong);
  border-color: var(--blue-strong);
}

.intro-button--primary:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.intro-hero__visual {
  position: relative;
  margin: 0;
  padding: 11px;
  background: #0b1523;
  border: 1px solid #28415e;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(7, 17, 31, 0.24);
  transform: rotate(0.7deg);
}

.manual-article .intro-hero__visual img {
  width: 100%;
  border: 0;
  border-radius: 9px;
}

.intro-hero__visual figcaption {
  padding: 10px 5px 2px;
  color: #aebed1;
  font-size: 0.76rem;
  line-height: 1.5;
}

.demo-video-showcase {
  position: relative;
  display: grid;
  overflow: hidden;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  grid-template-columns: minmax(230px, 0.7fr) minmax(0, 1.3fr);
  margin: 0 0 90px;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(110deg, rgba(62, 155, 219, 0.12), transparent 48%),
    #0b131e;
  border: 1px solid #29425b;
  border-radius: 18px;
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.demo-video-showcase::before {
  position: absolute;
  top: 0;
  right: 12%;
  left: 12%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #51b7f5 32%, #f0b855 72%, transparent);
  content: "";
}

.manual-article .demo-video-showcase h2 {
  margin: 0;
  color: #f4f8fc;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.28;
}

.demo-video-showcase__copy > p:last-child {
  margin: 18px 0 0;
  color: #b9c9da;
  line-height: 1.8;
}

.demo-video-showcase__player {
  min-width: 0;
  margin: 0;
  padding: 8px;
  background: #05080d;
  border: 1px solid #304b67;
  border-radius: 13px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
}

.demo-video-showcase__player video {
  display: block;
  width: 100%;
  aspect-ratio: 1084 / 430;
  background: #05080d;
  border-radius: 7px;
  object-fit: contain;
}

.demo-video-showcase__player figcaption {
  padding: 10px 5px 3px;
  color: #8fa4ba;
  font-size: 0.75rem;
  line-height: 1.55;
}

.release-log {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 178px minmax(0, 1fr);
  margin: 0 0 90px;
  background:
    linear-gradient(135deg, rgba(77, 169, 242, 0.08), transparent 38%),
    #0d151f;
  border: 1px solid #2b4057;
  border-radius: 16px;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.2);
}

.release-log::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #4da9f2, #6fc8ff 62%, #f2b84b);
  content: "";
}

.release-log__rail {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 33px 24px;
  color: #8da4ba;
  background: rgba(6, 11, 18, 0.58);
  border-right: 1px solid #27394c;
  font: 750 0.7rem/1.45 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: 0.11em;
}

.release-log__rail strong {
  color: #eaf6ff;
  font-size: 1.25rem;
  letter-spacing: 0.035em;
}

.release-log__signal {
  width: 10px;
  height: 10px;
  margin-bottom: 6px;
  background: #45d19a;
  border: 2px solid #17352c;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(69, 209, 154, 0.1), 0 0 18px rgba(69, 209, 154, 0.36);
}

.release-log__body {
  min-width: 0;
  padding: clamp(28px, 4vw, 42px);
}

.release-log .section-heading {
  margin-bottom: 24px;
}

.manual-article .release-log h2 {
  color: #f0f6fc;
}

.release-log .section-heading > p:last-child {
  color: #98aabd;
}

.release-log__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #2a3c50;
  border-left: 1px solid #2a3c50;
}

.release-log__grid article {
  display: grid;
  min-width: 0;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 19px 18px;
  border-right: 1px solid #2a3c50;
  border-bottom: 1px solid #2a3c50;
}

.release-log__index {
  padding-top: 4px;
  color: #65bdf8;
  font: 750 0.69rem/1 ui-monospace, "Cascadia Mono", monospace;
}

.release-log__grid strong {
  color: #e7f1fa;
  font-size: 0.94rem;
}

.release-log__grid p {
  margin: 5px 0 0;
  color: #91a3b6;
  font-size: 0.84rem;
  line-height: 1.7;
}

.manual-article .release-log__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: #9ed9ff;
  font-weight: 750;
  text-decoration: none;
}

.manual-article .release-log__link:hover {
  color: #dff4ff;
}

.release-log__link span {
  transition: transform 150ms ease;
}

.release-log__link:hover span {
  transform: translateX(3px);
}

.origin-story {
  display: grid;
  align-items: center;
  gap: clamp(34px, 7vw, 86px);
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.82fr);
  margin: 0 0 90px;
  padding: clamp(34px, 5vw, 58px);
  background: var(--ink-900);
  border: 1px solid #213b58;
  border-radius: 18px;
  box-shadow: 0 22px 50px rgba(7, 17, 31, 0.16);
}

.manual-article .origin-story h2 {
  margin-top: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.origin-story p:not(.section-kicker) {
  color: #c5d2e1;
}

.origin-story .section-kicker {
  color: #71c1fb;
}

.demo-flow {
  margin: 0 0 90px;
  scroll-margin-top: 100px;
}

.demo-flow__track {
  position: relative;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.demo-flow__track::before {
  position: absolute;
  z-index: 0;
  top: 29px;
  right: 12%;
  left: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--amber), transparent);
  content: "";
  opacity: 0.65;
}

.demo-flow__step {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
}

.demo-flow__step header {
  display: flex;
  min-height: 58px;
  align-items: center;
  gap: 11px;
  padding: 2px 3px 12px;
}

.demo-flow__number {
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: #07111f;
  background: var(--amber);
  border-radius: 50%;
  font: 800 0.72rem/1 ui-monospace, "Cascadia Mono", monospace;
  box-shadow: 0 0 0 5px rgba(242, 184, 75, 0.09);
}

.demo-flow__step header div {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.demo-flow__step header strong {
  color: var(--ink-900);
  font-size: 0.97rem;
}

.demo-flow__step header div span {
  color: var(--ink-500);
  font: 700 0.67rem/1.4 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: 0.06em;
}

.demo-flow__frame {
  display: grid;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(77, 169, 242, 0.08), transparent 45%),
    #080d14;
  border: 1px solid #2b4058;
  border-radius: 9px;
}

.manual-article .demo-flow__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  border: 0;
  border-radius: 0;
  transition: transform 180ms ease;
}

.demo-flow__frame:hover img {
  transform: scale(1.012);
}

.demo-flow__step > p {
  margin: 13px 3px 2px;
  color: var(--ink-500);
  font-size: 0.86rem;
  line-height: 1.7;
}

.stream-sequence {
  position: relative;
  display: grid;
  gap: 0;
}

.stream-sequence::before {
  position: absolute;
  top: 34px;
  bottom: 34px;
  left: 17px;
  width: 2px;
  background: linear-gradient(#45d19a, #f3ad45, #45d19a);
  content: "";
}

.stream-step {
  position: relative;
  display: grid;
  min-height: 68px;
  align-content: center;
  gap: 2px;
  padding: 12px 16px 12px 48px;
  color: #fff;
  background: #13273e;
  border: 1px solid #335371;
  border-radius: 10px;
}

.stream-step::before {
  position: absolute;
  top: 50%;
  left: 10px;
  width: 14px;
  height: 14px;
  background: var(--amber);
  border: 4px solid var(--ink-900);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.stream-step--active {
  background: #0d4e83;
  border-color: #4babe9;
}

.stream-step--active::before {
  background: #f3ad45;
  box-shadow: 0 0 0 5px rgba(243, 173, 69, 0.14);
}

.stream-step--playing::before {
  background: #45d19a;
  box-shadow: 0 0 0 5px rgba(69, 209, 154, 0.13);
}

.stream-step--paused::before {
  background: #f3ad45;
  box-shadow: 0 0 0 5px rgba(243, 173, 69, 0.14);
}

.stream-step span {
  color: #91b6d6;
  font: 700 0.7rem/1.4 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.stream-step strong {
  font-size: 0.98rem;
}

.stream-arrow {
  position: relative;
  z-index: 1;
  padding: 8px 0 8px 48px;
  color: #8fa7bf;
  font-size: 0.72rem;
  font-weight: 650;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.manual-article .section-heading h2,
.manual-article .intro-next h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
}

.section-heading > p:last-child {
  color: var(--ink-500);
  font-size: 1.03rem;
}

.feature-section {
  scroll-margin-top: 100px;
}

.feature-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  position: relative;
  min-height: 245px;
  padding: 24px 23px 22px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 22px rgba(7, 17, 31, 0.045);
}

.feature-card::after {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 24px;
  height: 3px;
  background: #c3d7e9;
  border-radius: 99px;
  content: "";
}

.feature-card--signal {
  background: #e8f4fd;
  border-color: #9ccaea;
}

.feature-card--signal::after {
  width: 48px;
  background: var(--blue);
}

.feature-card__label {
  color: var(--blue-strong);
  font: 750 0.7rem/1.4 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: 0.1em;
}

.manual-article .feature-card h3 {
  margin: 13px 0 10px;
  color: var(--ink-900);
  font-size: 1.16rem;
  line-height: 1.45;
}

.feature-card p {
  margin: 0;
  color: var(--ink-500);
  font-size: 0.91rem;
  line-height: 1.75;
}

.experimental-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  margin: 72px 0;
  padding: 22px 24px;
  background: #fff8e9;
  border: 1px solid #efd390;
  border-left: 5px solid var(--amber);
  border-radius: 10px;
}

.experimental-note > span {
  align-self: start;
  padding: 3px 8px;
  color: #684300;
  background: #ffe0a1;
  border-radius: 5px;
  font-size: 0.72rem;
  font-weight: 800;
}

.experimental-note strong {
  color: var(--ink-900);
}

.experimental-note p {
  margin: 4px 0 0;
  color: var(--ink-700);
  font-size: 0.9rem;
  line-height: 1.7;
}

.intro-next {
  margin-top: 76px;
  padding: clamp(30px, 5vw, 48px);
  background: var(--blue-soft);
  border: 1px solid #b9d8f0;
  border-radius: 15px;
}

.intro-next > p:not(.section-kicker) {
  color: var(--ink-700);
}

.intro-next .intro-button {
  margin-top: 10px;
}

@media (max-width: 820px) {
  .site-header {
    min-height: 66px;
  }

  .brand-copy small,
  .version-chip {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .header-actions {
    gap: 8px;
  }

  .language-control > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .language-control select {
    min-width: 112px;
    max-width: 128px;
  }

  .guide-shell {
    display: block;
    min-height: calc(100vh - 66px);
  }

  .guide-sidebar {
    position: fixed;
    z-index: 15;
    top: 66px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    height: auto;
    padding: 24px;
    background: rgba(237, 243, 249, 0.98);
    border-right: 0;
  }

  .guide-sidebar[data-open="true"] {
    display: block;
  }

  .guide-content {
    padding: 22px 20px 44px;
  }

  .content-meta {
    margin-bottom: 24px;
  }

  .manual-article h1 {
    margin-bottom: 26px;
  }

  .manual-figure {
    margin-inline: -8px;
  }

  .figure-grid {
    grid-template-columns: 1fr;
  }

  .figure-grid .manual-figure {
    margin-inline: -8px;
    width: calc(100% + 16px);
  }

  .intro-layout .guide-content {
    padding-top: 18px;
  }

  .intro-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 24px;
  }

  .intro-hero__visual {
    max-width: 680px;
    transform: none;
  }

  .origin-story {
    grid-template-columns: 1fr;
    margin-inline: -8px;
    padding: 30px 26px;
  }

  .release-log {
    grid-template-columns: 1fr;
  }

  .release-log__rail {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    border-right: 0;
    border-bottom: 1px solid #27394c;
  }

  .release-log__signal {
    margin: 0;
  }

  .release-log__rail strong {
    font-size: 1rem;
  }

  .demo-flow__track {
    grid-template-columns: 1fr;
  }

  .demo-flow__track::before {
    top: 32px;
    right: auto;
    bottom: 32px;
    left: 33px;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--blue), var(--amber), var(--blue));
  }

  .demo-flow__step {
    display: grid;
    grid-template-columns: minmax(170px, 0.9fr) minmax(0, 1.1fr);
    column-gap: 16px;
  }

  .demo-flow__step header {
    grid-column: 1 / -1;
  }

  .demo-flow__step > p {
    align-self: center;
    margin: 0;
  }

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

@media (max-width: 590px) {
  .site-header {
    gap: 8px;
    padding-inline: 14px;
  }

  .brand-copy {
    display: none;
  }

  .header-actions {
    min-width: 0;
    flex: 1;
    justify-content: flex-end;
  }

  .language-control select {
    width: clamp(104px, 32vw, 124px);
    min-width: 0;
  }

  .nav-toggle {
    flex: 0 0 auto;
    padding-inline: 9px;
  }

  .launch-target {
    gap: 14px;
    padding: 15px 16px;
  }

  .manual-article .launch-target img {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .manual-article .intro-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.5rem);
  }

  .intro-actions {
    display: grid;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .release-log {
    margin-inline: -8px;
    margin-bottom: 66px;
  }

  .release-log__body {
    padding: 25px 20px 27px;
  }

  .release-log__grid {
    grid-template-columns: 1fr;
  }

  .demo-flow {
    margin-bottom: 66px;
  }

  .demo-flow__step {
    display: block;
  }

  .demo-flow__step > p {
    margin: 13px 3px 2px;
  }

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

  .experimental-note {
    grid-template-columns: 1fr;
  }
}

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

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

  .image-lightbox__stage {
    animation: none;
  }
}

/* Night control-room theme */
:root {
  --ink-950: #f8fbff;
  --ink-900: #edf4fc;
  --ink-800: #d7e2ef;
  --ink-700: #b8c6d7;
  --ink-500: #8d9eb2;
  --paper: #090d14;
  --surface: #111823;
  --line: #273548;
  --blue: #4da9f2;
  --blue-strong: #80c8ff;
  --blue-soft: #10283c;
  --amber: #f2b84b;
  --code: #172331;
  --table-heading-text: #eaf6ff;
  --table-heading-background: #17304a;
  --table-cell-background: #0f1722;
  --table-cell-stripe: #121e2b;
  color-scheme: dark;
}

body {
  background:
    radial-gradient(circle at 78% 4%, rgba(38, 94, 140, 0.12), transparent 30rem),
    var(--paper);
}

.site-header {
  background: rgba(8, 13, 20, 0.97);
  border-bottom-color: #223044;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22);
}

.resource-shortcut {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 7px 14px;
  color: #dff3ff;
  background: #15324b;
  border: 1px solid #3478a9;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.resource-shortcut:hover {
  color: #fff;
  background: #1c4465;
  border-color: var(--blue);
}

.guide-sidebar {
  position: sticky;
  background: #0d141f;
  border-right-color: #233247;
}

.guide-sidebar::before {
  position: absolute;
  top: 34px;
  right: 0;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(180deg, var(--blue), rgba(77, 169, 242, 0.08) 68%, var(--amber));
  content: "";
  opacity: 0.75;
}

.chapter-list a:hover {
  color: #dff3ff;
  background: #172231;
}

.chapter-list a[aria-current="page"] {
  color: #fff;
  background: #1769a6;
  box-shadow: 0 6px 18px rgba(0, 87, 153, 0.25);
}

.sidebar-note,
.manual-figure,
.feature-card,
.launch-target {
  background: var(--surface);
  border-color: var(--line);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.16);
}

.manual-article a:not(.intro-button):not(.resource-action):not(.creator-link) {
  color: var(--blue-strong);
}

.manual-article code {
  color: #aadaff;
  background: var(--code);
  border-color: #2d4055;
}

.manual-article pre {
  color: #e7f3ff;
  background: #101923;
  border-color: #2c4057;
}

.manual-article pre code {
  color: inherit;
  background: transparent;
}

.intro-button--primary {
  color: #fff;
  background: #1479b8;
  border-color: #35a8ec;
  box-shadow: 0 8px 24px rgba(20, 121, 184, 0.28);
}

.intro-button--primary:hover {
  color: #fff;
  background: #1b8ed3;
  border-color: #67c5fb;
  box-shadow: 0 10px 28px rgba(20, 121, 184, 0.38);
}

.manual-article blockquote,
.intro-next {
  background: var(--blue-soft);
  border-color: #244865;
}

.experimental-note {
  background: #211b10;
  border-color: #5c4922;
  border-left-color: var(--amber);
}

.experimental-note > span {
  color: #1b1303;
  background: var(--amber);
}

.intro-hero__visual {
  background: #111923;
  border-color: #2c3d50;
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.36);
}

.origin-story {
  background: #0d1825;
  border-color: #223a53;
}

.stream-step,
.stream-arrow {
  border-color: #2b425a;
}

.stream-step--active {
  background: #15314a;
}

.feature-card__label,
.section-kicker,
.intro-kicker,
.resource-eyebrow {
  color: #76c4ff;
}

.page-footer {
  border-color: var(--line);
}

/* Download, videos, and theme library */
.resource-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 64px;
  padding: clamp(28px, 5vw, 46px);
  background: linear-gradient(145deg, #101b29, #0d141f 64%);
  border: 1px solid #2b3e54;
  border-radius: 16px;
}

.resource-hero::after {
  position: absolute;
  right: -52px;
  bottom: -62px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(77, 169, 242, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(77, 169, 242, 0.04), 0 0 0 58px rgba(77, 169, 242, 0.025);
  content: "";
}

.resource-eyebrow {
  margin: 0 0 10px;
  font: 750 0.72rem/1.5 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: 0.16em;
}

.manual-article .resource-hero h1 {
  max-width: 690px;
  margin-bottom: 14px;
  padding: 0;
  font-size: clamp(2.25rem, 6vw, 4.1rem);
}

.manual-article .resource-hero h1::after {
  display: none;
}

.resource-hero > p:last-child {
  position: relative;
  z-index: 1;
  max-width: 650px;
  color: var(--ink-700);
  font-size: 1.03rem;
}

.resource-section {
  margin: 72px 0;
}

.resource-section__heading {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  margin-bottom: 22px;
}

.resource-index {
  padding-top: 8px;
  color: var(--blue);
  border-top: 2px solid var(--blue);
  font: 750 0.76rem/1 ui-monospace, "Cascadia Mono", monospace;
}

.manual-article .resource-section__heading h2 {
  margin: 0 0 5px;
}

.resource-section__heading p {
  margin: 0;
  color: var(--ink-500);
}

.download-panel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 22px;
  background: #101923;
  border: 1px solid #2b3d51;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.download-panel__mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  background: linear-gradient(145deg, #173f5e, #12334d);
  border: 1px solid #3279a9;
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 6px 16px rgba(0, 0, 0, 0.16);
}

.download-panel__mark svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #a9ddff;
  stroke-width: 2.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-panel__copy {
  display: grid;
}

.download-panel__copy strong {
  color: var(--ink-900);
}

.download-panel__copy span,
.download-panel__copy small {
  color: var(--ink-500);
}

.resource-update {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin: 12px 0 0;
  padding: 12px 14px;
  color: var(--ink-700);
  background: rgba(121, 201, 255, 0.07);
  border-left: 3px solid #79c9ff;
  border-radius: 0 7px 7px 0;
  font-size: 0.9rem;
  line-height: 1.65;
}

.resource-update__copy {
  min-width: 0;
}

.resource-update__copy strong {
  color: var(--ink-900);
}

.resource-update__copy p {
  margin: 2px 0 0;
}

.manual-article .resource-update__link {
  display: inline-flex;
  min-height: 44px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: #8dd5ff;
  font-weight: 750;
  text-decoration: none;
}

.manual-article .resource-update__link:hover {
  color: #dff4ff;
}

.resource-update__link span {
  transition: transform 150ms ease;
}

.resource-update__link:hover span {
  transform: translateX(3px);
}

.smartscreen-guide {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 30px);
  background:
    linear-gradient(135deg, rgba(79, 178, 240, 0.08), transparent 42%),
    #0f1823;
  border: 1px solid #2b4057;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

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

.smartscreen-guide__shield {
  display: grid;
  width: 42px;
  height: 46px;
  place-items: center;
  color: #c9edff;
  background: linear-gradient(155deg, #1c5275, #13344e);
  border: 1px solid #3b86b5;
  border-radius: 13px 13px 18px 18px;
  font-size: 1.2rem;
  font-weight: 800;
  clip-path: polygon(50% 0, 94% 15%, 88% 72%, 50% 100%, 12% 72%, 6% 15%);
}

.manual-article .smartscreen-guide h3 {
  margin: 0 0 7px;
  color: var(--ink-900);
  font-size: clamp(1.16rem, 2vw, 1.4rem);
}

.smartscreen-guide__heading p {
  max-width: 790px;
  margin: 0;
  color: var(--ink-600);
  line-height: 1.75;
}

.smartscreen-guide__steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 0;
  padding: 0;
  counter-reset: smartscreen-step;
  list-style: none;
}

.smartscreen-guide__steps li {
  min-width: 0;
  counter-increment: smartscreen-step;
}

.smartscreen-guide__steps figure {
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #111d2a;
  border: 1px solid #2b4057;
  border-radius: 11px;
}

.smartscreen-guide__steps img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 534 / 500;
  object-fit: cover;
  border-bottom: 1px solid #2b4057;
}

.smartscreen-guide__steps figcaption {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px 15px 14px 52px;
}

.smartscreen-guide__steps figcaption::before {
  position: absolute;
  top: 14px;
  left: 15px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #07111b;
  background: #79c9ff;
  border-radius: 50%;
  content: counter(smartscreen-step);
  font: 800 0.78rem/1 ui-monospace, "Cascadia Mono", monospace;
}

.smartscreen-guide__steps figcaption strong {
  color: var(--ink-900);
}

.smartscreen-guide__steps figcaption span {
  color: var(--ink-500);
  font-size: 0.88rem;
  line-height: 1.55;
}

.smartscreen-guide__privacy {
  margin-top: 16px;
  padding: 15px 17px;
  color: var(--ink-600);
  background: rgba(121, 201, 255, 0.055);
  border-left: 3px solid #79c9ff;
  border-radius: 0 8px 8px 0;
  line-height: 1.7;
}

.smartscreen-guide__privacy strong {
  color: #bde7ff;
}

.smartscreen-guide__privacy p {
  margin: 3px 0 0;
}

.resource-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  color: #dff3ff;
  background: #162535;
  border: 1px solid #34516d;
  border-radius: 7px;
  font-weight: 750;
  text-decoration: none;
}

.resource-action--primary {
  color: #07111b;
  background: #79c9ff;
  border-color: #79c9ff;
}

.resource-action:hover {
  color: #fff;
  background: #214462;
}

.resource-action--primary:hover {
  color: #07111b;
  background: #a7ddff;
}

.resource-status {
  padding: 8px 12px;
  color: #d4b878;
  background: #211c12;
  border: 1px solid #594822;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

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

.resource-empty {
  display: flex;
  min-height: 150px;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  color: var(--ink-500);
  background: repeating-linear-gradient(-45deg, #0f1721, #0f1721 10px, #101a25 10px, #101a25 20px);
  border: 1px dashed #34475d;
  border-radius: 12px;
  text-align: center;
}

.resource-empty > span {
  color: var(--blue);
  font-size: 1.3rem;
}

.video-card,
.theme-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.video-card:only-child {
  grid-column: 1 / -1;
}

.video-placeholder {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 230px;
  place-content: center;
  gap: 10px;
  color: #dcecff;
  background: #0a1018;
  border: 0;
  cursor: pointer;
}

.video-placeholder img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.video-placeholder strong,
.video-play {
  position: relative;
  z-index: 1;
}

.video-play {
  width: 54px;
  height: 54px;
  margin-inline: auto;
  background: rgba(77, 169, 242, 0.92);
  border-radius: 50%;
}

.video-play::after {
  position: absolute;
  top: 17px;
  left: 22px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #07111b;
  content: "";
}

.video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-local {
  position: relative;
  background: #05080d;
}

.video-local video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #05080d;
  object-fit: contain;
}

.video-duration {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 7px;
  color: #f4f8fc;
  background: rgba(3, 8, 14, 0.82);
  border: 1px solid rgba(151, 187, 218, 0.42);
  border-radius: 5px;
  font: 750 0.7rem/1 ui-monospace, "Cascadia Mono", monospace;
  pointer-events: none;
}

.video-card h3,
.video-card p {
  margin-inline: 18px;
}

.video-card p {
  color: var(--ink-500);
}

.theme-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.theme-card__body {
  padding: 18px;
}

.manual-article .theme-card__body h3 {
  margin: 10px 0 5px;
}

.theme-card__body p {
  color: var(--ink-500);
}

.theme-badge {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.theme-badge--free {
  color: #99e8bf;
  background: #102a21;
}

.theme-badge--paid {
  color: #ffd486;
  background: #2a2110;
}

/* Creator, support, and community */
.creator-layout .content-meta,
.creator-layout .manual-article,
.creator-layout .page-footer {
  width: min(100%, 1040px);
}

.creator-layout .guide-content {
  padding-right: clamp(24px, 4vw, 70px);
  padding-left: clamp(24px, 4vw, 70px);
}

.creator-hero {
  position: relative;
  display: grid;
  overflow: hidden;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  min-height: 470px;
  padding: clamp(34px, 6vw, 64px);
  background:
    radial-gradient(circle at 17% 40%, rgba(242, 184, 75, 0.15), transparent 15rem),
    linear-gradient(135deg, #101c2a 0%, #0d141f 70%);
  border: 1px solid #2b4058;
  border-radius: 20px;
  box-shadow: 0 30px 74px rgba(0, 0, 0, 0.3);
}

.creator-hero::after {
  position: absolute;
  right: -90px;
  bottom: -128px;
  width: 330px;
  height: 330px;
  border: 1px solid rgba(77, 169, 242, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 0 34px rgba(77, 169, 242, 0.035),
    0 0 0 78px rgba(77, 169, 242, 0.018);
  content: "";
}

.creator-portrait {
  position: relative;
  z-index: 1;
  width: min(100%, 220px);
  aspect-ratio: 1;
  margin-inline: auto;
}

.creator-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 4px solid #f5d98a;
  border-radius: 50%;
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.42);
}

.creator-portrait__orbit {
  position: absolute;
  inset: -17px;
  border: 1px solid rgba(242, 184, 75, 0.58);
  border-top-color: transparent;
  border-left-color: rgba(242, 184, 75, 0.16);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.creator-portrait__orbit::before,
.creator-portrait__orbit::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.creator-portrait__orbit::before {
  top: 23px;
  right: 15px;
  width: 11px;
  height: 11px;
  background: var(--amber);
  box-shadow: 0 0 22px rgba(242, 184, 75, 0.72);
}

.creator-portrait__orbit::after {
  right: 56px;
  bottom: -4px;
  width: 5px;
  height: 5px;
  background: #9ed9ff;
}

.creator-hero__copy {
  position: relative;
  z-index: 1;
}

.creator-eyebrow {
  margin: 0 0 10px;
  color: #7fc9ff;
  font: 750 0.72rem/1.5 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.creator-role {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 5px 10px;
  color: #f8dc93;
  background: rgba(242, 184, 75, 0.09);
  border: 1px solid rgba(242, 184, 75, 0.32);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
}

.manual-article .creator-hero h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(3rem, 7vw, 5.1rem);
  letter-spacing: -0.055em;
}

.manual-article .creator-hero h1::after {
  display: none;
}

.manual-article .creator-hero h2 {
  max-width: 650px;
  margin: 8px 0 15px;
  color: #b9dbf5;
  font-size: clamp(1.25rem, 2.8vw, 1.8rem);
  font-weight: 650;
}

.creator-hero__copy > p:last-of-type {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--ink-700);
}

.manual-article .creator-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 15px;
  color: #eaf7ff;
  background: #17314a;
  border: 1px solid #3d79a5;
  border-radius: 8px;
  font-weight: 750;
  text-decoration: none;
  transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.manual-article .creator-link:hover {
  color: #fff;
  background: #214968;
  border-color: #75c7ff;
}

.manual-article .creator-link--profile {
  max-width: 660px;
  justify-content: flex-start;
  line-height: 1.55;
  text-align: left;
}

.creator-link span {
  color: #91d2ff;
  font-size: 0.9em;
}

.creator-section {
  margin: clamp(70px, 9vw, 100px) 0;
}

.creator-section__heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.manual-article .creator-section__heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.65rem);
}

.creator-section__heading > p:last-child {
  margin: 0;
  color: var(--ink-500);
}

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

.support-path {
  display: grid;
  min-height: 280px;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  padding: clamp(22px, 3vw, 30px);
  background: #101923;
  border: 1px solid #2d4055;
  border-radius: 15px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

.support-path--bug {
  border-top: 3px solid #ef817d;
}

.support-path--idea {
  border-top: 3px solid #69bdf5;
}

.support-path--email {
  min-height: 0;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  grid-template-rows: auto;
  align-items: center;
  border-top: 3px solid #69bdf5;
}

.support-path__mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #f5f9ff;
  background: #1e3347;
  border: 1px solid #3e607e;
  border-radius: 50%;
  font: 800 1.15rem/1 ui-monospace, monospace;
}

.support-path__mark svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.support-path--bug .support-path__mark {
  color: #ffc1bd;
  background: #351f23;
  border-color: #784047;
}

.manual-article .support-path h3 {
  margin: 0 0 7px;
  font-size: 1.35rem;
}

.support-path p {
  margin: 0;
  color: var(--ink-500);
}

.support-path .support-encouragement {
  margin-top: 10px;
  color: var(--ink-300);
  font-weight: 650;
  line-height: 1.7;
}

.support-path .creator-link {
  justify-self: start;
}

.support-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 2px 0;
  color: var(--ink-500);
  font-size: 0.82rem;
}

.support-privacy > span {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  color: #a7dfff;
  border: 1px solid #47708f;
  border-radius: 50%;
  font: 700 0.72rem/1 ui-monospace, monospace;
}

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

.manual-article .social-links a {
  display: grid;
  min-height: 88px;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 13px 15px;
  color: var(--ink-800);
  background: #101923;
  border: 1px solid #2a3b4f;
  border-radius: 11px;
  text-decoration: none;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.manual-article .social-links a:hover {
  color: #fff;
  background: #162535;
  border-color: #4b82aa;
}

.social-links__code {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #a8dcff;
  background: #172b3e;
  border: 1px solid #365a77;
  border-radius: 9px;
  font: 800 0.72rem/1 ui-monospace, "Cascadia Mono", monospace;
}

.social-links__code svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-links__code--youtube {
  color: #fff;
  background: #c9262d;
  border-color: #f05a60;
}

.social-links__code--x,
.social-links__code--threads,
.social-links__code--tiktok {
  color: #fff;
  background: #090b0f;
  border-color: #4d5663;
}

.social-links__code--discord {
  color: #fff;
  background: #5865f2;
  border-color: #8791ff;
}

.social-links__code--twitch {
  color: #fff;
  background: #9146ff;
  border-color: #b984ff;
}

.social-links__code--instagram {
  color: #fff;
  background: linear-gradient(135deg, #6548d7, #d62976 50%, #f8a33a);
  border-color: #ef7fae;
}

.social-links a > span:nth-child(2) {
  display: grid;
  min-width: 0;
}

.social-links strong {
  color: inherit;
  line-height: 1.3;
}

.social-links small {
  margin-top: 3px;
  color: var(--ink-500);
  font-size: 0.75rem;
  line-height: 1.45;
}

.social-links b {
  color: #77c7fa;
  font-size: 0.82rem;
}

.collaboration-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  margin: 82px 0 18px;
  padding: clamp(26px, 5vw, 42px);
  background:
    linear-gradient(120deg, rgba(242, 184, 75, 0.09), transparent 55%),
    #111923;
  border: 1px solid #54462c;
  border-left: 4px solid var(--amber);
  border-radius: 14px;
}

.manual-article .collaboration-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.collaboration-panel p:last-child {
  max-width: 690px;
  margin: 0;
  color: var(--ink-500);
}

.manual-article .creator-link--collaboration {
  color: #1a1306;
  background: #f2c35d;
  border-color: #f2c35d;
  box-shadow: 0 8px 22px rgba(242, 195, 93, 0.18);
}

.manual-article .creator-link--collaboration:hover {
  color: #110d05;
  background: #ffda82;
  border-color: #ffda82;
  box-shadow: 0 10px 26px rgba(242, 195, 93, 0.26);
}

.manual-article .creator-link--collaboration:visited,
.manual-article .creator-link--collaboration span {
  color: #1a1306;
}

.manual-article .creator-link--collaboration:hover span {
  color: #110d05;
}

.manual-article .creator-link--collaboration:focus-visible {
  outline-color: #8fd3ff;
  outline-offset: 4px;
}

/* Release history */
.changelog-layout {
  --content-width: 1120px;
}

.changelog-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(42px, 7vw, 74px);
  padding: clamp(34px, 6vw, 62px);
  background:
    radial-gradient(circle at 86% 18%, rgba(86, 185, 255, 0.17), transparent 25%),
    linear-gradient(145deg, #101c29, #0a111a 68%);
  border: 1px solid #2b4863;
  border-radius: 18px;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.24);
}

.changelog-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #4da9f2, #7dd7ff 66%, #f2b84b);
  content: "";
}

.changelog-eyebrow {
  margin: 0 0 14px;
  color: #70c8ff;
  font: 750 0.72rem/1.4 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: 0.13em;
}

.manual-article .changelog-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #f4f9ff;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.changelog-hero > p:not(.changelog-eyebrow) {
  max-width: 720px;
  margin: 22px 0 0;
  color: #b7c8d9;
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  line-height: 1.85;
}

.changelog-hero__summary {
  display: inline-grid;
  box-sizing: border-box;
  grid-template-columns: auto auto;
  gap: 2px 12px;
  align-items: end;
  margin-top: 34px;
  padding: 14px 18px;
  background: rgba(3, 9, 15, 0.48);
  border: 1px solid #29445d;
  border-radius: 10px;
}

.changelog-hero__summary strong {
  grid-row: 1 / 3;
  color: #e9f6ff;
  font: 760 2.15rem/1 ui-monospace, "Cascadia Mono", monospace;
}

.changelog-hero__summary span {
  color: #aebfd0;
  font-size: 0.78rem;
}

.changelog-hero__summary .changelog-hero__range {
  color: #6fbee9;
  font: 700 0.7rem/1.2 ui-monospace, "Cascadia Mono", monospace;
}

.release-timeline {
  --timeline-rail: 170px;
  position: relative;
  display: grid;
  gap: 30px;
  margin-bottom: 72px;
}

.release-timeline::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: calc(var(--timeline-rail) - 17px);
  width: 1px;
  background: linear-gradient(#58b9f4, #2a455e 38%, #1c2d3e);
  content: "";
}

.release-entry {
  display: grid;
  grid-template-columns: var(--timeline-rail) minmax(0, 1fr);
}

.release-entry__rail {
  position: relative;
  display: grid;
  align-content: start;
  gap: 7px;
  padding: 19px 40px 0 0;
  text-align: right;
}

.release-entry__rail time {
  color: #99aec1;
  font: 720 0.75rem/1.3 ui-monospace, "Cascadia Mono", monospace;
}

.release-entry__rail > span:last-child {
  color: #6f879d;
  font-size: 0.76rem;
  line-height: 1.45;
}

.release-entry__node {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 11px;
  width: 13px;
  height: 13px;
  background: #0d1722;
  border: 3px solid #42647f;
  border-radius: 50%;
  box-shadow: 0 0 0 5px #090f16;
}

.release-entry--latest .release-entry__node {
  background: #65d8a5;
  border-color: #b8f2d6;
  box-shadow: 0 0 0 5px #10251f, 0 0 22px rgba(101, 216, 165, 0.38);
}

.release-entry__card {
  min-width: 0;
  padding: clamp(24px, 4vw, 36px);
  background: linear-gradient(150deg, rgba(22, 35, 48, 0.96), rgba(11, 18, 27, 0.98));
  border: 1px solid #2a3f54;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.release-entry--latest .release-entry__card {
  border-color: #3f708d;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22), inset 3px 0 0 #63c9ff;
}

.release-entry__header {
  display: flex;
  gap: 18px;
  align-items: start;
  justify-content: space-between;
}

.release-entry__current {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 4px 8px;
  color: #9cf0c5;
  background: rgba(70, 203, 145, 0.1);
  border: 1px solid rgba(102, 220, 165, 0.34);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 750;
}

.manual-article .release-entry__header h2 {
  margin: 0;
  color: #f0f7ff;
  font: 780 clamp(1.55rem, 3vw, 2.1rem)/1.1 ui-monospace, "Cascadia Mono", monospace;
  letter-spacing: -0.035em;
}

.release-entry__count {
  flex: 0 0 auto;
  padding-top: 6px;
  color: #6e879d;
  font: 700 0.7rem/1.3 ui-monospace, "Cascadia Mono", monospace;
}

.release-entry__summary {
  margin: 20px 0 0;
  color: #c5d5e4;
  font-size: 1rem;
  line-height: 1.75;
}

.release-entry__items {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #283b4d;
}

.release-entry__items li {
  position: relative;
  margin: 0;
  padding: 13px 8px 13px 26px;
  color: #9fb1c3;
  border-bottom: 1px solid rgba(40, 59, 77, 0.72);
  font-size: 0.9rem;
  line-height: 1.72;
}

.release-entry__items li::before {
  position: absolute;
  top: 1.36rem;
  left: 7px;
  width: 6px;
  height: 6px;
  background: #56b9f3;
  border-radius: 1px;
  content: "";
  transform: rotate(45deg);
}

.manual-article .release-entry__link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: #8fd6ff;
  font-weight: 750;
  text-decoration: none;
}

.manual-article .release-entry__link:hover {
  color: #e0f5ff;
}

.release-entry__link span {
  transition: transform 150ms ease;
}

.release-entry__link:hover span {
  transform: translate(2px, -2px);
}

@media (max-width: 820px) {
  .release-timeline {
    --timeline-rail: 124px;
  }

  .release-entry__rail {
    padding-right: 34px;
  }

  .guide-sidebar {
    background: rgba(9, 13, 20, 0.985);
  }

  .guide-sidebar::before {
    display: none;
  }

  .resource-shortcut {
    min-height: 38px;
    padding-inline: 11px;
  }

  .demo-video-showcase {
    grid-template-columns: 1fr;
  }

  .creator-hero {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 28px;
    padding: 34px 30px;
  }
}

@media (max-width: 590px) {
  .changelog-hero {
    padding: 30px 24px;
    border-radius: 14px;
  }

  .changelog-hero__summary {
    width: 100%;
  }

  .release-timeline {
    gap: 26px;
  }

  .release-timeline::before {
    top: 18px;
    bottom: 0;
    left: 7px;
  }

  .release-entry {
    display: block;
    padding-left: 24px;
  }

  .release-entry__rail {
    display: flex;
    gap: 9px;
    align-items: center;
    padding: 0 0 10px;
    text-align: left;
  }

  .release-entry__node {
    top: 5px;
    right: auto;
    left: -23px;
  }

  .release-entry__header {
    align-items: end;
  }

  .release-entry__card {
    padding: 23px 20px;
  }

  .resource-shortcut {
    display: none;
  }

  .resource-hero {
    margin-inline: -8px;
    padding: 25px 22px;
  }

  .demo-video-showcase {
    margin-inline: -8px;
    padding: 24px 18px 18px;
    border-radius: 14px;
  }

  .demo-video-showcase__player {
    margin-inline: -7px;
    padding: 5px;
  }

  .resource-section__heading {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 11px;
  }

  .download-panel {
    grid-template-columns: auto 1fr;
  }

  .download-panel .resource-action,
  .download-panel .resource-status {
    grid-column: 1 / -1;
    justify-self: stretch;
    text-align: center;
  }

  .resource-update {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .smartscreen-guide {
    padding: 18px 14px;
  }

  .smartscreen-guide__heading {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
  }

  .smartscreen-guide__shield {
    width: 36px;
    height: 40px;
  }

  .smartscreen-guide__steps {
    grid-template-columns: 1fr;
  }

  .video-grid,
  .theme-grid {
    grid-template-columns: 1fr;
  }

  .creator-layout .guide-content {
    padding-inline: 16px;
  }

  .creator-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 36px 23px 31px;
    text-align: left;
  }

  .creator-portrait {
    width: 156px;
    margin-left: 0;
  }

  .manual-article .creator-hero h1 {
    font-size: clamp(2.75rem, 16vw, 4rem);
  }

  .support-paths,
  .social-links {
    grid-template-columns: 1fr;
  }

  .support-path {
    min-height: 0;
  }

  .support-path--email {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .support-path--email .creator-link {
    grid-column: 1 / -1;
  }

  .support-path .creator-link {
    width: 100%;
  }

  .collaboration-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .collaboration-panel .creator-link {
    width: 100%;
  }
}

@media print {
  .site-header,
  .guide-sidebar,
  .content-meta,
  .page-footer {
    display: none !important;
  }

  .guide-shell {
    display: block;
  }

  .guide-content {
    padding: 0;
  }

  .manual-article {
    width: 100%;
  }

  a {
    color: inherit;
  }

  body {
    color: #111;
    background: #fff;
  }

  .manual-figure {
    break-inside: avoid;
    box-shadow: none;
  }
}
