:root {
  --bg: #0a0b0d;
  --bg-soft: #12151a;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-strong: rgba(18, 21, 26, 0.95);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --text: #f5f7fb;
  --muted: #9ba6ba;
  --accent: #ffffff;
  --shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
  --header-offset: 58px;
  --mood-a: rgba(0, 0, 0, 0);
  --mood-b: rgba(0, 0, 0, 0);
  --header-bg: rgba(10, 12, 15, 0.86);
  --header-border: rgba(255, 255, 255, 0.08);
  --control-bg: rgba(255, 255, 255, 0.05);
  --control-bg-hover: rgba(255, 255, 255, 0.11);
  --control-border: rgba(255, 255, 255, 0.16);
  --control-text: #eef3ff;
  --focus-ring: rgba(255, 255, 255, 0.45);
  --select-bg: #11161d;
  --select-text: #eef3ff;
  --select-option-bg: #0f141b;
  --home-hero-bg: linear-gradient(135deg, rgba(15, 27, 45, 0.86), rgba(8, 13, 19, 0.82));
  --home-hero-border: rgba(255, 255, 255, 0.14);
  --home-hero-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  --home-card-bg: linear-gradient(155deg, rgba(21, 29, 42, 0.82), rgba(11, 16, 24, 0.82));
  --home-card-border: rgba(255, 255, 255, 0.12);
  --home-card-shadow: 0 14px 34px rgba(0, 0, 0, 0.26);
  --home-chip-bg: rgba(9, 13, 19, 0.5);
  --home-chip-border: rgba(255, 255, 255, 0.18);
  --home-chip-text: #dee8fb;
  --home-link-strong: #f4f8ff;
  --home-link: #c3cee1;
  --home-muted: #aab8d1;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 0.6rem);
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 224, 255, 0.36) rgba(255, 255, 255, 0.06);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

body {
  font-family: "Atkinson Hyperlegible Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(980px 560px at 88% 14%, var(--mood-a), transparent 62%),
    radial-gradient(900px 540px at 8% 88%, var(--mood-b), transparent 66%),
    radial-gradient(1400px 700px at 16% -14%, rgba(255, 255, 255, 0.06), transparent 56%),
    radial-gradient(1200px 500px at 100% 0, rgba(255, 255, 255, 0.03), transparent 45%),
    linear-gradient(170deg, var(--bg), var(--bg-soft));
  transition: background 480ms ease, color 280ms ease;
  color-scheme: dark;
}

body[data-theme="light"] {
  --bg: #eff3fa;
  --bg-soft: #d9e3f2;
  --panel: rgba(12, 32, 62, 0.06);
  --panel-strong: rgba(245, 249, 255, 0.94);
  --line: rgba(15, 40, 75, 0.16);
  --line-strong: rgba(15, 40, 75, 0.28);
  --text: #11203a;
  --muted: #5a6b87;
  --accent: #10203d;
  --shadow: 0 30px 70px rgba(37, 66, 112, 0.16);
  --header-bg: rgba(242, 247, 255, 0.92);
  --header-border: rgba(15, 40, 75, 0.14);
  --control-bg: rgba(20, 45, 84, 0.08);
  --control-bg-hover: rgba(20, 45, 84, 0.16);
  --control-border: rgba(20, 45, 84, 0.2);
  --control-text: #143056;
  --focus-ring: rgba(20, 45, 84, 0.5);
  --select-bg: rgba(255, 255, 255, 0.95);
  --select-text: #123158;
  --select-option-bg: #ffffff;
  --home-hero-bg: linear-gradient(138deg, rgba(244, 249, 255, 0.96), rgba(224, 236, 251, 0.96));
  --home-hero-border: rgba(16, 42, 79, 0.16);
  --home-hero-shadow: 0 30px 70px rgba(41, 76, 127, 0.18);
  --home-card-bg: linear-gradient(152deg, rgba(255, 255, 255, 0.96), rgba(236, 243, 253, 0.95));
  --home-card-border: rgba(16, 42, 79, 0.13);
  --home-card-shadow: 0 12px 28px rgba(40, 71, 115, 0.14);
  --home-chip-bg: rgba(17, 46, 85, 0.08);
  --home-chip-border: rgba(17, 46, 85, 0.18);
  --home-chip-text: #17355d;
  --home-link-strong: #10284a;
  --home-link: #365278;
  --home-muted: #5c7193;
  color-scheme: light;
}

body.home-mode .side-toc {
  display: none;
}

body.home-mode .reader-main {
  width: min(1300px, calc(100vw - 2.4rem));
  max-width: 1300px;
}

body.home-mode {
  scroll-snap-type: none;
  scroll-padding-top: calc(var(--header-offset) + 0.5rem);
}

body.home-mode[data-home-mood="1"] {
  --mood-a: rgba(112, 151, 255, 0.2);
  --mood-b: rgba(88, 203, 255, 0.14);
}

body.home-mode[data-home-mood="2"] {
  --mood-a: rgba(118, 229, 196, 0.18);
  --mood-b: rgba(65, 191, 162, 0.14);
}

body.home-mode[data-home-mood="3"] {
  --mood-a: rgba(255, 195, 125, 0.18);
  --mood-b: rgba(252, 149, 73, 0.12);
}

body.home-mode[data-home-mood="4"] {
  --mood-a: rgba(177, 149, 255, 0.2);
  --mood-b: rgba(145, 123, 245, 0.14);
}

/* Bespoke global scrollbar */
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(214, 226, 255, 0.5), rgba(157, 176, 215, 0.42));
  border-radius: 999px;
  border: 2px solid rgba(11, 14, 18, 0.7);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(226, 235, 255, 0.72), rgba(179, 200, 242, 0.6));
}

*::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 1rem;
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-border);
  backdrop-filter: blur(8px);
}

.site-title-link {
  margin: 0;
  display: inline-block;
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--control-text) 74%, transparent);
  font-weight: 620;
}

.site-title-link:hover {
  color: var(--control-text);
}

.site-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.site-search-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  color: var(--control-text);
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  font: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.15;
}

.site-search-btn:hover {
  background: var(--control-bg-hover);
}

.site-search-btn.is-active {
  background: color-mix(in srgb, var(--control-bg-hover) 80%, transparent);
  border-color: color-mix(in srgb, var(--control-border) 60%, var(--accent) 40%);
}

.site-control-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

#siteChapterSelect {
  min-width: 280px;
  max-width: 62vw;
  border: 1px solid var(--control-border);
  border-radius: 8px;
  background: var(--select-bg);
  color: var(--select-text);
  color-scheme: inherit;
  font: inherit;
  font-size: 0.81rem;
  padding: 0.3rem 0.45rem;
}

#siteChapterSelect option {
  background: var(--select-option-bg);
  color: var(--select-text);
}

#siteChapterSelect option:checked {
  background: color-mix(in srgb, var(--control-bg-hover) 70%, transparent);
  color: var(--select-text);
}

#siteChapterSelect:focus-visible,
.site-next-btn:focus-visible,
.site-search-btn:focus-visible,
.search-close-btn:focus-visible,
.search-input:focus-visible,
.search-result:focus-visible,
.glossary-term:focus-visible,
.definitions-jump-chip:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.site-next-btn {
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  color: var(--control-text);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.site-next-btn:hover {
  background: var(--control-bg-hover);
}

.site-theme-btn {
  position: relative;
  border: 1px solid var(--control-border);
  background: var(--control-bg);
  color: var(--control-text);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.site-theme-btn:hover {
  background: var(--control-bg-hover);
}

.site-theme-btn:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 1px;
}

.theme-icon {
  position: absolute;
  width: 17px;
  height: 17px;
  display: block;
  fill: currentColor;
  opacity: 0;
  transform: scale(0.78) rotate(-18deg);
  transition: opacity 0.2s ease, transform 0.28s ease;
}

.site-theme-btn[data-theme="dark"] .theme-icon-sun,
.site-theme-btn[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

.site-nav-icon {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}

.site-next-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.search-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  overflow-y: auto;
  padding: clamp(0.85rem, 2.5vh, 1.4rem) 0.9rem 1rem;
}

.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 8, 0.68);
  backdrop-filter: blur(5px);
}

.search-panel {
  position: relative;
  width: min(760px, 100%);
  max-height: min(860px, calc(100vh - 2.4rem));
  max-height: min(860px, calc(100dvh - 2.4rem));
  margin: clamp(1rem, 7vh, 4rem) auto 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(18, 22, 29, 0.97), rgba(11, 14, 19, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  overflow: hidden;
}

.search-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.search-head h2 {
  margin: 0;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d8e2f6;
  font-weight: 630;
}

.search-close-btn {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #e5ebfb;
  border-radius: 8px;
  width: 30px;
  height: 30px;
  font-size: 1rem;
  cursor: pointer;
}

.search-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-input {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: #f4f7ff;
  border-radius: 10px;
  padding: 0.55rem 0.62rem;
  font: inherit;
  font-size: 0.9rem;
}

.search-input::placeholder {
  color: #9eadc8;
}

.search-status {
  margin: 0;
  font-size: 0.76rem;
  color: #96a5c1;
}

.search-results {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: none;
  overscroll-behavior: contain;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.12rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.search-result {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  border-radius: 10px;
  padding: 0.55rem 0.6rem;
  text-align: left;
  cursor: pointer;
}

.search-result:hover {
  background: rgba(255, 255, 255, 0.08);
}

.search-result-title {
  margin: 0 0 0.2rem;
  font-size: 0.9rem;
  line-height: 1.25;
  color: #f3f7ff;
}

.search-result-meta {
  margin: 0 0 0.2rem;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9aa8c3;
}

.search-result-snippet {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #c5d1e7;
}

.search-result mark {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-radius: 3px;
  padding: 0 0.08em;
}

.reader-shell {
  width: 100%;
  margin: 0;
  min-height: 100vh;
  display: block;
  padding: clamp(1rem, 2.4vw, 2rem);
}

.side-toc {
  position: fixed;
  top: calc(var(--header-offset) + 0.55rem);
  left: 0.56rem;
  width: 44px;
  height: calc(100vh - var(--header-offset) - 1.1rem);
  max-height: calc(100vh - var(--header-offset) - 1.1rem);
  z-index: 22;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
  padding: 0.5rem 0.36rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 14, 19, 0.56);
  backdrop-filter: blur(8px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.3);
  overflow: visible;
}

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

.toc-nav {
  display: flex;
  flex-direction: column;
  gap: 0.34rem;
  flex: 1;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 0.08rem;
  scrollbar-width: none;
}

.toc-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.toc-item {
  position: relative;
  display: block;
  min-height: 12px;
  color: #ccd6e8;
  text-decoration: none;
  border-radius: 999px;
  padding: 0;
  line-height: 1;
  overflow: visible;
}

.toc-item-line {
  position: absolute;
  right: 0;
  top: 50%;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: rgba(214, 224, 241, 0.55);
  transform: translateY(-50%);
  transition: width 0.22s ease, background-color 0.22s ease, opacity 0.22s ease;
}

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

.toc-hover-label {
  position: absolute;
  left: calc(100% + 0.65rem);
  top: 0;
  transform: translateY(-50%) translateX(4px);
  opacity: 0;
  pointer-events: none;
  display: inline-block;
  white-space: nowrap;
  max-width: min(56vw, 340px);
  font-size: 0.66rem;
  color: #ecf3ff;
  background: rgba(8, 11, 15, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.2rem 0.48rem;
  z-index: 6;
  transition: opacity 0.2s ease, transform 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  letter-spacing: 0.01em;
}

.toc-hover-label.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.toc-hover-label.level-2 {
  font-size: 0.72rem;
  font-weight: 620;
  padding: 0.24rem 0.58rem;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(10, 14, 20, 0.92);
}

.toc-hover-label.level-3 {
  font-size: 0.63rem;
  font-weight: 500;
  padding: 0.18rem 0.44rem;
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(8, 11, 15, 0.84);
}

.toc-item.level-1 {
  color: #e6edf9;
}

.toc-item.level-1 .toc-item-line {
  width: 16px;
}

.toc-item.level-2 .toc-item-line {
  width: 12px;
}

.toc-item.level-3 .toc-item-line {
  width: 9px;
  opacity: 0.75;
}

.toc-item.active,
.toc-item:hover {
  color: #ffffff;
}

.toc-item.active .toc-item-line,
.toc-item:hover .toc-item-line,
.toc-item:focus-visible .toc-item-line {
  width: 28px;
  background: rgba(255, 255, 255, 0.96);
  opacity: 1;
}

.toc-item.level-3.active .toc-item-line,
.toc-item.level-3:hover .toc-item-line,
.toc-item.level-3:focus-visible .toc-item-line {
  width: 21px;
}

.toc-empty {
  margin: auto 0;
  color: #9ba6ba;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
}

.reader-main {
  min-width: 0;
  width: min(1100px, calc(100vw - 140px));
  max-width: 1100px;
  margin: 0 auto;
}

.home-view {
  display: grid;
  gap: 1.2rem;
  padding: 0.2rem 0 2rem;
}

.home-part-rail {
  position: fixed;
  top: calc(var(--header-offset) + 1.15rem);
  right: 0.7rem;
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0.52rem;
  padding: 0.5rem 0.42rem;
  border-radius: 16px;
  border: 1px solid var(--home-card-border);
  background: color-mix(in srgb, var(--bg-soft) 68%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: var(--home-card-shadow);
}

.home-part-dot {
  position: relative;
  width: 30px;
  height: 14px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #ccd6e8;
}

.home-part-dot-line {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  margin-left: auto;
  background: color-mix(in srgb, var(--home-link) 78%, transparent);
  transition: width 0.22s ease, background-color 0.22s ease;
}

.home-part-dot-label {
  position: absolute;
  right: calc(100% + 0.65rem);
  top: 50%;
  transform: translateY(-50%) translateX(4px);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--home-link-strong);
  background: color-mix(in srgb, var(--bg-soft) 85%, transparent);
  border: 1px solid var(--home-card-border);
  border-radius: 999px;
  padding: 0.2rem 0.48rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.home-part-dot:hover .home-part-dot-label,
.home-part-dot.active .home-part-dot-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.home-part-dot:hover .home-part-dot-line,
.home-part-dot.active .home-part-dot-line {
  width: 28px;
  background: color-mix(in srgb, var(--home-link-strong) 88%, transparent);
}

.home-hero {
  margin: 0.15rem 0 0.35rem;
}

.home-hero-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--home-hero-border);
  border-radius: 24px;
  background: var(--home-hero-bg);
  box-shadow: var(--home-hero-shadow);
  padding: clamp(1rem, 2.4vw, 1.75rem);
}

.home-hero-shell::before,
.home-hero-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.home-hero-shell::before {
  width: 280px;
  height: 280px;
  right: -86px;
  top: -140px;
  background: radial-gradient(circle, rgba(120, 189, 255, 0.34), rgba(120, 189, 255, 0));
}

.home-hero-shell::after {
  width: 260px;
  height: 260px;
  left: -90px;
  bottom: -150px;
  background: radial-gradient(circle, rgba(106, 234, 204, 0.28), rgba(106, 234, 204, 0));
}

.home-hero-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--home-link) 78%, transparent);
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.home-hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.75rem, 3.2vw, 2.55rem);
  letter-spacing: -0.01em;
  color: var(--home-link-strong);
  text-wrap: balance;
  position: relative;
  z-index: 1;
}

.home-hero p {
  margin: 0;
  color: var(--home-muted);
  font-size: 0.97rem;
  max-width: 66ch;
  position: relative;
  z-index: 1;
}

.home-hero-metrics {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.58rem;
  position: relative;
  z-index: 1;
}

.home-hero-metric {
  border: 1px solid var(--home-card-border);
  background: color-mix(in srgb, var(--home-card-bg) 76%, transparent);
  border-radius: 14px;
  padding: 0.52rem 0.6rem;
  display: grid;
  gap: 0.08rem;
}

.home-hero-metric strong {
  font-size: 1.14rem;
  color: var(--home-link-strong);
  line-height: 1.05;
}

.home-hero-metric em {
  font-size: 0.69rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--home-muted);
  font-style: normal;
}

.home-hero-actions {
  margin-top: 0.84rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.home-primary-cta,
.home-secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 0.38rem 0.72rem;
  border: 1px solid transparent;
}

.home-primary-cta {
  color: #f8fbff;
  background: linear-gradient(120deg, rgba(70, 131, 255, 0.74), rgba(55, 182, 176, 0.72));
  border-color: rgba(235, 245, 255, 0.26);
}

.home-primary-cta:hover {
  filter: brightness(1.07);
}

.home-secondary-cta {
  cursor: pointer;
  color: var(--home-link-strong);
  background: color-mix(in srgb, var(--home-card-bg) 72%, transparent);
  border-color: var(--home-card-border);
}

.home-secondary-cta:hover {
  background: color-mix(in srgb, var(--home-card-bg) 88%, transparent);
}

.home-part-jumps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.85rem 0 0;
  position: relative;
  z-index: 1;
}

.home-part-jump {
  color: var(--home-link);
  text-decoration: none;
  font-size: 0.73rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: 1px solid var(--home-card-border);
  border-radius: 999px;
  padding: 0.3rem 0.58rem;
  background: color-mix(in srgb, var(--home-card-bg) 72%, transparent);
  transition: background-color 0.2s ease;
}

.home-part-jump:hover {
  background: color-mix(in srgb, var(--home-card-bg) 88%, transparent);
}

.home-part-jump.active {
  color: var(--home-link-strong);
  border-color: color-mix(in srgb, var(--home-link-strong) 32%, transparent);
  background: color-mix(in srgb, var(--home-card-bg) 92%, transparent);
}

.home-part-stack {
  display: grid;
  gap: 0.95rem;
}

.home-part {
  margin: 0;
}

.home-part-screen {
  min-height: clamp(340px, 58vh, 700px);
  scroll-snap-align: none;
  scroll-snap-stop: normal;
  display: flex;
  position: relative;
  isolation: isolate;
  scroll-margin-top: calc(var(--header-offset) + 0.4rem);
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition:
    opacity 700ms cubic-bezier(0.23, 1, 0.32, 1),
    transform 760ms cubic-bezier(0.23, 1, 0.32, 1);
  transition-delay: var(--part-delay, 0ms);
  will-change: opacity, transform, border-color;
  border-radius: 24px;
  border: 1px solid transparent;
}

.home-part-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 24px;
  opacity: 0.4;
  background:
    radial-gradient(980px 420px at 12% 6%, var(--part-glow-a, rgba(255, 255, 255, 0.1)), transparent 65%),
    radial-gradient(800px 420px at 96% 94%, var(--part-glow-b, rgba(255, 255, 255, 0.06)), transparent 66%);
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.home-part-screen[data-part-mood="1"] {
  --part-glow-a: rgba(98, 146, 255, 0.24);
  --part-glow-b: rgba(66, 213, 255, 0.16);
}

.home-part-screen[data-part-mood="2"] {
  --part-glow-a: rgba(115, 236, 196, 0.2);
  --part-glow-b: rgba(64, 191, 154, 0.16);
}

.home-part-screen[data-part-mood="3"] {
  --part-glow-a: rgba(255, 201, 132, 0.22);
  --part-glow-b: rgba(255, 144, 71, 0.15);
}

.home-part-screen[data-part-mood="4"] {
  --part-glow-a: rgba(181, 148, 255, 0.22);
  --part-glow-b: rgba(132, 115, 241, 0.16);
}

.home-part-screen:hover::before,
.home-part-screen.is-current::before {
  opacity: 0.72;
  filter: saturate(1.12);
}

.home-part-screen.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-part-screen.is-current .home-part-title {
  color: var(--home-link-strong);
}

.home-part-shell {
  width: 100%;
  border-radius: 24px;
  border: 1px solid var(--home-card-border);
  padding: clamp(1rem, 2.15vw, 1.35rem);
  background: var(--home-card-bg);
  box-shadow: var(--home-card-shadow);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0.84rem;
  overflow: visible;
  position: relative;
  z-index: 1;
}

.home-part-head {
  margin: 0 0 0.4rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.home-part-title-wrap {
  min-width: 0;
}

.home-part-kicker {
  margin: 0 0 0.22rem;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--home-link) 80%, transparent);
  font-weight: 680;
}

.home-part-title {
  margin: 0;
  font-size: clamp(1.18rem, 1.8vw, 1.58rem);
  letter-spacing: -0.01em;
  color: var(--home-link-strong);
  font-weight: 700;
  text-wrap: balance;
}

.home-part-meta {
  display: flex;
  align-items: center;
  gap: 0.34rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-part-chip {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-size: 0.66rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--home-chip-text);
  border: 1px solid var(--home-chip-border);
  background: var(--home-chip-bg);
  border-radius: 999px;
  padding: 0.22rem 0.48rem;
}

.home-chapter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.82rem;
  overflow: visible;
  align-content: start;
  padding-right: 0.18rem;
  max-height: none;
}

.home-chapter-card {
  border: 1px solid var(--home-card-border);
  border-radius: 16px;
  background: color-mix(in srgb, var(--home-card-bg) 86%, transparent);
  padding: 0.72rem 0.78rem 0.74rem;
  transition: border-color 0.22s ease, transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.home-chapter-card:hover {
  transform: translateY(-4px);
  background: color-mix(in srgb, var(--home-card-bg) 96%, transparent);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.2);
}

.home-chapter-link {
  color: var(--home-link-strong);
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1.34;
  font-weight: 680;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.home-chapter-link:hover {
  text-decoration: underline;
}

.home-section-list {
  margin: 0;
  padding-left: 1.08rem;
}

.home-section-list li {
  margin: 0 0 0.28rem;
}

.home-section-list li::marker {
  color: color-mix(in srgb, var(--home-link) 62%, transparent);
}

.home-section-link {
  color: var(--home-link);
  text-decoration: none;
  font-size: 0.89rem;
  line-height: 1.32;
}

.home-section-link:hover {
  color: var(--home-link-strong);
  text-decoration: underline;
}

.home-empty {
  margin: 1rem 0 0;
  color: var(--home-muted);
}

body[data-theme="light"] .search-backdrop {
  background: rgba(40, 62, 98, 0.3);
}

body[data-theme="light"] .search-panel {
  border-color: rgba(17, 45, 85, 0.18);
  background: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(235, 243, 253, 0.99));
  box-shadow: 0 26px 66px rgba(25, 51, 92, 0.2);
}

body[data-theme="light"] .search-label,
body[data-theme="light"] .search-status,
body[data-theme="light"] .search-result-meta {
  color: #5a6f90;
}

body[data-theme="light"] .search-result {
  background: rgba(17, 45, 85, 0.05);
  border-color: rgba(17, 45, 85, 0.1);
}

body[data-theme="light"] .search-result:hover {
  background: rgba(17, 45, 85, 0.1);
}

body[data-theme="light"] .search-result-title {
  color: #112b4f;
}

body[data-theme="light"] .search-input {
  color: #123157;
  border-color: rgba(17, 45, 85, 0.16);
  background: rgba(255, 255, 255, 0.92);
}

body[data-theme="light"] .side-toc {
  border-color: rgba(16, 42, 79, 0.18);
  background: rgba(240, 246, 255, 0.82);
}

body[data-theme="light"] .toc-item-line {
  background: rgba(38, 74, 125, 0.46);
}

body[data-theme="light"] .toc-item.level-3 .toc-item-line {
  background: rgba(38, 74, 125, 0.34);
}

body[data-theme="light"] .toc-item.active .toc-item-line,
body[data-theme="light"] .toc-item:hover .toc-item-line,
body[data-theme="light"] .toc-item:focus-visible .toc-item-line {
  background: rgba(22, 56, 99, 0.95);
}

body[data-theme="light"] .toc-item.level-1,
body[data-theme="light"] .toc-item.active,
body[data-theme="light"] .toc-item:hover {
  color: #12335c;
}

body[data-theme="light"] .toc-hover-label {
  color: #13335b;
  background: rgba(245, 250, 255, 0.96);
  border-color: rgba(16, 42, 79, 0.18);
}

body[data-theme="light"] .home-primary-cta {
  color: #ffffff;
}

.reading-article {
  font-size: clamp(0.97rem, 0.89rem + 0.25vw, 1.06rem);
  line-height: 1.6;
}

.reading-article code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  padding: 0.05em 0.35em;
}

.reading-article h1,
.reading-article h2,
.reading-article h3 {
  font-family: "Atkinson Hyperlegible Next", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.22;
  color: var(--accent);
  scroll-margin-top: calc(var(--header-offset) + 0.6rem);
  letter-spacing: -0.01em;
}

.reading-article h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.78rem, 2.2vw, 2.35rem);
  font-weight: 720;
}

.reading-article h2 {
  margin: 1.72rem 0 0.58rem;
  font-size: clamp(1.16rem, 1.35vw, 1.45rem);
  font-weight: 680;
}

.reading-article h3 {
  margin: 1.2rem 0 0.4rem;
  font-size: 1rem;
  font-weight: 640;
}

.reading-article p {
  margin: 0 0 1rem;
}

.glossary-cat-core-concepts {
  --glossary-category-rgb: 126, 188, 247;
}

.glossary-cat-roles-and-actors {
  --glossary-category-rgb: 112, 208, 194;
}

.glossary-cat-governance-and-compliance {
  --glossary-category-rgb: 220, 188, 127;
}

.glossary-cat-data-rights-and-privacy {
  --glossary-category-rgb: 178, 166, 237;
}

.glossary-cat-technical-standards {
  --glossary-category-rgb: 118, 208, 232;
}

.glossary-cat-security-and-assurance {
  --glossary-category-rgb: 232, 162, 148;
}

.glossary-cat-sector-applications {
  --glossary-category-rgb: 152, 206, 146;
}

.glossary-cat-general {
  --glossary-category-rgb: 184, 194, 214;
}

.reading-article.definitions-page {
  --definitions-surface: rgba(255, 255, 255, 0.03);
}

.definitions-jump-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.2rem 0 1.2rem;
}

.definitions-jump-chip {
  --glossary-category-rgb: 184, 194, 214;
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(var(--glossary-category-rgb), 0.45);
  background: rgba(var(--glossary-category-rgb), 0.16);
  color: #eaf1ff;
  text-decoration: none;
  font-size: 0.72rem;
  padding: 0.26rem 0.52rem 0.26rem 0.6rem;
  transition: transform 120ms ease, background 120ms ease;
}

.definitions-jump-chip:hover {
  transform: translateY(-1px);
  background: rgba(var(--glossary-category-rgb), 0.24);
}

.definitions-jump-label {
  letter-spacing: 0.02em;
}

.definitions-jump-count {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  padding: 0.08rem 0.34rem;
  font-size: 0.64rem;
  line-height: 1;
}

.definitions-section {
  --glossary-category-rgb: 184, 194, 214;
  border: 1px solid rgba(var(--glossary-category-rgb), 0.36);
  background:
    linear-gradient(135deg, rgba(var(--glossary-category-rgb), 0.16), transparent 68%),
    var(--definitions-surface);
  border-radius: 14px;
  padding: 0.85rem 0.85rem 0.72rem;
  margin: 0 0 0.95rem;
}

.definitions-section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.58rem;
  color: #eff5ff;
  font-size: clamp(1.02rem, 1.2vw, 1.22rem);
}

.definitions-section-dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 999px;
  background: rgba(var(--glossary-category-rgb), 0.94);
  box-shadow: 0 0 0 3px rgba(var(--glossary-category-rgb), 0.2);
  flex-shrink: 0;
}

.definitions-section-text {
  flex: 1;
}

.definitions-section-count {
  border-radius: 999px;
  border: 1px solid rgba(var(--glossary-category-rgb), 0.44);
  background: rgba(var(--glossary-category-rgb), 0.2);
  color: color-mix(in srgb, #ffffff 90%, rgba(var(--glossary-category-rgb), 0.9));
  font-size: 0.66rem;
  padding: 0.12rem 0.38rem;
}

.definitions-list {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.definitions-item {
  margin: 0 0 0.52rem;
  padding: 0.54rem 0.62rem;
  border-radius: 10px;
  border: 1px solid rgba(var(--glossary-category-rgb), 0.26);
  background: rgba(var(--glossary-category-rgb), 0.1);
  line-height: 1.5;
}

.definitions-item:last-child {
  margin-bottom: 0;
}

.definitions-item strong {
  color: #ffffff;
  background: rgba(var(--glossary-category-rgb), 0.2);
  border: 1px solid rgba(var(--glossary-category-rgb), 0.35);
  border-radius: 999px;
  padding: 0.08rem 0.48rem;
  margin-right: 0.18rem;
  display: inline-block;
}

.glossary-term {
  --glossary-accent: rgba(184, 194, 214, 0.86);
  display: inline;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  padding: 0;
  margin: 0;
  cursor: help;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-thickness: 1.2px;
  text-decoration-color: var(--glossary-accent);
  text-underline-offset: 0.13em;
  opacity: 0.9;
  transition: opacity 140ms ease, text-decoration-thickness 140ms ease;
}

.glossary-term.glossary-first-hit {
  text-decoration-thickness: 1.8px;
  opacity: 1;
}

.glossary-term.glossary-repeat-hit {
  text-decoration-thickness: 1px;
  opacity: 0.72;
}

.glossary-term:hover {
  text-decoration-thickness: 2px;
  opacity: 1;
}

.glossary-term:focus-visible {
  text-decoration-thickness: 2px;
  opacity: 1;
}

.glossary-term.glossary-cat-core-concepts {
  --glossary-accent: rgba(126, 188, 247, 0.86);
}

.glossary-term.glossary-cat-roles-and-actors {
  --glossary-accent: rgba(112, 208, 194, 0.86);
}

.glossary-term.glossary-cat-governance-and-compliance {
  --glossary-accent: rgba(220, 188, 127, 0.83);
}

.glossary-term.glossary-cat-data-rights-and-privacy {
  --glossary-accent: rgba(178, 166, 237, 0.84);
}

.glossary-term.glossary-cat-technical-standards {
  --glossary-accent: rgba(118, 208, 232, 0.86);
}

.glossary-term.glossary-cat-security-and-assurance {
  --glossary-accent: rgba(232, 162, 148, 0.83);
}

.glossary-term.glossary-cat-sector-applications {
  --glossary-accent: rgba(152, 206, 146, 0.84);
}

.glossary-term.glossary-cat-general {
  --glossary-accent: rgba(184, 194, 214, 0.86);
}

.glossary-tooltip {
  position: fixed;
  z-index: 130;
  width: min(360px, calc(100vw - 1rem));
  border-radius: 12px;
  border: 1px solid var(--glossary-tip-accent, rgba(196, 223, 255, 0.34));
  background: rgba(8, 12, 18, 0.97);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.4);
  color: #f1f6ff;
  padding: 0.58rem 0.62rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 140ms ease, transform 140ms ease;
}

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

.glossary-tooltip-term,
.glossary-tooltip-definition {
  margin: 0;
}

.glossary-tooltip-meta {
  margin: 0 0 0.18rem;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #a9c5e9;
}

.glossary-tooltip-term {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: #d9e9ff;
  margin-bottom: 0.2rem;
  font-weight: 650;
}

.glossary-tooltip-definition {
  font-size: 0.82rem;
  line-height: 1.35;
  color: #edf4ff;
}

.reading-article strong {
  color: #ffffff;
}

.doc-list {
  margin: 0.25rem 0 1rem;
  padding-left: 1.3rem;
}

.doc-list li {
  margin-bottom: 0.35rem;
}

.doc-note {
  margin: 0 0 1rem;
  padding: 0.6rem 0.75rem;
  border-left: 3px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

body[data-theme="light"] .reading-article strong {
  color: #12315a;
}

body[data-theme="light"] .reading-article code {
  background: rgba(18, 45, 85, 0.08);
  border-color: rgba(18, 45, 85, 0.18);
}

body[data-theme="light"] .glossary-term {
  --glossary-accent: rgba(57, 103, 154, 0.72);
}

body[data-theme="light"] .glossary-cat-core-concepts {
  --glossary-category-rgb: 43, 114, 186;
}

body[data-theme="light"] .glossary-cat-roles-and-actors {
  --glossary-category-rgb: 41, 139, 128;
}

body[data-theme="light"] .glossary-cat-governance-and-compliance {
  --glossary-category-rgb: 172, 124, 48;
}

body[data-theme="light"] .glossary-cat-data-rights-and-privacy {
  --glossary-category-rgb: 116, 98, 172;
}

body[data-theme="light"] .glossary-cat-technical-standards {
  --glossary-category-rgb: 41, 137, 164;
}

body[data-theme="light"] .glossary-cat-security-and-assurance {
  --glossary-category-rgb: 179, 90, 71;
}

body[data-theme="light"] .glossary-cat-sector-applications {
  --glossary-category-rgb: 76, 136, 69;
}

body[data-theme="light"] .glossary-cat-general {
  --glossary-category-rgb: 57, 103, 154;
}

body[data-theme="light"] .glossary-term.glossary-cat-core-concepts {
  --glossary-accent: rgba(43, 114, 186, 0.8);
}

body[data-theme="light"] .glossary-term.glossary-cat-roles-and-actors {
  --glossary-accent: rgba(41, 139, 128, 0.78);
}

body[data-theme="light"] .glossary-term.glossary-cat-governance-and-compliance {
  --glossary-accent: rgba(172, 124, 48, 0.76);
}

body[data-theme="light"] .glossary-term.glossary-cat-data-rights-and-privacy {
  --glossary-accent: rgba(116, 98, 172, 0.78);
}

body[data-theme="light"] .glossary-term.glossary-cat-technical-standards {
  --glossary-accent: rgba(41, 137, 164, 0.78);
}

body[data-theme="light"] .glossary-term.glossary-cat-security-and-assurance {
  --glossary-accent: rgba(179, 90, 71, 0.74);
}

body[data-theme="light"] .glossary-term.glossary-cat-sector-applications {
  --glossary-accent: rgba(76, 136, 69, 0.76);
}

body[data-theme="light"] .glossary-term.glossary-cat-general {
  --glossary-accent: rgba(57, 103, 154, 0.72);
}

body[data-theme="light"] .site-search-btn.is-active {
  background: rgba(21, 64, 119, 0.14);
  border-color: rgba(21, 64, 119, 0.28);
}

body[data-theme="light"] .reading-article.definitions-page {
  --definitions-surface: rgba(255, 255, 255, 0.8);
}

body[data-theme="light"] .definitions-jump-chip {
  color: #173b66;
}

body[data-theme="light"] .definitions-jump-count {
  background: rgba(255, 255, 255, 0.74);
  color: #173b66;
}

body[data-theme="light"] .definitions-section {
  border-color: rgba(var(--glossary-category-rgb), 0.3);
}

body[data-theme="light"] .definitions-section-title {
  color: #17385f;
}

body[data-theme="light"] .definitions-item strong {
  color: #103056;
}

body[data-theme="light"] .glossary-tooltip {
  background: rgba(250, 253, 255, 0.98);
  box-shadow: 0 14px 34px rgba(24, 52, 94, 0.2);
  color: #143259;
}

body[data-theme="light"] .glossary-tooltip-meta {
  color: #5c7394;
}

body[data-theme="light"] .glossary-tooltip-term {
  color: #1c4777;
}

body[data-theme="light"] .glossary-tooltip-definition {
  color: #173a64;
}

body[data-theme="light"] .doc-note {
  border-left-color: rgba(18, 45, 85, 0.45);
  background: rgba(18, 45, 85, 0.06);
}

.empty-state {
  color: var(--muted);
  font-style: italic;
}

@media (max-width: 1080px) {
  :root {
    --header-offset: 52px;
  }

  .site-header {
    padding: 0.5rem 0.65rem;
  }

  .site-title-link {
    display: none;
  }

  .site-control-label {
    display: none;
  }

  #siteChapterSelect {
    min-width: 180px;
    max-width: 66vw;
    font-size: 0.78rem;
  }

  .site-search-btn {
    padding: 0.28rem 0.45rem;
    font-size: 0.72rem;
  }

  .site-theme-btn,
  .site-next-btn {
    width: 30px;
    height: 30px;
  }

  .reader-shell {
    padding: 1rem;
  }

  .reader-main {
    max-width: 100%;
    width: min(100%, 900px);
    padding-top: 0.5rem;
  }

  body.home-mode .reader-main {
    width: min(100%, 980px);
  }

  .home-hero-shell {
    border-radius: 18px;
    padding: 0.9rem;
  }

  .home-hero h1 {
    font-size: clamp(1.4rem, 7vw, 1.95rem);
  }

  .home-hero-metrics {
    gap: 0.42rem;
  }

  .home-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-primary-cta,
  .home-secondary-cta {
    width: 100%;
    text-align: center;
  }

  .home-part-screen {
    height: auto;
    min-height: auto;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .home-part-screen::before {
    border-radius: 18px;
  }

  .home-part-shell {
    border-radius: 18px;
    padding: 0.88rem;
  }

  .home-part-head {
    flex-direction: column;
    gap: 0.45rem;
  }

  .home-part-meta {
    justify-content: flex-start;
  }

  .home-part-rail {
    display: none;
  }

  .side-toc {
    position: fixed;
    top: 3.1rem;
    left: 0.52rem;
    width: 40px;
    height: calc(100vh - 3.85rem);
    max-height: calc(100vh - 3.85rem);
    padding: 0.44rem 0.28rem;
  }

  .reading-article h1 {
    margin-top: 1.6rem;
  }

  .definitions-jump-nav {
    gap: 0.35rem;
    margin-bottom: 1rem;
  }

  .definitions-jump-chip {
    font-size: 0.68rem;
    padding: 0.23rem 0.48rem 0.23rem 0.54rem;
  }

  .definitions-section {
    padding: 0.72rem;
    border-radius: 12px;
  }

  .definitions-section-title {
    font-size: 0.98rem;
  }

  .definitions-item {
    padding: 0.48rem 0.54rem;
  }

  .home-chapter-grid {
    grid-template-columns: 1fr;
    overflow: visible;
    max-height: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-part-screen {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .theme-icon,
  .home-part-dot-line,
  .home-part-dot-label,
  .home-chapter-card {
    transition: none;
  }
}
